/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source visit the plugins github repository
*/

/*
License obsidian-tasks:
MIT License

Copyright (c) 2021 Clare Macrae, Ilyas Landikov and Martin Schenck

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

/*
License rrule (included library):
rrule.js: Library for working with recurrence rules for calendar dates.
=======================================================================

Copyright 2010, Jakub Roztocil <jakub@roztocil.name> and Lars Schöning

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    1. Redistributions of source code must retain the above copyright notice,
       this list of conditions and the following disclaimer.

    2. Redistributions in binary form must reproduce the above copyright
       notice, this list of conditions and the following disclaimer in the
       documentation and/or other materials provided with the distribution.

    3. Neither the name of The author nor the names of its contributors may
       be used to endorse or promote products derived from this software
       without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE AUTHOR AND CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.



./rrule.js and ./test/tests.js is based on python-dateutil. LICENCE:

python-dateutil - Extensions to the standard Python datetime module.
====================================================================

Copyright (c) 2003-2011 - Gustavo Niemeyer <gustavo@niemeyer.net>
Copyright (c) 2012 - Tomi Pieviläinen <tomi.pievilainen@iki.fi>

All rights reserved.

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

    * Redistributions of source code must retain the above copyright notice,
      this list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
      this list of conditions and the following disclaimer in the documentation
      and/or other materials provided with the distribution.
    * Neither the name of the copyright holder nor the names of its
      contributors may be used to endorse or promote products derived from
      this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/

/*
License chrono-node (included library):
The MIT License

Copyright (c) 2014, Wanasit Tanakitrungruang
*/

/*
License flatpickr (included library):
The MIT License (MIT)

Copyright (c) 2017 Gregory Petrosyan
*/

/*
License @floating-ui/dom (included library):

MIT License

Copyright (c) 2021 Floating UI contributors
*/

/*
License boon-js (included library):

The MIT License (MIT)

Copyright (c) 2020-present Jake Chorley
*/

/*
License eventemitter2 (included library):

The MIT License (MIT)

Copyright (c) 2016 Paolo Fragomeni <http://www.github.com/0x00a> and Contributors
*/

/*
License i18next (included library):

The MIT License (MIT)

Copyright (c) 2025 i18next
*/

/*
License mustache (included library):

The MIT License

Copyright (c) 2009 Chris Wanstrath (Ruby)
Copyright (c) 2010-2014 Jan Lehnardt (JavaScript)
Copyright (c) 2010-2015 The mustache.js community
*/

/*
License mustache-validator (included library):

MIT License

Copyright (c) 2022 Elias Mangoro
*/

"use strict";var EO=Object.create;var vo=Object.defineProperty,OO=Object.defineProperties,xO=Object.getOwnPropertyDescriptor,RO=Object.getOwnPropertyDescriptors,CO=Object.getOwnPropertyNames,hu=Object.getOwnPropertySymbols,MO=Object.getPrototypeOf,kf=Object.prototype.hasOwnProperty,_b=Object.prototype.propertyIsEnumerable;var kb=(r,t,e)=>t in r?vo(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e,U=(r,t)=>{for(var e in t||(t={}))kf.call(t,e)&&kb(r,e,t[e]);if(hu)for(var e of hu(t))_b.call(t,e)&&kb(r,e,t[e]);return r},pe=(r,t)=>OO(r,RO(t));var Zs=(r,t)=>{var e={};for(var n in r)kf.call(r,n)&&t.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&hu)for(var n of hu(r))t.indexOf(n)<0&&_b.call(r,n)&&(e[n]=r[n]);return e};var Q=(r,t)=>()=>(r&&(t=r(r=0)),t);var C=(r,t)=>()=>(t||r((t={exports:{}}).exports,t),t.exports),wb=(r,t)=>{for(var e in t)vo(r,e,{get:t[e],enumerable:!0})},Sb=(r,t,e,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of CO(t))!kf.call(r,i)&&i!==e&&vo(r,i,{get:()=>t[i],enumerable:!(n=xO(t,i))||n.enumerable});return r};var ko=(r,t,e)=>(e=r!=null?EO(MO(r)):{},Sb(t||!r||!r.__esModule?vo(e,"default",{value:r,enumerable:!0}):e,r)),Db=r=>Sb(vo({},"__esModule",{value:!0}),r);var A=(r,t,e)=>new Promise((n,i)=>{var s=l=>{try{o(e.next(l))}catch(u){i(u)}},a=l=>{try{o(e.throw(l))}catch(u){i(u)}},o=l=>l.done?n(l.value):Promise.resolve(l.value).then(s,a);o((e=e.apply(r,t)).next())});var _e,_o,Eb,AO,PO,Ob,xb,wo,Rb,NO,yu,IO,Fb,Js,FO,LO,wf,UO,YO,qO,Sf,bu,WO,ta,Ar,na,Tu,Lb,Cb,ra,vu,Mb,Ab,Df,Pb,_f,Ef,$O,ea,Of,jO,xf,Nb,Ib,gu,HO,os,_t,eW,tW,nW,rW,iW,sW,aW,oW,lW,uW,cW,dW,fW,pW,Ub=Q(()=>{_e=r=>typeof r=="string",_o=()=>{let r,t,e=new Promise((n,i)=>{r=n,t=i});return e.resolve=r,e.reject=t,e},Eb=r=>r==null?"":""+r,AO=(r,t,e)=>{r.forEach(n=>{t[n]&&(e[n]=t[n])})},PO=/###/g,Ob=r=>r&&r.indexOf("###")>-1?r.replace(PO,"."):r,xb=r=>!r||_e(r),wo=(r,t,e)=>{let n=_e(t)?t.split("."):t,i=0;for(;i<n.length-1;){if(xb(r))return{};let s=Ob(n[i]);!r[s]&&e&&(r[s]=new e),Object.prototype.hasOwnProperty.call(r,s)?r=r[s]:r={},++i}return xb(r)?{}:{obj:r,k:Ob(n[i])}},Rb=(r,t,e)=>{let{obj:n,k:i}=wo(r,t,Object);if(n!==void 0||t.length===1){n[i]=e;return}let s=t[t.length-1],a=t.slice(0,t.length-1),o=wo(r,a,Object);for(;o.obj===void 0&&a.length;)s=`${a[a.length-1]}.${s}`,a=a.slice(0,a.length-1),o=wo(r,a,Object),(o==null?void 0:o.obj)&&typeof o.obj[`${o.k}.${s}`]!="undefined"&&(o.obj=void 0);o.obj[`${o.k}.${s}`]=e},NO=(r,t,e,n)=>{let{obj:i,k:s}=wo(r,t,Object);i[s]=i[s]||[],i[s].push(e)},yu=(r,t)=>{let{obj:e,k:n}=wo(r,t);if(!!e&&!!Object.prototype.hasOwnProperty.call(e,n))return e[n]},IO=(r,t,e)=>{let n=yu(r,e);return n!==void 0?n:yu(t,e)},Fb=(r,t,e)=>{for(let n in t)n!=="__proto__"&&n!=="constructor"&&(n in r?_e(r[n])||r[n]instanceof String||_e(t[n])||t[n]instanceof String?e&&(r[n]=t[n]):Fb(r[n],t[n],e):r[n]=t[n]);return r},Js=r=>r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),FO={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},LO=r=>_e(r)?r.replace(/[&<>"'\/]/g,t=>FO[t]):r,wf=class{constructor(t){this.capacity=t,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(t){let e=this.regExpMap.get(t);if(e!==void 0)return e;let n=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,n),this.regExpQueue.push(t),n}},UO=[" ",",","?","!",";"],YO=new wf(20),qO=(r,t,e)=>{t=t||"",e=e||"";let n=UO.filter(a=>t.indexOf(a)<0&&e.indexOf(a)<0);if(n.length===0)return!0;let i=YO.getRegExp(`(${n.map(a=>a==="?"?"\\?":a).join("|")})`),s=!i.test(r);if(!s){let a=r.indexOf(e);a>0&&!i.test(r.substring(0,a))&&(s=!0)}return s},Sf=function(r,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!r)return;if(r[t])return Object.prototype.hasOwnProperty.call(r,t)?r[t]:void 0;let n=t.split(e),i=r;for(let s=0;s<n.length;){if(!i||typeof i!="object")return;let a,o="";for(let l=s;l<n.length;++l)if(l!==s&&(o+=e),o+=n[l],a=i[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&l<n.length-1)continue;s+=l-s+1;break}i=a}return i},bu=r=>r==null?void 0:r.replace("_","-"),WO={type:"logger",log(r){this.output("log",r)},warn(r){this.output("warn",r)},error(r){this.output("error",r)},output(r,t){var e,n;(n=(e=console==null?void 0:console[r])==null?void 0:e.apply)==null||n.call(e,console,t)}},ta=class{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(t,e)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=e.prefix||"i18next:",this.logger=t||WO,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,n,i){return i&&!this.debug?null:(_e(t[0])&&(t[0]=`${n}${this.prefix} ${t[0]}`),this.logger[e](t))}create(t){return new ta(this.logger,U({prefix:`${this.prefix}:${t}:`},this.options))}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new ta(this.logger,t)}},Ar=new ta,na=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(n=>{this.observers[n]||(this.observers[n]=new Map);let i=this.observers[n].get(e)||0;this.observers[n].set(e,i+1)}),this}off(t,e){if(!!this.observers[t]){if(!e){delete this.observers[t];return}this.observers[t].delete(e)}}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),i=1;i<e;i++)n[i-1]=arguments[i];this.observers[t]&&Array.from(this.observers[t].entries()).forEach(a=>{let[o,l]=a;for(let u=0;u<l;u++)o(...n)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(a=>{let[o,l]=a;for(let u=0;u<l;u++)o.apply(o,[t,...n])})}},Tu=class extends na{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=t||{},this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(t){this.options.ns.indexOf(t)<0&&this.options.ns.push(t)}removeNamespaces(t){let e=this.options.ns.indexOf(t);e>-1&&this.options.ns.splice(e,1)}getResource(t,e,n){var u,c;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator,a=i.ignoreJSONStructure!==void 0?i.ignoreJSONStructure:this.options.ignoreJSONStructure,o;t.indexOf(".")>-1?o=t.split("."):(o=[t,e],n&&(Array.isArray(n)?o.push(...n):_e(n)&&s?o.push(...n.split(s)):o.push(n)));let l=yu(this.data,o);return!l&&!e&&!n&&t.indexOf(".")>-1&&(t=o[0],e=o[1],n=o.slice(2).join(".")),l||!a||!_e(n)?l:Sf((c=(u=this.data)==null?void 0:u[t])==null?void 0:c[e],n,s)}addResource(t,e,n,i){let s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1},a=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,o=[t,e];n&&(o=o.concat(a?n.split(a):n)),t.indexOf(".")>-1&&(o=t.split("."),i=e,e=o[1]),this.addNamespaces(e),Rb(this.data,o,i),s.silent||this.emit("added",t,e,n,i)}addResources(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(let s in n)(_e(n[s])||Array.isArray(n[s]))&&this.addResource(t,e,s,n[s],{silent:!0});i.silent||this.emit("added",t,e,n)}addResourceBundle(t,e,n,i,s){let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},o=[t,e];t.indexOf(".")>-1&&(o=t.split("."),i=n,n=e,e=o[1]),this.addNamespaces(e);let l=yu(this.data,o)||{};a.skipCopy||(n=JSON.parse(JSON.stringify(n))),i?Fb(l,n,s):l=U(U({},l),n),Rb(this.data,o,l),a.silent||this.emit("added",t,e,n)}removeResourceBundle(t,e){this.hasResourceBundle(t,e)&&delete this.data[t][e],this.removeNamespaces(e),this.emit("removed",t,e)}hasResourceBundle(t,e){return this.getResource(t,e)!==void 0}getResourceBundle(t,e){return e||(e=this.options.defaultNS),this.getResource(t,e)}getDataByLanguage(t){return this.data[t]}hasLanguageSomeTranslations(t){let e=this.getDataByLanguage(t);return!!(e&&Object.keys(e)||[]).find(i=>e[i]&&Object.keys(e[i]).length>0)}toJSON(){return this.data}},Lb={processors:{},addPostProcessor(r){this.processors[r.name]=r},handle(r,t,e,n,i){return r.forEach(s=>{var a,o;t=(o=(a=this.processors[s])==null?void 0:a.process(t,e,n,i))!=null?o:t}),t}},Cb={},ra=class extends na{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),AO(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Ar.create("translator")}changeLanguage(t){t&&(this.language=t)}exists(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(t==null)return!1;let n=this.resolve(t,e);return(n==null?void 0:n.res)!==void 0}extractFromKey(t,e){let n=e.nsSeparator!==void 0?e.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");let i=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,s=e.ns||this.options.defaultNS||[],a=n&&t.indexOf(n)>-1,o=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!qO(t,n,i);if(a&&!o){let l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:_e(s)?[s]:s};let u=t.split(n);(n!==i||n===i&&this.options.ns.indexOf(u[0])>-1)&&(s=u.shift()),t=u.join(i)}return{key:t,namespaces:_e(s)?[s]:s}}translate(t,e,n){if(typeof e!="object"&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),typeof e=="object"&&(e=U({},e)),e||(e={}),t==null)return"";Array.isArray(t)||(t=[String(t)]);let i=e.returnDetails!==void 0?e.returnDetails:this.options.returnDetails,s=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,{key:a,namespaces:o}=this.extractFromKey(t[t.length-1],e),l=o[o.length-1],u=e.lng||this.language,c=e.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(c){let q=e.nsSeparator||this.options.nsSeparator;return i?{res:`${l}${q}${a}`,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(e)}:`${l}${q}${a}`}return i?{res:a,usedKey:a,exactUsedKey:a,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(e)}:a}let d=this.resolve(t,e),f=d==null?void 0:d.res,p=(d==null?void 0:d.usedKey)||a,g=(d==null?void 0:d.exactUsedKey)||a,b=Object.prototype.toString.apply(f),v=["[object Number]","[object Function]","[object RegExp]"],E=e.joinArrays!==void 0?e.joinArrays:this.options.joinArrays,x=!this.i18nFormat||this.i18nFormat.handleAsObject,O=!_e(f)&&typeof f!="boolean"&&typeof f!="number";if(x&&f&&O&&v.indexOf(b)<0&&!(_e(E)&&Array.isArray(f))){if(!e.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");let q=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,f,pe(U({},e),{ns:o})):`key '${a} (${this.language})' returned an object instead of string.`;return i?(d.res=q,d.usedParams=this.getUsedParamsDetails(e),d):q}if(s){let q=Array.isArray(f),V=q?[]:{},Z=q?g:p;for(let j in f)if(Object.prototype.hasOwnProperty.call(f,j)){let J=`${Z}${s}${j}`;V[j]=this.translate(J,pe(U({},e),{joinArrays:!1,ns:o})),V[j]===J&&(V[j]=f[j])}f=V}}else if(x&&_e(E)&&Array.isArray(f))f=f.join(E),f&&(f=this.extendTranslation(f,t,e,n));else{let q=!1,V=!1,Z=e.count!==void 0&&!_e(e.count),j=ra.hasDefaultValue(e),J=Z?this.pluralResolver.getSuffix(u,e.count,e):"",Pe=e.ordinal&&Z?this.pluralResolver.getSuffix(u,e.count,{ordinal:!1}):"",Ne=Z&&!e.ordinal&&e.count===0,K=Ne&&e[`defaultValue${this.options.pluralSeparator}zero`]||e[`defaultValue${J}`]||e[`defaultValue${Pe}`]||e.defaultValue;!this.isValidLookup(f)&&j&&(q=!0,f=K),this.isValidLookup(f)||(V=!0,f=a);let P=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&V?void 0:f,ee=j&&K!==f&&this.options.updateMissing;if(V||q||ee){if(this.logger.log(ee?"updateKey":"missingKey",u,l,a,ee?K:f),s){let T=this.resolve(a,pe(U({},e),{keySeparator:!1}));T&&T.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let H=[],se=this.languageUtils.getFallbackCodes(this.options.fallbackLng,e.lng||this.language);if(this.options.saveMissingTo==="fallback"&&se&&se[0])for(let T=0;T<se.length;T++)H.push(se[T]);else this.options.saveMissingTo==="all"?H=this.languageUtils.toResolveHierarchy(e.lng||this.language):H.push(e.lng||this.language);let m=(T,_,k)=>{var R;let w=j&&k!==f?k:P;this.options.missingKeyHandler?this.options.missingKeyHandler(T,l,_,w,ee,e):(R=this.backendConnector)!=null&&R.saveMissing&&this.backendConnector.saveMissing(T,l,_,w,ee,e),this.emit("missingKey",T,l,_,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&Z?H.forEach(T=>{let _=this.pluralResolver.getSuffixes(T,e);Ne&&e[`defaultValue${this.options.pluralSeparator}zero`]&&_.indexOf(`${this.options.pluralSeparator}zero`)<0&&_.push(`${this.options.pluralSeparator}zero`),_.forEach(k=>{m([T],a+k,e[`defaultValue${k}`]||K)})}):m(H,a,K))}f=this.extendTranslation(f,t,e,d,n),V&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(V||q)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}:${a}`:a,q?f:void 0))}return i?(d.res=f,d.usedParams=this.getUsedParamsDetails(e),d):f}extendTranslation(t,e,n,i,s){var u,c;var a=this;if((u=this.i18nFormat)!=null&&u.parse)t=this.i18nFormat.parse(t,U(U({},this.options.interpolation.defaultVariables),n),n.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init(pe(U({},n),{interpolation:U(U({},this.options.interpolation),n.interpolation)}));let d=_e(t)&&(((c=n==null?void 0:n.interpolation)==null?void 0:c.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),f;if(d){let g=t.match(this.interpolator.nestingRegexp);f=g&&g.length}let p=n.replace&&!_e(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(p=U(U({},this.options.interpolation.defaultVariables),p)),t=this.interpolator.interpolate(t,p,n.lng||this.language||i.usedLng,n),d){let g=t.match(this.interpolator.nestingRegexp),b=g&&g.length;f<b&&(n.nest=!1)}!n.lng&&i&&i.res&&(n.lng=this.language||i.usedLng),n.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var g=arguments.length,b=new Array(g),v=0;v<g;v++)b[v]=arguments[v];return(s==null?void 0:s[0])===b[0]&&!n.context?(a.logger.warn(`It seems you are nesting recursively key: ${b[0]} in key: ${e[0]}`),null):a.translate(...b,e)},n)),n.interpolation&&this.interpolator.reset()}let o=n.postProcess||this.options.postProcess,l=_e(o)?[o]:o;return t!=null&&(l==null?void 0:l.length)&&n.applyPostProcessor!==!1&&(t=Lb.handle(l,t,e,this.options&&this.options.postProcessPassResolved?U({i18nResolved:pe(U({},i),{usedParams:this.getUsedParamsDetails(n)})},n):n,this)),t}resolve(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n,i,s,a,o;return _e(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(n))return;let u=this.extractFromKey(l,e),c=u.key;i=c;let d=u.namespaces;this.options.fallbackNS&&(d=d.concat(this.options.fallbackNS));let f=e.count!==void 0&&!_e(e.count),p=f&&!e.ordinal&&e.count===0,g=e.context!==void 0&&(_e(e.context)||typeof e.context=="number")&&e.context!=="",b=e.lngs?e.lngs:this.languageUtils.toResolveHierarchy(e.lng||this.language,e.fallbackLng);d.forEach(v=>{var E,x;this.isValidLookup(n)||(o=v,!Cb[`${b[0]}-${v}`]&&((E=this.utils)==null?void 0:E.hasLoadedNamespace)&&!((x=this.utils)!=null&&x.hasLoadedNamespace(o))&&(Cb[`${b[0]}-${v}`]=!0,this.logger.warn(`key "${i}" for languages "${b.join(", ")}" won't get resolved as namespace "${o}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),b.forEach(O=>{var Z;if(this.isValidLookup(n))return;a=O;let q=[c];if((Z=this.i18nFormat)!=null&&Z.addLookupKeys)this.i18nFormat.addLookupKeys(q,c,O,v,e);else{let j;f&&(j=this.pluralResolver.getSuffix(O,e.count,e));let J=`${this.options.pluralSeparator}zero`,Pe=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(q.push(c+j),e.ordinal&&j.indexOf(Pe)===0&&q.push(c+j.replace(Pe,this.options.pluralSeparator)),p&&q.push(c+J)),g){let Ne=`${c}${this.options.contextSeparator}${e.context}`;q.push(Ne),f&&(q.push(Ne+j),e.ordinal&&j.indexOf(Pe)===0&&q.push(Ne+j.replace(Pe,this.options.pluralSeparator)),p&&q.push(Ne+J))}}let V;for(;V=q.pop();)this.isValidLookup(n)||(s=V,n=this.getResource(O,v,V,e))}))})}),{res:n,usedKey:i,exactUsedKey:s,usedLng:a,usedNS:o}}isValidLookup(t){return t!==void 0&&!(!this.options.returnNull&&t===null)&&!(!this.options.returnEmptyString&&t==="")}getResource(t,e,n){var s;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(s=this.i18nFormat)!=null&&s.getResource?this.i18nFormat.getResource(t,e,n,i):this.resourceStore.getResource(t,e,n,i)}getUsedParamsDetails(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=t.replace&&!_e(t.replace),i=n?t.replace:t;if(n&&typeof t.count!="undefined"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i=U(U({},this.options.interpolation.defaultVariables),i)),!n){i=U({},i);for(let s of e)delete i[s]}return i}static hasDefaultValue(t){let e="defaultValue";for(let n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&e===n.substring(0,e.length)&&t[n]!==void 0)return!0;return!1}},vu=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ar.create("languageUtils")}getScriptPartFromCode(t){if(t=bu(t),!t||t.indexOf("-")<0)return null;let e=t.split("-");return e.length===2||(e.pop(),e[e.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(e.join("-"))}getLanguagePartFromCode(t){if(t=bu(t),!t||t.indexOf("-")<0)return t;let e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(_e(t)&&t.indexOf("-")>-1){let e;try{e=Intl.getCanonicalLocales(t)[0]}catch(n){}return e&&this.options.lowerCaseLng&&(e=e.toLowerCase()),e||(this.options.lowerCaseLng?t.toLowerCase():t)}return this.options.cleanCode||this.options.lowerCaseLng?t.toLowerCase():t}isSupportedCode(t){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(t=this.getLanguagePartFromCode(t)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(t)>-1}getBestMatchFromCodes(t){if(!t)return null;let e;return t.forEach(n=>{if(e)return;let i=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(i))&&(e=i)}),!e&&this.options.supportedLngs&&t.forEach(n=>{if(e)return;let i=this.getLanguagePartFromCode(n);if(this.isSupportedCode(i))return e=i;e=this.options.supportedLngs.find(s=>{if(s===i)return s;if(!(s.indexOf("-")<0&&i.indexOf("-")<0)&&(s.indexOf("-")>0&&i.indexOf("-")<0&&s.substring(0,s.indexOf("-"))===i||s.indexOf(i)===0&&i.length>1))return s})}),e||(e=this.getFallbackCodes(this.options.fallbackLng)[0]),e}getFallbackCodes(t,e){if(!t)return[];if(typeof t=="function"&&(t=t(e)),_e(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let n=t[e];return n||(n=t[this.getScriptPartFromCode(e)]),n||(n=t[this.formatLanguageCode(e)]),n||(n=t[this.getLanguagePartFromCode(e)]),n||(n=t.default),n||[]}toResolveHierarchy(t,e){let n=this.getFallbackCodes(e||this.options.fallbackLng||[],t),i=[],s=a=>{!a||(this.isSupportedCode(a)?i.push(a):this.logger.warn(`rejecting language code not found in supportedLngs: ${a}`))};return _e(t)&&(t.indexOf("-")>-1||t.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&s(this.formatLanguageCode(t)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&s(this.getScriptPartFromCode(t)),this.options.load!=="currentOnly"&&s(this.getLanguagePartFromCode(t))):_e(t)&&s(this.formatLanguageCode(t)),n.forEach(a=>{i.indexOf(a)<0&&s(this.formatLanguageCode(a))}),i}},Mb={zero:0,one:1,two:2,few:3,many:4,other:5},Ab={select:r=>r===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},Df=class{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=Ar.create("pluralResolver"),this.pluralRulesCache={}}addRule(t,e){this.rules[t]=e}clearCache(){this.pluralRulesCache={}}getRule(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=bu(t==="dev"?"en":t),i=e.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:n,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let a;try{a=new Intl.PluralRules(n,{type:i})}catch(o){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Ab;if(!t.match(/-|_/))return Ab;let l=this.languageUtils.getLanguagePartFromCode(t);a=this.getRule(l,e)}return this.pluralRulesCache[s]=a,a}needsPlural(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,e);return n||(n=this.getRule("dev",e)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,n).map(i=>`${e}${i}`)}getSuffixes(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(t,e);return n||(n=this.getRule("dev",e)),n?n.resolvedOptions().pluralCategories.sort((i,s)=>Mb[i]-Mb[s]).map(i=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(t,n);return i?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${i.select(e)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",e,n))}},Pb=function(r,t,e){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=IO(r,t,e);return!s&&i&&_e(e)&&(s=Sf(r,e,n),s===void 0&&(s=Sf(t,e,n))),s},_f=r=>r.replace(/\$/g,"$$$$"),Ef=class{constructor(){var e;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ar.create("interpolator"),this.options=t,this.format=((e=t==null?void 0:t.interpolation)==null?void 0:e.format)||(n=>n),this.init(t)}init(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};t.interpolation||(t.interpolation={escapeValue:!0});let{escape:e,escapeValue:n,useRawValueToEscape:i,prefix:s,prefixEscaped:a,suffix:o,suffixEscaped:l,formatSeparator:u,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:p,nestingSuffix:g,nestingSuffixEscaped:b,nestingOptionsSeparator:v,maxReplaces:E,alwaysFormat:x}=t.interpolation;this.escape=e!==void 0?e:LO,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?Js(s):a||"{{",this.suffix=o?Js(o):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?Js(f):p||Js("$t("),this.nestingSuffix=g?Js(g):b||Js(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=E||1e3,this.alwaysFormat=x!==void 0?x:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(e,n)=>(e==null?void 0:e.source)===n?(e.lastIndex=0,e):new RegExp(n,"g");this.regexp=t(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=t(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=t(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(t,e,n,i){var p;let s,a,o,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=g=>{if(g.indexOf(this.formatSeparator)<0){let x=Pb(e,l,g,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(x,void 0,n,pe(U(U({},i),e),{interpolationkey:g})):x}let b=g.split(this.formatSeparator),v=b.shift().trim(),E=b.join(this.formatSeparator).trim();return this.format(Pb(e,l,v,this.options.keySeparator,this.options.ignoreJSONStructure),E,n,pe(U(U({},i),e),{interpolationkey:v}))};this.resetRegExp();let c=(i==null?void 0:i.missingInterpolationHandler)||this.options.missingInterpolationHandler,d=((p=i==null?void 0:i.interpolation)==null?void 0:p.skipOnVariables)!==void 0?i.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:g=>_f(g)},{regex:this.regexp,safeValue:g=>this.escapeValue?_f(this.escape(g)):_f(g)}].forEach(g=>{for(o=0;s=g.regex.exec(t);){let b=s[1].trim();if(a=u(b),a===void 0)if(typeof c=="function"){let E=c(t,s,i);a=_e(E)?E:""}else if(i&&Object.prototype.hasOwnProperty.call(i,b))a="";else if(d){a=s[0];continue}else this.logger.warn(`missed to pass in variable ${b} for interpolating ${t}`),a="";else!_e(a)&&!this.useRawValueToEscape&&(a=Eb(a));let v=g.safeValue(a);if(t=t.replace(s[0],v),d?(g.regex.lastIndex+=a.length,g.regex.lastIndex-=s[0].length):g.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),t}nest(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i,s,a,o=(l,u)=>{var b;let c=this.nestingOptionsSeparator;if(l.indexOf(c)<0)return l;let d=l.split(new RegExp(`${c}[ ]*{`)),f=`{${d[1]}`;l=d[0],f=this.interpolate(f,a);let p=f.match(/'/g),g=f.match(/"/g);(((b=p==null?void 0:p.length)!=null?b:0)%2===0&&!g||g.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),u&&(a=U(U({},u),a))}catch(v){return this.logger.warn(`failed parsing options string in nesting for key ${l}`,v),`${l}${c}${f}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,l};for(;i=this.nestingRegexp.exec(t);){let l=[];a=U({},n),a=a.replace&&!_e(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;let u=!1;if(i[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(i[1])){let c=i[1].split(this.formatSeparator).map(d=>d.trim());i[1]=c.shift(),l=c,u=!0}if(s=e(o.call(this,i[1].trim(),a),a),s&&i[0]===t&&!_e(s))return s;_e(s)||(s=Eb(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),s=""),u&&(s=l.reduce((c,d)=>this.format(c,d,n.lng,pe(U({},n),{interpolationkey:i[1].trim()})),s.trim())),t=t.replace(i[0],s),this.regexp.lastIndex=0}return t}},$O=r=>{let t=r.toLowerCase().trim(),e={};if(r.indexOf("(")>-1){let n=r.split("(");t=n[0].toLowerCase().trim();let i=n[1].substring(0,n[1].length-1);t==="currency"&&i.indexOf(":")<0?e.currency||(e.currency=i.trim()):t==="relativetime"&&i.indexOf(":")<0?e.range||(e.range=i.trim()):i.split(";").forEach(a=>{if(a){let[o,...l]=a.split(":"),u=l.join(":").trim().replace(/^'+|'+$/g,""),c=o.trim();e[c]||(e[c]=u),u==="false"&&(e[c]=!1),u==="true"&&(e[c]=!0),isNaN(u)||(e[c]=parseInt(u,10))}})}return{formatName:t,formatOptions:e}},ea=r=>{let t={};return(e,n,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s=pe(U({},s),{[i.interpolationkey]:void 0}));let a=n+JSON.stringify(s),o=t[a];return o||(o=r(bu(n),i),t[a]=o),o(e)}},Of=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Ar.create("formatter"),this.options=t,this.formats={number:ea((e,n)=>{let i=new Intl.NumberFormat(e,U({},n));return s=>i.format(s)}),currency:ea((e,n)=>{let i=new Intl.NumberFormat(e,pe(U({},n),{style:"currency"}));return s=>i.format(s)}),datetime:ea((e,n)=>{let i=new Intl.DateTimeFormat(e,U({},n));return s=>i.format(s)}),relativetime:ea((e,n)=>{let i=new Intl.RelativeTimeFormat(e,U({},n));return s=>i.format(s,n.range||"day")}),list:ea((e,n)=>{let i=new Intl.ListFormat(e,U({},n));return s=>i.format(s)})},this.init(t)}init(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=e.interpolation.formatSeparator||","}add(t,e){this.formats[t.toLowerCase().trim()]=e}addCached(t,e){this.formats[t.toLowerCase().trim()]=ea(e)}format(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{},s=e.split(this.formatSeparator);if(s.length>1&&s[0].indexOf("(")>1&&s[0].indexOf(")")<0&&s.find(o=>o.indexOf(")")>-1)){let o=s.findIndex(l=>l.indexOf(")")>-1);s[0]=[s[0],...s.splice(1,o)].join(this.formatSeparator)}return s.reduce((o,l)=>{var d;let{formatName:u,formatOptions:c}=$O(l);if(this.formats[u]){let f=o;try{let p=((d=i==null?void 0:i.formatParams)==null?void 0:d[i.interpolationkey])||{},g=p.locale||p.lng||i.locale||i.lng||n;f=this.formats[u](o,g,U(U(U({},c),i),p))}catch(p){this.logger.warn(p)}return f}else this.logger.warn(`there was no format function for ${u}`);return o},t)}},jO=(r,t)=>{r.pending[t]!==void 0&&(delete r.pending[t],r.pendingCount--)},xf=class extends na{constructor(t,e,n){var s,a;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=n,this.languageUtils=n.languageUtils,this.options=i,this.logger=Ar.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=i.maxParallelReads||10,this.readingCalls=0,this.maxRetries=i.maxRetries>=0?i.maxRetries:5,this.retryTimeout=i.retryTimeout>=1?i.retryTimeout:350,this.state={},this.queue=[],(a=(s=this.backend)==null?void 0:s.init)==null||a.call(s,n,i.backend,i)}queueLoad(t,e,n,i){let s={},a={},o={},l={};return t.forEach(u=>{let c=!0;e.forEach(d=>{let f=`${u}|${d}`;!n.reload&&this.store.hasResourceBundle(u,d)?this.state[f]=2:this.state[f]<0||(this.state[f]===1?a[f]===void 0&&(a[f]=!0):(this.state[f]=1,c=!1,a[f]===void 0&&(a[f]=!0),s[f]===void 0&&(s[f]=!0),l[d]===void 0&&(l[d]=!0)))}),c||(o[u]=!0)}),(Object.keys(s).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:i}),{toLoad:Object.keys(s),pending:Object.keys(a),toLoadLanguages:Object.keys(o),toLoadNamespaces:Object.keys(l)}}loaded(t,e,n){let i=t.split("|"),s=i[0],a=i[1];e&&this.emit("failedLoading",s,a,e),!e&&n&&this.store.addResourceBundle(s,a,n,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&n&&(this.state[t]=0);let o={};this.queue.forEach(l=>{NO(l.loaded,[s],a),jO(l,t),e&&l.errors.push(e),l.pendingCount===0&&!l.done&&(Object.keys(l.loaded).forEach(u=>{o[u]||(o[u]={});let c=l.loaded[u];c.length&&c.forEach(d=>{o[u][d]===void 0&&(o[u][d]=!0)})}),l.done=!0,l.errors.length?l.callback(l.errors):l.callback())}),this.emit("loaded",o),this.queue=this.queue.filter(l=>!l.done)}read(t,e,n){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,a=arguments.length>5?arguments[5]:void 0;if(!t.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:t,ns:e,fcName:n,tried:i,wait:s,callback:a});return}this.readingCalls++;let o=(u,c)=>{if(this.readingCalls--,this.waitingReads.length>0){let d=this.waitingReads.shift();this.read(d.lng,d.ns,d.fcName,d.tried,d.wait,d.callback)}if(u&&c&&i<this.maxRetries){setTimeout(()=>{this.read.call(this,t,e,n,i+1,s*2,a)},s);return}a(u,c)},l=this.backend[n].bind(this.backend);if(l.length===2){try{let u=l(t,e);u&&typeof u.then=="function"?u.then(c=>o(null,c)).catch(o):o(null,u)}catch(u){o(u)}return}return l(t,e,o)}prepareLoading(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),i&&i();_e(t)&&(t=this.languageUtils.toResolveHierarchy(t)),_e(e)&&(e=[e]);let s=this.queueLoad(t,e,n,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(a=>{this.loadOne(a)})}load(t,e,n){this.prepareLoading(t,e,{},n)}reload(t,e,n){this.prepareLoading(t,e,{reload:!0},n)}loadOne(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",n=t.split("|"),i=n[0],s=n[1];this.read(i,s,"read",void 0,void 0,(a,o)=>{a&&this.logger.warn(`${e}loading namespace ${s} for language ${i} failed`,a),!a&&o&&this.logger.log(`${e}loaded namespace ${s} for language ${i}`,o),this.loaded(t,a,o)})}saveMissing(t,e,n,i,s){var l,u,c,d,f;let a=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},o=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if(((u=(l=this.services)==null?void 0:l.utils)==null?void 0:u.hasLoadedNamespace)&&!((d=(c=this.services)==null?void 0:c.utils)!=null&&d.hasLoadedNamespace(e))){this.logger.warn(`did not save key "${n}" as the namespace "${e}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((f=this.backend)!=null&&f.create){let p=pe(U({},a),{isUpdate:s}),g=this.backend.create.bind(this.backend);if(g.length<6)try{let b;g.length===5?b=g(t,e,n,i,p):b=g(t,e,n,i),b&&typeof b.then=="function"?b.then(v=>o(null,v)).catch(o):o(null,b)}catch(b){o(b)}else g(t,e,n,i,o,p)}!t||!t[0]||this.store.addResource(t[0],e,n,i)}}},Nb=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:r=>{let t={};if(typeof r[1]=="object"&&(t=r[1]),_e(r[1])&&(t.defaultValue=r[1]),_e(r[2])&&(t.tDescription=r[2]),typeof r[2]=="object"||typeof r[3]=="object"){let e=r[3]||r[2];Object.keys(e).forEach(n=>{t[n]=e[n]})}return t},interpolation:{escapeValue:!0,format:r=>r,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Ib=r=>{var t,e;return _e(r.ns)&&(r.ns=[r.ns]),_e(r.fallbackLng)&&(r.fallbackLng=[r.fallbackLng]),_e(r.fallbackNS)&&(r.fallbackNS=[r.fallbackNS]),((e=(t=r.supportedLngs)==null?void 0:t.indexOf)==null?void 0:e.call(t,"cimode"))<0&&(r.supportedLngs=r.supportedLngs.concat(["cimode"])),typeof r.initImmediate=="boolean"&&(r.initAsync=r.initImmediate),r},gu=()=>{},HO=r=>{Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(e=>{typeof r[e]=="function"&&(r[e]=r[e].bind(r))})},os=class extends na{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Ib(t),this.services={},this.logger=Ar,this.modules={external:[]},HO(this),e&&!this.isInitialized&&!t.isClone){if(!this.options.initAsync)return this.init(t,e),this;setTimeout(()=>{this.init(t,e)},0)}}init(){var t=this;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof e=="function"&&(n=e,e={}),e.defaultNS==null&&e.ns&&(_e(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=Nb();this.options=U(U(U({},i),this.options),Ib(e)),this.options.interpolation=U(U({},i.interpolation),this.options.interpolation),e.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=e.keySeparator),e.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=e.nsSeparator);let s=c=>c?typeof c=="function"?new c:c:null;if(!this.options.isClone){this.modules.logger?Ar.init(s(this.modules.logger),this.options):Ar.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:c=Of;let d=new vu(this.options);this.store=new Tu(this.options.resources,this.options);let f=this.services;f.logger=Ar,f.resourceStore=this.store,f.languageUtils=d,f.pluralResolver=new Df(d,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),c&&(!this.options.interpolation.format||this.options.interpolation.format===i.interpolation.format)&&(f.formatter=s(c),f.formatter.init(f,this.options),this.options.interpolation.format=f.formatter.format.bind(f.formatter)),f.interpolator=new Ef(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new xf(s(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(p){for(var g=arguments.length,b=new Array(g>1?g-1:0),v=1;v<g;v++)b[v-1]=arguments[v];t.emit(p,...b)}),this.modules.languageDetector&&(f.languageDetector=s(this.modules.languageDetector),f.languageDetector.init&&f.languageDetector.init(f,this.options.detection,this.options)),this.modules.i18nFormat&&(f.i18nFormat=s(this.modules.i18nFormat),f.i18nFormat.init&&f.i18nFormat.init(this)),this.translator=new ra(this.services,this.options),this.translator.on("*",function(p){for(var g=arguments.length,b=new Array(g>1?g-1:0),v=1;v<g;v++)b[v-1]=arguments[v];t.emit(p,...b)}),this.modules.external.forEach(p=>{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=gu),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){let c=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);c.length>0&&c[0]!=="dev"&&(this.options.lng=c[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(c=>{this[c]=function(){return t.store[c](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(c=>{this[c]=function(){return t.store[c](...arguments),t}});let l=_o(),u=()=>{let c=(d,f)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),l.resolve(f),n(d,f)};if(this.languages&&!this.isInitialized)return c(null,this.t.bind(this));this.changeLanguage(this.options.lng,c)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),l}loadResources(t){var s,a;let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gu,i=_e(t)?t:this.language;if(typeof t=="function"&&(n=t),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();let o=[],l=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(d=>{d!=="cimode"&&o.indexOf(d)<0&&o.push(d)})};i?l(i):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(c=>l(c)),(a=(s=this.options.preload)==null?void 0:s.forEach)==null||a.call(s,u=>l(u)),this.services.backendConnector.load(o,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(u)})}else n(null)}reloadResources(t,e,n){let i=_o();return typeof t=="function"&&(n=t,t=void 0),typeof e=="function"&&(n=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),n||(n=gu),this.services.backendConnector.reload(t,e,s=>{i.resolve(),n(s)}),i}use(t){if(!t)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!t.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return t.type==="backend"&&(this.modules.backend=t),(t.type==="logger"||t.log&&t.warn&&t.error)&&(this.modules.logger=t),t.type==="languageDetector"&&(this.modules.languageDetector=t),t.type==="i18nFormat"&&(this.modules.i18nFormat=t),t.type==="postProcessor"&&Lb.addPostProcessor(t),t.type==="formatter"&&(this.modules.formatter=t),t.type==="3rdParty"&&this.modules.external.push(t),this}setResolvedLanguage(t){if(!(!t||!this.languages)&&!(["cimode","dev"].indexOf(t)>-1))for(let e=0;e<this.languages.length;e++){let n=this.languages[e];if(!(["cimode","dev"].indexOf(n)>-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(t,e){var n=this;this.isLanguageChangingTo=t;let i=_o();this.emit("languageChanging",t);let s=l=>{this.language=l,this.languages=this.services.languageUtils.toResolveHierarchy(l),this.resolvedLanguage=void 0,this.setResolvedLanguage(l)},a=(l,u)=>{u?(s(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,i.resolve(function(){return n.t(...arguments)}),e&&e(l,function(){return n.t(...arguments)})},o=l=>{var c,d;!t&&!l&&this.services.languageDetector&&(l=[]);let u=_e(l)?l:this.services.languageUtils.getBestMatchFromCodes(l);u&&(this.language||s(u),this.translator.language||this.translator.changeLanguage(u),(d=(c=this.services.languageDetector)==null?void 0:c.cacheUserLanguage)==null||d.call(c,u)),this.loadResources(u,f=>{a(f,u)})};return!t&&this.services.languageDetector&&!this.services.languageDetector.async?o(this.services.languageDetector.detect()):!t&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(o):this.services.languageDetector.detect(o):o(t),i}getFixedT(t,e,n){var i=this;let s=function(a,o){let l;if(typeof o!="object"){for(var u=arguments.length,c=new Array(u>2?u-2:0),d=2;d<u;d++)c[d-2]=arguments[d];l=i.options.overloadTranslationOptionHandler([a,o].concat(c))}else l=U({},o);l.lng=l.lng||s.lng,l.lngs=l.lngs||s.lngs,l.ns=l.ns||s.ns,l.keyPrefix!==""&&(l.keyPrefix=l.keyPrefix||n||s.keyPrefix);let f=i.options.keySeparator||".",p;return l.keyPrefix&&Array.isArray(a)?p=a.map(g=>`${l.keyPrefix}${f}${g}`):p=l.keyPrefix?`${l.keyPrefix}${f}${a}`:a,i.t(p,l)};return _e(t)?s.lng=t:s.lngs=t,s.ns=e,s.keyPrefix=n,s}t(){var i;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(i=this.translator)==null?void 0:i.translate(...e)}exists(){var i;for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return(i=this.translator)==null?void 0:i.exists(...e)}setDefaultNamespace(t){this.options.defaultNS=t}hasLoadedNamespace(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;let n=e.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;let a=(o,l)=>{let u=this.services.backendConnector.state[`${o}|${l}`];return u===-1||u===0||u===2};if(e.precheck){let o=e.precheck(this,a);if(o!==void 0)return o}return!!(this.hasResourceBundle(n,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(n,t)&&(!i||a(s,t)))}loadNamespaces(t,e){let n=_o();return this.options.ns?(_e(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{n.resolve(),e&&e(i)}),n):(e&&e(),Promise.resolve())}loadLanguages(t,e){let n=_o();_e(t)&&(t=[t]);let i=this.options.preload||[],s=t.filter(a=>i.indexOf(a)<0&&this.services.languageUtils.isSupportedCode(a));return s.length?(this.options.preload=i.concat(s),this.loadResources(a=>{n.resolve(),e&&e(a)}),n):(e&&e(),Promise.resolve())}dir(t){var i,s;if(t||(t=this.resolvedLanguage||(((i=this.languages)==null?void 0:i.length)>0?this.languages[0]:this.language)),!t)return"rtl";let e=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((s=this.services)==null?void 0:s.languageUtils)||new vu(Nb());return e.indexOf(n.getLanguagePartFromCode(t))>-1||t.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;return new os(t,e)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:gu,n=t.forkResourceStore;n&&delete t.forkResourceStore;let i=pe(U(U({},this.options),t),{isClone:!0}),s=new os(i);if((t.debug!==void 0||t.prefix!==void 0)&&(s.logger=s.logger.clone(t)),["store","services","language"].forEach(o=>{s[o]=this[o]}),s.services=U({},this.services),s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},n){let o=Object.keys(this.store.data).reduce((l,u)=>(l[u]=U({},this.store.data[u]),Object.keys(l[u]).reduce((c,d)=>(c[d]=U({},l[u][d]),c),{})),{});s.store=new Tu(o,i),s.services.resourceStore=s.store}return s.translator=new ra(s.services,i),s.translator.on("*",function(o){for(var l=arguments.length,u=new Array(l>1?l-1:0),c=1;c<l;c++)u[c-1]=arguments[c];s.emit(o,...u)}),s.init(i,e),s.translator.options=i,s.translator.backendConnector.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},s}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}},_t=os.createInstance();_t.createInstance=os.createInstance;eW=_t.createInstance,tW=_t.dir,nW=_t.init,rW=_t.loadResources,iW=_t.reloadResources,sW=_t.use,aW=_t.changeLanguage,oW=_t.getFixedT,lW=_t.t,uW=_t.exists,cW=_t.setDefaultNamespace,dW=_t.hasLoadedNamespace,fW=_t.loadNamespaces,pW=_t.loadLanguages});var qb,Yb=Q(()=>{qb={main:{loadingPlugin:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}",unloadingPlugin:"\u0412\u044B\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u041A\u0430\u043B\u0456 \u045E\u043A\u043B\u044E\u0447\u0430\u043D\u0430, \u0433\u044D\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0437\u0435 \u0434\u0430\u0441\u0442\u0443\u043F\u043D\u044B \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u043A\u0430\u043C\u0430\u043D\u0434\u044B, \u0442\u0430\u043A \u0448\u0442\u043E \u0432\u044B \u0437\u043C\u043E\u0436\u0430\u0446\u0435 \u043F\u0440\u044B\u0437\u043D\u0430\u0447\u044B\u0446\u044C \u0433\u0430\u0440\u0430\u0447\u0443\u044E \u043A\u043B\u0430\u0432\u0456\u0448\u0443 \u0456 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u0430\u0446\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0437 \u044F\u0435 \u0434\u0430\u043F\u0430\u043C\u043E\u0433\u0430\u0439.",name:"\u0414\u0430\u0441\u0442\u0443\u043F\u043D\u044B \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u043A\u0430\u043C\u0430\u043D\u0434\u044B"},editNextStatusSymbol:{description:"\u041F\u0440\u044B \u043D\u0430\u0446\u0456\u0441\u043A\u0443 \u0433\u044D\u0442\u0430 \u0441\u0456\u043C\u0432\u0430\u043B, \u044F\u043A\u0456 \u043F\u0430\u0432\u0456\u043D\u0435\u043D \u0431\u044B\u0446\u044C \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043D\u044B \u0434\u0430\u043B\u0435\u0439.",name:"\u0421\u0456\u043C\u0432\u0430\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},editStatusName:{description:"\u0413\u044D\u0442\u0430 \u0437\u0440\u0430\u0437\u0443\u043C\u0435\u043B\u0430\u0435 \u0456\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0406\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},editStatusSymbol:{description:"\u0413\u044D\u0442\u0430 \u0441\u0456\u043C\u0432\u0430\u043B \u043F\u0430\u043C\u0456\u0436 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u043C\u0456 \u0434\u0443\u0436\u043A\u0430\u043C\u0456. (\u042F\u0433\u043E \u043C\u043E\u0436\u043D\u0430 \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0442\u043E\u043B\u044C\u043A\u0456 \u0434\u043B\u044F \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E, \u0430 \u043D\u0435 \u0434\u043B\u044F \u0430\u0441\u043D\u043E\u045E\u043D\u044B\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E.)",name:"\u0421\u0456\u043C\u0432\u0430\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},editStatusType:{description:"\u041A\u0456\u0440\u0443\u0439\u0446\u0435 \u0442\u044B\u043C, \u044F\u043A \u0441\u0442\u0430\u0442\u0443\u0441 \u043F\u0430\u0432\u043E\u0434\u0437\u0456\u0446\u044C \u0441\u044F\u0431\u0435 \u043F\u0440\u044B \u043F\u043E\u0448\u0443\u043A\u0443 \u0456 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0456.",name:"\u0422\u044B\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u044B"},fixErrorsBeforeSaving:"\u0412\u044B\u043F\u0440\u0430\u045E\u0446\u0435 \u043F\u0430\u043C\u044B\u043B\u043A\u0456 \u043F\u0435\u0440\u0430\u0434 \u0437\u0430\u0445\u0430\u0432\u0430\u043D\u043D\u0435\u043C."}},reports:{statusRegistry:{about:{createdBy:"\u0413\u044D\u0442\u044B \u0444\u0430\u0439\u043B \u0431\u044B\u045E \u0441\u0442\u0432\u043E\u0440\u0430\u043D\u044B \u043F\u043B\u0430\u0433\u0456\u043D\u0430\u043C Obsidian Tasks (\u0432\u0435\u0440\u0441\u0456\u044F {{version}}) \u0434\u043B\u044F \u0432\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0430\u0446\u044B\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0437\u0430\u0434\u0430\u0447 \u0443 \u0433\u044D\u0442\u044B\u043C \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u044B.",deleteFileAnyTime:"\u0412\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0432\u044B\u0434\u0430\u043B\u0456\u0446\u044C \u0433\u044D\u0442\u044B \u0444\u0430\u0439\u043B \u0443 \u043B\u044E\u0431\u044B \u043C\u043E\u043C\u0430\u043D\u0442.",title:"\u041F\u0440\u0430 \u0433\u044D\u0442\u044B \u0444\u0430\u0439\u043B",updateReport:{line1:"\u041A\u0430\u043B\u0456 \u0432\u044B \u0437\u043C\u044F\u043D\u044F\u0435\u0446\u0435 \u043D\u0430\u043B\u0430\u0434\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0443 Tasks, \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0430\u0442\u0440\u044B\u043C\u0430\u0446\u044C \u0430\u0431\u043D\u043E\u045E\u043B\u0435\u043D\u044B \u0441\u043F\u0440\u0430\u0432\u0430\u0437\u0434\u0430\u0447\u0443:",line2:"\u041F\u0435\u0440\u0430\u0439\u0448\u043E\u045E\u0448\u044B \u045E `\u041D\u0430\u043B\u0430\u0434\u044B` -> `Tasks`.",line3:"\u041D\u0430\u0446\u0456\u0441\u043D\u0443\u045E\u0448\u044B \u043D\u0430 `\u041F\u0440\u0430\u0433\u043B\u044F\u0434\u0437\u0435\u0446\u044C \u0456 \u043F\u0440\u0430\u0432\u0435\u0440\u044B\u0446\u044C \u0432\u0430\u0448\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u044B`."}},columnHeadings:{nextStatusSymbol:"\u0421\u0456\u043C\u0432\u0430\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443",problems:"\u041F\u0440\u0430\u0431\u043B\u0435\u043C\u044B (\u043A\u0430\u043B\u0456 \u0451\u0441\u0446\u044C)",statusName:"\u0406\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusSymbol:"\u0421\u0456\u043C\u0432\u0430\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusType:"\u0422\u044B\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443"},loadedSettings:{settingsActuallyUsed:"\u0413\u044D\u0442\u0430 \u043D\u0430\u043B\u0430\u0434\u044B, \u044F\u043A\u0456\u044F \u0441\u0430\u043F\u0440\u0430\u045E\u0434\u044B \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u044E\u0446\u0446\u0430 Tasks.",switchToLivePreview:"\u041F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u044B\u0446\u0435\u0441\u044F \u045E \u0440\u044D\u0436\u044B\u043C \u043F\u0430\u043F\u044F\u0440\u044D\u0434\u043D\u044F\u0433\u0430 \u043F\u0440\u0430\u0433\u043B\u044F\u0434\u0443 \u045E \u0440\u044D\u0430\u043B\u044C\u043D\u044B\u043C \u0447\u0430\u0441\u0435 \u0430\u0431\u043E \u0440\u044D\u0436\u044B\u043C \u0447\u044B\u0442\u0430\u043D\u043D\u044F, \u043A\u0430\u0431 \u0443\u0431\u0430\u0447\u044B\u0446\u044C \u0434\u044B\u044F\u0433\u0440\u0430\u043C\u0443.",title:"\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u043D\u044B\u044F \u043D\u0430\u043B\u0430\u0434\u044B"},messages:{cannotFindNextStatus:"\u041D\u0435\u0447\u0430\u043A\u0430\u043D\u0430\u044F \u043F\u0430\u043C\u044B\u043B\u043A\u0430 \u043F\u0440\u044B \u043F\u043E\u0448\u0443\u043A\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443.",duplicateSymbol:"\u0414\u0443\u0431\u043B\u0456\u043A\u0430\u0442 \u0441\u0456\u043C\u0432\u0430\u043B\u0430 '{{symbol}}': \u0433\u044D\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0437\u0435 \u043F\u0440\u0430\u0456\u0433\u043D\u0430\u0440\u0430\u0432\u0430\u043D\u044B.",emptySymbol:"\u041F\u0443\u0441\u0442\u044B \u0441\u0456\u043C\u0432\u0430\u043B: \u0433\u044D\u0442\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0437\u0435 \u043F\u0440\u0430\u0456\u0433\u043D\u0430\u0440\u0430\u0432\u0430\u043D\u044B.",nextSymbolUnknown:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u044B \u0441\u0456\u043C\u0432\u0430\u043B {{symbol}} \u043D\u0435\u0432\u044F\u0434\u043E\u043C\u044B: \u0441\u0442\u0432\u0430\u0440\u044B\u0446\u0435 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437 \u0441\u0456\u043C\u0432\u0430\u043B\u0430\u043C {{symbol}}.",notConventionalType:"\u0414\u043B\u044F \u0456\u043D\u0444\u0430\u0440\u043C\u0430\u0446\u044B\u0456, \u0437\u0432\u044B\u0447\u0430\u0439\u043D\u044B \u0442\u044B\u043F \u0434\u043B\u044F \u0441\u0456\u043C\u0432\u0430\u043B\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 {{symbol}} - {{type}}: \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u043F\u0435\u0440\u0430\u0433\u043B\u0435\u0434\u0437\u0435\u0446\u044C \u0433\u044D\u0442\u044B \u0442\u044B\u043F.",wrongTypeAfterDone:{line1:"\u041F\u0430\u0441\u043B\u044F \u0433\u044D\u0442\u0430\u0433\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 `DONE` \u0456\u0434\u0437\u0435 {{nextType}}, \u0430 \u043D\u0435 `TODO` \u0430\u0431\u043E `IN_PROGRESS`.",line2:"\u041F\u0440\u044B \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043D\u043D\u0456 \u0434\u043B\u044F \u0437\u0430\u0432\u044F\u0440\u0448\u044D\u043D\u043D\u044F \u043F\u0435\u0440\u044B\u044F\u0434\u044B\u0447\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B \u044F\u043D\u0430 \u0437\u0430\u043C\u0435\u0441\u0442 \u0433\u044D\u0442\u0430\u0433\u0430 \u0431\u0443\u0434\u0437\u0435 \u0441\u0443\u043F\u0440\u0430\u0432\u0430\u0434\u0436\u0430\u0446\u0446\u0430 `TODO` \u0430\u0431\u043E `IN_PROGRESS`, \u043A\u0430\u0431 \u0433\u0430\u0440\u0430\u043D\u0442\u0430\u0432\u0430\u0446\u044C, \u0448\u0442\u043E \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430 \u0430\u0434\u043F\u0430\u0432\u044F\u0434\u0430\u0435 \u0444\u0456\u043B\u044C\u0442\u0440\u0443 `\u043D\u0435 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u0430`.",line3:"\u0413\u043B\u044F\u0434\u0437\u0456\u0446\u0435 [Recurring Tasks and Custom Statuses]({{helpURL}})."}},sampleTasks:{line1:"\u0412\u043E\u0441\u044C \u043F\u0430 \u0430\u0434\u043D\u044B\u043C \u043F\u0440\u044B\u043A\u043B\u0430\u0434\u0437\u0435 \u0440\u0430\u0434\u043A\u0430 \u0437\u0430\u0434\u0430\u0447\u044B \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0433\u0430 \u0441\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E, \u044F\u043A\u0456\u044F \u0444\u0430\u043A\u0442\u044B\u0447\u043D\u0430 \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u044E\u0446\u0446\u0430 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0456, \u043A\u0430\u0431 \u0432\u044B \u043C\u0430\u0433\u043B\u0456 \u043F\u0430\u044D\u043A\u0441\u043F\u0435\u0440\u044B\u043C\u0435\u043D\u0442\u0430\u0432\u0430\u0446\u044C.",line2:"\u0421\u0456\u043C\u0432\u0430\u043B\u044B \u0456 \u043D\u0430\u0437\u0432\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0443 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u044F\u0445 \u0437\u0430\u0434\u0430\u0447 \u0431\u044B\u043B\u0456 \u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u044B\u043C\u0456 \u043D\u0430 \u043C\u043E\u043C\u0430\u043D\u0442 \u0441\u0442\u0432\u0430\u0440\u044D\u043D\u043D\u044F \u0433\u044D\u0442\u0430\u0433\u0430 \u0444\u0430\u0439\u043B\u0430.",line3:"\u041A\u0430\u043B\u0456 \u0432\u044B \u0437\u043C\u044F\u043D\u0456\u043B\u0456 \u043F\u0440\u044B\u043A\u043B\u0430\u0434\u044B \u0437\u0430\u0434\u0430\u0447 \u0437 \u043C\u043E\u043C\u0430\u043D\u0442\u0443 \u0456\u0445 \u0441\u0442\u0432\u0430\u0440\u044D\u043D\u043D\u044F, \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u045E\u0431\u0430\u0447\u044B\u0446\u044C \u0430\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u044B\u044F \u0442\u044B\u043F\u044B \u0456 \u043D\u0430\u0437\u0432\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0443 \u0437\u0430\u0433\u0430\u043B\u043E\u045E\u043A\u0430\u0445 \u0433\u0440\u0443\u043F \u0443 \u043F\u043E\u0448\u0443\u043A\u0443 \u0437\u0430\u0434\u0430\u0447 \u043D\u0456\u0436\u044D\u0439.",tip:{line1:"\u041F\u0430\u0440\u0430\u0434\u0430: \u041A\u0430\u043B\u0456 \u045E\u0441\u0435 \u0432\u0430\u0448\u044B \u0441\u0446\u044F\u0436\u043A\u0456 \u0432\u044B\u0433\u043B\u044F\u0434\u0430\u044E\u0446\u044C \u0430\u0434\u043D\u043E\u043B\u044C\u043A\u0430\u0432\u0430...",line2:"\u041A\u0430\u043B\u0456 \u045E\u0441\u0435 \u0441\u0446\u044F\u0436\u043A\u0456 \u0432\u044B\u0433\u043B\u044F\u0434\u0430\u044E\u0446\u044C \u0430\u0434\u043D\u043E\u043B\u044C\u043A\u0430\u0432\u0430 \u045E \u0420\u044D\u0436\u044B\u043C\u0435 \u0447\u044B\u0442\u0430\u043D\u043D\u044F \u0430\u0431\u043E Live Preview, \u0433\u043B\u044F\u0434\u0437\u0456\u0446\u0435 [\u0421\u0442\u044B\u043B\u0456\u0437\u0430\u0432\u0430\u0446\u044C \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B]({{url}}), \u043A\u0430\u0431 \u0434\u0430\u0432\u0435\u0434\u0430\u0446\u0446\u0430, \u044F\u043A \u0432\u044B\u0431\u0440\u0430\u0446\u044C \u0442\u044D\u043C\u0443 \u0430\u0431\u043E CSS-\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 \u0434\u043B\u044F \u0441\u0442\u044B\u043B\u0456\u0437\u0430\u0446\u044B\u0456 \u0432\u0430\u0448\u044B\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E."},title:"\u041F\u0440\u044B\u043A\u043B\u0430\u0434\u044B \u0437\u0430\u0434\u0430\u0447"},searchSampleTasks:{line1:"\u0413\u044D\u0442\u044B \u043F\u043E\u0448\u0443\u043A \u0437\u0430\u0434\u0430\u0447 \u043F\u0430\u043A\u0430\u0437\u0432\u0430\u0435 \u045E\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u044B \u045E \u0433\u044D\u0442\u044B\u043C \u0444\u0430\u0439\u043B\u0435, \u0437\u0433\u0440\u0443\u043F\u0430\u0432\u0430\u043D\u044B\u044F \u043F\u0430 \u0442\u044B\u043F\u0435 \u0456 \u043D\u0430\u0437\u0432\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u0430.",title:"\u041F\u043E\u0448\u0443\u043A \u043F\u0430 \u043F\u0440\u044B\u043A\u043B\u0430\u0434\u0430\u0445 \u0437\u0430\u0434\u0430\u0447"},statusSettings:{comment:{line1:"\u041F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u044B\u0446\u0435\u0441\u044F \u045E \u0440\u044D\u0436\u044B\u043C \u043F\u0430\u043F\u044F\u0440\u044D\u0434\u043D\u044F\u0433\u0430 \u043F\u0440\u0430\u0433\u043B\u044F\u0434\u0443 \u045E \u0440\u044D\u0430\u043B\u044C\u043D\u044B\u043C \u0447\u0430\u0441\u0435 \u0430\u0431\u043E \u0440\u044D\u0436\u044B\u043C \u0447\u044B\u0442\u0430\u043D\u043D\u044F, \u043A\u0430\u0431 \u0443\u0431\u0430\u0447\u044B\u0446\u044C \u0442\u0430\u0431\u043B\u0456\u0446\u0443.",line2:"\u041A\u0430\u043B\u0456 \u045E \u0456\u043C\u0451\u043D\u0430\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0451\u0441\u0446\u044C \u044F\u043A\u0456\u044F-\u043D\u0435\u0431\u0443\u0434\u0437\u044C \u0441\u0456\u043C\u0432\u0430\u043B\u044B \u0444\u0430\u0440\u043C\u0430\u0442\u0430\u0432\u0430\u043D\u043D\u044F Markdown, \u0442\u0430\u043A\u0456\u044F \u044F\u043A '*' \u0430\u0431\u043E '_',",line3:"Obsidian \u043C\u043E\u0436\u0430 \u043F\u0440\u0430\u0432\u0456\u043B\u044C\u043D\u0430 \u0430\u0434\u043B\u044E\u0441\u0442\u0440\u0430\u0432\u0430\u0446\u044C \u0442\u0430\u0431\u043B\u0456\u0446\u0443 \u0442\u043E\u043B\u044C\u043A\u0456 \u045E \u0440\u044D\u0436\u044B\u043C\u0435 \u0447\u044B\u0442\u0430\u043D\u043D\u044F."},theseAreStatusValues:"\u0413\u044D\u0442\u0430 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u045E \u0440\u0430\u0437\u0434\u0437\u0435\u043B\u0430\u0445 Core \u0456 Custom statuses.",title:"\u041D\u0430\u043B\u0430\u0434\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0443"}}},settings:{autoSuggest:{heading:"\u0410\u045E\u0442\u0430\u043F\u0430\u0434\u043A\u0430\u0437\u043A\u0430",maxSuggestions:{description:"\u041A\u043E\u043B\u044C\u043A\u0456 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E \u043F\u0430\u0432\u0456\u043D\u043D\u0430 \u0431\u044B\u0446\u044C \u043F\u0430\u043A\u0430\u0437\u0430\u043D\u0430 \u043F\u0440\u044B \u0437'\u044F\u045E\u043B\u0435\u043D\u043D\u0456 \u043C\u0435\u043D\u044E \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u044B\u0445 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E (\u0443\u043A\u043B\u044E\u0447\u0430\u044E\u0447\u044B \u043E\u043F\u0446\u044B\u044E \xAB\u23CE\xBB).",name:"\u041C\u0430\u043A\u0441\u0456\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u043A\u043E\u043B\u044C\u043A\u0430\u0441\u0446\u044C \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u044B\u0445 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E \u0434\u043B\u044F \u043F\u0430\u043A\u0430\u0437\u0443"},minLength:{description:"\u041A\u0430\u043B\u0456 \u0432\u044B\u0448\u044D\u0439 \u0437\u0430 0, \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430\u044F \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u0432\u0430 \u0431\u0443\u0434\u0437\u0435 \u0441\u043F\u0440\u0430\u0446\u043E\u045E\u0432\u0430\u0446\u044C \u0442\u043E\u043B\u044C\u043A\u0456 \u0442\u0430\u0434\u044B, \u043A\u0430\u043B\u0456 \u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u0435\u0446\u0446\u0430 \u043F\u0430\u0447\u0430\u0442\u0430\u043A \u043B\u044E\u0431\u043E\u0433\u0430 \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043E\u045E\u0432\u0430\u043D\u0430\u0433\u0430 \u043A\u043B\u044E\u0447\u0430\u0432\u043E\u0433\u0430 \u0441\u043B\u043E\u0432\u0430.",name:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u0430\u045E\u0436\u044B\u043D\u044F \u0441\u0443\u043F\u0430\u0434\u0437\u0435\u043D\u043D\u044F \u0434\u043B\u044F \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430\u0439 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u0432\u044B"},toggle:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0430\u0434\u043A\u0440\u044B\u0435 \u0456\u043D\u0442\u044D\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0430\u0435 \u043C\u0435\u043D\u044E \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E \u043F\u0440\u044B \u045E\u0432\u043E\u0434\u0437\u0435 \u0442\u044D\u043A\u0441\u0442\u0443 \u045E\u043D\u0443\u0442\u0440\u044B \u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u043D\u0430\u0439 \u043B\u0456\u043D\u0456\u0456 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0410\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430 \u043F\u0440\u0430\u043F\u0430\u043D\u043E\u045E\u0432\u0430\u0446\u044C \u0437\u043C\u0435\u0441\u0442 \u0437\u0430\u0434\u0430\u0447\u044B"}},changeRequiresRestart:"\u041F\u0410\u0422\u0420\u0410\u0411\u0423\u0415 \u041F\u0415\u0420\u0410\u0417\u0410\u041F\u0423\u0421\u041A\u0423.",dates:{cancelledDate:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0434\u0430\u0434\u0430\u0441\u0446\u044C \u0447\u0430\u0441\u043E\u0432\u0443\u044E \u043F\u0430\u0437\u043D\u0430\u043A\u0443 \u274C YYYY-MM-DD \u045E \u043A\u0430\u043D\u0446\u044B, \u043A\u0430\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u0430\u0435\u0446\u0446\u0430 \u045E \u0430\u0434\u043C\u0435\u043D\u0435\u043D\u044B \u0441\u0442\u0430\u043D.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u0456\u0446\u044C \u0434\u0430\u0442\u0443 \u0430\u0434\u043C\u0435\u043D\u044B \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0439 \u0430\u0434\u043C\u0435\u043D\u0435\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B"},createdDate:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0434\u0430\u0434\u0430\u0441\u0446\u044C \u0447\u0430\u0441\u043E\u0432\u0443\u044E \u043F\u0430\u0437\u043D\u0430\u043A\u0443 \u2795 YYYY-MM-DD \u043F\u0435\u0440\u0430\u0434 \u0456\u043D\u0448\u044B\u043C\u0456 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u044F\u043C\u0456 \u0434\u0430\u0442\u044B, \u043A\u0430\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0442\u0432\u0430\u0440\u0430\u0435\u0446\u0446\u0430 \u0437 \u0434\u0430\u043F\u0430\u043C\u043E\u0433\u0430\u0439 \xAB\u0421\u0442\u0432\u0430\u0440\u044B\u0446\u044C \u0430\u0431\u043E \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0437\u0430\u0434\u0430\u0447\u0443\xBB \u0430\u0431\u043E \u043F\u0440\u044B \u0437\u0430\u0432\u044F\u0440\u0448\u044D\u043D\u043D\u0456 \u043F\u0435\u0440\u044B\u044F\u0434\u044B\u0447\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u0456\u0446\u044C \u0434\u0430\u0442\u0443 \u0441\u0442\u0432\u0430\u0440\u044D\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0439 \u0434\u0430\u0434\u0430\u0434\u0437\u0435\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B"},doneDate:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0434\u0430\u0434\u0430\u0441\u0446\u044C \u0447\u0430\u0441\u043E\u0432\u0443\u044E \u043F\u0430\u0437\u043D\u0430\u043A\u0443 \u2705 YYYY-MM-DD \u045E \u043A\u0430\u043D\u0446\u044B, \u043A\u0430\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0430\u043A\u043B\u044E\u0447\u0430\u0435\u0446\u0446\u0430 \u045E \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u044B \u0441\u0442\u0430\u043D.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u0456\u0446\u044C \u0434\u0430\u0442\u0443 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u0430\u0439 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u044B"},heading:"\u0414\u0430\u0442\u044B"},datesFromFileNames:{heading:"\u0414\u0430\u0442\u044B \u0437 \u0456\u043C\u0451\u043D\u0430\u045E \u0444\u0430\u0439\u043B\u0430\u045E",scheduledDate:{extraFormat:{description:{line1:"\u0414\u0430\u0434\u0430\u0442\u043A\u043E\u0432\u044B \u0444\u0430\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B, \u044F\u043A\u0456 \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0431\u0443\u0434\u0437\u0435 \u0440\u0430\u0441\u043F\u0430\u0437\u043D\u0430\u0432\u0430\u0446\u044C \u043F\u0440\u044B \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043D\u043D\u0456 \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u044B.",line2:"\u0414\u0430\u0432\u0435\u0434\u043A\u0430 \u043F\u0430 \u0441\u0456\u043D\u0442\u0430\u043A\u0441\u0456\u0441\u0435"},name:"\u0414\u0430\u0434\u0430\u0442\u043A\u043E\u0432\u044B \u0444\u0430\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u044B",placeholder:"\u043F\u0440\u044B\u043A\u043B\u0430\u0434: MMM DD YYYY"},folders:{description:"\u041F\u0430\u043A\u0456\u043D\u044C\u0446\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u043A\u0430\u043B\u0456 \u0445\u043E\u0447\u0430\u0446\u0435 \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0446\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u044B\u044F \u0434\u0430\u0442\u044B \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456 \u043F\u0430\u045E\u0441\u044E\u043B\u044C, \u0430\u0431\u043E \u045E\u0432\u044F\u0434\u0437\u0456\u0446\u0435 \u0441\u043F\u0456\u0441 \u0442\u044D\u0447\u0430\u043A, \u043F\u0430\u0434\u0437\u0435\u043B\u0435\u043D\u044B\u0445 \u043A\u043E\u0441\u043A\u0430\u043C\u0456.",name:"\u0422\u044D\u0447\u043A\u0456 \u0437 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u044B\u043C\u0456 \u0434\u0430\u0442\u0430\u043C\u0456 \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456"},toggle:{description:{line1:"\u042D\u043A\u0430\u043D\u043E\u043C\u0446\u0435 \u0447\u0430\u0441, \u0443\u0432\u043E\u0434\u0437\u044F\u0447\u044B \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u044B\u044F (\u23F3) \u0434\u0430\u0442\u044B.",line2:"\u041A\u0430\u043B\u0456 \u0433\u044D\u0442\u0430\u044F \u043E\u043F\u0446\u044B\u044F \u045E\u043A\u043B\u044E\u0447\u0430\u043D\u0430, \u043B\u044E\u0431\u044B\u043C \u0437\u0430\u0434\u0430\u0447\u0430\u043C \u0431\u0435\u0437 \u0434\u0430\u0442\u044B \u0431\u0443\u0434\u0437\u0435 \u043F\u0440\u044B\u0437\u043D\u0430\u0447\u0430\u043D\u0430 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u044F \u0434\u0430\u0442\u0430 \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456, \u0432\u044B\u043D\u044F\u0442\u0430\u044F \u0437 \u0456\u0445 \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430.",line3:"\u041F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456 \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0431\u0443\u0434\u0437\u0435 \u0441\u0443\u043F\u0430\u0441\u0442\u0430\u045E\u043B\u044F\u0446\u044C \u0444\u0430\u0440\u043C\u0430\u0442\u044B \u0434\u0430\u0442\u044B <code>YYYY-MM-DD</code> \u0456 <code>YYYYMMDD</code>.",line4:"\u0417\u0430\u0434\u0430\u0447\u044B \u0431\u0435\u0437 \u0434\u0430\u0442\u044B \u043D\u0435 \u043C\u0430\u044E\u0446\u044C \u043D\u0456\u0432\u043E\u0434\u043D\u0430\u0439 \u0437 \u0434\u0430\u0442: Due (\u{1F4C5} ), Scheduled (\u23F3) \u0456 Start (\u{1F6EB})."},name:"\u0412\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0446\u044C \u0456\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u0430\u0432\u0430\u043D\u0430\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u044B"}}},dialogs:{accessKeys:{description:"\u041A\u0430\u043B\u0456 \u043A\u043B\u0430\u0432\u0456\u0448\u044B \u0434\u043E\u0441\u0442\u0443\u043F\u0443 (\u043A\u043B\u0430\u0432\u0456\u044F\u0442\u0443\u0440\u043D\u044B\u044F \u0441\u043A\u0430\u0440\u0430\u0447\u044D\u043D\u043D\u0456) \u0434\u043B\u044F \u0440\u043E\u0437\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E \u043A\u0456\u0440\u0430\u0432\u0430\u043D\u043D\u044F \u045E \u0434\u044B\u044F\u043B\u043E\u0433\u0430\u0432\u044B\u0445 \u0432\u043E\u043A\u043D\u0430\u0445 \u043A\u0430\u043D\u0444\u043B\u0456\u043A\u0442\u0443\u044E\u0446\u044C \u0437 \u0441\u0456\u0441\u0442\u044D\u043C\u043D\u044B\u043C\u0456 \u043A\u043B\u0430\u0432\u0456\u044F\u0442\u0443\u0440\u043D\u044B\u043C\u0456 \u0441\u043A\u0430\u0440\u0430\u0447\u044D\u043D\u043D\u044F\u043C\u0456 \u0430\u0431\u043E \u0444\u0443\u043D\u043A\u0446\u044B\u044F\u043C\u0456 \u0434\u0430\u043F\u0430\u043C\u043E\u0436\u043D\u0430\u0439 \u0442\u044D\u0445\u043D\u0430\u043B\u043E\u0433\u0456\u0456, \u044F\u043A\u0456\u044F \u0432\u0430\u0436\u043D\u044B\u044F \u0434\u043B\u044F \u0432\u0430\u0441, \u0432\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0430\u0434\u043A\u043B\u044E\u0447\u044B\u0446\u044C \u0456\u0445 \u0442\u0443\u0442.",name:"\u0417\u0430\u0431\u044F\u0441\u043F\u0435\u0447\u044B\u0446\u044C \u043A\u043B\u0430\u0432\u0456\u0448\u044B \u0434\u043E\u0441\u0442\u0443\u043F\u0443 \u045E \u0434\u044B\u044F\u043B\u043E\u0433\u0430\u0445"},heading:"\u0414\u044B\u044F\u043B\u043E\u0433\u0456"},format:{description:{line1:"\u0424\u0430\u0440\u043C\u0430\u0442, \u044F\u043A\u0456 Tasks \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0435 \u0434\u043B\u044F \u0447\u044B\u0442\u0430\u043D\u043D\u044F \u0456 \u0437\u0430\u043F\u0456\u0441\u0443 \u0437\u0430\u0434\u0430\u0447.",line2:"<b>\u0412\u0430\u0436\u043D\u0430:</b> Tasks \u0443 \u0446\u044F\u043F\u0435\u0440\u0430\u0448\u043D\u0456 \u0447\u0430\u0441 \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u0442\u043E\u043B\u044C\u043A\u0456 \u0430\u0434\u0437\u0456\u043D \u0444\u0430\u0440\u043C\u0430\u0442 \u0430\u0434\u043D\u0430\u0447\u0430\u0441\u043E\u0432\u0430. \u0412\u044B\u0431\u0430\u0440 Dataview \u0443 \u0446\u044F\u043F\u0435\u0440\u0430\u0448\u043D\u0456 \u0447\u0430\u0441 <b>\u0441\u043F\u044B\u043D\u0456\u0446\u044C \u0447\u044B\u0442\u0430\u043D\u043D\u0435 Tasks \u0441\u0432\u0430\u0456\u0445 \u0443\u043B\u0430\u0441\u043D\u044B\u0445 \u0437\u043D\u0430\u043A\u0430\u045E \u044D\u043C\u043E\u0434\u0437\u0456</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"\u0424\u0430\u0440\u043C\u0430\u0442 \u044D\u043C\u043E\u0434\u0437\u0456 Tasks"},name:"\u0424\u0430\u0440\u043C\u0430\u0442 \u0437\u0430\u0434\u0430\u0447\u044B"},globalFilter:{filter:{description:{line1:"\u0420\u044D\u043A\u0430\u043C\u0435\u043D\u0434\u0443\u0435\u0446\u0446\u0430: \u043F\u0430\u043A\u0456\u043D\u044C\u0446\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u043A\u0430\u043B\u0456 \u0445\u043E\u0447\u0430\u0446\u0435, \u043A\u0430\u0431 \u0443\u0441\u0435 \u043F\u0443\u043D\u043A\u0442\u044B \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u045E \u0432\u0430\u0448\u044B\u043C \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u044B \u0431\u044B\u043B\u0456 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0456, \u044F\u043A\u0456\u043C\u0456 \u043A\u0456\u0440\u0443\u0435 \u0433\u044D\u0442\u044B \u043F\u043B\u0430\u0433\u0456\u043D.",line2:"\u0412\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0439\u0446\u0435 \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440, \u043A\u0430\u043B\u0456 \u0432\u044B \u0445\u043E\u0447\u0430\u0446\u0435, \u043A\u0430\u0431 Tasks \u0434\u0437\u0435\u0439\u043D\u0456\u0447\u0430\u045E \u0442\u043E\u043B\u044C\u043A\u0456 \u043D\u0430 \u043F\u0430\u0434\u043C\u043D\u043E\u0441\u0442\u0432\u0430 \u0432\u0430\u0448\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u045E \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \xAB<code>- [ ]</code>\xBB, \u0442\u0430\u043A\u0456\u043C \u0447\u044B\u043D\u0430\u043C, \u043A\u0430\u0431 \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u045E\u043A\u043B\u044E\u0447\u0430\u045E \u0443 \u0441\u0432\u0430\u0451 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u0435 \u0432\u044B\u0437\u043D\u0430\u0447\u0430\u043D\u044B \u0440\u0430\u0434\u043E\u043A, \u043A\u0430\u0431 \u043B\u0456\u0447\u044B\u0446\u0446\u0430 \u0437\u0430\u0434\u0430\u0447\u0430\u0439.",line3:"\u041D\u0430\u043F\u0440\u044B\u043A\u043B\u0430\u0434, \u043A\u0430\u043B\u0456 \u0432\u044B \u045E\u0441\u0442\u0430\u043B\u044E\u0435\u0446\u0435 \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440 \u043D\u0430 <code>#task</code>, \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0431\u0443\u0434\u0437\u0435 \u0430\u043F\u0440\u0430\u0446\u043E\u045E\u0432\u0430\u0446\u044C \u0442\u043E\u043B\u044C\u043A\u0456 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443, \u043F\u0430\u0437\u043D\u0430\u0447\u0430\u043D\u044B\u044F <code>#task</code>.",line4:"\u0406\u043D\u0448\u044B\u044F \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u0437\u0430\u0441\u0442\u0430\u043D\u0443\u0446\u0446\u0430 \u0437\u0432\u044B\u0447\u0430\u0439\u043D\u044B\u043C\u0456 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0456 \u043A\u0430\u043D\u0442\u0440\u043E\u043B\u044C\u043D\u0430\u0433\u0430 \u0441\u043F\u0456\u0441\u0443 \u0456 \u043D\u0435 \u0431\u0443\u0434\u0443\u0446\u044C \u0437'\u044F\u045E\u043B\u044F\u0446\u0446\u0430 \u045E \u0437\u0430\u043F\u044B\u0442\u0430\u0445, \u0456 \u0434\u043B\u044F \u0456\u0445 \u043D\u0435 \u0431\u0443\u0434\u0437\u0435 \u045E\u0441\u0442\u0430\u043D\u043E\u045E\u043B\u0435\u043D\u0430 \u0434\u0430\u0442\u0430 \u0432\u044B\u043A\u0430\u043D\u0430\u043D\u043D\u044F."},name:"\u0413\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440",placeholder:"\u043D\u0430\u043F\u0440\u044B\u043A\u043B\u0430\u0434 #task \u0430\u0431\u043E TODO"},heading:"\u0413\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440 \u0437\u0430\u0434\u0430\u0447",removeFilter:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0432\u044B\u0434\u0430\u043B\u0456\u0446\u044C \u0440\u0430\u0434\u043E\u043A, \u044F\u043A\u0456 \u0432\u044B \u045E\u0441\u0442\u0430\u043B\u044F\u0432\u0430\u043B\u0456 \u045E \u044F\u043A\u0430\u0441\u0446\u0456 \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u0430\u0433\u0430 \u0444\u0456\u043B\u044C\u0442\u0440\u0430, \u0437 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u044F \u0437\u0430\u0434\u0430\u0447\u044B \u043F\u0440\u044B \u0430\u0434\u043B\u044E\u0441\u0442\u0440\u0430\u0432\u0430\u043D\u043D\u0456 \u0437\u0430\u0434\u0430\u0447\u044B.",name:"\u0412\u044B\u0434\u0430\u043B\u0456\u0446\u044C \u0433\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0444\u0456\u043B\u044C\u0442\u0440 \u0437 \u0430\u043F\u0456\u0441\u0430\u043D\u043D\u044F"}},globalQuery:{heading:"\u0413\u043B\u0430\u0431\u0430\u043B\u044C\u043D\u044B \u0437\u0430\u043F\u044B\u0442",query:{description:"\u0417\u0430\u043F\u044B\u0442, \u044F\u043A\u0456 \u0430\u045E\u0442\u0430\u043C\u0430\u0442\u044B\u0447\u043D\u0430 \u045E\u043A\u043B\u044E\u0447\u0430\u0435\u0446\u0446\u0430 \u045E \u043F\u0430\u0447\u0430\u0442\u043A\u0443 \u043A\u043E\u0436\u043D\u0430\u0433\u0430 \u0431\u043B\u043E\u043A\u0430 Tasks \u0443 \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u044B. \u041A\u0430\u0440\u044B\u0441\u043D\u044B \u0434\u043B\u044F \u0434\u0430\u0434\u0430\u043D\u043D\u044F \u0444\u0456\u043B\u044C\u0442\u0440\u0430\u045E \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456 \u0430\u0431\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430\u045E \u043C\u0430\u043A\u0435\u0442\u0430.",placeholder:`\u041D\u0430\u043F\u0440\u044B\u043A\u043B\u0430\u0434...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:""},line1:"",line2:"",name:""},recurringTasks:{heading:"\u041F\u0435\u0440\u044B\u044F\u0434\u044B\u0447\u043D\u044B\u044F \u0437\u0430\u0434\u0430\u0447\u044B",nextLine:{description:"\u0423\u043A\u043B\u044E\u0447\u044D\u043D\u043D\u0435 \u0433\u044D\u0442\u0430\u0433\u0430 \u0437\u0440\u043E\u0431\u0456\u0446\u044C \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0435 \u043F\u0430\u045E\u0442\u0430\u0440\u044D\u043D\u043D\u0435 \u0437\u0430\u0434\u0430\u0447\u044B \u043D\u0430 \u0440\u0430\u0434\u043A\u0443 \u043D\u0456\u0436\u044D\u0439 \u0437\u0430 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u043D\u0443\u044E \u0437\u0430\u0434\u0430\u0447\u0443. \u0423 \u0430\u0434\u0432\u0430\u0440\u043E\u0442\u043D\u044B\u043C \u0432\u044B\u043F\u0430\u0434\u043A\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0435 \u043F\u0430\u045E\u0442\u0430\u0440\u044D\u043D\u043D\u0435 \u0437'\u044F\u0432\u0456\u0446\u0446\u0430 \u043F\u0435\u0440\u0430\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0430\u043D\u0430\u0439 \u0437\u0430\u0434\u0430\u0447\u0430\u0439.",name:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0430\u0435 \u043F\u0430\u045E\u0442\u0430\u0440\u044D\u043D\u043D\u0435 \u0437'\u044F\u045E\u043B\u044F\u0435\u0446\u0446\u0430 \u043D\u0430 \u0440\u0430\u0434\u043A\u0443 \u043D\u0456\u0436\u044D\u0439"},removeScheduledDate:{description:{line1:"",line2:""},name:""}},seeTheDocumentation:"\u0413\u043B\u044F\u0434\u0437\u0456\u0446\u0435 \u0434\u0430\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u044B\u044E",statuses:{collections:{anuppuccinTheme:"\u0422\u044D\u043C\u0430 AnuPpuccin",auraTheme:"\u0422\u044D\u043C\u0430 Aura",borderTheme:"\u0422\u044D\u043C\u0430 Border",buttons:{addCollection:{name:"{{themeName}}: \u0414\u0430\u0434\u0430\u0446\u044C {{numberOfStatuses}} \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043E\u045E\u0432\u0430\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B"}},ebullientworksTheme:"\u0422\u044D\u043C\u0430 Ebullientworks",itsThemeAndSlrvbCheckboxes:"\u0422\u044D\u043C\u0430 ITS \u0456 \u0441\u0446\u044F\u0436\u043A\u0456 SlRvb",lytModeTheme:"\u0422\u044D\u043C\u0430 LYT Mode (\u0442\u043E\u043B\u044C\u043A\u0456 \u0446\u0451\u043C\u043D\u044B \u0440\u044D\u0436\u044B\u043C)",minimalTheme:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0442\u044D\u043C\u0430",thingsTheme:"\u0422\u044D\u043C\u0430 Things"},coreStatuses:{buttons:{checkStatuses:{name:"\u041F\u0440\u0430\u0433\u043B\u044F\u0434\u0437\u0435\u0446\u044C \u0456 \u043F\u0440\u0430\u0432\u0435\u0440\u044B\u0446\u044C \u0432\u0430\u0448\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u044B",tooltip:"\u0421\u0442\u0432\u0430\u0440\u044B\u0446\u044C \u043D\u043E\u0432\u044B \u0444\u0430\u0439\u043B \u0443 \u043A\u0430\u0440\u0430\u043D\u0451\u0432\u0430\u0439 \u0442\u044D\u0447\u0446\u044B \u0441\u0445\u043E\u0432\u0456\u0448\u0447\u0430, \u044F\u043A\u0456 \u0437\u043C\u044F\u0448\u0447\u0430\u0435 \u0434\u044B\u044F\u0433\u0440\u0430\u043C\u0443 Mermaid \u0437 \u0431\u044F\u0433\u0443\u0447\u044B\u043C\u0456 \u043D\u0430\u043B\u0430\u0434\u0430\u043C\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0443."}},description:{line1:"\u0413\u044D\u0442\u0430 \u0430\u0441\u043D\u043E\u045E\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u044F\u043A\u0456\u044F Tasks \u043F\u0430\u0434\u0442\u0440\u044B\u043C\u043B\u0456\u0432\u0430\u0435 \u045E\u043B\u0430\u0441\u043D\u0430, \u0431\u0435\u0437 \u043F\u0430\u0442\u0440\u044D\u0431\u044B \u045E \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u043C CSS-\u0441\u0442\u044B\u043B\u0456 \u0430\u0431\u043E \u0442\u044D\u043C\u0430\u0442\u044B\u0437\u0430\u0446\u044B\u0456.",line2:"\u0412\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0456 \u0434\u0430\u0434\u0430\u0432\u0430\u0446\u044C \u0441\u0432\u0430\u0435 \u045E\u043B\u0430\u0441\u043D\u044B\u044F \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u045E \u0440\u0430\u0437\u0434\u0437\u0435\u043B\u0435 \u043D\u0456\u0436\u044D\u0439."},heading:"\u0410\u0441\u043D\u043E\u045E\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},customStatuses:{buttons:{addAllUnknown:{name:"\u0414\u0430\u0434\u0430\u0446\u044C \u0443\u0441\u0435 \u043D\u0435\u0432\u044F\u0434\u043E\u043C\u044B\u044F \u0442\u044B\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E"},addNewStatus:{name:"\u0414\u0430\u0434\u0430\u0446\u044C \u043D\u043E\u0432\u044B \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u044B"},resetCustomStatuses:{name:"\u0421\u043A\u0456\u043D\u0443\u0446\u044C \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0442\u044B\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E \u0434\u0430 \u0437\u043D\u0430\u0447\u044D\u043D\u043D\u044F\u045E \u043F\u0430 \u0437\u043C\u0430\u045E\u0447\u0430\u043D\u043D\u0456"}},description:{line1:"\u0421\u043F\u0430\u0447\u0430\u0442\u043A\u0443 \u0432\u044B \u043F\u0430\u0432\u0456\u043D\u043D\u044B <b>\u0432\u044B\u0431\u0440\u0430\u0446\u044C \u0456 \u045E\u0441\u0442\u0430\u043B\u044F\u0432\u0430\u0446\u044C CSS Snippet \u0430\u0431\u043E Theme</b>, \u043A\u0430\u0431 \u0441\u0442\u044B\u043B\u0456\u0437\u0430\u0432\u0430\u0446\u044C \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0446\u044F\u0436\u043A\u0456.",line2:"\u0417\u0430\u0442\u044B\u043C \u0432\u044B\u043A\u0430\u0440\u044B\u0441\u0442\u043E\u045E\u0432\u0430\u0439\u0446\u0435 \u043A\u043D\u043E\u043F\u043A\u0456 \u043D\u0456\u0436\u044D\u0439, \u043A\u0430\u0431 \u043D\u0430\u043B\u0430\u0434\u0437\u0456\u0446\u044C \u0441\u0432\u0430\u0435 \u043A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u045E \u0430\u0434\u043F\u0430\u0432\u0435\u0434\u043D\u0430\u0441\u0446\u0456 \u0437 \u0432\u044B\u0431\u0440\u0430\u043D\u044B\u043C\u0456 CSS-\u0441\u0446\u044F\u0436\u043A\u0430\u043C\u0456.",line3:"<b>\u0417\u0430\u045E\u0432\u0430\u0433\u0430</b> \u041B\u044E\u0431\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0437 \u0442\u044B\u043C \u0436\u0430 \u0441\u0456\u043C\u0432\u0430\u043B\u0430\u043C, \u0448\u0442\u043E \u0456 \u045E \u043F\u0430\u043F\u044F\u0440\u044D\u0434\u043D\u0456\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430\u045E, \u0431\u0443\u0434\u0443\u0446\u044C \u043F\u0440\u0430\u0456\u0433\u043D\u0430\u0440\u0430\u0432\u0430\u043D\u044B\u044F. \u0412\u044B \u043C\u043E\u0436\u0430\u0446\u0435 \u043F\u0430\u0446\u0432\u0435\u0440\u0434\u0437\u0456\u0446\u044C \u0444\u0430\u043A\u0442\u044B\u0447\u043D\u0430 \u0437\u0430\u0433\u0440\u0443\u0436\u0430\u043D\u044B\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u0437\u0430\u043F\u0443\u0441\u0446\u0456\u045E\u0448\u044B \u043A\u0430\u043C\u0430\u043D\u0434\u0443 \xAB\u0421\u0442\u0432\u0430\u0440\u044B\u0446\u044C \u0430\u0431\u043E \u0440\u044D\u0434\u0430\u0433\u0430\u0432\u0430\u0446\u044C \u0437\u0430\u0434\u0430\u0447\u0443\xBB \u0456 \u043F\u0430\u0433\u043B\u044F\u0434\u0437\u0435\u045E\u0448\u044B \u043D\u0430 \u0432\u044B\u043F\u0430\u0434\u0430\u043B\u044C\u043D\u044B \u0441\u043F\u0456\u0441 \u0421\u0442\u0430\u0442\u0443\u0441.",line4:"\u0413\u043B\u044F\u0434\u0437\u0456\u0446\u0435 \u0434\u0430\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u044B\u044E, \u043A\u0430\u0431 \u043F\u0430\u0447\u0430\u0446\u044C!"},heading:"\u041A\u0430\u0440\u044B\u0441\u0442\u0430\u043B\u044C\u043D\u0456\u0446\u043A\u0456\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},heading:"\u0421\u0442\u0430\u0442\u0443\u0441\u044B \u0437\u0430\u0434\u0430\u0447"}}}});var $b,Wb=Q(()=>{$b={main:{loadingPlugin:"Lade Plugin: {{name}} v{{version}}",unloadingPlugin:"Entlade Plugin: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"WennBei Aktivierung k\xF6nnen Sie diesen Status als Befehl nutzen und ihm eine Tastenkombination zuordnen, um den Status umzuschalten.",name:"Verf\xFCgbar als Befehl"},editNextStatusSymbol:{description:"Bei Klick verwenden Sie dies als das n\xE4chstverwendete Symbol.",name:"Symbol f\xFCr n\xE4chsten Status"},editStatusName:{description:"Der Anzeigename des Aufgabenstatus.",name:"Name des Aufgabenstatus"},editStatusSymbol:{description:"Das Zeichen zwischen den eckigen Klammern. (Sie k\xF6nnen es nur f\xFCr benutzerdefinierte Status bearbeiten, nicht f\xFCr Kernstatus.)",name:"Symbol des Aufgabenstatus"},editStatusType:{description:"Kontrollieren Sie, wie der Status beim Suchen und Umschalten funktioniert.",name:"Typ des Aufgabenstatus"},fixErrorsBeforeSaving:"Fehler vor dem Speichern beheben."}},reports:{statusRegistry:{about:{createdBy:"Ich habe diese Datei mit dem Obsidian Tasks-Plugin (Version {{version}}) erstellt, um die Aufgabenstatus in diesem Vault zu visualisieren.",deleteFileAnyTime:"Sie k\xF6nnen diese Datei jederzeit l\xF6schen.",title:"\xDCber diese Datei",updateReport:{line1:"Wenn Sie die Tasks-Status-Einstellungen \xE4ndern, erhalten Sie einen aktualisierten Bericht, indem Sie:",line2:"Zu `Einstellungen` -> `Tasks` gehen.",line3:"Auf `\xDCberpr\xFCfen und Status kontrollieren` klicken."}},columnHeadings:{nextStatusSymbol:"N\xE4chstes Status-Symbol",problems:"Probleme (falls vorhanden)",statusName:"Statusname",statusSymbol:"Statussymbol",statusType:"Statustyp"},loadedSettings:{settingsActuallyUsed:"Dies sind die aktuellen Einstellungen, die Tasks verwendet.",switchToLivePreview:"Wechseln Sie zur Live-Vorschau oder zum Lesemodus, um das Diagramm zu sehen.",title:"Geladene Einstellungen"},messages:{cannotFindNextStatus:"Ich konnte den n\xE4chsten Status nicht finden.",duplicateSymbol:"Doppeltes Symbol '{{symbol}}': Plugin ignoriert diesen Status.",emptySymbol:"Leeres Symbol: Plugin ignoriert diesen Status.",nextSymbolUnknown:"N\xE4chstes Symbol {{symbol}} ist unbekannt: Erstellen Sie einen Status mit dem Symbol {{symbol}}.",notConventionalType:"Zur Information: Der \xFCbliche Typ f\xFCr das Status-Symbol {{symbol}} ist {{type}}. \xDCberpr\xFCfen Sie diesen Typ gegebenenfalls.",wrongTypeAfterDone:{line1:"Nach diesem `ERLEDIGT`-Status folgt {{nextType}}, nicht `TODO` oder `IN_PROGRESS`.",line2:"Wenn Sie diesen Status verwenden, um eine wiederkehrende Aufgabe abzuschlie\xDFen, folgt darauf `TODO` oder `IN_PROGRESS`, um sicherzustellen, dass die n\xE4chste Aufgabe dem `nicht erledigt`-Filter entspricht.",line3:"Siehe [Wiederkehrende Aufgaben und benutzerdefinierte Status]({{helpURL}})."}},sampleTasks:{line1:"Hier ist eine Beispiel-Aufgabenzeile f\xFCr jeden von Tasks tats\xE4chlich genutzten Status, mit der Sie experimentieren k\xF6nnen.",line2:"Zu dem Zeitpunkt, zu dem ich diese Datei erstellt habe, waren die Status-Symbole und Namen in den Aufgabentexten korrekt.",line3:"Wenn Sie die Beispielaufgaben ge\xE4ndert haben, sehen Sie die aktuellen Statustypen und Namen in den Gruppen\xFCberschriften in der Tasks-Suche unten.",tip:{line1:"Tipp: Wenn alle Ihre Kontrollk\xE4stchen gleich aussehen...",line2:"Wenn Ihre Kontrollk\xE4stchen im Lesemodus oder in der Live-Vorschau gleich aussehen, informieren Sie sich unter [Benutzerdefinierte Statusstile]({{url}}), wie Sie ein Theme oder ein CSS-Snippet ausw\xE4hlen k\xF6nnen, um Ihre Status zu formatieren."},title:"Beispielaufgaben"},searchSampleTasks:{line1:"Diese Tasks-Suche zeigt alle Aufgaben in dieser Datei an, gruppiert nach ihrem Statustyp und Statusnamen.",title:"Suche in den Beispielaufgaben"},statusSettings:{comment:{line1:"Wechseln Sie zur Live-Vorschau oder zum Lesemodus, um die Tabelle zu sehen.",line2:"Wenn in Statusnamen Markdown-Formatierungszeichen wie '*' oder '_' enthalten sind,",line3:"stellt Obsidian die Tabelle m\xF6glicherweise nur im Lesemodus korrekt dar."},theseAreStatusValues:"Diese Statuswerte finden Sie in den Abschnitten Kern- und Benutzerdefinierte Status.",title:"Status-Einstellungen"}}},settings:{autoSuggest:{heading:"Autosuggest",maxSuggestions:{description:'Wie viele Vorschl\xE4ge m\xF6chten Sie anzeigen, wenn ein Autosuggest-Men\xFC aufgeht (einschlie\xDFlich der "\u23CE"-Option).',name:"Maximale Anzahl von Autosuggest-Vorschl\xE4gen anzeigen"},minLength:{description:"Wenn gr\xF6\xDFer als 0, l\xF6st Autosuggest nur aus, wenn Sie den Beginn eines unterst\xFCtzten Schl\xFCsselwortes erkennen.",name:"Minimale \xDCbereinstimmungsl\xE4nge f\xFCr Autosuggest"},toggle:{description:"Durch Aktivierung \xF6ffnet sich ein intelligentes Vorschlagsmen\xFC, w\xE4hrend Sie innerhalb einer erkannten Aufgabenzeile tippen.",name:"Aufgabentext automatisch vorschlagen"}},changeRequiresRestart:"NEUSTART ERFORDERLICH.",dates:{cancelledDate:{description:"Wenn aktiviert, f\xFCge beim Umschalten auf 'abgebrochen' automatisch ein Datum \u274C YYYY-MM-DD am Ende hinzu.",name:"Abbruch-Datum bei jeder abgebrochenen Aufgabe festlegen"},createdDate:{description:"F\xFCge bei Aktivierung beim Erstellen einer Aufgabe mit 'Erstellen oder Bearbeiten einer Aufgabe' oder beim Abschluss einer wiederkehrenden Aufgabe ein Datum \u2795 YYYY-MM-DD vor anderen Datumswerten hinzu.",name:"Erstellungsdatum bei jeder hinzugef\xFCgten Aufgabe festlegen"},doneDate:{description:"Bei Aktivierung wird beim Umschalten auf 'erledigt' automatisch ein Datum \u2705 YYYY-MM-DD am Ende hinzugef\xFCgt.",name:"Erledigungsdatum bei jeder abgeschlossenen Aufgabe festlegen"},heading:"Daten"},datesFromFileNames:{heading:"Daten aus Dateinamen",scheduledDate:{extraFormat:{description:{line1:"Ein zus\xE4tzliches Datumsformat, das das Tasks-Plugin beim Verwenden des Dateinamens als geplantes Datum f\xFCr undatierte Aufgaben erkennt.",line2:"Syntax-Referenz"},name:"Zus\xE4tzliches Datumsformat f\xFCr Dateinamen als geplantes Datum f\xFCr undatierte Aufgaben",placeholder:"Beispiel: MMM DD YYYY"},folders:{description:"Lassen Sie dieses Feld leer, wenn Sie standardm\xE4\xDFige geplante Datumsangaben \xFCberall verwenden wollen, oder geben Sie eine durch Kommas getrennte Liste von Ordnern ein.",name:"Ordner mit standardm\xE4\xDFigen geplanten Datumsangaben"},toggle:{description:{line1:"Sparen Sie Zeit beim Eingeben geplanter (\u23F3) Daten.",line2:"Bei Aktivierung erhalten alle undatierten Aufgaben ein geplantes Datum, das aus ihrem Dateinamen extrahiert wird.",line3:"Standardm\xE4\xDFig erkennt das Tasks-Plugin sowohl <code>YYYY-MM-DD</code> als auch <code>YYYYMMDD</code> Datumsformate.",line4:"Undatierte Aufgaben haben weder ein F\xE4lligkeitsdatum (\u{1F4C5} ), geplantes (\u23F3) noch Start-(\u{1F6EB})datum."},name:"Dateinamen als geplantes Datum f\xFCr undatierte Aufgaben verwenden"}}},dialogs:{accessKeys:{description:"Wenn die Zugriffsschl\xFCssel (Tastenkombinationen) f\xFCr verschiedene Steuerelemente in Dialogfeldern in Konflikt mit System-Tastenkombinationen oder wichtigen assistiven Funktionen stehen, deaktivieren Sie sie hier.",name:"Zugriffsschl\xFCssel in Dialogen bereitstellen"},heading:"Dialoge"},format:{description:{line1:"Das Format, das Tasks zum Lesen und Schreiben von Aufgaben verwendet.",line2:"<b>Wichtig:</b> Tasks unterst\xFCtzt gleichzeitig nur ein Format. Wenn Sie Dataview ausw\xE4hlen, hindert dies Tasks daran, seine eigenen Emoji-Anzeiger zu verwenden."},displayName:{dataview:"Dataview",tasksEmojiFormat:"Tasks Emoji Format"},name:"Aufgabenformat"},globalFilter:{filter:{description:{line1:"Empfehlung: Lassen Sie dieses Feld leer, damit das Plugin alle Kontrollk\xE4stchen in Ihrem Tresor als Aufgaben verwalten kann.",line2:'Verwenden Sie einen globalen Filter, wenn Tasks nur auf einen Teil Ihrer "<code>- [ ]</code>" Kontrollk\xE4stchenitems wirken soll. Sorgen Sie daf\xFCr, dass ein Kontrollk\xE4stchenitem die angegebene Zeichenfolge in seiner Beschreibung enth\xE4lt, um als Aufgabe betrachtet zu werden.',line3:"Setzen Sie den globalen Filter z. B. auf <code>#task</code>, verwaltet Tasks nur die mit <code>#task</code> gekennzeichneten Kontrollk\xE4stchenitems.",line4:"Andere Kontrollk\xE4stchenitems bleiben normale Kontrollk\xE4stchen und erscheinen nicht in Abfragen und erhalten kein Erledigungsdatum."},name:"Globaler Filter",placeholder:"z.B. #task oder TODO"},heading:"Globaler Aufgabenfilter",removeFilter:{description:"Aktiviert entfernt die Zeichenfolge, die Sie als globalen Filter gesetzt haben, aus der Aufgabenbeschreibung, wenn die Aufgabe angezeigt wird.",name:"Globalen Filter aus Beschreibung entfernen"}},globalQuery:{heading:"Globale Abfrage",query:{description:"F\xFCgen Sie automatisch eine Abfrage am Anfang jedes Tasks-Blocks im Tresor hinzu. N\xFCtzlich f\xFCr Standardfilter oder Layout-Optionen.",placeholder:`Zum Beispiel...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:""},line1:"",line2:"",name:""},recurringTasks:{heading:"Wiederkehrende Aufgaben",nextLine:{description:"Aktivieren Sie dies, damit das n\xE4chste Auftreten einer Aufgabe in der Zeile unterhalb der abgeschlossenen Aufgabe erscheint. Ansonsten erscheint es vor der abgeschlossenen Aufgabe.",name:"N\xE4chste Wiederholung erscheint in Zeile darunter"},removeScheduledDate:{description:{line1:"Aktiviert, damit das n\xE4chste Auftreten einer Aufgabe keinen geplanten (\u23F3) Termin hat, wenn mindestens Start-(\u{1F6EB}) oder F\xE4lligkeitsdaten (\u{1F4C5}) vorhanden sind.",line2:"Dies gilt, wenn Sie m\xF6chten, dass Start- und F\xE4lligkeitsdaten beim n\xE4chsten Auftreten beibehalten werden, aber das geplante Datum sp\xE4ter festgelegt wird, sobald Sie planen, daran zu arbeiten."},name:"Geplantes Datum bei Wiederholung entfernen"}},seeTheDocumentation:"Vgl. die Dokumentation",statuses:{collections:{anuppuccinTheme:"AnuPpuccin Theme",auraTheme:"Aura Theme",borderTheme:"Border Theme",buttons:{addCollection:{name:"{{themeName}}: F\xFCge {{numberOfStatuses}} unterst\xFCtzte Status hinzu"}},ebullientworksTheme:"Ebullientworks Theme",itsThemeAndSlrvbCheckboxes:"ITS Theme & SlRvb Kontrollk\xE4stchen",lytModeTheme:"LYT Mode Theme (nur Dunkelmodus)",minimalTheme:"Minimal Theme",thingsTheme:"Things Theme"},coreStatuses:{buttons:{checkStatuses:{name:"\xDCberpr\xFCfen und einsehen Sie Ihre Status-Eintr\xE4ge",tooltip:"Erstellen Sie eine neue Datei im Hauptverzeichnis des Tresors, die ein Mermaid-Diagramm der aktuellen Statuseinstellungen enth\xE4lt."}},description:{line1:"Diese Kern-Status unterst\xFCtzt Tasks nativ ohne benutzerdefiniertes CSS-Styling oder Themes.",line2:"Hinzuf\xFCgen und Bearbeiten Ihrer eigenen benutzerdefinierten Status k\xF6nnen Sie im unteren Abschnitt."},heading:"Kern-Status"},customStatuses:{buttons:{addAllUnknown:{name:"Alle unbekannten Statustypen hinzuf\xFCgen"},addNewStatus:{name:"Neuen Aufgabenstatus hinzuf\xFCgen"},resetCustomStatuses:{name:"Benutzerdefinierte Statustypen auf Standard zur\xFCcksetzen"}},description:{line1:"Zuerst w\xE4hlen und installieren Sie ein CSS-Snippet oder Theme, um benutzerdefinierte Kontrollk\xE4stchen zu formatieren.",line2:"Verwenden Sie dann die untenstehenden Schaltfl\xE4chen, um Ihre benutzerdefinierten Status zu erstellen, sodass sie mit Ihren ausgew\xE4hlten CSS-Kontrollk\xE4stchen \xFCbereinstimmen.",line3:"Hinweis: Status mit dem gleichen Symbol wie ein fr\xFCherer Status ignorieren wir. Best\xE4tigen Sie die tats\xE4chlich geladenen Status, indem Sie den 'Aufgabe erstellen oder bearbeiten'-Befehl ausf\xFChren und das Status-Dropdown anschauen.",line4:"Nutzen Sie die Dokumentation, um loszulegen!"},heading:"Benutzerdefinierte Status"},heading:"Aufgabenstatus"}}}});var Hb,jb=Q(()=>{Hb={main:{loadingPlugin:"Loading plugin: {{name}} v{{version}}",unloadingPlugin:"Unloading plugin: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"If enabled this status will be available as a command so you can assign a hotkey and toggle the status using it.",name:"Available as command"},editNextStatusSymbol:{description:"When clicked on this is the symbol that should be used next.",name:"Task Next Status Symbol"},editStatusName:{description:"This is the friendly name of the task status.",name:"Task Status Name"},editStatusSymbol:{description:"This is the character between the square braces. (It can only be edited for Custom statuses, and not Core statuses.)",name:"Task Status Symbol"},editStatusType:{description:"Control how the status behaves for searching and toggling.",name:"Task Status Type"},fixErrorsBeforeSaving:"Fix errors before saving."}},reports:{statusRegistry:{about:{createdBy:"This file was created by the Obsidian Tasks plugin (version {{version}}) to help visualise the task statuses in this vault.",deleteFileAnyTime:"You can delete this file any time.",title:"About this file",updateReport:{line1:"If you change the Tasks status settings, you can get an updated report by:",line2:"Going to `Settings` -> `Tasks`.",line3:"Clicking on `Review and check your Statuses`."}},columnHeadings:{nextStatusSymbol:"Next Status Symbol",problems:"Problems (if any)",statusName:"Status Name",statusSymbol:"Status Symbol",statusType:"Status Type"},loadedSettings:{settingsActuallyUsed:"These are the settings actually used by Tasks.",switchToLivePreview:"Switch to Live Preview or Reading Mode to see the diagram.",title:"Loaded Settings"},messages:{cannotFindNextStatus:"Unexpected failure to find the next status.",duplicateSymbol:"Duplicate symbol '{{symbol}}': this status will be ignored.",emptySymbol:"Empty symbol: this status will be ignored.",nextSymbolUnknown:"Next symbol {{symbol}} is unknown: create a status with symbol {{symbol}}.",notConventionalType:"For information, the conventional type for status symbol {{symbol}} is {{type}}: you may wish to review this type.",wrongTypeAfterDone:{line1:"This `DONE` status is followed by {{nextType}}, not `TODO` or `IN_PROGRESS`.",line2:"If used to complete a recurring task, it will instead be followed by `TODO` or `IN_PROGRESS`, to ensure the next task matches the `not done` filter.",line3:"See [Recurring Tasks and Custom Statuses]({{helpURL}})."}},sampleTasks:{line1:"Here is one example task line for each of the statuses actually used by tasks, for you to experiment with.",line2:"The status symbols and names in the task descriptions were correct when this file was created.",line3:"If you have modified the sample tasks since they were created, you can see the current status types and names in the group headings in the Tasks search below.",tip:{line1:"Tip: If all your checkboxes look the same...",line2:"If all the checkboxes look the same in Reading Mode or Live Preview, see [Style custom statuses]({{url}}) for how to select a theme or CSS snippet to style your statuses."},title:"Sample Tasks"},searchSampleTasks:{line1:"This Tasks search shows all the tasks in this file, grouped by their status type and status name.",title:"Search the Sample Tasks"},statusSettings:{comment:{line1:"Switch to Live Preview or Reading Mode to see the table.",line2:"If there are any Markdown formatting characters in status names, such as '*' or '_',",line3:"Obsidian may only render the table correctly in Reading Mode."},theseAreStatusValues:"These are the status values in the Core and Custom statuses sections.",title:"Status Settings"}}},settings:{autoSuggest:{heading:"Auto-suggest",maxSuggestions:{description:'How many suggestions should be shown when an auto-suggest menu pops up (including the "\u23CE" option).',name:"Maximum number of auto-suggestions to show"},minLength:{description:"If higher than 0, auto-suggest will be triggered only when the beginning of any supported keywords is recognized.",name:"Minimum match length for auto-suggest"},toggle:{description:"Enabling this will open an intelligent suggest menu while typing inside a recognized task line.",name:"Auto-suggest task content"}},changeRequiresRestart:"REQUIRES RESTART.",dates:{cancelledDate:{description:"Enabling this will add a timestamp \u274C YYYY-MM-DD at the end when a task is toggled to cancelled.",name:"Set cancelled date on every cancelled task"},createdDate:{description:"Enabling this will add a timestamp \u2795 YYYY-MM-DD before other date values, when a task is created with 'Create or edit task', or by completing a recurring task.",name:"Set created date on every added task"},doneDate:{description:"Enabling this will add a timestamp \u2705 YYYY-MM-DD at the end when a task is toggled to done.",name:"Set done date on every completed task"},heading:"Dates"},datesFromFileNames:{heading:"Dates from file names",scheduledDate:{extraFormat:{description:{line1:"An additional date format that Tasks plugin will recogize when using the file name as the Scheduled date for undated tasks.",line2:"Syntax Reference"},name:"Additional filename date format as Scheduled date for undated tasks",placeholder:"example: MMM DD YYYY"},folders:{description:"Leave empty if you want to use default Scheduled dates everywhere, or enter a comma-separated list of folders.",name:"Folders with default Scheduled dates"},toggle:{description:{line1:"Save time entering Scheduled (\u23F3) dates.",line2:"If this option is enabled, any undated tasks will be given a default Scheduled date extracted from their file name.",line3:"By default, Tasks plugin will match both <code>YYYY-MM-DD</code> and <code>YYYYMMDD</code> date formats.",line4:"Undated tasks have none of Due (\u{1F4C5} ), Scheduled (\u23F3) and Start (\u{1F6EB}) dates."},name:"Use filename as Scheduled date for undated tasks"}}},dialogs:{accessKeys:{description:"If the access keys (keyboard shortcuts) for various controls in dialog boxes conflict with system keyboard shortcuts or assistive technology functionality that is important for you, you may want to deactivate them here.",name:"Provide access keys in dialogs"},heading:"Dialogs"},format:{description:{line1:"The format that Tasks uses to read and write tasks.",line2:"<b>Important:</b> Tasks currently only supports one format at a time. Selecting Dataview will currently <b>stop Tasks reading its own emoji signifiers</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"Tasks Emoji Format"},name:"Task Format"},globalFilter:{filter:{description:{line1:"Recommended: Leave empty if you want all checklist items in your vault to be tasks managed by this plugin.",line2:'Use a global filter if you want Tasks to only act on a subset of your "<code>- [ ]</code>" checklist items, so that a checklist item must include the specified string in its description in order to be considered a task.',line3:"For example, if you set the global filter to <code>#task</code>, the Tasks plugin will only handle checklist items tagged with <code>#task</code>.",line4:"Other checklist items will remain normal checklist items and not appear in queries or get a done date set."},name:"Global filter",placeholder:"e.g. #task or TODO"},heading:"Global task filter",removeFilter:{description:"Enabling this removes the string that you set as global filter from the task description when displaying a task.",name:"Remove global filter from description"}},globalQuery:{heading:"Global Query",query:{description:"A query that is automatically included at the start of every Tasks block in the vault. Useful for adding default filters, or layout options.",placeholder:`For example...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:"Add new preset"},line1:"You can define named instructions here, that you can re-use in multiple queries. A preset called '{{name}}' can be used in Tasks queries with either '{{instruction1}}' or '{{instruction2}}'.",line2:"Any open Tasks queries are reloaded automatically when presets are edited.",name:"Presets"},recurringTasks:{heading:"Recurring tasks",nextLine:{description:"Enabling this will make the next recurrence of a task appear on the line below the completed task. Otherwise the next recurrence will appear before the completed one.",name:"Next recurrence appears on the line below"},removeScheduledDate:{description:{line1:"Enabling this will make the next recurrence of a task have no Scheduled (\u23F3) date, when at least one of Start (\u{1F6EB}) or Due (\u{1F4C5}) dates is present.",line2:"This is for when you want the Start and Due dates to carry forward to the next recurrence, but you will set the Scheduled date in future, once you plan to work on it."},name:"Remove scheduled date on recurrence"}},seeTheDocumentation:"See the documentation",statuses:{collections:{anuppuccinTheme:"AnuPpuccin Theme",auraTheme:"Aura Theme",borderTheme:"Border Theme",buttons:{addCollection:{name:"{{themeName}}: Add {{numberOfStatuses}} supported Statuses"}},ebullientworksTheme:"Ebullientworks Theme",itsThemeAndSlrvbCheckboxes:"ITS Theme & SlRvb Checkboxes",lytModeTheme:"LYT Mode Theme (Dark mode only)",minimalTheme:"Minimal Theme",thingsTheme:"Things Theme"},coreStatuses:{buttons:{checkStatuses:{name:"Review and check your Statuses",tooltip:"Create a new file in the root of the vault, containing a Mermaid diagram of the current status settings."}},description:{line1:"These are the core statuses that Tasks supports natively, with no need for custom CSS styling or theming.",line2:"You can add edit and add your own custom statuses in the section below."},heading:"Core Statuses"},customStatuses:{buttons:{addAllUnknown:{name:"Add All Unknown Status Types"},addNewStatus:{name:"Add New Task Status"},resetCustomStatuses:{name:"Reset Custom Status Types to Defaults"}},description:{line1:"You should first <b>select and install a CSS Snippet or Theme</b> to style custom checkboxes.",line2:"Then, use the buttons below to set up your custom statuses, to match your chosen CSS checkboxes.",line3:"<b>Note</b> Any statuses with the same symbol as any earlier statuses will be ignored. You can confirm the actually loaded statuses by running the 'Create or edit task' command and looking at the Status drop-down.",line4:"See the documentation to get started!"},heading:"Custom Statuses"},heading:"Task Statuses"}}}});var Bb,Gb=Q(()=>{Bb={main:{loadingPlugin:"\uD50C\uB7EC\uADF8\uC778 \uB85C\uB4DC \uC911: {{name}} v{{version}}",unloadingPlugin:"\uD50C\uB7EC\uADF8\uC778 \uC5B8\uB85C\uB4DC \uC911: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\uD65C\uC131\uD654\uD558\uBA74 \uC774 \uC0C1\uD0DC\uB97C \uBA85\uB839\uC5B4(command)\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC5B4 \uB2E8\uCD95\uD0A4\uB97C \uC9C0\uC815\uD558\uACE0 \uC0C1\uD0DC\uB97C \uC804\uD658\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",name:"\uBA85\uB839\uC5B4\uB85C \uC0AC\uC6A9"},editNextStatusSymbol:{description:"\uD074\uB9AD \uC2DC \uB2E4\uC74C\uC5D0 \uC0AC\uC6A9\uD560 \uAE30\uD638\uC785\uB2C8\uB2E4.",name:"\uB2E4\uC74C \uC0C1\uD0DC \uAE30\uD638"},editStatusName:{description:"\uC791\uC5C5 \uC0C1\uD0DC\uB97C \uC54C\uC544\uBCF4\uAE30 \uC27D\uAC8C \uD45C\uD604\uD558\uB294 \uC774\uB984\uC785\uB2C8\uB2E4.",name:"\uC0C1\uD0DC \uC774\uB984"},editStatusSymbol:{description:"\uB300\uAD04\uD638 '[]' \uC0AC\uC774\uC5D0 \uB4E4\uC5B4\uAC00\uB294 \uBB38\uC790\uC785\uB2C8\uB2E4. (\uCF54\uC5B4 \uC0C1\uD0DC\uAC00 \uC544\uB2CC \uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C1\uD0DC\uB9CC \uD3B8\uC9D1\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.)",name:"\uC0C1\uD0DC \uAE30\uD638"},editStatusType:{description:"\uAC80\uC0C9 \uBC0F \uC0C1\uD0DC \uC804\uD658 \uC2DC \uC5B4\uB5BB\uAC8C \uB3D9\uC791\uD560\uC9C0 \uC81C\uC5B4\uD569\uB2C8\uB2E4.",name:"\uC0C1\uD0DC \uC720\uD615"},fixErrorsBeforeSaving:"\uC800\uC7A5\uD558\uAE30 \uC804\uC5D0 \uC624\uB958\uB97C \uC218\uC815\uD558\uC138\uC694."}},reports:{statusRegistry:{about:{createdBy:"\uC774 \uD30C\uC77C\uC740 \uC774 \uBCF4\uAD00\uC18C(vault)\uC758 \uC791\uC5C5 \uC0C1\uD0DC\uB97C \uC2DC\uAC01\uD654\uD558\uB294 \uB370 \uB3C4\uC6C0\uC744 \uC8FC\uAE30 \uC704\uD574 Obsidian Tasks \uD50C\uB7EC\uADF8\uC778(\uBC84\uC804 {{version}})\uC774 \uC0DD\uC131\uD588\uC2B5\uB2C8\uB2E4.",deleteFileAnyTime:"\uC774 \uD30C\uC77C\uC740 \uC5B8\uC81C\uB4E0\uC9C0 \uC0AD\uC81C\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",title:"\uC774 \uD30C\uC77C\uC5D0 \uB300\uD558\uC5EC",updateReport:{line1:"Tasks \uC0C1\uD0DC \uC124\uC815\uC744 \uBCC0\uACBD\uD588\uB2E4\uBA74, \uB2E4\uC74C \uBC29\uBC95\uC73C\uB85C \uBCF4\uACE0\uC11C\uB97C \uC5C5\uB370\uC774\uD2B8\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4:",line2:"`\uC124\uC815(Settings)` \u2192 `Tasks`\uB85C \uC774\uB3D9\uD569\uB2C8\uB2E4.",line3:"`\uC0C1\uD0DC \uAC80\uD1A0 \uBC0F \uD655\uC778(Review and check your Statuses)`\uC744 \uD074\uB9AD\uD569\uB2C8\uB2E4."}},columnHeadings:{nextStatusSymbol:"\uB2E4\uC74C \uC0C1\uD0DC \uAE30\uD638",problems:"\uBB38\uC81C\uC810 (\uC788\uB294 \uACBD\uC6B0)",statusName:"\uC0C1\uD0DC \uC774\uB984",statusSymbol:"\uC0C1\uD0DC \uAE30\uD638",statusType:"\uC0C1\uD0DC \uC720\uD615"},loadedSettings:{settingsActuallyUsed:"Tasks\uC5D0\uC11C \uC2E4\uC81C\uB85C \uC0AC\uC6A9 \uC911\uC778 \uC124\uC815\uC785\uB2C8\uB2E4.",switchToLivePreview:"\uB2E4\uC774\uC5B4\uADF8\uB7A8\uC744 \uBCF4\uB824\uBA74 \uC2E4\uC2DC\uAC04 \uBBF8\uB9AC\uBCF4\uAE30(Live Preview) \uB610\uB294 \uC77D\uAE30 \uBAA8\uB4DC(Reading Mode)\uB85C \uC804\uD658\uD558\uC138\uC694.",title:"\uB85C\uB4DC\uB41C \uC124\uC815"},messages:{cannotFindNextStatus:"\uB2E4\uC74C \uC0C1\uD0DC\uB97C \uCC3E\uB294 \uC911 \uC608\uAE30\uCE58 \uC54A\uC740 \uC624\uB958\uAC00 \uBC1C\uC0DD\uD588\uC2B5\uB2C8\uB2E4.",duplicateSymbol:"\uC911\uBCF5\uB41C \uAE30\uD638 '{{symbol}}': \uC774 \uC0C1\uD0DC\uB294 \uBB34\uC2DC\uB429\uB2C8\uB2E4.",emptySymbol:"\uAE30\uD638\uAC00 \uBE44\uC5B4\uC788\uC74C: \uC774 \uC0C1\uD0DC\uB294 \uBB34\uC2DC\uB429\uB2C8\uB2E4.",nextSymbolUnknown:"\uC54C \uC218 \uC5C6\uB294 \uB2E4\uC74C \uAE30\uD638 {{symbol}}: \uAE30\uD638\uAC00 {{symbol}}\uC778 \uC0C1\uD0DC\uB97C \uC0DD\uC131\uD558\uC138\uC694.",notConventionalType:"\uCC38\uACE0: \uC0C1\uD0DC \uAE30\uD638 {{symbol}}\uC758 \uC77C\uBC18\uC801\uC778 \uC720\uD615\uC740 {{type}}\uC785\uB2C8\uB2E4. \uC774 \uC720\uD615\uC744 \uB2E4\uC2DC \uD655\uC778\uD574 \uBCF4\uC138\uC694.",wrongTypeAfterDone:{line1:"\uC774 `DONE` \uC0C1\uD0DC \uB2E4\uC74C\uC5D0\uB294 `TODO` \uB610\uB294 `IN_PROGRESS`\uAC00 \uC544\uB2CC {{nextType}}\uC774(\uAC00) \uC635\uB2C8\uB2E4.",line2:"\uBC18\uBCF5 \uC791\uC5C5\uC744 \uC644\uB8CC\uD558\uB294 \uB370 \uC0AC\uC6A9\uB420 \uACBD\uC6B0, \uB2E4\uC74C \uC791\uC5C5\uC774 `not done` \uD544\uD130\uC640 \uC77C\uCE58\uD558\uB3C4\uB85D \uB300\uC2E0 `TODO` \uB610\uB294 `IN_PROGRESS`\uAC00 \uC774\uC5B4\uC9D1\uB2C8\uB2E4.",line3:"[\uBC18\uBCF5 \uC791\uC5C5\uACFC \uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C1\uD0DC(Recurring Tasks and Custom Statuses)]({{helpURL}}) \uBB38\uC11C\uB97C \uCC38\uACE0\uD558\uC138\uC694."}},sampleTasks:{line1:"\uD604\uC7AC \uC0AC\uC6A9 \uC911\uC778 \uAC01 \uC0C1\uD0DC\uC5D0 \uB300\uD55C \uC608\uC2DC \uC791\uC5C5\uC785\uB2C8\uB2E4. \uC790\uC720\uB86D\uAC8C \uD14C\uC2A4\uD2B8\uD574 \uBCF4\uC138\uC694.",line2:"\uC774 \uD30C\uC77C\uC774 \uC0DD\uC131\uB420 \uB2F9\uC2DC, \uC791\uC5C5 \uC124\uBA85\uC5D0 \uD3EC\uD568\uB41C \uC0C1\uD0DC \uAE30\uD638\uC640 \uC774\uB984\uC740 \uC815\uD655\uD588\uC2B5\uB2C8\uB2E4.",line3:"\uC0DD\uC131 \uD6C4 \uC608\uC2DC \uC791\uC5C5\uC744 \uC218\uC815\uD588\uB2E4\uBA74, \uC544\uB798 Tasks \uAC80\uC0C9\uC758 \uADF8\uB8F9 \uC81C\uBAA9\uC5D0\uC11C \uD604\uC7AC \uC0C1\uD0DC \uC720\uD615\uACFC \uC774\uB984\uC744 \uD655\uC778\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",tip:{line1:"\uD301: \uBAA8\uB4E0 \uCCB4\uD06C\uBC15\uC2A4\uAC00 \uB611\uAC19\uC774 \uBCF4\uC778\uB2E4\uBA74\u2026",line2:"\uC77D\uAE30 \uBAA8\uB4DC(Reading Mode) \uB610\uB294 \uC2E4\uC2DC\uAC04 \uBBF8\uB9AC\uBCF4\uAE30(Live Preview)\uC5D0\uC11C \uBAA8\uB4E0 \uCCB4\uD06C\uBC15\uC2A4\uAC00 \uB3D9\uC77C\uD558\uAC8C \uBCF4\uC778\uB2E4\uBA74, [\uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C1\uD0DC \uC2A4\uD0C0\uC77C\uB9C1(Style custom statuses)]({{url}}) \uBB38\uC11C\uB97C \uCC38\uACE0\uD558\uC5EC \uC0C1\uD0DC\uC5D0 \uC2A4\uD0C0\uC77C\uC744 \uC801\uC6A9\uD560 \uD14C\uB9C8\uB098 CSS \uC2A4\uB2C8\uD3AB\uC744 \uC120\uD0DD\uD558\uC138\uC694."},title:"\uC608\uC2DC \uC791\uC5C5"},searchSampleTasks:{line1:"\uC774 Tasks \uAC80\uC0C9\uC740 \uC774 \uD30C\uC77C\uC758 \uBAA8\uB4E0 \uC791\uC5C5\uC744 \uC0C1\uD0DC \uC720\uD615\uACFC \uC774\uB984\uBCC4\uB85C \uADF8\uB8F9\uD654\uD558\uC5EC \uBCF4\uC5EC\uC90D\uB2C8\uB2E4.",title:"\uC608\uC2DC \uC791\uC5C5 \uAC80\uC0C9"},statusSettings:{comment:{line1:"\uD45C\uB97C \uBCF4\uB824\uBA74 \uC2E4\uC2DC\uAC04 \uBBF8\uB9AC\uBCF4\uAE30 \uB610\uB294 \uC77D\uAE30 \uBAA8\uB4DC\uB85C \uC804\uD658\uD558\uC138\uC694.",line2:"\uC0C1\uD0DC \uC774\uB984\uC5D0 '*'\uB098 '_'\uC640 \uAC19\uC740 \uB9C8\uD06C\uB2E4\uC6B4(Markdown) \uC11C\uC2DD \uBB38\uC790\uAC00 \uD3EC\uD568\uB41C \uACBD\uC6B0,",line3:"Obsidian\uC740 \uC77D\uAE30 \uBAA8\uB4DC\uC5D0\uC11C\uB9CC \uD45C\uB97C \uC62C\uBC14\uB974\uAC8C \uB80C\uB354\uB9C1\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},theseAreStatusValues:"\uCF54\uC5B4(Core) \uBC0F \uC0AC\uC6A9\uC790 \uC815\uC758(Custom) \uC0C1\uD0DC \uC139\uC158\uC758 \uC0C1\uD0DC \uAC12\uC785\uB2C8\uB2E4.",title:"\uC0C1\uD0DC \uC124\uC815"}}},settings:{autoSuggest:{heading:"\uC790\uB3D9 \uC81C\uC548",maxSuggestions:{description:"\uC790\uB3D9 \uC81C\uC548 \uBA54\uB274\uAC00 \uB098\uD0C0\uB0A0 \uB54C \uD45C\uC2DC\uD560 \uC81C\uC548\uC758 \uAC1C\uC218\uC785\uB2C8\uB2E4 ('\u23CE' \uC635\uC158 \uD3EC\uD568).",name:"\uC790\uB3D9 \uC81C\uC548 \uCD5C\uB300 \uD45C\uC2DC \uAC1C\uC218"},minLength:{description:"0\uBCF4\uB2E4 \uD070 \uAC12\uC774\uBA74, \uC9C0\uC6D0\uB418\uB294 \uD0A4\uC6CC\uB4DC\uC758 \uC2DC\uC791 \uBD80\uBD84\uC774 \uC778\uC2DD\uB420 \uB54C\uB9CC \uC790\uB3D9 \uC81C\uC548\uC774 \uC2E4\uD589\uB429\uB2C8\uB2E4.",name:"\uC790\uB3D9 \uC81C\uC548 \uCD5C\uC18C \uC77C\uCE58 \uAE38\uC774"},toggle:{description:"\uD65C\uC131\uD654\uD558\uBA74 \uC778\uC2DD\uB41C \uC791\uC5C5 \uC904\uC5D0\uC11C \uC785\uB825\uD558\uB294 \uB3D9\uC548 \uC9C0\uB2A5\uD615 \uC81C\uC548 \uBA54\uB274\uAC00 \uC5F4\uB9BD\uB2C8\uB2E4.",name:"\uC791\uC5C5 \uB0B4\uC6A9 \uC790\uB3D9 \uC81C\uC548"}},changeRequiresRestart:"\uC7AC\uC2DC\uC791\uC774 \uD544\uC694\uD569\uB2C8\uB2E4.",dates:{cancelledDate:{description:"\uD65C\uC131\uD654\uD558\uBA74 \uC791\uC5C5\uC744 '\uCDE8\uC18C'\uB85C \uC804\uD658\uD560 \uB54C \uB9C8\uC9C0\uB9C9\uC5D0 \u274C YYYY-MM-DD \uD0C0\uC784\uC2A4\uD0EC\uD504\uAC00 \uCD94\uAC00\uB429\uB2C8\uB2E4.",name:"\uBAA8\uB4E0 \uCDE8\uC18C\uB41C \uC791\uC5C5\uC5D0 \uCDE8\uC18C \uB0A0\uC9DC \uC124\uC815"},createdDate:{description:"\uD65C\uC131\uD654\uD558\uBA74 '\uC791\uC5C5 \uC0DD\uC131/\uD3B8\uC9D1'\uC73C\uB85C \uC791\uC5C5\uC744 \uB9CC\uB4E4\uAC70\uB098 \uBC18\uBCF5 \uC791\uC5C5\uC744 \uC644\uB8CC\uD560 \uB54C, \uB2E4\uB978 \uB0A0\uC9DC \uAC12 \uC55E\uC5D0 \u2795 YYYY-MM-DD \uD0C0\uC784\uC2A4\uD0EC\uD504\uAC00 \uCD94\uAC00\uB429\uB2C8\uB2E4.",name:"\uBAA8\uB4E0 \uCD94\uAC00\uB41C \uC791\uC5C5\uC5D0 \uC0DD\uC131 \uB0A0\uC9DC \uC124\uC815"},doneDate:{description:"\uD65C\uC131\uD654\uD558\uBA74 \uC791\uC5C5\uC744 '\uC644\uB8CC'\uB85C \uC804\uD658\uD560 \uB54C \uB9C8\uC9C0\uB9C9\uC5D0 \u2705 YYYY-MM-DD \uD0C0\uC784\uC2A4\uD0EC\uD504\uAC00 \uCD94\uAC00\uB429\uB2C8\uB2E4.",name:"\uBAA8\uB4E0 \uC644\uB8CC\uB41C \uC791\uC5C5\uC5D0 \uC644\uB8CC \uB0A0\uC9DC \uC124\uC815"},heading:"\uB0A0\uC9DC"},datesFromFileNames:{heading:"\uD30C\uC77C\uBA85\uC5D0\uC11C \uB0A0\uC9DC \uC0AC\uC6A9",scheduledDate:{extraFormat:{description:{line1:"\uB0A0\uC9DC \uC5C6\uB294 \uC791\uC5C5\uC5D0 \uD30C\uC77C\uBA85\uC744 \uC608\uC815\uC77C(Scheduled)\uB85C \uC0AC\uC6A9\uD560 \uB54C Tasks\uAC00 \uC778\uC2DD\uD560 \uCD94\uAC00 \uB0A0\uC9DC \uD615\uC2DD\uC785\uB2C8\uB2E4.",line2:"\uAD6C\uBB38 \uCC38\uC870(Syntax Reference)"},name:"\uB0A0\uC9DC \uC5C6\uB294 \uC791\uC5C5\uC758 \uC608\uC815\uC77C\uB85C \uC0AC\uC6A9\uD560 \uCD94\uAC00 \uD30C\uC77C\uBA85 \uB0A0\uC9DC \uD615\uC2DD",placeholder:"\uC608: MMM DD YYYY"},folders:{description:"\uBAA8\uB4E0 \uACF3\uC5D0\uC11C \uAE30\uBCF8 \uC608\uC815\uC77C\uC744 \uC0AC\uC6A9\uD558\uB824\uBA74 \uBE44\uC6CC \uB450\uACE0, \uD2B9\uC815 \uD3F4\uB354\uB9CC \uC9C0\uC815\uD558\uB824\uBA74 \uC27C\uD45C\uB85C \uAD6C\uBD84\uB41C \uD3F4\uB354 \uBAA9\uB85D\uC744 \uC785\uB825\uD558\uC138\uC694.",name:"\uAE30\uBCF8 \uC608\uC815\uC77C\uC744 \uC0AC\uC6A9\uD560 \uD3F4\uB354"},toggle:{description:{line1:"\uC608\uC815\uC77C(Scheduled, \u23F3) \uC785\uB825 \uC2DC\uAC04\uC744 \uC808\uC57D\uD558\uC138\uC694.",line2:"\uC774 \uC635\uC158\uC744 \uD65C\uC131\uD654\uD558\uBA74 \uB0A0\uC9DC \uC5C6\uB294 \uBAA8\uB4E0 \uC791\uC5C5\uC5D0 \uD30C\uC77C\uBA85\uC5D0\uC11C \uCD94\uCD9C\uD55C \uAE30\uBCF8 \uC608\uC815\uC77C\uC774 \uC124\uC815\uB429\uB2C8\uB2E4.",line3:"\uAE30\uBCF8\uC801\uC73C\uB85C Tasks\uB294 <code>YYYY-MM-DD</code>\uC640 <code>YYYYMMDD</code> \uB0A0\uC9DC \uD615\uC2DD\uC744 \uBAA8\uB450 \uC778\uC2DD\uD569\uB2C8\uB2E4.",line4:"\uB0A0\uC9DC \uC5C6\uB294 \uC791\uC5C5\uC740 \uB9C8\uAC10\uC77C(Due, \u{1F4C5}), \uC608\uC815\uC77C(Scheduled, \u23F3), \uC2DC\uC791\uC77C(Start, \u{1F6EB})\uC774 \uBAA8\uB450 \uC5C6\uB294 \uC791\uC5C5\uC744 \uC758\uBBF8\uD569\uB2C8\uB2E4."},name:"\uB0A0\uC9DC \uC5C6\uB294 \uC791\uC5C5\uC5D0 \uD30C\uC77C\uBA85\uC744 \uC608\uC815\uC77C\uB85C \uC0AC\uC6A9"}}},dialogs:{accessKeys:{description:"\uB300\uD654\uC0C1\uC790\uC758 \uB2E8\uCD95\uD0A4(\uC811\uADFC \uD0A4)\uAC00 \uC2DC\uC2A4\uD15C \uB2E8\uCD95\uD0A4\uB098 \uBCF4\uC870 \uAE30\uC220 \uAE30\uB2A5\uACFC \uCDA9\uB3CC\uD55C\uB2E4\uBA74, \uC5EC\uAE30\uC11C \uBE44\uD65C\uC131\uD654\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",name:"\uB300\uD654\uC0C1\uC790\uC5D0\uC11C \uC811\uADFC \uD0A4 \uC81C\uACF5"},heading:"\uB300\uD654\uC0C1\uC790"},format:{description:{line1:"Tasks\uAC00 \uC791\uC5C5\uC744 \uC77D\uACE0 \uC4F0\uB294 \uB370 \uC0AC\uC6A9\uD560 \uD615\uC2DD\uC785\uB2C8\uB2E4.",line2:"<b>\uC911\uC694</b>: \uD604\uC7AC Tasks\uB294 \uD55C \uBC88\uC5D0 \uD558\uB098\uC758 \uD615\uC2DD\uB9CC \uC9C0\uC6D0\uD569\uB2C8\uB2E4. Dataview\uB97C \uC120\uD0DD\uD558\uBA74 <b>Tasks\uC758 \uC774\uBAA8\uC9C0 \uD45C\uC2DD\uC744 \uC77D\uC9C0 \uBABB\uD569\uB2C8\uB2E4</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"Tasks \uC774\uBAA8\uC9C0 \uD615\uC2DD"},name:"\uC791\uC5C5 \uD615\uC2DD"},globalFilter:{filter:{description:{line1:"\uAD8C\uC7A5: \uBCF4\uAD00\uC18C\uC758 \uBAA8\uB4E0 \uCCB4\uD06C\uB9AC\uC2A4\uD2B8 \uD56D\uBAA9\uC744 \uC791\uC5C5\uC73C\uB85C \uAD00\uB9AC\uD558\uB824\uBA74 \uBE44\uC6CC \uB450\uC138\uC694.",line2:'\uC77C\uBD80 "<code>- [ ]</code>" \uCCB4\uD06C\uB9AC\uC2A4\uD2B8\uB9CC Tasks\uAC00 \uCC98\uB9AC\uD558\uB3C4\uB85D \uD558\uB824\uBA74 \uC804\uC5ED \uD544\uD130\uB97C \uC0AC\uC6A9\uD558\uC138\uC694. \uC9C0\uC815\uD55C \uBB38\uC790\uC5F4\uC774 \uC124\uBA85\uC5D0 \uD3EC\uD568\uB41C \uD56D\uBAA9\uB9CC \uC791\uC5C5\uC73C\uB85C \uAC04\uC8FC\uB429\uB2C8\uB2E4.',line3:"\uC608: \uC804\uC5ED \uD544\uD130\uB97C <code>#task</code>\uB85C \uC124\uC815\uD558\uBA74 Tasks\uB294 <code>#task</code>\uAC00 \uD0DC\uADF8\uB41C \uD56D\uBAA9\uB9CC \uCC98\uB9AC\uD569\uB2C8\uB2E4.",line4:"\uADF8 \uC678 \uD56D\uBAA9\uC740 \uC77C\uBC18 \uCCB4\uD06C\uB9AC\uC2A4\uD2B8\uB85C \uC720\uC9C0\uB418\uBA70, \uCFFC\uB9AC\uC5D0 \uD45C\uC2DC\uB418\uC9C0 \uC54A\uACE0 \uC644\uB8CC \uB0A0\uC9DC\uB3C4 \uC124\uC815\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."},name:"\uC804\uC5ED \uD544\uD130",placeholder:"\uC608: #task \uB610\uB294 TODO"},heading:"\uC804\uC5ED \uC791\uC5C5 \uD544\uD130",removeFilter:{description:"\uD65C\uC131\uD654\uD558\uBA74 \uC791\uC5C5 \uD45C\uC2DC \uC2DC \uC124\uBA85\uC5D0\uC11C \uC804\uC5ED \uD544\uD130 \uBB38\uC790\uC5F4\uC744 \uC81C\uAC70\uD569\uB2C8\uB2E4.",name:"\uC124\uBA85\uC5D0\uC11C \uC804\uC5ED \uD544\uD130 \uC81C\uAC70"}},globalQuery:{heading:"\uC804\uC5ED \uCFFC\uB9AC",query:{description:"\uBCF4\uAD00\uC18C\uC758 \uBAA8\uB4E0 Tasks \uBE14\uB85D \uC2DC\uC791\uC5D0 \uC790\uB3D9\uC73C\uB85C \uD3EC\uD568\uB418\uB294 \uCFFC\uB9AC\uC785\uB2C8\uB2E4. \uAE30\uBCF8 \uD544\uD130\uB098 \uB808\uC774\uC544\uC6C3 \uC635\uC158\uC744 \uCD94\uAC00\uD560 \uB54C \uC720\uC6A9\uD569\uB2C8\uB2E4.",placeholder:`\uC608\uC2DC...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:"\uC0C8 \uD504\uB9AC\uC14B \uCD94\uAC00"},line1:"\uC5EC\uAE30\uC11C \uC774\uB984 \uC788\uB294 \uC9C0\uCE68\uC744 \uC815\uC758\uD574 \uC5EC\uB7EC \uCFFC\uB9AC\uC5D0\uC11C \uC7AC\uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. '{{name}}' \uD504\uB9AC\uC14B\uC740 Tasks \uCFFC\uB9AC\uC5D0\uC11C '{{instruction1}}' \uB610\uB294 '{{instruction2}}'\uB85C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",line2:"\uD504\uB9AC\uC14B\uC744 \uC218\uC815\uD558\uBA74 \uC5F4\uB824 \uC788\uB294 \uBAA8\uB4E0 Tasks \uCFFC\uB9AC\uAC00 \uC790\uB3D9\uC73C\uB85C \uC0C8\uB85C\uACE0\uCE68\uB429\uB2C8\uB2E4.",name:"\uD504\uB9AC\uC14B"},recurringTasks:{heading:"\uBC18\uBCF5 \uC791\uC5C5",nextLine:{description:"\uD65C\uC131\uD654\uD558\uBA74 \uC644\uB8CC\uB41C \uC791\uC5C5\uC758 \uBC14\uB85C \uC544\uB798 \uC904\uC5D0 \uB2E4\uC74C \uBC18\uBCF5\uC774 \uB098\uD0C0\uB0A9\uB2C8\uB2E4. \uBE44\uD65C\uC131\uD654 \uC2DC \uB2E4\uC74C \uBC18\uBCF5\uC740 \uC644\uB8CC\uB41C \uC791\uC5C5 \uC55E\uC5D0 \uB098\uD0C0\uB0A9\uB2C8\uB2E4.",name:"\uB2E4\uC74C \uBC18\uBCF5\uC744 \uC544\uB798 \uC904\uC5D0 \uD45C\uC2DC"},removeScheduledDate:{description:{line1:"\uD65C\uC131\uD654\uD558\uBA74 \uC2DC\uC791\uC77C(\u{1F6EB})\uB610\uB294 \uB9C8\uAC10\uC77C(\u{1F4C5}) \uC911 \uD558\uB098\uB77C\uB3C4 \uC788\uC744 \uB54C, \uB2E4\uC74C \uBC18\uBCF5 \uC791\uC5C5\uC5D0\uB294 \uC608\uC815\uC77C(\u23F3)\uC744 \uC124\uC815\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4.",line2:"\uC2DC\uC791\uC77C\uACFC \uB9C8\uAC10\uC77C\uC740 \uB2E4\uC74C \uBC18\uBCF5\uC73C\uB85C \uB118\uAE30\uB418, \uC608\uC815\uC77C\uC740 \uCD94\uD6C4 \uC791\uC5C5 \uACC4\uD68D \uC2DC\uC810\uC5D0 \uC124\uC815\uD558\uB824\uB294 \uACBD\uC6B0\uC5D0 \uC720\uC6A9\uD569\uB2C8\uB2E4."},name:"\uBC18\uBCF5 \uC2DC \uC608\uC815\uC77C \uC81C\uAC70"}},seeTheDocumentation:"\uBB38\uC11C \uBCF4\uAE30",statuses:{collections:{anuppuccinTheme:"AnuPpuccin \uD14C\uB9C8",auraTheme:"Aura \uD14C\uB9C8",borderTheme:"Border \uD14C\uB9C8",buttons:{addCollection:{name:"{{themeName}}: \uC9C0\uC6D0\uB418\uB294 \uC0C1\uD0DC {{numberOfStatuses}}\uAC1C \uCD94\uAC00"}},ebullientworksTheme:"Ebullientworks \uD14C\uB9C8",itsThemeAndSlrvbCheckboxes:"ITS \uD14C\uB9C8 & SlRvb \uCCB4\uD06C\uBC15\uC2A4",lytModeTheme:"LYT Mode \uD14C\uB9C8 (\uB2E4\uD06C \uBAA8\uB4DC \uC804\uC6A9)",minimalTheme:"Minimal \uD14C\uB9C8",thingsTheme:"Things \uD14C\uB9C8"},coreStatuses:{buttons:{checkStatuses:{name:"\uC0C1\uD0DC \uAC80\uD1A0 \uBC0F \uD655\uC778",tooltip:"\uBCF4\uAD00\uC18C \uB8E8\uD2B8\uC5D0 \uD604\uC7AC \uC0C1\uD0DC \uC124\uC815\uC758 Mermaid \uB2E4\uC774\uC5B4\uADF8\uB7A8\uC744 \uD3EC\uD568\uD55C \uC0C8 \uD30C\uC77C\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4."}},description:{line1:"\uC774\uAC83\uB4E4\uC740 \uC0AC\uC6A9\uC790 \uC815\uC758 CSS\uB098 \uD14C\uB9C8 \uC5C6\uC774\uB3C4 Tasks\uAC00 \uC790\uCCB4\uC801\uC73C\uB85C \uC9C0\uC6D0\uD558\uB294 \uCF54\uC5B4 \uC0C1\uD0DC\uC785\uB2C8\uB2E4.",line2:"\uC544\uB798 \uC139\uC158\uC5D0\uC11C \uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C1\uD0DC\uB97C \uC9C1\uC811 \uD3B8\uC9D1\uD558\uACE0 \uCD94\uAC00\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."},heading:"\uCF54\uC5B4 \uC0C1\uD0DC"},customStatuses:{buttons:{addAllUnknown:{name:"\uC54C \uC218 \uC5C6\uB294 \uBAA8\uB4E0 \uC0C1\uD0DC \uC720\uD615 \uCD94\uAC00"},addNewStatus:{name:"\uC0C8 \uC791\uC5C5 \uC0C1\uD0DC \uCD94\uAC00"},resetCustomStatuses:{name:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C1\uD0DC\uB97C \uAE30\uBCF8\uAC12\uC73C\uB85C \uC7AC\uC124\uC815"}},description:{line1:"\uBA3C\uC800 <b>CSS \uC2A4\uB2C8\uD3AB \uB610\uB294 \uD14C\uB9C8\uB97C \uC124\uCE58\uD558\uC5EC \uC0AC\uC6A9\uC790 \uC815\uC758 \uCCB4\uD06C\uBC15\uC2A4\uC5D0 \uC2A4\uD0C0\uC77C\uC744 \uC801\uC6A9</b>\uD558\uC138\uC694.",line2:"\uADF8 \uB2E4\uC74C, \uC544\uB798 \uBC84\uD2BC\uC744 \uC0AC\uC6A9\uD558\uC5EC \uC120\uD0DD\uD55C \uCCB4\uD06C\uBC15\uC2A4 \uC2A4\uD0C0\uC77C\uC5D0 \uB9DE\uCDB0 \uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C1\uD0DC\uB97C \uC124\uC815\uD558\uC138\uC694.",line3:"<b>\uCC38\uACE0:</b> \uC774\uC804\uC5D0 \uC815\uC758\uB41C \uC0C1\uD0DC\uC640 \uAE30\uD638\uAC00 \uB3D9\uC77C\uD55C \uC0C1\uD0DC\uB294 \uBB34\uC2DC\uB429\uB2C8\uB2E4. '\uC791\uC5C5 \uC0DD\uC131/\uD3B8\uC9D1' \uBA85\uB839\uC5B4\uC758 \uC0C1\uD0DC \uB4DC\uB86D\uB2E4\uC6B4 \uBA54\uB274\uC5D0\uC11C \uC2E4\uC81C\uB85C \uB85C\uB4DC\uB41C \uC0C1\uD0DC\uB97C \uD655\uC778\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4.",line4:"\uC2DC\uC791\uD558\uB824\uBA74 \uBB38\uC11C\uB97C \uCC38\uACE0\uD558\uC138\uC694!"},heading:"\uC0AC\uC6A9\uC790 \uC815\uC758 \uC0C1\uD0DC"},heading:"\uC791\uC5C5 \uC0C1\uD0DC"}}}});var zb,Vb=Q(()=>{zb={main:{loadingPlugin:"\u0417\u0430\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0438\u043D\u0430: {{name}} v{{version}}",unloadingPlugin:"\u0412\u044B\u0433\u0440\u0443\u0437\u043A\u0430 \u043F\u043B\u0430\u0433\u0438\u043D\u0430: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u0415\u0441\u043B\u0438 \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u043E, \u044D\u0442\u043E\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435\u0442 \u0434\u043E\u0441\u0442\u0443\u043F\u0435\u043D \u043A\u0430\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430, \u043F\u043E\u044D\u0442\u043E\u043C\u0443 \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043D\u0430\u0437\u043D\u0430\u0447\u0438\u0442\u044C \u0433\u043E\u0440\u044F\u0447\u0443\u044E \u043A\u043B\u0430\u0432\u0438\u0448\u0443 \u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0441 \u0435\u0435 \u043F\u043E\u043C\u043E\u0449\u044C\u044E.",name:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u043E \u043A\u0430\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430"},editNextStatusSymbol:{description:"\u041F\u0440\u0438 \u043D\u0430\u0436\u0430\u0442\u0438\u0438 \u044D\u0442\u043E \u0441\u0438\u043C\u0432\u043E\u043B, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u043C.",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},editStatusName:{description:"\u042D\u0442\u043E \u043F\u043E\u043D\u044F\u0442\u043D\u043E\u0435 \u0438\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438.",name:"\u0418\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},editStatusSymbol:{description:"\u042D\u0442\u043E \u0441\u0438\u043C\u0432\u043E\u043B \u043C\u0435\u0436\u0434\u0443 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u044B\u043C\u0438 \u0441\u043A\u043E\u0431\u043A\u0430\u043C\u0438. (\u0415\u0433\u043E \u043C\u043E\u0436\u043D\u043E \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0434\u043B\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432, \u043D\u043E \u043D\u0435 \u0434\u043B\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u0445.)",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},editStatusType:{description:"\u0423\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u0435 \u043F\u043E\u0432\u0435\u0434\u0435\u043D\u0438\u0435\u043C \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u0438 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0438.",name:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0430 \u0437\u0430\u0434\u0430\u0447\u0438"},fixErrorsBeforeSaving:"\u0418\u0441\u043F\u0440\u0430\u0432\u044C\u0442\u0435 \u043E\u0448\u0438\u0431\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u0441\u043E\u0445\u0440\u0430\u043D\u0435\u043D\u0438\u0435\u043C."}},reports:{statusRegistry:{about:{createdBy:"\u042D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u0431\u044B\u043B \u0441\u043E\u0437\u0434\u0430\u043D \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u043C Obsidian Tasks (\u0432\u0435\u0440\u0441\u0438\u044F {{version}}), \u0447\u0442\u043E\u0431\u044B \u043F\u043E\u043C\u043E\u0447\u044C \u0432\u0438\u0437\u0443\u0430\u043B\u0438\u0437\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0437\u0430\u0434\u0430\u0447 \u0432 \u044D\u0442\u043E\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435.",deleteFileAnyTime:"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0443\u0434\u0430\u043B\u0438\u0442\u044C \u044D\u0442\u043E\u0442 \u0444\u0430\u0439\u043B \u0432 \u043B\u044E\u0431\u043E\u0435 \u0432\u0440\u0435\u043C\u044F.",title:"\u041E\u0431 \u044D\u0442\u043E\u043C \u0444\u0430\u0439\u043B\u0435",updateReport:{line1:"\u0415\u0441\u043B\u0438 \u0432\u044B \u0438\u0437\u043C\u0435\u043D\u0438\u0442\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 Tasks, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u043E\u0431\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u044B\u0439 \u043E\u0442\u0447\u0435\u0442, \u0432\u044B\u043F\u043E\u043B\u043D\u0438\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u044F:",line2:"\u041F\u0435\u0440\u0435\u0439\u0434\u0438\u0442\u0435 \u0432 `Settings` -> `Tasks`.",line3:"\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u043D\u0430 `Review and check your Statuses`."}},columnHeadings:{nextStatusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430",problems:"\u041F\u0440\u043E\u0431\u043B\u0435\u043C\u044B (\u0435\u0441\u043B\u0438 \u0435\u0441\u0442\u044C)",statusName:"\u0418\u043C\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0430",statusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0430",statusType:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0430"},loadedSettings:{settingsActuallyUsed:"\u042D\u0442\u043E \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u044E\u0442\u0441\u044F Tasks.",switchToLivePreview:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u0441\u044C \u0432 \u0440\u0435\u0436\u0438\u043C Live Preview \u0438\u043B\u0438 Reading Mode, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0443.",title:"\u0417\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u044B\u0435 \u043D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438"},messages:{cannotFindNextStatus:"\u041D\u0435\u043E\u0436\u0438\u0434\u0430\u043D\u043D\u0430\u044F \u043E\u0448\u0438\u0431\u043A\u0430 \u043F\u0440\u0438 \u043F\u043E\u0438\u0441\u043A\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430.",duplicateSymbol:"\u0414\u0443\u0431\u043B\u0438\u0440\u0443\u044E\u0449\u0438\u0439\u0441\u044F \u0441\u0438\u043C\u0432\u043E\u043B '{{symbol}}': \u044D\u0442\u043E\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u043D.",emptySymbol:"\u041F\u0443\u0441\u0442\u043E\u0439 \u0441\u0438\u043C\u0432\u043E\u043B: \u044D\u0442\u043E\u0442 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435\u0442 \u043F\u0440\u043E\u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u043D.",nextSymbolUnknown:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B {{symbol}} \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u0435\u043D: \u0441\u043E\u0437\u0434\u0430\u0439\u0442\u0435 \u0441\u0442\u0430\u0442\u0443\u0441 \u0441 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C {{symbol}}.",notConventionalType:"\u0414\u043B\u044F \u0438\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0438\u0438, \u043E\u0431\u044B\u0447\u043D\u044B\u0439 \u0442\u0438\u043F \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0430 {{symbol}} - {{type}}: \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0437\u0430\u0445\u043E\u0442\u0435\u0442\u044C \u043F\u0435\u0440\u0435\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u044D\u0442\u043E\u0442 \u0442\u0438\u043F.",wrongTypeAfterDone:{line1:"\u0417\u0430 \u044D\u0442\u0438\u043C \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043C `DONE` \u0441\u043B\u0435\u0434\u0443\u0435\u0442 {{nextType}}, \u0430 \u043D\u0435 `TODO` \u0438\u043B\u0438 `IN_PROGRESS`.",line2:"\u0415\u0441\u043B\u0438 \u043E\u043D \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442\u0441\u044F \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438, \u0442\u043E \u0432\u043C\u0435\u0441\u0442\u043E \u044D\u0442\u043E\u0433\u043E \u0437\u0430 \u043D\u0438\u043C \u0431\u0443\u0434\u0435\u0442 \u0441\u043B\u0435\u0434\u043E\u0432\u0430\u0442\u044C `TODO` \u0438\u043B\u0438 `IN_PROGRESS`, \u0447\u0442\u043E\u0431\u044B \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0430\u044F \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u043E\u0432\u0430\u043B\u0430 \u0444\u0438\u043B\u044C\u0442\u0440\u0443 `\u043D\u0435 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043E`.",line3:"\u0421\u043C. [Recurring Tasks and Custom Statuses]({{helpURL}})."}},sampleTasks:{line1:"\u0412\u043E\u0442 \u043F\u043E \u043E\u0434\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0435-\u043F\u0440\u0438\u043C\u0435\u0440\u0443 \u0437\u0430\u0434\u0430\u0447\u0438 \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0430, \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u043C\u043E\u0433\u043E \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u043C, \u0447\u0442\u043E\u0431\u044B \u0432\u044B \u043C\u043E\u0433\u043B\u0438 \u043F\u043E\u044D\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C.",line2:"\u0421\u0438\u043C\u0432\u043E\u043B\u044B \u0438 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0432 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F\u0445 \u0437\u0430\u0434\u0430\u0447 \u0431\u044B\u043B\u0438 \u043A\u043E\u0440\u0440\u0435\u043A\u0442\u043D\u044B \u043D\u0430 \u043C\u043E\u043C\u0435\u043D\u0442 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u044D\u0442\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0430.",line3:"\u0415\u0441\u043B\u0438 \u0432\u044B \u0438\u0437\u043C\u0435\u043D\u0438\u043B\u0438 \u043F\u0440\u0438\u043C\u0435\u0440\u044B \u0437\u0430\u0434\u0430\u0447 \u0441 \u043C\u043E\u043C\u0435\u043D\u0442\u0430 \u0438\u0445 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0442\u0435\u043A\u0443\u0449\u0438\u0435 \u0442\u0438\u043F\u044B \u0438 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0432 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0445 \u0433\u0440\u0443\u043F\u043F \u0432 \u043F\u043E\u0438\u0441\u043A\u0435 Tasks \u043D\u0438\u0436\u0435.",tip:{line1:"\u041F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0430: \u0415\u0441\u043B\u0438 \u0432\u0441\u0435 \u0432\u0430\u0448\u0438 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u044B \u0432\u044B\u0433\u043B\u044F\u0434\u044F\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E...",line2:"\u0415\u0441\u043B\u0438 \u0432\u0441\u0435 \u0447\u0435\u043A\u0431\u043E\u043A\u0441\u044B \u0432\u044B\u0433\u043B\u044F\u0434\u044F\u0442 \u043E\u0434\u0438\u043D\u0430\u043A\u043E\u0432\u043E \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 \u0447\u0442\u0435\u043D\u0438\u044F (Reading Mode) \u0438\u043B\u0438 \u043F\u0440\u0435\u0434\u043F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0430 (Live Preview), \u0441\u043C. [\u0421\u0442\u0438\u043B\u0438\u0437\u0430\u0446\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432]({{url}}), \u0447\u0442\u043E\u0431\u044B \u0443\u0437\u043D\u0430\u0442\u044C, \u043A\u0430\u043A \u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0442\u0435\u043C\u0443 \u0438\u043B\u0438 CSS-\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 (snippet) \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u0432\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432."},title:"\u041F\u0440\u0438\u043C\u0435\u0440\u044B \u0417\u0430\u0434\u0430\u0447"},searchSampleTasks:{line1:"\u042D\u0442\u043E\u0442 \u043F\u043E\u0438\u0441\u043A Tasks \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0435\u0442 \u0432\u0441\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u0432 \u044D\u0442\u043E\u043C \u0444\u0430\u0439\u043B\u0435, \u0441\u0433\u0440\u0443\u043F\u043F\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u043F\u043E \u0442\u0438\u043F\u0443 \u0438 \u043D\u0430\u0437\u0432\u0430\u043D\u0438\u044E \u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0430.",title:"\u041F\u043E\u0438\u0441\u043A \u043F\u043E \u043F\u0440\u0438\u043C\u0435\u0440\u0430\u043C \u0437\u0430\u0434\u0430\u0447"},statusSettings:{comment:{line1:"\u041F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0438\u0442\u0435\u0441\u044C \u0432 \u0440\u0435\u0436\u0438\u043C Live Preview \u0438\u043B\u0438 Reading Mode, \u0447\u0442\u043E\u0431\u044B \u0443\u0432\u0438\u0434\u0435\u0442\u044C \u0442\u0430\u0431\u043B\u0438\u0446\u0443.",line2:"\u0415\u0441\u043B\u0438 \u0432 \u0438\u043C\u0435\u043D\u0430\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0435\u0441\u0442\u044C \u043A\u0430\u043A\u0438\u0435-\u043B\u0438\u0431\u043E \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u0444\u043E\u0440\u043C\u0430\u0442\u0438\u0440\u043E\u0432\u0430\u043D\u0438\u044F Markdown, \u0442\u0430\u043A\u0438\u0435 \u043A\u0430\u043A '*' \u0438\u043B\u0438 '_',",line3:"Obsidian \u043C\u043E\u0436\u0435\u0442 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0437\u0438\u0442\u044C \u0442\u0430\u0431\u043B\u0438\u0446\u0443 \u0442\u043E\u043B\u044C\u043A\u043E \u0432 \u0440\u0435\u0436\u0438\u043C\u0435 Reading Mode."},theseAreStatusValues:"\u042D\u0442\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0430\u0445 Core \u0438 Custom \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432.",title:"\u041D\u0430\u0441\u0442\u0440\u043E\u0439\u043A\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432"}}},settings:{autoSuggest:{heading:"\u0410\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438",maxSuggestions:{description:'\u0421\u043A\u043E\u043B\u044C\u043A\u043E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 \u043F\u043E\u043A\u0430\u0437\u044B\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u043F\u043E\u044F\u0432\u043B\u0435\u043D\u0438\u0438 \u043C\u0435\u043D\u044E \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A (\u0432\u043A\u043B\u044E\u0447\u0430\u044F \u043E\u043F\u0446\u0438\u044E "\u23CE").',name:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u043E\u0435 \u043A\u043E\u043B\u0438\u0447\u0435\u0441\u0442\u0432\u043E \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0435\u043C\u044B\u0445 \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A"},minLength:{description:"\u0415\u0441\u043B\u0438 \u0431\u043E\u043B\u044C\u0448\u0435 0, \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043A\u0438 \u0431\u0443\u0434\u0443\u0442 \u0441\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u0442\u043E\u0433\u0434\u0430, \u043A\u043E\u0433\u0434\u0430 \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043E \u043D\u0430\u0447\u0430\u043B\u043E \u043B\u044E\u0431\u043E\u0433\u043E \u0438\u0437 \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u043A\u043B\u044E\u0447\u0435\u0432\u044B\u0445 \u0441\u043B\u043E\u0432.",name:"\u041C\u0438\u043D\u0438\u043C\u0430\u043B\u044C\u043D\u0430\u044F \u0434\u043B\u0438\u043D\u0430 \u0441\u043E\u0432\u043F\u0430\u0434\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u043F\u043E\u0434\u0441\u043A\u0430\u0437\u043E\u043A"},toggle:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u043E\u0442\u043A\u0440\u043E\u0435\u0442 \u0438\u043D\u0442\u0435\u043B\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u043E\u0435 \u043C\u0435\u043D\u044E \u043F\u0440\u0435\u0434\u043B\u043E\u0436\u0435\u043D\u0438\u0439 \u043F\u0440\u0438 \u0432\u0432\u043E\u0434\u0435 \u0442\u0435\u043A\u0441\u0442\u0430 \u0432\u043D\u0443\u0442\u0440\u0438 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u043D\u043D\u043E\u0439 \u0441\u0442\u0440\u043E\u043A\u0438 \u0437\u0430\u0434\u0430\u0447\u0438.",name:"\u0410\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u043F\u0440\u0435\u0434\u043B\u0430\u0433\u0430\u0442\u044C \u0441\u043E\u0434\u0435\u0440\u0436\u0438\u043C\u043E\u0435 \u0437\u0430\u0434\u0430\u0447\u0438"}},changeRequiresRestart:"\u041D\u0415\u041E\u0411\u0425\u041E\u0414\u0418\u041C\u0410 \u041F\u0415\u0420\u0415\u0417\u0410\u0413\u0420\u0423\u0417\u041A\u0410.",dates:{cancelledDate:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442 \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u274C YYYY-MM-DD \u0432 \u043A\u043E\u043D\u0446\u0435, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043D\u0443\u044E.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u043E\u0442\u043C\u0435\u043D\u044B \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0439 \u043E\u0442\u043C\u0435\u043D\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438"},createdDate:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442 \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u2795 YYYY-MM-DD \u043F\u0435\u0440\u0435\u0434 \u0434\u0440\u0443\u0433\u0438\u043C\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043C\u0438 \u0434\u0430\u0442\u044B, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u043E\u0437\u0434\u0430\u0435\u0442\u0441\u044F \u0441 \u043F\u043E\u043C\u043E\u0449\u044C\u044E 'Create or edit task' \u0438\u043B\u0438 \u043F\u0440\u0438 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u0438\u0438 \u043F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0435\u0439\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0441\u043E\u0437\u0434\u0430\u043D\u0438\u044F \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0439 \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438"},doneDate:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0434\u043E\u0431\u0430\u0432\u0438\u0442 \u043E\u0442\u043C\u0435\u0442\u043A\u0443 \u0432\u0440\u0435\u043C\u0435\u043D\u0438 \u2705 YYYY-MM-DD \u0432 \u043A\u043E\u043D\u0446\u0435, \u043A\u043E\u0433\u0434\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u0443\u044E.",name:"\u0423\u0441\u0442\u0430\u043D\u0430\u0432\u043B\u0438\u0432\u0430\u0442\u044C \u0434\u0430\u0442\u0443 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F \u0434\u043B\u044F \u043A\u0430\u0436\u0434\u043E\u0439 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438"},heading:"\u0414\u0430\u0442\u044B"},datesFromFileNames:{heading:"\u0414\u0430\u0442\u044B \u0438\u0437 \u0438\u043C\u0435\u043D \u0444\u0430\u0439\u043B\u043E\u0432",scheduledDate:{extraFormat:{description:{line1:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u043F\u043B\u0430\u0433\u0438\u043D Tasks \u0431\u0443\u0434\u0435\u0442 \u0440\u0430\u0441\u043F\u043E\u0437\u043D\u0430\u0432\u0430\u0442\u044C \u043F\u0440\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u0438 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B.",line2:"\u0421\u043F\u0440\u0430\u0432\u043A\u0430 \u043F\u043E \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u0443"},name:"\u0414\u043E\u043F\u043E\u043B\u043D\u0438\u0442\u0435\u043B\u044C\u043D\u044B\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u044B \u0438\u0437 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B",placeholder:"\u043F\u0440\u0438\u043C\u0435\u0440: MMM DD YYYY"},folders:{description:"\u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u0435\u0441\u043B\u0438 \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0435 \u0434\u0430\u0442\u044B \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0432\u0435\u0437\u0434\u0435, \u0438\u043B\u0438 \u0432\u0432\u0435\u0434\u0438\u0442\u0435 \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0430\u043F\u043E\u043A \u0447\u0435\u0440\u0435\u0437 \u0437\u0430\u043F\u044F\u0442\u0443\u044E.",name:"\u041F\u0430\u043F\u043A\u0438 \u0441 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u043C\u0438 \u0434\u0430\u0442\u0430\u043C\u0438 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"},toggle:{description:{line1:"\u042D\u043A\u043E\u043D\u043E\u043C\u044C\u0442\u0435 \u0432\u0440\u0435\u043C\u044F \u043D\u0430 \u0432\u0432\u043E\u0434\u0435 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u044B\u0445 (\u23F3) \u0434\u0430\u0442.",line2:"\u0415\u0441\u043B\u0438 \u044D\u0442\u0430 \u043E\u043F\u0446\u0438\u044F \u0432\u043A\u043B\u044E\u0447\u0435\u043D\u0430, \u0442\u043E \u0434\u043B\u044F \u0432\u0441\u0435\u0445 \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u0431\u0443\u0434\u0435\u0442 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u0430 \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0430\u044F \u0434\u0430\u0442\u0430, \u0438\u0437\u0432\u043B\u0435\u0447\u0435\u043D\u043D\u0430\u044F \u0438\u0437 \u0438\u043C\u0435\u043D\u0438 \u0444\u0430\u0439\u043B\u0430.",line3:"\u041F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u043F\u043B\u0430\u0433\u0438\u043D Tasks \u0431\u0443\u0434\u0435\u0442 \u0441\u043E\u043F\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u0444\u043E\u0440\u043C\u0430\u0442\u044B \u0434\u0430\u0442 <code>YYYY-MM-DD</code> \u0438 <code>YYYYMMDD</code>.",line4:"\u0417\u0430\u0434\u0430\u0447\u0438 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B \u043D\u0435 \u0438\u043C\u0435\u044E\u0442 \u0434\u0430\u0442 Due (\u{1F4C5} ), Scheduled (\u23F3) \u0438 Start (\u{1F6EB})."},name:"\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C \u0438\u043C\u044F \u0444\u0430\u0439\u043B\u0430 \u043A\u0430\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u0438\u0440\u043E\u0432\u0430\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u043E\u0439 \u0434\u0430\u0442\u044B"}}},dialogs:{accessKeys:{description:"\u0415\u0441\u043B\u0438 \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 (\u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F \u043A\u043B\u0430\u0432\u0438\u0448) \u0434\u043B\u044F \u0440\u0430\u0437\u043B\u0438\u0447\u043D\u044B\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0443\u043F\u0440\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0432 \u0434\u0438\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0445 \u043E\u043A\u043D\u0430\u0445 \u043A\u043E\u043D\u0444\u043B\u0438\u043A\u0442\u0443\u044E\u0442 \u0441 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u044B\u043C\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u044F\u043C\u0438 \u043A\u043B\u0430\u0432\u0438\u0448 \u0438\u043B\u0438 \u0444\u0443\u043D\u043A\u0446\u0438\u044F\u043C\u0438 \u0432\u0441\u043F\u043E\u043C\u043E\u0433\u0430\u0442\u0435\u043B\u044C\u043D\u044B\u0445 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0438\u0439, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 \u0432\u0430\u0436\u043D\u044B \u0434\u043B\u044F \u0432\u0430\u0441, \u0432\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438\u0445 \u0437\u0434\u0435\u0441\u044C.",name:"\u041F\u0440\u0435\u0434\u043E\u0441\u0442\u0430\u0432\u043B\u044F\u0442\u044C \u043A\u043B\u0430\u0432\u0438\u0448\u0438 \u0434\u043E\u0441\u0442\u0443\u043F\u0430 \u0432 \u0434\u0438\u0430\u043B\u043E\u0433\u043E\u0432\u044B\u0445 \u043E\u043A\u043D\u0430\u0445"},heading:"\u0414\u0438\u0430\u043B\u043E\u0433\u0438"},format:{description:{line1:"\u0424\u043E\u0440\u043C\u0430\u0442, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 Tasks \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 \u0434\u043B\u044F \u0447\u0442\u0435\u043D\u0438\u044F \u0438 \u0437\u0430\u043F\u0438\u0441\u0438 \u0437\u0430\u0434\u0430\u0447.",line2:"<b>\u0412\u0430\u0436\u043D\u043E:</b> Tasks \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043E\u0434\u0438\u043D \u0444\u043E\u0440\u043C\u0430\u0442 \u043E\u0434\u043D\u043E\u0432\u0440\u0435\u043C\u0435\u043D\u043D\u043E. \u0412\u044B\u0431\u043E\u0440 Dataview \u0432 \u043D\u0430\u0441\u0442\u043E\u044F\u0449\u0435\u0435 \u0432\u0440\u0435\u043C\u044F <b>\u043F\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E Tasks \u043F\u0435\u0440\u0435\u0441\u0442\u0430\u043D\u0435\u0442 \u0447\u0438\u0442\u0430\u0442\u044C \u0441\u0432\u043E\u0438 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u044B \u044D\u043C\u043E\u0434\u0437\u0438</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u044D\u043C\u043E\u0434\u0437\u0438 Tasks"},name:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0437\u0430\u0434\u0430\u0447"},globalFilter:{filter:{description:{line1:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u0442\u0441\u044F: \u041E\u0441\u0442\u0430\u0432\u044C\u0442\u0435 \u043F\u0443\u0441\u0442\u044B\u043C, \u0435\u0441\u043B\u0438 \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B \u0432\u0441\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441\u043F\u0438\u0441\u043A\u0430 \u0432 \u0432\u0430\u0448\u0435\u043C \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435 \u0431\u044B\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438, \u0443\u043F\u0440\u0430\u0432\u043B\u044F\u0435\u043C\u044B\u043C\u0438 \u044D\u0442\u0438\u043C \u043F\u043B\u0430\u0433\u0438\u043D\u043E\u043C.",line2:'\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440, \u0435\u0441\u043B\u0438 \u0432\u044B \u0445\u043E\u0442\u0438\u0442\u0435, \u0447\u0442\u043E\u0431\u044B Tasks \u0434\u0435\u0439\u0441\u0442\u0432\u043E\u0432\u0430\u043B \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u043F\u043E\u0434\u043C\u043D\u043E\u0436\u0435\u0441\u0442\u0432\u043E \u0432\u0430\u0448\u0438\u0445 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u043E\u0432 \u0441\u043F\u0438\u0441\u043A\u0430 "<code>- [ ]</code>", \u0442\u0430\u043A \u0447\u0442\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442 \u0441\u043F\u0438\u0441\u043A\u0430 \u0434\u043E\u043B\u0436\u0435\u043D \u0432\u043A\u043B\u044E\u0447\u0430\u0442\u044C \u0443\u043A\u0430\u0437\u0430\u043D\u043D\u0443\u044E \u0441\u0442\u0440\u043E\u043A\u0443 \u0432 \u0441\u0432\u043E\u0435\u043C \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0438, \u0447\u0442\u043E\u0431\u044B \u0441\u0447\u0438\u0442\u0430\u0442\u044C\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0435\u0439.',line3:"\u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0435\u0441\u043B\u0438 \u0432\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440 \u043D\u0430 <code>#task</code>, \u043F\u043B\u0430\u0433\u0438\u043D Tasks \u0431\u0443\u0434\u0435\u0442 \u043E\u0431\u0440\u0430\u0431\u0430\u0442\u044B\u0432\u0430\u0442\u044C \u0442\u043E\u043B\u044C\u043A\u043E \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441\u043F\u0438\u0441\u043A\u0430, \u043F\u043E\u043C\u0435\u0447\u0435\u043D\u043D\u044B\u0435 \u0442\u0435\u0433\u043E\u043C <code>#task</code>.",line4:"\u0414\u0440\u0443\u0433\u0438\u0435 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u044B \u0441\u043F\u0438\u0441\u043A\u0430 \u043E\u0441\u0442\u0430\u043D\u0443\u0442\u0441\u044F \u043E\u0431\u044B\u0447\u043D\u044B\u043C\u0438 \u044D\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438 \u0441\u043F\u0438\u0441\u043A\u0430 \u0438 \u043D\u0435 \u0431\u0443\u0434\u0443\u0442 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u044C\u0441\u044F \u0432 \u0437\u0430\u043F\u0440\u043E\u0441\u0430\u0445 \u0438\u043B\u0438 \u043F\u043E\u043B\u0443\u0447\u0430\u0442\u044C \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u0435\u043D\u043D\u0443\u044E \u0434\u0430\u0442\u0443 \u0432\u044B\u043F\u043E\u043B\u043D\u0435\u043D\u0438\u044F."},name:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440",placeholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, #task \u0438\u043B\u0438 TODO"},heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440 \u0437\u0430\u0434\u0430\u0447",removeFilter:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u0443\u0434\u0430\u043B\u044F\u0435\u0442 \u0441\u0442\u0440\u043E\u043A\u0443, \u043A\u043E\u0442\u043E\u0440\u0443\u044E \u0432\u044B \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0438 \u0432 \u043A\u0430\u0447\u0435\u0441\u0442\u0432\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0444\u0438\u043B\u044C\u0442\u0440\u0430, \u0438\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u0440\u0438 \u043E\u0442\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0438 \u0437\u0430\u0434\u0430\u0447\u0438.",name:"\u0423\u0434\u0430\u043B\u044F\u0442\u044C \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0444\u0438\u043B\u044C\u0442\u0440 \u0438\u0437 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u044F"}},globalQuery:{heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u044B\u0439 \u0437\u0430\u043F\u0440\u043E\u0441",query:{description:"\u0417\u0430\u043F\u0440\u043E\u0441, \u043A\u043E\u0442\u043E\u0440\u044B\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0432\u043A\u043B\u044E\u0447\u0430\u0435\u0442\u0441\u044F \u0432 \u043D\u0430\u0447\u0430\u043B\u043E \u043A\u0430\u0436\u0434\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0430 Tasks \u0432 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0435. \u041F\u043E\u043B\u0435\u0437\u043D\u043E \u0434\u043B\u044F \u0434\u043E\u0431\u0430\u0432\u043B\u0435\u043D\u0438\u044F \u0444\u0438\u043B\u044C\u0442\u0440\u043E\u0432 \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E \u0438\u043B\u0438 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u043E\u0432 \u043C\u0430\u043A\u0435\u0442\u0430.",placeholder:`\u041D\u0430\u043F\u0440\u0438\u043C\u0435\u0440...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:""},line1:"",line2:"",name:""},recurringTasks:{heading:"\u041F\u043E\u0432\u0442\u043E\u0440\u044F\u044E\u0449\u0438\u0435\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0438",nextLine:{description:"\u0412\u043A\u043B\u044E\u0447\u0435\u043D\u0438\u0435 \u044D\u0442\u043E\u0439 \u043E\u043F\u0446\u0438\u0438 \u043F\u0440\u0438\u0432\u0435\u0434\u0435\u0442 \u043A \u0442\u043E\u043C\u0443, \u0447\u0442\u043E \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u0437\u0430\u0434\u0430\u0447\u0438 \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0435 \u043D\u0438\u0436\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0439 \u0437\u0430\u0434\u0430\u0447\u0438. \u0412 \u043F\u0440\u043E\u0442\u0438\u0432\u043D\u043E\u043C \u0441\u043B\u0443\u0447\u0430\u0435 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u043F\u043E\u044F\u0432\u0438\u0442\u0441\u044F \u043F\u0435\u0440\u0435\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u043E\u0439.",name:"\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u0438\u0435 \u043F\u043E\u044F\u0432\u043B\u044F\u0435\u0442\u0441\u044F \u043D\u0430 \u0441\u0442\u0440\u043E\u043A\u0435 \u043D\u0438\u0436\u0435"},removeScheduledDate:{description:{line1:"",line2:""},name:""}},seeTheDocumentation:"\u0421\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044E",statuses:{collections:{anuppuccinTheme:"\u0422\u0435\u043C\u0430 AnuPpuccin",auraTheme:"\u0422\u0435\u043C\u0430 Aura",borderTheme:"\u0422\u0435\u043C\u0430 Border",buttons:{addCollection:{name:"{{themeName}}: \u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C {{numberOfStatuses}} \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043C\u044B\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432"}},ebullientworksTheme:"\u0422\u0435\u043C\u0430 Ebullientworks",itsThemeAndSlrvbCheckboxes:"\u0422\u0435\u043C\u0430 ITS \u0438 \u0444\u043B\u0430\u0436\u043A\u0438 SlRvb",lytModeTheme:"\u0422\u0435\u043C\u0430 LYT Mode (\u0442\u043E\u043B\u044C\u043A\u043E \u0442\u0435\u043C\u043D\u044B\u0439 \u0440\u0435\u0436\u0438\u043C)",minimalTheme:"\u0422\u0435\u043C\u0430 Minimal",thingsTheme:"\u0422\u0435\u043C\u0430 Things"},coreStatuses:{buttons:{checkStatuses:{name:"\u041F\u0440\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0442\u044C \u0438 \u043F\u0440\u043E\u0432\u0435\u0440\u0438\u0442\u044C \u0441\u0432\u043E\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u044B",tooltip:"\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0444\u0430\u0439\u043B \u0432 \u043A\u043E\u0440\u043D\u0435 \u0445\u0440\u0430\u043D\u0438\u043B\u0438\u0449\u0430, \u0441\u043E\u0434\u0435\u0440\u0436\u0430\u0449\u0438\u0439 Mermaid \u0434\u0438\u0430\u0433\u0440\u0430\u043C\u043C\u0443 \u0442\u0435\u043A\u0443\u0449\u0438\u0445 \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043A \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432."}},description:{line1:"\u042D\u0442\u043E \u043E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u043A\u043E\u0442\u043E\u0440\u044B\u0435 Tasks \u043F\u043E\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 \u0438\u0437\u043D\u0430\u0447\u0430\u043B\u044C\u043D\u043E, \u0431\u0435\u0437 \u043D\u0435\u043E\u0431\u0445\u043E\u0434\u0438\u043C\u043E\u0441\u0442\u0438 \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u043D\u0438\u044F \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 CSS \u0441\u0442\u0438\u043B\u0435\u0439 \u0438\u043B\u0438 \u0442\u0435\u043C.",line2:"\u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0438 \u0434\u043E\u0431\u0430\u0432\u043B\u044F\u0442\u044C \u0441\u0432\u043E\u0438 \u0441\u043E\u0431\u0441\u0442\u0432\u0435\u043D\u043D\u044B\u0435 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0432 \u0440\u0430\u0437\u0434\u0435\u043B\u0435 \u043D\u0438\u0436\u0435."},heading:"\u041E\u0441\u043D\u043E\u0432\u043D\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},customStatuses:{buttons:{addAllUnknown:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u0432\u0441\u0435 \u043D\u0435\u0438\u0437\u0432\u0435\u0441\u0442\u043D\u044B\u0435 \u0442\u0438\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432"},addNewStatus:{name:"\u0414\u043E\u0431\u0430\u0432\u0438\u0442\u044C \u043D\u043E\u0432\u044B\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0438"},resetCustomStatuses:{name:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0442\u0438\u043F\u044B \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432 \u043A \u0437\u043D\u0430\u0447\u0435\u043D\u0438\u044F\u043C \u043F\u043E \u0443\u043C\u043E\u043B\u0447\u0430\u043D\u0438\u044E"}},description:{line1:"\u0421\u043D\u0430\u0447\u0430\u043B\u0430 \u0441\u043B\u0435\u0434\u0443\u0435\u0442 <b>\u0432\u044B\u0431\u0440\u0430\u0442\u044C \u0438 \u0443\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C CSS \u0441\u043D\u0438\u043F\u043F\u0435\u0442 \u0438\u043B\u0438 \u0442\u0435\u043C\u0443</b> \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0438\u0437\u0430\u0446\u0438\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0445 \u0444\u043B\u0430\u0436\u043A\u043E\u0432.",line2:"\u0417\u0430\u0442\u0435\u043C \u0438\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u043A\u043D\u043E\u043F\u043A\u0438 \u043D\u0438\u0436\u0435, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0441\u0442\u0440\u043E\u0438\u0442\u044C \u0441\u0432\u043E\u0438 \u043F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0432 \u0441\u043E\u043E\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0438\u0438 \u0441 \u0432\u044B\u0431\u0440\u0430\u043D\u043D\u044B\u043C\u0438 CSS \u0444\u043B\u0430\u0436\u043A\u0430\u043C\u0438.",line3:"<b>\u041F\u0440\u0438\u043C\u0435\u0447\u0430\u043D\u0438\u0435.</b> \u041B\u044E\u0431\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B \u0441 \u0442\u0435\u043C \u0436\u0435 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C, \u0447\u0442\u043E \u0438 \u0443 \u0431\u043E\u043B\u0435\u0435 \u0440\u0430\u043D\u043D\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432, \u0431\u0443\u0434\u0443\u0442 \u0438\u0433\u043D\u043E\u0440\u0438\u0440\u043E\u0432\u0430\u0442\u044C\u0441\u044F. \u0412\u044B \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u044C \u0444\u0430\u043A\u0442\u0438\u0447\u0435\u0441\u043A\u0438 \u0437\u0430\u0433\u0440\u0443\u0436\u0435\u043D\u043D\u044B\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B, \u0437\u0430\u043F\u0443\u0441\u0442\u0438\u0432 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 '\u0421\u043E\u0437\u0434\u0430\u0442\u044C \u0438\u043B\u0438 \u0440\u0435\u0434\u0430\u043A\u0442\u0438\u0440\u043E\u0432\u0430\u0442\u044C \u0437\u0430\u0434\u0430\u0447\u0443' \u0438 \u043F\u043E\u0441\u043C\u043E\u0442\u0440\u0435\u0432 \u043D\u0430 \u0440\u0430\u0441\u043A\u0440\u044B\u0432\u0430\u044E\u0449\u0438\u0439\u0441\u044F \u0441\u043F\u0438\u0441\u043E\u043A \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u0432.",line4:"\u0421\u043C\u043E\u0442\u0440\u0438\u0442\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0438\u044E, \u0447\u0442\u043E\u0431\u044B \u043D\u0430\u0447\u0430\u0442\u044C!"},heading:"\u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u0435\u043B\u044C\u0441\u043A\u0438\u0435 \u0441\u0442\u0430\u0442\u0443\u0441\u044B"},heading:"\u0421\u0442\u0430\u0442\u0443\u0441\u044B \u0437\u0430\u0434\u0430\u0447"}}}});var Qb,Kb=Q(()=>{Qb={main:{loadingPlugin:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}",unloadingPlugin:"\u0412\u0438\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u043D\u044F \u043F\u043B\u0430\u0433\u0456\u043D\u0430: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u042F\u043A\u0449\u043E \u0432\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043E, \u0446\u0435\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435 \u0434\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u044F\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430, \u0449\u043E\u0431 \u0432\u0438 \u043C\u043E\u0433\u043B\u0438 \u043F\u0440\u0438\u0437\u043D\u0430\u0447\u0438\u0442\u0438 \u0433\u0430\u0440\u044F\u0447\u0443 \u043A\u043B\u0430\u0432\u0456\u0448\u0443 \u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u0442\u0438 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430 \u0457\u0457 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E.",name:"\u0414\u043E\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u044F\u043A \u043A\u043E\u043C\u0430\u043D\u0434\u0430"},editNextStatusSymbol:{description:"\u0421\u0438\u043C\u0432\u043E\u043B, \u044F\u043A\u0438\u0439 \u043C\u0430\u0454 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u043C \u043F\u0440\u0438 \u043D\u0430\u0442\u0438\u0441\u043A\u0430\u043D\u043D\u0456.",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},editStatusName:{description:"\u0426\u0435 \u0437\u0440\u043E\u0437\u0443\u043C\u0456\u043B\u0430 \u043D\u0430\u0437\u0432\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u041D\u0430\u0437\u0432\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},editStatusSymbol:{description:"\u0426\u0435 \u0441\u0438\u043C\u0432\u043E\u043B \u043C\u0456\u0436 \u043A\u0432\u0430\u0434\u0440\u0430\u0442\u043D\u0438\u043C\u0438 \u0434\u0443\u0436\u043A\u0430\u043C\u0438. (\u0419\u043E\u0433\u043E \u043C\u043E\u0436\u043D\u0430 \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u043B\u0438\u0448\u0435 \u0434\u043B\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432, \u0430 \u043D\u0435 \u0434\u043B\u044F \u043E\u0441\u043D\u043E\u0432\u043D\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432.)",name:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},editStatusType:{description:"\u041A\u0435\u0440\u0443\u0439\u0442\u0435 \u0442\u0438\u043C, \u044F\u043A \u0441\u0442\u0430\u0442\u0443\u0441 \u043F\u043E\u0432\u043E\u0434\u0438\u0442\u044C\u0441\u044F \u043F\u0456\u0434 \u0447\u0430\u0441 \u043F\u043E\u0448\u0443\u043A\u0443 \u0442\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u043D\u043D\u044F.",name:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"},fixErrorsBeforeSaving:"\u0412\u0438\u043F\u0440\u0430\u0432\u0442\u0435 \u043F\u043E\u043C\u0438\u043B\u043A\u0438 \u043F\u0435\u0440\u0435\u0434 \u0437\u0431\u0435\u0440\u0435\u0436\u0435\u043D\u043D\u044F\u043C."}},reports:{statusRegistry:{about:{createdBy:"\u0426\u0435\u0439 \u0444\u0430\u0439\u043B \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043E \u043F\u043B\u0430\u0433\u0456\u043D\u043E\u043C Obsidian Tasks (\u0432\u0435\u0440\u0441\u0456\u044F {{version}}), \u0449\u043E\u0431 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u0442\u0438 \u0432\u0456\u0437\u0443\u0430\u043B\u0456\u0437\u0443\u0432\u0430\u0442\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0437\u0430\u0434\u0430\u0447 \u0443 \u0446\u044C\u043E\u043C\u0443 \u0441\u0445\u043E\u0432\u0438\u0449\u0456.",deleteFileAnyTime:"\u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0432\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0446\u0435\u0439 \u0444\u0430\u0439\u043B \u0443 \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u0439 \u0447\u0430\u0441.",title:"\u041F\u0440\u043E \u0446\u0435\u0439 \u0444\u0430\u0439\u043B",updateReport:{line1:"\u042F\u043A\u0449\u043E \u0432\u0438 \u0437\u043C\u0456\u043D\u0438\u0442\u0435 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 Tasks, \u0432\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043E\u043D\u043E\u0432\u043B\u0435\u043D\u0438\u0439 \u0437\u0432\u0456\u0442, \u0432\u0438\u043A\u043E\u043D\u0430\u0432\u0448\u0438 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0456 \u0434\u0456\u0457:",line2:"\u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0434\u043E `\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F` -> `Tasks`.",line3:"\u041D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C `\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0442\u0430 \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0432\u0430\u0448\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438`."}},columnHeadings:{nextStatusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443",problems:"\u041F\u0440\u043E\u0431\u043B\u0435\u043C\u0438 (\u044F\u043A\u0449\u043E \u0454)",statusName:"\u041D\u0430\u0437\u0432\u0430 \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusSymbol:"\u0421\u0438\u043C\u0432\u043E\u043B \u0441\u0442\u0430\u0442\u0443\u0441\u0443",statusType:"\u0422\u0438\u043F \u0441\u0442\u0430\u0442\u0443\u0441\u0443"},loadedSettings:{settingsActuallyUsed:"\u0426\u0435 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F, \u044F\u043A\u0456 \u0444\u0430\u043A\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u044E\u0442\u044C\u0441\u044F Tasks.",switchToLivePreview:"\u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0443 \u0440\u0435\u0436\u0438\u043C Live Preview \u0430\u0431\u043E \u0440\u0435\u0436\u0438\u043C \u0447\u0438\u0442\u0430\u043D\u043D\u044F, \u0449\u043E\u0431 \u043F\u043E\u0431\u0430\u0447\u0438\u0442\u0438 \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0443.",title:"\u0417\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u0456 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F"},messages:{cannotFindNextStatus:"\u041D\u0435\u043E\u0447\u0456\u043A\u0443\u0432\u0430\u043D\u0430 \u043F\u043E\u043C\u0438\u043B\u043A\u0430 \u043F\u0440\u0438 \u043F\u043E\u0448\u0443\u043A\u0443 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443.",duplicateSymbol:"\u0414\u0443\u0431\u043B\u0456\u043A\u0430\u0442 \u0441\u0438\u043C\u0432\u043E\u043B\u0443 '{{symbol}}': \u0446\u0435\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435 \u043F\u0440\u043E\u0456\u0433\u043D\u043E\u0440\u043E\u0432\u0430\u043D\u043E.",emptySymbol:"\u041F\u043E\u0440\u043E\u0436\u043D\u0456\u0439 \u0441\u0438\u043C\u0432\u043E\u043B: \u0446\u0435\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0431\u0443\u0434\u0435 \u043F\u0440\u043E\u0456\u0433\u043D\u043E\u0440\u043E\u0432\u0430\u043D\u043E.",nextSymbolUnknown:"\u041D\u0435\u0432\u0456\u0434\u043E\u043C\u0438\u0439 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0438\u0439 \u0441\u0438\u043C\u0432\u043E\u043B {{symbol}}: \u0441\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u0441\u0442\u0430\u0442\u0443\u0441 \u0456\u0437 \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C {{symbol}}.",notConventionalType:"\u0414\u043B\u044F \u0456\u043D\u0444\u043E\u0440\u043C\u0430\u0446\u0456\u0457, \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u0439 \u0442\u0438\u043F \u0434\u043B\u044F \u0441\u0438\u043C\u0432\u043E\u043B\u0443 \u0441\u0442\u0430\u0442\u0443\u0441\u0443 {{symbol}} - {{type}}: \u043C\u043E\u0436\u043B\u0438\u0432\u043E, \u0432\u0438 \u0437\u0430\u0445\u043E\u0447\u0435\u0442\u0435 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0446\u0435\u0439 \u0442\u0438\u043F.",wrongTypeAfterDone:{line1:"\u0417\u0430 \u0446\u0438\u043C \u0441\u0442\u0430\u0442\u0443\u0441\u043E\u043C `DONE` \u0439\u0434\u0435 {{nextType}}, \u0430 \u043D\u0435 `TODO` \u0430\u0431\u043E `IN_PROGRESS`.",line2:"\u042F\u043A\u0449\u043E \u0439\u043E\u0433\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0434\u043B\u044F \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456, \u0437\u0430\u043C\u0456\u0441\u0442\u044C \u0446\u044C\u043E\u0433\u043E \u0437\u0430 \u043D\u0438\u043C \u0431\u0443\u0434\u0435 \u0441\u043B\u0456\u0434\u0443\u0432\u0430\u0442\u0438 `TODO` \u0430\u0431\u043E `IN_PROGRESS`, \u0449\u043E\u0431 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0430 \u0437\u0430\u0434\u0430\u0447\u0430 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u0430\u043B\u0430 \u0444\u0456\u043B\u044C\u0442\u0440\u0443 `\u043D\u0435 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043E`.",line3:"\u0414\u0438\u0432. [\u041F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u0456 \u0437\u0430\u0434\u0430\u0447\u0456 \u0442\u0430 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438]({{helpURL}})."}},sampleTasks:{line1:"\u041E\u0441\u044C \u043F\u043E \u043E\u0434\u043D\u043E\u043C\u0443 \u043F\u0440\u0438\u043A\u043B\u0430\u0434\u0443 \u0440\u044F\u0434\u043A\u0430 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0433\u043E \u0441\u0442\u0430\u0442\u0443\u0441\u0443, \u044F\u043A\u0438\u0439 \u0444\u0430\u043A\u0442\u0438\u0447\u043D\u043E \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454\u0442\u044C\u0441\u044F \u0443 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F\u0445, \u0449\u043E\u0431 \u0432\u0438 \u043C\u043E\u0433\u043B\u0438 \u043F\u043E\u0435\u043A\u0441\u043F\u0435\u0440\u0438\u043C\u0435\u043D\u0442\u0443\u0432\u0430\u0442\u0438.",line2:"\u0421\u0438\u043C\u0432\u043E\u043B\u0438 \u0442\u0430 \u043D\u0430\u0437\u0432\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0432 \u043E\u043F\u0438\u0441\u0430\u0445 \u0437\u0430\u0432\u0434\u0430\u043D\u044C \u0431\u0443\u043B\u0438 \u043F\u0440\u0430\u0432\u0438\u043B\u044C\u043D\u0438\u043C\u0438 \u043D\u0430 \u043C\u043E\u043C\u0435\u043D\u0442 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u0444\u0430\u0439\u043B\u0443.",line3:"\u042F\u043A\u0449\u043E \u0432\u0438 \u0437\u043C\u0456\u043D\u0438\u043B\u0438 \u043F\u0440\u0438\u043A\u043B\u0430\u0434\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u044C \u0437 \u043C\u043E\u043C\u0435\u043D\u0442\u0443 \u0457\u0445 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F, \u0432\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u043E\u0431\u0430\u0447\u0438\u0442\u0438 \u043F\u043E\u0442\u043E\u0447\u043D\u0456 \u0442\u0438\u043F\u0438 \u0442\u0430 \u043D\u0430\u0437\u0432\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0443 \u0437\u0430\u0433\u043E\u043B\u043E\u0432\u043A\u0430\u0445 \u0433\u0440\u0443\u043F \u0443 \u043F\u043E\u0448\u0443\u043A\u0443 Tasks \u043D\u0438\u0436\u0447\u0435.",tip:{line1:"\u041F\u043E\u0440\u0430\u0434\u0430: \u042F\u043A\u0449\u043E \u0432\u0441\u0456 \u0432\u0430\u0448\u0456 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456 \u0432\u0438\u0433\u043B\u044F\u0434\u0430\u044E\u0442\u044C \u043E\u0434\u043D\u0430\u043A\u043E\u0432\u043E...",line2:"\u042F\u043A\u0449\u043E \u0432\u0441\u0456 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456 \u0432\u0438\u0433\u043B\u044F\u0434\u0430\u044E\u0442\u044C \u043E\u0434\u043D\u0430\u043A\u043E\u0432\u043E \u0432 \u0440\u0435\u0436\u0438\u043C\u0456 \u0447\u0438\u0442\u0430\u043D\u043D\u044F \u0447\u0438 \u0456\u043D\u0442\u0435\u0440\u0430\u043A\u0442\u0438\u0432\u043D\u043E\u0433\u043E \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u0434\u0443 (Live Preview), \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u044C\u0442\u0435 [\u0421\u0442\u0438\u043B\u0456\u0437\u0430\u0446\u0456\u044F \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432]({{url}}), \u0449\u043E\u0431 \u0434\u0456\u0437\u043D\u0430\u0442\u0438\u0441\u044F, \u044F\u043A \u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0442\u0435\u043C\u0443 \u0447\u0438 CSS-\u0441\u043D\u0456\u043F\u0435\u0442 \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0456\u0437\u0430\u0446\u0456\u0457 \u0432\u0430\u0448\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432."},title:"\u041F\u0440\u0438\u043A\u043B\u0430\u0434\u0438 \u0437\u0430\u0432\u0434\u0430\u043D\u044C"},searchSampleTasks:{line1:"\u0426\u0435\u0439 \u043F\u043E\u0448\u0443\u043A Tasks \u043F\u043E\u043A\u0430\u0437\u0443\u0454 \u0432\u0441\u0456 \u0437\u0430\u0432\u0434\u0430\u043D\u043D\u044F \u0432 \u0446\u044C\u043E\u043C\u0443 \u0444\u0430\u0439\u043B\u0456, \u0437\u0433\u0440\u0443\u043F\u043E\u0432\u0430\u043D\u0456 \u0437\u0430 \u0442\u0438\u043F\u043E\u043C \u0442\u0430 \u043D\u0430\u0437\u0432\u043E\u044E \u0441\u0442\u0430\u0442\u0443\u0441\u0443.",title:"\u041F\u043E\u0448\u0443\u043A \u0443 \u043F\u0440\u0438\u043A\u043B\u0430\u0434\u0430\u0445 \u0437\u0430\u0432\u0434\u0430\u043D\u044C"},statusSettings:{comment:{line1:"\u041F\u0435\u0440\u0435\u0439\u0434\u0456\u0442\u044C \u0443 \u0440\u0435\u0436\u0438\u043C Live Preview \u0430\u0431\u043E \u0440\u0435\u0436\u0438\u043C \u0447\u0438\u0442\u0430\u043D\u043D\u044F, \u0449\u043E\u0431 \u043F\u043E\u0431\u0430\u0447\u0438\u0442\u0438 \u0442\u0430\u0431\u043B\u0438\u0446\u044E.",line2:"\u042F\u043A\u0449\u043E \u0432 \u043D\u0430\u0437\u0432\u0430\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0454 \u0441\u0438\u043C\u0432\u043E\u043B\u0438 \u0444\u043E\u0440\u043C\u0430\u0442\u0443\u0432\u0430\u043D\u043D\u044F Markdown, \u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434 '*' \u0430\u0431\u043E '_',",line3:"Obsidian \u043C\u043E\u0436\u0435 \u043A\u043E\u0440\u0435\u043A\u0442\u043D\u043E \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u0438 \u0442\u0430\u0431\u043B\u0438\u0446\u044E \u043B\u0438\u0448\u0435 \u0432 \u0440\u0435\u0436\u0438\u043C\u0456 \u0447\u0438\u0442\u0430\u043D\u043D\u044F."},theseAreStatusValues:"\u0426\u0435 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0443 \u0440\u043E\u0437\u0434\u0456\u043B\u0430\u0445 \u043E\u0441\u043D\u043E\u0432\u043D\u0438\u0445 \u0456 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432.",title:"\u041D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u043D\u044F \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432"}}},settings:{autoSuggest:{heading:"\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F",maxSuggestions:{description:'\u0421\u043A\u0456\u043B\u044C\u043A\u0438 \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0439 \u043C\u0430\u0454 \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0430\u0442\u0438\u0441\u044F, \u043A\u043E\u043B\u0438 \u0437\u2019\u044F\u0432\u043B\u044F\u0454\u0442\u044C\u0441\u044F \u043C\u0435\u043D\u044E \u0430\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F (\u0432\u043A\u043B\u044E\u0447\u0430\u044E\u0447\u0438 \u043E\u043F\u0446\u0456\u044E "\u23CE").',name:"\u041C\u0430\u043A\u0441\u0438\u043C\u0430\u043B\u044C\u043D\u0430 \u043A\u0456\u043B\u044C\u043A\u0456\u0441\u0442\u044C \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0439 \u0434\u043B\u044F \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F"},minLength:{description:"\u042F\u043A\u0449\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F \u0431\u0456\u043B\u044C\u0448\u0435 0, \u0430\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F \u0431\u0443\u0434\u0435 \u0437\u0430\u043F\u0443\u0441\u043A\u0430\u0442\u0438\u0441\u044F \u043B\u0438\u0448\u0435 \u0442\u043E\u0434\u0456, \u043A\u043E\u043B\u0438 \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u0454\u0442\u044C\u0441\u044F \u043F\u043E\u0447\u0430\u0442\u043E\u043A \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u0445 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0432\u0430\u043D\u0438\u0445 \u043A\u043B\u044E\u0447\u043E\u0432\u0438\u0445 \u0441\u043B\u0456\u0432.",name:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430 \u0434\u043E\u0432\u0436\u0438\u043D\u0430 \u0437\u0431\u0456\u0433\u0443 \u0434\u043B\u044F \u0430\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F"},toggle:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0456\u0434\u043A\u0440\u0438\u0454 \u0456\u043D\u0442\u0435\u043B\u0435\u043A\u0442\u0443\u0430\u043B\u044C\u043D\u0435 \u043C\u0435\u043D\u044E \u043F\u0440\u043E\u043F\u043E\u0437\u0438\u0446\u0456\u0439 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0432\u0435\u0434\u0435\u043D\u043D\u044F \u0442\u0435\u043A\u0441\u0442\u0443 \u0432\u0441\u0435\u0440\u0435\u0434\u0438\u043D\u0456 \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u043D\u043E\u0433\u043E \u0440\u044F\u0434\u043A\u0430 \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u0410\u0432\u0442\u043E\u0437\u0430\u043F\u043E\u0432\u043D\u0435\u043D\u043D\u044F \u0432\u043C\u0456\u0441\u0442\u0443 \u0437\u0430\u0434\u0430\u0447\u0456"}},changeRequiresRestart:"\u041F\u041E\u0422\u0420\u0406\u0411\u0423\u0404 \u041F\u0415\u0420\u0415\u0417\u0410\u041F\u0423\u0421\u041A\u0423.",dates:{cancelledDate:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0434\u043E\u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0437\u043D\u0430\u0447\u043A\u0443 \u0447\u0430\u0441\u0443 \u274C YYYY-MM-DD \u0432 \u043A\u0456\u043D\u0446\u0456, \u043A\u043E\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u0454\u0442\u044C\u0441\u044F \u0432 \u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u0438\u0439 \u0441\u0442\u0430\u043D.",name:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0434\u0430\u0442\u0443 \u0441\u043A\u0430\u0441\u0443\u0432\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0457 \u0441\u043A\u0430\u0441\u043E\u0432\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456"},createdDate:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0434\u043E\u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0437\u043D\u0430\u0447\u043A\u0443 \u0447\u0430\u0441\u0443 \u2795 YYYY-MM-DD \u043F\u0435\u0440\u0435\u0434 \u0456\u043D\u0448\u0438\u043C\u0438 \u0437\u043D\u0430\u0447\u0435\u043D\u043D\u044F\u043C\u0438 \u0434\u0430\u0442, \u043A\u043E\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u0441\u0442\u0432\u043E\u0440\u044E\u0454\u0442\u044C\u0441\u044F \u0437\u0430 \u0434\u043E\u043F\u043E\u043C\u043E\u0433\u043E\u044E '\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0430\u0431\u043E \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u0434\u0430\u0447\u0443' \u0430\u0431\u043E \u0448\u043B\u044F\u0445\u043E\u043C \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043D\u044F \u043F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0434\u0430\u0442\u0443 \u0441\u0442\u0432\u043E\u0440\u0435\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0457 \u0434\u043E\u0434\u0430\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456"},doneDate:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0434\u043E\u0434\u0430\u0441\u0442\u044C \u043F\u043E\u0437\u043D\u0430\u0447\u043A\u0443 \u0447\u0430\u0441\u0443 \u2705 YYYY-MM-DD \u0432 \u043A\u0456\u043D\u0446\u0456, \u043A\u043E\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430 \u043F\u0435\u0440\u0435\u043C\u0438\u043A\u0430\u0454\u0442\u044C\u0441\u044F \u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u0438\u0439 \u0441\u0442\u0430\u043D.",name:"\u0412\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 \u0434\u0430\u0442\u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F \u0434\u043B\u044F \u043A\u043E\u0436\u043D\u043E\u0457 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456"},heading:"\u0414\u0430\u0442\u0438"},datesFromFileNames:{heading:"\u0414\u0430\u0442\u0438 \u0437 \u043D\u0430\u0437\u0432 \u0444\u0430\u0439\u043B\u0456\u0432",scheduledDate:{extraFormat:{description:{line1:"\u0414\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u0438, \u044F\u043A\u0438\u0439 \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u0432\u0430\u0442\u0438\u043C\u0435 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u043D\u043D\u044F \u043D\u0430\u0437\u0432\u0438 \u0444\u0430\u0439\u043B\u0443 \u044F\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0443 \u0434\u0430\u0442\u0443 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438.",line2:"\u0414\u043E\u0432\u0456\u0434\u043A\u0430 \u0437 \u0441\u0438\u043D\u0442\u0430\u043A\u0441\u0438\u0441\u0443"},name:"\u0414\u043E\u0434\u0430\u0442\u043A\u043E\u0432\u0438\u0439 \u0444\u043E\u0440\u043C\u0430\u0442 \u0434\u0430\u0442\u0438 \u043D\u0430\u0437\u0432\u0438 \u0444\u0430\u0439\u043B\u0443 \u044F\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0430 \u0434\u0430\u0442\u0430 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438",placeholder:"\u043F\u0440\u0438\u043A\u043B\u0430\u0434: MMM DD YYYY"},folders:{description:"\u0417\u0430\u043B\u0438\u0448\u0442\u0435 \u043F\u043E\u0440\u043E\u0436\u043D\u0456\u043C, \u044F\u043A\u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0456 \u0434\u0430\u0442\u0438 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C \u0432\u0441\u044E\u0434\u0438, \u0430\u0431\u043E \u0432\u0432\u0435\u0434\u0456\u0442\u044C \u0441\u043F\u0438\u0441\u043E\u043A \u043F\u0430\u043F\u043E\u043A, \u0440\u043E\u0437\u0434\u0456\u043B\u0435\u043D\u0438\u0445 \u043A\u043E\u043C\u0430\u043C\u0438.",name:"\u041F\u0430\u043F\u043A\u0438 \u0437 \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0438\u043C\u0438 \u0434\u0430\u0442\u0430\u043C\u0438 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C"},toggle:{description:{line1:"\u0417\u0430\u043E\u0449\u0430\u0434\u0436\u0443\u0439\u0442\u0435 \u0447\u0430\u0441 \u043D\u0430 \u0432\u0432\u0435\u0434\u0435\u043D\u043D\u0456 \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0438\u0445 (\u23F3) \u0434\u0430\u0442.",line2:"\u042F\u043A\u0449\u043E \u0446\u0435\u0439 \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440 \u0443\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043E, \u0443\u0441\u0456\u043C \u0437\u0430\u0434\u0430\u0447\u0430\u043C \u0431\u0435\u0437 \u0434\u0430\u0442\u0438 \u0431\u0443\u0434\u0435 \u043F\u0440\u0438\u0441\u0432\u043E\u0454\u043D\u043E \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0443 \u0434\u0430\u0442\u0443 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C, \u0432\u0438\u0442\u044F\u0433\u043D\u0443\u0442\u0443 \u0437 \u0457\u0445 \u043D\u0430\u0437\u0432\u0438 \u0444\u0430\u0439\u043B\u0443.",line3:"\u0417\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u0440\u043E\u0437\u043F\u0456\u0437\u043D\u0430\u0432\u0430\u0442\u0438\u043C\u0435 \u0444\u043E\u0440\u043C\u0430\u0442\u0438 \u0434\u0430\u0442 <code>YYYY-MM-DD</code> \u0456 <code>YYYYMMDD</code>.",line4:"\u0417\u0430\u0434\u0430\u0447\u0456 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438 \u043D\u0435 \u043C\u0430\u044E\u0442\u044C \u0434\u0430\u0442 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F (\u{1F4C5}), \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u043E\u0457 (\u23F3) \u0442\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 (\u{1F6EB})."},name:"\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u043D\u0430\u0437\u0432\u0443 \u0444\u0430\u0439\u043B\u0443 \u044F\u043A \u0437\u0430\u043F\u043B\u0430\u043D\u043E\u0432\u0430\u043D\u0443 \u0434\u0430\u0442\u0443 \u0434\u043B\u044F \u0437\u0430\u0434\u0430\u0447 \u0431\u0435\u0437 \u0434\u0430\u0442\u0438"}}},dialogs:{accessKeys:{description:"\u042F\u043A\u0449\u043E \u043A\u043B\u0430\u0432\u0456\u0448\u0456 \u0434\u043E\u0441\u0442\u0443\u043F\u0443 (\u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u0457 \u043A\u043B\u0430\u0432\u0456\u0448) \u0434\u043B\u044F \u0440\u0456\u0437\u043D\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u043A\u0435\u0440\u0443\u0432\u0430\u043D\u043D\u044F \u0432 \u0434\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0438\u0445 \u0432\u0456\u043A\u043D\u0430\u0445 \u043A\u043E\u043D\u0444\u043B\u0456\u043A\u0442\u0443\u044E\u0442\u044C \u0456\u0437 \u0441\u0438\u0441\u0442\u0435\u043C\u043D\u0438\u043C\u0438 \u043A\u043E\u043C\u0431\u0456\u043D\u0430\u0446\u0456\u044F\u043C\u0438 \u043A\u043B\u0430\u0432\u0456\u0448 \u0430\u0431\u043E \u0444\u0443\u043D\u043A\u0446\u0456\u043E\u043D\u0430\u043B\u044C\u043D\u0456\u0441\u0442\u044E \u0434\u043E\u043F\u043E\u043C\u0456\u0436\u043D\u0438\u0445 \u0442\u0435\u0445\u043D\u043E\u043B\u043E\u0433\u0456\u0439, \u044F\u043A\u0456 \u0432\u0430\u0436\u043B\u0438\u0432\u0456 \u0434\u043B\u044F \u0432\u0430\u0441, \u0432\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u0435\u0430\u043A\u0442\u0438\u0432\u0443\u0432\u0430\u0442\u0438 \u0457\u0445 \u0442\u0443\u0442.",name:"\u041D\u0430\u0434\u0430\u0432\u0430\u0442\u0438 \u043A\u043B\u0430\u0432\u0456\u0448\u0456 \u0434\u043E\u0441\u0442\u0443\u043F\u0443 \u0432 \u0434\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0438\u0445 \u0432\u0456\u043A\u043D\u0430\u0445"},heading:"\u0414\u0456\u0430\u043B\u043E\u0433\u043E\u0432\u0456 \u0432\u0456\u043A\u043D\u0430"},format:{description:{line1:"\u0424\u043E\u0440\u043C\u0430\u0442, \u044F\u043A\u0438\u0439 Tasks \u0432\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0454 \u0434\u043B\u044F \u0447\u0438\u0442\u0430\u043D\u043D\u044F \u0442\u0430 \u0437\u0430\u043F\u0438\u0441\u0443 \u0437\u0430\u0434\u0430\u0447.",line2:"<b>\u0412\u0430\u0436\u043B\u0438\u0432\u043E:</b> Tasks \u0437\u0430\u0440\u0430\u0437 \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0454 \u043B\u0438\u0448\u0435 \u043E\u0434\u0438\u043D \u0444\u043E\u0440\u043C\u0430\u0442 \u0437\u0430 \u0440\u0430\u0437. \u0412\u0438\u0431\u0456\u0440 Dataview \u043D\u0430\u0440\u0430\u0437\u0456 <b>\u0437\u0443\u043F\u0438\u043D\u0438\u0442\u044C \u0447\u0438\u0442\u0430\u043D\u043D\u044F Tasks \u0432\u043B\u0430\u0441\u043D\u0438\u0445 \u0437\u043D\u0430\u043A\u0456\u0432 \u0435\u043C\u043E\u0434\u0437\u0456</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0435\u043C\u043E\u0434\u0437\u0456 Tasks"},name:"\u0424\u043E\u0440\u043C\u0430\u0442 \u0437\u0430\u0434\u0430\u0447"},globalFilter:{filter:{description:{line1:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u043E\u0432\u0430\u043D\u043E: \u0417\u0430\u043B\u0438\u0448\u0442\u0435 \u043F\u043E\u0440\u043E\u0436\u043D\u0456\u043C, \u044F\u043A\u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435, \u0449\u043E\u0431 \u0443\u0441\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0443 \u0432\u0430\u0448\u043E\u043C\u0443 \u0441\u0445\u043E\u0432\u0438\u0449\u0456 \u0431\u0443\u043B\u0438 \u0437\u0430\u0434\u0430\u0447\u0430\u043C\u0438, \u044F\u043A\u0438\u043C\u0438 \u043A\u0435\u0440\u0443\u0454 \u0446\u0435\u0439 \u043F\u043B\u0430\u0433\u0456\u043D.",line2:'\u0412\u0438\u043A\u043E\u0440\u0438\u0441\u0442\u043E\u0432\u0443\u0439\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440, \u044F\u043A\u0449\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435, \u0449\u043E\u0431 Tasks \u0434\u0456\u044F\u043B\u0438 \u043B\u0438\u0448\u0435 \u043D\u0430 \u043F\u0456\u0434\u043C\u043D\u043E\u0436\u0438\u043D\u0443 \u0432\u0430\u0448\u0438\u0445 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0456\u0432 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 "<code>- [ ]</code>", \u0449\u043E\u0431 \u0435\u043B\u0435\u043C\u0435\u043D\u0442 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0432\u043A\u043B\u044E\u0447\u0430\u0432 \u0432 \u043E\u043F\u0438\u0441\u0456 \u0432\u043A\u0430\u0437\u0430\u043D\u0438\u0439 \u0440\u044F\u0434\u043E\u043A, \u0449\u043E\u0431 \u0432\u0432\u0430\u0436\u0430\u0442\u0438\u0441\u044F \u0437\u0430\u0434\u0430\u0447\u0435\u044E.',line3:"\u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, \u044F\u043A\u0449\u043E \u0432\u0438 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0435 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440 \u043D\u0430 <code>#task</code>, \u043F\u043B\u0430\u0433\u0456\u043D Tasks \u043E\u0431\u0440\u043E\u0431\u043B\u044F\u0442\u0438\u043C\u0435 \u043B\u0438\u0448\u0435 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432, \u043F\u043E\u0437\u043D\u0430\u0447\u0435\u043D\u0456 \u0442\u0435\u0433\u043E\u043C <code>#task</code>.",line4:"\u0406\u043D\u0448\u0456 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0437\u0430\u043B\u0438\u0448\u0430\u0442\u044C\u0441\u044F \u0437\u0432\u0438\u0447\u0430\u0439\u043D\u0438\u043C\u0438 \u0435\u043B\u0435\u043C\u0435\u043D\u0442\u0430\u043C\u0438 \u0441\u043F\u0438\u0441\u043A\u0443 \u0441\u043F\u0440\u0430\u0432 \u0456 \u043D\u0435 \u0437\u2019\u044F\u0432\u043B\u044F\u0442\u0438\u043C\u0443\u0442\u044C\u0441\u044F \u0432 \u0437\u0430\u043F\u0438\u0442\u0430\u0445 \u0430\u0431\u043E \u043D\u0435 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u043B\u044E\u0432\u0430\u0442\u0438\u043C\u0443\u0442\u044C \u0434\u0430\u0442\u0443 \u0432\u0438\u043A\u043E\u043D\u0430\u043D\u043D\u044F."},name:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440",placeholder:"\u043D\u0430\u043F\u0440. #task \u0430\u0431\u043E TODO"},heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440 \u0437\u0430\u0434\u0430\u0447",removeFilter:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0432\u0438\u0434\u0430\u043B\u044F\u0454 \u0440\u044F\u0434\u043E\u043A, \u044F\u043A\u0438\u0439 \u0432\u0438 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u043B\u0438 \u044F\u043A \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440, \u0437 \u043E\u043F\u0438\u0441\u0443 \u0437\u0430\u0434\u0430\u0447\u0456 \u043F\u0456\u0434 \u0447\u0430\u0441 \u0432\u0456\u0434\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u043D\u044F \u0437\u0430\u0434\u0430\u0447\u0456.",name:"\u0412\u0438\u0434\u0430\u043B\u0438\u0442\u0438 \u0433\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0444\u0456\u043B\u044C\u0442\u0440 \u0437 \u043E\u043F\u0438\u0441\u0443"}},globalQuery:{heading:"\u0413\u043B\u043E\u0431\u0430\u043B\u044C\u043D\u0438\u0439 \u0437\u0430\u043F\u0438\u0442",query:{description:"\u0417\u0430\u043F\u0438\u0442, \u044F\u043A\u0438\u0439 \u0430\u0432\u0442\u043E\u043C\u0430\u0442\u0438\u0447\u043D\u043E \u0432\u043A\u043B\u044E\u0447\u0430\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u043A\u043E\u0436\u043D\u043E\u0433\u043E \u0431\u043B\u043E\u043A\u0443 Tasks \u0443 \u0441\u0445\u043E\u0432\u0438\u0449\u0456. \u041A\u043E\u0440\u0438\u0441\u043D\u043E \u0434\u043B\u044F \u0434\u043E\u0434\u0430\u0432\u0430\u043D\u043D\u044F \u0444\u0456\u043B\u044C\u0442\u0440\u0456\u0432 \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C \u0430\u0431\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0456\u0432 \u043C\u0430\u043A\u0435\u0442\u0430.",placeholder:`\u041D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:""},line1:"",line2:"",name:""},recurringTasks:{heading:"\u041F\u043E\u0432\u0442\u043E\u0440\u044E\u0432\u0430\u043D\u0456 \u0437\u0430\u0434\u0430\u0447\u0456",nextLine:{description:"\u0423\u0432\u0456\u043C\u043A\u043D\u0435\u043D\u043D\u044F \u0446\u044C\u043E\u0433\u043E \u043F\u0430\u0440\u0430\u043C\u0435\u0442\u0440\u0430 \u0437\u043C\u0443\u0441\u0438\u0442\u044C \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F \u0437\u0430\u0434\u0430\u0447\u0456 \u0437\u2019\u044F\u0432\u043B\u044F\u0442\u0438\u0441\u044F \u043D\u0430 \u0440\u044F\u0434\u043A\u0443 \u043D\u0438\u0436\u0447\u0435 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E\u0457 \u0437\u0430\u0434\u0430\u0447\u0456. \u0406\u043D\u0430\u043A\u0448\u0435 \u043D\u0430\u0441\u0442\u0443\u043F\u043D\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F \u0437\u2019\u044F\u0432\u0438\u0442\u044C\u0441\u044F \u043F\u0435\u0440\u0435\u0434 \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043D\u043E\u044E.",name:"\u041D\u0430\u0441\u0442\u0443\u043F\u043D\u0435 \u043F\u043E\u0432\u0442\u043E\u0440\u0435\u043D\u043D\u044F \u0437\u2019\u044F\u0432\u043B\u044F\u0454\u0442\u044C\u0441\u044F \u043D\u0430 \u0440\u044F\u0434\u043A\u0443 \u043D\u0438\u0436\u0447\u0435"},removeScheduledDate:{description:{line1:"",line2:""},name:""}},seeTheDocumentation:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0456\u044E",statuses:{collections:{anuppuccinTheme:"\u0422\u0435\u043C\u0430 AnuPpuccin",auraTheme:"\u0422\u0435\u043C\u0430 Aura",borderTheme:"\u0422\u0435\u043C\u0430 Border",buttons:{addCollection:{name:"{{themeName}}: \u0414\u043E\u0434\u0430\u0442\u0438 {{numberOfStatuses}} \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0432\u0430\u043D\u0438\u0445 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432"}},ebullientworksTheme:"\u0422\u0435\u043C\u0430 Ebullientworks",itsThemeAndSlrvbCheckboxes:"\u0422\u0435\u043C\u0430 ITS \u0456 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456 SlRvb",lytModeTheme:"\u0422\u0435\u043C\u0430 LYT Mode (\u043B\u0438\u0448\u0435 \u0442\u0435\u043C\u043D\u0438\u0439 \u0440\u0435\u0436\u0438\u043C)",minimalTheme:"\u041C\u0456\u043D\u0456\u043C\u0430\u043B\u044C\u043D\u0430 \u0442\u0435\u043C\u0430",thingsTheme:"\u0422\u0435\u043C\u0430 Things"},coreStatuses:{buttons:{checkStatuses:{name:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0442\u0438 \u0442\u0430 \u043F\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0432\u0430\u0448\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438",tooltip:"\u0421\u0442\u0432\u043E\u0440\u0456\u0442\u044C \u043D\u043E\u0432\u0438\u0439 \u0444\u0430\u0439\u043B \u0443 \u043A\u043E\u0440\u0435\u043D\u0456 \u0441\u0445\u043E\u0432\u0438\u0449\u0430, \u0449\u043E \u043C\u0456\u0441\u0442\u0438\u0442\u044C \u0434\u0456\u0430\u0433\u0440\u0430\u043C\u0443 Mermaid \u043F\u043E\u0442\u043E\u0447\u043D\u0438\u0445 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u043D\u044C \u0441\u0442\u0430\u0442\u0443\u0441\u0443."}},description:{line1:"\u0426\u0435 \u043E\u0441\u043D\u043E\u0432\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438, \u044F\u043A\u0456 Tasks \u043F\u0456\u0434\u0442\u0440\u0438\u043C\u0443\u0454 \u043D\u0430\u0442\u0438\u0432\u043D\u043E, \u0431\u0435\u0437 \u043F\u043E\u0442\u0440\u0435\u0431\u0438 \u0432 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u043E\u043C\u0443 CSS-\u0441\u0442\u0438\u043B\u044E\u0432\u0430\u043D\u043D\u0456 \u0447\u0438 \u0442\u0435\u043C\u0430\u0445.",line2:"\u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u0434\u043E\u0434\u0430\u0432\u0430\u0442\u0438, \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0442\u0430 \u0434\u043E\u0434\u0430\u0432\u0430\u0442\u0438 \u0432\u043B\u0430\u0441\u043D\u0456 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0432 \u0440\u043E\u0437\u0434\u0456\u043B\u0456 \u043D\u0438\u0436\u0447\u0435."},heading:"\u041E\u0441\u043D\u043E\u0432\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438"},customStatuses:{buttons:{addAllUnknown:{name:"\u0414\u043E\u0434\u0430\u0442\u0438 \u0432\u0441\u0456 \u043D\u0435\u0432\u0456\u0434\u043E\u043C\u0456 \u0442\u0438\u043F\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432"},addNewStatus:{name:"\u0414\u043E\u0434\u0430\u0442\u0438 \u043D\u043E\u0432\u0438\u0439 \u0441\u0442\u0430\u0442\u0443\u0441 \u0437\u0430\u0434\u0430\u0447\u0456"},resetCustomStatuses:{name:"\u0421\u043A\u0438\u043D\u0443\u0442\u0438 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0442\u0438\u043F\u0438 \u0441\u0442\u0430\u0442\u0443\u0441\u0456\u0432 \u0434\u043E \u0437\u043D\u0430\u0447\u0435\u043D\u044C \u0437\u0430 \u0437\u0430\u043C\u043E\u0432\u0447\u0443\u0432\u0430\u043D\u043D\u044F\u043C"}},description:{line1:"\u0421\u043F\u043E\u0447\u0430\u0442\u043A\u0443 \u0441\u043B\u0456\u0434 <b>\u0432\u0438\u0431\u0440\u0430\u0442\u0438 \u0442\u0430 \u0432\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u0438 CSS-\u0444\u0440\u0430\u0433\u043C\u0435\u043D\u0442 \u0430\u0431\u043E \u0442\u0435\u043C\u0443</b> \u0434\u043B\u044F \u0441\u0442\u0438\u043B\u0456\u0437\u0430\u0446\u0456\u0457 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0438\u0445 \u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456\u0432.",line2:"\u041F\u043E\u0442\u0456\u043C \u0441\u043A\u043E\u0440\u0438\u0441\u0442\u0430\u0439\u0442\u0435\u0441\u044F \u043A\u043D\u043E\u043F\u043A\u0430\u043C\u0438 \u043D\u0438\u0436\u0447\u0435, \u0449\u043E\u0431 \u043D\u0430\u043B\u0430\u0448\u0442\u0443\u0432\u0430\u0442\u0438 \u0441\u0432\u043E\u0457 \u043A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0432\u0456\u0434\u043F\u043E\u0432\u0456\u0434\u043D\u043E \u0434\u043E \u0432\u0438\u0431\u0440\u0430\u043D\u0438\u0445 CSS-\u043F\u0440\u0430\u043F\u043E\u0440\u0446\u0456\u0432.",line3:"<b>\u041F\u0440\u0438\u043C\u0456\u0442\u043A\u0430</b> \u0411\u0443\u0434\u044C-\u044F\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438 \u0437 \u0442\u0438\u043C \u0441\u0430\u043C\u0438\u043C \u0441\u0438\u043C\u0432\u043E\u043B\u043E\u043C, \u0449\u043E \u0439 \u043F\u043E\u043F\u0435\u0440\u0435\u0434\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438, \u0431\u0443\u0434\u0435 \u043F\u0440\u043E\u0456\u0433\u043D\u043E\u0440\u043E\u0432\u0430\u043D\u043E. \u0412\u0438 \u043C\u043E\u0436\u0435\u0442\u0435 \u043F\u0456\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u0442\u0438 \u0444\u0430\u043A\u0442\u0438\u0447\u043D\u043E \u0437\u0430\u0432\u0430\u043D\u0442\u0430\u0436\u0435\u043D\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438, \u0432\u0438\u043A\u043E\u043D\u0430\u0432\u0448\u0438 \u043A\u043E\u043C\u0430\u043D\u0434\u0443 \xAB\u0421\u0442\u0432\u043E\u0440\u0438\u0442\u0438 \u0430\u0431\u043E \u0440\u0435\u0434\u0430\u0433\u0443\u0432\u0430\u0442\u0438 \u0437\u0430\u0434\u0430\u0447\u0443\xBB \u0442\u0430 \u043F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u0443\u0432\u0448\u0438 \u0441\u043F\u0430\u0434\u043D\u0435 \u043C\u0435\u043D\u044E \xAB\u0421\u0442\u0430\u0442\u0443\u0441\xBB.",line4:"\u041F\u0435\u0440\u0435\u0433\u043B\u044F\u043D\u044C\u0442\u0435 \u0434\u043E\u043A\u0443\u043C\u0435\u043D\u0442\u0430\u0446\u0456\u044E, \u0449\u043E\u0431 \u0440\u043E\u0437\u043F\u043E\u0447\u0430\u0442\u0438!"},heading:"\u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0446\u044C\u043A\u0456 \u0441\u0442\u0430\u0442\u0443\u0441\u0438"},heading:"\u0421\u0442\u0430\u0442\u0443\u0441\u0438 \u0437\u0430\u0434\u0430\u0447"}}}});var Zb,Xb=Q(()=>{Zb={main:{loadingPlugin:"\u0110ang t\u1EA3i plugin: {{name}} v{{version}}",unloadingPlugin:"\u0110ang g\u1EE1 plugin: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"N\u1EBFu b\u1EADt, tr\u1EA1ng th\xE1i n\xE0y s\u1EBD kh\u1EA3 d\u1EE5ng d\u01B0\u1EDBi d\u1EA1ng l\u1EC7nh \u0111\u1EC3 b\u1EA1n c\xF3 th\u1EC3 g\xE1n ph\xEDm t\u1EAFt v\xE0 chuy\u1EC3n \u0111\u1ED5i tr\u1EA1ng th\xE1i b\u1EB1ng l\u1EC7nh \u0111\xF3.",name:"Kh\u1EA3 d\u1EE5ng d\u01B0\u1EDBi d\u1EA1ng l\u1EC7nh"},editNextStatusSymbol:{description:"Khi k\xEDch v\xE0o \u0111\xE2y l\xE0 k\xFD hi\u1EC7u s\u1EBD \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng ti\u1EBFp theo.",name:"K\xFD hi\u1EC7u tr\u1EA1ng th\xE1i ti\u1EBFp theo"},editStatusName:{description:"\u0110\xE2y l\xE0 t\xEAn th\xE2n thi\u1EC7n c\u1EE7a tr\u1EA1ng th\xE1i nhi\u1EC7m v\u1EE5.",name:"T\xEAn tr\u1EA1ng th\xE1i nhi\u1EC7m v\u1EE5"},editStatusSymbol:{description:"\u0110\xE2y l\xE0 k\xFD t\u1EF1 n\u1EB1m gi\u1EEFa d\u1EA5u ngo\u1EB7c vu\xF4ng. (Ch\u1EC9 c\xF3 th\u1EC3 ch\u1EC9nh s\u1EEDa cho tr\u1EA1ng th\xE1i T\xF9y ch\u1EC9nh, kh\xF4ng ph\u1EA3i tr\u1EA1ng th\xE1i C\u1ED1t l\xF5i.)",name:"K\xFD hi\u1EC7u tr\u1EA1ng th\xE1i nhi\u1EC7m v\u1EE5"},editStatusType:{description:"Ki\u1EC3m so\xE1t c\xE1ch tr\u1EA1ng th\xE1i ho\u1EA1t \u0111\u1ED9ng khi t\xECm ki\u1EBFm v\xE0 chuy\u1EC3n tr\u1EA1ng th\xE1i.",name:"Lo\u1EA1i tr\u1EA1ng th\xE1i nhi\u1EC7m v\u1EE5"},fixErrorsBeforeSaving:"Vui l\xF2ng s\u1EEDa l\u1ED7i tr\u01B0\u1EDBc khi l\u01B0u."}},reports:{statusRegistry:{about:{createdBy:"File n\xE0y \u0111\u01B0\u1EE3c t\u1EA1o b\u1EDFi plugin Obsidian Tasks (phi\xEAn b\u1EA3n {{version}}) \u0111\u1EC3 gi\xFAp tr\u1EF1c quan h\xF3a c\xE1c tr\u1EA1ng th\xE1i nhi\u1EC7m v\u1EE5 trong vault n\xE0y.",deleteFileAnyTime:"B\u1EA1n c\xF3 th\u1EC3 x\xF3a file n\xE0y b\u1EA5t c\u1EE9 l\xFAc n\xE0o.",title:"V\u1EC1 file n\xE0y",updateReport:{line1:"N\u1EBFu b\u1EA1n thay \u0111\u1ED5i c\xE0i \u0111\u1EB7t tr\u1EA1ng th\xE1i Tasks, b\u1EA1n c\xF3 th\u1EC3 nh\u1EADn b\xE1o c\xE1o c\u1EADp nh\u1EADt b\u1EB1ng c\xE1ch:",line2:"V\xE0o `C\xE0i \u0111\u1EB7t` -> `Tasks`.",line3:"Nh\u1EA5p v\xE0o `Xem x\xE9t v\xE0 ki\u1EC3m tra Tr\u1EA1ng th\xE1i c\u1EE7a b\u1EA1n`."}},columnHeadings:{nextStatusSymbol:"K\xFD hi\u1EC7u tr\u1EA1ng th\xE1i ti\u1EBFp theo",problems:"V\u1EA5n \u0111\u1EC1 (n\u1EBFu c\xF3)",statusName:"T\xEAn tr\u1EA1ng th\xE1i",statusSymbol:"K\xFD hi\u1EC7u tr\u1EA1ng th\xE1i",statusType:"Lo\u1EA1i tr\u1EA1ng th\xE1i"},loadedSettings:{settingsActuallyUsed:"\u0110\xE2y l\xE0 c\xE1c c\xE0i \u0111\u1EB7t th\u1EF1c s\u1EF1 \u0111\u01B0\u1EE3c Tasks s\u1EED d\u1EE5ng.",switchToLivePreview:"Chuy\u1EC3n sang Xem tr\u01B0\u1EDBc tr\u1EF1c ti\u1EBFp ho\u1EB7c Ch\u1EBF \u0111\u1ED9 \u0111\u1ECDc \u0111\u1EC3 xem s\u01A1 \u0111\u1ED3.",title:"C\xE0i \u0111\u1EB7t \u0111\xE3 t\u1EA3i"},messages:{cannotFindNextStatus:"L\u1ED7i kh\xF4ng mong mu\u1ED1n khi t\xECm tr\u1EA1ng th\xE1i ti\u1EBFp theo.",duplicateSymbol:"K\xFD hi\u1EC7u tr\xF9ng l\u1EB7p '{{symbol}}': tr\u1EA1ng th\xE1i n\xE0y s\u1EBD b\u1ECB b\u1ECF qua.",emptySymbol:"K\xFD hi\u1EC7u tr\u1ED1ng: tr\u1EA1ng th\xE1i n\xE0y s\u1EBD b\u1ECB b\u1ECF qua.",nextSymbolUnknown:"K\xFD hi\u1EC7u ti\u1EBFp theo {{symbol}} kh\xF4ng x\xE1c \u0111\u1ECBnh: h\xE3y t\u1EA1o tr\u1EA1ng th\xE1i v\u1EDBi k\xFD hi\u1EC7u {{symbol}}.",notConventionalType:"\u0110\u1EC3 bi\u1EBFt th\xEAm th\xF4ng tin, lo\u1EA1i th\xF4ng th\u01B0\u1EDDng cho k\xFD hi\u1EC7u tr\u1EA1ng th\xE1i {{symbol}} l\xE0 {{type}}: b\u1EA1n c\xF3 th\u1EC3 mu\u1ED1n xem x\xE9t l\u1EA1i lo\u1EA1i n\xE0y.",wrongTypeAfterDone:{line1:"Tr\u1EA1ng th\xE1i `DONE` n\xE0y \u0111\u01B0\u1EE3c theo sau b\u1EDFi {{nextType}}, kh\xF4ng ph\u1EA3i `TODO` ho\u1EB7c `IN_PROGRESS`.",line2:"N\u1EBFu \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng \u0111\u1EC3 ho\xE0n th\xE0nh nhi\u1EC7m v\u1EE5 \u0111\u1ECBnh k\u1EF3, n\xF3 s\u1EBD \u0111\u01B0\u1EE3c theo sau b\u1EDFi `TODO` ho\u1EB7c `IN_PROGRESS`, \u0111\u1EC3 \u0111\u1EA3m b\u1EA3o nhi\u1EC7m v\u1EE5 ti\u1EBFp theo kh\u1EDBp v\u1EDBi b\u1ED9 l\u1ECDc `ch\u01B0a ho\xE0n th\xE0nh`.",line3:"Xem [Nhi\u1EC7m v\u1EE5 \u0111\u1ECBnh k\u1EF3 v\xE0 Tr\u1EA1ng th\xE1i t\xF9y ch\u1EC9nh]({{helpURL}})."}},sampleTasks:{line1:"\u0110\xE2y l\xE0 m\u1ED9t v\xED d\u1EE5 d\xF2ng nhi\u1EC7m v\u1EE5 cho m\u1ED7i tr\u1EA1ng th\xE1i th\u1EF1c s\u1EF1 \u0111\u01B0\u1EE3c tasks s\u1EED d\u1EE5ng, \u0111\u1EC3 b\u1EA1n th\u1EED nghi\u1EC7m.",line2:"C\xE1c k\xFD hi\u1EC7u v\xE0 t\xEAn tr\u1EA1ng th\xE1i trong m\xF4 t\u1EA3 nhi\u1EC7m v\u1EE5 l\xE0 ch\xEDnh x\xE1c khi file n\xE0y \u0111\u01B0\u1EE3c t\u1EA1o.",line3:"N\u1EBFu b\u1EA1n \u0111\xE3 s\u1EEDa \u0111\u1ED5i c\xE1c nhi\u1EC7m v\u1EE5 m\u1EABu k\u1EC3 t\u1EEB khi ch\xFAng \u0111\u01B0\u1EE3c t\u1EA1o, b\u1EA1n c\xF3 th\u1EC3 xem c\xE1c lo\u1EA1i v\xE0 t\xEAn tr\u1EA1ng th\xE1i hi\u1EC7n t\u1EA1i trong ti\xEAu \u0111\u1EC1 nh\xF3m trong t\xECm ki\u1EBFm Tasks b\xEAn d\u01B0\u1EDBi.",tip:{line1:"M\u1EB9o: N\u1EBFu t\u1EA5t c\u1EA3 c\xE1c \xF4 \u0111\xE1nh d\u1EA5u c\u1EE7a b\u1EA1n tr\xF4ng gi\u1ED1ng nhau...",line2:"N\u1EBFu t\u1EA5t c\u1EA3 c\xE1c \xF4 \u0111\xE1nh d\u1EA5u tr\xF4ng gi\u1ED1ng nhau trong Ch\u1EBF \u0111\u1ED9 \u0111\u1ECDc ho\u1EB7c Xem tr\u01B0\u1EDBc tr\u1EF1c ti\u1EBFp, xem [T\u1EA1o ki\u1EC3u tr\u1EA1ng th\xE1i t\xF9y ch\u1EC9nh]({{url}}) \u0111\u1EC3 bi\u1EBFt c\xE1ch ch\u1ECDn theme ho\u1EB7c CSS snippet \u0111\u1EC3 t\u1EA1o ki\u1EC3u cho tr\u1EA1ng th\xE1i c\u1EE7a b\u1EA1n."},title:"Nhi\u1EC7m v\u1EE5 m\u1EABu"},searchSampleTasks:{line1:"T\xECm ki\u1EBFm Tasks n\xE0y hi\u1EC3n th\u1ECB t\u1EA5t c\u1EA3 c\xE1c nhi\u1EC7m v\u1EE5 trong file n\xE0y, \u0111\u01B0\u1EE3c nh\xF3m theo lo\u1EA1i tr\u1EA1ng th\xE1i v\xE0 t\xEAn tr\u1EA1ng th\xE1i.",title:"T\xECm ki\u1EBFm nhi\u1EC7m v\u1EE5 m\u1EABu"},statusSettings:{comment:{line1:"Chuy\u1EC3n sang Xem tr\u01B0\u1EDBc tr\u1EF1c ti\u1EBFp ho\u1EB7c Ch\u1EBF \u0111\u1ED9 \u0111\u1ECDc \u0111\u1EC3 xem b\u1EA3ng.",line2:"N\u1EBFu c\xF3 b\u1EA5t k\u1EF3 k\xFD t\u1EF1 \u0111\u1ECBnh d\u1EA1ng Markdown n\xE0o trong t\xEAn tr\u1EA1ng th\xE1i, ch\u1EB3ng h\u1EA1n nh\u01B0 '*' ho\u1EB7c '_',",line3:"Obsidian c\xF3 th\u1EC3 ch\u1EC9 hi\u1EC3n th\u1ECB b\u1EA3ng ch\xEDnh x\xE1c trong Ch\u1EBF \u0111\u1ED9 \u0111\u1ECDc."},theseAreStatusValues:"\u0110\xE2y l\xE0 c\xE1c gi\xE1 tr\u1ECB tr\u1EA1ng th\xE1i trong ph\u1EA7n tr\u1EA1ng th\xE1i C\u1ED1t l\xF5i v\xE0 T\xF9y ch\u1EC9nh.",title:"C\xE0i \u0111\u1EB7t tr\u1EA1ng th\xE1i"}}},settings:{autoSuggest:{heading:"G\u1EE3i \xFD t\u1EF1 \u0111\u1ED9ng",maxSuggestions:{description:'S\u1ED1 l\u01B0\u1EE3ng g\u1EE3i \xFD s\u1EBD \u0111\u01B0\u1EE3c hi\u1EC3n th\u1ECB khi menu g\u1EE3i \xFD t\u1EF1 \u0111\u1ED9ng xu\u1EA5t hi\u1EC7n (bao g\u1ED3m t\xF9y ch\u1ECDn "\u23CE").',name:"S\u1ED1 l\u01B0\u1EE3ng g\u1EE3i \xFD t\u1EF1 \u0111\u1ED9ng t\u1ED1i \u0111a \u0111\u1EC3 hi\u1EC3n th\u1ECB"},minLength:{description:"N\u1EBFu cao h\u01A1n 0, g\u1EE3i \xFD t\u1EF1 \u0111\u1ED9ng s\u1EBD ch\u1EC9 \u0111\u01B0\u1EE3c k\xEDch ho\u1EA1t khi ph\u1EA7n \u0111\u1EA7u c\u1EE7a b\u1EA5t k\u1EF3 t\u1EEB kh\xF3a \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 n\xE0o \u0111\u01B0\u1EE3c nh\u1EADn ra.",name:"\u0110\u1ED9 d\xE0i kh\u1EDBp t\u1ED1i thi\u1EC3u cho g\u1EE3i \xFD t\u1EF1 \u0111\u1ED9ng"},toggle:{description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y s\u1EBD m\u1EDF menu g\u1EE3i \xFD th\xF4ng minh khi g\xF5 b\xEAn trong d\xF2ng nhi\u1EC7m v\u1EE5 \u0111\u01B0\u1EE3c nh\u1EADn d\u1EA1ng.",name:"G\u1EE3i \xFD t\u1EF1 \u0111\u1ED9ng n\u1ED9i dung nhi\u1EC7m v\u1EE5"}},changeRequiresRestart:"Y\xCAU C\u1EA6U KH\u1EDEI \u0110\u1ED8NG L\u1EA0I.",dates:{cancelledDate:{description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y s\u1EBD th\xEAm d\u1EA5u th\u1EDDi gian \u274C YYYY-MM-DD v\xE0o cu\u1ED1i khi nhi\u1EC7m v\u1EE5 \u0111\u01B0\u1EE3c chuy\u1EC3n sang b\u1ECB h\u1EE7y.",name:"\u0110\u1EB7t ng\xE0y h\u1EE7y cho m\u1ECDi nhi\u1EC7m v\u1EE5 b\u1ECB h\u1EE7y"},createdDate:{description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y s\u1EBD th\xEAm d\u1EA5u th\u1EDDi gian \u2795 YYYY-MM-DD tr\u01B0\u1EDBc c\xE1c gi\xE1 tr\u1ECB ng\xE0y kh\xE1c, khi nhi\u1EC7m v\u1EE5 \u0111\u01B0\u1EE3c t\u1EA1o b\u1EB1ng 'T\u1EA1o ho\u1EB7c ch\u1EC9nh s\u1EEDa nhi\u1EC7m v\u1EE5', ho\u1EB7c b\u1EB1ng c\xE1ch ho\xE0n th\xE0nh nhi\u1EC7m v\u1EE5 \u0111\u1ECBnh k\u1EF3.",name:"\u0110\u1EB7t ng\xE0y t\u1EA1o cho m\u1ECDi nhi\u1EC7m v\u1EE5 \u0111\u01B0\u1EE3c th\xEAm"},doneDate:{description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y s\u1EBD th\xEAm d\u1EA5u th\u1EDDi gian \u2705 YYYY-MM-DD v\xE0o cu\u1ED1i khi nhi\u1EC7m v\u1EE5 \u0111\u01B0\u1EE3c chuy\u1EC3n sang ho\xE0n th\xE0nh.",name:"\u0110\u1EB7t ng\xE0y ho\xE0n th\xE0nh cho m\u1ECDi nhi\u1EC7m v\u1EE5 \u0111\xE3 ho\xE0n th\xE0nh"},heading:"Ng\xE0y th\xE1ng"},datesFromFileNames:{heading:"Ng\xE0y t\u1EEB t\xEAn file",scheduledDate:{extraFormat:{description:{line1:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y b\u1ED5 sung m\xE0 plugin Tasks s\u1EBD nh\u1EADn d\u1EA1ng khi s\u1EED d\u1EE5ng t\xEAn file l\xE0m ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch cho c\xE1c nhi\u1EC7m v\u1EE5 ch\u01B0a c\xF3 ng\xE0y.",line2:"Tham kh\u1EA3o c\xFA ph\xE1p"},name:"\u0110\u1ECBnh d\u1EA1ng ng\xE0y t\xEAn file b\u1ED5 sung l\xE0m ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch cho nhi\u1EC7m v\u1EE5 ch\u01B0a c\xF3 ng\xE0y",placeholder:"v\xED d\u1EE5: MMM DD YYYY"},folders:{description:"\u0110\u1EC3 tr\u1ED1ng n\u1EBFu b\u1EA1n mu\u1ED1n s\u1EED d\u1EE5ng ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch m\u1EB7c \u0111\u1ECBnh \u1EDF m\u1ECDi n\u01A1i, ho\u1EB7c nh\u1EADp danh s\xE1ch c\xE1c th\u01B0 m\u1EE5c \u0111\u01B0\u1EE3c ph\xE2n t\xE1ch b\u1EB1ng d\u1EA5u ph\u1EA9y.",name:"Th\u01B0 m\u1EE5c c\xF3 ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch m\u1EB7c \u0111\u1ECBnh"},toggle:{description:{line1:"Ti\u1EBFt ki\u1EC7m th\u1EDDi gian nh\u1EADp ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch (\u23F3).",line2:"N\u1EBFu t\xF9y ch\u1ECDn n\xE0y \u0111\u01B0\u1EE3c b\u1EADt, b\u1EA5t k\u1EF3 nhi\u1EC7m v\u1EE5 n\xE0o ch\u01B0a c\xF3 ng\xE0y s\u1EBD \u0111\u01B0\u1EE3c cung c\u1EA5p ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch m\u1EB7c \u0111\u1ECBnh \u0111\u01B0\u1EE3c tr\xEDch xu\u1EA5t t\u1EEB t\xEAn file c\u1EE7a ch\xFAng.",line3:"Theo m\u1EB7c \u0111\u1ECBnh, plugin Tasks s\u1EBD kh\u1EDBp c\u1EA3 \u0111\u1ECBnh d\u1EA1ng ng\xE0y <code>YYYY-MM-DD</code> v\xE0 <code>YYYYMMDD</code>.",line4:"Nhi\u1EC7m v\u1EE5 ch\u01B0a c\xF3 ng\xE0y kh\xF4ng c\xF3 b\u1EA5t k\u1EF3 ng\xE0y n\xE0o trong s\u1ED1 \u0110\u1EBFn h\u1EA1n (\u{1F4C5}), \u0110\xE3 l\xEAn l\u1ECBch (\u23F3) v\xE0 B\u1EAFt \u0111\u1EA7u (\u{1F6EB})."},name:"S\u1EED d\u1EE5ng t\xEAn file l\xE0m ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch cho nhi\u1EC7m v\u1EE5 ch\u01B0a c\xF3 ng\xE0y"}}},dialogs:{accessKeys:{description:"N\u1EBFu c\xE1c ph\xEDm truy c\u1EADp (ph\xEDm t\u1EAFt) cho c\xE1c \u0111i\u1EC1u khi\u1EC3n kh\xE1c nhau trong h\u1ED9p tho\u1EA1i xung \u0111\u1ED9t v\u1EDBi ph\xEDm t\u1EAFt h\u1EC7 th\u1ED1ng ho\u1EB7c ch\u1EE9c n\u0103ng c\xF4ng ngh\u1EC7 h\u1ED7 tr\u1EE3 quan tr\u1ECDng \u0111\u1ED1i v\u1EDBi b\u1EA1n, b\u1EA1n c\xF3 th\u1EC3 v\xF4 hi\u1EC7u h\xF3a ch\xFAng t\u1EA1i \u0111\xE2y.",name:"Cung c\u1EA5p ph\xEDm truy c\u1EADp trong h\u1ED9p tho\u1EA1i"},heading:"H\u1ED9p tho\u1EA1i"},format:{description:{line1:"\u0110\u1ECBnh d\u1EA1ng m\xE0 Tasks s\u1EED d\u1EE5ng \u0111\u1EC3 \u0111\u1ECDc v\xE0 vi\u1EBFt nhi\u1EC7m v\u1EE5.",line2:"<b>Quan tr\u1ECDng:</b> Tasks hi\u1EC7n ch\u1EC9 h\u1ED7 tr\u1EE3 m\u1ED9t \u0111\u1ECBnh d\u1EA1ng t\u1EA1i m\u1ED9t th\u1EDDi \u0111i\u1EC3m. Ch\u1ECDn Dataview hi\u1EC7n s\u1EBD <b>ng\u1EEBng Tasks \u0111\u1ECDc c\xE1c k\xFD hi\u1EC7u emoji ri\xEAng c\u1EE7a n\xF3</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"\u0110\u1ECBnh d\u1EA1ng Emoji c\u1EE7a Tasks"},name:"\u0110\u1ECBnh d\u1EA1ng nhi\u1EC7m v\u1EE5"},globalFilter:{filter:{description:{line1:"Khuy\u1EBFn ngh\u1ECB: \u0110\u1EC3 tr\u1ED1ng n\u1EBFu b\u1EA1n mu\u1ED1n t\u1EA5t c\u1EA3 c\xE1c m\u1EE5c danh s\xE1ch ki\u1EC3m tra trong vault c\u1EE7a b\u1EA1n l\xE0 nhi\u1EC7m v\u1EE5 \u0111\u01B0\u1EE3c qu\u1EA3n l\xFD b\u1EDFi plugin n\xE0y.",line2:'S\u1EED d\u1EE5ng b\u1ED9 l\u1ECDc to\xE0n c\u1EE5c n\u1EBFu b\u1EA1n mu\u1ED1n Tasks ch\u1EC9 ho\u1EA1t \u0111\u1ED9ng tr\xEAn m\u1ED9t t\u1EADp h\u1EE3p con c\xE1c m\u1EE5c danh s\xE1ch ki\u1EC3m tra "<code>- [ ]</code>" c\u1EE7a b\u1EA1n, \u0111\u1EC3 m\u1ED9t m\u1EE5c danh s\xE1ch ki\u1EC3m tra ph\u1EA3i bao g\u1ED3m chu\u1ED7i \u0111\u01B0\u1EE3c ch\u1EC9 \u0111\u1ECBnh trong m\xF4 t\u1EA3 c\u1EE7a n\xF3 \u0111\u1EC3 \u0111\u01B0\u1EE3c coi l\xE0 m\u1ED9t nhi\u1EC7m v\u1EE5.',line3:"V\xED d\u1EE5: n\u1EBFu b\u1EA1n \u0111\u1EB7t b\u1ED9 l\u1ECDc to\xE0n c\u1EE5c th\xE0nh <code>#task</code>, plugin Tasks s\u1EBD ch\u1EC9 x\u1EED l\xFD c\xE1c m\u1EE5c danh s\xE1ch ki\u1EC3m tra \u0111\u01B0\u1EE3c g\u1EAFn th\u1EBB <code>#task</code>.",line4:"C\xE1c m\u1EE5c danh s\xE1ch ki\u1EC3m tra kh\xE1c s\u1EBD v\u1EABn l\xE0 m\u1EE5c danh s\xE1ch ki\u1EC3m tra b\xECnh th\u01B0\u1EDDng v\xE0 kh\xF4ng xu\u1EA5t hi\u1EC7n trong truy v\u1EA5n ho\u1EB7c \u0111\u01B0\u1EE3c \u0111\u1EB7t ng\xE0y ho\xE0n th\xE0nh."},name:"B\u1ED9 l\u1ECDc to\xE0n c\u1EE5c",placeholder:"v\xED d\u1EE5: #task ho\u1EB7c TODO"},heading:"B\u1ED9 l\u1ECDc nhi\u1EC7m v\u1EE5 to\xE0n c\u1EE5c",removeFilter:{description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y s\u1EBD x\xF3a chu\u1ED7i m\xE0 b\u1EA1n \u0111\u1EB7t l\xE0m b\u1ED9 l\u1ECDc to\xE0n c\u1EE5c kh\u1ECFi m\xF4 t\u1EA3 nhi\u1EC7m v\u1EE5 khi hi\u1EC3n th\u1ECB nhi\u1EC7m v\u1EE5.",name:"X\xF3a b\u1ED9 l\u1ECDc to\xE0n c\u1EE5c kh\u1ECFi m\xF4 t\u1EA3"}},globalQuery:{heading:"Truy v\u1EA5n to\xE0n c\u1EE5c",query:{description:"M\u1ED9t truy v\u1EA5n \u0111\u01B0\u1EE3c t\u1EF1 \u0111\u1ED9ng bao g\u1ED3m \u1EDF \u0111\u1EA7u m\u1ED7i kh\u1ED1i Tasks trong vault. H\u1EEFu \xEDch \u0111\u1EC3 th\xEAm b\u1ED9 l\u1ECDc m\u1EB7c \u0111\u1ECBnh ho\u1EB7c t\xF9y ch\u1ECDn b\u1ED1 c\u1EE5c.",placeholder:`V\xED d\u1EE5...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:"Th\xEAm preset m\u1EDBi"},line1:"B\u1EA1n c\xF3 th\u1EC3 \u0111\u1ECBnh ngh\u0129a c\xE1c h\u01B0\u1EDBng d\u1EABn \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn \u1EDF \u0111\xE2y, m\xE0 b\u1EA1n c\xF3 th\u1EC3 s\u1EED d\u1EE5ng l\u1EA1i trong nhi\u1EC1u truy v\u1EA5n. M\u1ED9t preset c\xF3 t\xEAn '{{name}}' c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng trong truy v\u1EA5n Tasks v\u1EDBi '{{instruction1}}' ho\u1EB7c '{{instruction2}}'.",line2:"B\u1EA5t k\u1EF3 truy v\u1EA5n Tasks n\xE0o \u0111ang m\u1EDF s\u1EBD \u0111\u01B0\u1EE3c t\u1EA3i l\u1EA1i t\u1EF1 \u0111\u1ED9ng khi c\xE1c preset \u0111\u01B0\u1EE3c ch\u1EC9nh s\u1EEDa.",name:"Preset"},recurringTasks:{heading:"Nhi\u1EC7m v\u1EE5 \u0111\u1ECBnh k\u1EF3",nextLine:{description:"B\u1EADt t\xEDnh n\u0103ng n\xE0y s\u1EBD l\xE0m cho l\u1EA7n l\u1EB7p l\u1EA1i ti\u1EBFp theo c\u1EE7a nhi\u1EC7m v\u1EE5 xu\u1EA5t hi\u1EC7n tr\xEAn d\xF2ng b\xEAn d\u01B0\u1EDBi nhi\u1EC7m v\u1EE5 \u0111\xE3 ho\xE0n th\xE0nh. N\u1EBFu kh\xF4ng, l\u1EA7n l\u1EB7p l\u1EA1i ti\u1EBFp theo s\u1EBD xu\u1EA5t hi\u1EC7n tr\u01B0\u1EDBc l\u1EA7n \u0111\xE3 ho\xE0n th\xE0nh.",name:"L\u1EA7n l\u1EB7p l\u1EA1i ti\u1EBFp theo xu\u1EA5t hi\u1EC7n tr\xEAn d\xF2ng b\xEAn d\u01B0\u1EDBi"},removeScheduledDate:{description:{line1:"B\u1EADt t\xEDnh n\u0103ng n\xE0y s\u1EBD l\xE0m cho l\u1EA7n l\u1EB7p l\u1EA1i ti\u1EBFp theo c\u1EE7a nhi\u1EC7m v\u1EE5 kh\xF4ng c\xF3 ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch (\u23F3), khi \xEDt nh\u1EA5t m\u1ED9t trong c\xE1c ng\xE0y B\u1EAFt \u0111\u1EA7u (\u{1F6EB}) ho\u1EB7c \u0110\u1EBFn h\u1EA1n (\u{1F4C5}) c\xF3 m\u1EB7t.",line2:"\u0110i\u1EC1u n\xE0y d\xE0nh cho khi b\u1EA1n mu\u1ED1n ng\xE0y B\u1EAFt \u0111\u1EA7u v\xE0 \u0110\u1EBFn h\u1EA1n \u0111\u01B0\u1EE3c chuy\u1EC3n ti\u1EBFp sang l\u1EA7n l\u1EB7p l\u1EA1i ti\u1EBFp theo, nh\u01B0ng b\u1EA1n s\u1EBD \u0111\u1EB7t ng\xE0y \u0110\xE3 l\xEAn l\u1ECBch trong t\u01B0\u01A1ng lai, m\u1ED9t khi b\u1EA1n d\u1EF1 \u0111\u1ECBnh l\xE0m vi\u1EC7c v\u1EDBi n\xF3."},name:"X\xF3a ng\xE0y \u0111\xE3 l\xEAn l\u1ECBch khi l\u1EB7p l\u1EA1i"}},seeTheDocumentation:"Xem t\xE0i li\u1EC7u",statuses:{collections:{anuppuccinTheme:"Theme AnuPpuccin",auraTheme:"Theme Aura",borderTheme:"Theme Border",buttons:{addCollection:{name:"{{themeName}}: Th\xEAm {{numberOfStatuses}} Tr\u1EA1ng th\xE1i \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3"}},ebullientworksTheme:"Theme Ebullientworks",itsThemeAndSlrvbCheckboxes:"Theme ITS & SlRvb Checkboxes",lytModeTheme:"Theme LYT Mode (Ch\u1EC9 ch\u1EBF \u0111\u1ED9 t\u1ED1i)",minimalTheme:"Theme Minimal",thingsTheme:"Theme Things"},coreStatuses:{buttons:{checkStatuses:{name:"Xem x\xE9t v\xE0 ki\u1EC3m tra Tr\u1EA1ng th\xE1i c\u1EE7a b\u1EA1n",tooltip:"T\u1EA1o file m\u1EDBi trong th\u01B0 m\u1EE5c g\u1ED1c c\u1EE7a vault, ch\u1EE9a s\u01A1 \u0111\u1ED3 Mermaid c\u1EE7a c\xE1c c\xE0i \u0111\u1EB7t tr\u1EA1ng th\xE1i hi\u1EC7n t\u1EA1i."}},description:{line1:"\u0110\xE2y l\xE0 c\xE1c tr\u1EA1ng th\xE1i c\u1ED1t l\xF5i m\xE0 Tasks h\u1ED7 tr\u1EE3 nguy\xEAn b\u1EA3n, kh\xF4ng c\u1EA7n CSS t\xF9y ch\u1EC9nh ho\u1EB7c theme.",line2:"B\u1EA1n c\xF3 th\u1EC3 th\xEAm ch\u1EC9nh s\u1EEDa v\xE0 th\xEAm c\xE1c tr\u1EA1ng th\xE1i t\xF9y ch\u1EC9nh c\u1EE7a ri\xEAng b\u1EA1n trong ph\u1EA7n b\xEAn d\u01B0\u1EDBi."},heading:"Tr\u1EA1ng th\xE1i c\u1ED1t l\xF5i"},customStatuses:{buttons:{addAllUnknown:{name:"Th\xEAm t\u1EA5t c\u1EA3 lo\u1EA1i tr\u1EA1ng th\xE1i kh\xF4ng x\xE1c \u0111\u1ECBnh"},addNewStatus:{name:"Th\xEAm tr\u1EA1ng th\xE1i nhi\u1EC7m v\u1EE5 m\u1EDBi"},resetCustomStatuses:{name:"\u0110\u1EB7t l\u1EA1i lo\u1EA1i tr\u1EA1ng th\xE1i t\xF9y ch\u1EC9nh v\u1EC1 m\u1EB7c \u0111\u1ECBnh"}},description:{line1:"Tr\u01B0\u1EDBc ti\xEAn, b\u1EA1n n\xEAn <b>ch\u1ECDn v\xE0 c\xE0i \u0111\u1EB7t CSS Snippet ho\u1EB7c Theme</b> \u0111\u1EC3 t\u1EA1o ki\u1EC3u cho c\xE1c \xF4 \u0111\xE1nh d\u1EA5u t\xF9y ch\u1EC9nh.",line2:"Sau \u0111\xF3, s\u1EED d\u1EE5ng c\xE1c n\xFAt b\xEAn d\u01B0\u1EDBi \u0111\u1EC3 thi\u1EBFt l\u1EADp tr\u1EA1ng th\xE1i t\xF9y ch\u1EC9nh c\u1EE7a b\u1EA1n, \u0111\u1EC3 kh\u1EDBp v\u1EDBi c\xE1c \xF4 \u0111\xE1nh d\u1EA5u CSS b\u1EA1n \u0111\xE3 ch\u1ECDn.",line3:"<b>L\u01B0u \xFD</b> B\u1EA5t k\u1EF3 tr\u1EA1ng th\xE1i n\xE0o c\xF3 c\xF9ng k\xFD hi\u1EC7u v\u1EDBi b\u1EA5t k\u1EF3 tr\u1EA1ng th\xE1i tr\u01B0\u1EDBc \u0111\xF3 n\xE0o s\u1EBD b\u1ECB b\u1ECF qua. B\u1EA1n c\xF3 th\u1EC3 x\xE1c nh\u1EADn c\xE1c tr\u1EA1ng th\xE1i th\u1EF1c s\u1EF1 \u0111\u01B0\u1EE3c t\u1EA3i b\u1EB1ng c\xE1ch ch\u1EA1y l\u1EC7nh 'T\u1EA1o ho\u1EB7c ch\u1EC9nh s\u1EEDa nhi\u1EC7m v\u1EE5' v\xE0 xem menu th\u1EA3 xu\u1ED1ng Tr\u1EA1ng th\xE1i.",line4:"Xem t\xE0i li\u1EC7u \u0111\u1EC3 b\u1EAFt \u0111\u1EA7u!"},heading:"Tr\u1EA1ng th\xE1i t\xF9y ch\u1EC9nh"},heading:"Tr\u1EA1ng th\xE1i nhi\u1EC7m v\u1EE5"}}}});var eT,Jb=Q(()=>{eT={main:{loadingPlugin:"\u52A0\u8F7D\u63D2\u4EF6: {{name}} v{{version}}",unloadingPlugin:"\u5378\u8F7D\u63D2\u4EF6: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"\u5982\u679C\u542F\u7528\uFF0C\u6B64\u72B6\u6001\u5C06\u4F5C\u4E3A\u547D\u4EE4\u53EF\u7528,\u56E0\u6B64\u60A8\u53EF\u4EE5\u6307\u5B9A\u5FEB\u6377\u952E\u5E76\u4F7F\u7528\u5B83\u5207\u6362\u72B6\u6001\u3002",name:"\u53EF\u7528\u4F5C\u547D\u4EE4"},editNextStatusSymbol:{description:"\u5355\u51FB\u65F6\uFF0C\u8FD9\u662F\u4E0B\u4E00\u6B65\u5E94\u8BE5\u4F7F\u7528\u7684\u7B26\u53F7\u3002",name:"\u4EFB\u52A1\u4E0B\u4E00\u4E2A\u72B6\u6001\u7B26\u53F7"},editStatusName:{description:"\u8FD9\u662F\u4EFB\u52A1\u72B6\u6001\u7684\u53CB\u597D\u540D\u79F0.",name:"\u4EFB\u52A1\u72B6\u6001\u540D\u79F0"},editStatusSymbol:{description:"\u8FD9\u662F\u65B9\u62EC\u53F7\u4E2D\u7684\u5B57\u7B26\u3002\uFF08\u4EC5\u53EF\u7F16\u8F91\u81EA\u5B9A\u4E49\u72B6\u6001,\u4E0D\u53EF\u7F16\u8F91\u6838\u5FC3\u72B6\u6001\u3002\uFF09",name:"\u4EFB\u52A1\u72B6\u6001\u7B26\u53F7"},editStatusType:{description:"\u63A7\u5236\u641C\u7D22\u548C\u5207\u6362\u72B6\u6001\u7684\u884C\u4E3A\u3002",name:"\u4EFB\u52A1\u72B6\u6001\u7C7B\u578B"},fixErrorsBeforeSaving:"\u5728\u4FDD\u5B58\u524D\u4FEE\u590D\u9519\u8BEF\u3002"}},reports:{statusRegistry:{about:{createdBy:"\u6B64\u6587\u4EF6\u7531 Obsidian tasks \u63D2\u4EF6(version {{version}})\u521B\u5EFA,\u4EE5\u5E2E\u52A9\u53EF\u89C6\u5316\u6B64\u4ED3\u5E93\u4E2D\u7684\u4EFB\u52A1\u72B6\u6001.",deleteFileAnyTime:"\u60A8\u53EF\u4EE5\u968F\u65F6\u5220\u9664\u6B64\u6587\u4EF6.",title:"\u5173\u4E8E\u6B64\u6587\u4EF6",updateReport:{line1:"\u5982\u679C\u66F4\u6539 Tasks \u72B6\u6001\u8BBE\u7F6E,\u5219\u53EF\u4EE5\u901A\u8FC7\u4EE5\u4E0B\u65B9\u5F0F\u83B7\u53D6\u66F4\u65B0\u540E\u7684\u62A5\u544A:",line2:"\u524D\u5F80 `\u8BBE\u7F6E` -> `Tasks`\u3002",line3:"\u70B9\u51FB `\u67E5\u770B\u5E76\u68C0\u67E5\u60A8\u7684\u72B6\u6001`\u3002"}},columnHeadings:{nextStatusSymbol:"\u4E0B\u4E00\u4E2A\u72B6\u6001\u7B26\u53F7",problems:"\u95EE\u9898 (\u5982\u679C\u5B58\u5728)",statusName:"\u72B6\u6001\u540D\u79F0",statusSymbol:"\u72B6\u6001\u7B26\u53F7",statusType:"\u72B6\u6001\u7C7B\u578B"},loadedSettings:{settingsActuallyUsed:"\u8FD9\u4E9B\u662F Tasks \u5B9E\u9645\u4F7F\u7528\u7684\u8BBE\u7F6E.",switchToLivePreview:"\u5207\u6362\u5230\u5B9E\u65F6\u9884\u89C8\u6216\u9605\u8BFB\u6A21\u5F0F\u4EE5\u67E5\u770B\u56FE\u8868.",title:"\u5DF2\u52A0\u8F7D\u8BBE\u7F6E"},messages:{cannotFindNextStatus:"\u672A\u80FD\u610F\u5916\u627E\u5230\u4E0B\u4E00\u4E2A\u72B6\u6001.",duplicateSymbol:"\u91CD\u590D\u7684\u7B26\u53F7 '{{symbol}}':\u6B64\u72B6\u6001\u5C06\u88AB\u5FFD\u7565.",emptySymbol:"\u7A7A\u7B26\u53F7:\u6B64\u72B6\u6001\u5C06\u88AB\u5FFD\u7565.",nextSymbolUnknown:"\u4E0B\u4E00\u4E2A\u7B26\u53F7 {{symbol}} \u672A\u77E5:\u8BF7\u521B\u5EFA\u7B26\u53F7\u4E3A {{symbol}} \u7684\u72B6\u6001.",notConventionalType:"\u4F9B\u53C2\u8003,\u72B6\u6001\u7B26\u53F7 {{symbol}} \u7684\u5E38\u89C4\u7C7B\u578B\u662F {{type}}:\u60A8\u53EF\u80FD\u5E0C\u671B\u67E5\u770B\u6B64\u7C7B\u578B.",wrongTypeAfterDone:{line1:"\u6B64`\u5B8C\u6210`\u72B6\u6001\u540E\u8DDF\u968F\u7684\u662F{{nextType}}\uFF0C\u800C\u4E0D\u662F`\u5F85\u529E`\u6216`\u8FDB\u884C\u4E2D`\u3002",line2:"\u5982\u679C\u7528\u4E8E\u5B8C\u6210\u4E00\u4E2A\u91CD\u590D\u4EFB\u52A1\uFF0C\u5B83\u540E\u9762\u4F1A\u8DDF\u7740\u5F85\u529E`\u6216`\u8FDB\u884C\u4E2D`\uFF0C\u4EE5\u786E\u4FDD\u4E0B\u4E00\u4E2A\u4EFB\u52A1\u7B26\u5408\u201C\u672A\u5B8C\u6210\u201D\u7684\u7B5B\u9009\u6761\u4EF6\u3002",line3:"\u8BF7\u53C2\u9605[\u91CD\u590D\u4EFB\u52A1\u548C\u81EA\u5B9A\u4E49\u72B6\u6001]({{helpURL}})\u3002"}},sampleTasks:{line1:"\u8FD9\u91CC\u662F\u7528\u4E8E\u5B9E\u9645\u4EFB\u52A1\u4F7F\u7528\u7684\u5404\u79CD\u72B6\u6001\u7684\u793A\u4F8B\u4EFB\u52A1\u884C\uFF0C\u4F9B\u60A8\u8FDB\u884C\u5B9E\u9A8C\u3002",line2:"\u521B\u5EFA\u6B64\u6587\u4EF6\u65F6\uFF0C\u4EFB\u52A1\u63CF\u8FF0\u4E2D\u7684\u72B6\u6001\u7B26\u53F7\u548C\u540D\u79F0\u662F\u6B63\u786E\u7684\u3002",line3:"\u5982\u679C\u60A8\u81EA\u521B\u5EFA\u4EE5\u6765\u4FEE\u6539\u4E86\u6837\u4F8B\u4EFB\u52A1\uFF0C\u53EF\u4EE5\u5728\u4E0B\u65B9\u7684\u4EFB\u52A1\u641C\u7D22\u7684\u5206\u7EC4\u6807\u9898\u4E2D\u67E5\u770B\u5F53\u524D\u7684\u72B6\u6001\u7C7B\u578B\u548C\u540D\u79F0\u3002",tip:{line1:"\u63D0\u793A\uFF1A\u5982\u679C\u6240\u6709\u590D\u9009\u6846\u770B\u8D77\u6765\u90FD\u4E00\u6837...",line2:"\u5982\u679C\u5728\u9605\u8BFB\u6A21\u5F0F\u6216\u5B9E\u65F6\u9884\u89C8\u4E2D\u6240\u6709\u590D\u9009\u6846\u770B\u8D77\u6765\u90FD\u4E00\u6837\uFF0C\u8BF7\u53C2\u9605[\u81EA\u5B9A\u4E49\u72B6\u6001\u6837\u5F0F]({{url}})\uFF0C\u4E86\u89E3\u5982\u4F55\u9009\u62E9\u4E3B\u9898\u6216CSS\u7247\u6BB5\u6765\u4E3A\u60A8\u7684\u72B6\u6001\u8BBE\u7F6E\u6837\u5F0F\u3002"},title:"\u6837\u4F8B\u4EFB\u52A1"},searchSampleTasks:{line1:"\u6B64\u4EFB\u52A1\u641C\u7D22\u663E\u793A\u4E86\u6B64\u6587\u4EF6\u4E2D\u7684\u6240\u6709\u4EFB\u52A1\uFF0C\u6309\u5176\u72B6\u6001\u7C7B\u578B\u548C\u72B6\u6001\u540D\u79F0\u8FDB\u884C\u5206\u7EC4\u3002",title:"\u641C\u7D22\u6837\u4F8B\u4EFB\u52A1"},statusSettings:{comment:{line1:"\u5207\u6362\u5230\u5B9E\u65F6\u9884\u89C8\u6216\u9605\u8BFB\u6A21\u5F0F\u4EE5\u67E5\u770B\u8868\u683C.",line2:"\u5982\u679C\u72B6\u6001\u540D\u79F0\u4E2D\u6709\u4EFB\u4F55Markdown\u683C\u5F0F\u5B57\u7B26,\u5982 '*' \u6216 '_',",line3:"\u9ED1\u66DC\u77F3\u53EA\u80FD\u5728\u9605\u8BFB\u6A21\u5F0F\u4E0B\u6B63\u786E\u6E32\u67D3\u8868\u683C."},theseAreStatusValues:"\u8FD9\u4E9B\u662F\u6838\u5FC3\u548C\u81EA\u5B9A\u4E49\u72B6\u6001\u90E8\u5206\u4E2D\u7684\u72B6\u6001\u503C.",title:"\u72B6\u6001\u8BBE\u7F6E"}}},settings:{autoSuggest:{heading:"\u81EA\u52A8\u5EFA\u8BAE",maxSuggestions:{description:'\u5F53\u81EA\u52A8\u5EFA\u8BAE\u83DC\u5355\u5F39\u51FA\u65F6\uFF0C\u5E94\u663E\u793A\u591A\u5C11\u6761\u5EFA\u8BAE (\u5305\u542B "\u23CE" \u9009\u9879)\u3002',name:"\u8981\u663E\u793A\u7684\u6700\u5927\u81EA\u52A8\u5EFA\u8BAE\u6570"},minLength:{description:"\u5982\u679C\u9AD8\u4E8E0\uFF0C\u5219\u53EA\u6709\u5728\u8BC6\u522B\u51FA\u4EFB\u4F55\u652F\u6301\u7684\u5173\u952E\u5B57\u7684\u5F00\u5934\u65F6\u624D\u4F1A\u89E6\u53D1\u81EA\u52A8\u5EFA\u8BAE\u3002",name:"\u81EA\u52A8\u5EFA\u8BAE\u7684\u6700\u5C0F\u5339\u914D\u957F\u5EA6"},toggle:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u8BC6\u522B\u7684\u4EFB\u52A1\u884C\u5185\u8F93\u5165\u65F6\u6253\u5F00\u667A\u80FD\u5EFA\u8BAE\u83DC\u5355\u3002",name:"\u81EA\u52A8\u5EFA\u8BAE\u4EFB\u52A1\u5185\u5BB9"}},changeRequiresRestart:"\u9700\u8981\u91CD\u542F\u3002",dates:{cancelledDate:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u4EFB\u52A1\u8BBE\u7F6E\u4E3A\u53D6\u6D88\u65F6\uFF0C\u5728\u5176\u672B\u5C3E\u6DFB\u52A0\u65F6\u95F4\u6233 \u274C YYYY-MM-DD\u3002",name:"\u8BBE\u7F6E\u6BCF\u4E2A\u5DF2\u53D6\u6D88\u7684\u4EFB\u52A1\u7684\u53D6\u6D88\u65E5\u671F"},createdDate:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u901A\u8FC7\u201CCreate or edit task\u201D\u547D\u4EE4\u6216\u5B8C\u6210\u91CD\u590D\u4EFB\u52A1\u65F6\uFF0C\u5728\u5176\u4ED6\u65E5\u671F\u503C\u4E4B\u524D\u6DFB\u52A0\u65F6\u95F4\u6233\u2795YYYY-MM-DD\u3002",name:"\u8BBE\u7F6E\u6BCF\u4E2A\u5DF2\u6DFB\u52A0\u4EFB\u52A1\u7684\u521B\u5EFA\u65E5\u671F"},doneDate:{description:"\u542F\u7528\u6B64\u529F\u80FD\u5C06\u5728\u4EFB\u52A1\u88AB\u8BBE\u7F6E\u4E3A\u5B8C\u6210\u65F6\uFF0C\u5728\u5176\u672B\u5C3E\u6DFB\u52A0\u65F6\u95F4\u6233 \u2705 YYYY-MM-DD\u3002",name:"\u8BBE\u7F6E\u6BCF\u4E2A\u5DF2\u5B8C\u6210\u4EFB\u52A1\u7684\u5B8C\u6210\u65E5\u671F"},heading:"\u65E5\u671F"},datesFromFileNames:{heading:"\u4ECE\u6587\u4EF6\u540D\u4E2D\u63D0\u53D6\u65E5\u671F",scheduledDate:{extraFormat:{description:{line1:"\u4EFB\u52A1\u63D2\u4EF6\u5728\u5C06\u6587\u4EF6\u540D\u7528\u4F5C\u672A\u6CE8\u660E\u65E5\u671F\u4EFB\u52A1\u7684\u8BA1\u5212\u65E5\u671F\u65F6\uFF0C\u5C06\u8BC6\u522B\u7684\u9644\u52A0\u65E5\u671F\u683C\u5F0F\u3002",line2:"\u8BED\u6CD5\u53C2\u8003"},name:"\u4E3A\u65E0\u65E5\u671F\u4EFB\u52A1\u6DFB\u52A0\u6587\u4EF6\u540D\u65E5\u671F\u683C\u5F0F\u4F5C\u4E3A\u8BA1\u5212\u65E5\u671F",placeholder:"\u793A\u4F8B\uFF1AMMM DD YYYY"},folders:{description:"\u5982\u679C\u8981\u5728\u5168\u5C40\u4F7F\u7528\u9ED8\u8BA4\u7684\u8BA1\u5212\u65E5\u671F\uFF0C\u8BF7\u4FDD\u7559\u4E3A\u7A7A,\u6216\u8005\u8F93\u5165\u4EE5\u9017\u53F7\u5206\u9694\u7684\u6587\u4EF6\u5939\u5217\u8868\u3002",name:"\u5177\u6709\u9ED8\u8BA4\u8BA1\u5212\u65E5\u671F\u7684\u6587\u4EF6\u5939"},toggle:{description:{line1:"\u7528\u4E8E\u8282\u7701\u8F93\u5165\u8BA1\u5212\u65E5\u671F (\u23F3) \u7684\u65F6\u95F4\u3002",line2:"\u5982\u679C\u542F\u7528\u6B64\u9009\u9879\uFF0C\u5219\u4EFB\u4F55\u672A\u6CE8\u660E\u65E5\u671F\u7684\u4EFB\u52A1\u90FD\u5C06\u88AB\u8D4B\u4E88\u4ECE\u5176\u6587\u4EF6\u540D\u4E2D\u63D0\u53D6\u7684\u9ED8\u8BA4\u201C\u8BA1\u5212\u65E5\u671F\u201D\u3002",line3:"\u9ED8\u8BA4\u60C5\u51B5\u4E0B\uFF0CTasks \u63D2\u4EF6\u5C06\u5339\u914D <code>YYYY-MM-DD</code> \u548C <code>YYYYMMDD</code> \u4E24\u79CD\u65E5\u671F\u683C\u5F0F\u3002",line4:"\u672A\u6CE8\u660E\u65E5\u671F\u7684\u4EFB\u52A1\u6307\u6CA1\u6709\u622A\u6B62\u65E5\u671F (\u{1F4C5} ), \u8BA1\u5212\u65E5\u671F (\u23F3) \u548C\u5F00\u59CB\u65E5\u671F(\u{1F6EB}) \u7684\u4EFB\u52A1\u3002"},name:"\u5C06\u6587\u4EF6\u540D\u7528\u4F5C\u672A\u6CE8\u660E\u65E5\u671F\u7684\u4EFB\u52A1\u7684\u8BA1\u5212\u65E5\u671F"}}},dialogs:{accessKeys:{description:"\u5982\u679C\u5BF9\u8BDD\u6846\u4E2D\u5404\u79CD\u63A7\u4EF6\u7684\u5FEB\u6377\u952E\u4E0E\u7CFB\u7EDF\u5FEB\u6377\u952E\u53D1\u751F\u51B2\u7A81\uFF0C\u60A8\u53EF\u4EE5\u5728\u8FD9\u91CC\u505C\u7528\u5B83\u4EEC\u3002",name:"\u5728\u5BF9\u8BDD\u6846\u4E2D\u4F7F\u7528\u5FEB\u6377\u952E"},heading:"\u5BF9\u8BDD\u6846"},format:{description:{line1:"Tasks \u7528\u4E8E\u8BFB\u53D6\u548C\u5199\u5165\u4EFB\u52A1\u7684\u683C\u5F0F.",line2:"<b>\u91CD\u70B9:</b> \u76EE\u524D Tasks \u53EA\u652F\u6301\u540C\u65F6\u4F7F\u7528\u4E00\u79CD\u683C\u5F0F\u3002\u9009\u62E9 dataview \u5C06 <b>\u4F7F Tasks \u505C\u6B62\u8BFB\u53D6\u81EA\u6709\u7684\u8868\u60C5\u7B26\u53F7\u683C\u5F0F</b>"},displayName:{dataview:"Dataview \u683C\u5F0F",tasksEmojiFormat:"Tasks \u8868\u60C5\u683C\u5F0F"},name:"\u4EFB\u52A1\u683C\u5F0F"},globalFilter:{filter:{description:{line1:"\u5EFA\u8BAE\uFF1A\u5982\u679C\u60A8\u5E0C\u671B\u4ED3\u5E93\u4E2D\u7684\u6240\u6709\u4EFB\u52A1\u5217\u8868\u9879\u90FD\u7531\u6B64\u63D2\u4EF6\u7BA1\u7406\uFF0C\u8BF7\u7559\u7A7A\u3002",line2:'\u5982\u679C\u60A8\u5E0C\u671B Tasks \u4EC5\u4F5C\u7528\u4E8E "<code>- [ ]</code>" \u4EFB\u52A1\u5217\u8868\u9879\u7684\u5B50\u96C6\uFF0C\u8BF7\u4F7F\u7528\u5168\u5C40\u7B5B\u9009\u5668,\u4EE5\u4FBF\u53EA\u6709\u5728\u5176\u63CF\u8FF0\u4E2D\u5305\u542B\u6307\u5B9A\u7684\u5B57\u7B26\u4E32\u7684\u4EFB\u52A1\u5217\u8868\u9879\u624D\u88AB\u89C6\u4E3A\u4EFB\u52A1\u3002',line3:"\u4F8B\u5982\uFF0C\u5982\u679C\u5C06\u5168\u5C40\u7B5B\u9009\u5668\u8BBE\u7F6E\u4E3A <code>#task</code>\uFF0C\u5219 Tasks \u63D2\u4EF6\u5C06\u4EC5\u5904\u7406\u6807\u8BB0\u4E3A <code>#task</code> \u7684\u4EFB\u52A1\u5217\u8868\u9879\u3002",line4:"\u5176\u4ED6\u4EFB\u52A1\u5217\u8868\u9879\u5C06\u4FDD\u6301\u6B63\u5E38,\u4E0D\u4F1A\u51FA\u73B0\u5728\u67E5\u8BE2\u4E2D\u6216\u8BBE\u7F6E\u5B8C\u6210\u65E5\u671F\u3002"},name:"\u5168\u5C40\u7B5B\u9009\u5668",placeholder:"\u4F8B\u5982:#task \u6216 TODO"},heading:"\u5168\u5C40\u4EFB\u52A1\u7B5B\u9009\u5668",removeFilter:{description:"\u542F\u7528\u6B64\u9009\u9879\u5C06\u5728\u663E\u793A\u4EFB\u52A1\u65F6\u4ECE\u4EFB\u52A1\u63CF\u8FF0\u4E2D\u5220\u9664\u8BBE\u7F6E\u4E3A\u5168\u5C40\u7B5B\u9009\u5668\u7684\u5B57\u7B26\u4E32.",name:"\u4ECE\u63CF\u8FF0\u4E2D\u5220\u9664\u5168\u5C40\u7B5B\u9009\u5668"}},globalQuery:{heading:"\u5168\u5C40\u67E5\u8BE2",query:{description:"\u81EA\u52A8\u5305\u542B\u5728\u5E93\u4E2D\u6BCF\u4E2A Tasks \u5757\u5F00\u5934\u7684\u67E5\u8BE2\u8BED\u53E5.\u7528\u4E8E\u6DFB\u52A0\u9ED8\u8BA4\u8FC7\u6EE4\u5668\u6216\u5E03\u5C40\u9009\u9879\u3002",placeholder:`\u4F8B\u5982...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:""},line1:"\u60A8\u53EF\u4EE5\u5728\u8FD9\u91CC\u5B9A\u4E49\u547D\u540D\u6307\u4EE4\uFF0C\u53EF\u4EE5\u5728\u591A\u4E2A\u67E5\u8BE2\u4E2D\u91CD\u590D\u4F7F\u7528\u3002\u4E00\u4E2A\u540D\u4E3A '{{name}}' \u7684\u9884\u8BBE\u53EF\u4EE5\u5728\u4EFB\u52A1\u67E5\u8BE2\u4E2D\u4F7F\u7528 '{{instruction1}}' \u6216 '{{instruction2}}'\u3002",line2:"\u4EFB\u4F55\u6253\u5F00\u7684\u4EFB\u52A1\u67E5\u8BE2\u5728\u9884\u8BBE\u88AB\u7F16\u8F91\u65F6\u90FD\u4F1A\u81EA\u52A8\u91CD\u65B0\u52A0\u8F7D\u3002",name:"\u9884\u8BBE"},recurringTasks:{heading:"\u91CD\u590D\u6027\u4EFB\u52A1",nextLine:{description:"\u542F\u7528\u6B64\u529F\u80FD\u540E\uFF0C\u4EFB\u52A1\u7684\u4E0B\u4E00\u6B21\u91CD\u590D\u5C06\u663E\u793A\u5728\u5DF2\u5B8C\u6210\u4EFB\u52A1\u7684\u4E0B\u4E00\u884C\u3002\u82E5\u5173\u95ED\u6B64\u529F\u80FD\uFF0C\u5219\u4E0B\u4E00\u6B21\u91CD\u590D\u5C06\u51FA\u73B0\u5728\u5DF2\u5B8C\u6210\u4EFB\u52A1\u7684\u4E0A\u4E00\u884C\u3002",name:"\u628A\u4EFB\u52A1\u7684\u4E0B\u4E00\u6B21\u91CD\u590D\u653E\u5728\u4E0B\u4E00\u884C"},removeScheduledDate:{description:{line1:"\u5F00\u542F\u6B64\u9009\u9879\u540E\uFF0C\u5F53\u4EFB\u52A1\u81F3\u5C11\u8BBE\u7F6E\u4E86\u5F00\u59CB\u65E5\u671F(\u{1F6EB})\u6216\u8BA1\u5212\u65E5\u671F(\u{1F4C5})\u4E2D\u7684\u4E00\u4E2A\u65F6\uFF0C\u8BE5\u4EFB\u52A1\u7684\u4E0B\u4E00\u6B21\u91CD\u590D\u5468\u671F\u5C06\u4E0D\u518D\u5305\u542B\u8BA1\u5212\u65E5\u671F(\u23F3)\u3002",line2:"\u6B64\u529F\u80FD\u9002\u7528\u4E8E\u4F60\u5E0C\u671B\u5C06\u5F00\u59CB\u548C\u622A\u6B62\u65E5\u671F\u5EF6\u7EED\u5230\u4E0B\u4E00\u4E2A\u5468\u671F\uFF0C\u4F46\u8BA1\u5212\u65E5\u671F\u6682\u4E0D\u8BBE\u7F6E\uFF0C\u7B49\u5B9E\u9645\u5F00\u59CB\u5904\u7406\u65F6\u518D\u786E\u5B9A\u7684\u60C5\u51B5\u3002"},name:"\u5728\u91CD\u590D\u6027\u4EFB\u52A1\u4E2D\u79FB\u9664\u8BA1\u5212\u65E5\u671F"}},seeTheDocumentation:"\u53C2\u9605\u6587\u6863",statuses:{collections:{anuppuccinTheme:"AnuPpuccin \u4E3B\u9898",auraTheme:"Aura \u4E3B\u9898",borderTheme:"Border \u4E3B\u9898",buttons:{addCollection:{name:"{{themeName}}: \u6DFB\u52A0 {{numberOfStatuses}} \u79CD\u652F\u6301\u72B6\u6001"}},ebullientworksTheme:"Ebullientworks \u4E3B\u9898",itsThemeAndSlrvbCheckboxes:"ITS \u4E3B\u9898\u548C SlRvb \u590D\u9009\u6846",lytModeTheme:"LYT Mode \u4E3B\u9898 (\u4EC5\u6DF1\u8272\u6A21\u5F0F)",minimalTheme:"Minimal \u4E3B\u9898",thingsTheme:"Things \u4E3B\u9898"},coreStatuses:{buttons:{checkStatuses:{name:"\u67E5\u770B\u5E76\u68C0\u67E5\u60A8\u7684\u72B6\u6001",tooltip:"\u5728\u5E93\u7684\u6839\u76EE\u5F55\u4E0B\u521B\u5EFA\u4E00\u4E2A\u65B0\u6587\u4EF6,\u5305\u542B\u5F53\u524D\u72B6\u6001\u8BBE\u7F6E\u7684 Mermaid \u56FE\u8868."}},description:{line1:"\u8FD9\u4E9B\u662F Tasks \u539F\u751F\u652F\u6301\u7684\u6838\u5FC3\u72B6\u6001\uFF0C\u4E0D\u9700\u8981\u81EA\u5B9A\u4E49CSS\u6837\u5F0F\u6216\u4E3B\u9898\u3002",line2:"\u60A8\u53EF\u4EE5\u5728\u4E0B\u9762\u7F16\u8F91\u548C\u6DFB\u52A0\u81EA\u5B9A\u4E49\u72B6\u6001\u3002"},heading:"\u6838\u5FC3\u72B6\u6001"},customStatuses:{buttons:{addAllUnknown:{name:"\u6DFB\u52A0\u6240\u6709\u672A\u77E5\u72B6\u6001\u7C7B\u578B"},addNewStatus:{name:"\u6DFB\u52A0\u65B0\u4EFB\u52A1\u72B6\u6001"},resetCustomStatuses:{name:"\u91CD\u7F6E\u81EA\u5B9A\u4E49\u72B6\u6001\u7C7B\u578B\u4E3A\u9ED8\u8BA4\u503C"}},description:{line1:"\u60A8\u5E94\u8BE5\u9996\u5148<b>\u9009\u62E9\u5E76\u5B89\u88C5 CSS\u4EE3\u7801\u6BB5\u6216\u4E3B\u9898<b>\u4EE5\u8BBE\u7F6E\u81EA\u5B9A\u4E49\u590D\u9009\u6846\u7684\u6837\u5F0F",line2:"\u7136\u540E\uFF0C\u4F7F\u7528\u4E0B\u9762\u7684\u6309\u94AE\u8BBE\u7F6E\u60A8\u7684\u81EA\u5B9A\u4E49\u72B6\u6001,\u4EE5\u5339\u914D\u60A8\u9009\u62E9\u7684CSS\u590D\u9009\u6846.",line3:"<b>\u6CE8\u610F</b>\u4EFB\u4F55\u4E0E\u66F4\u65E9\u7684\u72B6\u6001\u5177\u6709\u76F8\u540C\u7B26\u53F7\u7684\u72B6\u6001\u90FD\u5C06\u88AB\u5FFD\u7565.\u60A8\u53EF\u4EE5\u901A\u8FC7\u8FD0\u884C\u201CCreate or edit task\u201D\u547D\u4EE4\u5E76\u67E5\u770B\u201CStatus\u201D\u4E0B\u62C9\u5217\u8868\u6765\u786E\u8BA4\u5B9E\u9645\u52A0\u8F7D\u7684\u72B6\u6001\u3002",line4:"\u53C2\u9605\u6587\u6863\uFF01"},heading:"\u81EA\u5B9A\u4E49\u72B6\u6001"},heading:"\u4EFB\u52A1\u72B6\u6001"}}}});var Rf,JO,tT,M,Ni=Q(()=>{"use strict";Ub();Yb();Wb();jb();Gb();Vb();Kb();Xb();Jb();Rf=!1,JO=()=>{let r=localStorage.getItem("language"),t=(r==null?void 0:r.toLowerCase())||"en";return console.log(`Language in Obsidian settings: '${t}'; requesting Tasks in '${t}'.`),t},tT=()=>A(void 0,null,function*(){Rf||(yield _t.init({lng:JO(),fallbackLng:"en",returnEmptyString:!1,resources:{be:{translation:qb},de:{translation:$b},en:{translation:Hb},ko:{translation:Bb},ru:{translation:zb},uk:{translation:Qb},vi:{translation:Zb},zh:{translation:eT}},interpolation:{escapeValue:!1}}),Rf=!0)}),M=new Proxy(_t,{get(r,t){if(!Rf&&t==="t")throw new Error("i18n.t() called before initialization. Call initializeI18n() first.");return Reflect.get(r,t)}})});var rT,pr,Mf=Q(()=>{"use strict";rT=(r,t)=>null,pr=class{constructor(){this.getFirstLinkpathDestFn=rT}setGetFirstLinkpathDestFn(t){this.getFirstLinkpathDestFn=t}resetGetFirstLinkpathDestFn(){this.getFirstLinkpathDestFn=rT}getDestinationPath(t,e){var n;return(n=this.getFirstLinkpathDestFn(t,e))!=null?n:void 0}static getInstance(){return pr.instance||(pr.instance=new pr),pr.instance}}});var ia,Af=Q(()=>{"use strict";Mf();ia=class{constructor(t,e){this.rawLink=t,this.pathContainingLink=e}get originalMarkdown(){return this.rawLink.original}get markdown(){return this.destination.startsWith("#")?`[[${this.pathContainingLink}${this.destination}|${this.displayText}]]`:this.originalMarkdown}get destination(){return this.rawLink.link}get destinationPath(){var t;return(t=pr.getInstance().getDestinationPath(this.rawLink,this.pathContainingLink))!=null?t:null}get displayText(){return this.rawLink.displayText}linksTo(t){if(typeof t=="string"){let e=/\.md$/,n=this.destination.replace(e,""),i=t.replace(e,"");return!!(i===n||n.endsWith(`/${i}`))}return this.destinationPath===t.path}}});var xn,ke,ri=Q(()=>{"use strict";xn=class{},ke=xn;ke.dateFormat="YYYY-MM-DD",ke.dateTimeFormat="YYYY-MM-DD HH:mm",ke.indentationRegex=/^([\s\t>]*)/,ke.listMarkerRegex=/([-*+]|[0-9]+[.)])/,ke.checkboxRegex=/\[(.)\]/u,ke.afterCheckboxRegex=/ *(.*)/u,ke.taskRegex=new RegExp(xn.indentationRegex.source+xn.listMarkerRegex.source+" +"+xn.checkboxRegex.source+xn.afterCheckboxRegex.source,"u"),ke.nonTaskRegex=new RegExp(xn.indentationRegex.source+xn.listMarkerRegex.source+"? *("+xn.checkboxRegex.source+")?"+xn.afterCheckboxRegex.source,"u"),ke.listItemRegex=new RegExp(xn.indentationRegex.source+xn.listMarkerRegex.source),ke.blockLinkRegex=/ \^[a-zA-Z0-9-]+$/u,ke.hashTags=/(^|\s)#[^ !@#$%^&*(),.?":{}|<>]+/g,ke.hashTagsFromEnd=new RegExp(xn.hashTags.source+"$")});var Qe=C(Ii=>{"use strict";Object.defineProperty(Ii,"__esModule",{value:!0});Ii.matchAnyPattern=Ii.extractTerms=Ii.repeatedTimeunitPattern=void 0;function ix(r,t){let e=t.replace(/\((?!\?)/g,"(?:");return`${r}${e}\\s{0,5}(?:,?\\s{0,5}${e}){0,10}`}Ii.repeatedTimeunitPattern=ix;function iT(r){let t;return r instanceof Array?t=[...r]:r instanceof Map?t=Array.from(r.keys()):t=Object.keys(r),t}Ii.extractTerms=iT;function sx(r){return`(?:${iT(r).sort((e,n)=>n.length-e.length).join("|").replace(/\./g,"\\.")})`}Ii.matchAnyPattern=sx});var je=C((Pf,Nf)=>{(function(r,t){typeof Pf=="object"&&typeof Nf!="undefined"?Nf.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs=t()})(Pf,function(){"use strict";var r=1e3,t=6e4,e=36e5,n="millisecond",i="second",s="minute",a="hour",o="day",l="week",u="month",c="quarter",d="year",f="date",p="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},E=function(K,G,P){var ee=String(K);return!ee||ee.length>=G?K:""+Array(G+1-ee.length).join(P)+K},x={s:E,z:function(K){var G=-K.utcOffset(),P=Math.abs(G),ee=Math.floor(P/60),H=P%60;return(G<=0?"+":"-")+E(ee,2,"0")+":"+E(H,2,"0")},m:function K(G,P){if(G.date()<P.date())return-K(P,G);var ee=12*(P.year()-G.year())+(P.month()-G.month()),H=G.clone().add(ee,u),se=P-H<0,m=G.clone().add(ee+(se?-1:1),u);return+(-(ee+(P-H)/(se?H-m:m-H))||0)},a:function(K){return K<0?Math.ceil(K)||0:Math.floor(K)},p:function(K){return{M:u,y:d,w:l,d:o,D:f,h:a,m:s,s:i,ms:n,Q:c}[K]||String(K||"").toLowerCase().replace(/s$/,"")},u:function(K){return K===void 0}},O="en",q={};q[O]=v;var V=function(K){return K instanceof Pe},Z=function(K,G,P){var ee;if(!K)return O;if(typeof K=="string")q[K]&&(ee=K),G&&(q[K]=G,ee=K);else{var H=K.name;q[H]=K,ee=H}return!P&&ee&&(O=ee),ee||!P&&O},j=function(K,G){if(V(K))return K.clone();var P=typeof G=="object"?G:{};return P.date=K,P.args=arguments,new Pe(P)},J=x;J.l=Z,J.i=V,J.w=function(K,G){return j(K,{locale:G.$L,utc:G.$u,x:G.$x,$offset:G.$offset})};var Pe=function(){function K(P){this.$L=Z(P.locale,null,!0),this.parse(P)}var G=K.prototype;return G.parse=function(P){this.$d=function(ee){var H=ee.date,se=ee.utc;if(H===null)return new Date(NaN);if(J.u(H))return new Date;if(H instanceof Date)return new Date(H);if(typeof H=="string"&&!/Z$/i.test(H)){var m=H.match(g);if(m){var T=m[2]-1||0,_=(m[7]||"0").substring(0,3);return se?new Date(Date.UTC(m[1],T,m[3]||1,m[4]||0,m[5]||0,m[6]||0,_)):new Date(m[1],T,m[3]||1,m[4]||0,m[5]||0,m[6]||0,_)}}return new Date(H)}(P),this.$x=P.x||{},this.init()},G.init=function(){var P=this.$d;this.$y=P.getFullYear(),this.$M=P.getMonth(),this.$D=P.getDate(),this.$W=P.getDay(),this.$H=P.getHours(),this.$m=P.getMinutes(),this.$s=P.getSeconds(),this.$ms=P.getMilliseconds()},G.$utils=function(){return J},G.isValid=function(){return this.$d.toString()!==p},G.isSame=function(P,ee){var H=j(P);return this.startOf(ee)<=H&&H<=this.endOf(ee)},G.isAfter=function(P,ee){return j(P)<this.startOf(ee)},G.isBefore=function(P,ee){return this.endOf(ee)<j(P)},G.$g=function(P,ee,H){return J.u(P)?this[ee]:this.set(H,P)},G.unix=function(){return Math.floor(this.valueOf()/1e3)},G.valueOf=function(){return this.$d.getTime()},G.startOf=function(P,ee){var H=this,se=!!J.u(ee)||ee,m=J.p(P),T=function(S,$){var de=J.w(H.$u?Date.UTC(H.$y,$,S):new Date(H.$y,$,S),H);return se?de:de.endOf(o)},_=function(S,$){return J.w(H.toDate()[S].apply(H.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice($)),H)},k=this.$W,w=this.$M,R=this.$D,N="set"+(this.$u?"UTC":"");switch(m){case d:return se?T(1,0):T(31,11);case u:return se?T(1,w):T(0,w+1);case l:var Y=this.$locale().weekStart||0,L=(k<Y?k+7:k)-Y;return T(se?R-L:R+(6-L),w);case o:case f:return _(N+"Hours",0);case a:return _(N+"Minutes",1);case s:return _(N+"Seconds",2);case i:return _(N+"Milliseconds",3);default:return this.clone()}},G.endOf=function(P){return this.startOf(P,!1)},G.$set=function(P,ee){var H,se=J.p(P),m="set"+(this.$u?"UTC":""),T=(H={},H[o]=m+"Date",H[f]=m+"Date",H[u]=m+"Month",H[d]=m+"FullYear",H[a]=m+"Hours",H[s]=m+"Minutes",H[i]=m+"Seconds",H[n]=m+"Milliseconds",H)[se],_=se===o?this.$D+(ee-this.$W):ee;if(se===u||se===d){var k=this.clone().set(f,1);k.$d[T](_),k.init(),this.$d=k.set(f,Math.min(this.$D,k.daysInMonth())).$d}else T&&this.$d[T](_);return this.init(),this},G.set=function(P,ee){return this.clone().$set(P,ee)},G.get=function(P){return this[J.p(P)]()},G.add=function(P,ee){var H,se=this;P=Number(P);var m=J.p(ee),T=function(w){var R=j(se);return J.w(R.date(R.date()+Math.round(w*P)),se)};if(m===u)return this.set(u,this.$M+P);if(m===d)return this.set(d,this.$y+P);if(m===o)return T(1);if(m===l)return T(7);var _=(H={},H[s]=t,H[a]=e,H[i]=r,H)[m]||1,k=this.$d.getTime()+P*_;return J.w(k,this)},G.subtract=function(P,ee){return this.add(-1*P,ee)},G.format=function(P){var ee=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var se=P||"YYYY-MM-DDTHH:mm:ssZ",m=J.z(this),T=this.$H,_=this.$m,k=this.$M,w=H.weekdays,R=H.months,N=function($,de,ye,fe){return $&&($[de]||$(ee,se))||ye[de].substr(0,fe)},Y=function($){return J.s(T%12||12,$,"0")},L=H.meridiem||function($,de,ye){var fe=$<12?"AM":"PM";return ye?fe.toLowerCase():fe},S={YY:String(this.$y).slice(-2),YYYY:this.$y,M:k+1,MM:J.s(k+1,2,"0"),MMM:N(H.monthsShort,k,R,3),MMMM:N(R,k),D:this.$D,DD:J.s(this.$D,2,"0"),d:String(this.$W),dd:N(H.weekdaysMin,this.$W,w,2),ddd:N(H.weekdaysShort,this.$W,w,3),dddd:w[this.$W],H:String(T),HH:J.s(T,2,"0"),h:Y(1),hh:Y(2),a:L(T,_,!0),A:L(T,_,!1),m:String(_),mm:J.s(_,2,"0"),s:String(this.$s),ss:J.s(this.$s,2,"0"),SSS:J.s(this.$ms,3,"0"),Z:m};return se.replace(b,function($,de){return de||S[$]||m.replace(":","")})},G.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},G.diff=function(P,ee,H){var se,m=J.p(ee),T=j(P),_=(T.utcOffset()-this.utcOffset())*t,k=this-T,w=J.m(this,T);return w=(se={},se[d]=w/12,se[u]=w,se[c]=w/3,se[l]=(k-_)/6048e5,se[o]=(k-_)/864e5,se[a]=k/e,se[s]=k/t,se[i]=k/r,se)[m]||k,H?w:J.a(w)},G.daysInMonth=function(){return this.endOf(u).$D},G.$locale=function(){return q[this.$L]},G.locale=function(P,ee){if(!P)return this.$L;var H=this.clone(),se=Z(P,ee,!0);return se&&(H.$L=se),H},G.clone=function(){return J.w(this.$d,this)},G.toDate=function(){return new Date(this.valueOf())},G.toJSON=function(){return this.isValid()?this.toISOString():null},G.toISOString=function(){return this.$d.toISOString()},G.toString=function(){return this.$d.toUTCString()},K}(),Ne=Pe.prototype;return j.prototype=Ne,[["$ms",n],["$s",i],["$m",s],["$H",a],["$W",o],["$M",u],["$y",d],["$D",f]].forEach(function(K){Ne[K[1]]=function(G){return this.$g(G,K[0],K[1])}}),j.extend=function(K,G){return K.$i||(K(G,Pe,j),K.$i=!0),j},j.locale=Z,j.isDayjs=V,j.unix=function(K){return j(1e3*K)},j.en=q[O],j.Ls=q,j.p={},j})});var Pt=C(Fi=>{"use strict";var ax=Fi&&Fi.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Fi,"__esModule",{value:!0});Fi.findYearClosestToRef=Fi.findMostLikelyADYear=void 0;var ox=ax(je());function lx(r){return r<100&&(r>50?r=r+1900:r=r+2e3),r}Fi.findMostLikelyADYear=lx;function ux(r,t,e){let n=ox.default(r),i=n;i=i.month(e-1),i=i.date(t),i=i.year(n.year());let s=i.add(1,"y"),a=i.add(-1,"y");return Math.abs(s.diff(n))<Math.abs(i.diff(n))?i=s:Math.abs(a.diff(n))<Math.abs(i.diff(n))&&(i=a),i.year()}Fi.findYearClosestToRef=ux});var Nt=C(xe=>{"use strict";Object.defineProperty(xe,"__esModule",{value:!0});xe.parseTimeUnits=xe.TIME_UNITS_PATTERN=xe.parseYear=xe.YEAR_PATTERN=xe.parseOrdinalNumberPattern=xe.ORDINAL_NUMBER_PATTERN=xe.parseNumberPattern=xe.NUMBER_PATTERN=xe.TIME_UNIT_DICTIONARY=xe.ORDINAL_WORD_DICTIONARY=xe.INTEGER_WORD_DICTIONARY=xe.MONTH_DICTIONARY=xe.FULL_MONTH_NAME_DICTIONARY=xe.WEEKDAY_DICTIONARY=void 0;var wu=Qe(),cx=Pt();xe.WEEKDAY_DICTIONARY={sunday:0,sun:0,"sun.":0,monday:1,mon:1,"mon.":1,tuesday:2,tue:2,"tue.":2,wednesday:3,wed:3,"wed.":3,thursday:4,thurs:4,"thurs.":4,thur:4,"thur.":4,thu:4,"thu.":4,friday:5,fri:5,"fri.":5,saturday:6,sat:6,"sat.":6};xe.FULL_MONTH_NAME_DICTIONARY={january:1,february:2,march:3,april:4,may:5,june:6,july:7,august:8,september:9,october:10,november:11,december:12};xe.MONTH_DICTIONARY=Object.assign(Object.assign({},xe.FULL_MONTH_NAME_DICTIONARY),{jan:1,"jan.":1,feb:2,"feb.":2,mar:3,"mar.":3,apr:4,"apr.":4,jun:6,"jun.":6,jul:7,"jul.":7,aug:8,"aug.":8,sep:9,"sep.":9,sept:9,"sept.":9,oct:10,"oct.":10,nov:11,"nov.":11,dec:12,"dec.":12});xe.INTEGER_WORD_DICTIONARY={one:1,two:2,three:3,four:4,five:5,six:6,seven:7,eight:8,nine:9,ten:10,eleven:11,twelve:12};xe.ORDINAL_WORD_DICTIONARY={first:1,second:2,third:3,fourth:4,fifth:5,sixth:6,seventh:7,eighth:8,ninth:9,tenth:10,eleventh:11,twelfth:12,thirteenth:13,fourteenth:14,fifteenth:15,sixteenth:16,seventeenth:17,eighteenth:18,nineteenth:19,twentieth:20,"twenty first":21,"twenty-first":21,"twenty second":22,"twenty-second":22,"twenty third":23,"twenty-third":23,"twenty fourth":24,"twenty-fourth":24,"twenty fifth":25,"twenty-fifth":25,"twenty sixth":26,"twenty-sixth":26,"twenty seventh":27,"twenty-seventh":27,"twenty eighth":28,"twenty-eighth":28,"twenty ninth":29,"twenty-ninth":29,thirtieth:30,"thirty first":31,"thirty-first":31};xe.TIME_UNIT_DICTIONARY={sec:"second",second:"second",seconds:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",hour:"hour",hours:"hour",day:"d",days:"d",week:"week",weeks:"week",month:"month",months:"month",qtr:"quarter",quarter:"quarter",quarters:"quarter",y:"year",yr:"year",year:"year",years:"year"};xe.NUMBER_PATTERN=`(?:${wu.matchAnyPattern(xe.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s{0,2}an?)?|an?\\b(?:\\s{0,2}few)?|few|several|a?\\s{0,2}couple\\s{0,2}(?:of)?)`;function aT(r){let t=r.toLowerCase();return xe.INTEGER_WORD_DICTIONARY[t]!==void 0?xe.INTEGER_WORD_DICTIONARY[t]:t==="a"||t==="an"?1:t.match(/few/)?3:t.match(/half/)?.5:t.match(/couple/)?2:t.match(/several/)?7:parseFloat(t)}xe.parseNumberPattern=aT;xe.ORDINAL_NUMBER_PATTERN=`(?:${wu.matchAnyPattern(xe.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;function dx(r){let t=r.toLowerCase();return xe.ORDINAL_WORD_DICTIONARY[t]!==void 0?xe.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:st|nd|rd|th)$/i,""),parseInt(t))}xe.parseOrdinalNumberPattern=dx;xe.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s{0,2}(?:BE|AD|BC|BCE|CE)|[1-2][0-9]{3}|[5-9][0-9])";function fx(r){if(/BE/i.test(r))return r=r.replace(/BE/i,""),parseInt(r)-543;if(/BCE?/i.test(r))return r=r.replace(/BCE?/i,""),-parseInt(r);if(/(AD|CE)/i.test(r))return r=r.replace(/(AD|CE)/i,""),parseInt(r);let t=parseInt(r);return cx.findMostLikelyADYear(t)}xe.parseYear=fx;var oT=`(${xe.NUMBER_PATTERN})\\s{0,3}(${wu.matchAnyPattern(xe.TIME_UNIT_DICTIONARY)})`,sT=new RegExp(oT,"i");xe.TIME_UNITS_PATTERN=wu.repeatedTimeunitPattern("(?:(?:about|around)\\s{0,3})?",oT);function px(r){let t={},e=r,n=sT.exec(e);for(;n;)mx(t,n),e=e.substring(n[0].length).trim(),n=sT.exec(e);return t}xe.parseTimeUnits=px;function mx(r,t){let e=aT(t[1]),n=xe.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var lT=C((If,Ff)=>{(function(r,t){typeof If=="object"&&typeof Ff!="undefined"?Ff.exports=t():typeof define=="function"&&define.amd?define(t):(r=typeof globalThis!="undefined"?globalThis:r||self).dayjs_plugin_quarterOfYear=t()})(If,function(){"use strict";var r="month",t="quarter";return function(e,n){var i=n.prototype;i.quarter=function(o){return this.$utils().u(o)?Math.ceil((this.month()+1)/3):this.month(this.month()%3+3*(o-1))};var s=i.add;i.add=function(o,l){return o=Number(o),this.$utils().p(l)===t?this.add(3*o,r):s.bind(this)(o,l)};var a=i.startOf;i.startOf=function(o,l){var u=this.$utils(),c=!!u.u(l)||l;if(u.p(o)===t){var d=this.quarter()-1;return c?this.month(3*d).startOf(r).startOf("day"):this.month(3*d+2).endOf(r).endOf("day")}return a.bind(this)(o,l)}}})});var Vn=C(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.implySimilarTime=Pr.assignSimilarTime=Pr.assignSimilarDate=Pr.assignTheNextDay=void 0;var uT=Tt();function hx(r,t){t=t.add(1,"day"),cT(r,t),dT(r,t)}Pr.assignTheNextDay=hx;function cT(r,t){r.assign("day",t.date()),r.assign("month",t.month()+1),r.assign("year",t.year())}Pr.assignSimilarDate=cT;function gx(r,t){r.assign("hour",t.hour()),r.assign("minute",t.minute()),r.assign("second",t.second()),r.assign("millisecond",t.millisecond()),r.get("hour")<12?r.assign("meridiem",uT.Meridiem.AM):r.assign("meridiem",uT.Meridiem.PM)}Pr.assignSimilarTime=gx;function dT(r,t){r.imply("hour",t.hour()),r.imply("minute",t.minute()),r.imply("second",t.second()),r.imply("millisecond",t.millisecond())}Pr.implySimilarTime=dT});var fT=C(ls=>{"use strict";Object.defineProperty(ls,"__esModule",{value:!0});ls.toTimezoneOffset=ls.TIMEZONE_ABBR_MAP=void 0;ls.TIMEZONE_ABBR_MAP={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:-300,FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:180,MST:-420,MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:-480,PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360};function yx(r){var t;return r==null?null:typeof r=="number"?r:(t=ls.TIMEZONE_ABBR_MAP[r])!==null&&t!==void 0?t:null}ls.toTimezoneOffset=yx});var ot=C(Nr=>{"use strict";var pT=Nr&&Nr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Nr,"__esModule",{value:!0});Nr.ParsingResult=Nr.ParsingComponents=Nr.ReferenceWithTimezone=void 0;var bx=pT(lT()),Su=pT(je()),Lf=Vn(),Tx=fT();Su.default.extend(bx.default);var Uf=class{constructor(t){var e;t=t!=null?t:new Date,t instanceof Date?this.instant=t:(this.instant=(e=t.instant)!==null&&e!==void 0?e:new Date,this.timezoneOffset=Tx.toTimezoneOffset(t.timezone))}};Nr.ReferenceWithTimezone=Uf;var us=class{constructor(t,e){if(this.reference=t,this.knownValues={},this.impliedValues={},e)for(let i in e)this.knownValues[i]=e[i];let n=Su.default(t.instant);this.imply("day",n.date()),this.imply("month",n.month()+1),this.imply("year",n.year()),this.imply("hour",12),this.imply("minute",0),this.imply("second",0),this.imply("millisecond",0)}get(t){return t in this.knownValues?this.knownValues[t]:t in this.impliedValues?this.impliedValues[t]:null}isCertain(t){return t in this.knownValues}getCertainComponents(){return Object.keys(this.knownValues)}imply(t,e){return t in this.knownValues?this:(this.impliedValues[t]=e,this)}assign(t,e){return this.knownValues[t]=e,delete this.impliedValues[t],this}delete(t){delete this.knownValues[t],delete this.impliedValues[t]}clone(){let t=new us(this.reference);t.knownValues={},t.impliedValues={};for(let e in this.knownValues)t.knownValues[e]=this.knownValues[e];for(let e in this.impliedValues)t.impliedValues[e]=this.impliedValues[e];return t}isOnlyDate(){return!this.isCertain("hour")&&!this.isCertain("minute")&&!this.isCertain("second")}isOnlyTime(){return!this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyWeekdayComponent(){return this.isCertain("weekday")&&!this.isCertain("day")&&!this.isCertain("month")}isOnlyDayMonthComponent(){return this.isCertain("day")&&this.isCertain("month")&&!this.isCertain("year")}isValidDate(){let t=this.dateWithoutTimezoneAdjustment();return!(t.getFullYear()!==this.get("year")||t.getMonth()!==this.get("month")-1||t.getDate()!==this.get("day")||this.get("hour")!=null&&t.getHours()!=this.get("hour")||this.get("minute")!=null&&t.getMinutes()!=this.get("minute"))}toString(){return`[ParsingComponents {knownValues: ${JSON.stringify(this.knownValues)}, impliedValues: ${JSON.stringify(this.impliedValues)}}, reference: ${JSON.stringify(this.reference)}]`}dayjs(){return Su.default(this.date())}date(){let t=this.dateWithoutTimezoneAdjustment();return new Date(t.getTime()+this.getSystemTimezoneAdjustmentMinute(t)*6e4)}dateWithoutTimezoneAdjustment(){let t=new Date(this.get("year"),this.get("month")-1,this.get("day"),this.get("hour"),this.get("minute"),this.get("second"),this.get("millisecond"));return t.setFullYear(this.get("year")),t}getSystemTimezoneAdjustmentMinute(t){var e,n;(!t||t.getTime()<0)&&(t=new Date);let i=-t.getTimezoneOffset(),s=(n=(e=this.get("timezoneOffset"))!==null&&e!==void 0?e:this.reference.timezoneOffset)!==null&&n!==void 0?n:i;return i-s}static createRelativeFromReference(t,e){let n=Su.default(t.instant);for(let s in e)n=n.add(e[s],s);let i=new us(t);return e.hour||e.minute||e.second?(Lf.assignSimilarTime(i,n),Lf.assignSimilarDate(i,n),t.timezoneOffset!==null&&i.assign("timezoneOffset",-t.instant.getTimezoneOffset())):(Lf.implySimilarTime(i,n),t.timezoneOffset!==null&&i.imply("timezoneOffset",-t.instant.getTimezoneOffset()),e.d?(i.assign("day",n.date()),i.assign("month",n.month()+1),i.assign("year",n.year())):(e.week&&i.imply("weekday",n.day()),i.imply("day",n.date()),e.month?(i.assign("month",n.month()+1),i.assign("year",n.year())):(i.imply("month",n.month()+1),e.year?i.assign("year",n.year()):i.imply("year",n.year())))),i}};Nr.ParsingComponents=us;var So=class{constructor(t,e,n,i,s){this.reference=t,this.refDate=t.instant,this.index=e,this.text=n,this.start=i||new us(t),this.end=s}clone(){let t=new So(this.reference,this.index,this.text);return t.start=this.start?this.start.clone():null,t.end=this.end?this.end.clone():null,t}date(){return this.start.date()}toString(){return`[ParsingResult {index: ${this.index}, text: '${this.text}', ...}]`}};Nr.ParsingResult=So});var ie=C(Du=>{"use strict";Object.defineProperty(Du,"__esModule",{value:!0});Du.AbstractParserWithWordBoundaryChecking=void 0;var Yf=class{constructor(){this.cachedInnerPattern=null,this.cachedPattern=null}patternLeftBoundary(){return"(\\W|^)"}pattern(t){let e=this.innerPattern(t);return e==this.cachedInnerPattern?this.cachedPattern:(this.cachedPattern=new RegExp(`${this.patternLeftBoundary()}${e.source}`,e.flags),this.cachedInnerPattern=e,this.cachedPattern)}extract(t,e){var n;let i=(n=e[1])!==null&&n!==void 0?n:"";e.index=e.index+i.length,e[0]=e[0].substring(i.length);for(let s=2;s<e.length;s++)e[s-1]=e[s];return this.innerExtract(t,e)}};Du.AbstractParserWithWordBoundaryChecking=Yf});var mT=C($f=>{"use strict";Object.defineProperty($f,"__esModule",{value:!0});var Wf=Nt(),vx=ot(),kx=ie(),_x=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Wf.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),wx=new RegExp(`(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Wf.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),qf=class extends kx.AbstractParserWithWordBoundaryChecking{innerPattern(t){return t.option.forwardDate?wx:_x}innerExtract(t,e){let n=Wf.parseTimeUnits(e[1]);return vx.ParsingComponents.createRelativeFromReference(t.reference,n)}};$f.default=qf});var vT=C(Hf=>{"use strict";Object.defineProperty(Hf,"__esModule",{value:!0});var Sx=Pt(),bT=Nt(),TT=Nt(),Eu=Nt(),Dx=Qe(),Ex=ie(),Ox=new RegExp(`(?:on\\s{0,3})?(${Eu.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:to|\\-|\\\u2013|until|through|till)?\\s{0,3}(${Eu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${Dx.matchAnyPattern(bT.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s{0,3})(${TT.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),hT=1,gT=2,xx=3,yT=4,jf=class extends Ex.AbstractParserWithWordBoundaryChecking{innerPattern(){return Ox}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=bT.MONTH_DICTIONARY[e[xx].toLowerCase()],s=Eu.parseOrdinalNumberPattern(e[hT]);if(s>31)return e.index=e.index+e[hT].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[yT]){let a=TT.parseYear(e[yT]);n.start.assign("year",a)}else{let a=Sx.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[gT]){let a=Eu.parseOrdinalNumberPattern(e[gT]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Hf.default=jf});var DT=C(Bf=>{"use strict";Object.defineProperty(Bf,"__esModule",{value:!0});var Rx=Pt(),wT=Nt(),Ou=Nt(),ST=Nt(),Cx=Qe(),Mx=ie(),Ax=new RegExp(`(${Cx.matchAnyPattern(wT.MONTH_DICTIONARY)})(?:-|/|\\s*,?\\s*)(${Ou.ORDINAL_NUMBER_PATTERN})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${Ou.ORDINAL_NUMBER_PATTERN})\\s*)?(?:(?:-|/|\\s*,?\\s*)(${ST.YEAR_PATTERN}))?(?=\\W|$)(?!\\:\\d)`,"i"),Px=1,Nx=2,kT=3,_T=4,Gf=class extends Mx.AbstractParserWithWordBoundaryChecking{innerPattern(){return Ax}innerExtract(t,e){let n=wT.MONTH_DICTIONARY[e[Px].toLowerCase()],i=Ou.parseOrdinalNumberPattern(e[Nx]);if(i>31)return null;let s=t.createParsingComponents({day:i,month:n});if(e[_T]){let l=ST.parseYear(e[_T]);s.assign("year",l)}else{let l=Rx.findYearClosestToRef(t.refDate,i,n);s.imply("year",l)}if(!e[kT])return s;let a=Ou.parseOrdinalNumberPattern(e[kT]),o=t.createParsingResult(e.index,e[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};Bf.default=Gf});var xT=C(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});var Vf=Nt(),Ix=Pt(),Fx=Qe(),OT=Nt(),Lx=ie(),Ux=new RegExp(`((?:in)\\s*)?(${Fx.matchAnyPattern(Vf.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${OT.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),Yx=1,qx=2,ET=3,zf=class extends Lx.AbstractParserWithWordBoundaryChecking{innerPattern(){return Ux}innerExtract(t,e){let n=e[qx].toLowerCase();if(e[0].length<=3&&!Vf.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=t.createParsingResult(e.index+(e[Yx]||"").length,e.index+e[0].length);i.start.imply("day",1);let s=Vf.MONTH_DICTIONARY[n];if(i.start.assign("month",s),e[ET]){let a=OT.parseYear(e[ET]);i.start.assign("year",a)}else{let a=Ix.findYearClosestToRef(t.refDate,1,s);i.start.imply("year",a)}return i}};Kf.default=zf});var MT=C(Xf=>{"use strict";Object.defineProperty(Xf,"__esModule",{value:!0});var CT=Nt(),Wx=Qe(),$x=ie(),jx=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${Wx.matchAnyPattern(CT.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),Hx=1,Gx=2,RT=3,Bx=4,Qf=class extends $x.AbstractParserWithWordBoundaryChecking{innerPattern(){return jx}innerExtract(t,e){let n=e[RT]?parseInt(e[RT]):CT.MONTH_DICTIONARY[e[Gx].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(e[Hx]);return{day:parseInt(e[Bx]),month:n,year:i}}};Xf.default=Qf});var AT=C(Jf=>{"use strict";Object.defineProperty(Jf,"__esModule",{value:!0});var Vx=ie(),zx=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),Kx=1,Qx=2,Zf=class extends Vx.AbstractParserWithWordBoundaryChecking{innerPattern(){return zx}innerExtract(t,e){let n=parseInt(e[Qx]),i=parseInt(e[Kx]);return t.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};Jf.default=Zf});var cs=C(Cu=>{"use strict";Object.defineProperty(Cu,"__esModule",{value:!0});Cu.AbstractTimeExpressionParser=void 0;var an=Tt();function Xx(r,t,e,n){return new RegExp(`${r}${t}(\\d{1,4})(?:(?:\\.|:|\uFF1A)(\\d{1,2})(?:(?::|\uFF1A)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${e}`,n)}function Zx(r,t){return new RegExp(`^(${r})(\\d{1,4})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,"i")}var PT=2,sa=3,xu=4,Ru=5,Do=6,ep=class{constructor(t=!1){this.cachedPrimaryPrefix=null,this.cachedPrimarySuffix=null,this.cachedPrimaryTimePattern=null,this.cachedFollowingPhase=null,this.cachedFollowingSuffix=null,this.cachedFollowingTimePatten=null,this.strictMode=t}patternFlags(){return"i"}primaryPatternLeftBoundary(){return"(^|\\s|T|\\b)"}primarySuffix(){return"(?=\\W|$)"}followingSuffix(){return"(?=\\W|$)"}pattern(t){return this.getPrimaryTimePatternThroughCache()}extract(t,e){let n=this.extractPrimaryTimeComponents(t,e);if(!n)return e.index+=e[0].length,null;let i=e.index+e[1].length,s=e[0].substring(e[1].length),a=t.createParsingResult(i,s,n);e.index+=e[0].length;let o=t.text.substring(e.index),u=this.getFollowingTimePatternThroughCache().exec(o);return s.match(/^\d{3,4}/)&&u&&u[0].match(/^\s*([+-])\s*\d{2,4}$/)?null:!u||u[0].match(/^\s*([+-])\s*\d{3,4}$/)?this.checkAndReturnWithoutFollowingPattern(a):(a.end=this.extractFollowingTimeComponents(t,u,a),a.end&&(a.text+=u[0]),this.checkAndReturnWithFollowingPattern(a))}extractPrimaryTimeComponents(t,e,n=!1){let i=t.createParsingComponents(),s=0,a=null,o=parseInt(e[PT]);if(o>100){if(this.strictMode||e[sa]!=null)return null;s=o%100,o=Math.floor(o/100)}if(o>24)return null;if(e[sa]!=null){if(e[sa].length==1&&!e[Do])return null;s=parseInt(e[sa])}if(s>=60)return null;if(o>12&&(a=an.Meridiem.PM),e[Do]!=null){if(o>12)return null;let l=e[Do][0].toLowerCase();l=="a"&&(a=an.Meridiem.AM,o==12&&(o=0)),l=="p"&&(a=an.Meridiem.PM,o!=12&&(o+=12))}if(i.assign("hour",o),i.assign("minute",s),a!==null?i.assign("meridiem",a):o<12?i.imply("meridiem",an.Meridiem.AM):i.imply("meridiem",an.Meridiem.PM),e[Ru]!=null){let l=parseInt(e[Ru].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(e[xu]!=null){let l=parseInt(e[xu]);if(l>=60)return null;i.assign("second",l)}return i}extractFollowingTimeComponents(t,e,n){let i=t.createParsingComponents();if(e[Ru]!=null){let l=parseInt(e[Ru].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(e[xu]!=null){let l=parseInt(e[xu]);if(l>=60)return null;i.assign("second",l)}let s=parseInt(e[PT]),a=0,o=-1;if(e[sa]!=null?a=parseInt(e[sa]):s>100&&(a=s%100,s=Math.floor(s/100)),a>=60||s>24)return null;if(s>=12&&(o=an.Meridiem.PM),e[Do]!=null){if(s>12)return null;let l=e[Do][0].toLowerCase();l=="a"&&(o=an.Meridiem.AM,s==12&&(s=0,i.isCertain("day")||i.imply("day",i.get("day")+1))),l=="p"&&(o=an.Meridiem.PM,s!=12&&(s+=12)),n.start.isCertain("meridiem")||(o==an.Meridiem.AM?(n.start.imply("meridiem",an.Meridiem.AM),n.start.get("hour")==12&&n.start.assign("hour",0)):(n.start.imply("meridiem",an.Meridiem.PM),n.start.get("hour")!=12&&n.start.assign("hour",n.start.get("hour")+12)))}return i.assign("hour",s),i.assign("minute",a),o>=0?i.assign("meridiem",o):n.start.isCertain("meridiem")&&n.start.get("hour")>12?n.start.get("hour")-12>s?i.imply("meridiem",an.Meridiem.AM):s<=12&&(i.assign("hour",s+12),i.assign("meridiem",an.Meridiem.PM)):s>12?i.imply("meridiem",an.Meridiem.PM):s<=12&&i.imply("meridiem",an.Meridiem.AM),i.date().getTime()<n.start.date().getTime()&&i.imply("day",i.get("day")+1),i}checkAndReturnWithoutFollowingPattern(t){if(t.text.match(/^\d$/)||t.text.match(/^\d\d\d+$/)||t.text.match(/\d[apAP]$/))return null;let e=t.text.match(/[^\d:.](\d[\d.]+)$/);if(e){let n=e[1];if(this.strictMode||n.includes(".")&&!n.match(/\d(\.\d{2})+$/)||parseInt(n)>24)return null}return t}checkAndReturnWithFollowingPattern(t){if(t.text.match(/^\d+-\d+$/))return null;let e=t.text.match(/[^\d:.](\d[\d.]+)\s*-\s*(\d[\d.]+)$/);if(e){if(this.strictMode)return null;let n=e[1],i=e[2];if(i.includes(".")&&!i.match(/\d(\.\d{2})+$/))return null;let s=parseInt(i),a=parseInt(n);if(s>24||a>24)return null}return t}getPrimaryTimePatternThroughCache(){let t=this.primaryPrefix(),e=this.primarySuffix();return this.cachedPrimaryPrefix===t&&this.cachedPrimarySuffix===e?this.cachedPrimaryTimePattern:(this.cachedPrimaryTimePattern=Xx(this.primaryPatternLeftBoundary(),t,e,this.patternFlags()),this.cachedPrimaryPrefix=t,this.cachedPrimarySuffix=e,this.cachedPrimaryTimePattern)}getFollowingTimePatternThroughCache(){let t=this.followingPhase(),e=this.followingSuffix();return this.cachedFollowingPhase===t&&this.cachedFollowingSuffix===e?this.cachedFollowingTimePatten:(this.cachedFollowingTimePatten=Zx(t,e),this.cachedFollowingPhase=t,this.cachedFollowingSuffix=e,this.cachedFollowingTimePatten)}};Cu.AbstractTimeExpressionParser=ep});var NT=C(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});var Mu=Tt(),Jx=cs(),tp=class extends Jx.AbstractTimeExpressionParser{constructor(t){super(t)}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|to|\\?)\\s*"}primaryPrefix(){return"(?:(?:at|from)\\s*)??"}primarySuffix(){return"(?:\\s*(?:o\\W*clock|at\\s*night|in\\s*the\\s*(?:morning|afternoon)))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(t,e){let n=super.extractPrimaryTimeComponents(t,e);if(n){if(e[0].endsWith("night")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",Mu.Meridiem.PM)):i<6&&n.assign("meridiem",Mu.Meridiem.AM)}if(e[0].endsWith("afternoon")){n.assign("meridiem",Mu.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}e[0].endsWith("morning")&&(n.assign("meridiem",Mu.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};np.default=tp});var zn=C(aa=>{"use strict";Object.defineProperty(aa,"__esModule",{value:!0});aa.addImpliedTimeUnits=aa.reverseTimeUnits=void 0;function e0(r){let t={};for(let e in r)t[e]=-r[e];return t}aa.reverseTimeUnits=e0;function t0(r,t){let e=r.clone(),n=r.dayjs();for(let i in t)n=n.add(t[i],i);return("day"in t||"d"in t||"week"in t||"month"in t||"year"in t)&&(e.imply("day",n.date()),e.imply("month",n.month()+1),e.imply("year",n.year())),("second"in t||"minute"in t||"hour"in t)&&(e.imply("second",n.second()),e.imply("minute",n.minute()),e.imply("hour",n.hour())),e}aa.addImpliedTimeUnits=t0});var IT=C(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});var ip=Nt(),n0=ot(),r0=ie(),i0=zn(),s0=new RegExp(`(${ip.TIME_UNITS_PATTERN})\\s{0,5}(?:ago|before|earlier)(?=(?:\\W|$))`,"i"),a0=new RegExp(`(${ip.TIME_UNITS_PATTERN})\\s{0,5}ago(?=(?:\\W|$))`,"i"),rp=class extends r0.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?a0:s0}innerExtract(t,e){let n=ip.parseTimeUnits(e[1]),i=i0.reverseTimeUnits(n);return n0.ParsingComponents.createRelativeFromReference(t.reference,i)}};sp.default=rp});var FT=C(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});var op=Nt(),o0=ot(),l0=ie(),u0=new RegExp(`(${op.TIME_UNITS_PATTERN})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),c0=new RegExp("("+op.TIME_UNITS_PATTERN+")(later|from now)(?=(?:\\W|$))","i"),d0=1,ap=class extends l0.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?c0:u0}innerExtract(t,e){let n=op.parseTimeUnits(e[d0]);return o0.ParsingComponents.createRelativeFromReference(t.reference,n)}};lp.default=ap});var la=C(oa=>{"use strict";Object.defineProperty(oa,"__esModule",{value:!0});oa.MergingRefiner=oa.Filter=void 0;var up=class{refine(t,e){return e.filter(n=>this.isValid(t,n))}};oa.Filter=up;var cp=class{refine(t,e){if(e.length<2)return e;let n=[],i=e[0],s=null;for(let a=1;a<e.length;a++){s=e[a];let o=t.text.substring(i.index+i.text.length,s.index);if(!this.shouldMergeResults(o,i,s,t))n.push(i),i=s;else{let l=i,u=s,c=this.mergeResults(o,l,u,t);t.debug(()=>{console.log(`${this.constructor.name} merged ${l} and ${u} into ${c}`)}),i=c}}return i!=null&&n.push(i),n}};oa.MergingRefiner=cp});var Ir=C(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});var f0=la(),dp=class extends f0.MergingRefiner{shouldMergeResults(t,e,n){return!e.end&&!n.end&&t.match(this.patternBetween())!=null}mergeResults(t,e,n){if(!e.start.isOnlyWeekdayComponent()&&!n.start.isOnlyWeekdayComponent()&&(n.start.getCertainComponents().forEach(s=>{e.start.isCertain(s)||e.start.assign(s,n.start.get(s))}),e.start.getCertainComponents().forEach(s=>{n.start.isCertain(s)||n.start.assign(s,e.start.get(s))})),e.start.date().getTime()>n.start.date().getTime()){let s=e.start.dayjs(),a=n.start.dayjs();e.start.isOnlyWeekdayComponent()&&s.add(-7,"days").isBefore(a)?(s=s.add(-7,"days"),e.start.imply("day",s.date()),e.start.imply("month",s.month()+1),e.start.imply("year",s.year())):n.start.isOnlyWeekdayComponent()&&a.add(7,"days").isAfter(s)?(a=a.add(7,"days"),n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())):[n,e]=[e,n]}let i=e.clone();return i.start=e.start,i.end=n.start,i.index=Math.min(e.index,n.index),e.index<n.index?i.text=e.text+t+n.text:i.text=n.text+t+e.text,i}};fp.default=dp});var LT=C(Eo=>{"use strict";var p0=Eo&&Eo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Eo,"__esModule",{value:!0});var m0=p0(Ir()),pp=class extends m0.default{patternBetween(){return/^\s*(to|-)\s*$/i}};Eo.default=pp});var UT=C(ua=>{"use strict";Object.defineProperty(ua,"__esModule",{value:!0});ua.mergeDateTimeComponent=ua.mergeDateTimeResult=void 0;var h0=Tt();function g0(r,t){let e=r.clone(),n=r.start,i=t.start;if(e.start=mp(n,i),r.end!=null||t.end!=null){let s=r.end==null?r.start:r.end,a=t.end==null?t.start:t.end,o=mp(s,a);r.end==null&&o.date().getTime()<e.start.date().getTime()&&(o.isCertain("day")?o.assign("day",o.get("day")+1):o.imply("day",o.get("day")+1)),e.end=o}return e}ua.mergeDateTimeResult=g0;function mp(r,t){let e=r.clone();return t.isCertain("hour")?(e.assign("hour",t.get("hour")),e.assign("minute",t.get("minute")),t.isCertain("second")?(e.assign("second",t.get("second")),t.isCertain("millisecond")?e.assign("millisecond",t.get("millisecond")):e.imply("millisecond",t.get("millisecond"))):(e.imply("second",t.get("second")),e.imply("millisecond",t.get("millisecond")))):(e.imply("hour",t.get("hour")),e.imply("minute",t.get("minute")),e.imply("second",t.get("second")),e.imply("millisecond",t.get("millisecond"))),t.isCertain("timezoneOffset")&&e.assign("timezoneOffset",t.get("timezoneOffset")),t.isCertain("meridiem")?e.assign("meridiem",t.get("meridiem")):t.get("meridiem")!=null&&e.get("meridiem")==null&&e.imply("meridiem",t.get("meridiem")),e.get("meridiem")==h0.Meridiem.PM&&e.get("hour")<12&&(t.isCertain("hour")?e.assign("hour",e.get("hour")+12):e.imply("hour",e.get("hour")+12)),e}ua.mergeDateTimeComponent=mp});var ii=C(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});var y0=la(),YT=UT(),hp=class extends y0.MergingRefiner{shouldMergeResults(t,e,n){return(e.start.isOnlyDate()&&n.start.isOnlyTime()||n.start.isOnlyDate()&&e.start.isOnlyTime())&&t.match(this.patternBetween())!=null}mergeResults(t,e,n){let i=e.start.isOnlyDate()?YT.mergeDateTimeResult(e,n):YT.mergeDateTimeResult(n,e);return i.index=e.index,i.text=e.text+t+n.text,i}};gp.default=hp});var qT=C(Oo=>{"use strict";var b0=Oo&&Oo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Oo,"__esModule",{value:!0});var T0=b0(ii()),yp=class extends T0.default{patternBetween(){return new RegExp("^\\s*(T|at|after|before|on|of|,|-)?\\s*$")}};Oo.default=yp});var WT=C(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});var v0=new RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i"),k0={ACDT:630,ACST:570,ADT:-180,AEDT:660,AEST:600,AFT:270,AKDT:-480,AKST:-540,ALMT:360,AMST:-180,AMT:-240,ANAST:720,ANAT:720,AQTT:300,ART:-180,AST:-240,AWDT:540,AWST:480,AZOST:0,AZOT:-60,AZST:300,AZT:240,BNT:480,BOT:-240,BRST:-120,BRT:-180,BST:60,BTT:360,CAST:480,CAT:120,CCT:390,CDT:-300,CEST:120,CET:60,CHADT:825,CHAST:765,CKT:-600,CLST:-180,CLT:-240,COT:-300,CST:-360,CVT:-60,CXT:420,ChST:600,DAVT:420,EASST:-300,EAST:-360,EAT:180,ECT:-300,EDT:-240,EEST:180,EET:120,EGST:0,EGT:-60,EST:-300,ET:-300,FJST:780,FJT:720,FKST:-180,FKT:-240,FNT:-120,GALT:-360,GAMT:-540,GET:240,GFT:-180,GILT:720,GMT:0,GST:240,GYT:-240,HAA:-180,HAC:-300,HADT:-540,HAE:-240,HAP:-420,HAR:-360,HAST:-600,HAT:-90,HAY:-480,HKT:480,HLV:-210,HNA:-240,HNC:-360,HNE:-300,HNP:-480,HNR:-420,HNT:-150,HNY:-540,HOVT:420,ICT:420,IDT:180,IOT:360,IRDT:270,IRKST:540,IRKT:540,IRST:210,IST:330,JST:540,KGT:360,KRAST:480,KRAT:480,KST:540,KUYT:240,LHDT:660,LHST:630,LINT:840,MAGST:720,MAGT:720,MART:-510,MAWT:300,MDT:-360,MESZ:120,MEZ:60,MHT:720,MMT:390,MSD:240,MSK:240,MST:-420,MUT:240,MVT:300,MYT:480,NCT:660,NDT:-90,NFT:690,NOVST:420,NOVT:360,NPT:345,NST:-150,NUT:-660,NZDT:780,NZST:720,OMSST:420,OMST:420,PDT:-420,PET:-300,PETST:720,PETT:720,PGT:600,PHOT:780,PHT:480,PKT:300,PMDT:-120,PMST:-180,PONT:660,PST:-480,PT:-480,PWT:540,PYST:-180,PYT:-240,RET:240,SAMT:240,SAST:120,SBT:660,SCT:240,SGT:480,SRT:-180,SST:-660,TAHT:-600,TFT:300,TJT:300,TKT:780,TLT:540,TMT:300,TVT:720,ULAT:480,UTC:0,UYST:-120,UYT:-180,UZT:300,VET:-210,VLAST:660,VLAT:660,VUT:660,WAST:120,WAT:60,WEST:60,WESZ:60,WET:0,WEZ:0,WFT:720,WGST:-120,WGT:-180,WIB:420,WIT:540,WITA:480,WST:780,WT:0,YAKST:600,YAKT:600,YAPT:600,YEKST:360,YEKT:360},bp=class{constructor(t){this.timezone=Object.assign(Object.assign({},k0),t)}refine(t,e){var n;let i=(n=t.option.timezones)!==null&&n!==void 0?n:{};return e.forEach(s=>{var a,o;let l=t.text.substring(s.index+s.text.length),u=v0.exec(l);if(!u)return;let c=u[1].toUpperCase(),d=(o=(a=i[c])!==null&&a!==void 0?a:this.timezone[c])!==null&&o!==void 0?o:null;if(d===null)return;t.debug(()=>{console.log(`Extracting timezone: '${c}' into: ${d} for: ${s.start}`)});let f=s.start.get("timezoneOffset");f!==null&&d!=f&&(s.start.isCertain("timezoneOffset")||c!=u[1])||s.start.isOnlyDate()&&c!=u[1]||(s.text+=u[0],s.start.isCertain("timezoneOffset")||s.start.assign("timezoneOffset",d),s.end!=null&&!s.end.isCertain("timezoneOffset")&&s.end.assign("timezoneOffset",d))}),e}};Tp.default=bp});var Au=C(kp=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});var _0=new RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i"),w0=1,S0=2,D0=3,vp=class{refine(t,e){return e.forEach(function(n){if(n.start.isCertain("timezoneOffset"))return;let i=t.text.substring(n.index+n.text.length),s=_0.exec(i);if(!s)return;t.debug(()=>{console.log(`Extracting timezone: '${s[0]}' into : ${n}`)});let a=parseInt(s[S0]),o=parseInt(s[D0]||"0"),l=a*60+o;l>14*60||(s[w0]==="-"&&(l=-l),n.end!=null&&n.end.assign("timezoneOffset",l),n.start.assign("timezoneOffset",l),n.text+=s[0])}),e}};kp.default=vp});var $T=C(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});var _p=class{refine(t,e){if(e.length<2)return e;let n=[],i=e[0];for(let s=1;s<e.length;s++){let a=e[s];a.index<i.index+i.text.length?a.text.length>i.text.length&&(i=a):(n.push(i),i=a)}return i!=null&&n.push(i),n}};wp.default=_p});var jT=C(xo=>{"use strict";var E0=xo&&xo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(xo,"__esModule",{value:!0});var O0=E0(je()),Sp=class{refine(t,e){return t.option.forwardDate&&e.forEach(function(n){let i=O0.default(t.refDate);if(n.start.isOnlyDayMonthComponent()&&i.isAfter(n.start.dayjs()))for(let s=0;s<3&&i.isAfter(n.start.dayjs());s++)n.start.imply("year",n.start.get("year")+1),t.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.start})`)}),n.end&&!n.end.isCertain("year")&&(n.end.imply("year",n.end.get("year")+1),t.debug(()=>{console.log(`Forward yearly adjusted for ${n} (${n.end})`)}));n.start.isOnlyWeekdayComponent()&&i.isAfter(n.start.dayjs())&&(i.day()>=n.start.get("weekday")?i=i.day(n.start.get("weekday")+7):i=i.day(n.start.get("weekday")),n.start.imply("day",i.date()),n.start.imply("month",i.month()+1),n.start.imply("year",i.year()),t.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${n.start})`)}),n.end&&n.end.isOnlyWeekdayComponent()&&(i.day()>n.end.get("weekday")?i=i.day(n.end.get("weekday")+7):i=i.day(n.end.get("weekday")),n.end.imply("day",i.date()),n.end.imply("month",i.month()+1),n.end.imply("year",i.year()),t.debug(()=>{console.log(`Forward weekly adjusted for ${n} (${n.end})`)})))}),e}};xo.default=Sp});var HT=C(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});var x0=la(),Dp=class extends x0.Filter{constructor(t){super(),this.strictMode=t}isValid(t,e){return e.text.replace(" ","").match(/^\d*(\.\d*)?$/)?(t.debug(()=>{console.log(`Removing unlikely result '${e.text}'`)}),!1):e.start.isValidDate()?e.end&&!e.end.isValidDate()?(t.debug(()=>{console.log(`Removing invalid result: ${e} (${e.end})`)}),!1):this.strictMode?this.isStrictModeValid(t,e):!0:(t.debug(()=>{console.log(`Removing invalid result: ${e} (${e.start})`)}),!1)}isStrictModeValid(t,e){return e.start.isOnlyWeekdayComponent()?(t.debug(()=>{console.log(`(Strict) Removing weekday only component: ${e} (${e.end})`)}),!1):e.start.isOnlyTime()&&(!e.start.isCertain("hour")||!e.start.isCertain("minute"))?(t.debug(()=>{console.log(`(Strict) Removing uncertain time component: ${e} (${e.end})`)}),!1):!0}};Ep.default=Dp});var Rp=C(xp=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});var R0=ie(),C0=new RegExp("([0-9]{4})\\-([0-9]{1,2})\\-([0-9]{1,2})(?:T([0-9]{1,2}):([0-9]{1,2})(?::([0-9]{1,2})(?:\\.(\\d{1,4}))?)?(?:Z|([+-]\\d{2}):?(\\d{2})?)?)?(?=\\W|$)","i"),M0=1,A0=2,P0=3,GT=4,N0=5,BT=6,VT=7,zT=8,KT=9,Op=class extends R0.AbstractParserWithWordBoundaryChecking{innerPattern(){return C0}innerExtract(t,e){let n={};if(n.year=parseInt(e[M0]),n.month=parseInt(e[A0]),n.day=parseInt(e[P0]),e[GT]!=null)if(n.hour=parseInt(e[GT]),n.minute=parseInt(e[N0]),e[BT]!=null&&(n.second=parseInt(e[BT])),e[VT]!=null&&(n.millisecond=parseInt(e[VT])),e[zT]==null)n.timezoneOffset=0;else{let i=parseInt(e[zT]),s=0;e[KT]!=null&&(s=parseInt(e[KT]));let a=i*60;a<0?a-=s:a+=s,n.timezoneOffset=a}return n}};xp.default=Op});var QT=C(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});var I0=la(),Cp=class extends I0.MergingRefiner{mergeResults(t,e,n){let i=n.clone();return i.index=e.index,i.text=e.text+t+i.text,i.start.assign("weekday",e.start.get("weekday")),i.end&&i.end.assign("weekday",e.start.get("weekday")),i}shouldMergeResults(t,e,n){return e.start.isOnlyWeekdayComponent()&&!e.start.isCertain("hour")&&n.start.isCertain("day")&&t.match(/^,?\s*$/)!=null}};Mp.default=Cp});var si=C(ca=>{"use strict";var ds=ca&&ca.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ca,"__esModule",{value:!0});ca.includeCommonConfiguration=void 0;var F0=ds(WT()),L0=ds(Au()),XT=ds($T()),U0=ds(jT()),Y0=ds(HT()),q0=ds(Rp()),W0=ds(QT());function $0(r,t=!1){return r.parsers.unshift(new q0.default),r.refiners.unshift(new W0.default),r.refiners.unshift(new F0.default),r.refiners.unshift(new L0.default),r.refiners.unshift(new XT.default),r.refiners.push(new XT.default),r.refiners.push(new U0.default),r.refiners.push(new Y0.default(t)),r}ca.includeCommonConfiguration=$0});var oi=C(Ke=>{"use strict";var j0=Ke&&Ke.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ke,"__esModule",{value:!0});Ke.noon=Ke.morning=Ke.midnight=Ke.yesterdayEvening=Ke.evening=Ke.lastNight=Ke.tonight=Ke.theDayAfter=Ke.tomorrow=Ke.theDayBefore=Ke.yesterday=Ke.today=Ke.now=void 0;var Fr=ot(),da=j0(je()),ai=Vn(),Ro=Tt();function H0(r){let t=da.default(r.instant),e=new Fr.ParsingComponents(r,{});return ai.assignSimilarDate(e,t),ai.assignSimilarTime(e,t),r.timezoneOffset!==null&&e.assign("timezoneOffset",t.utcOffset()),e}Ke.now=H0;function G0(r){let t=da.default(r.instant),e=new Fr.ParsingComponents(r,{});return ai.assignSimilarDate(e,t),ai.implySimilarTime(e,t),e}Ke.today=G0;function B0(r){return ZT(r,1)}Ke.yesterday=B0;function ZT(r,t){return Ap(r,-t)}Ke.theDayBefore=ZT;function V0(r){return Ap(r,1)}Ke.tomorrow=V0;function Ap(r,t){let e=da.default(r.instant),n=new Fr.ParsingComponents(r,{});return e=e.add(t,"day"),ai.assignSimilarDate(n,e),ai.implySimilarTime(n,e),n}Ke.theDayAfter=Ap;function z0(r,t=22){let e=da.default(r.instant),n=new Fr.ParsingComponents(r,{});return n.imply("hour",t),n.imply("meridiem",Ro.Meridiem.PM),ai.assignSimilarDate(n,e),n}Ke.tonight=z0;function K0(r,t=0){let e=da.default(r.instant),n=new Fr.ParsingComponents(r,{});return e.hour()<6&&(e=e.add(-1,"day")),ai.assignSimilarDate(n,e),n.imply("hour",t),n}Ke.lastNight=K0;function Q0(r,t=20){let e=new Fr.ParsingComponents(r,{});return e.imply("meridiem",Ro.Meridiem.PM),e.imply("hour",t),e}Ke.evening=Q0;function X0(r,t=20){let e=da.default(r.instant),n=new Fr.ParsingComponents(r,{});return e=e.add(-1,"day"),ai.assignSimilarDate(n,e),n.imply("hour",t),n.imply("meridiem",Ro.Meridiem.PM),n}Ke.yesterdayEvening=X0;function Z0(r){let t=new Fr.ParsingComponents(r,{});return t.imply("hour",0),t.imply("minute",0),t.imply("second",0),t}Ke.midnight=Z0;function J0(r,t=6){let e=new Fr.ParsingComponents(r,{});return e.imply("meridiem",Ro.Meridiem.AM),e.imply("hour",t),e}Ke.morning=J0;function eR(r){let t=new Fr.ParsingComponents(r,{});return t.imply("meridiem",Ro.Meridiem.AM),t.imply("hour",12),t}Ke.noon=eR});var JT=C(mr=>{"use strict";var tR=mr&&mr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),nR=mr&&mr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),rR=mr&&mr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&tR(t,r,e);return nR(t,r),t},iR=mr&&mr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(mr,"__esModule",{value:!0});var sR=iR(je()),aR=ie(),oR=Vn(),Co=rR(oi()),lR=/(now|today|tonight|tomorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,Pp=class extends aR.AbstractParserWithWordBoundaryChecking{innerPattern(t){return lR}innerExtract(t,e){let n=sR.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();switch(i){case"now":return Co.now(t.reference);case"today":return Co.today(t.reference);case"yesterday":return Co.yesterday(t.reference);case"tomorrow":case"tmr":case"tmrw":return Co.tomorrow(t.reference);case"tonight":return Co.tonight(t.reference);default:i.match(/last\s*night/)&&(n.hour()>6&&(n=n.add(-1,"day")),oR.assignSimilarDate(s,n),s.imply("hour",0));break}return s}};mr.default=Pp});var ev=C(Mo=>{"use strict";var uR=Mo&&Mo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Mo,"__esModule",{value:!0});var Pu=Tt(),cR=ie(),dR=uR(je()),fR=Vn(),pR=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|noon)(?=\W|$)/i,Np=class extends cR.AbstractParserWithWordBoundaryChecking{innerPattern(){return pR}innerExtract(t,e){let n=dR.default(t.refDate),i=t.createParsingComponents();switch(e[1].toLowerCase()){case"afternoon":i.imply("meridiem",Pu.Meridiem.PM),i.imply("hour",15);break;case"evening":case"night":i.imply("meridiem",Pu.Meridiem.PM),i.imply("hour",20);break;case"midnight":fR.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"morning":i.imply("meridiem",Pu.Meridiem.AM),i.imply("hour",6);break;case"noon":i.imply("meridiem",Pu.Meridiem.AM),i.imply("hour",12);break}return i}};Mo.default=Np});var fs=C(Li=>{"use strict";var mR=Li&&Li.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Li,"__esModule",{value:!0});Li.toDayJSClosestWeekday=Li.toDayJSWeekday=void 0;var tv=mR(je());function hR(r,t,e){if(!e)return nv(r,t);let n=tv.default(r);switch(e){case"this":n=n.day(t);break;case"next":n=n.day(t+7);break;case"last":n=n.day(t-7);break}return n}Li.toDayJSWeekday=hR;function nv(r,t){let e=tv.default(r),n=e.day();return Math.abs(t-7-n)<Math.abs(t-n)?e=e.day(t-7):Math.abs(t+7-n)<Math.abs(t-n)?e=e.day(t+7):e=e.day(t),e}Li.toDayJSClosestWeekday=nv});var iv=C(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});var rv=Nt(),gR=Qe(),yR=ie(),bR=fs(),TR=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${gR.matchAnyPattern(rv.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i"),vR=1,kR=2,_R=3,Ip=class extends yR.AbstractParserWithWordBoundaryChecking{innerPattern(){return TR}innerExtract(t,e){let n=e[kR].toLowerCase(),i=rv.WEEKDAY_DICTIONARY[n],s=e[vR],a=e[_R],o=s||a;o=o||"",o=o.toLowerCase();let l=null;o=="last"||o=="past"?l="last":o=="next"?l="next":o=="this"&&(l="this");let u=bR.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};Fp.default=Ip});var ov=C(Ao=>{"use strict";var wR=Ao&&Ao.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ao,"__esModule",{value:!0});var av=Nt(),sv=ot(),SR=wR(je()),DR=ie(),ER=Qe(),OR=new RegExp(`(this|last|past|next|after\\s*this)\\s*(${ER.matchAnyPattern(av.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),xR=1,RR=2,Lp=class extends DR.AbstractParserWithWordBoundaryChecking{innerPattern(){return OR}innerExtract(t,e){let n=e[xR].toLowerCase(),i=e[RR].toLowerCase(),s=av.TIME_UNIT_DICTIONARY[i];if(n=="next"||n.startsWith("after")){let l={};return l[s]=1,sv.ParsingComponents.createRelativeFromReference(t.reference,l)}if(n=="last"||n=="past"){let l={};return l[s]=-1,sv.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=SR.default(t.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};Ao.default=Lp});var hr=C(ma=>{"use strict";Object.defineProperty(ma,"__esModule",{value:!0});ma.ParsingContext=ma.Chrono=void 0;var fa=ot(),CR=Up(),pa=class{constructor(t){t=t||CR.createCasualConfiguration(),this.parsers=[...t.parsers],this.refiners=[...t.refiners]}clone(){return new pa({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(t,e,n){let i=this.parse(t,e,n);return i.length>0?i[0].start.date():null}parse(t,e,n){let i=new Nu(t,e,n),s=[];return this.parsers.forEach(a=>{let o=pa.executeParser(i,a);s=s.concat(o)}),s.sort((a,o)=>a.index-o.index),this.refiners.forEach(function(a){s=a.refine(i,s)}),s}static executeParser(t,e){let n=[],i=e.pattern(t),s=t.text,a=t.text,o=i.exec(a);for(;o;){let l=o.index+s.length-a.length;o.index=l;let u=e.extract(t,o);if(!u){a=s.substring(o.index+1),o=i.exec(a);continue}let c=null;u instanceof fa.ParsingResult?c=u:u instanceof fa.ParsingComponents?(c=t.createParsingResult(o.index,o[0]),c.start=u):c=t.createParsingResult(o.index,o[0],u),t.debug(()=>console.log(`${e.constructor.name} extracted result ${c}`)),n.push(c),a=s.substring(l+c.text.length),o=i.exec(a)}return n}};ma.Chrono=pa;var Nu=class{constructor(t,e,n){this.text=t,this.reference=new fa.ReferenceWithTimezone(e),this.option=n!=null?n:{},this.refDate=this.reference.instant}createParsingComponents(t){return t instanceof fa.ParsingComponents?t:new fa.ParsingComponents(this.reference,t)}createParsingResult(t,e,n,i){let s=typeof e=="string"?e:this.text.substring(t,e),a=n?this.createParsingComponents(n):null,o=i?this.createParsingComponents(i):null;return new fa.ParsingResult(this.reference,t,s,a,o)}debug(t){this.option.debug&&(this.option.debug instanceof Function?this.option.debug(t):this.option.debug.debug(t))}};ma.ParsingContext=Nu});var ps=C(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});var lv=Pt(),MR=new RegExp("([^\\d]|^)([0-3]{0,1}[0-9]{1})[\\/\\.\\-]([0-3]{0,1}[0-9]{1})(?:[\\/\\.\\-]([0-9]{4}|[0-9]{2}))?(\\W|$)","i"),Iu=1,uv=5,cv=2,dv=3,Yp=4,qp=class{constructor(t){this.groupNumberMonth=t?dv:cv,this.groupNumberDay=t?cv:dv}pattern(){return MR}extract(t,e){if(e[Iu]=="/"||e[uv]=="/"){e.index+=e[0].length;return}let n=e.index+e[Iu].length,i=e[0].substr(e[Iu].length,e[0].length-e[Iu].length-e[uv].length);if(i.match(/^\d\.\d$/)||i.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!e[Yp]&&e[0].indexOf("/")<0)return;let s=t.createParsingResult(n,i),a=parseInt(e[this.groupNumberMonth]),o=parseInt(e[this.groupNumberDay]);if((a<1||a>12)&&a>12)if(o>=1&&o<=12&&a<=31)[o,a]=[a,o];else return null;if(o<1||o>31)return null;if(s.start.assign("day",o),s.start.assign("month",a),e[Yp]){let l=parseInt(e[Yp]),u=lv.findMostLikelyADYear(l);s.start.assign("year",u)}else{let l=lv.findYearClosestToRef(t.refDate,o,a);s.start.imply("year",l)}return s}};Wp.default=qp});var pv=C(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});var fv=Nt(),AR=ot(),PR=ie(),NR=zn(),IR=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${fv.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),$p=class extends PR.AbstractParserWithWordBoundaryChecking{innerPattern(){return IR}innerExtract(t,e){let n=e[1].toLowerCase(),i=fv.parseTimeUnits(e[2]);switch(n){case"last":case"past":case"-":i=NR.reverseTimeUnits(i);break}return AR.ParsingComponents.createRelativeFromReference(t.reference,i)}};jp.default=$p});var hv=C(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});var FR=la(),Hp=ot(),LR=Nt(),UR=zn();function mv(r){return r.text.match(/\s+(before|from)$/i)!=null}function YR(r){return r.text.match(/\s+(after|since)$/i)!=null}var Gp=class extends FR.MergingRefiner{patternBetween(){return/^\s*$/i}shouldMergeResults(t,e,n){return!t.match(this.patternBetween())||!mv(e)&&!YR(e)?!1:!!n.start.get("day")&&!!n.start.get("month")&&!!n.start.get("year")}mergeResults(t,e,n){let i=LR.parseTimeUnits(e.text);mv(e)&&(i=UR.reverseTimeUnits(i));let s=Hp.ParsingComponents.createRelativeFromReference(new Hp.ReferenceWithTimezone(n.start.date()),i);return new Hp.ParsingResult(n.reference,e.index,`${e.text}${t}${n.text}`,s)}};Bp.default=Gp});var Up=C(ft=>{"use strict";var wt=ft&&ft.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ft,"__esModule",{value:!0});ft.createConfiguration=ft.createCasualConfiguration=ft.parseDate=ft.parse=ft.GB=ft.strict=ft.casual=void 0;var qR=wt(mT()),WR=wt(vT()),$R=wt(DT()),jR=wt(xT()),HR=wt(MT()),GR=wt(AT()),BR=wt(NT()),VR=wt(IT()),zR=wt(FT()),KR=wt(LT()),QR=wt(qT()),XR=si(),ZR=wt(JT()),JR=wt(ev()),eC=wt(iv()),tC=wt(ov()),Vp=hr(),nC=wt(ps()),rC=wt(pv()),iC=wt(hv());ft.casual=new Vp.Chrono(gv(!1));ft.strict=new Vp.Chrono(Fu(!0,!1));ft.GB=new Vp.Chrono(Fu(!1,!0));function sC(r,t,e){return ft.casual.parse(r,t,e)}ft.parse=sC;function aC(r,t,e){return ft.casual.parseDate(r,t,e)}ft.parseDate=aC;function gv(r=!1){let t=Fu(!1,r);return t.parsers.unshift(new ZR.default),t.parsers.unshift(new JR.default),t.parsers.unshift(new jR.default),t.parsers.unshift(new tC.default),t.parsers.unshift(new rC.default),t}ft.createCasualConfiguration=gv;function Fu(r=!0,t=!1){return XR.includeCommonConfiguration({parsers:[new nC.default(t),new qR.default,new WR.default,new $R.default,new eC.default,new HR.default,new GR.default,new BR.default(r),new VR.default(r),new zR.default(r)],refiners:[new iC.default,new QR.default,new KR.default]},r)}ft.createConfiguration=Fu});var yv=C(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});var oC=cs(),zp=class extends oC.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:um|von)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|bis)\\s*"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}};Kp.default=zp});var Po=C(Xe=>{"use strict";Object.defineProperty(Xe,"__esModule",{value:!0});Xe.parseTimeUnits=Xe.TIME_UNITS_PATTERN=Xe.parseYear=Xe.YEAR_PATTERN=Xe.parseNumberPattern=Xe.NUMBER_PATTERN=Xe.TIME_UNIT_DICTIONARY=Xe.INTEGER_WORD_DICTIONARY=Xe.MONTH_DICTIONARY=Xe.WEEKDAY_DICTIONARY=void 0;var Qp=Qe(),lC=Pt();Xe.WEEKDAY_DICTIONARY={sonntag:0,so:0,montag:1,mo:1,dienstag:2,di:2,mittwoch:3,mi:3,donnerstag:4,do:4,freitag:5,fr:5,samstag:6,sa:6};Xe.MONTH_DICTIONARY={januar:1,j\u00E4nner:1,janner:1,jan:1,"jan.":1,februar:2,feber:2,feb:2,"feb.":2,m\u00E4rz:3,maerz:3,m\u00E4r:3,"m\xE4r.":3,mrz:3,"mrz.":3,april:4,apr:4,"apr.":4,mai:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,august:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,dezember:12,dez:12,"dez.":12};Xe.INTEGER_WORD_DICTIONARY={eins:1,eine:1,einem:1,einen:1,einer:1,zwei:2,drei:3,vier:4,f\u00FCnf:5,fuenf:5,sechs:6,sieben:7,acht:8,neun:9,zehn:10,elf:11,zw\u00F6lf:12,zwoelf:12};Xe.TIME_UNIT_DICTIONARY={sek:"second",sekunde:"second",sekunden:"second",min:"minute",minute:"minute",minuten:"minute",h:"hour",std:"hour",stunde:"hour",stunden:"hour",tag:"d",tage:"d",tagen:"d",woche:"week",wochen:"week",monat:"month",monate:"month",monaten:"month",monats:"month",quartal:"quarter",quartals:"quarter",quartale:"quarter",quartalen:"quarter",a:"year",j:"year",jr:"year",jahr:"year",jahre:"year",jahren:"year",jahres:"year"};Xe.NUMBER_PATTERN=`(?:${Qp.matchAnyPattern(Xe.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s*an?)?|an?\\b(?:\\s*few)?|few|several|a?\\s*couple\\s*(?:of)?)`;function Tv(r){let t=r.toLowerCase();return Xe.INTEGER_WORD_DICTIONARY[t]!==void 0?Xe.INTEGER_WORD_DICTIONARY[t]:t==="a"||t==="an"?1:t.match(/few/)?3:t.match(/half/)?.5:t.match(/couple/)?2:t.match(/several/)?7:parseFloat(t)}Xe.parseNumberPattern=Tv;Xe.YEAR_PATTERN="(?:[0-9]{1,4}(?:\\s*[vn]\\.?\\s*(?:C(?:hr)?|(?:u\\.?|d\\.?(?:\\s*g\\.?)?)?\\s*Z)\\.?|\\s*(?:u\\.?|d\\.?(?:\\s*g\\.)?)\\s*Z\\.?)?)";function uC(r){if(/v/i.test(r))return-parseInt(r.replace(/[^0-9]+/gi,""));if(/n/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));if(/z/i.test(r))return parseInt(r.replace(/[^0-9]+/gi,""));let t=parseInt(r);return lC.findMostLikelyADYear(t)}Xe.parseYear=uC;var vv=`(${Xe.NUMBER_PATTERN})\\s{0,5}(${Qp.matchAnyPattern(Xe.TIME_UNIT_DICTIONARY)})\\s{0,5}`,bv=new RegExp(vv,"i");Xe.TIME_UNITS_PATTERN=Qp.repeatedTimeunitPattern("",vv);function cC(r){let t={},e=r,n=bv.exec(e);for(;n;)dC(t,n),e=e.substring(n[0].length),n=bv.exec(e);return t}Xe.parseTimeUnits=cC;function dC(r,t){let e=Tv(t[1]),n=Xe.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var _v=C(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});var kv=Po(),fC=Qe(),pC=ie(),mC=fs(),hC=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:\xE4|ae)chste[mn])\\s*)?(${fC.matchAnyPattern(kv.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(diese|letzte|n(?:\xE4|ae)chste)\\s*woche)?(?=\\W|$)`,"i"),gC=1,yC=3,bC=2,Xp=class extends pC.AbstractParserWithWordBoundaryChecking{innerPattern(){return hC}innerExtract(t,e){let n=e[bC].toLowerCase(),i=kv.WEEKDAY_DICTIONARY[n],s=e[gC],a=e[yC],o=s||a;o=o||"",o=o.toLowerCase();let l=null;o.match(/letzte/)?l="last":o.match(/chste/)?l="next":o.match(/diese/)&&(l="this");let u=mC.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};Zp.default=Xp});var Ev=C(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});var Ui=Tt(),TC=new RegExp("(^|\\s|T)(?:(?:um|von)\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),vC=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|bis(?:\\s+um)?|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s)?)?(?:\\s*Uhr)?(?:\\s*(morgens|vormittags|nachmittags|abends|nachts|am\\s+(?:Morgen|Vormittag|Nachmittag|Abend)|in\\s+der\\s+Nacht))?(?=\\W|$)","i"),kC=2,wv=3,Sv=4,Dv=5,ha=class{pattern(t){return TC}extract(t,e){let n=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(n.text.match(/^\d{4}$/)||(n.start=ha.extractTimeComponent(n.start.clone(),e),!n.start))return e.index+=e[0].length,null;let i=t.text.substring(e.index+e[0].length),s=vC.exec(i);return s&&(n.end=ha.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(t,e){let n=0,i=0,s=null;if(n=parseInt(e[kC]),e[wv]!=null&&(i=parseInt(e[wv])),i>=60||n>24)return null;if(n>=12&&(s=Ui.Meridiem.PM),e[Dv]!=null){if(n>12)return null;let a=e[Dv].toLowerCase();a.match(/morgen|vormittag/)&&(s=Ui.Meridiem.AM,n==12&&(n=0)),a.match(/nachmittag|abend/)&&(s=Ui.Meridiem.PM,n!=12&&(n+=12)),a.match(/nacht/)&&(n==12?(s=Ui.Meridiem.AM,n=0):n<6?s=Ui.Meridiem.AM:(s=Ui.Meridiem.PM,n+=12))}if(t.assign("hour",n),t.assign("minute",i),s!==null?t.assign("meridiem",s):n<12?t.imply("meridiem",Ui.Meridiem.AM):t.imply("meridiem",Ui.Meridiem.PM),e[Sv]!=null){let a=parseInt(e[Sv]);if(a>=60)return null;t.assign("second",a)}return t}};Jp.default=ha});var Ov=C(No=>{"use strict";var _C=No&&No.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(No,"__esModule",{value:!0});var wC=_C(Ir()),em=class extends wC.default{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}};No.default=em});var xv=C(Io=>{"use strict";var SC=Io&&Io.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Io,"__esModule",{value:!0});var DC=SC(ii()),tm=class extends DC.default{patternBetween(){return new RegExp("^\\s*(T|um|am|,|-)?\\s*$")}};Io.default=tm});var nm=C(Lo=>{"use strict";var EC=Lo&&Lo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Lo,"__esModule",{value:!0});var OC=EC(je()),ms=Tt(),xC=ie(),RC=Vn(),CC=zn(),Fo=class extends xC.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(t,e){let n=OC.default(t.refDate),i=e[2].toLowerCase(),s=t.createParsingComponents();return RC.implySimilarTime(s,n),Fo.extractTimeComponents(s,i)}static extractTimeComponents(t,e){switch(e){case"morgen":t.imply("hour",6),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ms.Meridiem.AM);break;case"vormittag":t.imply("hour",9),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ms.Meridiem.AM);break;case"mittag":case"mittags":t.imply("hour",12),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ms.Meridiem.AM);break;case"nachmittag":t.imply("hour",15),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ms.Meridiem.PM);break;case"abend":t.imply("hour",18),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ms.Meridiem.PM);break;case"nacht":t.imply("hour",22),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ms.Meridiem.PM);break;case"mitternacht":t.get("hour")>1&&(t=CC.addImpliedTimeUnits(t,{day:1})),t.imply("hour",0),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ms.Meridiem.AM);break}return t}};Lo.default=Fo});var Mv=C(gr=>{"use strict";var MC=gr&&gr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),AC=gr&&gr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),PC=gr&&gr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&MC(t,r,e);return AC(t,r),t},Cv=gr&&gr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(gr,"__esModule",{value:!0});var NC=Cv(je()),IC=ie(),hs=Vn(),FC=Cv(nm()),Rv=PC(oi()),LC=new RegExp("(jetzt|heute|morgen|\xFCbermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)","i"),UC=1,YC=2,rm=class extends IC.AbstractParserWithWordBoundaryChecking{innerPattern(t){return LC}innerExtract(t,e){let n=NC.default(t.refDate),i=(e[UC]||"").toLowerCase(),s=(e[YC]||"").toLowerCase(),a=t.createParsingComponents();switch(i){case"jetzt":a=Rv.now(t.reference);break;case"heute":a=Rv.today(t.reference);break;case"morgen":hs.assignTheNextDay(a,n);break;case"\xFCbermorgen":case"uebermorgen":n=n.add(1,"day"),hs.assignTheNextDay(a,n);break;case"gestern":n=n.add(-1,"day"),hs.assignSimilarDate(a,n),hs.implySimilarTime(a,n);break;case"vorgestern":n=n.add(-2,"day"),hs.assignSimilarDate(a,n),hs.implySimilarTime(a,n);break;default:i.match(/letzte\s*nacht/)&&(n.hour()>6&&(n=n.add(-1,"day")),hs.assignSimilarDate(a,n),a.imply("hour",0));break}return s&&(a=FC.default.extractTimeComponents(a,s)),a}};gr.default=rm});var Lv=C(sm=>{"use strict";Object.defineProperty(sm,"__esModule",{value:!0});var qC=Pt(),Iv=Po(),Fv=Po(),WC=Qe(),$C=ie(),jC=new RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\\u2013|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${WC.matchAnyPattern(Iv.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${Fv.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),Av=1,Pv=2,HC=3,Nv=4,im=class extends $C.AbstractParserWithWordBoundaryChecking{innerPattern(){return jC}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=Iv.MONTH_DICTIONARY[e[HC].toLowerCase()],s=parseInt(e[Av]);if(s>31)return e.index=e.index+e[Av].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[Nv]){let a=Fv.parseYear(e[Nv]);n.start.assign("year",a)}else{let a=qC.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[Pv]){let a=parseInt(e[Pv]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};sm.default=im});var Uv=C(om=>{"use strict";Object.defineProperty(om,"__esModule",{value:!0});var Lu=Po(),GC=ot(),BC=ie(),VC=zn(),zC=Qe(),am=class extends BC.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:\\s*((?:n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?|vor|in)\\s*)?(${Lu.NUMBER_PATTERN})?(?:\\s*(n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${zC.matchAnyPattern(Lu.TIME_UNIT_DICTIONARY)})`,"i")}innerExtract(t,e){let n=e[2]?Lu.parseNumberPattern(e[2]):1,i=Lu.TIME_UNIT_DICTIONARY[e[4].toLowerCase()],s={};s[i]=n;let a=e[1]||e[3]||"";if(a=a.toLowerCase(),!!a)return(/vor/.test(a)||/letzte/.test(a)||/vergangen/.test(a))&&(s=VC.reverseTimeUnits(s)),GC.ParsingComponents.createRelativeFromReference(t.reference,s)}};om.default=am});var Wv=C(St=>{"use strict";var yr=St&&St.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(St,"__esModule",{value:!0});St.createConfiguration=St.createCasualConfiguration=St.parseDate=St.parse=St.strict=St.casual=void 0;var KC=si(),Yv=hr(),QC=yr(ps()),XC=yr(Rp()),ZC=yr(yv()),JC=yr(_v()),eM=yr(Ev()),tM=yr(Ov()),nM=yr(xv()),rM=yr(Mv()),iM=yr(nm()),sM=yr(Lv()),aM=yr(Uv());St.casual=new Yv.Chrono(qv());St.strict=new Yv.Chrono(lm(!0));function oM(r,t,e){return St.casual.parse(r,t,e)}St.parse=oM;function lM(r,t,e){return St.casual.parseDate(r,t,e)}St.parseDate=lM;function qv(r=!0){let t=lm(!1,r);return t.parsers.unshift(new iM.default),t.parsers.unshift(new rM.default),t.parsers.unshift(new aM.default),t}St.createCasualConfiguration=qv;function lm(r=!0,t=!0){return KC.includeCommonConfiguration({parsers:[new XC.default,new QC.default(t),new ZC.default,new eM.default,new sM.default,new JC.default],refiners:[new tM.default,new nM.default]},r)}St.createConfiguration=lm});var jv=C(br=>{"use strict";var uM=br&&br.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),cM=br&&br.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),dM=br&&br.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&uM(t,r,e);return cM(t,r),t},fM=br&&br.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(br,"__esModule",{value:!0});var pM=fM(je()),mM=Tt(),hM=ie(),$v=Vn(),Uu=dM(oi()),um=class extends hM.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(t,e){let n=pM.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();switch(i){case"maintenant":return Uu.now(t.reference);case"aujourd'hui":return Uu.today(t.reference);case"hier":return Uu.yesterday(t.reference);case"demain":return Uu.tomorrow(t.reference);default:i.match(/cette\s*nuit/)?($v.assignSimilarDate(s,n),s.imply("hour",22),s.imply("meridiem",mM.Meridiem.PM)):i.match(/la\s*veille/)&&(n=n.add(-1,"day"),$v.assignSimilarDate(s,n),s.imply("hour",0))}return s}};br.default=um});var Hv=C(dm=>{"use strict";Object.defineProperty(dm,"__esModule",{value:!0});var Uo=Tt(),gM=ie(),cm=class extends gM.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(t,e){let n=e[2].toLowerCase(),i=t.createParsingComponents();switch(n){case"apr\xE8s-midi":case"aprem":i.imply("hour",14),i.imply("minute",0),i.imply("meridiem",Uo.Meridiem.PM);break;case"soir":i.imply("hour",18),i.imply("minute",0),i.imply("meridiem",Uo.Meridiem.PM);break;case"matin":i.imply("hour",8),i.imply("minute",0),i.imply("meridiem",Uo.Meridiem.AM);break;case"a midi":i.imply("hour",12),i.imply("minute",0),i.imply("meridiem",Uo.Meridiem.AM);break;case"\xE0 minuit":i.imply("hour",0),i.imply("meridiem",Uo.Meridiem.AM);break}return i}};dm.default=cm});var Gv=C(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});var yM=cs(),fm=class extends yM.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:[\xE0a])\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}};pm.default=fm});var Bv=C(Yo=>{"use strict";var bM=Yo&&Yo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Yo,"__esModule",{value:!0});var TM=bM(ii()),mm=class extends TM.default{patternBetween(){return new RegExp("^\\s*(T|\xE0|a|vers|de|,|-)?\\s*$")}};Yo.default=mm});var Vv=C(qo=>{"use strict";var vM=qo&&qo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(qo,"__esModule",{value:!0});var kM=vM(Ir()),hm=class extends kM.default{patternBetween(){return/^\s*(à|a|-)\s*$/i}};qo.default=hm});var Yi=C(He=>{"use strict";Object.defineProperty(He,"__esModule",{value:!0});He.parseTimeUnits=He.TIME_UNITS_PATTERN=He.parseYear=He.YEAR_PATTERN=He.parseOrdinalNumberPattern=He.ORDINAL_NUMBER_PATTERN=He.parseNumberPattern=He.NUMBER_PATTERN=He.TIME_UNIT_DICTIONARY=He.INTEGER_WORD_DICTIONARY=He.MONTH_DICTIONARY=He.WEEKDAY_DICTIONARY=void 0;var gm=Qe();He.WEEKDAY_DICTIONARY={dimanche:0,dim:0,lundi:1,lun:1,mardi:2,mar:2,mercredi:3,mer:3,jeudi:4,jeu:4,vendredi:5,ven:5,samedi:6,sam:6};He.MONTH_DICTIONARY={janvier:1,jan:1,"jan.":1,f\u00E9vrier:2,f\u00E9v:2,"f\xE9v.":2,fevrier:2,fev:2,"fev.":2,mars:3,mar:3,"mar.":3,avril:4,avr:4,"avr.":4,mai:5,juin:6,jun:6,juillet:7,juil:7,jul:7,"jul.":7,ao\u00FBt:8,aout:8,septembre:9,sep:9,"sep.":9,sept:9,"sept.":9,octobre:10,oct:10,"oct.":10,novembre:11,nov:11,"nov.":11,d\u00E9cembre:12,decembre:12,dec:12,"dec.":12};He.INTEGER_WORD_DICTIONARY={un:1,deux:2,trois:3,quatre:4,cinq:5,six:6,sept:7,huit:8,neuf:9,dix:10,onze:11,douze:12,treize:13};He.TIME_UNIT_DICTIONARY={sec:"second",seconde:"second",secondes:"second",min:"minute",mins:"minute",minute:"minute",minutes:"minute",h:"hour",hr:"hour",hrs:"hour",heure:"hour",heures:"hour",jour:"d",jours:"d",semaine:"week",semaines:"week",mois:"month",trimestre:"quarter",trimestres:"quarter",ans:"year",ann\u00E9e:"year",ann\u00E9es:"year"};He.NUMBER_PATTERN=`(?:${gm.matchAnyPattern(He.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;function Kv(r){let t=r.toLowerCase();return He.INTEGER_WORD_DICTIONARY[t]!==void 0?He.INTEGER_WORD_DICTIONARY[t]:t==="une"||t==="un"?1:t.match(/quelques?/)?3:t.match(/demi-?/)?.5:parseFloat(t)}He.parseNumberPattern=Kv;He.ORDINAL_NUMBER_PATTERN="(?:[0-9]{1,2}(?:er)?)";function _M(r){let t=r.toLowerCase();return t=t.replace(/(?:er)$/i,""),parseInt(t)}He.parseOrdinalNumberPattern=_M;He.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:AC|AD|p\\.\\s*C(?:hr?)?\\.\\s*n\\.)|[1-2][0-9]{3}|[5-9][0-9])";function wM(r){if(/AC/i.test(r))return r=r.replace(/BC/i,""),-parseInt(r);if(/AD/i.test(r)||/C/i.test(r))return r=r.replace(/[^\d]+/i,""),parseInt(r);let t=parseInt(r);return t<100&&(t>50?t=t+1900:t=t+2e3),t}He.parseYear=wM;var Qv=`(${He.NUMBER_PATTERN})\\s{0,5}(${gm.matchAnyPattern(He.TIME_UNIT_DICTIONARY)})\\s{0,5}`,zv=new RegExp(Qv,"i");He.TIME_UNITS_PATTERN=gm.repeatedTimeunitPattern("",Qv);function SM(r){let t={},e=r,n=zv.exec(e);for(;n;)DM(t,n),e=e.substring(n[0].length),n=zv.exec(e);return t}He.parseTimeUnits=SM;function DM(r,t){let e=Kv(t[1]),n=He.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var Zv=C(bm=>{"use strict";Object.defineProperty(bm,"__esModule",{value:!0});var Xv=Yi(),EM=Qe(),OM=ie(),xM=fs(),RM=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(?:ce)\\s*)?(${EM.matchAnyPattern(Xv.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,"i"),CM=1,MM=2,ym=class extends OM.AbstractParserWithWordBoundaryChecking{innerPattern(){return RM}innerExtract(t,e){let n=e[CM].toLowerCase(),i=Xv.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=e[MM];s=s||"",s=s.toLowerCase();let a=null;s=="dernier"?a="last":s=="prochain"&&(a="next");let o=xM.toDayJSWeekday(t.refDate,i,a);return t.createParsingComponents().assign("weekday",i).imply("day",o.date()).imply("month",o.month()+1).imply("year",o.year())}};bm.default=ym});var nk=C(Tm=>{"use strict";Object.defineProperty(Tm,"__esModule",{value:!0});var Wo=Tt(),AM=new RegExp("(^|\\s|T)(?:(?:[\xE0a])\\s*)?(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),PM=new RegExp("^\\s*(\\-|\\\u2013|\\~|\\\u301C|[\xE0a]|\\?)\\s*(\\d{1,2})(?:h|:)?(?:(\\d{1,2})(?:m|:)?)?(?:(\\d{1,2})(?:s|:)?)?(?:\\s*(A\\.M\\.|P\\.M\\.|AM?|PM?))?(?=\\W|$)","i"),NM=2,Jv=3,ek=4,tk=5,ga=class{pattern(t){return AM}extract(t,e){let n=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(n.text.match(/^\d{4}$/)||(n.start=ga.extractTimeComponent(n.start.clone(),e),!n.start))return e.index+=e[0].length,null;let i=t.text.substring(e.index+e[0].length),s=PM.exec(i);return s&&(n.end=ga.extractTimeComponent(n.start.clone(),s),n.end&&(n.text+=s[0])),n}static extractTimeComponent(t,e){let n=0,i=0,s=null;if(n=parseInt(e[NM]),e[Jv]!=null&&(i=parseInt(e[Jv])),i>=60||n>24)return null;if(n>=12&&(s=Wo.Meridiem.PM),e[tk]!=null){if(n>12)return null;let a=e[tk][0].toLowerCase();a=="a"&&(s=Wo.Meridiem.AM,n==12&&(n=0)),a=="p"&&(s=Wo.Meridiem.PM,n!=12&&(n+=12))}if(t.assign("hour",n),t.assign("minute",i),s!==null?t.assign("meridiem",s):n<12?t.imply("meridiem",Wo.Meridiem.AM):t.imply("meridiem",Wo.Meridiem.PM),e[ek]!=null){let a=parseInt(e[ek]);if(a>=60)return null;t.assign("second",a)}return t}};Tm.default=ga});var lk=C(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});var IM=Pt(),ak=Yi(),ok=Yi(),Yu=Yi(),FM=Qe(),LM=ie(),UM=new RegExp(`(?:on\\s*?)?(${Yu.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:au|\\-|\\\u2013|jusqu'au?|\\s)\\s*(${Yu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:de)?\\s*)(${FM.matchAnyPattern(ak.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${ok.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),rk=1,ik=2,YM=3,sk=4,vm=class extends LM.AbstractParserWithWordBoundaryChecking{innerPattern(){return UM}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=ak.MONTH_DICTIONARY[e[YM].toLowerCase()],s=Yu.parseOrdinalNumberPattern(e[rk]);if(s>31)return e.index=e.index+e[rk].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[sk]){let a=ok.parseYear(e[sk]);n.start.assign("year",a)}else{let a=IM.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[ik]){let a=Yu.parseOrdinalNumberPattern(e[ik]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};km.default=vm});var ck=C(wm=>{"use strict";Object.defineProperty(wm,"__esModule",{value:!0});var uk=Yi(),qM=ot(),WM=ie(),$M=zn(),_m=class extends WM.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`il y a\\s*(${uk.TIME_UNITS_PATTERN})(?=(?:\\W|$))`,"i")}innerExtract(t,e){let n=uk.parseTimeUnits(e[1]),i=$M.reverseTimeUnits(n);return qM.ParsingComponents.createRelativeFromReference(t.reference,i)}};wm.default=_m});var fk=C(Dm=>{"use strict";Object.defineProperty(Dm,"__esModule",{value:!0});var dk=Yi(),jM=ot(),HM=ie(),Sm=class extends HM.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp(`(?:dans|en|pour|pendant|de)\\s*(${dk.TIME_UNITS_PATTERN})(?=\\W|$)`,"i")}innerExtract(t,e){let n=dk.parseTimeUnits(e[1]);return jM.ParsingComponents.createRelativeFromReference(t.reference,n)}};Dm.default=Sm});var pk=C(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});var qu=Yi(),GM=ot(),BM=ie(),VM=zn(),zM=Qe(),Em=class extends BM.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:les?|la|l'|du|des?)\\s*(${qu.NUMBER_PATTERN})?(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?\\s*(${zM.matchAnyPattern(qu.TIME_UNIT_DICTIONARY)})(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?`,"i")}innerExtract(t,e){let n=e[1]?qu.parseNumberPattern(e[1]):1,i=qu.TIME_UNIT_DICTIONARY[e[3].toLowerCase()],s={};s[i]=n;let a=e[2]||e[4]||"";if(a=a.toLowerCase(),!!a)return(/derni[eè]re?s?/.test(a)||/pass[ée]e?s?/.test(a)||/pr[ée]c[ée]dents?/.test(a))&&(s=VM.reverseTimeUnits(s)),GM.ParsingComponents.createRelativeFromReference(t.reference,s)}};Om.default=Em});var gk=C(Dt=>{"use strict";var Kn=Dt&&Dt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Dt,"__esModule",{value:!0});Dt.createConfiguration=Dt.createCasualConfiguration=Dt.parseDate=Dt.parse=Dt.strict=Dt.casual=void 0;var KM=si(),mk=hr(),QM=Kn(jv()),XM=Kn(Hv()),ZM=Kn(ps()),JM=Kn(Gv()),eA=Kn(Bv()),tA=Kn(Vv()),nA=Kn(Zv()),rA=Kn(nk()),iA=Kn(lk()),sA=Kn(ck()),aA=Kn(fk()),oA=Kn(pk());Dt.casual=new mk.Chrono(hk());Dt.strict=new mk.Chrono(xm(!0));function lA(r,t,e){return Dt.casual.parse(r,t,e)}Dt.parse=lA;function uA(r,t,e){return Dt.casual.parseDate(r,t,e)}Dt.parseDate=uA;function hk(r=!0){let t=xm(!1,r);return t.parsers.unshift(new QM.default),t.parsers.unshift(new XM.default),t.parsers.unshift(new oA.default),t}Dt.createCasualConfiguration=hk;function xm(r=!0,t=!0){return KM.includeCommonConfiguration({parsers:[new ZM.default(t),new iA.default,new JM.default,new rA.default,new sA.default,new aA.default,new nA.default],refiners:[new eA.default,new tA.default]},r)}Dt.createConfiguration=xm});var yk=C(Wu=>{"use strict";Object.defineProperty(Wu,"__esModule",{value:!0});Wu.toHankaku=void 0;function cA(r){return String(r).replace(/\u2019/g,"'").replace(/\u201D/g,'"').replace(/\u3000/g," ").replace(/\uFFE5/g,"\xA5").replace(/[\uFF01\uFF03-\uFF06\uFF08\uFF09\uFF0C-\uFF19\uFF1C-\uFF1F\uFF21-\uFF3B\uFF3D\uFF3F\uFF41-\uFF5B\uFF5D\uFF5E]/g,dA)}Wu.toHankaku=cA;function dA(r){return String.fromCharCode(r.charCodeAt(0)-65248)}});var Tk=C($o=>{"use strict";var fA=$o&&$o.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty($o,"__esModule",{value:!0});var Rm=yk(),pA=Pt(),mA=fA(je()),hA=/(?:(?:([同今本])|((昭和|平成|令和)?([0-9０-９]{1,4}|元)))年\s*)?([0-9０-９]{1,2})月\s*([0-9０-９]{1,2})日/i,bk=1,gA=2,Cm=3,yA=4,bA=5,TA=6,Mm=class{pattern(){return hA}extract(t,e){let n=parseInt(Rm.toHankaku(e[bA])),i=parseInt(Rm.toHankaku(e[TA])),s=t.createParsingComponents({day:i,month:n});if(e[bk]&&e[bk].match("\u540C|\u4ECA|\u672C")){let a=mA.default(t.refDate);s.assign("year",a.year())}if(e[gA]){let a=e[yA],o=a=="\u5143"?1:parseInt(Rm.toHankaku(a));e[Cm]=="\u4EE4\u548C"?o+=2018:e[Cm]=="\u5E73\u6210"?o+=1988:e[Cm]=="\u662D\u548C"&&(o+=1925),s.assign("year",o)}else{let a=pA.findYearClosestToRef(t.refDate,i,n);s.imply("year",a)}return s}};$o.default=Mm});var vk=C(jo=>{"use strict";var vA=jo&&jo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(jo,"__esModule",{value:!0});var kA=vA(Ir()),Am=class extends kA.default{patternBetween(){return/^\s*(から|ー|-)\s*$/i}};jo.default=Am});var _k=C(Tr=>{"use strict";var _A=Tr&&Tr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),wA=Tr&&Tr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),SA=Tr&&Tr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&_A(t,r,e);return wA(t,r),t},DA=Tr&&Tr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Tr,"__esModule",{value:!0});var EA=DA(je()),kk=Tt(),Pm=SA(oi()),OA=/今日|当日|昨日|明日|今夜|今夕|今晩|今朝/i,Nm=class{pattern(){return OA}extract(t,e){let n=e[0],i=EA.default(t.refDate),s=t.createParsingComponents();switch(n){case"\u6628\u65E5":return Pm.yesterday(t.reference);case"\u660E\u65E5":return Pm.tomorrow(t.reference);case"\u4ECA\u65E5":case"\u5F53\u65E5":return Pm.today(t.reference)}return n=="\u4ECA\u591C"||n=="\u4ECA\u5915"||n=="\u4ECA\u6669"?(s.imply("hour",22),s.assign("meridiem",kk.Meridiem.PM)):n.match("\u4ECA\u671D")&&(s.imply("hour",6),s.assign("meridiem",kk.Meridiem.AM)),s.assign("day",i.date()),s.assign("month",i.month()+1),s.assign("year",i.year()),s}};Tr.default=Nm});var Dk=C(Et=>{"use strict";var Im=Et&&Et.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Et,"__esModule",{value:!0});Et.createConfiguration=Et.createCasualConfiguration=Et.parseDate=Et.parse=Et.strict=Et.casual=void 0;var xA=Im(Tk()),RA=Im(vk()),CA=Im(_k()),wk=hr();Et.casual=new wk.Chrono(Sk());Et.strict=new wk.Chrono(Fm());function MA(r,t,e){return Et.casual.parse(r,t,e)}Et.parse=MA;function AA(r,t,e){return Et.casual.parseDate(r,t,e)}Et.parseDate=AA;function Sk(){let r=Fm();return r.parsers.unshift(new CA.default),r}Et.createCasualConfiguration=Sk;function Fm(){return{parsers:[new xA.default],refiners:[new RA.default]}}Et.createConfiguration=Fm});var $u=C(Lr=>{"use strict";Object.defineProperty(Lr,"__esModule",{value:!0});Lr.parseYear=Lr.YEAR_PATTERN=Lr.MONTH_DICTIONARY=Lr.WEEKDAY_DICTIONARY=void 0;Lr.WEEKDAY_DICTIONARY={domingo:0,dom:0,segunda:1,"segunda-feira":1,seg:1,ter\u00E7a:2,"ter\xE7a-feira":2,ter:2,quarta:3,"quarta-feira":3,qua:3,quinta:4,"quinta-feira":4,qui:4,sexta:5,"sexta-feira":5,sex:5,s\u00E1bado:6,sabado:6,sab:6};Lr.MONTH_DICTIONARY={janeiro:1,jan:1,"jan.":1,fevereiro:2,fev:2,"fev.":2,mar\u00E7o:3,mar:3,"mar.":3,abril:4,abr:4,"abr.":4,maio:5,mai:5,"mai.":5,junho:6,jun:6,"jun.":6,julho:7,jul:7,"jul.":7,agosto:8,ago:8,"ago.":8,setembro:9,set:9,"set.":9,outubro:10,out:10,"out.":10,novembro:11,nov:11,"nov.":11,dezembro:12,dez:12,"dez.":12};Lr.YEAR_PATTERN="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?";function PA(r){if(r.match(/^[0-9]{1,4}$/)){let t=parseInt(r);return t<100&&(t>50?t=t+1900:t=t+2e3),t}return r.match(/a\.?\s*c\.?/i)?(r=r.replace(/a\.?\s*c\.?/i,""),-parseInt(r)):parseInt(r)}Lr.parseYear=PA});var Ok=C(Um=>{"use strict";Object.defineProperty(Um,"__esModule",{value:!0});var Ek=$u(),NA=Qe(),IA=ie(),FA=fs(),LA=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|passado|pr[o\xF3]ximo)\\s*)?(${NA.matchAnyPattern(Ek.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|passado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),UA=1,YA=2,qA=3,Lm=class extends IA.AbstractParserWithWordBoundaryChecking{innerPattern(){return LA}innerExtract(t,e){let n=e[YA].toLowerCase(),i=Ek.WEEKDAY_DICTIONARY[n];if(i===void 0)return null;let s=e[UA],a=e[qA],o=s||a||"";o=o.toLowerCase();let l=null;o=="passado"?l="this":o=="pr\xF3ximo"||o=="proximo"?l="next":o=="este"&&(l="this");let u=FA.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};Um.default=Lm});var xk=C(qm=>{"use strict";Object.defineProperty(qm,"__esModule",{value:!0});var WA=cs(),Ym=class extends WA.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:ao?|\xE0s?|das|da|de|do)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:o)?|\\?)\\s*"}};qm.default=Ym});var Rk=C(Ho=>{"use strict";var $A=Ho&&Ho.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ho,"__esModule",{value:!0});var jA=$A(ii()),Wm=class extends jA.default{patternBetween(){return new RegExp("^\\s*(?:,|\xE0)?\\s*$")}};Ho.default=Wm});var Ck=C(Go=>{"use strict";var HA=Go&&Go.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Go,"__esModule",{value:!0});var GA=HA(Ir()),$m=class extends GA.default{patternBetween(){return/^\s*(?:-)\s*$/i}};Go.default=$m});var Fk=C(Hm=>{"use strict";Object.defineProperty(Hm,"__esModule",{value:!0});var BA=Pt(),Nk=$u(),Ik=$u(),VA=Qe(),zA=ie(),KA=new RegExp(`([0-9]{1,2})(?:\xBA|\xAA|\xB0)?(?:\\s*(?:desde|de|\\-|\\\u2013|ao?|\\s)\\s*([0-9]{1,2})(?:\xBA|\xAA|\xB0)?)?\\s*(?:de)?\\s*(?:-|/|\\s*(?:de|,)?\\s*)(${VA.matchAnyPattern(Nk.MONTH_DICTIONARY)})(?:\\s*(?:de|,)?\\s*(${Ik.YEAR_PATTERN}))?(?=\\W|$)`,"i"),Mk=1,Ak=2,QA=3,Pk=4,jm=class extends zA.AbstractParserWithWordBoundaryChecking{innerPattern(){return KA}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=Nk.MONTH_DICTIONARY[e[QA].toLowerCase()],s=parseInt(e[Mk]);if(s>31)return e.index=e.index+e[Mk].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[Pk]){let a=Ik.parseYear(e[Pk]);n.start.assign("year",a)}else{let a=BA.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[Ak]){let a=parseInt(e[Ak]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};Hm.default=jm});var Lk=C(li=>{"use strict";var XA=li&&li.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),ZA=li&&li.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),JA=li&&li.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&XA(t,r,e);return ZA(t,r),t};Object.defineProperty(li,"__esModule",{value:!0});var eP=ie(),ju=JA(oi()),Gm=class extends eP.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(t,e){let n=e[0].toLowerCase(),i=t.createParsingComponents();switch(n){case"agora":return ju.now(t.reference);case"hoje":return ju.today(t.reference);case"amanha":case"amanh\xE3":return ju.tomorrow(t.reference);case"ontem":return ju.yesterday(t.reference)}return i}};li.default=Gm});var Uk=C(Bo=>{"use strict";var tP=Bo&&Bo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Bo,"__esModule",{value:!0});var Hu=Tt(),nP=ie(),rP=Vn(),iP=tP(je()),Bm=class extends nP.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(t,e){let n=iP.default(t.refDate),i=t.createParsingComponents();switch(e[1].toLowerCase()){case"tarde":i.imply("meridiem",Hu.Meridiem.PM),i.imply("hour",15);break;case"noite":i.imply("meridiem",Hu.Meridiem.PM),i.imply("hour",22);break;case"manha":case"manh\xE3":i.imply("meridiem",Hu.Meridiem.AM),i.imply("hour",6);break;case"meia-noite":rP.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"meio-dia":i.imply("meridiem",Hu.Meridiem.AM),i.imply("hour",12);break}return i}};Bo.default=Bm});var Wk=C(Ot=>{"use strict";var qi=Ot&&Ot.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ot,"__esModule",{value:!0});Ot.createConfiguration=Ot.createCasualConfiguration=Ot.parseDate=Ot.parse=Ot.strict=Ot.casual=void 0;var sP=si(),Yk=hr(),aP=qi(ps()),oP=qi(Ok()),lP=qi(xk()),uP=qi(Rk()),cP=qi(Ck()),dP=qi(Fk()),fP=qi(Lk()),pP=qi(Uk());Ot.casual=new Yk.Chrono(qk());Ot.strict=new Yk.Chrono(Vm(!0));function mP(r,t,e){return Ot.casual.parse(r,t,e)}Ot.parse=mP;function hP(r,t,e){return Ot.casual.parseDate(r,t,e)}Ot.parseDate=hP;function qk(r=!0){let t=Vm(!1,r);return t.parsers.push(new fP.default),t.parsers.push(new pP.default),t}Ot.createCasualConfiguration=qk;function Vm(r=!0,t=!0){return sP.includeCommonConfiguration({parsers:[new aP.default(t),new oP.default,new lP.default,new dP.default],refiners:[new uP.default,new cP.default]},r)}Ot.createConfiguration=Vm});var $k=C(Vo=>{"use strict";var gP=Vo&&Vo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Vo,"__esModule",{value:!0});var yP=gP(Ir()),zm=class extends yP.default{patternBetween(){return/^\s*(tot|-)\s*$/i}};Vo.default=zm});var jk=C(zo=>{"use strict";var bP=zo&&zo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(zo,"__esModule",{value:!0});var TP=bP(ii()),Km=class extends TP.default{patternBetween(){return new RegExp("^\\s*(om|na|voor|in de|,|-)?\\s*$")}};zo.default=Km});var Hk=C(ui=>{"use strict";var vP=ui&&ui.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),kP=ui&&ui.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),_P=ui&&ui.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&vP(t,r,e);return kP(t,r),t};Object.defineProperty(ui,"__esModule",{value:!0});var wP=ie(),Gu=_P(oi()),Qm=class extends wP.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(t,e){let n=e[0].toLowerCase(),i=t.createParsingComponents();switch(n){case"nu":return Gu.now(t.reference);case"vandaag":return Gu.today(t.reference);case"morgen":case"morgend":return Gu.tomorrow(t.reference);case"gisteren":return Gu.yesterday(t.reference)}return i}};ui.default=Qm});var Gk=C(Ko=>{"use strict";var SP=Ko&&Ko.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Ko,"__esModule",{value:!0});var Bu=Tt(),DP=ie(),EP=SP(je()),OP=Vn(),xP=1,RP=2,Xm=class extends DP.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(t,e){let n=EP.default(t.refDate),i=t.createParsingComponents();switch(e[xP]==="deze"&&(i.assign("day",t.refDate.getDate()),i.assign("month",t.refDate.getMonth()+1),i.assign("year",t.refDate.getFullYear())),e[RP].toLowerCase()){case"namiddag":case"'s namiddags":i.imply("meridiem",Bu.Meridiem.PM),i.imply("hour",15);break;case"avond":case"'s avonds'":i.imply("meridiem",Bu.Meridiem.PM),i.imply("hour",20);break;case"middernacht":OP.assignTheNextDay(i,n),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"ochtend":case"'s ochtends":i.imply("meridiem",Bu.Meridiem.AM),i.imply("hour",6);break;case"middag":case"'s middags":i.imply("meridiem",Bu.Meridiem.AM),i.imply("hour",12);break}return i}};Ko.default=Xm});var Rn=C(Ie=>{"use strict";Object.defineProperty(Ie,"__esModule",{value:!0});Ie.parseTimeUnits=Ie.TIME_UNITS_PATTERN=Ie.parseYear=Ie.YEAR_PATTERN=Ie.parseOrdinalNumberPattern=Ie.ORDINAL_NUMBER_PATTERN=Ie.parseNumberPattern=Ie.NUMBER_PATTERN=Ie.TIME_UNIT_DICTIONARY=Ie.ORDINAL_WORD_DICTIONARY=Ie.INTEGER_WORD_DICTIONARY=Ie.MONTH_DICTIONARY=Ie.WEEKDAY_DICTIONARY=void 0;var Vu=Qe(),CP=Pt();Ie.WEEKDAY_DICTIONARY={zondag:0,zon:0,"zon.":0,zo:0,"zo.":0,maandag:1,ma:1,"ma.":1,dinsdag:2,din:2,"din.":2,di:2,"di.":2,woensdag:3,woe:3,"woe.":3,wo:3,"wo.":3,donderdag:4,dond:4,"dond.":4,do:4,"do.":4,vrijdag:5,vrij:5,"vrij.":5,vr:5,"vr.":5,zaterdag:6,zat:6,"zat.":6,za:6,"za.":6};Ie.MONTH_DICTIONARY={januari:1,jan:1,"jan.":1,februari:2,feb:2,"feb.":2,maart:3,mar:3,"mar.":3,april:4,apr:4,"apr.":4,mei:5,juni:6,jun:6,"jun.":6,juli:7,jul:7,"jul.":7,augustus:8,aug:8,"aug.":8,september:9,sep:9,"sep.":9,sept:9,"sept.":9,oktober:10,okt:10,"okt.":10,november:11,nov:11,"nov.":11,december:12,dec:12,"dec.":12};Ie.INTEGER_WORD_DICTIONARY={een:1,twee:2,drie:3,vier:4,vijf:5,zes:6,zeven:7,acht:8,negen:9,tien:10,elf:11,twaalf:12};Ie.ORDINAL_WORD_DICTIONARY={eerste:1,tweede:2,derde:3,vierde:4,vijfde:5,zesde:6,zevende:7,achtste:8,negende:9,tiende:10,elfde:11,twaalfde:12,dertiende:13,veertiende:14,vijftiende:15,zestiende:16,zeventiende:17,achttiende:18,negentiende:19,twintigste:20,eenentwintigste:21,twee\u00EBntwintigste:22,drieentwintigste:23,vierentwintigste:24,vijfentwintigste:25,zesentwintigste:26,zevenentwintigste:27,achtentwintig:28,negenentwintig:29,dertigste:30,eenendertigste:31};Ie.TIME_UNIT_DICTIONARY={sec:"second",second:"second",seconden:"second",min:"minute",mins:"minute",minute:"minute",minuut:"minute",minuten:"minute",minuutje:"minute",h:"hour",hr:"hour",hrs:"hour",uur:"hour",u:"hour",uren:"hour",dag:"d",dagen:"d",week:"week",weken:"week",maand:"month",maanden:"month",jaar:"year",jr:"year",jaren:"year"};Ie.NUMBER_PATTERN=`(?:${Vu.matchAnyPattern(Ie.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;function Vk(r){let t=r.toLowerCase();return Ie.INTEGER_WORD_DICTIONARY[t]!==void 0?Ie.INTEGER_WORD_DICTIONARY[t]:t==="paar"?2:t==="half"||t.match(/halve?/)?.5:parseFloat(t.replace(",","."))}Ie.parseNumberPattern=Vk;Ie.ORDINAL_NUMBER_PATTERN=`(?:${Vu.matchAnyPattern(Ie.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:ste|de)?)`;function MP(r){let t=r.toLowerCase();return Ie.ORDINAL_WORD_DICTIONARY[t]!==void 0?Ie.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:ste|de)$/i,""),parseInt(t))}Ie.parseOrdinalNumberPattern=MP;Ie.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])";function AP(r){if(/voor Christus/i.test(r))return r=r.replace(/voor Christus/i,""),-parseInt(r);if(/na Christus/i.test(r))return r=r.replace(/na Christus/i,""),parseInt(r);let t=parseInt(r);return CP.findMostLikelyADYear(t)}Ie.parseYear=AP;var zk=`(${Ie.NUMBER_PATTERN})\\s{0,5}(${Vu.matchAnyPattern(Ie.TIME_UNIT_DICTIONARY)})\\s{0,5}`,Bk=new RegExp(zk,"i");Ie.TIME_UNITS_PATTERN=Vu.repeatedTimeunitPattern("(?:(?:binnen|in)\\s*)?",zk);function PP(r){let t={},e=r,n=Bk.exec(e);for(;n;)NP(t,n),e=e.substring(n[0].length),n=Bk.exec(e);return t}Ie.parseTimeUnits=PP;function NP(r,t){let e=Vk(t[1]),n=Ie.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var Qk=C(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});var Kk=Rn(),IP=ot(),FP=ie(),Zm=class extends FP.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(?:binnen|in|binnen de|voor)\\s*("+Kk.TIME_UNITS_PATTERN+")(?=\\W|$)","i")}innerExtract(t,e){let n=Kk.parseTimeUnits(e[1]);return IP.ParsingComponents.createRelativeFromReference(t.reference,n)}};Jm.default=Zm});var Zk=C(th=>{"use strict";Object.defineProperty(th,"__esModule",{value:!0});var Xk=Rn(),LP=Qe(),UP=ie(),YP=fs(),qP=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${LP.matchAnyPattern(Xk.WEEKDAY_DICTIONARY)})(?=\\W|$)`,"i"),WP=1,$P=2,jP=3,eh=class extends UP.AbstractParserWithWordBoundaryChecking{innerPattern(){return qP}innerExtract(t,e){let n=e[$P].toLowerCase(),i=Xk.WEEKDAY_DICTIONARY[n],s=e[WP],a=e[jP],o=s||a;o=o||"",o=o.toLowerCase();let l=null;o=="vorige"?l="last":o=="volgende"?l="next":o=="deze"&&(l="this");let u=YP.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};th.default=eh});var i_=C(rh=>{"use strict";Object.defineProperty(rh,"__esModule",{value:!0});var HP=Pt(),n_=Rn(),zu=Rn(),r_=Rn(),GP=Qe(),BP=ie(),VP=new RegExp(`(?:on\\s*?)?(${zu.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:tot|\\-|\\\u2013|until|through|till|\\s)\\s*(${zu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:of)?\\s*)(`+GP.matchAnyPattern(n_.MONTH_DICTIONARY)+`)(?:(?:-|/|,?\\s*)(${r_.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),zP=3,Jk=1,e_=2,t_=4,nh=class extends BP.AbstractParserWithWordBoundaryChecking{innerPattern(){return VP}innerExtract(t,e){let n=n_.MONTH_DICTIONARY[e[zP].toLowerCase()],i=zu.parseOrdinalNumberPattern(e[Jk]);if(i>31)return e.index=e.index+e[Jk].length,null;let s=t.createParsingComponents({day:i,month:n});if(e[t_]){let l=r_.parseYear(e[t_]);s.assign("year",l)}else{let l=HP.findYearClosestToRef(t.refDate,i,n);s.imply("year",l)}if(!e[e_])return s;let a=zu.parseOrdinalNumberPattern(e[e_]),o=t.createParsingResult(e.index,e[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};rh.default=nh});var l_=C(sh=>{"use strict";Object.defineProperty(sh,"__esModule",{value:!0});var a_=Rn(),KP=Pt(),QP=Qe(),o_=Rn(),XP=ie(),ZP=new RegExp(`(${QP.matchAnyPattern(a_.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${o_.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),JP=1,s_=2,ih=class extends XP.AbstractParserWithWordBoundaryChecking{innerPattern(){return ZP}innerExtract(t,e){let n=t.createParsingComponents();n.imply("day",1);let i=e[JP],s=a_.MONTH_DICTIONARY[i.toLowerCase()];if(n.assign("month",s),e[s_]){let a=o_.parseYear(e[s_]);n.assign("year",a)}else{let a=KP.findYearClosestToRef(t.refDate,1,s);n.imply("year",a)}return n}};sh.default=ih});var u_=C(oh=>{"use strict";Object.defineProperty(oh,"__esModule",{value:!0});var eN=ie(),tN=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),nN=1,rN=2,ah=class extends eN.AbstractParserWithWordBoundaryChecking{innerPattern(){return tN}innerExtract(t,e){let n=parseInt(e[rN]),i=parseInt(e[nN]);return t.createParsingComponents().imply("day",1).assign("month",i).assign("year",n)}};oh.default=ah});var c_=C(uh=>{"use strict";Object.defineProperty(uh,"__esModule",{value:!0});var iN=cs(),lh=class extends iN.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:om)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|om|\\?)\\s*"}primarySuffix(){return"(?:\\s*(?:uur))?(?!/)(?=\\W|$)"}extractPrimaryTimeComponents(t,e){return e[0].match(/^\s*\d{4}\s*$/)?null:super.extractPrimaryTimeComponents(t,e)}};uh.default=lh});var p_=C(dh=>{"use strict";Object.defineProperty(dh,"__esModule",{value:!0});var f_=Rn(),sN=Qe(),aN=ie(),oN=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${sN.matchAnyPattern(f_.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),lN=1,uN=2,d_=3,cN=4,ch=class extends aN.AbstractParserWithWordBoundaryChecking{innerPattern(){return oN}innerExtract(t,e){let n=e[d_]?parseInt(e[d_]):f_.MONTH_DICTIONARY[e[uN].toLowerCase()];if(n<1||n>12)return null;let i=parseInt(e[lN]);return{day:parseInt(e[cN]),month:n,year:i}}};dh.default=ch});var m_=C(Qo=>{"use strict";var dN=Qo&&Qo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Qo,"__esModule",{value:!0});var fN=ie(),Ku=Tt(),fh=Vn(),pN=dN(je()),mN=1,hN=2,ph=class extends fN.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(t,e){let n=e[mN].toLowerCase(),i=e[hN].toLowerCase(),s=t.createParsingComponents(),a=pN.default(t.refDate);switch(n){case"gisteren":fh.assignSimilarDate(s,a.add(-1,"day"));break;case"van":fh.assignSimilarDate(s,a);break;case"morgen":fh.assignTheNextDay(s,a);break}switch(i){case"ochtend":s.imply("meridiem",Ku.Meridiem.AM),s.imply("hour",6);break;case"middag":s.imply("meridiem",Ku.Meridiem.AM),s.imply("hour",12);break;case"namiddag":s.imply("meridiem",Ku.Meridiem.PM),s.imply("hour",15);break;case"avond":s.imply("meridiem",Ku.Meridiem.PM),s.imply("hour",20);break}return s}};Qo.default=ph});var g_=C(hh=>{"use strict";Object.defineProperty(hh,"__esModule",{value:!0});var h_=Rn(),gN=ot(),yN=ie(),bN=zn(),TN=new RegExp(`(deze|vorige|afgelopen|komende|over|\\+|-)\\s*(${h_.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),mh=class extends yN.AbstractParserWithWordBoundaryChecking{innerPattern(){return TN}innerExtract(t,e){let n=e[1].toLowerCase(),i=h_.parseTimeUnits(e[2]);switch(n){case"vorige":case"afgelopen":case"-":i=bN.reverseTimeUnits(i);break}return gN.ParsingComponents.createRelativeFromReference(t.reference,i)}};hh.default=mh});var T_=C(Xo=>{"use strict";var vN=Xo&&Xo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Xo,"__esModule",{value:!0});var b_=Rn(),y_=ot(),kN=vN(je()),_N=ie(),wN=Qe(),SN=new RegExp(`(dit|deze|komende|volgend|volgende|afgelopen|vorige)\\s*(${wN.matchAnyPattern(b_.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),DN=1,EN=2,gh=class extends _N.AbstractParserWithWordBoundaryChecking{innerPattern(){return SN}innerExtract(t,e){let n=e[DN].toLowerCase(),i=e[EN].toLowerCase(),s=b_.TIME_UNIT_DICTIONARY[i];if(n=="volgend"||n=="volgende"||n=="komende"){let l={};return l[s]=1,y_.ParsingComponents.createRelativeFromReference(t.reference,l)}if(n=="afgelopen"||n=="vorige"){let l={};return l[s]=-1,y_.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=kN.default(t.reference.instant);return i.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):i.match(/maand/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):i.match(/jaar/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};Xo.default=gh});var v_=C(Th=>{"use strict";Object.defineProperty(Th,"__esModule",{value:!0});var bh=Rn(),ON=ot(),xN=ie(),RN=zn(),CN=new RegExp("("+bh.TIME_UNITS_PATTERN+")(?:geleden|voor|eerder)(?=(?:\\W|$))","i"),MN=new RegExp("("+bh.TIME_UNITS_PATTERN+")geleden(?=(?:\\W|$))","i"),yh=class extends xN.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?MN:CN}innerExtract(t,e){let n=bh.parseTimeUnits(e[1]),i=RN.reverseTimeUnits(n);return ON.ParsingComponents.createRelativeFromReference(t.reference,i)}};Th.default=yh});var k_=C(_h=>{"use strict";Object.defineProperty(_h,"__esModule",{value:!0});var kh=Rn(),AN=ot(),PN=ie(),NN=new RegExp("("+kh.TIME_UNITS_PATTERN+")(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))","i"),IN=new RegExp("("+kh.TIME_UNITS_PATTERN+")(later|vanaf nu)(?=(?:\\W|$))","i"),FN=1,vh=class extends PN.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?IN:NN}innerExtract(t,e){let n=kh.parseTimeUnits(e[FN]);return AN.ParsingComponents.createRelativeFromReference(t.reference,n)}};_h.default=vh});var D_=C(xt=>{"use strict";var It=xt&&xt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(xt,"__esModule",{value:!0});xt.createConfiguration=xt.createCasualConfiguration=xt.parseDate=xt.parse=xt.strict=xt.casual=void 0;var LN=si(),__=hr(),UN=It($k()),YN=It(jk()),qN=It(Hk()),WN=It(Gk()),$N=It(ps()),jN=It(Qk()),HN=It(Zk()),GN=It(i_()),w_=It(l_()),BN=It(u_()),VN=It(c_()),zN=It(p_()),KN=It(m_()),QN=It(g_()),XN=It(T_()),ZN=It(v_()),JN=It(k_());xt.casual=new __.Chrono(S_());xt.strict=new __.Chrono(wh(!0));function eI(r,t,e){return xt.casual.parse(r,t,e)}xt.parse=eI;function tI(r,t,e){return xt.casual.parseDate(r,t,e)}xt.parseDate=tI;function S_(r=!0){let t=wh(!1,r);return t.parsers.unshift(new qN.default),t.parsers.unshift(new WN.default),t.parsers.unshift(new KN.default),t.parsers.unshift(new w_.default),t.parsers.unshift(new XN.default),t.parsers.unshift(new QN.default),t}xt.createCasualConfiguration=S_;function wh(r=!0,t=!0){return LN.includeCommonConfiguration({parsers:[new $N.default(t),new jN.default,new GN.default,new w_.default,new HN.default,new zN.default,new BN.default,new VN.default(r),new ZN.default(r),new JN.default(r)],refiners:[new YN.default,new UN.default]},r)}xt.createConfiguration=wh});var R_=C(Zo=>{"use strict";var nI=Zo&&Zo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Zo,"__esModule",{value:!0});var rI=nI(je()),iI=ie(),sI=1,E_=2,aI=3,O_=4,x_=5,oI=6,Sh=class extends iI.AbstractParserWithWordBoundaryChecking{innerPattern(t){return new RegExp("(\u800C\u5BB6|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(t,e){let n=e.index,i=t.createParsingResult(n,e[0]),s=rI.default(t.refDate),a=s;if(e[sI])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(e[E_]){let o=e[E_],l=e[aI];o=="\u660E"||o=="\u807D"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u5F8C"?a=a.add(2,"day"):o=="\u5927\u5F8C"&&(a=a.add(3,"day")),l=="\u65E9"||l=="\u671D"?i.start.imply("hour",6):l=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(e[O_]){let l=e[O_][0];l=="\u65E9"||l=="\u671D"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"||l=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}else if(e[x_]){let o=e[x_];o=="\u660E"||o=="\u807D"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u5F8C"?a=a.add(2,"day"):o=="\u5927\u5F8C"&&(a=a.add(3,"day"));let l=e[oI];if(l){let u=l[0];u=="\u65E9"||u=="\u671D"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"||u=="\u664F"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};Zo.default=Sh});var ya=C(mn=>{"use strict";Object.defineProperty(mn,"__esModule",{value:!0});mn.zhStringToYear=mn.zhStringToNumber=mn.WEEKDAY_OFFSET=mn.NUMBER=void 0;mn.NUMBER={\u96F6:0,\u4E00:1,\u4E8C:2,\u5169:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10,\u5EFF:20,\u5345:30};mn.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function lI(r){let t=0;for(let e=0;e<r.length;e++){let n=r[e];n==="\u5341"?t=t===0?mn.NUMBER[n]:t*mn.NUMBER[n]:t+=mn.NUMBER[n]}return t}mn.zhStringToNumber=lI;function uI(r){let t="";for(let e=0;e<r.length;e++){let n=r[e];t=t+mn.NUMBER[n]}return parseInt(t)}mn.zhStringToYear=uI});var M_=C(Jo=>{"use strict";var cI=Jo&&Jo.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Jo,"__esModule",{value:!0});var dI=cI(je()),fI=ie(),gs=ya(),Dh=1,C_=2,Eh=3,Oh=class extends fI.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(gs.NUMBER).join("")+"]{4}|["+Object.keys(gs.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(gs.NUMBER).join("")+"]{1,2})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(gs.NUMBER).join("")+"]{1,2})?(?:\\s*)(?:\u65E5|\u865F)?")}innerExtract(t,e){let n=dI.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=parseInt(e[C_]);if(isNaN(s)&&(s=gs.zhStringToNumber(e[C_])),i.start.assign("month",s),e[Eh]){let a=parseInt(e[Eh]);isNaN(a)&&(a=gs.zhStringToNumber(e[Eh])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(e[Dh]){let a=parseInt(e[Dh]);isNaN(a)&&(a=gs.zhStringToYear(e[Dh])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};Jo.default=Oh});var P_=C(el=>{"use strict";var pI=el&&el.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(el,"__esModule",{value:!0});var mI=pI(je()),hI=ie(),A_=ya(),gI=new RegExp("(\\d+|["+Object.keys(A_.NUMBER).join("")+"]+|\u534A|\u5E7E)(?:\\s*)(?:\u500B)?(\u79D2(?:\u9418)?|\u5206\u9418|\u5C0F\u6642|\u9418|\u65E5|\u5929|\u661F\u671F|\u79AE\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u904E)?\u5F8C|(?:\u4E4B)?\u5167)","i"),xh=1,yI=2,Rh=class extends hI.AbstractParserWithWordBoundaryChecking{innerPattern(){return gI}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=parseInt(e[xh]);if(isNaN(i)&&(i=A_.zhStringToNumber(e[xh])),isNaN(i)){let l=e[xh];if(l==="\u5E7E")i=3;else if(l==="\u534A")i=.5;else return null}let s=mI.default(t.refDate),o=e[yI][0];return o.match(/[日天星禮月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u79AE"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u9418")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};el.default=Rh});var I_=C(tl=>{"use strict";var bI=tl&&tl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(tl,"__esModule",{value:!0});var TI=bI(je()),vI=ie(),N_=ya(),kI=new RegExp("(?<prefix>\u4E0A|\u4ECA|\u4E0B|\u9019|\u5462)(?:\u500B)?(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(N_.WEEKDAY_OFFSET).join("|")+")"),Ch=class extends vI.AbstractParserWithWordBoundaryChecking{innerPattern(){return kI}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=N_.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=e.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":(o=="\u4ECA"||o=="\u9019"||o=="\u5462")&&(a="this");let l=TI.default(t.refDate),u=!1,c=l.day();return a=="last"||a=="past"?(l=l.day(s-7),u=!0):a=="next"?(l=l.day(s+7),u=!0):a=="this"?l=l.day(s):Math.abs(s-7-c)<Math.abs(s-c)?l=l.day(s-7):Math.abs(s+7-c)<Math.abs(s-c)?l=l.day(s+7):l=l.day(s),n.start.assign("weekday",s),u?(n.start.assign("day",l.date()),n.start.assign("month",l.month()+1),n.start.assign("year",l.year())):(n.start.imply("day",l.date()),n.start.imply("month",l.month()+1),n.start.imply("year",l.year())),n}};tl.default=Ch});var F_=C(nl=>{"use strict";var _I=nl&&nl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(nl,"__esModule",{value:!0});var wI=_I(je()),SI=ie(),Xn=ya(),DI=new RegExp("(?:\u7531|\u5F9E|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Xn.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Xn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Xn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),EI=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u5F8C|\u5927\u5F8C|\u807D|\u6628|\u5C0B|\u7434)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348|\u665D)|\u671D(?:\u65E9)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348|\u665D)|\u664F(?:\u665D)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Xn.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Xn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Xn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),Qu=1,Xu=2,Zu=3,Ju=4,ec=5,tc=6,Qn=7,ba=8,nc=9,Mh=class extends SI.AbstractParserWithWordBoundaryChecking{innerPattern(){return DI}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let n=wI.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=n.clone();if(e[Qu]){var a=e[Qu];a=="\u660E"||a=="\u807D"?n.hour()>1&&s.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?s.add(-1,"day"):a=="\u524D"?s.add(-2,"day"):a=="\u5927\u524D"?s.add(-3,"day"):a=="\u5F8C"?s.add(2,"day"):a=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(e[Ju]){var o=e[Ju];o=="\u660E"||o=="\u807D"?s.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?s.add(-1,"day"):o=="\u524D"?s.add(-2,"day"):o=="\u5927\u524D"?s.add(-3,"day"):o=="\u5F8C"?s.add(2,"day"):o=="\u5927\u5F8C"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let l=0,u=0,c=-1;if(e[ba]){var d=parseInt(e[ba]);if(isNaN(d)&&(d=Xn.zhStringToNumber(e[ba])),d>=60)return null;i.start.assign("second",d)}if(l=parseInt(e[tc]),isNaN(l)&&(l=Xn.zhStringToNumber(e[tc])),e[Qn]?e[Qn]=="\u534A"?u=30:e[Qn]=="\u6B63"||e[Qn]=="\u6574"?u=0:(u=parseInt(e[Qn]),isNaN(u)&&(u=Xn.zhStringToNumber(e[Qn]))):l>100&&(u=l%100,l=Math.floor(l/100)),u>=60||l>24)return null;if(l>=12&&(c=1),e[nc]){if(l>12)return null;var f=e[nc][0].toLowerCase();f=="a"&&(c=0,l==12&&(l=0)),f=="p"&&(c=1,l!=12&&(l+=12))}else if(e[Xu]){var p=e[Xu],g=p[0];g=="\u671D"||g=="\u65E9"?(c=0,l==12&&(l=0)):g=="\u665A"&&(c=1,l!=12&&(l+=12))}else if(e[Zu]){var b=e[Zu],v=b[0];v=="\u4E0A"||v=="\u671D"||v=="\u65E9"||v=="\u51CC"?(c=0,l==12&&(l=0)):(v=="\u4E0B"||v=="\u664F"||v=="\u665A")&&(c=1,l!=12&&(l+=12))}else if(e[ec]){var E=e[ec],x=E[0];x=="\u4E0A"||x=="\u671D"||x=="\u65E9"||x=="\u51CC"?(c=0,l==12&&(l=0)):(x=="\u4E0B"||x=="\u664F"||x=="\u665A")&&(c=1,l!=12&&(l+=12))}if(i.start.assign("hour",l),i.start.assign("minute",u),c>=0?i.start.assign("meridiem",c):l<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),e=EI.exec(t.text.substring(i.index+i.text.length)),!e)return i.text.match(/^\d+$/)?null:i;let O=s.clone();if(i.end=t.createParsingComponents(),e[Qu]){var a=e[Qu];a=="\u660E"||a=="\u807D"?n.hour()>1&&O.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?O.add(-1,"day"):a=="\u524D"?O.add(-2,"day"):a=="\u5927\u524D"?O.add(-3,"day"):a=="\u5F8C"?O.add(2,"day"):a=="\u5927\u5F8C"&&O.add(3,"day"),i.end.assign("day",O.date()),i.end.assign("month",O.month()+1),i.end.assign("year",O.year())}else if(e[Ju]){var o=e[Ju];o=="\u660E"||o=="\u807D"?O.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?O.add(-1,"day"):o=="\u524D"?O.add(-2,"day"):o=="\u5927\u524D"?O.add(-3,"day"):o=="\u5F8C"?O.add(2,"day"):o=="\u5927\u5F8C"&&O.add(3,"day"),i.end.assign("day",O.date()),i.end.assign("month",O.month()+1),i.end.assign("year",O.year())}else i.end.imply("day",O.date()),i.end.imply("month",O.month()+1),i.end.imply("year",O.year());if(l=0,u=0,c=-1,e[ba]){var d=parseInt(e[ba]);if(isNaN(d)&&(d=Xn.zhStringToNumber(e[ba])),d>=60)return null;i.end.assign("second",d)}if(l=parseInt(e[tc]),isNaN(l)&&(l=Xn.zhStringToNumber(e[tc])),e[Qn]?e[Qn]=="\u534A"?u=30:e[Qn]=="\u6B63"||e[Qn]=="\u6574"?u=0:(u=parseInt(e[Qn]),isNaN(u)&&(u=Xn.zhStringToNumber(e[Qn]))):l>100&&(u=l%100,l=Math.floor(l/100)),u>=60||l>24)return null;if(l>=12&&(c=1),e[nc]){if(l>12)return null;var f=e[nc][0].toLowerCase();f=="a"&&(c=0,l==12&&(l=0)),f=="p"&&(c=1,l!=12&&(l+=12)),i.start.isCertain("meridiem")||(c==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(e[Xu]){var p=e[Xu],g=p[0];g=="\u671D"||g=="\u65E9"?(c=0,l==12&&(l=0)):g=="\u665A"&&(c=1,l!=12&&(l+=12))}else if(e[Zu]){var b=e[Zu],v=b[0];v=="\u4E0A"||v=="\u671D"||v=="\u65E9"||v=="\u51CC"?(c=0,l==12&&(l=0)):(v=="\u4E0B"||v=="\u664F"||v=="\u665A")&&(c=1,l!=12&&(l+=12))}else if(e[ec]){var E=e[ec],x=E[0];x=="\u4E0A"||x=="\u671D"||x=="\u65E9"||x=="\u51CC"?(c=0,l==12&&(l=0)):(x=="\u4E0B"||x=="\u664F"||x=="\u665A")&&(c=1,l!=12&&(l+=12))}return i.text=i.text+e[0],i.end.assign("hour",l),i.end.assign("minute",u),c>=0?i.end.assign("meridiem",c):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>l?i.end.imply("meridiem",0):l>12&&i.end.imply("meridiem",1),i.end.date().getTime()<i.start.date().getTime()&&i.end.imply("day",i.end.get("day")+1),i}};nl.default=Mh});var U_=C(rl=>{"use strict";var OI=rl&&rl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(rl,"__esModule",{value:!0});var xI=OI(je()),RI=ie(),L_=ya(),CI=new RegExp("(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(L_.WEEKDAY_OFFSET).join("|")+")"),Ah=class extends RI.AbstractParserWithWordBoundaryChecking{innerPattern(){return CI}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=L_.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=xI.default(t.refDate),o=!1,l=a.day();return Math.abs(s-7-l)<Math.abs(s-l)?a=a.day(s-7):Math.abs(s+7-l)<Math.abs(s-l)?a=a.day(s+7):a=a.day(s),n.start.assign("weekday",s),o?(n.start.assign("day",a.date()),n.start.assign("month",a.month()+1),n.start.assign("year",a.year())):(n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())),n}};rl.default=Ah});var Y_=C(il=>{"use strict";var MI=il&&il.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(il,"__esModule",{value:!0});var AI=MI(Ir()),Ph=class extends AI.default{patternBetween(){return/^\s*(至|到|\-|\~|～|－|ー)\s*$/i}};il.default=Ph});var q_=C(sl=>{"use strict";var PI=sl&&sl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(sl,"__esModule",{value:!0});var NI=PI(ii()),Nh=class extends NI.default{patternBetween(){return/^\s*$/i}};sl.default=Nh});var W_=C(pt=>{"use strict";var ci=pt&&pt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(pt,"__esModule",{value:!0});pt.createConfiguration=pt.createCasualConfiguration=pt.parseDate=pt.parse=pt.strict=pt.casual=pt.hant=void 0;var Ih=hr(),II=ci(Au()),FI=si(),LI=ci(R_()),UI=ci(M_()),YI=ci(P_()),qI=ci(I_()),WI=ci(F_()),$I=ci(U_()),jI=ci(Y_()),HI=ci(q_());pt.hant=new Ih.Chrono(Fh());pt.casual=new Ih.Chrono(Fh());pt.strict=new Ih.Chrono(Lh());function GI(r,t,e){return pt.casual.parse(r,t,e)}pt.parse=GI;function BI(r,t,e){return pt.casual.parseDate(r,t,e)}pt.parseDate=BI;function Fh(){let r=Lh();return r.parsers.unshift(new LI.default),r}pt.createCasualConfiguration=Fh;function Lh(){let r=FI.includeCommonConfiguration({parsers:[new UI.default,new qI.default,new $I.default,new WI.default,new YI.default],refiners:[new jI.default,new HI.default]});return r.refiners=r.refiners.filter(t=>!(t instanceof II.default)),r}pt.createConfiguration=Lh});var G_=C(al=>{"use strict";var VI=al&&al.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(al,"__esModule",{value:!0});var zI=VI(je()),KI=ie(),QI=1,$_=2,XI=3,j_=4,H_=5,ZI=6,Uh=class extends KI.AbstractParserWithWordBoundaryChecking{innerPattern(t){return new RegExp("(\u73B0\u5728|\u7ACB(?:\u523B|\u5373)|\u5373\u523B)|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s|,|\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?","i")}innerExtract(t,e){let n=e.index,i=t.createParsingResult(n,e[0]),s=zI.default(t.refDate),a=s;if(e[QI])i.start.imply("hour",s.hour()),i.start.imply("minute",s.minute()),i.start.imply("second",s.second()),i.start.imply("millisecond",s.millisecond());else if(e[$_]){let o=e[$_],l=e[XI];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day")),l=="\u65E9"?i.start.imply("hour",6):l=="\u665A"&&(i.start.imply("hour",22),i.start.imply("meridiem",1))}else if(e[j_]){let l=e[j_][0];l=="\u65E9"||l=="\u4E0A"?i.start.imply("hour",6):l=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):l=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):l=="\u591C"||l=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):l=="\u51CC"&&i.start.imply("hour",0)}else if(e[H_]){let o=e[H_];o=="\u660E"?s.hour()>1&&(a=a.add(1,"day")):o=="\u6628"?a=a.add(-1,"day"):o=="\u524D"?a=a.add(-2,"day"):o=="\u5927\u524D"?a=a.add(-3,"day"):o=="\u540E"?a=a.add(2,"day"):o=="\u5927\u540E"&&(a=a.add(3,"day"));let l=e[ZI];if(l){let u=l[0];u=="\u65E9"||u=="\u4E0A"?i.start.imply("hour",6):u=="\u4E0B"?(i.start.imply("hour",15),i.start.imply("meridiem",1)):u=="\u4E2D"?(i.start.imply("hour",12),i.start.imply("meridiem",1)):u=="\u591C"||u=="\u665A"?(i.start.imply("hour",22),i.start.imply("meridiem",1)):u=="\u51CC"&&i.start.imply("hour",0)}}return i.start.assign("day",a.date()),i.start.assign("month",a.month()+1),i.start.assign("year",a.year()),i}};al.default=Uh});var Ta=C(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.zhStringToYear=hn.zhStringToNumber=hn.WEEKDAY_OFFSET=hn.NUMBER=void 0;hn.NUMBER={\u96F6:0,"\u3007":0,\u4E00:1,\u4E8C:2,\u4E24:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6,\u4E03:7,\u516B:8,\u4E5D:9,\u5341:10};hn.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function JI(r){let t=0;for(let e=0;e<r.length;e++){let n=r[e];n==="\u5341"?t=t===0?hn.NUMBER[n]:t*hn.NUMBER[n]:t+=hn.NUMBER[n]}return t}hn.zhStringToNumber=JI;function eF(r){let t="";for(let e=0;e<r.length;e++){let n=r[e];t=t+hn.NUMBER[n]}return parseInt(t)}hn.zhStringToYear=eF});var V_=C(ol=>{"use strict";var tF=ol&&ol.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ol,"__esModule",{value:!0});var nF=tF(je()),rF=ie(),ys=Ta(),Yh=1,B_=2,qh=3,Wh=class extends rF.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(ys.NUMBER).join("")+"]{4}|["+Object.keys(ys.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(ys.NUMBER).join("")+"]{1,3})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(ys.NUMBER).join("")+"]{1,3})?(?:\\s*)(?:\u65E5|\u53F7)?")}innerExtract(t,e){let n=nF.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=parseInt(e[B_]);if(isNaN(s)&&(s=ys.zhStringToNumber(e[B_])),i.start.assign("month",s),e[qh]){let a=parseInt(e[qh]);isNaN(a)&&(a=ys.zhStringToNumber(e[qh])),i.start.assign("day",a)}else i.start.imply("day",n.date());if(e[Yh]){let a=parseInt(e[Yh]);isNaN(a)&&(a=ys.zhStringToYear(e[Yh])),i.start.assign("year",a)}else i.start.imply("year",n.year());return i}};ol.default=Wh});var K_=C(ll=>{"use strict";var iF=ll&&ll.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ll,"__esModule",{value:!0});var sF=iF(je()),aF=ie(),z_=Ta(),oF=new RegExp("(\\d+|["+Object.keys(z_.NUMBER).join("")+"]+|\u534A|\u51E0)(?:\\s*)(?:\u4E2A)?(\u79D2(?:\u949F)?|\u5206\u949F|\u5C0F\u65F6|\u949F|\u65E5|\u5929|\u661F\u671F|\u793C\u62DC|\u6708|\u5E74)(?:(?:\u4E4B|\u8FC7)?\u540E|(?:\u4E4B)?\u5185)","i"),$h=1,lF=2,jh=class extends aF.AbstractParserWithWordBoundaryChecking{innerPattern(){return oF}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=parseInt(e[$h]);if(isNaN(i)&&(i=z_.zhStringToNumber(e[$h])),isNaN(i)){let l=e[$h];if(l==="\u51E0")i=3;else if(l==="\u534A")i=.5;else return null}let s=sF.default(t.refDate),o=e[lF][0];return o.match(/[日天星礼月年]/)?(o=="\u65E5"||o=="\u5929"?s=s.add(i,"d"):o=="\u661F"||o=="\u793C"?s=s.add(i*7,"d"):o=="\u6708"?s=s.add(i,"month"):o=="\u5E74"&&(s=s.add(i,"year")),n.start.assign("year",s.year()),n.start.assign("month",s.month()+1),n.start.assign("day",s.date()),n):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u949F")&&(s=s.add(i,"hour")),n.start.imply("year",s.year()),n.start.imply("month",s.month()+1),n.start.imply("day",s.date()),n.start.assign("hour",s.hour()),n.start.assign("minute",s.minute()),n.start.assign("second",s.second()),n)}};ll.default=jh});var X_=C(ul=>{"use strict";var uF=ul&&ul.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(ul,"__esModule",{value:!0});var cF=uF(je()),dF=ie(),Q_=Ta(),fF=new RegExp("(?<prefix>\u4E0A|\u4E0B|\u8FD9)(?:\u4E2A)?(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(Q_.WEEKDAY_OFFSET).join("|")+")"),Hh=class extends dF.AbstractParserWithWordBoundaryChecking{innerPattern(){return fF}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=Q_.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=null,o=e.groups.prefix;o=="\u4E0A"?a="last":o=="\u4E0B"?a="next":o=="\u8FD9"&&(a="this");let l=cF.default(t.refDate),u=!1,c=l.day();return a=="last"||a=="past"?(l=l.day(s-7),u=!0):a=="next"?(l=l.day(s+7),u=!0):a=="this"?l=l.day(s):Math.abs(s-7-c)<Math.abs(s-c)?l=l.day(s-7):Math.abs(s+7-c)<Math.abs(s-c)?l=l.day(s+7):l=l.day(s),n.start.assign("weekday",s),u?(n.start.assign("day",l.date()),n.start.assign("month",l.month()+1),n.start.assign("year",l.year())):(n.start.imply("day",l.date()),n.start.imply("month",l.month()+1),n.start.imply("year",l.year())),n}};ul.default=Hh});var Z_=C(cl=>{"use strict";var pF=cl&&cl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(cl,"__esModule",{value:!0});var mF=pF(je()),hF=ie(),Jn=Ta(),gF=new RegExp("(?:\u4ECE|\u81EA)?(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Jn.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Jn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Jn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),yF=new RegExp("(?:^\\s*(?:\u5230|\u81F3|\\-|\\\u2013|\\~|\\\u301C)\\s*)(?:(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(\u65E9|\u671D|\u665A)|(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668))|(\u4ECA|\u660E|\u524D|\u5927\u524D|\u540E|\u5927\u540E|\u6628)(?:\u65E5|\u5929)(?:[\\s,\uFF0C]*)(?:(\u4E0A(?:\u5348)|\u65E9(?:\u4E0A)|\u4E0B(?:\u5348)|\u665A(?:\u4E0A)|\u591C(?:\u665A)?|\u4E2D(?:\u5348)|\u51CC(?:\u6668)))?)?(?:[\\s,\uFF0C]*)(?:(\\d+|["+Object.keys(Jn.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Jn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Jn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),rc=1,ic=2,sc=3,ac=4,oc=5,lc=6,Zn=7,va=8,uc=9,Gh=class extends hF.AbstractParserWithWordBoundaryChecking{innerPattern(){return gF}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let n=mF.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=n.clone();if(e[rc]){let c=e[rc];c=="\u660E"?n.hour()>1&&s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else if(e[ac]){let c=e[ac];c=="\u660E"?s.add(1,"day"):c=="\u6628"?s.add(-1,"day"):c=="\u524D"?s.add(-2,"day"):c=="\u5927\u524D"?s.add(-3,"day"):c=="\u540E"?s.add(2,"day"):c=="\u5927\u540E"&&s.add(3,"day"),i.start.assign("day",s.date()),i.start.assign("month",s.month()+1),i.start.assign("year",s.year())}else i.start.imply("day",s.date()),i.start.imply("month",s.month()+1),i.start.imply("year",s.year());let a=0,o=0,l=-1;if(e[va]){let c=parseInt(e[va]);if(isNaN(c)&&(c=Jn.zhStringToNumber(e[va])),c>=60)return null;i.start.assign("second",c)}if(a=parseInt(e[lc]),isNaN(a)&&(a=Jn.zhStringToNumber(e[lc])),e[Zn]?e[Zn]=="\u534A"?o=30:e[Zn]=="\u6B63"||e[Zn]=="\u6574"?o=0:(o=parseInt(e[Zn]),isNaN(o)&&(o=Jn.zhStringToNumber(e[Zn]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(l=1),e[uc]){if(a>12)return null;let c=e[uc][0].toLowerCase();c=="a"&&(l=0,a==12&&(a=0)),c=="p"&&(l=1,a!=12&&(a+=12))}else if(e[ic]){let d=e[ic][0];d=="\u65E9"?(l=0,a==12&&(a=0)):d=="\u665A"&&(l=1,a!=12&&(a+=12))}else if(e[sc]){let d=e[sc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}else if(e[oc]){let d=e[oc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}if(i.start.assign("hour",a),i.start.assign("minute",o),l>=0?i.start.assign("meridiem",l):a<12?i.start.imply("meridiem",0):i.start.imply("meridiem",1),e=yF.exec(t.text.substring(i.index+i.text.length)),!e)return i.text.match(/^\d+$/)?null:i;let u=s.clone();if(i.end=t.createParsingComponents(),e[rc]){let c=e[rc];c=="\u660E"?n.hour()>1&&u.add(1,"day"):c=="\u6628"?u.add(-1,"day"):c=="\u524D"?u.add(-2,"day"):c=="\u5927\u524D"?u.add(-3,"day"):c=="\u540E"?u.add(2,"day"):c=="\u5927\u540E"&&u.add(3,"day"),i.end.assign("day",u.date()),i.end.assign("month",u.month()+1),i.end.assign("year",u.year())}else if(e[ac]){let c=e[ac];c=="\u660E"?u.add(1,"day"):c=="\u6628"?u.add(-1,"day"):c=="\u524D"?u.add(-2,"day"):c=="\u5927\u524D"?u.add(-3,"day"):c=="\u540E"?u.add(2,"day"):c=="\u5927\u540E"&&u.add(3,"day"),i.end.assign("day",u.date()),i.end.assign("month",u.month()+1),i.end.assign("year",u.year())}else i.end.imply("day",u.date()),i.end.imply("month",u.month()+1),i.end.imply("year",u.year());if(a=0,o=0,l=-1,e[va]){let c=parseInt(e[va]);if(isNaN(c)&&(c=Jn.zhStringToNumber(e[va])),c>=60)return null;i.end.assign("second",c)}if(a=parseInt(e[lc]),isNaN(a)&&(a=Jn.zhStringToNumber(e[lc])),e[Zn]?e[Zn]=="\u534A"?o=30:e[Zn]=="\u6B63"||e[Zn]=="\u6574"?o=0:(o=parseInt(e[Zn]),isNaN(o)&&(o=Jn.zhStringToNumber(e[Zn]))):a>100&&(o=a%100,a=Math.floor(a/100)),o>=60||a>24)return null;if(a>=12&&(l=1),e[uc]){if(a>12)return null;let c=e[uc][0].toLowerCase();c=="a"&&(l=0,a==12&&(a=0)),c=="p"&&(l=1,a!=12&&(a+=12)),i.start.isCertain("meridiem")||(l==0?(i.start.imply("meridiem",0),i.start.get("hour")==12&&i.start.assign("hour",0)):(i.start.imply("meridiem",1),i.start.get("hour")!=12&&i.start.assign("hour",i.start.get("hour")+12)))}else if(e[ic]){let d=e[ic][0];d=="\u65E9"?(l=0,a==12&&(a=0)):d=="\u665A"&&(l=1,a!=12&&(a+=12))}else if(e[sc]){let d=e[sc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}else if(e[oc]){let d=e[oc][0];d=="\u4E0A"||d=="\u65E9"||d=="\u51CC"?(l=0,a==12&&(a=0)):(d=="\u4E0B"||d=="\u665A")&&(l=1,a!=12&&(a+=12))}return i.text=i.text+e[0],i.end.assign("hour",a),i.end.assign("minute",o),l>=0?i.end.assign("meridiem",l):i.start.isCertain("meridiem")&&i.start.get("meridiem")==1&&i.start.get("hour")>a?i.end.imply("meridiem",0):a>12&&i.end.imply("meridiem",1),i.end.date().getTime()<i.start.date().getTime()&&i.end.imply("day",i.end.get("day")+1),i}};cl.default=Gh});var ew=C(dl=>{"use strict";var bF=dl&&dl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(dl,"__esModule",{value:!0});var TF=bF(je()),vF=ie(),J_=Ta(),kF=new RegExp("(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(J_.WEEKDAY_OFFSET).join("|")+")"),Bh=class extends vF.AbstractParserWithWordBoundaryChecking{innerPattern(){return kF}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=J_.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=TF.default(t.refDate),o=!1,l=a.day();return Math.abs(s-7-l)<Math.abs(s-l)?a=a.day(s-7):Math.abs(s+7-l)<Math.abs(s-l)?a=a.day(s+7):a=a.day(s),n.start.assign("weekday",s),o?(n.start.assign("day",a.date()),n.start.assign("month",a.month()+1),n.start.assign("year",a.year())):(n.start.imply("day",a.date()),n.start.imply("month",a.month()+1),n.start.imply("year",a.year())),n}};dl.default=Bh});var tw=C(fl=>{"use strict";var _F=fl&&fl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(fl,"__esModule",{value:!0});var wF=_F(Ir()),Vh=class extends wF.default{patternBetween(){return/^\s*(至|到|-|~|～|－|ー)\s*$/i}};fl.default=Vh});var nw=C(pl=>{"use strict";var SF=pl&&pl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(pl,"__esModule",{value:!0});var DF=SF(ii()),zh=class extends DF.default{patternBetween(){return/^\s*$/i}};pl.default=zh});var rw=C(mt=>{"use strict";var di=mt&&mt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(mt,"__esModule",{value:!0});mt.createConfiguration=mt.createCasualConfiguration=mt.parseDate=mt.parse=mt.strict=mt.casual=mt.hans=void 0;var Kh=hr(),EF=di(Au()),OF=si(),xF=di(G_()),RF=di(V_()),CF=di(K_()),MF=di(X_()),AF=di(Z_()),PF=di(ew()),NF=di(tw()),IF=di(nw());mt.hans=new Kh.Chrono(Qh());mt.casual=new Kh.Chrono(Qh());mt.strict=new Kh.Chrono(Xh());function FF(r,t,e){return mt.casual.parse(r,t,e)}mt.parse=FF;function LF(r,t,e){return mt.casual.parseDate(r,t,e)}mt.parseDate=LF;function Qh(){let r=Xh();return r.parsers.unshift(new xF.default),r}mt.createCasualConfiguration=Qh;function Xh(){let r=OF.includeCommonConfiguration({parsers:[new RF.default,new MF.default,new PF.default,new AF.default,new CF.default],refiners:[new NF.default,new IF.default]});return r.refiners=r.refiners.filter(t=>!(t instanceof EF.default)),r}mt.createConfiguration=Xh});var sw=C(Cn=>{"use strict";var iw=Cn&&Cn.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),UF=Cn&&Cn.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),YF=Cn&&Cn.__exportStar||function(r,t){for(var e in r)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&iw(t,r,e)},qF=Cn&&Cn.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&iw(t,r,e);return UF(t,r),t};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.hans=void 0;YF(W_(),Cn);Cn.hans=qF(rw())});var gn=C(De=>{"use strict";Object.defineProperty(De,"__esModule",{value:!0});De.parseTimeUnits=De.TIME_UNITS_PATTERN=De.parseYear=De.YEAR_PATTERN=De.parseOrdinalNumberPattern=De.ORDINAL_NUMBER_PATTERN=De.parseNumberPattern=De.NUMBER_PATTERN=De.TIME_UNIT_DICTIONARY=De.ORDINAL_WORD_DICTIONARY=De.INTEGER_WORD_DICTIONARY=De.MONTH_DICTIONARY=De.FULL_MONTH_NAME_DICTIONARY=De.WEEKDAY_DICTIONARY=De.REGEX_PARTS=void 0;var cc=Qe(),WF=Pt();De.REGEX_PARTS={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"};De.WEEKDAY_DICTIONARY={\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u0435:0,\u0432\u043E\u0441\u043A\u0440\u0435\u0441\u0435\u043D\u044C\u044F:0,\u0432\u0441\u043A:0,"\u0432\u0441\u043A.":0,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A:1,\u043F\u043E\u043D\u0435\u0434\u0435\u043B\u044C\u043D\u0438\u043A\u0430:1,\u043F\u043D:1,"\u043F\u043D.":1,\u0432\u0442\u043E\u0440\u043D\u0438\u043A:2,\u0432\u0442\u043E\u0440\u043D\u0438\u043A\u0430:2,\u0432\u0442:2,"\u0432\u0442.":2,\u0441\u0440\u0435\u0434\u0430:3,\u0441\u0440\u0435\u0434\u044B:3,\u0441\u0440\u0435\u0434\u0443:3,\u0441\u0440:3,"\u0441\u0440.":3,\u0447\u0435\u0442\u0432\u0435\u0440\u0433:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0433\u0430:4,\u0447\u0442:4,"\u0447\u0442.":4,\u043F\u044F\u0442\u043D\u0438\u0446\u0430:5,\u043F\u044F\u0442\u043D\u0438\u0446\u0443:5,\u043F\u044F\u0442\u043D\u0438\u0446\u044B:5,\u043F\u0442:5,"\u043F\u0442.":5,\u0441\u0443\u0431\u0431\u043E\u0442\u0430:6,\u0441\u0443\u0431\u0431\u043E\u0442\u0443:6,\u0441\u0443\u0431\u0431\u043E\u0442\u044B:6,\u0441\u0431:6,"\u0441\u0431.":6};De.FULL_MONTH_NAME_DICTIONARY={\u044F\u043D\u0432\u0430\u0440\u044C:1,\u044F\u043D\u0432\u0430\u0440\u044F:1,\u044F\u043D\u0432\u0430\u0440\u0435:1,\u0444\u0435\u0432\u0440\u044F\u043B\u044C:2,\u0444\u0435\u0432\u0440\u044F\u043B\u044F:2,\u0444\u0435\u0432\u0440\u044F\u043B\u0435:2,\u043C\u0430\u0440\u0442:3,\u043C\u0430\u0440\u0442\u0430:3,\u043C\u0430\u0440\u0442\u0435:3,\u0430\u043F\u0440\u0435\u043B\u044C:4,\u0430\u043F\u0440\u0435\u043B\u044F:4,\u0430\u043F\u0440\u0435\u043B\u0435:4,\u043C\u0430\u0439:5,\u043C\u0430\u044F:5,\u043C\u0430\u0435:5,\u0438\u044E\u043D\u044C:6,\u0438\u044E\u043D\u044F:6,\u0438\u044E\u043D\u0435:6,\u0438\u044E\u043B\u044C:7,\u0438\u044E\u043B\u044F:7,\u0438\u044E\u043B\u0435:7,\u0430\u0432\u0433\u0443\u0441\u0442:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0430:8,\u0430\u0432\u0433\u0443\u0441\u0442\u0435:8,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044C:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u044F:9,\u0441\u0435\u043D\u0442\u044F\u0431\u0440\u0435:9,\u043E\u043A\u0442\u044F\u0431\u0440\u044C:10,\u043E\u043A\u0442\u044F\u0431\u0440\u044F:10,\u043E\u043A\u0442\u044F\u0431\u0440\u0435:10,\u043D\u043E\u044F\u0431\u0440\u044C:11,\u043D\u043E\u044F\u0431\u0440\u044F:11,\u043D\u043E\u044F\u0431\u0440\u0435:11,\u0434\u0435\u043A\u0430\u0431\u0440\u044C:12,\u0434\u0435\u043A\u0430\u0431\u0440\u044F:12,\u0434\u0435\u043A\u0430\u0431\u0440\u0435:12};De.MONTH_DICTIONARY=Object.assign(Object.assign({},De.FULL_MONTH_NAME_DICTIONARY),{\u044F\u043D\u0432:1,"\u044F\u043D\u0432.":1,\u0444\u0435\u0432:2,"\u0444\u0435\u0432.":2,\u043C\u0430\u0440:3,"\u043C\u0430\u0440.":3,\u0430\u043F\u0440:4,"\u0430\u043F\u0440.":4,\u0430\u0432\u0433:8,"\u0430\u0432\u0433.":8,\u0441\u0435\u043D:9,"\u0441\u0435\u043D.":9,\u043E\u043A\u0442:10,"\u043E\u043A\u0442.":10,\u043D\u043E\u044F:11,"\u043D\u043E\u044F.":11,\u0434\u0435\u043A:12,"\u0434\u0435\u043A.":12});De.INTEGER_WORD_DICTIONARY={\u043E\u0434\u0438\u043D:1,\u043E\u0434\u043D\u0430:1,\u043E\u0434\u043D\u043E\u0439:1,\u043E\u0434\u043D\u0443:1,\u0434\u0432\u0435:2,\u0434\u0432\u0430:2,\u0434\u0432\u0443\u0445:2,\u0442\u0440\u0438:3,\u0442\u0440\u0435\u0445:3,\u0442\u0440\u0451\u0445:3,\u0447\u0435\u0442\u044B\u0440\u0435:4,\u0447\u0435\u0442\u044B\u0440\u0435\u0445:4,\u0447\u0435\u0442\u044B\u0440\u0451\u0445:4,\u043F\u044F\u0442\u044C:5,\u043F\u044F\u0442\u0438:5,\u0448\u0435\u0441\u0442\u044C:6,\u0448\u0435\u0441\u0442\u0438:6,\u0441\u0435\u043C\u044C:7,\u0441\u0435\u043C\u0438:7,\u0432\u043E\u0441\u0435\u043C\u044C:8,\u0432\u043E\u0441\u0435\u043C\u044C\u043C\u0438:8,\u0434\u0435\u0432\u044F\u0442\u044C:9,\u0434\u0435\u0432\u044F\u0442\u0438:9,\u0434\u0435\u0441\u044F\u0442\u044C:10,\u0434\u0435\u0441\u044F\u0442\u0438:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u044C:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u0438:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u044C:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u0438:12};De.ORDINAL_WORD_DICTIONARY={\u043F\u0435\u0440\u0432\u043E\u0435:1,\u043F\u0435\u0440\u0432\u043E\u0433\u043E:1,\u0432\u0442\u043E\u0440\u043E\u0435:2,\u0432\u0442\u043E\u0440\u043E\u0433\u043E:2,\u0442\u0440\u0435\u0442\u044C\u0435:3,\u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E:3,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435:4,\u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E:4,\u043F\u044F\u0442\u043E\u0435:5,\u043F\u044F\u0442\u043E\u0433\u043E:5,\u0448\u0435\u0441\u0442\u043E\u0435:6,\u0448\u0435\u0441\u0442\u043E\u0433\u043E:6,\u0441\u0435\u0434\u044C\u043C\u043E\u0435:7,\u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E:7,\u0432\u043E\u0441\u044C\u043C\u043E\u0435:8,\u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E:8,\u0434\u0435\u0432\u044F\u0442\u043E\u0435:9,\u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E:9,\u0434\u0435\u0441\u044F\u0442\u043E\u0435:10,\u0434\u0435\u0441\u044F\u0442\u043E\u0433\u043E:10,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:11,\u043E\u0434\u0438\u043D\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:11,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:12,\u0434\u0432\u0435\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:12,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:13,\u0442\u0440\u0438\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:13,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:14,\u0447\u0435\u0442\u044B\u0440\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:14,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:15,\u043F\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:15,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:16,\u0448\u0435\u0441\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:16,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:17,\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:17,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:18,\u0432\u043E\u0441\u0435\u043C\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:18,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0435:19,\u0434\u0435\u0432\u044F\u0442\u043D\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:19,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0435:20,\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u043E\u0433\u043E:20,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":21,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0435":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u0442\u043E\u0440\u043E\u0433\u043E":22,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0442\u0440\u0435\u0442\u044C\u0435\u0433\u043E":23,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0435":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0447\u0435\u0442\u0432\u0435\u0440\u0442\u043E\u0433\u043E":24,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0435":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u043F\u044F\u0442\u043E\u0433\u043E":25,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0435":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0448\u0435\u0441\u0442\u043E\u0433\u043E":26,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0435":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0441\u0435\u0434\u044C\u043C\u043E\u0433\u043E":27,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0435":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0432\u043E\u0441\u044C\u043C\u043E\u0433\u043E":28,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0435":29,"\u0434\u0432\u0430\u0434\u0446\u0430\u0442\u044C \u0434\u0435\u0432\u044F\u0442\u043E\u0433\u043E":29,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0435:30,\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u043E\u0433\u043E:30,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0435":31,"\u0442\u0440\u0438\u0434\u0446\u0430\u0442\u044C \u043F\u0435\u0440\u0432\u043E\u0433\u043E":31};De.TIME_UNIT_DICTIONARY={\u0441\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u044B:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u0443:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0430:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0438:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u0435\u043A:"second",\u0441\u0435\u043A\u0443\u043D\u0434\u043E\u0447\u043A\u0443:"second",\u043C\u0438\u043D:"minute",\u043C\u0438\u043D\u0443\u0442\u0430:"minute",\u043C\u0438\u043D\u0443\u0442:"minute",\u043C\u0438\u043D\u0443\u0442\u044B:"minute",\u043C\u0438\u043D\u0443\u0442\u0443:"minute",\u043C\u0438\u043D\u0443\u0442\u043E\u043A:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0438:"minute",\u043C\u0438\u043D\u0443\u0442\u043A\u0443:"minute",\u0447\u0430\u0441:"hour",\u0447\u0430\u0441\u043E\u0432:"hour",\u0447\u0430\u0441\u0430:"hour",\u0447\u0430\u0441\u0443:"hour",\u0447\u0430\u0441\u0438\u043A\u043E\u0432:"hour",\u0447\u0430\u0441\u0438\u043A\u0430:"hour",\u0447\u0430\u0441\u0438\u043A\u0435:"hour",\u0447\u0430\u0441\u0438\u043A:"hour",\u0434\u0435\u043D\u044C:"d",\u0434\u043D\u044F:"d",\u0434\u043D\u0435\u0439:"d",\u0441\u0443\u0442\u043E\u043A:"d",\u0441\u0443\u0442\u043A\u0438:"d",\u043D\u0435\u0434\u0435\u043B\u044F:"week",\u043D\u0435\u0434\u0435\u043B\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u044E:"week",\u043D\u0435\u0434\u0435\u043B\u044C:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0435:"week",\u043D\u0435\u0434\u0435\u043B\u044C\u043A\u0438:"week",\u043D\u0435\u0434\u0435\u043B\u0435\u043A:"week",\u043C\u0435\u0441\u044F\u0446:"month",\u043C\u0435\u0441\u044F\u0446\u0435:"month",\u043C\u0435\u0441\u044F\u0446\u0435\u0432:"month",\u043C\u0435\u0441\u044F\u0446\u0430:"month",\u043A\u0432\u0430\u0440\u0442\u0430\u043B:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u0435:"quarter",\u043A\u0432\u0430\u0440\u0442\u0430\u043B\u043E\u0432:"quarter",\u0433\u043E\u0434:"year",\u0433\u043E\u0434\u0430:"year",\u0433\u043E\u0434\u0443:"year",\u0433\u043E\u0434\u043E\u0432:"year",\u043B\u0435\u0442:"year",\u0433\u043E\u0434\u0438\u043A:"year",\u0433\u043E\u0434\u0438\u043A\u0430:"year",\u0433\u043E\u0434\u0438\u043A\u043E\u0432:"year"};De.NUMBER_PATTERN=`(?:${cc.matchAnyPattern(De.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|\u043F\u043E\u043B|\u043D\u0435\u0441\u043A\u043E\u043B\u044C\u043A\u043E|\u043F\u0430\u0440(?:\u044B|\u0443)|\\s{0,3})`;function ow(r){let t=r.toLowerCase();return De.INTEGER_WORD_DICTIONARY[t]!==void 0?De.INTEGER_WORD_DICTIONARY[t]:t.match(/несколько/)?3:t.match(/пол/)?.5:t.match(/пар/)?2:t===""?1:parseFloat(t)}De.parseNumberPattern=ow;De.ORDINAL_NUMBER_PATTERN=`(?:${cc.matchAnyPattern(De.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435|\u043E\u0435)?)`;function $F(r){let t=r.toLowerCase();return De.ORDINAL_WORD_DICTIONARY[t]!==void 0?De.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:st|nd|rd|th)$/i,""),parseInt(t))}De.parseOrdinalNumberPattern=$F;var Zh="(?:\\s+(?:\u0433\u043E\u0434\u0443|\u0433\u043E\u0434\u0430|\u0433\u043E\u0434|\u0433|\u0433.))?";De.YEAR_PATTERN=`(?:[1-9][0-9]{0,3}${Zh}\\s*(?:\u043D.\u044D.|\u0434\u043E \u043D.\u044D.|\u043D. \u044D.|\u0434\u043E \u043D. \u044D.)|[1-2][0-9]{3}${Zh}|[5-9][0-9]${Zh})`;function jF(r){if(/(год|года|г|г.)/i.test(r)&&(r=r.replace(/(год|года|г|г.)/i,"")),/(до н.э.|до н. э.)/i.test(r))return r=r.replace(/(до н.э.|до н. э.)/i,""),-parseInt(r);if(/(н. э.|н.э.)/i.test(r))return r=r.replace(/(н. э.|н.э.)/i,""),parseInt(r);let t=parseInt(r);return WF.findMostLikelyADYear(t)}De.parseYear=jF;var lw=`(${De.NUMBER_PATTERN})\\s{0,3}(${cc.matchAnyPattern(De.TIME_UNIT_DICTIONARY)})`,aw=new RegExp(lw,"i");De.TIME_UNITS_PATTERN=cc.repeatedTimeunitPattern("(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s{0,3})?",lw);function HF(r){let t={},e=r,n=aw.exec(e);for(;n;)GF(t,n),e=e.substring(n[0].length).trim(),n=aw.exec(e);return t}De.parseTimeUnits=HF;function GF(r,t){let e=ow(t[1]),n=De.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];r[n]=e}});var cw=C(eg=>{"use strict";Object.defineProperty(eg,"__esModule",{value:!0});var ml=gn(),BF=ot(),VF=ie(),uw=`(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s*(?:~\\s*)?)?(${ml.TIME_UNITS_PATTERN})${ml.REGEX_PARTS.rightBoundary}`,zF=new RegExp(`(?:\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435|\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0438)\\s*${uw}`,ml.REGEX_PARTS.flags),KF=new RegExp(uw,"i"),Jh=class extends VF.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return ml.REGEX_PARTS.leftBoundary}innerPattern(t){return t.option.forwardDate?KF:zF}innerExtract(t,e){let n=ml.parseTimeUnits(e[1]);return BF.ParsingComponents.createRelativeFromReference(t.reference,n)}};eg.default=Jh});var hw=C(ng=>{"use strict";Object.defineProperty(ng,"__esModule",{value:!0});var QF=Pt(),hl=gn(),mw=gn(),dc=gn(),XF=Qe(),ZF=ie(),JF=new RegExp(`(?:\u0441)?\\s*(${dc.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${dc.ORDINAL_NUMBER_PATTERN}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${XF.matchAnyPattern(hl.MONTH_DICTIONARY)})(?:(?:-|\\/|,?\\s{0,3})(${mw.YEAR_PATTERN}(?![^\\s]\\d)))?${hl.REGEX_PARTS.rightBoundary}`,hl.REGEX_PARTS.flags),dw=1,fw=2,eL=3,pw=4,tg=class extends ZF.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return hl.REGEX_PARTS.leftBoundary}innerPattern(){return JF}innerExtract(t,e){let n=t.createParsingResult(e.index,e[0]),i=hl.MONTH_DICTIONARY[e[eL].toLowerCase()],s=dc.parseOrdinalNumberPattern(e[dw]);if(s>31)return e.index=e.index+e[dw].length,null;if(n.start.assign("month",i),n.start.assign("day",s),e[pw]){let a=mw.parseYear(e[pw]);n.start.assign("year",a)}else{let a=QF.findYearClosestToRef(t.refDate,s,i);n.start.imply("year",a)}if(e[fw]){let a=dc.parseOrdinalNumberPattern(e[fw]);n.end=n.start.clone(),n.end.assign("day",a)}return n}};ng.default=tg});var bw=C(ig=>{"use strict";Object.defineProperty(ig,"__esModule",{value:!0});var gl=gn(),tL=Pt(),nL=Qe(),yw=gn(),rL=ie(),iL=new RegExp(`((?:\u0432)\\s*)?(${nL.matchAnyPattern(gl.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${yw.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,gl.REGEX_PARTS.flags),sL=2,gw=3,rg=class extends rL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return gl.REGEX_PARTS.leftBoundary}innerPattern(){return iL}innerExtract(t,e){let n=e[sL].toLowerCase();if(e[0].length<=3&&!gl.FULL_MONTH_NAME_DICTIONARY[n])return null;let i=t.createParsingResult(e.index,e.index+e[0].length);i.start.imply("day",1);let s=gl.MONTH_DICTIONARY[n];if(i.start.assign("month",s),e[gw]){let a=yw.parseYear(e[gw]);i.start.assign("year",a)}else{let a=tL.findYearClosestToRef(t.refDate,1,s);i.start.imply("year",a)}return i}};ig.default=rg});var vw=C(ag=>{"use strict";Object.defineProperty(ag,"__esModule",{value:!0});var fc=Tt(),aL=cs(),Tw=gn(),sg=class extends aL.AbstractTimeExpressionParser{constructor(t){super(t)}patternFlags(){return Tw.REGEX_PARTS.flags}primaryPatternLeftBoundary(){return"(^|\\s|T|(?:[^\\p{L}\\p{N}_]))"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|\u0434\u043E|\u0438|\u043F\u043E|\\?)\\s*"}primaryPrefix(){return"(?:(?:\u0432|\u0441)\\s*)??"}primarySuffix(){return`(?:\\s*(?:\u0443\u0442\u0440\u0430|\u0432\u0435\u0447\u0435\u0440\u0430|\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F))?(?!\\/)${Tw.REGEX_PARTS.rightBoundary}`}extractPrimaryTimeComponents(t,e){let n=super.extractPrimaryTimeComponents(t,e);if(n){if(e[0].endsWith("\u0432\u0435\u0447\u0435\u0440\u0430")){let i=n.get("hour");i>=6&&i<12?(n.assign("hour",n.get("hour")+12),n.assign("meridiem",fc.Meridiem.PM)):i<6&&n.assign("meridiem",fc.Meridiem.AM)}if(e[0].endsWith("\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F")){n.assign("meridiem",fc.Meridiem.PM);let i=n.get("hour");i>=0&&i<=6&&n.assign("hour",n.get("hour")+12)}e[0].endsWith("\u0443\u0442\u0440\u0430")&&(n.assign("meridiem",fc.Meridiem.AM),n.get("hour")<12&&n.assign("hour",n.get("hour")))}return n}};ag.default=sg});var kw=C(lg=>{"use strict";Object.defineProperty(lg,"__esModule",{value:!0});var pc=gn(),oL=ot(),lL=ie(),uL=zn(),cL=new RegExp(`(${pc.TIME_UNITS_PATTERN})\\s{0,5}\u043D\u0430\u0437\u0430\u0434(?=(?:\\W|$))`,pc.REGEX_PARTS.flags),og=class extends lL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return pc.REGEX_PARTS.leftBoundary}innerPattern(){return cL}innerExtract(t,e){let n=pc.parseTimeUnits(e[1]),i=uL.reverseTimeUnits(n);return oL.ParsingComponents.createRelativeFromReference(t.reference,i)}};lg.default=og});var _w=C(yl=>{"use strict";var dL=yl&&yl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(yl,"__esModule",{value:!0});var fL=dL(Ir()),ug=class extends fL.default{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}};yl.default=ug});var ww=C(bl=>{"use strict";var pL=bl&&bl.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(bl,"__esModule",{value:!0});var mL=pL(ii()),cg=class extends mL.default{patternBetween(){return new RegExp("^\\s*(T|\u0432|,|-)?\\s*$")}};bl.default=cg});var Sw=C(fi=>{"use strict";var hL=fi&&fi.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),gL=fi&&fi.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),yL=fi&&fi.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&hL(t,r,e);return gL(t,r),t};Object.defineProperty(fi,"__esModule",{value:!0});var bL=ie(),Tl=yL(oi()),dg=gn(),TL=new RegExp(`(?:\u0441|\u0441\u043E)?\\s*(\u0441\u0435\u0433\u043E\u0434\u043D\u044F|\u0432\u0447\u0435\u0440\u0430|\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430|\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430)${dg.REGEX_PARTS.rightBoundary}`,dg.REGEX_PARTS.flags),fg=class extends bL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return dg.REGEX_PARTS.leftBoundary}innerPattern(t){return TL}innerExtract(t,e){let n=e[1].toLowerCase(),i=t.createParsingComponents();switch(n){case"\u0441\u0435\u0433\u043E\u0434\u043D\u044F":return Tl.today(t.reference);case"\u0432\u0447\u0435\u0440\u0430":return Tl.yesterday(t.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return Tl.tomorrow(t.reference);case"\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return Tl.theDayAfter(t.reference,2);case"\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return Tl.theDayBefore(t.reference,2)}return i}};fi.default=fg});var Dw=C(vr=>{"use strict";var vL=vr&&vr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),kL=vr&&vr.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),_L=vr&&vr.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&vL(t,r,e);return kL(t,r),t},wL=vr&&vr.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(vr,"__esModule",{value:!0});var SL=ie(),bs=_L(oi()),DL=Vn(),EL=wL(je()),pg=gn(),OL=new RegExp(`(\u0441\u0435\u0439\u0447\u0430\u0441|\u043F\u0440\u043E\u0448\u043B\u044B\u043C\\s*\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u043F\u0440\u043E\u0448\u043B\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u0441\u0435\u0433\u043E\u0434\u043D\u044F\\s*\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u043E\u0439\\s*\u043D\u043E\u0447\u044C\u044E|\u043D\u043E\u0447\u044C\u044E|\u044D\u0442\u0438\u043C \u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u043E\u043C|\u0443\u0442\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u0434\u0435\u043D\u044C|\u0432\u0435\u0447\u0435\u0440\u043E\u043C|\u0432\u0435\u0447\u0435\u0440\u0430|\u0432\\s*\u043F\u043E\u043B\u043D\u043E\u0447\u044C)${pg.REGEX_PARTS.rightBoundary}`,pg.REGEX_PARTS.flags),mg=class extends SL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return pg.REGEX_PARTS.leftBoundary}innerPattern(){return OL}innerExtract(t,e){let n=EL.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();if(i==="\u0441\u0435\u0439\u0447\u0430\u0441")return bs.now(t.reference);if(i==="\u0432\u0435\u0447\u0435\u0440\u043E\u043C"||i==="\u0432\u0435\u0447\u0435\u0440\u0430")return bs.evening(t.reference);if(i.endsWith("\u0443\u0442\u0440\u043E\u043C")||i.endsWith("\u0443\u0442\u0440\u0430"))return bs.morning(t.reference);if(i.match(/в\s*полдень/))return bs.noon(t.reference);if(i.match(/прошлой\s*ночью/))return bs.lastNight(t.reference);if(i.match(/прошлым\s*вечером/))return bs.yesterdayEvening(t.reference);if(i.match(/следующей\s*ночью/)){let a=n.hour()<22?1:2;n=n.add(a,"day"),DL.assignSimilarDate(s,n),s.imply("hour",0)}return i.match(/в\s*полночь/)||i.endsWith("\u043D\u043E\u0447\u044C\u044E")?bs.midnight(t.reference):s}};vr.default=mg});var Ew=C(gg=>{"use strict";Object.defineProperty(gg,"__esModule",{value:!0});var vl=gn(),xL=Qe(),RL=ie(),CL=fs(),ML=new RegExp(`(?:(?:,|\\(|\uFF08)\\s*)?(?:\u0432\\s*?)?(?:(\u044D\u0442\u0443|\u044D\u0442\u043E\u0442|\u043F\u0440\u043E\u0448\u043B\u044B\u0439|\u043F\u0440\u043E\u0448\u043B\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E)\\s*)?(${xL.matchAnyPattern(vl.WEEKDAY_DICTIONARY)})(?:\\s*(?:,|\\)|\uFF09))?(?:\\s*\u043D\u0430\\s*(\u044D\u0442\u043E\u0439|\u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439)\\s*\u043D\u0435\u0434\u0435\u043B\u0435)?${vl.REGEX_PARTS.rightBoundary}`,vl.REGEX_PARTS.flags),AL=1,PL=2,NL=3,hg=class extends RL.AbstractParserWithWordBoundaryChecking{innerPattern(){return ML}patternLeftBoundary(){return vl.REGEX_PARTS.leftBoundary}innerExtract(t,e){let n=e[PL].toLowerCase(),i=vl.WEEKDAY_DICTIONARY[n],s=e[AL],a=e[NL],o=s||a;o=o||"",o=o.toLowerCase();let l=null;o=="\u043F\u0440\u043E\u0448\u043B\u044B\u0439"||o=="\u043F\u0440\u043E\u0448\u043B\u0443\u044E"||o=="\u043F\u0440\u043E\u0448\u043B\u043E\u0439"?l="last":o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0443\u044E"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||o=="\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E"?l="next":(o=="\u044D\u0442\u043E\u0442"||o=="\u044D\u0442\u0443"||o=="\u044D\u0442\u043E\u0439")&&(l="this");let u=CL.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};gg.default=hg});var xw=C(_l=>{"use strict";var IL=_l&&_l.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(_l,"__esModule",{value:!0});var kl=gn(),Ow=ot(),FL=IL(je()),LL=ie(),UL=Qe(),YL=new RegExp(`(\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C|\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439|\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439|\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C|\u043D\u0430 \u044D\u0442\u043E\u0439|\u0432 \u044D\u0442\u043E\u043C)\\s*(${UL.matchAnyPattern(kl.TIME_UNIT_DICTIONARY)})(?=\\s*)${kl.REGEX_PARTS.rightBoundary}`,kl.REGEX_PARTS.flags),qL=1,WL=2,yg=class extends LL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return kl.REGEX_PARTS.leftBoundary}innerPattern(){return YL}innerExtract(t,e){let n=e[qL].toLowerCase(),i=e[WL].toLowerCase(),s=kl.TIME_UNIT_DICTIONARY[i];if(n=="\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||n=="\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C"){let l={};return l[s]=1,Ow.ParsingComponents.createRelativeFromReference(t.reference,l)}if(n=="\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C"||n=="\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439"){let l={};return l[s]=-1,Ow.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=FL.default(t.reference.instant);return s.match(/week/i)?(o=o.add(-o.get("d"),"d"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.imply("year",o.year())):s.match(/month/i)?(o=o.add(-o.date()+1,"d"),a.imply("day",o.date()),a.assign("year",o.year()),a.assign("month",o.month()+1)):s.match(/year/i)&&(o=o.add(-o.date()+1,"d"),o=o.add(-o.month(),"month"),a.imply("day",o.date()),a.imply("month",o.month()+1),a.assign("year",o.year())),a}};_l.default=yg});var Rw=C(Tg=>{"use strict";Object.defineProperty(Tg,"__esModule",{value:!0});var wl=gn(),$L=ot(),jL=ie(),HL=zn(),GL=new RegExp(`(\u044D\u0442\u0438|\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435|\u043F\u0440\u043E\u0448\u043B\u044B\u0435|\u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435|\u043F\u043E\u0441\u043B\u0435|\u0447\u0435\u0440\u0435\u0437|\\+|-)\\s*(${wl.TIME_UNITS_PATTERN})${wl.REGEX_PARTS.rightBoundary}`,wl.REGEX_PARTS.flags),bg=class extends jL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return wl.REGEX_PARTS.leftBoundary}innerPattern(){return GL}innerExtract(t,e){let n=e[1].toLowerCase(),i=wl.parseTimeUnits(e[2]);switch(n){case"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435":case"\u043F\u0440\u043E\u0448\u043B\u044B\u0435":case"-":i=HL.reverseTimeUnits(i);break}return $L.ParsingComponents.createRelativeFromReference(t.reference,i)}};Tg.default=bg});var Aw=C(Rt=>{"use strict";var Mn=Rt&&Rt.__importDefault||function(r){return r&&r.__esModule?r:{default:r}};Object.defineProperty(Rt,"__esModule",{value:!0});Rt.createConfiguration=Rt.createCasualConfiguration=Rt.parseDate=Rt.parse=Rt.strict=Rt.casual=void 0;var BL=Mn(cw()),VL=Mn(hw()),zL=Mn(bw()),KL=Mn(vw()),QL=Mn(kw()),XL=Mn(_w()),ZL=Mn(ww()),JL=si(),e2=Mn(Sw()),t2=Mn(Dw()),n2=Mn(Ew()),r2=Mn(xw()),Cw=hr(),i2=Mn(ps()),s2=Mn(Rw());Rt.casual=new Cw.Chrono(Mw());Rt.strict=new Cw.Chrono(vg(!0));function a2(r,t,e){return Rt.casual.parse(r,t,e)}Rt.parse=a2;function o2(r,t,e){return Rt.casual.parseDate(r,t,e)}Rt.parseDate=o2;function Mw(){let r=vg(!1);return r.parsers.unshift(new e2.default),r.parsers.unshift(new t2.default),r.parsers.unshift(new zL.default),r.parsers.unshift(new r2.default),r.parsers.unshift(new s2.default),r}Rt.createCasualConfiguration=Mw;function vg(r=!0){return JL.includeCommonConfiguration({parsers:[new i2.default(!0),new BL.default,new VL.default,new n2.default,new KL.default(r),new QL.default],refiners:[new ZL.default,new XL.default]},r)}Rt.createConfiguration=vg});var Tt=C(Re=>{"use strict";var l2=Re&&Re.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]}),u2=Re&&Re.__setModuleDefault||(Object.create?function(r,t){Object.defineProperty(r,"default",{enumerable:!0,value:t})}:function(r,t){r.default=t}),Wi=Re&&Re.__importStar||function(r){if(r&&r.__esModule)return r;var t={};if(r!=null)for(var e in r)e!=="default"&&Object.prototype.hasOwnProperty.call(r,e)&&l2(t,r,e);return u2(t,r),t};Object.defineProperty(Re,"__esModule",{value:!0});Re.parseDate=Re.parse=Re.casual=Re.strict=Re.ru=Re.zh=Re.nl=Re.pt=Re.ja=Re.fr=Re.de=Re.Meridiem=Re.Chrono=Re.en=void 0;var kg=Wi(Up());Re.en=kg;var c2=hr();Object.defineProperty(Re,"Chrono",{enumerable:!0,get:function(){return c2.Chrono}});var d2;(function(r){r[r.AM=0]="AM",r[r.PM=1]="PM"})(d2=Re.Meridiem||(Re.Meridiem={}));var f2=Wi(Wv());Re.de=f2;var p2=Wi(gk());Re.fr=p2;var m2=Wi(Dk());Re.ja=m2;var h2=Wi(Wk());Re.pt=h2;var g2=Wi(D_());Re.nl=g2;var y2=Wi(sw());Re.zh=y2;var b2=Wi(Aw());Re.ru=b2;Re.strict=kg.strict;Re.casual=kg.casual;function T2(r,t,e){return Re.casual.parse(r,t,e)}Re.parse=T2;function v2(r,t,e){return Re.casual.parseDate(r,t,e)}Re.parseDate=v2});var on,_g=Q(()=>{"use strict";on=class{constructor(t,e){this.start=t,this.end=e,e.isBefore(t)&&(this.start=e,this.end=t),this.start=this.start.startOf("day"),this.end=this.end.startOf("day")}static buildRelative(t){let e=t==="week"?"isoWeek":t;return new on(window.moment().startOf(e).startOf("day"),window.moment().endOf(e).startOf("day"))}static buildInvalid(){return new on(window.moment.invalid(),window.moment.invalid())}isValid(){return this.start.isValid()&&this.end.isValid()}moveToPrevious(t){let e=window.moment.duration(1,t);this.start.subtract(e),this.end.subtract(e),(t==="month"||t==="quarter")&&(this.end=this.end.endOf(t).startOf("day"))}moveToNext(t){let e=window.moment.duration(1,t);this.start.add(e),this.end.add(e),(t==="month"||t==="quarter")&&(this.end=this.end.endOf(t).startOf("day"))}}});var mc,An,wg=Q(()=>{"use strict";mc=ko(Tt());_g();An=class{static parseDate(t,e=!1){return window.moment(mc.parseDate(t,void 0,{forwardDate:e})).startOf("day")}static parseDateRange(t,e=!1){let n=[An.parseRelativeDateRange,An.parseNumberedDateRange,An.parseAbsoluteDateRange];for(let i of n){let s=i(t,e);if(s.isValid())return s}return on.buildInvalid()}static parseAbsoluteDateRange(t,e){let n=mc.parse(t,void 0,{forwardDate:e});if(n.length===0)return on.buildInvalid();let i=n[0].start,s=n[1]&&n[1].start?n[1].start:i,a=window.moment(i.date()),o=window.moment(s.date());return new on(a,o)}static parseRelativeDateRange(t,e){let n=/(last|this|next) (week|month|quarter|year)/,i=t.match(n);if(i&&i.length===3){let s=i[1],a=i[2],o=on.buildRelative(a);switch(s){case"last":o.moveToPrevious(a);break;case"next":o.moveToNext(a);break}return o}return on.buildInvalid()}static parseNumberedDateRange(t,e){let n=[[/^\s*[0-9]{4}\s*$/,"YYYY","year"],[/^\s*[0-9]{4}-Q[1-4]\s*$/,"YYYY-Q","quarter"],[/^\s*[0-9]{4}-[0-9]{2}\s*$/,"YYYY-MM","month"],[/^\s*[0-9]{4}-W[0-9]{2}\s*$/,"YYYY-WW","isoWeek"]];for(let[i,s,a]of n){let o=t.match(i);if(o){let l=o[0].trim();return new on(window.moment(l,s).startOf(a),window.moment(l,s).endOf(a))}}return on.buildInvalid()}}});function hc(r){for(let[t,e]of Object.entries(k2))r=r.replace(RegExp(`\\b${t}\\s`,"i"),e);return r}var k2,Sg=Q(()=>{"use strict";k2={td:"today",tm:"tomorrow",yd:"yesterday",tw:"this week",nw:"next week",weekend:"sat",we:"sat"}});function er(r,t){return r!==null&&t===null?-1:r===null&&t!==null?1:r!==null&&t!==null?r.isValid()&&!t.isValid()?1:!r.isValid()&&t.isValid()?-1:r.isAfter(t)?1:r.isBefore(t)?-1:0:0}function _2(r,t,e=void 0){if(!t)return`<i>no ${r} date</i>`;let n=Dg.parseDate(t,e,{forwardDate:e!=null});return n!==null?window.moment(n).format("YYYY-MM-DD"):`<i>invalid ${r} date</i>`}function Pw(r,t,e){return _2(r,t,e?new Date:void 0)}function Ts(r,t){let e=null,n=Dg.parseDate(r,new Date,{forwardDate:t});return n!==null&&(e=window.moment(n)),e}var Dg,vs=Q(()=>{"use strict";Dg=ko(Tt())});var tr,gc=Q(()=>{"use strict";vs();vt();tr=class{constructor({startDate:t=null,scheduledDate:e=null,dueDate:n=null}){this.startDate=t!=null?t:null,this.scheduledDate=e!=null?e:null,this.dueDate=n!=null?n:null}get referenceDate(){return this.getReferenceDate()}getReferenceDate(){let t=this.getDatePriorityOrder();for(let e of t)if(e)return window.moment(e);return null}getDatePriorityOrder(){let{removeScheduledDateOnRecurrence:t}=te();return t?[this.dueDate,this.startDate,this.scheduledDate]:[this.dueDate,this.scheduledDate,this.startDate]}isIdenticalTo(t){return!(er(this.startDate,t.startDate)!==0||er(this.scheduledDate,t.scheduledDate)!==0||er(this.dueDate,t.dueDate)!==0)}next(t){if(this.referenceDate===null)return new tr({startDate:null,scheduledDate:null,dueDate:null});let e=this.startDate!==null,n=this.dueDate!==null,i=e||n,{removeScheduledDateOnRecurrence:s}=te(),a=s&&i,o=this.nextOccurrenceDate(this.startDate,t),l=a?null:this.nextOccurrenceDate(this.scheduledDate,t),u=this.nextOccurrenceDate(this.dueDate,t);return new tr({startDate:o,scheduledDate:l,dueDate:u})}nextOccurrenceDate(t,e){if(t===null)return null;let n=window.moment.duration(t.diff(this.referenceDate)),i=window.moment(e);return i.add(Math.round(n.asDays()),"days"),i}}});var Sl,ht,ks=Q(()=>{Sl=["MO","TU","WE","TH","FR","SA","SU"],ht=function(){function r(t,e){if(e===0)throw new Error("Can't create weekday with n == 0");this.weekday=t,this.n=e}return r.fromStr=function(t){return new r(Sl.indexOf(t))},r.prototype.nth=function(t){return this.n===t?this:new r(this.weekday,t)},r.prototype.equals=function(t){return this.weekday===t.weekday&&this.n===t.n},r.prototype.toString=function(){var t=Sl[this.weekday];return this.n&&(t=(this.n>0?"+":"")+String(this.n)+t),t},r.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},r}()});function _s(r,t,e){e===void 0&&(e=" ");var n=String(r);return t=t>>0,n.length>t?String(n):(t=t-n.length,t>e.length&&(e+=Le(e,t/e.length)),e.slice(0,t)+String(n))}var rt,Pn,Eg,Ft,nr,Le,Nw,Iw,Ht,yc,Nn,ct,qe,ln=Q(()=>{ks();rt=function(r){return r!=null},Pn=function(r){return typeof r=="number"},Eg=function(r){return typeof r=="string"&&Sl.includes(r)},Ft=Array.isArray,nr=function(r,t){t===void 0&&(t=r),arguments.length===1&&(t=r,r=0);for(var e=[],n=r;n<t;n++)e.push(n);return e},Le=function(r,t){var e=0,n=[];if(Ft(r))for(;e<t;e++)n[e]=[].concat(r);else for(;e<t;e++)n[e]=r;return n},Nw=function(r){return Ft(r)?r:[r]};Iw=function(r,t,e){var n=r.split(t);return e?n.slice(0,e).concat([n.slice(e).join(t)]):n},Ht=function(r,t){var e=r%t;return e*t<0?e+t:e},yc=function(r,t){return{div:Math.floor(r/t),mod:Ht(r,t)}},Nn=function(r){return!rt(r)||r.length===0},ct=function(r){return!Nn(r)},qe=function(r,t){return ct(r)&&r.indexOf(t)!==-1}});var Ur,w2,Lw,bc,Uw,S2,ka,Og,ws,D2,Dl,Tc,E2,pi,xg,vc,kc,Rg,mi,_a,El,Fw,Yw,Gt=Q(()=>{ln();Ur=function(r,t,e,n,i,s){return n===void 0&&(n=0),i===void 0&&(i=0),s===void 0&&(s=0),new Date(Date.UTC(r,t-1,e,n,i,s))},w2=[31,28,31,30,31,30,31,31,30,31,30,31],Lw=1e3*60*60*24,bc=9999,Uw=Ur(1970,1,1),S2=[6,0,1,2,3,4,5],ka=function(r){return r%4===0&&r%100!==0||r%400===0},Og=function(r){return r instanceof Date},ws=function(r){return Og(r)&&!isNaN(r.getTime())},D2=function(r,t){var e=r.getTime(),n=t.getTime(),i=e-n;return Math.round(i/Lw)},Dl=function(r){return D2(r,Uw)},Tc=function(r){return new Date(Uw.getTime()+r*Lw)},E2=function(r){var t=r.getUTCMonth();return t===1&&ka(r.getUTCFullYear())?29:w2[t]},pi=function(r){return S2[r.getUTCDay()]},xg=function(r,t){var e=Ur(r,t+1,1);return[pi(e),E2(e)]},vc=function(r,t){return t=t||r,new Date(Date.UTC(r.getUTCFullYear(),r.getUTCMonth(),r.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},kc=function(r){var t=new Date(r.getTime());return t},Rg=function(r){for(var t=[],e=0;e<r.length;e++)t.push(kc(r[e]));return t},mi=function(r){r.sort(function(t,e){return t.getTime()-e.getTime()})},_a=function(r,t){t===void 0&&(t=!0);var e=new Date(r);return[_s(e.getUTCFullYear().toString(),4,"0"),_s(e.getUTCMonth()+1,2,"0"),_s(e.getUTCDate(),2,"0"),"T",_s(e.getUTCHours(),2,"0"),_s(e.getUTCMinutes(),2,"0"),_s(e.getUTCSeconds(),2,"0"),t?"Z":""].join("")},El=function(r){var t=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/,e=t.exec(r);if(!e)throw new Error("Invalid UNTIL value: ".concat(r));return new Date(Date.UTC(parseInt(e[1],10),parseInt(e[2],10)-1,parseInt(e[3],10),parseInt(e[5],10)||0,parseInt(e[6],10)||0,parseInt(e[7],10)||0))},Fw=function(r,t){var e=r.toLocaleString("sv-SE",{timeZone:t});return e.replace(" ","T")+"Z"},Yw=function(r,t){var e=Intl.DateTimeFormat().resolvedOptions().timeZone,n=new Date(Fw(r,e)),i=new Date(Fw(r,t!=null?t:"UTC")),s=i.getTime()-n.getTime();return new Date(r.getTime()-s)}});var O2,hi,_c=Q(()=>{O2=function(){function r(t,e){this.minDate=null,this.maxDate=null,this._result=[],this.total=0,this.method=t,this.args=e,t==="between"?(this.maxDate=e.inc?e.before:new Date(e.before.getTime()-1),this.minDate=e.inc?e.after:new Date(e.after.getTime()+1)):t==="before"?this.maxDate=e.inc?e.dt:new Date(e.dt.getTime()-1):t==="after"&&(this.minDate=e.inc?e.dt:new Date(e.dt.getTime()+1))}return r.prototype.accept=function(t){++this.total;var e=this.minDate&&t<this.minDate,n=this.maxDate&&t>this.maxDate;if(this.method==="between"){if(e)return!0;if(n)return!1}else if(this.method==="before"){if(n)return!1}else if(this.method==="after")return e?!0:(this.add(t),!1);return this.add(t)},r.prototype.add=function(t){return this._result.push(t),!0},r.prototype.getValue=function(){var t=this._result;switch(this.method){case"all":case"between":return t;case"before":case"after":default:return t.length?t[t.length-1]:null}},r.prototype.clone=function(){return new r(this.method,this.args)},r}(),hi=O2});function wa(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Cg(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function qw(r,t,e,n){function i(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function o(c){try{u(n.next(c))}catch(d){a(d)}}function l(c){try{u(n.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((n=n.apply(r,t||[])).next())})}function X(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))}var Cg,Lt,Yr=Q(()=>{Cg=function(r,t){return Cg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},Cg(r,t)};Lt=function(){return Lt=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Lt.apply(this,arguments)}});var x2,Mg,Ww=Q(()=>{Yr();_c();x2=function(r){wa(t,r);function t(e,n,i){var s=r.call(this,e,n)||this;return s.iterator=i,s}return t.prototype.add=function(e){return this.iterator(e,this._result.length)?(this._result.push(e),!0):!1},t}(hi),Mg=x2});var R2,Ss,wc=Q(()=>{R2={dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],tokens:{SKIP:/^[ \r\n\t]+|^\.$/,number:/^[1-9][0-9]*/,numberAsText:/^(one|two|three)/i,every:/^every/i,"day(s)":/^days?/i,"weekday(s)":/^weekdays?/i,"week(s)":/^weeks?/i,"hour(s)":/^hours?/i,"minute(s)":/^minutes?/i,"month(s)":/^months?/i,"year(s)":/^years?/i,on:/^(on|in)/i,at:/^(at)/i,the:/^the/i,first:/^first/i,second:/^second/i,third:/^third/i,nth:/^([1-9][0-9]*)(\.|th|nd|rd|st)/i,last:/^last/i,for:/^for/i,"time(s)":/^times?/i,until:/^(un)?til/i,monday:/^mo(n(day)?)?/i,tuesday:/^tu(e(s(day)?)?)?/i,wednesday:/^we(d(n(esday)?)?)?/i,thursday:/^th(u(r(sday)?)?)?/i,friday:/^fr(i(day)?)?/i,saturday:/^sa(t(urday)?)?/i,sunday:/^su(n(day)?)?/i,january:/^jan(uary)?/i,february:/^feb(ruary)?/i,march:/^mar(ch)?/i,april:/^apr(il)?/i,may:/^may/i,june:/^june?/i,july:/^july?/i,august:/^aug(ust)?/i,september:/^sep(t(ember)?)?/i,october:/^oct(ober)?/i,november:/^nov(ember)?/i,december:/^dec(ember)?/i,comma:/^(,\s*|(and|or)\s*)+/i}},Ss=R2});var $w,C2,M2,A2,qr,jw=Q(()=>{wc();rr();ln();$w=function(r,t){return r.indexOf(t)!==-1},C2=function(r){return r.toString()},M2=function(r,t,e){return"".concat(t," ").concat(e,", ").concat(r)},A2=function(){function r(t,e,n,i){if(e===void 0&&(e=C2),n===void 0&&(n=Ss),i===void 0&&(i=M2),this.text=[],this.language=n||Ss,this.gettext=e,this.dateFormatter=i,this.rrule=t,this.options=t.options,this.origOptions=t.origOptions,this.origOptions.bymonthday){var s=[].concat(this.options.bymonthday),a=[].concat(this.options.bynmonthday);s.sort(function(c,d){return c-d}),a.sort(function(c,d){return d-c}),this.bymonthday=s.concat(a),this.bymonthday.length||(this.bymonthday=null)}if(rt(this.origOptions.byweekday)){var o=Ft(this.origOptions.byweekday)?this.origOptions.byweekday:[this.origOptions.byweekday],l=String(o);this.byweekday={allWeeks:o.filter(function(c){return!c.n}),someWeeks:o.filter(function(c){return Boolean(c.n)}),isWeekdays:l.indexOf("MO")!==-1&&l.indexOf("TU")!==-1&&l.indexOf("WE")!==-1&&l.indexOf("TH")!==-1&&l.indexOf("FR")!==-1&&l.indexOf("SA")===-1&&l.indexOf("SU")===-1,isEveryDay:l.indexOf("MO")!==-1&&l.indexOf("TU")!==-1&&l.indexOf("WE")!==-1&&l.indexOf("TH")!==-1&&l.indexOf("FR")!==-1&&l.indexOf("SA")!==-1&&l.indexOf("SU")!==-1};var u=function(c,d){return c.weekday-d.weekday};this.byweekday.allWeeks.sort(u),this.byweekday.someWeeks.sort(u),this.byweekday.allWeeks.length||(this.byweekday.allWeeks=null),this.byweekday.someWeeks.length||(this.byweekday.someWeeks=null)}else this.byweekday=null}return r.isFullyConvertible=function(t){var e=!0;if(!(t.options.freq in r.IMPLEMENTED)||t.origOptions.until&&t.origOptions.count)return!1;for(var n in t.origOptions){if($w(["dtstart","tzid","wkst","freq"],n))return!0;if(!$w(r.IMPLEMENTED[t.options.freq],n))return!1}return e},r.prototype.isFullyConvertible=function(){return r.isFullyConvertible(this.rrule)},r.prototype.toString=function(){var t=this.gettext;if(!(this.options.freq in r.IMPLEMENTED))return t("RRule error: Unable to fully convert this rrule to text");if(this.text=[t("every")],this[oe.FREQUENCIES[this.options.freq]](),this.options.until){this.add(t("until"));var e=this.options.until;this.add(this.dateFormatter(e.getUTCFullYear(),this.language.monthNames[e.getUTCMonth()],e.getUTCDate()))}else this.options.count&&this.add(t("for")).add(this.options.count.toString()).add(this.plural(this.options.count)?t("times"):t("time"));return this.isFullyConvertible()||this.add(t("(~ approximate)")),this.text.join("")},r.prototype.HOURLY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("hours"):t("hour"))},r.prototype.MINUTELY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("minutes"):t("minute"))},r.prototype.DAILY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()),this.byweekday&&this.byweekday.isWeekdays?this.add(this.plural(this.options.interval)?t("weekdays"):t("weekday")):this.add(this.plural(this.options.interval)?t("days"):t("day")),this.origOptions.bymonth&&(this.add(t("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday?this._byweekday():this.origOptions.byhour&&this._byhour()},r.prototype.WEEKLY=function(){var t=this.gettext;this.options.interval!==1&&this.add(this.options.interval.toString()).add(this.plural(this.options.interval)?t("weeks"):t("week")),this.byweekday&&this.byweekday.isWeekdays?this.options.interval===1?this.add(this.plural(this.options.interval)?t("weekdays"):t("weekday")):this.add(t("on")).add(t("weekdays")):this.byweekday&&this.byweekday.isEveryDay?this.add(this.plural(this.options.interval)?t("days"):t("day")):(this.options.interval===1&&this.add(t("week")),this.origOptions.bymonth&&(this.add(t("in")),this._bymonth()),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.origOptions.byhour&&this._byhour())},r.prototype.MONTHLY=function(){var t=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()).add(t("months")),this.plural(this.options.interval)&&this.add(t("in"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("months"):t("month"))),this.bymonthday?this._bymonthday():this.byweekday&&this.byweekday.isWeekdays?this.add(t("on")).add(t("weekdays")):this.byweekday&&this._byweekday()},r.prototype.YEARLY=function(){var t=this.gettext;this.origOptions.bymonth?(this.options.interval!==1&&(this.add(this.options.interval.toString()),this.add(t("years"))),this._bymonth()):(this.options.interval!==1&&this.add(this.options.interval.toString()),this.add(this.plural(this.options.interval)?t("years"):t("year"))),this.bymonthday?this._bymonthday():this.byweekday&&this._byweekday(),this.options.byyearday&&this.add(t("on the")).add(this.list(this.options.byyearday,this.nth,t("and"))).add(t("day")),this.options.byweekno&&this.add(t("in")).add(this.plural(this.options.byweekno.length)?t("weeks"):t("week")).add(this.list(this.options.byweekno,void 0,t("and")))},r.prototype._bymonthday=function(){var t=this.gettext;this.byweekday&&this.byweekday.allWeeks?this.add(t("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext,t("or"))).add(t("the")).add(this.list(this.bymonthday,this.nth,t("or"))):this.add(t("on the")).add(this.list(this.bymonthday,this.nth,t("and")))},r.prototype._byweekday=function(){var t=this.gettext;this.byweekday.allWeeks&&!this.byweekday.isWeekdays&&this.add(t("on")).add(this.list(this.byweekday.allWeeks,this.weekdaytext)),this.byweekday.someWeeks&&(this.byweekday.allWeeks&&this.add(t("and")),this.add(t("on the")).add(this.list(this.byweekday.someWeeks,this.weekdaytext,t("and"))))},r.prototype._byhour=function(){var t=this.gettext;this.add(t("at")).add(this.list(this.origOptions.byhour,void 0,t("and")))},r.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},r.prototype.nth=function(t){t=parseInt(t.toString(),10);var e,n=this.gettext;if(t===-1)return n("last");var i=Math.abs(t);switch(i){case 1:case 21:case 31:e=i+n("st");break;case 2:case 22:e=i+n("nd");break;case 3:case 23:e=i+n("rd");break;default:e=i+n("th")}return t<0?e+" "+n("last"):e},r.prototype.monthtext=function(t){return this.language.monthNames[t-1]},r.prototype.weekdaytext=function(t){var e=Pn(t)?(t+1)%7:t.getJsWeekday();return(t.n?this.nth(t.n)+" ":"")+this.language.dayNames[e]},r.prototype.plural=function(t){return t%100!==1},r.prototype.add=function(t){return this.text.push(" "),this.text.push(t),this},r.prototype.list=function(t,e,n,i){var s=this;i===void 0&&(i=","),Ft(t)||(t=[t]);var a=function(l,u,c){for(var d="",f=0;f<l.length;f++)f!==0&&(f===l.length-1?d+=" "+c+" ":d+=u+" "),d+=l[f];return d};e=e||function(l){return l.toString()};var o=function(l){return e&&e.call(s,l)};return n?a(t.map(o),i,n):t.map(o).join(i+" ")},r}(),qr=A2});function Ol(r,t){t===void 0&&(t=Ss);var e={},n=new P2(t.tokens);if(!n.start(r))return null;return i(),e;function i(){n.expect("every");var f=n.acceptNumber();if(f&&(e.interval=parseInt(f[0],10)),n.isDone())throw new Error("Unexpected end");switch(n.symbol){case"day(s)":e.freq=oe.DAILY,n.nextSymbol()&&(a(),d());break;case"weekday(s)":e.freq=oe.WEEKLY,e.byweekday=[oe.MO,oe.TU,oe.WE,oe.TH,oe.FR],n.nextSymbol(),a(),d();break;case"week(s)":e.freq=oe.WEEKLY,n.nextSymbol()&&(s(),a(),d());break;case"hour(s)":e.freq=oe.HOURLY,n.nextSymbol()&&(s(),d());break;case"minute(s)":e.freq=oe.MINUTELY,n.nextSymbol()&&(s(),d());break;case"month(s)":e.freq=oe.MONTHLY,n.nextSymbol()&&(s(),d());break;case"year(s)":e.freq=oe.YEARLY,n.nextSymbol()&&(s(),d());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":e.freq=oe.WEEKLY;var p=n.symbol.substr(0,2).toUpperCase();if(e.byweekday=[oe[p]],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var g=l();if(!g)throw new Error("Unexpected symbol "+n.symbol+", expected weekday");e.byweekday.push(oe[g]),n.nextSymbol()}a(),c(),d();break;case"january":case"february":case"march":case"april":case"may":case"june":case"july":case"august":case"september":case"october":case"november":case"december":if(e.freq=oe.YEARLY,e.bymonth=[o()],!n.nextSymbol())return;for(;n.accept("comma");){if(n.isDone())throw new Error("Unexpected end");var b=o();if(!b)throw new Error("Unexpected symbol "+n.symbol+", expected month");e.bymonth.push(b),n.nextSymbol()}s(),d();break;default:throw new Error("Unknown symbol")}}function s(){var f=n.accept("on"),p=n.accept("the");if(!!(f||p))do{var g=u(),b=l(),v=o();if(g)b?(n.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(oe[b].nth(g))):(e.bymonthday||(e.bymonthday=[]),e.bymonthday.push(g),n.accept("day(s)"));else if(b)n.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(oe[b]);else if(n.symbol==="weekday(s)")n.nextSymbol(),e.byweekday||(e.byweekday=[oe.MO,oe.TU,oe.WE,oe.TH,oe.FR]);else if(n.symbol==="week(s)"){n.nextSymbol();var E=n.acceptNumber();if(!E)throw new Error("Unexpected symbol "+n.symbol+", expected week number");for(e.byweekno=[parseInt(E[0],10)];n.accept("comma");){if(E=n.acceptNumber(),!E)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");e.byweekno.push(parseInt(E[0],10))}}else if(v)n.nextSymbol(),e.bymonth||(e.bymonth=[]),e.bymonth.push(v);else return}while(n.accept("comma")||n.accept("the")||n.accept("on"))}function a(){var f=n.accept("at");if(!!f)do{var p=n.acceptNumber();if(!p)throw new Error("Unexpected symbol "+n.symbol+", expected hour");for(e.byhour=[parseInt(p[0],10)];n.accept("comma");){if(p=n.acceptNumber(),!p)throw new Error("Unexpected symbol "+n.symbol+"; expected hour");e.byhour.push(parseInt(p[0],10))}}while(n.accept("comma")||n.accept("at"))}function o(){switch(n.symbol){case"january":return 1;case"february":return 2;case"march":return 3;case"april":return 4;case"may":return 5;case"june":return 6;case"july":return 7;case"august":return 8;case"september":return 9;case"october":return 10;case"november":return 11;case"december":return 12;default:return!1}}function l(){switch(n.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return n.symbol.substr(0,2).toUpperCase();default:return!1}}function u(){switch(n.symbol){case"last":return n.nextSymbol(),-1;case"first":return n.nextSymbol(),1;case"second":return n.nextSymbol(),n.accept("last")?-2:2;case"third":return n.nextSymbol(),n.accept("last")?-3:3;case"nth":var f=parseInt(n.value[1],10);if(f<-366||f>366)throw new Error("Nth out of range: "+f);return n.nextSymbol(),n.accept("last")?-f:f;default:return!1}}function c(){n.accept("on"),n.accept("the");var f=u();if(!!f)for(e.bymonthday=[f],n.nextSymbol();n.accept("comma");){if(f=u(),!f)throw new Error("Unexpected symbol "+n.symbol+"; expected monthday");e.bymonthday.push(f),n.nextSymbol()}}function d(){if(n.symbol==="until"){var f=Date.parse(n.text);if(!f)throw new Error("Cannot parse until date:"+n.text);e.until=new Date(f)}else n.accept("for")&&(e.count=parseInt(n.value[0],10),n.expect("number"))}}var P2,Hw=Q(()=>{wc();rr();P2=function(){function r(t){this.done=!0,this.rules=t}return r.prototype.start=function(t){return this.text=t,this.done=!1,this.nextSymbol()},r.prototype.isDone=function(){return this.done&&this.symbol===null},r.prototype.nextSymbol=function(){var t,e;this.symbol=null,this.value=null;do{if(this.done)return!1;var n=void 0;t=null;for(var i in this.rules){n=this.rules[i];var s=n.exec(this.text);s&&(t===null||s[0].length>t[0].length)&&(t=s,e=i)}if(t!=null&&(this.text=this.text.substr(t[0].length),this.text===""&&(this.done=!0)),t==null){this.done=!0,this.symbol=null,this.value=null;return}}while(e==="SKIP");return this.symbol=e,this.value=t,!0},r.prototype.accept=function(t){if(this.symbol===t){if(this.value){var e=this.value;return this.nextSymbol(),e}return this.nextSymbol(),!0}return!1},r.prototype.acceptNumber=function(){return this.accept("number")},r.prototype.expect=function(t){if(this.accept(t))return!0;throw new Error("expected "+t+" but found "+this.symbol)},r}()});function xl(r){return r<Ae.HOURLY}var Ae,gi=Q(()=>{(function(r){r[r.YEARLY=0]="YEARLY",r[r.MONTHLY=1]="MONTHLY",r[r.WEEKLY=2]="WEEKLY",r[r.DAILY=3]="DAILY",r[r.HOURLY=4]="HOURLY",r[r.MINUTELY=5]="MINUTELY",r[r.SECONDLY=6]="SECONDLY"})(Ae||(Ae={}))});var Gw,Sa,Bw,Vw,zw=Q(()=>{jw();Hw();rr();gi();wc();Gw=function(r,t){return t===void 0&&(t=Ss),new oe(Ol(r,t)||void 0)},Sa=["count","until","interval","byweekday","bymonthday","bymonth"];qr.IMPLEMENTED=[];qr.IMPLEMENTED[Ae.HOURLY]=Sa;qr.IMPLEMENTED[Ae.MINUTELY]=Sa;qr.IMPLEMENTED[Ae.DAILY]=["byhour"].concat(Sa);qr.IMPLEMENTED[Ae.WEEKLY]=Sa;qr.IMPLEMENTED[Ae.MONTHLY]=Sa;qr.IMPLEMENTED[Ae.YEARLY]=["byweekno","byyearday"].concat(Sa);Bw=function(r,t,e,n){return new qr(r,t,e,n).toString()},Vw=qr.isFullyConvertible});var Da,Kw,Sc=Q(()=>{Yr();gi();ln();Gt();Da=function(){function r(t,e,n,i){this.hour=t,this.minute=e,this.second=n,this.millisecond=i||0}return r.prototype.getHours=function(){return this.hour},r.prototype.getMinutes=function(){return this.minute},r.prototype.getSeconds=function(){return this.second},r.prototype.getMilliseconds=function(){return this.millisecond},r.prototype.getTime=function(){return(this.hour*60*60+this.minute*60+this.second)*1e3+this.millisecond},r}(),Kw=function(r){wa(t,r);function t(e,n,i,s,a,o,l){var u=r.call(this,s,a,o,l)||this;return u.year=e,u.month=n,u.day=i,u}return t.fromDate=function(e){return new this(e.getUTCFullYear(),e.getUTCMonth()+1,e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.valueOf()%1e3)},t.prototype.getWeekday=function(){return pi(new Date(this.getTime()))},t.prototype.getTime=function(){return new Date(Date.UTC(this.year,this.month-1,this.day,this.hour,this.minute,this.second,this.millisecond)).getTime()},t.prototype.getDay=function(){return this.day},t.prototype.getMonth=function(){return this.month},t.prototype.getYear=function(){return this.year},t.prototype.addYears=function(e){this.year+=e},t.prototype.addMonths=function(e){if(this.month+=e,this.month>12){var n=Math.floor(this.month/12),i=Ht(this.month,12);this.month=i,this.year+=n,this.month===0&&(this.month=12,--this.year)}},t.prototype.addWeekly=function(e,n){n>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-n))+e*7:this.day+=-(this.getWeekday()-n)+e*7,this.fixDay()},t.prototype.addDaily=function(e){this.day+=e,this.fixDay()},t.prototype.addHours=function(e,n,i){for(n&&(this.hour+=Math.floor((23-this.hour)/e)*e);;){this.hour+=e;var s=yc(this.hour,24),a=s.div,o=s.mod;if(a&&(this.hour=o,this.addDaily(a)),Nn(i)||qe(i,this.hour))break}},t.prototype.addMinutes=function(e,n,i,s){for(n&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/e)*e);;){this.minute+=e;var a=yc(this.minute,60),o=a.div,l=a.mod;if(o&&(this.minute=l,this.addHours(o,!1,i)),(Nn(i)||qe(i,this.hour))&&(Nn(s)||qe(s,this.minute)))break}},t.prototype.addSeconds=function(e,n,i,s,a){for(n&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/e)*e);;){this.second+=e;var o=yc(this.second,60),l=o.div,u=o.mod;if(l&&(this.second=u,this.addMinutes(l,!1,i,s)),(Nn(i)||qe(i,this.hour))&&(Nn(s)||qe(s,this.minute))&&(Nn(a)||qe(a,this.second)))break}},t.prototype.fixDay=function(){if(!(this.day<=28)){var e=xg(this.year,this.month-1)[1];if(!(this.day<=e))for(;this.day>e;){if(this.day-=e,++this.month,this.month===13&&(this.month=1,++this.year,this.year>bc))return;e=xg(this.year,this.month-1)[1]}}},t.prototype.add=function(e,n){var i=e.freq,s=e.interval,a=e.wkst,o=e.byhour,l=e.byminute,u=e.bysecond;switch(i){case Ae.YEARLY:return this.addYears(s);case Ae.MONTHLY:return this.addMonths(s);case Ae.WEEKLY:return this.addWeekly(s,a);case Ae.DAILY:return this.addDaily(s);case Ae.HOURLY:return this.addHours(s,n,o);case Ae.MINUTELY:return this.addMinutes(s,n,o,l);case Ae.SECONDLY:return this.addSeconds(s,n,o,l,u)}},t}(Da)});function Ag(r){for(var t=[],e=Object.keys(r),n=0,i=e;n<i.length;n++){var s=i[n];qe(Zw,s)||t.push(s),Og(r[s])&&!ws(r[s])&&t.push(s)}if(t.length)throw new Error("Invalid options: "+t.join(", "));return Lt({},r)}function Qw(r){var t=Lt(Lt({},Rl),Ag(r));if(rt(t.byeaster)&&(t.freq=oe.YEARLY),!(rt(t.freq)&&oe.FREQUENCIES[t.freq]))throw new Error("Invalid frequency: ".concat(t.freq," ").concat(r.freq));if(t.dtstart||(t.dtstart=new Date(new Date().setMilliseconds(0))),rt(t.wkst)?Pn(t.wkst)||(t.wkst=t.wkst.weekday):t.wkst=oe.MO.weekday,rt(t.bysetpos)){Pn(t.bysetpos)&&(t.bysetpos=[t.bysetpos]);for(var e=0;e<t.bysetpos.length;e++){var n=t.bysetpos[e];if(n===0||!(n>=-366&&n<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(Boolean(t.byweekno)||ct(t.byweekno)||ct(t.byyearday)||Boolean(t.bymonthday)||ct(t.bymonthday)||rt(t.byweekday)||rt(t.byeaster)))switch(t.freq){case oe.YEARLY:t.bymonth||(t.bymonth=t.dtstart.getUTCMonth()+1),t.bymonthday=t.dtstart.getUTCDate();break;case oe.MONTHLY:t.bymonthday=t.dtstart.getUTCDate();break;case oe.WEEKLY:t.byweekday=[pi(t.dtstart)];break}if(rt(t.bymonth)&&!Ft(t.bymonth)&&(t.bymonth=[t.bymonth]),rt(t.byyearday)&&!Ft(t.byyearday)&&Pn(t.byyearday)&&(t.byyearday=[t.byyearday]),!rt(t.bymonthday))t.bymonthday=[],t.bynmonthday=[];else if(Ft(t.bymonthday)){for(var i=[],s=[],e=0;e<t.bymonthday.length;e++){var n=t.bymonthday[e];n>0?i.push(n):n<0&&s.push(n)}t.bymonthday=i,t.bynmonthday=s}else t.bymonthday<0?(t.bynmonthday=[t.bymonthday],t.bymonthday=[]):(t.bynmonthday=[],t.bymonthday=[t.bymonthday]);if(rt(t.byweekno)&&!Ft(t.byweekno)&&(t.byweekno=[t.byweekno]),!rt(t.byweekday))t.bynweekday=null;else if(Pn(t.byweekday))t.byweekday=[t.byweekday],t.bynweekday=null;else if(Eg(t.byweekday))t.byweekday=[ht.fromStr(t.byweekday).weekday],t.bynweekday=null;else if(t.byweekday instanceof ht)!t.byweekday.n||t.freq>oe.MONTHLY?(t.byweekday=[t.byweekday.weekday],t.bynweekday=null):(t.bynweekday=[[t.byweekday.weekday,t.byweekday.n]],t.byweekday=null);else{for(var a=[],o=[],e=0;e<t.byweekday.length;e++){var l=t.byweekday[e];if(Pn(l)){a.push(l);continue}else if(Eg(l)){a.push(ht.fromStr(l).weekday);continue}!l.n||t.freq>oe.MONTHLY?a.push(l.weekday):o.push([l.weekday,l.n])}t.byweekday=ct(a)?a:null,t.bynweekday=ct(o)?o:null}return rt(t.byhour)?Pn(t.byhour)&&(t.byhour=[t.byhour]):t.byhour=t.freq<oe.HOURLY?[t.dtstart.getUTCHours()]:null,rt(t.byminute)?Pn(t.byminute)&&(t.byminute=[t.byminute]):t.byminute=t.freq<oe.MINUTELY?[t.dtstart.getUTCMinutes()]:null,rt(t.bysecond)?Pn(t.bysecond)&&(t.bysecond=[t.bysecond]):t.bysecond=t.freq<oe.SECONDLY?[t.dtstart.getUTCSeconds()]:null,{parsedOptions:t}}function Xw(r){var t=r.dtstart.getTime()%1e3;if(!xl(r.freq))return[];var e=[];return r.byhour.forEach(function(n){r.byminute.forEach(function(i){r.bysecond.forEach(function(s){e.push(new Da(n,i,s,t))})})}),e}var Pg=Q(()=>{Yr();gi();ln();rr();Gt();ks();Sc()});function Ml(r){var t=r.split(`
`).map(N2).filter(function(e){return e!==null});return Lt(Lt({},t[0]),t[1])}function Cl(r){var t={},e=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(r);if(!e)return t;var n=e[1],i=e[2];return n&&(t.tzid=n),t.dtstart=El(i),t}function N2(r){if(r=r.replace(/^\s+|\s+$/,""),!r.length)return null;var t=/^([A-Z]+?)[:;]/.exec(r.toUpperCase());if(!t)return Jw(r);var e=t[1];switch(e.toUpperCase()){case"RRULE":case"EXRULE":return Jw(r);case"DTSTART":return Cl(r);default:throw new Error("Unsupported RFC prop ".concat(e," in ").concat(r))}}function Jw(r){var t=r.replace(/^RRULE:/i,""),e=Cl(t),n=r.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return n.forEach(function(i){var s=i.split("="),a=s[0],o=s[1];switch(a.toUpperCase()){case"FREQ":e.freq=Ae[o.toUpperCase()];break;case"WKST":e.wkst=ir[o.toUpperCase()];break;case"COUNT":case"INTERVAL":case"BYSETPOS":case"BYMONTH":case"BYMONTHDAY":case"BYYEARDAY":case"BYWEEKNO":case"BYHOUR":case"BYMINUTE":case"BYSECOND":var l=I2(o),u=a.toLowerCase();e[u]=l;break;case"BYWEEKDAY":case"BYDAY":e.byweekday=F2(o);break;case"DTSTART":case"TZID":var c=Cl(r);e.tzid=c.tzid,e.dtstart=c.dtstart;break;case"UNTIL":e.until=El(o);break;case"BYEASTER":e.byeaster=Number(o);break;default:throw new Error("Unknown RRULE property '"+a+"'")}}),e}function I2(r){if(r.indexOf(",")!==-1){var t=r.split(",");return t.map(eS)}return eS(r)}function eS(r){return/^[+-]?\d+$/.test(r)?Number(r):r}function F2(r){var t=r.split(",");return t.map(function(e){if(e.length===2)return ir[e];var n=e.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!n||n.length<3)throw new SyntaxError("Invalid weekday string: ".concat(e));var i=Number(n[1]),s=n[2],a=ir[s].weekday;return new ht(a,i)})}var Ng=Q(()=>{Yr();gi();ks();Gt();rr()});var Ds,Dc=Q(()=>{Gt();Ds=function(){function r(t,e){if(isNaN(t.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=t,this.tzid=e}return Object.defineProperty(r.prototype,"isUTC",{get:function(){return!this.tzid||this.tzid.toUpperCase()==="UTC"},enumerable:!1,configurable:!0}),r.prototype.toString=function(){var t=_a(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(t):";TZID=".concat(this.tzid,":").concat(t)},r.prototype.getTime=function(){return this.date.getTime()},r.prototype.rezonedDate=function(){return this.isUTC?this.date:Yw(this.date,this.tzid)},r}()});function Al(r){for(var t=[],e="",n=Object.keys(r),i=Object.keys(Rl),s=0;s<n.length;s++)if(n[s]!=="tzid"&&!!qe(i,n[s])){var a=n[s].toUpperCase(),o=r[n[s]],l="";if(!(!rt(o)||Ft(o)&&!o.length)){switch(a){case"FREQ":l=oe.FREQUENCIES[r.freq];break;case"WKST":Pn(o)?l=new ht(o).toString():l=o.toString();break;case"BYWEEKDAY":a="BYDAY",l=Nw(o).map(function(p){return p instanceof ht?p:Ft(p)?new ht(p[0],p[1]):new ht(p)}).toString();break;case"DTSTART":e=L2(o,r.tzid);break;case"UNTIL":l=_a(o,!r.tzid);break;default:if(Ft(o)){for(var u=[],c=0;c<o.length;c++)u[c]=String(o[c]);l=u.toString()}else l=String(o)}l&&t.push([a,l])}}var d=t.map(function(p){var g=p[0],b=p[1];return"".concat(g,"=").concat(b.toString())}).join(";"),f="";return d!==""&&(f="RRULE:".concat(d)),[e,f].filter(function(p){return!!p}).join(`
`)}function L2(r,t){return r?"DTSTART"+new Ds(new Date(r),t).toString():""}var Ig=Q(()=>{rr();ln();ks();Gt();Dc()});function U2(r,t){return Array.isArray(r)?!Array.isArray(t)||r.length!==t.length?!1:r.every(function(e,n){return e.getTime()===t[n].getTime()}):r instanceof Date?t instanceof Date&&r.getTime()===t.getTime():r===t}var tS,nS=Q(()=>{_c();Gt();ln();tS=function(){function r(){this.all=!1,this.before=[],this.after=[],this.between=[]}return r.prototype._cacheAdd=function(t,e,n){e&&(e=e instanceof Date?kc(e):Rg(e)),t==="all"?this.all=e:(n._value=e,this[t].push(n))},r.prototype._cacheGet=function(t,e){var n=!1,i=e?Object.keys(e):[],s=function(c){for(var d=0;d<i.length;d++){var f=i[d];if(!U2(e[f],c[f]))return!0}return!1},a=this[t];if(t==="all")n=this.all;else if(Ft(a))for(var o=0;o<a.length;o++){var l=a[o];if(!(i.length&&s(l))){n=l._value;break}}if(!n&&this.all){for(var u=new hi(t,e),o=0;o<this.all.length&&u.accept(this.all[o]);o++);n=u.getValue(),this._cacheAdd(t,n,e)}return Ft(n)?Rg(n):n instanceof Date?kc(n):n},r}()});var rS,iS,Y2,q2,$i,Bt,sS,aS,W2,$2,ji,Vt,oS,lS,uS,cS,Fg,dS=Q(()=>{Yr();ln();rS=X(X(X(X(X(X(X(X(X(X(X(X(X([],Le(1,31),!0),Le(2,28),!0),Le(3,31),!0),Le(4,30),!0),Le(5,31),!0),Le(6,30),!0),Le(7,31),!0),Le(8,31),!0),Le(9,30),!0),Le(10,31),!0),Le(11,30),!0),Le(12,31),!0),Le(1,7),!0),iS=X(X(X(X(X(X(X(X(X(X(X(X(X([],Le(1,31),!0),Le(2,29),!0),Le(3,31),!0),Le(4,30),!0),Le(5,31),!0),Le(6,30),!0),Le(7,31),!0),Le(8,31),!0),Le(9,30),!0),Le(10,31),!0),Le(11,30),!0),Le(12,31),!0),Le(1,7),!0),Y2=nr(1,29),q2=nr(1,30),$i=nr(1,31),Bt=nr(1,32),sS=X(X(X(X(X(X(X(X(X(X(X(X(X([],Bt,!0),q2,!0),Bt,!0),$i,!0),Bt,!0),$i,!0),Bt,!0),Bt,!0),$i,!0),Bt,!0),$i,!0),Bt,!0),Bt.slice(0,7),!0),aS=X(X(X(X(X(X(X(X(X(X(X(X(X([],Bt,!0),Y2,!0),Bt,!0),$i,!0),Bt,!0),$i,!0),Bt,!0),Bt,!0),$i,!0),Bt,!0),$i,!0),Bt,!0),Bt.slice(0,7),!0),W2=nr(-28,0),$2=nr(-29,0),ji=nr(-30,0),Vt=nr(-31,0),oS=X(X(X(X(X(X(X(X(X(X(X(X(X([],Vt,!0),$2,!0),Vt,!0),ji,!0),Vt,!0),ji,!0),Vt,!0),Vt,!0),ji,!0),Vt,!0),ji,!0),Vt,!0),Vt.slice(0,7),!0),lS=X(X(X(X(X(X(X(X(X(X(X(X(X([],Vt,!0),W2,!0),Vt,!0),ji,!0),Vt,!0),ji,!0),Vt,!0),Vt,!0),ji,!0),Vt,!0),ji,!0),Vt,!0),Vt.slice(0,7),!0),uS=[0,31,60,91,121,152,182,213,244,274,305,335,366],cS=[0,31,59,90,120,151,181,212,243,273,304,334,365],Fg=function(){for(var r=[],t=0;t<55;t++)r=r.concat(nr(7));return r}()});function fS(r,t){var e=Ur(r,1,1),n=ka(r)?366:365,i=ka(r+1)?366:365,s=Dl(e),a=pi(e),o=Lt(Lt({yearlen:n,nextyearlen:i,yearordinal:s,yearweekday:a},j2(r)),{wnomask:null});if(Nn(t.byweekno))return o;o.wnomask=Le(0,n+7);var l,u,c=l=Ht(7-a+t.wkst,7);c>=4?(c=0,u=o.yearlen+Ht(a-t.wkst,7)):u=n-c;for(var d=Math.floor(u/7),f=Ht(u,7),p=Math.floor(d+f/4),g=0;g<t.byweekno.length;g++){var b=t.byweekno[g];if(b<0&&(b+=p+1),b>0&&b<=p){var v=void 0;b>1?(v=c+(b-1)*7,c!==l&&(v-=7-l)):v=c;for(var E=0;E<7&&(o.wnomask[v]=1,v++,o.wdaymask[v]!==t.wkst);E++);}}if(qe(t.byweekno,1)){var v=c+p*7;if(c!==l&&(v-=7-l),v<n)for(var g=0;g<7&&(o.wnomask[v]=1,v+=1,o.wdaymask[v]!==t.wkst);g++);}if(c){var x=void 0;if(qe(t.byweekno,-1))x=-1;else{var O=pi(Ur(r-1,1,1)),q=Ht(7-O.valueOf()+t.wkst,7),V=ka(r-1)?366:365,Z=void 0;q>=4?(q=0,Z=V+Ht(O-t.wkst,7)):Z=n-c,x=Math.floor(52+Ht(Z,7)/4)}if(qe(t.byweekno,x))for(var v=0;v<c;v++)o.wnomask[v]=1}return o}function j2(r){var t=ka(r)?366:365,e=Ur(r,1,1),n=pi(e);return t===365?{mmask:rS,mdaymask:aS,nmdaymask:lS,wdaymask:Fg.slice(n),mrange:cS}:{mmask:iS,mdaymask:sS,nmdaymask:oS,wdaymask:Fg.slice(n),mrange:uS}}var pS=Q(()=>{Yr();Gt();ln();dS()});function mS(r,t,e,n,i,s){var a={lastyear:r,lastmonth:t,nwdaymask:[]},o=[];if(s.freq===oe.YEARLY)if(Nn(s.bymonth))o=[[0,e]];else for(var l=0;l<s.bymonth.length;l++)t=s.bymonth[l],o.push(n.slice(t-1,t+1));else s.freq===oe.MONTHLY&&(o=[n.slice(t-1,t+1)]);if(Nn(o))return a;a.nwdaymask=Le(0,e);for(var l=0;l<o.length;l++)for(var u=o[l],c=u[0],d=u[1]-1,f=0;f<s.bynweekday.length;f++){var p=void 0,g=s.bynweekday[f],b=g[0],v=g[1];v<0?(p=d+(v+1)*7,p-=Ht(i[p]-b,7)):(p=c+(v-1)*7,p+=Ht(7-i[p]+b,7)),c<=p&&p<=d&&(a.nwdaymask[p]=1)}return a}var hS=Q(()=>{rr();ln()});function gS(r,t){t===void 0&&(t=0);var e=r%19,n=Math.floor(r/100),i=r%100,s=Math.floor(n/4),a=n%4,o=Math.floor((n+8)/25),l=Math.floor((n-o+1)/3),u=Math.floor(19*e+n-s-l+15)%30,c=Math.floor(i/4),d=i%4,f=Math.floor(32+2*a+2*c-u-d)%7,p=Math.floor((e+11*u+22*f)/451),g=Math.floor((u+f-7*p+114)/31),b=(u+f-7*p+114)%31+1,v=Date.UTC(r,g-1,b+t),E=Date.UTC(r,0,1);return[Math.ceil((v-E)/(1e3*60*60*24))]}var yS=Q(()=>{});var H2,bS,TS=Q(()=>{ln();gi();pS();hS();yS();Sc();Gt();H2=function(){function r(t){this.options=t}return r.prototype.rebuild=function(t,e){var n=this.options;if(t!==this.lastyear&&(this.yearinfo=fS(t,n)),ct(n.bynweekday)&&(e!==this.lastmonth||t!==this.lastyear)){var i=this.yearinfo,s=i.yearlen,a=i.mrange,o=i.wdaymask;this.monthinfo=mS(t,e,s,a,o,n)}rt(n.byeaster)&&(this.eastermask=gS(t,n.byeaster))},Object.defineProperty(r.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(r.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),r.prototype.ydayset=function(){return[nr(this.yearlen),0,this.yearlen]},r.prototype.mdayset=function(t,e){for(var n=this.mrange[e-1],i=this.mrange[e],s=Le(null,this.yearlen),a=n;a<i;a++)s[a]=a;return[s,n,i]},r.prototype.wdayset=function(t,e,n){for(var i=Le(null,this.yearlen+7),s=Dl(Ur(t,e,n))-this.yearordinal,a=s,o=0;o<7&&(i[s]=s,++s,this.wdaymask[s]!==this.options.wkst);o++);return[i,a,s]},r.prototype.ddayset=function(t,e,n){var i=Le(null,this.yearlen),s=Dl(Ur(t,e,n))-this.yearordinal;return i[s]=s,[i,s,s+1]},r.prototype.htimeset=function(t,e,n,i){var s=this,a=[];return this.options.byminute.forEach(function(o){a=a.concat(s.mtimeset(t,o,n,i))}),mi(a),a},r.prototype.mtimeset=function(t,e,n,i){var s=this.options.bysecond.map(function(a){return new Da(t,e,a,i)});return mi(s),s},r.prototype.stimeset=function(t,e,n,i){return[new Da(t,e,n,i)]},r.prototype.getdayset=function(t){switch(t){case Ae.YEARLY:return this.ydayset.bind(this);case Ae.MONTHLY:return this.mdayset.bind(this);case Ae.WEEKLY:return this.wdayset.bind(this);case Ae.DAILY:return this.ddayset.bind(this);default:return this.ddayset.bind(this)}},r.prototype.gettimeset=function(t){switch(t){case Ae.HOURLY:return this.htimeset.bind(this);case Ae.MINUTELY:return this.mtimeset.bind(this);case Ae.SECONDLY:return this.stimeset.bind(this)}},r}(),bS=H2});function vS(r,t,e,n,i,s){for(var a=[],o=0;o<r.length;o++){var l=void 0,u=void 0,c=r[o];c<0?(l=Math.floor(c/t.length),u=Ht(c,t.length)):(l=Math.floor((c-1)/t.length),u=Ht(c-1,t.length));for(var d=[],f=e;f<n;f++){var p=s[f];!rt(p)||d.push(p)}var g=void 0;l<0?g=d.slice(l)[0]:g=d[l];var b=t[u],v=Tc(i.yearordinal+g),E=vc(v,b);qe(a,E)||a.push(E)}return mi(a),a}var kS=Q(()=>{Gt();ln()});function Ec(r,t){var e=t.dtstart,n=t.freq,i=t.interval,s=t.until,a=t.bysetpos,o=t.count;if(o===0||i===0)return yi(r);var l=Kw.fromDate(e),u=new bS(t);u.rebuild(l.year,l.month);for(var c=V2(u,l,t);;){var d=u.getdayset(n)(l.year,l.month,l.day),f=d[0],p=d[1],g=d[2],b=B2(f,p,g,u,t);if(ct(a))for(var v=vS(a,c,p,g,u,f),E=0;E<v.length;E++){var x=v[E];if(s&&x>s)return yi(r);if(x>=e){var O=_S(x,t);if(!r.accept(O)||o&&(--o,!o))return yi(r)}}else for(var E=p;E<g;E++){var q=f[E];if(!!rt(q))for(var V=Tc(u.yearordinal+q),Z=0;Z<c.length;Z++){var j=c[Z],x=vc(V,j);if(s&&x>s)return yi(r);if(x>=e){var O=_S(x,t);if(!r.accept(O)||o&&(--o,!o))return yi(r)}}}if(t.interval===0||(l.add(t,b),l.year>bc))return yi(r);xl(n)||(c=u.gettimeset(n)(l.hour,l.minute,l.second,0)),u.rebuild(l.year,l.month)}}function G2(r,t,e){var n=e.bymonth,i=e.byweekno,s=e.byweekday,a=e.byeaster,o=e.bymonthday,l=e.bynmonthday,u=e.byyearday;return ct(n)&&!qe(n,r.mmask[t])||ct(i)&&!r.wnomask[t]||ct(s)&&!qe(s,r.wdaymask[t])||ct(r.nwdaymask)&&!r.nwdaymask[t]||a!==null&&!qe(r.eastermask,t)||(ct(o)||ct(l))&&!qe(o,r.mdaymask[t])&&!qe(l,r.nmdaymask[t])||ct(u)&&(t<r.yearlen&&!qe(u,t+1)&&!qe(u,-r.yearlen+t)||t>=r.yearlen&&!qe(u,t+1-r.yearlen)&&!qe(u,-r.nextyearlen+t-r.yearlen))}function _S(r,t){return new Ds(r,t.tzid).rezonedDate()}function yi(r){return r.getValue()}function B2(r,t,e,n,i){for(var s=!1,a=t;a<e;a++){var o=r[a];s=G2(n,o,i),s&&(r[o]=null)}return s}function V2(r,t,e){var n=e.freq,i=e.byhour,s=e.byminute,a=e.bysecond;return xl(n)?Xw(e):n>=oe.HOURLY&&ct(i)&&!qe(i,t.hour)||n>=oe.MINUTELY&&ct(s)&&!qe(s,t.minute)||n>=oe.SECONDLY&&ct(a)&&!qe(a,t.second)?[]:r.gettimeset(n)(t.hour,t.minute,t.second,t.millisecond)}var Lg=Q(()=>{gi();Gt();TS();rr();Pg();ln();Dc();kS();Sc()});var ir,Rl,Zw,oe,rr=Q(()=>{Gt();_c();Ww();zw();gi();Pg();Ng();Ig();nS();ks();Lg();ir={MO:new ht(0),TU:new ht(1),WE:new ht(2),TH:new ht(3),FR:new ht(4),SA:new ht(5),SU:new ht(6)},Rl={freq:Ae.YEARLY,dtstart:null,interval:1,wkst:ir.MO,count:null,until:null,tzid:null,bysetpos:null,bymonth:null,bymonthday:null,bynmonthday:null,byyearday:null,byweekno:null,byweekday:null,bynweekday:null,byhour:null,byminute:null,bysecond:null,byeaster:null},Zw=Object.keys(Rl),oe=function(){function r(t,e){t===void 0&&(t={}),e===void 0&&(e=!1),this._cache=e?null:new tS,this.origOptions=Ag(t);var n=Qw(t).parsedOptions;this.options=n}return r.parseText=function(t,e){return Ol(t,e)},r.fromText=function(t,e){return Gw(t,e)},r.fromString=function(t){return new r(r.parseString(t)||void 0)},r.prototype._iter=function(t){return Ec(t,this.options)},r.prototype._cacheGet=function(t,e){return this._cache?this._cache._cacheGet(t,e):!1},r.prototype._cacheAdd=function(t,e,n){if(!!this._cache)return this._cache._cacheAdd(t,e,n)},r.prototype.all=function(t){if(t)return this._iter(new Mg("all",{},t));var e=this._cacheGet("all");return e===!1&&(e=this._iter(new hi("all",{})),this._cacheAdd("all",e)),e},r.prototype.between=function(t,e,n,i){if(n===void 0&&(n=!1),!ws(t)||!ws(e))throw new Error("Invalid date passed in to RRule.between");var s={before:e,after:t,inc:n};if(i)return this._iter(new Mg("between",s,i));var a=this._cacheGet("between",s);return a===!1&&(a=this._iter(new hi("between",s)),this._cacheAdd("between",a,s)),a},r.prototype.before=function(t,e){if(e===void 0&&(e=!1),!ws(t))throw new Error("Invalid date passed in to RRule.before");var n={dt:t,inc:e},i=this._cacheGet("before",n);return i===!1&&(i=this._iter(new hi("before",n)),this._cacheAdd("before",i,n)),i},r.prototype.after=function(t,e){if(e===void 0&&(e=!1),!ws(t))throw new Error("Invalid date passed in to RRule.after");var n={dt:t,inc:e},i=this._cacheGet("after",n);return i===!1&&(i=this._iter(new hi("after",n)),this._cacheAdd("after",i,n)),i},r.prototype.count=function(){return this.all().length},r.prototype.toString=function(){return Al(this.origOptions)},r.prototype.toText=function(t,e,n){return Bw(this,t,e,n)},r.prototype.isFullyConvertibleToText=function(){return Vw(this)},r.prototype.clone=function(){return new r(this.origOptions)},r.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],r.YEARLY=Ae.YEARLY,r.MONTHLY=Ae.MONTHLY,r.WEEKLY=Ae.WEEKLY,r.DAILY=Ae.DAILY,r.HOURLY=Ae.HOURLY,r.MINUTELY=Ae.MINUTELY,r.SECONDLY=Ae.SECONDLY,r.MO=ir.MO,r.TU=ir.TU,r.WE=ir.WE,r.TH=ir.TH,r.FR=ir.FR,r.SA=ir.SA,r.SU=ir.SU,r.parseString=Ml,r.optionsToString=Al,r}()});function wS(r,t,e,n,i,s){var a={},o=r.accept;function l(f,p){e.forEach(function(g){g.between(f,p,!0).forEach(function(b){a[Number(b)]=!0})})}i.forEach(function(f){var p=new Ds(f,s).rezonedDate();a[Number(p)]=!0}),r.accept=function(f){var p=Number(f);return isNaN(p)?o.call(this,f):!a[p]&&(l(new Date(p-1),new Date(p+1)),!a[p])?(a[p]=!0,o.call(this,f)):!0},r.method==="between"&&(l(r.args.after,r.args.before),r.accept=function(f){var p=Number(f);return a[p]?!0:(a[p]=!0,o.call(this,f))});for(var u=0;u<n.length;u++){var c=new Ds(n[u],s).rezonedDate();if(!r.accept(new Date(c.getTime())))break}t.forEach(function(f){Ec(r,f.options)});var d=r._result;switch(mi(d),r.method){case"all":case"between":return d;case"before":return d.length&&d[d.length-1]||null;case"after":default:return d.length&&d[0]||null}}var SS=Q(()=>{Dc();Lg();Gt()});function z2(r,t){var e=[],n=[],i=[],s=[],a=Cl(r),o=a.dtstart,l=a.tzid,u=J2(r,t.unfold);return u.forEach(function(c){var d;if(!!c){var f=Z2(c),p=f.name,g=f.parms,b=f.value;switch(p.toUpperCase()){case"RRULE":if(g.length)throw new Error("unsupported RRULE parm: ".concat(g.join(",")));e.push(Ml(c));break;case"RDATE":var v=(d=/RDATE(?:;TZID=([^:=]+))?/i.exec(c))!==null&&d!==void 0?d:[],E=v[1];E&&!l&&(l=E),n=n.concat(ES(b,g));break;case"EXRULE":if(g.length)throw new Error("unsupported EXRULE parm: ".concat(g.join(",")));i.push(Ml(b));break;case"EXDATE":s=s.concat(ES(b,g));break;case"DTSTART":break;default:throw new Error("unsupported property: "+p)}}}),{dtstart:o,tzid:l,rrulevals:e,rdatevals:n,exrulevals:i,exdatevals:s}}function K2(r,t){var e=z2(r,t),n=e.rrulevals,i=e.rdatevals,s=e.exrulevals,a=e.exdatevals,o=e.dtstart,l=e.tzid,u=t.cache===!1;if(t.compatible&&(t.forceset=!0,t.unfold=!0),t.forceset||n.length>1||i.length||s.length||a.length){var c=new qg(u);return c.dtstart(o),c.tzid(l||void 0),n.forEach(function(f){c.rrule(new oe(Ug(f,o,l),u))}),i.forEach(function(f){c.rdate(f)}),s.forEach(function(f){c.exrule(new oe(Ug(f,o,l),u))}),a.forEach(function(f){c.exdate(f)}),t.compatible&&t.dtstart&&c.rdate(o),c}var d=n[0]||{};return new oe(Ug(d,d.dtstart||t.dtstart||o,d.tzid||t.tzid||l),u)}function Oc(r,t){return t===void 0&&(t={}),K2(r,Q2(t))}function Ug(r,t,e){return Lt(Lt({},r),{dtstart:t,tzid:e})}function Q2(r){var t=[],e=Object.keys(r),n=Object.keys(DS);if(e.forEach(function(i){qe(n,i)||t.push(i)}),t.length)throw new Error("Invalid options: "+t.join(", "));return Lt(Lt({},DS),r)}function X2(r){if(r.indexOf(":")===-1)return{name:"RRULE",value:r};var t=Iw(r,":",1),e=t[0],n=t[1];return{name:e,value:n}}function Z2(r){var t=X2(r),e=t.name,n=t.value,i=e.split(";");if(!i)throw new Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:n}}function J2(r,t){if(t===void 0&&(t=!1),r=r&&r.trim(),!r)throw new Error("Invalid empty string");if(!t)return r.split(/\s/);for(var e=r.split(`
`),n=0;n<e.length;){var i=e[n]=e[n].replace(/\s+$/g,"");i?n>0&&i[0]===" "?(e[n-1]+=i.slice(1),e.splice(n,1)):n+=1:e.splice(n,1)}return e}function eU(r){r.forEach(function(t){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(t))throw new Error("unsupported RDATE/EXDATE parm: "+t)})}function ES(r,t){return eU(t),r.split(",").map(function(e){return El(e)})}var DS,Yg=Q(()=>{Yr();rr();Wg();Gt();ln();Ng();DS={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null}});function OS(r){var t=this;return function(e){if(e!==void 0&&(t["_".concat(r)]=e),t["_".concat(r)]!==void 0)return t["_".concat(r)];for(var n=0;n<t._rrule.length;n++){var i=t._rrule[n].origOptions[r];if(i)return i}}}function xS(r,t){if(!(r instanceof oe))throw new TypeError(String(r)+" is not RRule instance");qe(t.map(String),String(r))||t.push(r)}function RS(r,t){if(!(r instanceof Date))throw new TypeError(String(r)+" is not Date instance");qe(t.map(Number),Number(r))||(t.push(r),mi(t))}function CS(r,t,e){var n=!e||e.toUpperCase()==="UTC",i=n?"".concat(r,":"):"".concat(r,";TZID=").concat(e,":"),s=t.map(function(a){return _a(a.valueOf(),n)}).join(",");return"".concat(i).concat(s)}var qg,Wg=Q(()=>{Yr();rr();Gt();ln();SS();Yg();Ig();qg=function(r){wa(t,r);function t(e){e===void 0&&(e=!1);var n=r.call(this,{},e)||this;return n.dtstart=OS.apply(n,["dtstart"]),n.tzid=OS.apply(n,["tzid"]),n._rrule=[],n._rdate=[],n._exrule=[],n._exdate=[],n}return t.prototype._iter=function(e){return wS(e,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},t.prototype.rrule=function(e){xS(e,this._rrule)},t.prototype.exrule=function(e){xS(e,this._exrule)},t.prototype.rdate=function(e){RS(e,this._rdate)},t.prototype.exdate=function(e){RS(e,this._exdate)},t.prototype.rrules=function(){return this._rrule.map(function(e){return Oc(e.toString())})},t.prototype.exrules=function(){return this._exrule.map(function(e){return Oc(e.toString())})},t.prototype.rdates=function(){return this._rdate.map(function(e){return new Date(e.getTime())})},t.prototype.exdates=function(){return this._exdate.map(function(e){return new Date(e.getTime())})},t.prototype.valueOf=function(){var e=[];return!this._rrule.length&&this._dtstart&&(e=e.concat(Al({dtstart:this._dtstart}))),this._rrule.forEach(function(n){e=e.concat(n.toString().split(`
`))}),this._exrule.forEach(function(n){e=e.concat(n.toString().split(`
`).map(function(i){return i.replace(/^RRULE:/,"EXRULE:")}).filter(function(i){return!/^DTSTART/.test(i)}))}),this._rdate.length&&e.push(CS("RDATE",this._rdate,this.tzid())),this._exdate.length&&e.push(CS("EXDATE",this._exdate,this.tzid())),e},t.prototype.toString=function(){return this.valueOf().join(`
`)},t.prototype.clone=function(){var e=new t(!!this._cache);return this._rrule.forEach(function(n){return e.rrule(n.clone())}),this._exrule.forEach(function(n){return e.exrule(n.clone())}),this._rdate.forEach(function(n){return e.rdate(new Date(n.getTime()))}),this._exdate.forEach(function(n){return e.exdate(new Date(n.getTime()))}),e},t}(oe)});var MS=Q(()=>{rr();Wg();Yg();gi();ks();Gt()});var Ct,xc=Q(()=>{"use strict";MS();Ct=class{constructor({rrule:t,baseOnToday:e,occurrence:n}){this.rrule=t,this.baseOnToday=e,this.occurrence=n}static fromText({recurrenceRuleText:t,occurrence:e}){try{let n=t.match(/^([a-zA-Z0-9, !]+?)( when done)?$/i);if(n==null)return null;let i=n[1].trim(),s=n[2]!==void 0,a=oe.parseText(i);if(a!==null){let o=e.referenceDate;!s&&o!==null?a.dtstart=window.moment(o).startOf("day").utc(!0).toDate():a.dtstart=window.moment().startOf("day").utc(!0).toDate();let l=new oe(a);return new Ct({rrule:l,baseOnToday:s,occurrence:e})}}catch(n){n instanceof Error&&console.log(n.message)}return null}toText(){let t=this.rrule.toText();return this.baseOnToday&&(t+=" when done"),t}next(t=window.moment()){let e=this.nextReferenceDate(t);return e===null?null:this.occurrence.next(e)}identicalTo(t){return this.baseOnToday!==t.baseOnToday||!this.occurrence.isIdenticalTo(t.occurrence)?!1:this.toText()===t.toText()}nextReferenceDate(t){return this.baseOnToday?this.nextReferenceDateFromToday(t.clone()).toDate():this.nextReferenceDateFromOriginalReferenceDate().toDate()}nextReferenceDateFromToday(t){let e=new oe(pe(U({},this.rrule.origOptions),{dtstart:t.startOf("day").utc(!0).toDate()}));return this.nextAfter(t.endOf("day"),e)}nextReferenceDateFromOriginalReferenceDate(){var e;let t=window.moment((e=this.occurrence.referenceDate)!=null?e:void 0).endOf("day");return this.nextAfter(t,this.rrule)}nextAfter(t,e){t.utc(!0);let n=window.moment.utc(e.after(t.toDate())),i=this.toText(),s=i.match(/every( \d+)? month(s)?(.*)?/);s!==null&&(i.includes(" on ")||(n=Ct.nextAfterMonths(t,n,e,s[1])));let a=i.match(/every( \d+)? year(s)?(.*)?/);return a!==null&&(n=Ct.nextAfterYears(t,n,e,a[1])),Ct.addTimezone(n)}static nextAfterMonths(t,e,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));Ct.isSkippingTooManyMonths(t,e,s);)e=Ct.fromOneDayEarlier(t,n);return e}static isSkippingTooManyMonths(t,e,n){let i=e.month()-t.month();return i+=(e.year()-t.year())*12,i>n}static nextAfterYears(t,e,n,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));Ct.isSkippingTooManyYears(t,e,s);)e=Ct.fromOneDayEarlier(t,n);return e}static isSkippingTooManyYears(t,e,n){return e.year()-t.year()>n}static fromOneDayEarlier(t,e){t.subtract(1,"days").endOf("day");let n=e.origOptions;return n.dtstart=t.startOf("day").toDate(),e=new oe(n),window.moment.utc(e.after(t.toDate()))}static addTimezone(t){return window.moment.utc(t).set({hour:12,minute:0,second:0,millisecond:0}).local(!0).startOf("day")}}});function AS(r,t,e){let n=new Map([["cancelled date","cancelledDate"],["created date","createdDate"],["depends on","dependsOn"],["done date","doneDate"],["due date","dueDate"],["id","id"],["on completion","onCompletion"],["priority","priority"],["recurrence rule","recurrenceRule"],["scheduled date","scheduledDate"],["start date","startDate"]]);for(let[i,s]of n.entries())if(t.startsWith(i))return r.setVisibility(s,e),!0;return t.startsWith("tags")?(r.setTagsVisibility(e),!0):!1}var Pl,Rc,Wr,Es=Q(()=>{"use strict";Pl=(p=>(p.Description="description",p.Id="id",p.DependsOn="dependsOn",p.Priority="priority",p.RecurrenceRule="recurrenceRule",p.OnCompletion="onCompletion",p.CreatedDate="createdDate",p.StartDate="startDate",p.ScheduledDate="scheduledDate",p.DueDate="dueDate",p.CancelledDate="cancelledDate",p.DoneDate="doneDate",p.BlockLink="blockLink",p))(Pl||{}),Rc=Object.values(Pl),Wr=class{constructor(){this.visible={};this.tagsVisible=!0;Rc.forEach(t=>{this.visible[t]=!0})}isShown(t){return this.visible[t]}areTagsShown(){return this.tagsVisible}hide(t){this.visible[t]=!1}setVisibility(t,e){this.visible[t]=e}setTagsVisibility(t){this.tagsVisible=t}get shownComponents(){return Rc.filter(t=>this.visible[t])}get hiddenComponents(){return Rc.filter(t=>!this.visible[t])}get toggleableComponents(){return Rc.filter(t=>t!=="description"&&t!=="blockLink")}toggleVisibilityExceptDescriptionAndBlockLink(){this.toggleableComponents.forEach(t=>{this.visible[t]=!this.visible[t]}),this.setTagsVisibility(!this.areTagsShown())}}});var zt,gt,In=Q(()=>{"use strict";zt=(o=>(o.TODO="TODO",o.DONE="DONE",o.IN_PROGRESS="IN_PROGRESS",o.ON_HOLD="ON_HOLD",o.CANCELLED="CANCELLED",o.NON_TASK="NON_TASK",o.EMPTY="EMPTY",o))(zt||{}),gt=class{constructor(t,e,n,i,s="TODO"){this.symbol=t,this.name=e,this.nextStatusSymbol=n,this.availableAsCommand=i,this.type=s}}});function PS(r){let t=r.trim().toLowerCase();return t==="delete"?"delete":t==="keep"?"keep":""}function tU(r,t){return r.filter(e=>e!==t)}function nU(r,t){let e=r.status,n=t.status,i=n.type===e.type;return n.type!=="DONE"||i}function NS(r,t){let e=t.length;if(r.onCompletion===""||r.onCompletion==="keep"||e===0)return t;let n=t[e-1];if(nU(r,n))return t;let s=r.onCompletion;return s==="delete"?tU(t,n):(console.log(`OnCompletion action ${s} not yet implemented.`),t)}var Cc=Q(()=>{"use strict";In()});var Ea=Q(()=>{"use strict"});function Oa(r){return Ra(r,"(\\d{4}-\\d{2}-\\d{2})")}function Ra(r,t){let e=r+"\uFE0F?";return t!==""&&(e+=" *"+t),e+="$",new RegExp(e)}function Mc(r,t,e){return e?r?" "+t:` ${t} ${e}`:""}function xa(r,t,e){return e?r?" "+t:` ${t} ${e.format(ke.dateFormat)}`:""}function IS(){let r=[];return Object.values(Nl.prioritySymbols).forEach(t=>{t.length>0&&r.push(t)}),Object.values(Nl).forEach(t=>{typeof t=="string"&&r.push(t)}),r}var Os,$g,Nl,xs,Il=Q(()=>{"use strict";Es();Cc();gc();xc();Ut();Ea();ri();Os=/[a-zA-Z0-9-_]+/,$g=new RegExp(Os.source+"( *, *"+Os.source+" *)*");Nl={prioritySymbols:{Highest:"\u{1F53A}",High:"\u23EB",Medium:"\u{1F53C}",Low:"\u{1F53D}",Lowest:"\u23EC",None:""},startDateSymbol:"\u{1F6EB}",createdDateSymbol:"\u2795",scheduledDateSymbol:"\u23F3",dueDateSymbol:"\u{1F4C5}",doneDateSymbol:"\u2705",cancelledDateSymbol:"\u274C",recurrenceSymbol:"\u{1F501}",onCompletionSymbol:"\u{1F3C1}",dependsOnSymbol:"\u26D4",idSymbol:"\u{1F194}",TaskFormatRegularExpressions:{priorityRegex:Ra("(\u{1F53A}|\u23EB|\u{1F53C}|\u{1F53D}|\u23EC)",""),startDateRegex:Oa("\u{1F6EB}"),createdDateRegex:Oa("\u2795"),scheduledDateRegex:Oa("(?:\u23F3|\u231B)"),dueDateRegex:Oa("(?:\u{1F4C5}|\u{1F4C6}|\u{1F5D3})"),doneDateRegex:Oa("\u2705"),cancelledDateRegex:Oa("\u274C"),recurrenceRegex:Ra("\u{1F501}","([a-zA-Z0-9, !]+)"),onCompletionRegex:Ra("\u{1F3C1}","([a-zA-Z]+)"),dependsOnRegex:Ra("\u26D4","("+$g.source+")"),idRegex:Ra("\u{1F194}","("+Os.source+")")}};xs=class{constructor(t){this.symbols=t}serialize(t){let e=new Wr,n="",i=!1;for(let s of e.shownComponents)n+=this.componentToString(t,i,s);return n}componentToString(t,e,n){var b;let{prioritySymbols:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,doneDateSymbol:l,cancelledDateSymbol:u,recurrenceSymbol:c,onCompletionSymbol:d,dueDateSymbol:f,dependsOnSymbol:p,idSymbol:g}=this.symbols;switch(n){case"description":return t.description;case"priority":{let v="";return t.priority==="0"?v=" "+i.Highest:t.priority==="1"?v=" "+i.High:t.priority==="2"?v=" "+i.Medium:t.priority==="4"?v=" "+i.Low:t.priority==="5"&&(v=" "+i.Lowest),v}case"startDate":return xa(e,s,t.startDate);case"createdDate":return xa(e,a,t.createdDate);case"scheduledDate":return t.scheduledDateIsInferred?"":xa(e,o,t.scheduledDate);case"doneDate":return xa(e,l,t.doneDate);case"cancelledDate":return xa(e,u,t.cancelledDate);case"dueDate":return xa(e,f,t.dueDate);case"recurrenceRule":return t.recurrence?Mc(e,c,t.recurrence.toText()):"";case"onCompletion":return t.onCompletion===""?"":Mc(e,d,t.onCompletion);case"dependsOn":return t.dependsOn.length===0?"":Mc(e,p,t.dependsOn.join(","));case"id":return Mc(e,g,t.id);case"blockLink":return(b=t.blockLink)!=null?b:"";default:throw new Error(`Don't know how to render task component of type '${n}'`)}}parsePriority(t){let{prioritySymbols:e}=this.symbols;switch(t){case e.Lowest:return"5";case e.Low:return"4";case e.Medium:return"2";case e.High:return"1";case e.Highest:return"0";default:return"3"}}extractDateField(t,e,n){this.extractField(t,e,i=>{n(window.moment(i[1],ke.dateFormat))})}extractField(t,e,n){let i=t.line.match(e);i!==null&&(n(i),t.line=t.line.replace(e,"").trim(),t.matched=!0)}deserialize(t){let{TaskFormatRegularExpressions:e}=this.symbols,n={line:t,matched:!1},i="3",s=null,a=null,o=null,l=null,u=null,c=null,d="",f=null,p="",g="",b=[],v="",E=20,x=0;do n.matched=!1,this.extractField(n,e.priorityRegex,O=>{i=this.parsePriority(O[1])}),this.extractDateField(n,e.doneDateRegex,O=>l=O),this.extractDateField(n,e.cancelledDateRegex,O=>u=O),this.extractDateField(n,e.dueDateRegex,O=>o=O),this.extractDateField(n,e.scheduledDateRegex,O=>a=O),this.extractDateField(n,e.startDateRegex,O=>s=O),this.extractDateField(n,e.createdDateRegex,O=>c=O),this.extractField(n,e.recurrenceRegex,O=>{d=O[1].trim()}),this.extractField(n,e.onCompletionRegex,O=>{p=PS(O[1])}),this.extractField(n,ke.hashTagsFromEnd,O=>{let q=O[0].trim();v=v.length>0?[q,v].join(" "):q}),this.extractField(n,e.idRegex,O=>{g=O[1].trim()}),this.extractField(n,e.dependsOnRegex,O=>{b=O[1].replace(/ /g,"").split(",").filter(q=>q!=="")}),x++;while(n.matched&&x<=E);return d.length>0&&(f=Ct.fromText({recurrenceRuleText:d,occurrence:new tr({startDate:s,scheduledDate:a,dueDate:o})})),v.length>0&&(n.line+=" "+v),{description:n.line,priority:i,startDate:s,createdDate:c,scheduledDate:a,dueDate:o,doneDate:l,cancelledDate:u,recurrence:f,onCompletion:p,id:g,dependsOn:b,tags:me.extractHashtags(n.line)}}}});function Fl(r){let t="",e=!0;for(;e;)t=Math.random().toString(36).substring(2,6+2),r.includes(t)||(e=!1);return t}function Pc(r,t){return r.id!==""?r:new me(pe(U({},r),{id:Fl(t)}))}function FS(r,t){let e=r;if(!r.dependsOn.includes(t.id)){let n=[...r.dependsOn,t.id];e=new me(pe(U({},r),{dependsOn:n}))}return e}function LS(r,t){let e=r;if(r.dependsOn.includes(t.id)){let n=r.dependsOn.filter(i=>i!==t.id);e=new me(pe(U({},r),{dependsOn:n}))}return e}var Nc=Q(()=>{"use strict";Ut()});function Hi(r){return r.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")}var Ll=Q(()=>{"use strict"});var Gi,Ce,un=Q(()=>{"use strict";Ll();Gi=class{constructor(){this._globalFilter="";this._removeGlobalFilter=!1}static getInstance(){return Gi.instance||(Gi.instance=new Gi),Gi.instance}get(){return this._globalFilter}set(t){this._globalFilter=t}reset(){this.set(Gi.empty)}isEmpty(){return this.get()===Gi.empty}equals(t){return this.get()===t}includedIn(t){let e=this.get();return t.includes(e)}prependTo(t){return this.get()+" "+t}removeAsWordFromDependingOnSettings(t){return this.getRemoveGlobalFilter()?this.removeAsWordFrom(t):t}getRemoveGlobalFilter(){return this._removeGlobalFilter}setRemoveGlobalFilter(t){this._removeGlobalFilter=t}removeAsWordFrom(t){if(this.isEmpty())return t;let e=RegExp("(^|\\s)"+Hi(this.get())+"($|\\s)","ug");return t.search(e)>-1&&(t=t.replace(e,"$1$2").replace("  "," ").trim()),t}removeAsSubstringFrom(t){let e=this.get();return t.replace(e,"").trim()}},Ce=Gi;Ce.empty=""});function Rs(r){return Ce.getInstance().removeAsWordFrom(r.description)}function sU(r,t){if(r==="")return t;let e=(0,YS.prepareSimpleSearch)(r),n=-4;return t.map(a=>{let o=e(Rs(a));return o&&o.score>n?{item:a,match:o}:null}).filter(Boolean).sort((a,o)=>o.match.score-a.match.score).map(a=>a.item)}function Ic(r,t,e,n,i){let s=sU(r,t);return s=s.filter(a=>!(a.isDone||a.description.includes("<%")&&a.description.includes("%>")||a.description===(e==null?void 0:e.description)&&a.taskLocation.path===(e==null?void 0:e.taskLocation.path)&&a.originalMarkdown===(e==null?void 0:e.originalMarkdown)||(n==null?void 0:n.includes(a))||(i==null?void 0:i.includes(a)))),e&&s.sort((a,o)=>{let l=a.taskLocation.path===e.taskLocation.path,u=o.taskLocation.path===e.taskLocation.path;return l&&u?Math.abs(a.taskLocation.lineNumber-e.taskLocation.lineNumber)-Math.abs(o.taskLocation.lineNumber-e.taskLocation.lineNumber):l?-1:u?1:0}),s.slice(0,iU)}var YS,iU,jg=Q(()=>{"use strict";YS=require("obsidian");un();iU=20});function qS(r){return globalThis.SHOW_DEPENDENCY_SUGGESTIONS&&r}function Gg(r,t,e){let n=[r.startDateSymbol,r.scheduledDateSymbol,r.dueDateSymbol].join("|");return(i,s,a,o,l,u)=>{let c=[],{postfix:d,insertSkip:f}=oU(e,i,s),p={line:i,cursorPos:s,settings:a,dataviewMode:e,postfix:d,insertSkip:f};return c=c.concat(pU(n,t,p)),c=c.concat(mU(r.recurrenceSymbol,p)),qS(l)&&(c=c.concat(gU(r.idSymbol,o,p)),c=c.concat(yU(r.dependsOnSymbol,o,p,u))),c=c.concat(hU(r.onCompletionSymbol,t,p)),c=c.concat(lU(r,l,p)),c.length>0&&!c.some(g=>g.suggestionType==="match")&&(e||c.unshift({suggestionType:"empty",displayText:"\u23CE",appendText:`
`})),c=c.slice(0,a.autoSuggestMaxItems),c}}function oU(r,t,e){let n=TU(t.substring(0,e),[["(",")"],["[","]"]])=="("?")":"]",i=r?n+" ":" ",s=r&&t.length>e&&t.charAt(e)===n?1:0;return{postfix:i,insertSkip:s}}function lU(r,t,e){let n=[],i=e.line;Cs(n,i,r.dueDateSymbol,"due date"),Cs(n,i,r.startDateSymbol,"start date"),Cs(n,i,r.scheduledDateSymbol,"scheduled date"),uU(n,r,e),Cs(n,i,r.recurrenceSymbol,"recurring (repeat)"),cU(n,r,e),qS(t)&&(Cs(n,i,r.idSymbol,"id"),Cs(n,i,r.dependsOnSymbol,"depends on id")),Cs(n,i,r.onCompletionSymbol,"on completion");let s=dU(n,e);return s.length===0&&e.settings.autoSuggestMinMatch===0?n:s}function Cs(r,t,e,n){t.includes(e)||r.push({displayText:`${e} ${n}`,appendText:`${e} `})}function uU(r,t,e){if(!(i=>Object.values(t.prioritySymbols).some(s=>s.length>0&&i.includes(s)))(e.line)){let i=t.prioritySymbols,s=["High","Medium","Low","Highest","Lowest"];for(let a of s){let o=i[a];r.push({displayText:e.dataviewMode?`${o} priority`:`${o} ${a.toLowerCase()} priority`,appendText:`${o}${e.postfix}`,insertSkip:e.dataviewMode?e.insertSkip:void 0})}}}function cU(r,t,e){if(!e.line.includes(t.createdDateSymbol)){let i=An.parseDate("today",!0).format(ke.dateFormat);r.push({textToMatch:`${t.createdDateSymbol} created`,displayText:`${t.createdDateSymbol} created today (${i})`,appendText:`${t.createdDateSymbol} ${i}`+e.postfix,insertSkip:e.dataviewMode?e.insertSkip:void 0})}}function dU(r,t){let e=Ca(/([a-zA-Z'_-]*)/g,t),n=[];if(e&&e.length>0){let i=e[0];if(i.length>=Math.max(1,t.settings.autoSuggestMinMatch)){let s=r.filter(a=>{var l;return((l=a.textToMatch)!=null?l:a.displayText).toLowerCase().includes(i.toLowerCase())});for(let a of s){let o=t.dataviewMode&&(a.displayText.includes("priority")||a.displayText.includes("created"))?i.length+t.insertSkip:i.length;n.push({suggestionType:"match",displayText:a.displayText,appendText:a.appendText,insertAt:e.index,insertSkip:o})}}}return n}function WS(r,t){let e=`${t}`,n=`${r} ${t}`;return{displayText:e,appendText:n}}function fU(r,t){let n=`${An.parseDate(t,!0).format(ke.dateFormat)}`,i=`${t} (${n})`,s=`${r} ${n}`;return{displayText:i,appendText:s}}function pU(r,t,e){let n=["today","tomorrow","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","next week","next month","next year"],i=[],s=new RegExp(`(${r})\\s*([0-9a-zA-Z ]*)`,"ug"),a=Ca(s,e);if(a&&a.length>=2){let o=a[2];if(o.length<e.settings.autoSuggestMinMatch)return[];let l=o&&o.length>1?An.parseDate(hc(o),!0):null;if(l!=null&&l.isValid()){let c=l.format(ke.dateFormat);Fc(e,a,[c],WS,i)}let u=Bg(n,o,t,!0);Fc(e,a,u,fU,i)}return i}function mU(r,t){var a;let e=["every","every day","every week","every month","every month on the","every year","every week on Sunday","every week on Monday","every week on Tuesday","every week on Wednesday","every week on Thursday","every week on Friday","every week on Saturday"],n=[],i=new RegExp(`(${r})\\s*([0-9a-zA-Z ]*)`,"ug"),s=Ca(i,t);if(s&&s.length>=2){let o=s[1],l=s[2];if(l.length<t.settings.autoSuggestMinMatch)return[];if(l.length>0){let f=(a=Ct.fromText({recurrenceRuleText:l,occurrence:new tr({startDate:null,scheduledDate:null,dueDate:null})}))==null?void 0:a.toText();if(f){let p=`${o} ${f}`+t.postfix;if(n.push({suggestionType:"match",displayText:`\u2705 ${f}`,appendText:p,insertAt:s.index,insertSkip:Vg(s[0],t)}),s[0]==p)return[]}}let u=t.settings.autoSuggestMaxItems/2,c=Bg(e,l,u,!1);c.length===0&&l.trim().length===0&&(c=e.slice(0,u)),Fc(t,s,c,(f,p)=>{let g=`${p}`,b=`${f} ${p}`;return{displayText:g,appendText:b}},n)}return n}function hU(r,t,e){let n=["delete","keep"],i=[],s=new RegExp(`(${r})\\s*([0-9a-zA-Z ]*)`,"ug"),a=Ca(s,e);if(a&&a.length>=2){let o=a[2];if(o.length<e.settings.autoSuggestMinMatch)return[];let l=Bg(n,o,t,!0);Fc(e,a,l,WS,i)}return i}function gU(r,t,e){let n=[],i=new RegExp(`(${r})\\s*(${Os.source})?`,"ug"),s=Ca(i,e);if(s&&s[0].trim().length<=r.length){let a=Fl(t.map(o=>o.id));n.push({suggestionType:"match",displayText:"generate unique id",appendText:`${r} ${a}`+e.postfix,insertAt:s.index,insertSkip:Vg(s[0],e)})}return n}function yU(r,t,e,n){let i=[],s=e.dataviewMode?Hi("()[]"):IS(),a=new RegExp(`(${r})([0-9a-zA-Z-_ ^,]*,)*([^,${s}]*)`,"ug"),o=Ca(a,e);if(o&&o.length>=1){let l=o[2]||"",u=o[3],c=[];if(l){let d=l.split(",").map(f=>f.trim());c=t.filter(f=>f.id&&d.includes(f.id))}if(u.length>=e.settings.autoSuggestMinMatch){let d=Ic(u.trim(),t,n,[],c);for(let f of d)i.push({suggestionType:"match",displayText:`${f.descriptionWithoutTags} - From: ${f.filename}.md`,appendText:`${r}${l}`,insertAt:o.index,insertSkip:r.length+l.length+u.length,taskItDependsOn:f})}}return i}function Bg(r,t,e,n){let s=r.filter(a=>t&&t.length>=1&&a.toLowerCase().includes(t.toLowerCase())).slice(0,e);return n&&s.length===0&&(s=r.slice(0,e)),s}function Fc(r,t,e,n,i){let s=t[1];for(let a of e){let{displayText:o,appendText:l}=n(s,a);i.push({suggestionType:"match",displayText:o,appendText:l+r.postfix,insertAt:t.index,insertSkip:Vg(t[0],r)})}}function Ca(r,t){let e=t.line.matchAll(r),n=t.cursorPos;for(let i of e)if((i==null?void 0:i.index)&&i.index<n&&n<=i.index+i[0].length)return i}function bU(r,t){if(t.length===0)return!1;let e=Object.fromEntries(t.map(([i,s])=>[i,0])),n=Object.fromEntries(t.map(([i,s])=>[s,i]));for(let i of r)i in e?e[i]++:i in n&&(e[n[i]]=Math.max(0,e[n[i]]-1));return Object.values(e).some(i=>i>0)}function TU(r,t){if(t.length===0)return null;let e=Object.fromEntries(t.map(([s,a])=>[s,0])),n=Object.fromEntries(t.map(([s,a])=>[a,s])),i=[];for(let s=0;s<r.length;s++){let a=r[s];if(a in e)e[a]++,i.push({bracket:a,idx:s});else if(a in n){if(e[n[a]]>=1){for(let o=i.length-1;o>=0;o--)if(i[o].bracket==n[a]){i.splice(o,1);break}}e[n[a]]=Math.max(0,e[n[a]]-1)}}return i.length>0?i[i.length-1].bracket:null}function $S(r,t){return(e,n,i,s,a)=>bU(e.slice(0,n),t)?r(e,n,i,s,a):[]}function jS(r,t,e){let n=Ce.getInstance().includedIn(r),i=vU(e,t,n);return typeof i=="boolean"?i:n&&kU(r,t.ch)}function vU(r,t,e){var n,i;return(i=(n=r==null?void 0:r.editorComponent)==null?void 0:n.showTasksPluginAutoSuggest)==null?void 0:i.call(n,t,r,e)}function kU(r,t){if(r.length===0)return!1;let e=me.extractTaskComponents(r);if(!e||e.status.type==="NON_TASK")return!1;let n=e.indentation+e.listMarker+" ["+e.status.symbol+"] ";return t>=n.length}function Vg(r,t){return t.dataviewMode?r.length+t.insertSkip:r.length}var Hg,aU,zg=Q(()=>{"use strict";wg();Sg();gc();xc();Il();Ut();Nc();un();ri();jg();Ll();In();Hg=5,aU=!0;globalThis.SHOW_DEPENDENCY_SUGGESTIONS=aU});var Fn,Ul=Q(()=>{"use strict";Ea();Fn=class{static priorityNameUsingNone(t){let e="ERROR";switch(t){case"1":e="High";break;case"0":e="Highest";break;case"2":e="Medium";break;case"3":e="None";break;case"4":e="Low";break;case"5":e="Lowest";break}return e}static priorityNameUsingNormal(t){return Fn.priorityNameUsingNone(t).replace("None","Normal")}static priorityValue(t){switch(t.toLowerCase()){case"lowest":return"5";case"low":return"4";case"medium":return"2";case"high":return"1";case"highest":return"0";default:return"3"}}}});function kr(r){let t=["(?:",/(?=[^\]]+\])\[/,"|",/(?=[^)]+\))\(/,")",/ */,r,/ */,/[)\]]/,/(?: *,)?/,/$/].map(e=>e instanceof RegExp?e.source:e).join("");return new RegExp(t,r.flags)}var Kg,Lc,Qg=Q(()=>{"use strict";Es();Ul();Il();Kg={prioritySymbols:{Highest:"priority:: highest",High:"priority:: high",Medium:"priority:: medium",Low:"priority:: low",Lowest:"priority:: lowest",None:""},startDateSymbol:"start::",createdDateSymbol:"created::",scheduledDateSymbol:"scheduled::",dueDateSymbol:"due::",doneDateSymbol:"completion::",cancelledDateSymbol:"cancelled::",recurrenceSymbol:"repeat::",onCompletionSymbol:"onCompletion::",idSymbol:"id::",dependsOnSymbol:"dependsOn::",TaskFormatRegularExpressions:{priorityRegex:kr(/priority:: *(highest|high|medium|low|lowest)/),startDateRegex:kr(/start:: *(\d{4}-\d{2}-\d{2})/),createdDateRegex:kr(/created:: *(\d{4}-\d{2}-\d{2})/),scheduledDateRegex:kr(/scheduled:: *(\d{4}-\d{2}-\d{2})/),dueDateRegex:kr(/due:: *(\d{4}-\d{2}-\d{2})/),doneDateRegex:kr(/completion:: *(\d{4}-\d{2}-\d{2})/),cancelledDateRegex:kr(/cancelled:: *(\d{4}-\d{2}-\d{2})/),recurrenceRegex:kr(/repeat:: *([a-zA-Z0-9, !]+)/),onCompletionRegex:kr(/onCompletion:: *([a-zA-Z]+)/),dependsOnRegex:kr(new RegExp("dependsOn:: *("+$g.source+")")),idRegex:kr(new RegExp("id:: *("+Os.source+")"))}},Lc=class extends xs{constructor(){super(Kg)}parsePriority(t){return Fn.priorityValue(t)}componentToString(t,e,n){let i=super.componentToString(t,e,n),s=["blockLink","description"];return i!==""&&!s.includes(n)?`  [${i.trim()}]`:i}}});var Ln,Te,_r=Q(()=>{"use strict";In();Ln=class{get symbol(){return this.configuration.symbol}get name(){return this.configuration.name}get nextStatusSymbol(){return this.configuration.nextStatusSymbol}get nextSymbol(){return this.configuration.nextStatusSymbol}get availableAsCommand(){return this.configuration.availableAsCommand}get type(){return this.configuration.type}get typeGroupText(){let t=this.type,e;switch(t){case"IN_PROGRESS":e="1";break;case"TODO":e="2";break;case"ON_HOLD":e="3";break;case"DONE":e="4";break;case"CANCELLED":e="5";break;case"NON_TASK":e="6";break;case"EMPTY":e="7";break}return`%%${e}%%${t}`}constructor(t){this.configuration=t}static getTypeForUnknownSymbol(t){switch(t){case"x":case"X":return"DONE";case"/":return"IN_PROGRESS";case"-":return"CANCELLED";case"":return"EMPTY";case" ":default:return"TODO"}}static getTypeFromStatusTypeString(t){return zt[t]||"TODO"}static createUnknownStatus(t){return new Ln(new gt(t,"Unknown","x",!1,"TODO"))}static createFromImportedValue(t){let e=t[0],n=Ln.getTypeFromStatusTypeString(t[3]);return new Ln(new gt(e,t[1],t[2],!1,n))}isCompleted(){return this.type==="DONE"}isCancelled(){return this.type==="CANCELLED"}identicalTo(t){let e=["symbol","name","nextStatusSymbol","availableAsCommand","type"];for(let n of e)if(this[n]!==t[n])return!1;return!0}previewText(){let t="";return Ln.tasksPluginCanCreateCommandsForStatuses()&&this.availableAsCommand&&(t=" Available as a command."),`- [${this.symbol}] => [${this.nextStatusSymbol}], name: '${this.name}', type: '${this.configuration.type}'.${t}`}static tasksPluginCanCreateCommandsForStatuses(){return!1}},Te=Ln;Te.DONE=new Ln(new gt("x","Done"," ",!0,"DONE")),Te.EMPTY=new Ln(new gt("","EMPTY","",!0,"EMPTY")),Te.TODO=new Ln(new gt(" ","Todo","x",!0,"TODO")),Te.CANCELLED=new Ln(new gt("-","Cancelled"," ",!0,"CANCELLED")),Te.IN_PROGRESS=new Ln(new gt("/","In Progress","x",!0,"IN_PROGRESS")),Te.ON_HOLD=new Ln(new gt("h","On Hold"," ",!0,"ON_HOLD")),Te.NON_TASK=new Ln(new gt("Q","Non-Task","A",!0,"NON_TASK"))});var HS=Q(()=>{"use strict";Il()});function _U(r){let t=r,e=!1,n=r.split(`
`);n.length>1&&(t=n[0],e=!0);let i=50;return t.length>i&&(t=t.slice(0,i),e=!0),e&&(t+="..."),t}function BS(r,t){let e=`Cannot find preset "${r}" in the Tasks settings`;if(Object.keys(t).length===0)e+=`
You can define the instruction(s) for "${r}" in the Tasks settings.`;else{let i=Math.max(...Object.keys(t).map(a=>a.length));e+=`
The following presets are defined in the Tasks settings:
  ${Object.entries(t).sort(([a],[o])=>a.localeCompare(o)).map(([a,o])=>`${a.padEnd(i)}: ${_U(o)}`).join(`
  `)}`}return e}var GS,Xg=Q(()=>{"use strict";GS={this_file:"path includes {{query.file.path}}",this_folder:"folder includes {{query.file.folder}}",this_folder_only:"filter by function task.file.folder === query.file.folder",this_root:"root includes {{query.file.root}}",hide_date_fields:`# Hide any values for all date fields
hide due date
hide scheduled date
hide start date
hide created date
hide done date
hide cancelled date`,hide_non_date_fields:`# Hide all the non-date fields, but not tags
hide id
hide depends on
hide recurrence rule
hide on completion
hide priority`,hide_query_elements:`# Hide toolbar, postpone, edit and backlinks
hide toolbar
hide postpone button
hide edit button
hide backlinks`,hide_everything:`# Hide everything except description and any tags
preset hide_date_fields
preset hide_non_date_fields
preset hide_query_elements`}});var Uc,VS=Q(()=>{"use strict";Uc=class{constructor(t=!1,e=!1,n=!1){this.ignoreSortInstructions=t,this.showTaskHiddenData=e,this.recordTimings=n}}});var Ma,Yc=Q(()=>{"use strict";Ma={priority:!0,recurrence:!0,due:!0,scheduled:!0,start:!0,before_this:!0,after_this:!0,status:!0,created:!0,done:!0,cancelled:!0}});var it,Aa=Q(()=>{"use strict";_r();it=class{constructor(){this.coreStatuses=[Te.TODO.configuration,Te.DONE.configuration],this.customStatuses=[Te.IN_PROGRESS.configuration,Te.CANCELLED.configuration]}static addStatus(t,e){t.push(e)}static replaceStatus(t,e,n){let i=this.findStatusIndex(e,t);return i<=-1?!1:(t.splice(i,1,n),!0)}static findStatusIndex(t,e){let n=new Te(t);return e.findIndex(i=>new Te(i).previewText()==n.previewText())}static deleteStatus(t,e){let n=this.findStatusIndex(e,t);return n<=-1?!1:(t.splice(n,1),!0)}static deleteAllCustomStatuses(t){t.customStatuses.splice(0)}static resetAllCustomStatuses(t){it.deleteAllCustomStatuses(t),new it().customStatuses.forEach(n=>{it.addStatus(t.customStatuses,n)})}static bulkAddStatusCollection(t,e){let n=[];return e.forEach(i=>{t.customStatuses.find(a=>a.symbol==i[0]&&a.name==i[1]&&a.nextStatusSymbol==i[2])?n.push(`The status ${i[1]} (${i[0]}) is already added.`):it.addStatus(t.customStatuses,Te.createFromImportedValue(i))}),n}static allStatuses(t){return t.coreStatuses.concat(t.customStatuses)}static applyToStatusRegistry(t,e){e.clearStatuses(),it.allStatuses(t).forEach(n=>{e.add(n)})}}});var KS,zS=Q(()=>{KS=[{index:9999,internalName:"INTERNAL_TESTING_ENABLED_BY_DEFAULT",displayName:"Test Item. Used to validate the Feature Framework.",description:"Description",enabledByDefault:!0,stable:!1}]});var bi,QS=Q(()=>{"use strict";zS();bi=class{constructor(t,e,n,i,s,a){this.internalName=t;this.index=e;this.description=n;this.displayName=i;this.enabledByDefault=s;this.stable=a}static get values(){let t=[];return KS.forEach(e=>{t=[...t,new bi(e.internalName,e.index,e.description,e.displayName,e.enabledByDefault,e.stable)]}),t}static get settingsFlags(){let t={};return bi.values.forEach(e=>{t[e.internalName]=e.enabledByDefault}),t}static fromString(t){for(let e of bi.values)if(t===e.internalName)return e;throw new RangeError(`Illegal argument passed to fromString(): ${t} does not correspond to any available Feature ${this.prototype.constructor.name}`)}}});function Zg(r,t){for(let e in r)t[e]===void 0&&(t[e]=r[e])}function Yl(){return Un[te().taskFormat]}function SU(r){let t=U({},r);return"includes"in t&&!("presets"in t)&&(t.presets=t.includes,delete t.includes),t}var Un,Jg,Ti,te,st,Ms,XS,vt=Q(()=>{"use strict";zg();Il();Qg();In();_r();HS();Qg();Ni();Xg();VS();Yc();Aa();QS();Un={tasksPluginEmoji:{getDisplayName:()=>M.t("settings.format.displayName.tasksEmojiFormat"),taskSerializer:new xs(Nl),buildSuggestions:Gg(Nl,Hg,!1)},dataview:{getDisplayName:()=>M.t("settings.format.displayName.dataview"),taskSerializer:new Lc,buildSuggestions:$S(Gg(Kg,Hg,!0),[["(",")"],["[","]"]])}},Jg={presets:GS,globalQuery:"",globalFilter:"",removeGlobalFilter:!1,taskFormat:"tasksPluginEmoji",setCreatedDate:!1,setDoneDate:!0,setCancelledDate:!0,autoSuggestInEditor:!0,autoSuggestMinMatch:0,autoSuggestMaxItems:20,provideAccessKeys:!0,useFilenameAsScheduledDate:!1,filenameAsScheduledDateFormat:"",filenameAsDateFolders:[],recurrenceOnNextLine:!1,removeScheduledDateOnRecurrence:!1,statusSettings:new it,isShownInEditModal:Ma,features:bi.settingsFlags,generalSettings:{},headingOpened:{},debugSettings:new Uc,loggingOptions:{minLevels:{"":"info",tasks:"info","tasks.Cache":"info","tasks.Events":"info","tasks.File":"info","tasks.Query":"info","tasks.Task":"info"}}},Ti=U({},Jg);te=()=>(Zg(bi.settingsFlags,Ti.features),Zg(Jg.loggingOptions.minLevels,Ti.loggingOptions.minLevels),Zg(Jg.debugSettings,Ti.debugSettings),Ti.statusSettings.customStatuses.forEach((r,t,e)=>{var i,s;let n=Te.getTypeFromStatusTypeString(r.type);e[t]=new gt((i=r.symbol)!=null?i:" ",r.name,(s=r.nextStatusSymbol)!=null?s:"x",r.availableAsCommand,n)}),U({},Ti)),st=r=>{let t=SU(r);return Ti=U(U({},Ti),t),te()},Ms=(r,t)=>(Ti.generalSettings[r]=t,te()),XS=r=>{var t;return(t=Ti.features[r])!=null?t:!1}});function qc(r){let e={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"}[r];return e!==void 0?e:r}function ZS(r){let t=[...r],e="";return t.forEach(n=>{e+=qc(n)}),e}var JS=Q(()=>{"use strict"});var Ge,$r=Q(()=>{"use strict";JS();_r();In();Ge=class{constructor(){this._registeredStatuses=[];this.addDefaultStatusTypes()}set(t){this.clearStatuses(),t.forEach(e=>{this.add(e)})}get registeredStatuses(){return this._registeredStatuses.filter(({symbol:t})=>t!==Te.EMPTY.symbol)}static getInstance(){return Ge.instance||(Ge.instance=new Ge),Ge.instance}add(t){this.hasSymbol(t.symbol)||(t instanceof Te?this._registeredStatuses.push(t):this._registeredStatuses.push(new Te(t)))}bySymbol(t){return this.hasSymbol(t)?this.getSymbol(t):Te.EMPTY}bySymbolOrCreate(t){return this.hasSymbol(t)?this.getSymbol(t):Te.createUnknownStatus(t)}byName(t){return this._registeredStatuses.filter(({name:e})=>e===t).length>0?this._registeredStatuses.filter(({name:e})=>e===t)[0]:Te.EMPTY}resetToDefaultStatuses(){this.clearStatuses(),this.addDefaultStatusTypes()}clearStatuses(){this._registeredStatuses=[]}getNextStatus(t){if(t.nextStatusSymbol!==""){let e=this.bySymbol(t.nextStatusSymbol);if(e!==null)return e}return Te.EMPTY}getNextStatusOrCreate(t){let e=this.getNextStatus(t);return e.type!=="EMPTY"?e:Te.createUnknownStatus(t.nextStatusSymbol)}getNextRecurrenceStatusOrCreate(t){let e=this.getNextStatusOrCreate(t),n=this.getNextRecurrenceStatusOfType(e,"TODO");if(n)return n;let i=this.getNextRecurrenceStatusOfType(e,"IN_PROGRESS");return i||this.bySymbolOrCreate(" ")}getNextRecurrenceStatusOfType(t,e){if(t.type===e)return t;let n=t;for(let i=0;i<this.registeredStatuses.length-1;i++)if(n=this.getNextStatusOrCreate(n),n.type===e)return n}findUnknownStatuses(t){let e=t.filter(s=>!this.hasSymbol(s.symbol)),n=new Ge,i=[];return e.forEach(s=>{if(n.hasSymbol(s.symbol))return;let a=Ge.copyStatusWithNewName(s,`Unknown (${s.symbol})`);i.push(a),n.add(a)}),i.sort((s,a)=>s.symbol.localeCompare(a.symbol,void 0,{numeric:!0}))}static copyStatusWithNewName(t,e){let n=new gt(t.symbol,e,t.nextStatusSymbol,t.availableAsCommand,t.type);return new Te(n)}getSymbol(t){return this._registeredStatuses.filter(({symbol:e})=>e===t)[0]}hasSymbol(t){return this._registeredStatuses.find(e=>e.symbol===t)!==void 0}addDefaultStatusTypes(){[Te.TODO,Te.IN_PROGRESS,Te.DONE,Te.CANCELLED].forEach(e=>{this.add(e)})}mermaidDiagram(t=!1){let e=this.registeredStatuses,n="mermaid",i=[],s=[];return e.forEach((a,o)=>{let l=this.getMermaidNodeLabel(a,t);i.push(`${o+1}${l}`);let u=this.getNextStatus(a);if(this.addEdgeIfNotToInternal(e,u,s,o,!1),a.type==="DONE"){let c=this.getNextRecurrenceStatusOrCreate(a);c.symbol!==u.symbol&&this.addEdgeIfNotToInternal(e,c,s,o,!0)}}),`
\`\`\`${n}
flowchart LR

classDef TODO        stroke:#f33,stroke-width:3px;
classDef DONE        stroke:#0c0,stroke-width:3px;
classDef IN_PROGRESS stroke:#fa0,stroke-width:3px;
classDef CANCELLED   stroke:#ddd,stroke-width:3px;
classDef NON_TASK    stroke:#99e,stroke-width:3px;
classDef ON_HOLD     stroke:#00f,stroke-width:3px;

${i.join(`
`)}
${s.join(`
`)}

linkStyle default stroke:gray
\`\`\`
`}addEdgeIfNotToInternal(t,e,n,i,s){let a=t.findIndex(u=>u.symbol===e.symbol),o=a!==-1,l=e.type!=="EMPTY";if(o&&l){let u;s?u='-. "\u{1F501}" .-> ':u=" --> ";let c=`${i+1}${u}${a+1}`;n.push(c)}}getMermaidNodeLabel(t,e){let n=ZS(t.name),i=t.type;if(e){let s=qc(t.symbol),a=qc(t.nextStatusSymbol),o=`[${s}] -> [${a}]`,l=`'${n}'`,u=`(${i})`;return`["${l}<br>${o}<br>${u}"]:::${i}`}else return`["${n}"]:::${i}`}}});var jr,eD=Q(()=>{"use strict";jr=class{constructor(t,e){this.name=t,this.sortOrder=e}get groupText(){return this.name!==""?`%%${this.sortOrder}%% ${this.name}`:""}}});var tD,Yt,Wc=Q(()=>{"use strict";tD=require("obsidian");eD();ri();Yt=class{constructor(t){this._date=null;this._date=t}get moment(){return this._date?this._date.clone():null}formatAsDate(t=""){return this.format(ke.dateFormat,t)}formatAsDateAndTime(t=""){return this.format(ke.dateTimeFormat,t)}format(t,e=""){return this._date?this._date.format(t):e}toISOString(t){return this._date?this._date.toISOString(t):""}get category(){let t=window.moment(),e=this.moment;return e?e.isBefore(t,"day")?new jr("Overdue",1):e.isSame(t,"day")?new jr("Today",2):e.isValid()?new jr("Future",3):new jr("Invalid date",0):new jr("Undated",4)}get fromNow(){let t=this.moment;if(!t)return new jr("",0);let e=this.fromNowOrder(t);return new jr(t.fromNow(),e)}fromNowOrder(t){if(!t.isValid())return 0;let e=window.moment(),n=t.isSameOrBefore(e,"day"),i=this.fromNowStartDateOfGroup(t,n,e);return Number((n?1:3)+i.format("YYYYMMDD"))}fromNowStartDateOfGroup(t,e,n){let i=t.fromNow(!0).split(" "),s,a=Number(i[0]);isNaN(a)?s=1:s=a;let o=i[1];return e?n.subtract(s,o):n.add(s,o)}postpone(t="days",e=1){if(!this._date)throw new tD.Notice("Cannot postpone a null date");let n=window.moment().startOf("day");return this._date.isSameOrAfter(n,"day")?this._date.clone().add(e,t):n.add(e,t)}}});var iD=C((nD,rD)=>{(function(r){var t=Object.hasOwnProperty,e=Array.isArray?Array.isArray:function(T){return Object.prototype.toString.call(T)==="[object Array]"},n=10,i=typeof process=="object"&&typeof process.nextTick=="function",s=typeof Symbol=="function",a=typeof Reflect=="object",o=typeof setImmediate=="function",l=o?setImmediate:setTimeout,u=s?a&&typeof Reflect.ownKeys=="function"?Reflect.ownKeys:function(m){var T=Object.getOwnPropertyNames(m);return T.push.apply(T,Object.getOwnPropertySymbols(m)),T}:Object.keys;function c(){this._events={},this._conf&&d.call(this,this._conf)}function d(m){m&&(this._conf=m,m.delimiter&&(this.delimiter=m.delimiter),m.maxListeners!==r&&(this._maxListeners=m.maxListeners),m.wildcard&&(this.wildcard=m.wildcard),m.newListener&&(this._newListener=m.newListener),m.removeListener&&(this._removeListener=m.removeListener),m.verboseMemoryLeak&&(this.verboseMemoryLeak=m.verboseMemoryLeak),m.ignoreErrors&&(this.ignoreErrors=m.ignoreErrors),this.wildcard&&(this.listenerTree={}))}function f(m,T){var _="(node) warning: possible EventEmitter memory leak detected. "+m+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(_+=" Event name: "+T+"."),typeof process!="undefined"&&process.emitWarning){var k=new Error(_);k.name="MaxListenersExceededWarning",k.emitter=this,k.count=m,process.emitWarning(k)}else console.error(_),console.trace&&console.trace()}var p=function(m,T,_){var k=arguments.length;switch(k){case 0:return[];case 1:return[m];case 2:return[m,T];case 3:return[m,T,_];default:for(var w=new Array(k);k--;)w[k]=arguments[k];return w}};function g(m,T){for(var _={},k,w=m.length,R=T?T.length:0,N=0;N<w;N++)k=m[N],_[k]=N<R?T[N]:r;return _}function b(m,T,_){this._emitter=m,this._target=T,this._listeners={},this._listenersCount=0;var k,w;if((_.on||_.off)&&(k=_.on,w=_.off),T.addEventListener?(k=T.addEventListener,w=T.removeEventListener):T.addListener?(k=T.addListener,w=T.removeListener):T.on&&(k=T.on,w=T.off),!k&&!w)throw Error("target does not implement any known event API");if(typeof k!="function")throw TypeError("on method must be a function");if(typeof w!="function")throw TypeError("off method must be a function");this._on=k,this._off=w;var R=m._observers;R?R.push(this):m._observers=[this]}Object.assign(b.prototype,{subscribe:function(m,T,_){var k=this,w=this._target,R=this._emitter,N=this._listeners,Y=function(){var L=p.apply(null,arguments),S={data:L,name:T,original:m};if(_){var $=_.call(w,S);$!==!1&&R.emit.apply(R,[S.name].concat(L));return}R.emit.apply(R,[T].concat(L))};if(N[m])throw Error("Event '"+m+"' is already listening");this._listenersCount++,R._newListener&&R._removeListener&&!k._onNewListener?(this._onNewListener=function(L){L===T&&N[m]===null&&(N[m]=Y,k._on.call(w,m,Y))},R.on("newListener",this._onNewListener),this._onRemoveListener=function(L){L===T&&!R.hasListeners(L)&&N[m]&&(N[m]=null,k._off.call(w,m,Y))},N[m]=null,R.on("removeListener",this._onRemoveListener)):(N[m]=Y,k._on.call(w,m,Y))},unsubscribe:function(m){var T=this,_=this._listeners,k=this._emitter,w,R,N=this._off,Y=this._target,L;if(m&&typeof m!="string")throw TypeError("event must be a string");function S(){T._onNewListener&&(k.off("newListener",T._onNewListener),k.off("removeListener",T._onRemoveListener),T._onNewListener=null,T._onRemoveListener=null);var $=Z.call(k,T);k._observers.splice($,1)}if(m){if(w=_[m],!w)return;N.call(Y,m,w),delete _[m],--this._listenersCount||S()}else{for(R=u(_),L=R.length;L-- >0;)m=R[L],N.call(Y,m,_[m]);this._listeners={},this._listenersCount=0,S()}}});function v(m,T,_,k){var w=Object.assign({},T);if(!m)return w;if(typeof m!="object")throw TypeError("options must be an object");var R=Object.keys(m),N=R.length,Y,L,S;function $(ye){throw Error('Invalid "'+Y+'" option value'+(ye?". Reason: "+ye:""))}for(var de=0;de<N;de++){if(Y=R[de],!k&&!t.call(T,Y))throw Error('Unknown "'+Y+'" option');L=m[Y],L!==r&&(S=_[Y],w[Y]=S?S(L,$):L)}return w}function E(m,T){return(typeof m!="function"||!m.hasOwnProperty("prototype"))&&T("value must be a constructor"),m}function x(m){var T="value must be type of "+m.join("|"),_=m.length,k=m[0],w=m[1];return _===1?function(R,N){if(typeof R===k)return R;N(T)}:_===2?function(R,N){var Y=typeof R;if(Y===k||Y===w)return R;N(T)}:function(R,N){for(var Y=typeof R,L=_;L-- >0;)if(Y===m[L])return R;N(T)}}var O=x(["function"]),q=x(["object","function"]);function V(m,T,_){var k,w,R=0,N,Y=new m(function(L,S,$){_=v(_,{timeout:0,overload:!1},{timeout:function(ve,Ee){return ve*=1,(typeof ve!="number"||ve<0||!Number.isFinite(ve))&&Ee("timeout must be a positive number"),ve}}),k=!_.overload&&typeof m.prototype.cancel=="function"&&typeof $=="function";function de(){w&&(w=null),R&&(clearTimeout(R),R=0)}var ye=function(ve){de(),L(ve)},fe=function(ve){de(),S(ve)};k?T(ye,fe,$):(w=[function(ve){fe(ve||Error("canceled"))}],T(ye,fe,function(ve){if(N)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof ve!="function")throw TypeError("onCancel callback must be a function");w.push(ve)}),N=!0),_.timeout>0&&(R=setTimeout(function(){var ve=Error("timeout");ve.code="ETIMEDOUT",R=0,Y.cancel(ve),S(ve)},_.timeout))});return k||(Y.cancel=function(L){if(!!w){for(var S=w.length,$=1;$<S;$++)w[$](L);w[0](L),w=null}}),Y}function Z(m){var T=this._observers;if(!T)return-1;for(var _=T.length,k=0;k<_;k++)if(T[k]._target===m)return k;return-1}function j(m,T,_,k,w){if(!_)return null;if(k===0){var R=typeof T;if(R==="string"){var N,Y,L=0,S=0,$=this.delimiter,de=$.length;if((Y=T.indexOf($))!==-1){N=new Array(5);do N[L++]=T.slice(S,Y),S=Y+de;while((Y=T.indexOf($,S))!==-1);N[L++]=T.slice(S),T=N,w=L}else T=[T],w=1}else R==="object"?w=T.length:(T=[T],w=1)}var ye=null,fe,ve,Ee,tt,nt,F=T[k],Ye=T[k+1],jt,At;if(k===w)_._listeners&&(typeof _._listeners=="function"?(m&&m.push(_._listeners),ye=[_]):(m&&m.push.apply(m,_._listeners),ye=[_]));else if(F==="*"){for(jt=u(_),Y=jt.length;Y-- >0;)fe=jt[Y],fe!=="_listeners"&&(At=j(m,T,_[fe],k+1,w),At&&(ye?ye.push.apply(ye,At):ye=At));return ye}else if(F==="**"){for(nt=k+1===w||k+2===w&&Ye==="*",nt&&_._listeners&&(ye=j(m,T,_,w,w)),jt=u(_),Y=jt.length;Y-- >0;)fe=jt[Y],fe!=="_listeners"&&(fe==="*"||fe==="**"?(_[fe]._listeners&&!nt&&(At=j(m,T,_[fe],w,w),At&&(ye?ye.push.apply(ye,At):ye=At)),At=j(m,T,_[fe],k,w)):fe===Ye?At=j(m,T,_[fe],k+2,w):At=j(m,T,_[fe],k,w),At&&(ye?ye.push.apply(ye,At):ye=At));return ye}else _[F]&&(ye=j(m,T,_[F],k+1,w));if(ve=_["*"],ve&&j(m,T,ve,k+1,w),Ee=_["**"],Ee)if(k<w)for(Ee._listeners&&j(m,T,Ee,w,w),jt=u(Ee),Y=jt.length;Y-- >0;)fe=jt[Y],fe!=="_listeners"&&(fe===Ye?j(m,T,Ee[fe],k+2,w):fe===F?j(m,T,Ee[fe],k+1,w):(tt={},tt[fe]=Ee[fe],j(m,T,{"**":tt},k+1,w)));else Ee._listeners?j(m,T,Ee,w,w):Ee["*"]&&Ee["*"]._listeners&&j(m,T,Ee["*"],w,w);return ye}function J(m,T,_){var k=0,w=0,R,N=this.delimiter,Y=N.length,L;if(typeof m=="string")if((R=m.indexOf(N))!==-1){L=new Array(5);do L[k++]=m.slice(w,R),w=R+Y;while((R=m.indexOf(N,w))!==-1);L[k++]=m.slice(w)}else L=[m],k=1;else L=m,k=m.length;if(k>1){for(R=0;R+1<k;R++)if(L[R]==="**"&&L[R+1]==="**")return}var S=this.listenerTree,$;for(R=0;R<k;R++)if($=L[R],S=S[$]||(S[$]={}),R===k-1)return S._listeners?(typeof S._listeners=="function"&&(S._listeners=[S._listeners]),_?S._listeners.unshift(T):S._listeners.push(T),!S._listeners.warned&&this._maxListeners>0&&S._listeners.length>this._maxListeners&&(S._listeners.warned=!0,f.call(this,S._listeners.length,$))):S._listeners=T,!0;return!0}function Pe(m,T,_,k){for(var w=u(m),R=w.length,N,Y,L,S=m._listeners,$;R-- >0;)Y=w[R],N=m[Y],Y==="_listeners"?L=_:L=_?_.concat(Y):[Y],$=k||typeof Y=="symbol",S&&T.push($?L:L.join(this.delimiter)),typeof N=="object"&&Pe.call(this,N,T,L,$);return T}function Ne(m){for(var T=u(m),_=T.length,k,w,R;_-- >0;)w=T[_],k=m[w],k&&(R=!0,w!=="_listeners"&&!Ne(k)&&delete m[w]);return R}function K(m,T,_){this.emitter=m,this.event=T,this.listener=_}K.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function G(m,T,_){if(_===!0)w=!0;else if(_===!1)k=!0;else{if(!_||typeof _!="object")throw TypeError("options should be an object or true");var k=_.async,w=_.promisify,R=_.nextTick,N=_.objectify}if(k||R||w){var Y=T,L=T._origin||T;if(R&&!i)throw Error("process.nextTick is not supported");w===r&&(w=T.constructor.name==="AsyncFunction"),T=function(){var S=arguments,$=this,de=this.event;return w?R?Promise.resolve():new Promise(function(ye){l(ye)}).then(function(){return $.event=de,Y.apply($,S)}):(R?process.nextTick:l)(function(){$.event=de,Y.apply($,S)})},T._async=!0,T._origin=L}return[T,N?new K(this,m,T):this]}function P(m){this._events={},this._newListener=!1,this._removeListener=!1,this.verboseMemoryLeak=!1,d.call(this,m)}P.EventEmitter2=P,P.prototype.listenTo=function(m,T,_){if(typeof m!="object")throw TypeError("target musts be an object");var k=this;_=v(_,{on:r,off:r,reducers:r},{on:O,off:O,reducers:q});function w(R){if(typeof R!="object")throw TypeError("events must be an object");var N=_.reducers,Y=Z.call(k,m),L;Y===-1?L=new b(k,m,_):L=k._observers[Y];for(var S=u(R),$=S.length,de,ye=typeof N=="function",fe=0;fe<$;fe++)de=S[fe],L.subscribe(de,R[de]||de,ye?N:N&&N[de])}return e(T)?w(g(T)):w(typeof T=="string"?g(T.split(/\s+/)):T),this},P.prototype.stopListeningTo=function(m,T){var _=this._observers;if(!_)return!1;var k=_.length,w,R=!1;if(m&&typeof m!="object")throw TypeError("target should be an object");for(;k-- >0;)w=_[k],(!m||w._target===m)&&(w.unsubscribe(T),R=!0);return R},P.prototype.delimiter=".",P.prototype.setMaxListeners=function(m){m!==r&&(this._maxListeners=m,this._conf||(this._conf={}),this._conf.maxListeners=m)},P.prototype.getMaxListeners=function(){return this._maxListeners},P.prototype.event="",P.prototype.once=function(m,T,_){return this._once(m,T,!1,_)},P.prototype.prependOnceListener=function(m,T,_){return this._once(m,T,!0,_)},P.prototype._once=function(m,T,_,k){return this._many(m,1,T,_,k)},P.prototype.many=function(m,T,_,k){return this._many(m,T,_,!1,k)},P.prototype.prependMany=function(m,T,_,k){return this._many(m,T,_,!0,k)},P.prototype._many=function(m,T,_,k,w){var R=this;if(typeof _!="function")throw new Error("many only accepts instances of Function");function N(){return--T===0&&R.off(m,N),_.apply(this,arguments)}return N._origin=_,this._on(m,N,k,w)},P.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var m=arguments[0],T,_=this.wildcard,k,w,R,N,Y;if(m==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(_&&(T=m,m!=="newListener"&&m!=="removeListener"&&typeof m=="object")){if(w=m.length,s){for(R=0;R<w;R++)if(typeof m[R]=="symbol"){Y=!0;break}}Y||(m=m.join(this.delimiter))}var L=arguments.length,S;if(this._all&&this._all.length)for(S=this._all.slice(),R=0,w=S.length;R<w;R++)switch(this.event=m,L){case 1:S[R].call(this,m);break;case 2:S[R].call(this,m,arguments[1]);break;case 3:S[R].call(this,m,arguments[1],arguments[2]);break;default:S[R].apply(this,arguments)}if(_)S=[],j.call(this,S,T,this.listenerTree,0,w);else if(S=this._events[m],typeof S=="function"){switch(this.event=m,L){case 1:S.call(this);break;case 2:S.call(this,arguments[1]);break;case 3:S.call(this,arguments[1],arguments[2]);break;default:for(k=new Array(L-1),N=1;N<L;N++)k[N-1]=arguments[N];S.apply(this,k)}return!0}else S&&(S=S.slice());if(S&&S.length){if(L>3)for(k=new Array(L-1),N=1;N<L;N++)k[N-1]=arguments[N];for(R=0,w=S.length;R<w;R++)switch(this.event=m,L){case 1:S[R].call(this);break;case 2:S[R].call(this,arguments[1]);break;case 3:S[R].call(this,arguments[1],arguments[2]);break;default:S[R].apply(this,k)}return!0}else if(!this.ignoreErrors&&!this._all&&m==="error")throw arguments[1]instanceof Error?arguments[1]:new Error("Uncaught, unspecified 'error' event.");return!!this._all},P.prototype.emitAsync=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var m=arguments[0],T=this.wildcard,_,k,w,R,N,Y;if(m==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(T&&(_=m,m!=="newListener"&&m!=="removeListener"&&typeof m=="object")){if(R=m.length,s){for(N=0;N<R;N++)if(typeof m[N]=="symbol"){k=!0;break}}k||(m=m.join(this.delimiter))}var L=[],S=arguments.length,$;if(this._all)for(N=0,R=this._all.length;N<R;N++)switch(this.event=m,S){case 1:L.push(this._all[N].call(this,m));break;case 2:L.push(this._all[N].call(this,m,arguments[1]));break;case 3:L.push(this._all[N].call(this,m,arguments[1],arguments[2]));break;default:L.push(this._all[N].apply(this,arguments))}if(T?($=[],j.call(this,$,_,this.listenerTree,0)):$=this._events[m],typeof $=="function")switch(this.event=m,S){case 1:L.push($.call(this));break;case 2:L.push($.call(this,arguments[1]));break;case 3:L.push($.call(this,arguments[1],arguments[2]));break;default:for(w=new Array(S-1),Y=1;Y<S;Y++)w[Y-1]=arguments[Y];L.push($.apply(this,w))}else if($&&$.length){if($=$.slice(),S>3)for(w=new Array(S-1),Y=1;Y<S;Y++)w[Y-1]=arguments[Y];for(N=0,R=$.length;N<R;N++)switch(this.event=m,S){case 1:L.push($[N].call(this));break;case 2:L.push($[N].call(this,arguments[1]));break;case 3:L.push($[N].call(this,arguments[1],arguments[2]));break;default:L.push($[N].apply(this,w))}}else if(!this.ignoreErrors&&!this._all&&m==="error")return arguments[1]instanceof Error?Promise.reject(arguments[1]):Promise.reject("Uncaught, unspecified 'error' event.");return Promise.all(L)},P.prototype.on=function(m,T,_){return this._on(m,T,!1,_)},P.prototype.prependListener=function(m,T,_){return this._on(m,T,!0,_)},P.prototype.onAny=function(m){return this._onAny(m,!1)},P.prototype.prependAny=function(m){return this._onAny(m,!0)},P.prototype.addListener=P.prototype.on,P.prototype._onAny=function(m,T){if(typeof m!="function")throw new Error("onAny only accepts instances of Function");return this._all||(this._all=[]),T?this._all.unshift(m):this._all.push(m),this},P.prototype._on=function(m,T,_,k){if(typeof m=="function")return this._onAny(m,T),this;if(typeof T!="function")throw new Error("on only accepts instances of Function");this._events||c.call(this);var w=this,R;return k!==r&&(R=G.call(this,m,T,k),T=R[0],w=R[1]),this._newListener&&this.emit("newListener",m,T),this.wildcard?(J.call(this,m,T,_),w):(this._events[m]?(typeof this._events[m]=="function"&&(this._events[m]=[this._events[m]]),_?this._events[m].unshift(T):this._events[m].push(T),!this._events[m].warned&&this._maxListeners>0&&this._events[m].length>this._maxListeners&&(this._events[m].warned=!0,f.call(this,this._events[m].length,m))):this._events[m]=T,w)},P.prototype.off=function(m,T){if(typeof T!="function")throw new Error("removeListener only takes instances of Function");var _,k=[];if(this.wildcard){var w=typeof m=="string"?m.split(this.delimiter):m.slice();if(k=j.call(this,null,w,this.listenerTree,0),!k)return this}else{if(!this._events[m])return this;_=this._events[m],k.push({_listeners:_})}for(var R=0;R<k.length;R++){var N=k[R];if(_=N._listeners,e(_)){for(var Y=-1,L=0,S=_.length;L<S;L++)if(_[L]===T||_[L].listener&&_[L].listener===T||_[L]._origin&&_[L]._origin===T){Y=L;break}if(Y<0)continue;return this.wildcard?N._listeners.splice(Y,1):this._events[m].splice(Y,1),_.length===0&&(this.wildcard?delete N._listeners:delete this._events[m]),this._removeListener&&this.emit("removeListener",m,T),this}else(_===T||_.listener&&_.listener===T||_._origin&&_._origin===T)&&(this.wildcard?delete N._listeners:delete this._events[m],this._removeListener&&this.emit("removeListener",m,T))}return this.listenerTree&&Ne(this.listenerTree),this},P.prototype.offAny=function(m){var T=0,_=0,k;if(m&&this._all&&this._all.length>0){for(k=this._all,T=0,_=k.length;T<_;T++)if(m===k[T])return k.splice(T,1),this._removeListener&&this.emit("removeListenerAny",m),this}else{if(k=this._all,this._removeListener)for(T=0,_=k.length;T<_;T++)this.emit("removeListenerAny",k[T]);this._all=[]}return this},P.prototype.removeListener=P.prototype.off,P.prototype.removeAllListeners=function(m){if(m===r)return!this._events||c.call(this),this;if(this.wildcard){var T=j.call(this,null,m,this.listenerTree,0),_,k;if(!T)return this;for(k=0;k<T.length;k++)_=T[k],_._listeners=null;this.listenerTree&&Ne(this.listenerTree)}else this._events&&(this._events[m]=null);return this},P.prototype.listeners=function(m){var T=this._events,_,k,w,R,N;if(m===r){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!T)return[];for(_=u(T),R=_.length,w=[];R-- >0;)k=T[_[R]],typeof k=="function"?w.push(k):w.push.apply(w,k);return w}else{if(this.wildcard){if(N=this.listenerTree,!N)return[];var Y=[],L=typeof m=="string"?m.split(this.delimiter):m.slice();return j.call(this,Y,L,N,0),Y}return T?(k=T[m],k?typeof k=="function"?[k]:k:[]):[]}},P.prototype.eventNames=function(m){var T=this._events;return this.wildcard?Pe.call(this,this.listenerTree,[],null,m):T?u(T):[]},P.prototype.listenerCount=function(m){return this.listeners(m).length},P.prototype.hasListeners=function(m){if(this.wildcard){var T=[],_=typeof m=="string"?m.split(this.delimiter):m.slice();return j.call(this,T,_,this.listenerTree,0),T.length>0}var k=this._events,w=this._all;return!!(w&&w.length||k&&(m===r?u(k).length:k[m]))},P.prototype.listenersAny=function(){return this._all?this._all:[]},P.prototype.waitFor=function(m,T){var _=this,k=typeof T;return k==="number"?T={timeout:T}:k==="function"&&(T={filter:T}),T=v(T,{timeout:0,filter:r,handleError:!1,Promise,overload:!1},{filter:O,Promise:E}),V(T.Promise,function(w,R,N){function Y(){var L=T.filter;if(!(L&&!L.apply(_,arguments)))if(_.off(m,Y),T.handleError){var S=arguments[0];S?R(S):w(p.apply(null,arguments).slice(1))}else w(p.apply(null,arguments))}N(function(){_.off(m,Y)}),_._on(m,Y,!1)},{timeout:T.timeout,overload:T.overload})};function ee(m,T,_){_=v(_,{Promise,timeout:0,overload:!1},{Promise:E});var k=_.Promise;return V(k,function(w,R,N){var Y;if(typeof m.addEventListener=="function"){Y=function(){w(p.apply(null,arguments))},N(function(){m.removeEventListener(T,Y)}),m.addEventListener(T,Y,{once:!0});return}var L=function(){S&&m.removeListener("error",S),w(p.apply(null,arguments))},S;T!=="error"&&(S=function($){m.removeListener(T,L),R($)},m.once("error",S)),N(function(){S&&m.removeListener("error",S),m.removeListener(T,L)}),m.once(T,L)},{timeout:_.timeout,overload:_.overload})}var H=P.prototype;if(Object.defineProperties(P,{defaultMaxListeners:{get:function(){return H._maxListeners},set:function(m){if(typeof m!="number"||m<0||Number.isNaN(m))throw TypeError("n must be a non-negative number");H._maxListeners=m},enumerable:!0},once:{value:ee,writable:!0,configurable:!0}}),Object.defineProperties(H,{_maxListeners:{value:n,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),typeof define=="function"&&define.amd)define(function(){return P});else if(typeof nD=="object")rD.exports=P;else{var se=new Function("","return this")();se.EventEmitter2=P}})()});function ny(r,t){let e=cn.getLogger("tasks");switch(r){case"trace":e.trace(t);break;case"debug":e.debug(t);break;case"info":e.info(t);break;case"warn":e.warn(t);break;case"error":e.error(t);break;default:break}}var DU,sD,ey,cn,ty,As=Q(()=>{"use strict";DU=require("obsidian"),sD=ko(iD()),ey=class extends sD.EventEmitter2{constructor(){super(...arguments);this.options={minLevels:{"":"info",tasks:"info"}};this.consoleLoggerRegistered=!1;this.arrAvg=e=>e.reduce((n,i)=>n+i,0)/e.length}configure(e){return this.options=Object.assign({},this.options,e),this}getLogger(e){let n="none",i="";for(let s in this.options.minLevels)e.startsWith(s)&&s.length>=i.length&&(n=this.options.minLevels[s],i=s);return new ty(this,e,n)}onLogEntry(e){return this.on("log",e),this}registerConsoleLogger(){return this.consoleLoggerRegistered?this:(this.onLogEntry(e=>{let n=`[${window.moment().format("YYYY-MM-DD-HH:mm:ss.SSS")}][${e.level}][${e.module}]`;switch(e.traceId&&(n+=`[${e.traceId}]`),n+=` ${e.message}`,e.objects===void 0&&(e.objects=""),e.level){case"trace":console.trace(n,e.objects);break;case"debug":console.debug(n,e.objects);break;case"info":console.info(n,e.objects);break;case"warn":console.warn(n,e.objects);break;case"error":console.error(n,e.objects);break;default:console.log(`{${e.level}} ${n}`,e.objects)}}),this.consoleLoggerRegistered=!0,this)}},cn=new ey,ty=class{constructor(t,e,n){this.levels={trace:1,debug:2,info:3,warn:4,error:5};this.logManager=t,this.module=e,this.minLevel=this.levelToInt(n)}levelToInt(t){return t.toLowerCase()in this.levels?this.levels[t.toLowerCase()]:99}log(t,e,n){if(this.levelToInt(t)<this.minLevel)return;let s={level:t,module:this.module,message:e,objects:n,traceId:void 0};this.logManager.emit("log",s)}trace(t,e){this.log("trace",t,e)}debug(t,e){this.log("debug",t,e)}info(t,e){this.log("info",t,e)}warn(t,e){this.log("warn",t,e)}error(t,e){this.log("error",t,e)}logWithId(t,e,n,i){if(this.levelToInt(t)<this.minLevel)return;let a={level:t,module:this.module,message:n,objects:i,traceId:e};this.logManager.emit("log",a)}traceWithId(t,e,n){this.logWithId("trace",t,e,n)}debugWithId(t,e,n){this.logWithId("debug",t,e,n)}infoWithId(t,e,n){this.logWithId("info",t,e,n)}warnWithId(t,e,n){this.logWithId("warn",t,e,n)}errorWithId(t,e,n){this.logWithId("error",t,e,n)}}});function $c(r,t,e){r.debug(`${t}: task line number: ${e.taskLocation.lineNumber}. file path: "${e.path}"`),r.debug(`${t} original: ${e.originalMarkdown}`)}function jc(r,t,e){e.map((n,i)=>{r.debug(`${t} ==> ${i+1}   : ${n.toFileLineString()}`)})}var ry=Q(()=>{"use strict"});var qt,Bi=Q(()=>{"use strict";vt();Ut();qt=class{static fromPath(t){let{useFilenameAsScheduledDate:e,filenameAsDateFolders:n}=te();return!e||!this.matchesAnyFolder(n,t)?null:this.extractDateFromPath(t)}static matchesAnyFolder(t,e){return t.length===0?!0:t.some(n=>e.startsWith(n+"/"))}static extractDateFromPath(t){let e=Math.max(0,t.lastIndexOf("/")+1),n=t.lastIndexOf("."),i=t.substring(e,n),{filenameAsScheduledDateFormat:s}=te();if(s!==""){let o=window.moment(i,s,!0);if(o.isValid())return o}let a=/(\d{4})-(\d{2})-(\d{2})/.exec(i);if(a||(a=/(\d{4})(\d{2})(\d{2})/.exec(i)),a){let o=window.moment([parseInt(a[1]),parseInt(a[2])-1,parseInt(a[3])]);if(o.isValid())return o}return null}static canApplyFallback({startDate:t,scheduledDate:e,dueDate:n}){return t===null&&n===null&&e===null}static updateTaskPath(t,e,n){let i=t.scheduledDate,s=t.scheduledDateIsInferred;return n===null?s&&(s=!1,i=null):s?i=n:this.canApplyFallback(t)&&(i=n,s=!0),new me(pe(U({},t),{taskLocation:e,scheduledDate:i,scheduledDateIsInferred:s}))}static removeInferredStatusIfNeeded(t,e){let n=t.scheduledDateIsInferred?t.scheduledDate:null;return e.map(i=>(n!==null&&!n.isSame(i.scheduledDate,"day")&&(i=new me(pe(U({},i),{scheduledDateIsInferred:!1}))),i))}}});var wr,vi,aD=Q(()=>{"use strict";wr=class{static calculate(t){var n,i,s;let e=0;if((n=t.dueDate)!=null&&n.isValid()){let a=window.moment().startOf("day"),o=Math.round(a.diff(t.dueDate)/wr.milliSecondsPerDay),l;o>=7?l=1:o>=-14?l=(o+14)*.8/21+.2:l=.2,e+=l*wr.dueCoefficient}switch((i=t.scheduledDate)!=null&&i.isValid()&&window.moment().isSameOrAfter(t.scheduledDate)&&(e+=1*wr.scheduledCoefficient),(s=t.startDate)!=null&&s.isValid()&&window.moment().isBefore(t.startDate)&&(e+=1*wr.startedCoefficient),t.priority){case"0":e+=1.5*wr.priorityCoefficient;break;case"1":e+=1*wr.priorityCoefficient;break;case"2":e+=.65*wr.priorityCoefficient;break;case"3":e+=.325*wr.priorityCoefficient;break;case"5":e-=.3*wr.priorityCoefficient;break}return e}},vi=wr;vi.dueCoefficient=12,vi.scheduledCoefficient=5,vi.startedCoefficient=-3,vi.priorityCoefficient=6,vi.milliSecondsPerDay=1e3*60*60*24});var oD={};wb(oD,{Task:()=>me,isBlocked:()=>EU});function EU(r,t){if(r.dependsOn.length===0||r.isDone)return!1;for(let e of r.dependsOn)if(!!t.find(i=>i.id===e&&!i.isDone))return!0;return!1}var me,Ut=Q(()=>{"use strict";vt();un();$r();vs();Wc();In();Ul();As();ry();Bi();Hc();aD();ri();Cc();me=class extends sr{constructor(e){let{status:n,description:i,taskLocation:s,indentation:a,listMarker:o,priority:l,createdDate:u,startDate:c,scheduledDate:d,dueDate:f,doneDate:p,cancelledDate:g,recurrence:b,onCompletion:v,dependsOn:E,id:x,blockLink:O,tags:q,originalMarkdown:V,scheduledDateIsInferred:Z,parent:j}=e;super({originalMarkdown:V,indentation:a,listMarker:o,statusCharacter:n.symbol,description:i,taskLocation:s,parent:j!=null?j:null});this._urgency=null;this.status=n,this.tags=q,this.priority=l,this._createdDate=this.resolveDate(u,e._createdDate),this._startDate=this.resolveDate(c,e._startDate),this._scheduledDate=this.resolveDate(d,e._scheduledDate),this._dueDate=this.resolveDate(f,e._dueDate),this._doneDate=this.resolveDate(p,e._doneDate),this._cancelledDate=this.resolveDate(g,e._cancelledDate),this.recurrence=b,this.onCompletion=v,this.dependsOn=E,this.id=x,this.blockLink=O,this.scheduledDateIsInferred=Z}resolveDate(e,n){return e!==void 0?e:n!=null?n:null}static fromLine({line:e,taskLocation:n,fallbackDate:i}){let s=me.extractTaskComponents(e);return s===null||!Ce.getInstance().includedIn(s.body)?null:me.parseTaskSignifiers(e,n,i)}static parseTaskSignifiers(e,n,i){let s=me.extractTaskComponents(e);if(s===null)return null;let{taskSerializer:a}=Yl(),o=a.deserialize(s.body),l=!1;return qt.canApplyFallback(o)&&i!==null&&(o.scheduledDate=i,l=!0),o.tags=o.tags.map(u=>u.trim()),o.tags=o.tags.filter(u=>!Ce.getInstance().equals(u)),new me(pe(U(U({},s),o),{taskLocation:n,originalMarkdown:e,scheduledDateIsInferred:l}))}static extractTaskComponents(e){let n=e.match(ke.taskRegex);if(n===null)return null;let i=n[1],s=n[2],a=n[3],o=Ge.getInstance().bySymbolOrCreate(a),l=n[4].trim(),u=l.match(ke.blockLinkRegex),c=u!==null?u[0]:"";return c!==""&&(l=l.replace(ke.blockLinkRegex,"").trim()),{indentation:i,listMarker:s,status:o,body:l,blockLink:c}}toString(){return Yl().taskSerializer.serialize(this)}toFileLineString(){return`${this.indentation}${this.listMarker} [${this.status.symbol}] ${this.toString()}`}toggle(){let e=cn.getLogger("tasks.Task"),n="toggle()";$c(e,n,this);let i=Ge.getInstance().getNextStatusOrCreate(this.status),s=this.handleNewStatus(i);return jc(e,n,s),s}handleNewStatus(e,n=window.moment()){if(e.identicalTo(this.status))return[this];let{setDoneDate:i}=te(),s=this.newDate(e,"DONE",this.doneDate,i,n),{setCancelledDate:a}=te(),o=this.newDate(e,"CANCELLED",this.cancelledDate,a,n),l=new me(pe(U({},this),{status:e,doneDate:s,cancelledDate:o})),u=!e.isCompleted(),c=this.status.isCompleted(),d=this.recurrence===null;if(u||c||d)return[l];let p=this.recurrence.next(n);return p===null?[l]:[this.createNextOccurrence(e,p),l]}newDate(e,n,i,s,a){let o=null;return e.type===n&&(this.status.type!==n?s&&(o=a):o=i),o}createNextOccurrence(e,n){let{setCreatedDate:i}=te(),s=null;i&&(s=window.moment());let a=null,o=null,u=Ge.getInstance().getNextRecurrenceStatusOrCreate(e);return new me(pe(U(U({},this),n),{status:u,blockLink:"",id:"",dependsOn:[],createdDate:s,cancelledDate:a,doneDate:o}))}toggleWithRecurrenceInUsersOrder(){let e=this.toggle();return this.putRecurrenceInUsersOrder(e)}handleNewStatusWithRecurrenceInUsersOrder(e,n=window.moment()){cn.getLogger("tasks.Task").debug(`changed task ${this.taskLocation.path} ${this.taskLocation.lineNumber} ${this.originalMarkdown} status to '${e.symbol}'`);let s=this.handleNewStatus(e,n);return this.putRecurrenceInUsersOrder(s)}putRecurrenceInUsersOrder(e){let n=NS(this,e),{recurrenceOnNextLine:i}=te();return i?n.reverse():n}get isTask(){return!0}get isDone(){return this.status.type==="DONE"||this.status.type==="CANCELLED"||this.status.type==="NON_TASK"}isBlocked(e){if(this.dependsOn.length===0||this.isDone)return!1;for(let n of this.dependsOn)if(!!e.find(s=>s.id===n&&!s.isDone))return!0;return!1}isBlocking(e){return this.id===""||this.isDone?!1:e.some(n=>n.isDone?!1:n.dependsOn.includes(this.id))}get priorityNumber(){return Number.parseInt(this.priority)}get priorityNameGroupText(){let e=Fn.priorityNameUsingNormal(this.priority);return`%%${this.priority}%%${e} priority`}get descriptionWithoutTags(){return this.description.replace(ke.hashTags,"").trim()}get priorityName(){return Fn.priorityNameUsingNormal(this.priority)}get urgency(){return this._urgency===null&&(this._urgency=vi.calculate(this)),this._urgency}get cancelledDate(){var e,n;return(n=(e=this._cancelledDate)==null?void 0:e.clone())!=null?n:null}get cancelled(){return new Yt(this.cancelledDate)}get createdDate(){var e,n;return(n=(e=this._createdDate)==null?void 0:e.clone())!=null?n:null}get created(){return new Yt(this.createdDate)}get doneDate(){var e,n;return(n=(e=this._doneDate)==null?void 0:e.clone())!=null?n:null}get done(){return new Yt(this.doneDate)}get dueDate(){var e,n;return(n=(e=this._dueDate)==null?void 0:e.clone())!=null?n:null}get due(){return new Yt(this.dueDate)}get scheduledDate(){var e,n;return(n=(e=this._scheduledDate)==null?void 0:e.clone())!=null?n:null}get scheduled(){return new Yt(this.scheduledDate)}get startDate(){var e,n;return(n=(e=this._startDate)==null?void 0:e.clone())!=null?n:null}get start(){return new Yt(this.startDate)}get happensDates(){return Array.of(this.startDate,this.scheduledDate,this.dueDate)}get happens(){let e=this.happensDates,n=Array.from(e).sort(er);for(let i of n)if(i!=null&&i.isValid())return new Yt(i);return new Yt(null)}get isRecurring(){return this.recurrence!==null}get recurrenceRule(){return this.recurrence?this.recurrence.toText():""}get heading(){return this.precedingHeader}get hasHeading(){return this.precedingHeader!==null}getLinkText({isFilenameUnique:e}){let n;return e?n=this.filename:n="/"+this.path,n===null?null:(this.precedingHeader!==null&&this.precedingHeader!==n&&(n=n+" > "+this.precedingHeader),n)}identicalTo(e){var i,s;if(!super.identicalTo(e))return!1;let n=["priority","blockLink","scheduledDateIsInferred","id","dependsOn","onCompletion"];for(let a of n)if(((i=this[a])==null?void 0:i.toString())!==((s=e[a])==null?void 0:s.toString()))return!1;if(!this.status.identicalTo(e.status)||this.tags.length!==e.tags.length||!this.tags.every(function(a,o){return a===e.tags[o]}))return!1;n=me.allDateFields();for(let a of n){let o=this[a],l=e[a];if(er(o,l)!==0)return!1}return this.recurrenceIdenticalTo(e)?this.file.rawFrontmatterIdenticalTo(e.file):!1}recurrenceIdenticalTo(e){let n=this.recurrence,i=e.recurrence;return!(n===null&&i!==null||n!==null&&i===null||n&&i&&!n.identicalTo(i))}static allDateFields(){return["createdDate","startDate","scheduledDate","dueDate","doneDate","cancelledDate"]}static extractHashtags(e){var n,i;return(i=(n=e.match(ke.hashTags))==null?void 0:n.map(s=>s.trim()))!=null?i:[]}}});var sr,Hc=Q(()=>{"use strict";ri();Af();sr=class{constructor({originalMarkdown:t,indentation:e,listMarker:n,statusCharacter:i,description:s,parent:a,taskLocation:o}){this.children=[];this.indentation=e,this.listMarker=n,this.statusCharacter=i,this.description=s,this.originalMarkdown=t,this.parent=a,a!==null&&a.children.push(this),this.taskLocation=o}static fromListItemLine(t,e,n){var a;let i=RegExp(ke.nonTaskRegex).exec(t);if(!i)return null;let s=i[2];return s===void 0?null:new sr({originalMarkdown:t,indentation:i[1],listMarker:s,statusCharacter:(a=i[4])!=null?a:null,description:i[5].trim(),taskLocation:n,parent:e})}get root(){return this.parent===null?this:this.parent.root}get isRoot(){return this.parent===null}findClosestParentTask(){let t=this.parent;for(;t!==null;){let{Task:e}=(Ut(),Db(oD));if(t instanceof e)return t;t=t.parent}return null}get isTask(){return!1}identicalTo(t){var n,i;if(this.constructor.name!==t.constructor.name)return!1;let e=["description","statusCharacter","indentation","listMarker"];for(let s of e)if(((n=this[s])==null?void 0:n.toString())!==((i=t[s])==null?void 0:i.toString()))return!1;return this.taskLocation.identicalTo(t.taskLocation)?sr.listsAreIdentical(this.children,t.children):!1}static listsAreIdentical(t,e){return t.length!==e.length?!1:t.every((n,i)=>n.identicalTo(e[i]))}get path(){return this.taskLocation.path}get file(){return this.taskLocation.tasksFile}get rawLinksInFileBody(){var t,e;return(e=(t=this.file.cachedMetadata)==null?void 0:t.links)!=null?e:[]}get outlinks(){return this.rawLinksInFileBody.filter(t=>t.position.start.line===this.lineNumber).map(t=>new ia(t,this.file.path))}get filename(){let t=this.path.match(/([^/]+)\.md$/);return t!==null?t[1]:null}get lineNumber(){return this.taskLocation.lineNumber}get sectionStart(){return this.taskLocation.sectionStart}get sectionIndex(){return this.taskLocation.sectionIndex}get precedingHeader(){return this.taskLocation.precedingHeader}checkOrUncheck(){if(this.statusCharacter===null)return this;let t=this.statusCharacter===" "?"x":" ",e=this.originalMarkdown.replace(RegExp(ke.checkboxRegex),`[${t}]`);return new sr(pe(U({},this),{originalMarkdown:e,statusCharacter:t,parent:null}))}toFileLineString(){let t=this.statusCharacter?`[${this.statusCharacter}] `:"";return`${this.indentation}${this.listMarker} ${t}${this.description}`}}});var WE=C(Fy=>{"use strict";Object.defineProperty(Fy,"__esModule",{value:!0});var YE=Symbol("MustacheDataPath");function UE({target:r,propertyName:t}){return[...r[YE]||[],t]}function qE(r,t){return typeof r!="object"?r:new Proxy(r,{get(e,n){let i=e[n];if(i===void 0&&!(n in e)){let s=UE({target:e,propertyName:n});if(t!=null&&t.handleError)return t.handleError(s),i;throw Error(`Missing Mustache data property: ${s.join(" > ")}`)}return i&&typeof i=="object"?(i[YE]=UE({target:e,propertyName:n}),qE(i,t)):i}})}Fy.default=qE});var zr=C(Or=>{"use strict";Or.__esModule=!0;Or.Tokens=Or.StructuralCharacters=Or.Operators=void 0;var oq;(function(r){r.AND="AND",r.OR="OR",r.XOR="XOR",r.NOT="NOT"})(oq=Or.Operators||(Or.Operators={}));var lq;(function(r){r.OPEN_PARENTHESIS="(",r.CLOSE_PARENTHESIS=")"})(lq=Or.StructuralCharacters||(Or.StructuralCharacters={}));var uq;(function(r){r.IDENTIFIER="IDENTIFIER",r.OPERATOR="OPERATOR",r.STRUCTURAL_CHARACTER="STRUCTURAL_CHARACTER",r.EOF="EOF",r.COMMENT="COMMENT"})(uq=Or.Tokens||(Or.Tokens={}))});var jy=C(eo=>{"use strict";eo.__esModule=!0;eo.VALID_TOKENS=eo.OPERATOR_PRECEDENCE=void 0;var ut=zr();eo.OPERATOR_PRECEDENCE={NOT:0,XOR:1,AND:2,OR:3};eo.VALID_TOKENS={identifierOnly:[{name:ut.Tokens.IDENTIFIER},{name:ut.Tokens.STRUCTURAL_CHARACTER,value:ut.StructuralCharacters.OPEN_PARENTHESIS}],identifierOrNot:[{name:ut.Tokens.IDENTIFIER},{name:ut.Tokens.STRUCTURAL_CHARACTER,value:ut.StructuralCharacters.OPEN_PARENTHESIS},{name:ut.Tokens.OPERATOR,value:ut.Operators.NOT}],binaryOperator:[{name:ut.Tokens.OPERATOR,value:ut.Operators.AND},{name:ut.Tokens.OPERATOR,value:ut.Operators.OR},{name:ut.Tokens.OPERATOR,value:ut.Operators.XOR}],binaryOperatorOrClose:[{name:ut.Tokens.OPERATOR,value:ut.Operators.AND},{name:ut.Tokens.OPERATOR,value:ut.Operators.OR},{name:ut.Tokens.OPERATOR,value:ut.Operators.XOR},{name:ut.Tokens.STRUCTURAL_CHARACTER,value:ut.StructuralCharacters.CLOSE_PARENTHESIS}]}});var Hy=C(en=>{"use strict";en.__esModule=!0;en.ESCAPE_CHARACTER=en.EOL=en.COMMENT_DELIMITER=en.QUOTED_IDENTIFIER_DELIMITER=en.SEPARATORS=en.OPERATORS=en.STRUCTURAL_CHARACTERS=void 0;var to=zr();en.STRUCTURAL_CHARACTERS={"(":to.StructuralCharacters.OPEN_PARENTHESIS,")":to.StructuralCharacters.CLOSE_PARENTHESIS};en.OPERATORS={AND:to.Operators.AND,OR:to.Operators.OR,XOR:to.Operators.XOR,NOT:to.Operators.NOT};en.SEPARATORS=new Set([32,9,10,13].map(function(r){return String.fromCodePoint(r)}));en.QUOTED_IDENTIFIER_DELIMITER=String.fromCodePoint(34);en.COMMENT_DELIMITER=String.fromCodePoint(35);en.EOL=String.fromCodePoint(10);en.ESCAPE_CHARACTER=String.fromCodePoint(92)});var GE=C(dr=>{"use strict";var Gy=dr&&dr.__assign||function(){return Gy=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},Gy.apply(this,arguments)};dr.__esModule=!0;dr.getQuotedIdentifier=dr.getComment=dr.createResult=void 0;var HE=zr(),Bs=Hy(),cq=function(r,t,e){return{token:Gy({name:r},t!==null?{value:t}:{}),remainingString:e}};dr.createResult=cq;var dq=function(r){for(var t=r.length,e=0;e<r.length;e+=1){var n=r[e];if(n===Bs.EOL){t=e;break}}return(0,dr.createResult)(HE.Tokens.COMMENT,r.slice(0,t),r.slice(t+1))};dr.getComment=dq;var fq=function(r){for(var t=!1,e="",n=null,i=0;i<r.length;i+=1){var s=r[i];if(n===null)s===Bs.QUOTED_IDENTIFIER_DELIMITER?t?(e=e.slice(0,-1)+Bs.QUOTED_IDENTIFIER_DELIMITER,t=!1):n=i:(s===Bs.ESCAPE_CHARACTER?t=!0:t=!1,e=e+=s);else{if(!Bs.SEPARATORS.has(s)&&!Bs.STRUCTURAL_CHARACTERS[s])throw new Error("Unexpected character: ".concat(s," Expected ) character or separator"));break}}if(n===null)throw new Error("Unexpected end of expression: expected ".concat(Bs.QUOTED_IDENTIFIER_DELIMITER," character"));return(0,dr.createResult)(HE.Tokens.IDENTIFIER,e,r.slice(n+1))};dr.getQuotedIdentifier=fq});var BE=C(Td=>{"use strict";Td.__esModule=!0;Td.lex=void 0;var no=zr(),jn=Hy(),ro=GE(),pq=function(r){for(var t=null,e=null,n=null,i=0;i<r.length;i+=1){var s=r[i];if(t===null){if(!jn.SEPARATORS.has(s)){var a=jn.STRUCTURAL_CHARACTERS[s];if(a){var o=r[i+1];if(a===no.StructuralCharacters.CLOSE_PARENTHESIS&&o&&!jn.SEPARATORS.has(o)&&o!==no.StructuralCharacters.CLOSE_PARENTHESIS)throw new Error("Unexpected character: ".concat(o,". A closing parenthesis should be followed by another closing parenthesis or whitespace"));return(0,ro.createResult)(no.Tokens.STRUCTURAL_CHARACTER,jn.STRUCTURAL_CHARACTERS[s],r.slice(i+1))}if(s===jn.QUOTED_IDENTIFIER_DELIMITER)return(0,ro.getQuotedIdentifier)(r.slice(i+1));if(s===jn.COMMENT_DELIMITER)return(0,ro.getComment)(r.slice(i+1));t=i}}else if(jn.SEPARATORS.has(s)||jn.STRUCTURAL_CHARACTERS[s]){e=i,n=s;break}else if(s===jn.QUOTED_IDENTIFIER_DELIMITER||s===jn.COMMENT_DELIMITER)throw new Error("Unexpected character: ".concat(s))}if(t!==null){e=e!=null?e:r.length;var l=r.slice(t,e),u=r.slice(e);if(jn.OPERATORS[l]){if(n&&!jn.SEPARATORS.has(n))throw new Error("Unexpected character: ".concat(n,". Operators should be separated using whitespace"));return(0,ro.createResult)(no.Tokens.OPERATOR,jn.OPERATORS[l],u)}else return(0,ro.createResult)(no.Tokens.IDENTIFIER,l,u)}return(0,ro.createResult)(no.Tokens.EOF,null,"")};Td.lex=pq});var zE=C(Hn=>{"use strict";var VE=Hn&&Hn.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))};Hn.__esModule=!0;Hn.validateToken=Hn.previousOperatorTakesPrecedent=Hn.getValue=Hn.newTokenGenerator=void 0;var mq=BE(),io=zr(),vd=jy(),hq=function(r){var t=r;return function(e,n){for(n===void 0&&(n=!1);;){var i=(0,mq.lex)(t),s=i.token,a=i.remainingString;if(t=a,s.name!==io.Tokens.COMMENT)return(0,Hn.validateToken)(s,e,n),s}}};Hn.newTokenGenerator=hq;var gq=function(r,t){var e=r(vd.VALID_TOKENS.identifierOrNot),n=e.value===io.Operators.NOT;n&&(e=r(vd.VALID_TOKENS.identifierOnly));var i=e.name===io.Tokens.STRUCTURAL_CHARACTER?t(r,!0):[e];return n?VE(VE([],i,!0),[{name:io.Tokens.OPERATOR,value:io.Operators.NOT}],!1):i};Hn.getValue=gq;var yq=function(r,t){return vd.OPERATOR_PRECEDENCE[r]<=vd.OPERATOR_PRECEDENCE[t]};Hn.previousOperatorTakesPrecedent=yq;var bq=function(r,t,e){if(e===void 0&&(e=!1),r.name===io.Tokens.EOF){if(e)return;throw new Error("Unexpected end of expression")}for(var n=0,i=t;n<i.length;n++){var s=i[n];if(s.name===r.name&&(!s.value||s.value===r.value))return}throw new TypeError("Invalid token")};Hn.validateToken=bq});var Vy=C(so=>{"use strict";var Kr=so&&so.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))};so.__esModule=!0;so.parse=void 0;var KE=zr(),QE=jy(),kd=zE(),Tq=function(r){if(typeof r!="string")throw new Error("Expected string but received ".concat(typeof r));var t=(0,kd.newTokenGenerator)(r);return By(t)};so.parse=Tq;var By=function(r,t){t===void 0&&(t=!1);for(var e=Kr([],(0,kd.getValue)(r,By),!0),n=[];;){var i=t?QE.VALID_TOKENS.binaryOperatorOrClose:QE.VALID_TOKENS.binaryOperator,s=r(i,!t);if(s.name===KE.Tokens.EOF||s.name===KE.Tokens.STRUCTURAL_CHARACTER)return Kr(Kr([],e,!0),Kr([],n,!0).reverse(),!0);for(;n.length;){var a=n[n.length-1]||null;if(a&&(0,kd.previousOperatorTakesPrecedent)(a.value,s.value))e=Kr(Kr([],e,!0),[a],!1),n=n.slice(0,-1);else break}n=Kr(Kr([],n,!0),[s],!1),e=Kr(Kr([],e,!0),(0,kd.getValue)(r,By),!0)}}});var zy=C(tn=>{"use strict";tn.__esModule=!0;tn.throwInvalidExpression=tn.isOperator=tn.isIdentifier=tn.notUtil=tn.xorUtil=tn.orUtil=tn.andUtil=void 0;var XE=zr(),vq=function(r,t){return r&&t};tn.andUtil=vq;var kq=function(r,t){return r||t};tn.orUtil=kq;var _q=function(r,t){return r!==t};tn.xorUtil=_q;var wq=function(r){return!r};tn.notUtil=wq;var Sq=function(r){var t=r.name,e=r.value;return t===XE.Tokens.IDENTIFIER&&typeof e=="string"};tn.isIdentifier=Sq;var Dq=function(r){var t=r.name,e=r.value;return t===XE.Tokens.OPERATOR&&typeof e=="string"};tn.isOperator=Dq;var Eq=function(r){throw new TypeError("Invalid postfix expression: ".concat(r))};tn.throwInvalidExpression=Eq});var ZE=C(_d=>{"use strict";var nu;_d.__esModule=!0;_d.OPERATOR_MAP=void 0;var Ky=zr(),Qy=zy();_d.OPERATOR_MAP=(nu={},nu[Ky.Operators.AND]=Qy.andUtil,nu[Ky.Operators.OR]=Qy.orUtil,nu[Ky.Operators.XOR]=Qy.xorUtil,nu)});var e1=C(fr=>{"use strict";var ao=fr&&fr.__spreadArray||function(r,t,e){if(e||arguments.length===2)for(var n=0,i=t.length,s;n<i;n++)(s||!(n in t))&&(s||(s=Array.prototype.slice.call(t,0,n)),s[n]=t[n]);return r.concat(s||Array.prototype.slice.call(t))};fr.__esModule=!0;fr.evaluateExpression=fr.evaluate=fr.getEvaluator=void 0;var Oq=Vy(),JE=zr(),xq=ZE(),Vs=zy(),Rq=function(r){var t=(0,Oq.parse)(r);return function(e){return(0,fr.evaluate)(t,e)}};fr.getEvaluator=Rq;var Cq=function(r,t){if(!Array.isArray(r))throw new Error("".concat(r," should be an array. evaluate takes in a parsed expression. Use in combination with parse or use getEvaluator"));var e=r.reduce(function(n,i,s){if(!(i&&((0,Vs.isIdentifier)(i)||(0,Vs.isOperator)(i))))throw new Error("Invalid token: ".concat(i,". Found in parsed expression at index ").concat(s));if(i.name===JE.Tokens.IDENTIFIER)return ao(ao([],n,!0),[Boolean(t[i.value])],!1);var a=n[n.length-2],o=n[n.length-1];if(i.value===JE.Operators.NOT)return o===void 0&&(0,Vs.throwInvalidExpression)("missing identifier"),ao(ao([],n.slice(0,-1),!0),[(0,Vs.notUtil)(o)],!1);(o===void 0||a===void 0)&&(0,Vs.throwInvalidExpression)("missing identifier");var l=xq.OPERATOR_MAP[i.value];return l||(0,Vs.throwInvalidExpression)("unknown operator"),ao(ao([],n.slice(0,-2),!0),[l(a,o)],!1)},[]);return e.length!==1&&(0,Vs.throwInvalidExpression)("too many identifiers after evaluation"),e[0]};fr.evaluate=Cq;var Mq=function(r,t){return(0,fr.getEvaluator)(r)(t)};fr.evaluateExpression=Mq});var n1=C(Qr=>{"use strict";var Xy=Qr&&Qr.__createBinding||(Object.create?function(r,t,e,n){n===void 0&&(n=e);var i=Object.getOwnPropertyDescriptor(t,e);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[e]}}),Object.defineProperty(r,n,i)}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]});Qr.__esModule=!0;Qr.parse=Qr.evaluate=Qr.getEvaluator=void 0;var t1=e1();Xy(Qr,t1,"getEvaluator");Xy(Qr,t1,"evaluate");var Aq=Vy();Xy(Qr,Aq,"parse")});var Zq={};wb(Zq,{default:()=>mf});module.exports=Db(Zq);var hf=require("obsidian");Ni();var lD=require("obsidian"),Na=require("obsidian");var PW=new Error("timeout while waiting for mutex to become available"),NW=new Error("mutex already locked"),ex=new Error("request for lock canceled"),tx=function(r,t,e,n){function i(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function o(c){try{u(n.next(c))}catch(d){a(d)}}function l(c){try{u(n.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((n=n.apply(r,t||[])).next())})},Cf=class{constructor(t,e=ex){this._value=t,this._cancelError=e,this._queue=[],this._weightedWaiters=[]}acquire(t=1,e=0){if(t<=0)throw new Error(`invalid weight ${t}: must be positive`);return new Promise((n,i)=>{let s={resolve:n,reject:i,weight:t,priority:e},a=nT(this._queue,o=>e<=o.priority);a===-1&&t<=this._value?this._dispatchItem(s):this._queue.splice(a+1,0,s)})}runExclusive(t){return tx(this,arguments,void 0,function*(e,n=1,i=0){let[s,a]=yield this.acquire(n,i);try{return yield e(s)}finally{a()}})}waitForUnlock(t=1,e=0){if(t<=0)throw new Error(`invalid weight ${t}: must be positive`);return this._couldLockImmediately(t,e)?Promise.resolve():new Promise(n=>{this._weightedWaiters[t-1]||(this._weightedWaiters[t-1]=[]),nx(this._weightedWaiters[t-1],{resolve:n,priority:e})})}isLocked(){return this._value<=0}getValue(){return this._value}setValue(t){this._value=t,this._dispatchQueue()}release(t=1){if(t<=0)throw new Error(`invalid weight ${t}: must be positive`);this._value+=t,this._dispatchQueue()}cancel(){this._queue.forEach(t=>t.reject(this._cancelError)),this._queue=[]}_dispatchQueue(){for(this._drainUnlockWaiters();this._queue.length>0&&this._queue[0].weight<=this._value;)this._dispatchItem(this._queue.shift()),this._drainUnlockWaiters()}_dispatchItem(t){let e=this._value;this._value-=t.weight,t.resolve([e,this._newReleaser(t.weight)])}_newReleaser(t){let e=!1;return()=>{e||(e=!0,this.release(t))}}_drainUnlockWaiters(){if(this._queue.length===0)for(let t=this._value;t>0;t--){let e=this._weightedWaiters[t-1];!e||(e.forEach(n=>n.resolve()),this._weightedWaiters[t-1]=[])}else{let t=this._queue[0].priority;for(let e=this._value;e>0;e--){let n=this._weightedWaiters[e-1];if(!n)continue;let i=n.findIndex(s=>s.priority<=t);(i===-1?n:n.splice(0,i)).forEach(s=>s.resolve())}}}_couldLockImmediately(t,e){return(this._queue.length===0||this._queue[0].priority<e)&&t<=this._value}};function nx(r,t){let e=nT(r,n=>t.priority<=n.priority);r.splice(e+1,0,t)}function nT(r,t){for(let e=r.length-1;e>=0;e--)if(t(r[e]))return e;return-1}var rx=function(r,t,e,n){function i(s){return s instanceof e?s:new e(function(a){a(s)})}return new(e||(e=Promise))(function(s,a){function o(c){try{u(n.next(c))}catch(d){a(d)}}function l(c){try{u(n.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((n=n.apply(r,t||[])).next())})},ku=class{constructor(t){this._semaphore=new Cf(1,t)}acquire(){return rx(this,arguments,void 0,function*(t=0){let[,e]=yield this._semaphore.acquire(1,t);return e})}runExclusive(t,e=0){return this._semaphore.runExclusive(()=>t(),1,e)}isLocked(){return this._semaphore.isLocked()}waitForUnlock(t=0){return this._semaphore.waitForUnlock(1,t)}release(){this._semaphore.isLocked()&&this._semaphore.release()}cancel(){return this._semaphore.cancel()}};var _u=require("obsidian");Af();var bt=class{constructor(t,e={}){this._frontmatter={tags:[]};this._tags=[];this._outlinksInProperties=[];this._outlinksInBody=[];var i,s;this._path=t,this._cachedMetadata=e;let n=e.frontmatter;if(n!==void 0&&(this._frontmatter=JSON.parse(JSON.stringify(n)),this._frontmatter.tags=(i=(0,_u.parseFrontMatterTags)(n))!=null?i:[]),this._outlinksInProperties=this.createLinks(this.cachedMetadata.frontmatterLinks),this._outlinksInBody=this.createLinks(this.cachedMetadata.links),Object.keys(e).length!==0){let a=(s=(0,_u.getAllTags)(this.cachedMetadata))!=null?s:[];this._tags=[...new Set(a)]}}createLinks(t){var e;return(e=t==null?void 0:t.map(n=>new ia(n,this.path)))!=null?e:[]}get path(){return this._path}get tags(){return this._tags}get outlinks(){return[...this.outlinksInProperties,...this.outlinksInBody]}get outlinksInProperties(){return this._outlinksInProperties}get outlinksInBody(){return this._outlinksInBody}get cachedMetadata(){return this._cachedMetadata}get frontmatter(){return this._frontmatter}rawFrontmatterIdenticalTo(t){let e=this.cachedMetadata.frontmatter,n=t.cachedMetadata.frontmatter;return e===n?!0:!e||!n?!1:JSON.stringify(e)===JSON.stringify(n)}get pathWithoutExtension(){return this.withoutExtension(this.path)}withoutExtension(t){return t.replace(/\.md$/,"")}get root(){let t=this.path.replace(/\\/g,"/");t.charAt(0)==="/"&&(t=t.substring(1));let e=t.indexOf("/");return e==-1?"/":t.substring(0,e+1)}get folder(){let t=this.path,e=this.filename,n=t.substring(0,t.lastIndexOf(e));return n===""?"/":n}get filename(){let t=this.path.match(/([^/]+)$/);return t!==null?t[1]:""}get filenameWithoutExtension(){return this.withoutExtension(this.filename)}hasProperty(t){let e=this.findKeyInFrontmatter(t);if(e===void 0)return!1;let n=this.frontmatter[e];return!(n===null||n===void 0)}property(t){let e=this.findKeyInFrontmatter(t);if(e===void 0)return null;let n=this.frontmatter[e];return n===void 0?null:Array.isArray(n)?n.filter(i=>i!==null):n}findKeyInFrontmatter(t){let e=t.toLowerCase();return Object.keys(this.frontmatter).find(n=>n.toLowerCase()===e)}identicalTo(t){return this.path!==t.path?!1:this.rawFrontmatterIdenticalTo(t)}};Hc();Ut();Bi();vt();var Pa=class{constructor(t){this.fetch=t;this._value=void 0}get value(){return this._value===void 0&&(this._value=this.fetch()),this._value}};As();vt();var Ps=class{constructor(t){this.label=t,this.start()}start(){!this.recordTimings()||performance.mark(this.labelForStart())}finish(){!this.recordTimings()||(performance.mark(this.labelForEnd()),performance.measure(this.label,this.labelForStart(),this.labelForEnd()),this.printDuration())}printDuration(){let t=performance.getEntriesByName(this.label),e=t[t.length-1];e?console.log(this.label+":",e.duration.toFixed(2),"milliseconds"):console.log(`Measurement for ${this.label} not found`)}labelForStart(){return`${this.label} - start`}labelForEnd(){return`${this.label} - end`}recordTimings(){let{debugSettings:t}=te();return t.recordTimings}};un();Ut();Bi();Hc();var Wt=class{constructor(t,e,n,i,s){this._tasksFile=t,this._lineNumber=e,this._sectionStart=n,this._sectionIndex=i,this._precedingHeader=s}static fromUnknownPosition(t){return new Wt(t,0,0,0,null)}fromRenamedFile(t){return new Wt(t,this.lineNumber,this.sectionStart,this.sectionIndex,this.precedingHeader)}get tasksFile(){return this._tasksFile}get path(){return this._tasksFile.path}get lineNumber(){return this._lineNumber}get sectionStart(){return this._sectionStart}get sectionIndex(){return this._sectionIndex}get precedingHeader(){return this._precedingHeader}get hasKnownPath(){return this.path!==""}allFieldsExceptTasksFileForTesting(){let n=U({},this),{_tasksFile:t}=n;return Zs(n,["_tasksFile"])}identicalTo(t){let e=["lineNumber","sectionStart","sectionIndex","precedingHeader"];for(let n of e)if(this[n]!==t[n])return!1;return this._tasksFile.identicalTo(t._tasksFile)}};var Gc=class{constructor(t,e,n,i,s,a){this.line2ListItem=new Map;this.tasks=[];this.filePath=t,this.fileContent=e,this.listItems=n,this.logger=i,this.fileCache=s,this.errorReporter=a,this.fileLines=this.fileContent.split(`
`),this.dateFromFileName=new Pa(()=>qt.fromPath(this.filePath))}parseFileContent(){if(this.listItems===void 0)return this.tasks;let t=new bt(this.filePath,this.fileCache),e=this.fileLines.length,n=null,i=0;for(let s of this.listItems){let a=s.position.start.line;if(a>=e)return this.logger.debug(`${this.filePath} Obsidian gave us a line number ${a} past the end of the file. ${e}.`),this.tasks;if((n===null||n.position.end.line<a)&&(n=Ns.getSection(a,this.fileCache.sections),i=0),n===null)continue;let o=this.fileLines[a];if(o===void 0){this.logger.debug(`${this.filePath}: line ${a} - ignoring 'undefined' line.`);continue}let l=new Wt(t,a,n.position.start.line,i,Ns.getPrecedingHeader(a,this.fileCache.headings));i=this.parseLine(s,o,l,a,i)}return this.tasks}parseLine(t,e,n,i,s){var o;if(t.task===void 0)return this.createListItem(t,e,i,n),s;let a;try{if(a=me.fromLine({line:e,taskLocation:n,fallbackDate:this.dateFromFileName.value}),a!==null){let l=(o=this.line2ListItem.get(t.parent))!=null?o:null;l!==null&&(a=new me(pe(U({},a),{parent:l}))),this.line2ListItem.set(i,a),a!==null&&(s++,this.tasks.push(a))}else this.createListItem(t,e,i,n)}catch(l){this.errorReporter(l,this.filePath,t,e)}return s}createListItem(t,e,n,i){var o;let s=(o=this.line2ListItem.get(t.parent))!=null?o:null,a=sr.fromListItemLine(e,s,i);if(a===null){this.logger.warn("Unexpected failure to create a list item from line: "+e+" in file: "+this.filePath);return}this.line2ListItem.set(n,a)}};var Ns=class{constructor({metadataCache:t,vault:e,workspace:n,events:i}){this.logger=cn.getLogger("tasks.Cache");this.notifySubscribersDebounced=(0,lD.debounce)(()=>this.notifySubscribersNotDebounced(),100,!0);this.logger.debug("Creating Cache object"),this.metadataCache=t,this.metadataCacheEventReferences=[],this.vault=e,this.workspace=n,this.vaultEventReferences=[],this.events=i,this.eventsEventReferences=[],this.tasksMutex=new ku,this.state="Cold",this.logger.debug("Cache.constructor(): state = Cold"),this.tasks=[],this.loadedAfterFirstResolve=!1,this.subscribeToCache(),this.workspace.onLayoutReady(()=>{this.subscribeToVault(),this.loadVault()}),this.subscribeToEvents()}unload(){this.logger.info("Unloading Cache");for(let t of this.metadataCacheEventReferences)this.metadataCache.offref(t);for(let t of this.vaultEventReferences)this.vault.offref(t);for(let t of this.eventsEventReferences)this.events.off(t)}getTasks(){return this.tasks}getState(){return this.state}notifySubscribers(){this.logger.debug("Cache.notifySubscribers()"),this.notifySubscribersDebounced()}notifySubscribersNotDebounced(){this.logger.debug("Cache.notifySubscribersNotDebounced()"),this.events.triggerCacheUpdate({tasks:this.tasks,state:this.state})}subscribeToCache(){this.logger.debug("Cache.subscribeToCache()");let t=this.metadataCache.on("resolved",()=>A(this,null,function*(){this.loadedAfterFirstResolve||(this.loadedAfterFirstResolve=!0,this.loadVault())}));this.metadataCacheEventReferences.push(t);let e=this.metadataCache.on("changed",n=>{this.tasksMutex.runExclusive(()=>{this.indexFile(n)})});this.metadataCacheEventReferences.push(e)}subscribeToVault(){this.logger.debug("Cache.subscribeToVault()");let{useFilenameAsScheduledDate:t}=te(),e=this.vault.on("create",s=>{s instanceof Na.TFile&&(this.logger.debug(`Cache.subscribeToVault.createdEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.indexFile(s)}))});this.vaultEventReferences.push(e);let n=this.vault.on("delete",s=>{s instanceof Na.TFile&&(this.logger.debug(`Cache.subscribeToVault.deletedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.tasks=this.tasks.filter(a=>a.path!==s.path),this.notifySubscribers()}))});this.vaultEventReferences.push(n);let i=this.vault.on("rename",(s,a)=>{s instanceof Na.TFile&&(this.logger.debug(`Cache.subscribeToVault.renamedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{let o=this.metadataCache.getFileCache(s),l=new bt(s.path,o!=null?o:void 0),u=new Pa(()=>qt.fromPath(s.path));this.tasks=this.tasks.map(c=>{if(c.path!==a)return c;let d=c.taskLocation.fromRenamedFile(l);return t?qt.updateTaskPath(c,d,u.value):new me(pe(U({},c),{taskLocation:d}))}),this.notifySubscribers()}))});this.vaultEventReferences.push(i)}subscribeToEvents(){this.logger.debug("Cache.subscribeToEvents()");let t=this.events.onRequestCacheUpdate(n=>{n({tasks:this.tasks,state:this.state})});this.eventsEventReferences.push(t);let e=this.events.onReloadVault(()=>A(this,null,function*(){return yield this.loadVault()}));this.eventsEventReferences.push(e)}loadVault(){return this.logger.debug("Cache.loadVault()"),this.tasksMutex.runExclusive(()=>A(this,null,function*(){let t=new Ps(`Loading vault with global filter '${Ce.getInstance().get()}'`);t.start(),this.state="Initializing",this.logger.debug("Cache.loadVault(): state = Initializing"),yield Promise.all(this.vault.getMarkdownFiles().map(e=>this.indexFile(e))),this.state="Warm",this.logger.debug("Cache.loadVault(): state = Warm"),t.finish(),this.notifySubscribers()}))}indexFile(t){return A(this,null,function*(){let e=this.metadataCache.getFileCache(t);if(e==null)return;if(!t.path.endsWith(".md")){this.logger.debug("indexFile: skipping non-markdown file: "+t.path);return}this.logger.debug("Cache.indexFile: "+t.path);let n=this.tasks.filter(a=>a.path===t.path),i=e.listItems,s=[];if(i!==void 0){let a=yield this.vault.cachedRead(t);s=this.getTasksFromFileContent(a,i,e,t.path,this.reportTaskParsingErrorToUser,this.logger)}sr.listsAreIdentical(n,s)||(this.tasks=this.tasks.filter(a=>a.path!==t.path),this.tasks.push(...s),this.logger.debug("Cache.indexFile: "+t.path+`: read ${s.length} task(s)`),this.notifySubscribers())})}getTasksFromFileContent(t,e,n,i,s,a){return new Gc(i,t,e,a,n,s).parseFileContent()}reportTaskParsingErrorToUser(t,e,n,i){let s=`There was an error reading one of the tasks in this vault.
The following task has been ignored, to prevent Tasks queries getting stuck with 'Loading Tasks ...'
Error: ${t}
File: ${e}
Line number: ${n.position.start.line}
Task line: ${i}

Please create a bug report for this message at
https://github.com/obsidian-tasks-group/obsidian-tasks/issues/new/choose
to help us find and fix the underlying issue.

Include:
- either a screenshot of the error popup, or copy the text from the console, if on a desktop machine.
- the output from running the Obsidian command 'Show debug info'

The error popup will only be shown when Tasks is starting up, but if the error persists,
it will be shown in the console every time this file is edited during the Obsidian
session.
`;this.logger.error(s),t instanceof Error&&this.logger.error(t.stack?t.stack:"Cannot determine stack"),this.state==="Initializing"&&new Na.Notice(s,1e4)}static getSection(t,e){if(e===void 0)return null;for(let n of e)if(n.position.start.line<=t&&n.position.end.line>=t)return n;return null}static getPrecedingHeader(t,e){if(e===void 0)return null;let n=null;for(let i of e){if(i.position.start.line>t)return n;n=i.heading}return n}};var Cy=require("obsidian");var ME=require("obsidian"),AE=require("obsidian");function We(){}function oy(r){return r()}function uD(){return Object.create(null)}function kt(r){r.forEach(oy)}function Vi(r){return typeof r=="function"}function Qt(r,t){return r!=r?t==t:r!==t||r&&typeof r=="object"||typeof r=="function"}function cD(r){return Object.keys(r).length===0}function dD(r,...t){if(r==null)return We;let e=r.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function zc(r,t,e){r.$$.on_destroy.push(dD(t,e))}var fD=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global,Wl=class{constructor(t){this.options=t,this._listeners="WeakMap"in fD?new WeakMap:void 0}observe(t,e){return this._listeners.set(t,e),this._getObserver().observe(t,this.options),()=>{this._listeners.delete(t),this._observer.unobserve(t)}}_getObserver(){var t;return(t=this._observer)!==null&&t!==void 0?t:this._observer=new ResizeObserver(e=>{var n;for(let i of e)Wl.entries.set(i.target,i),(n=this._listeners.get(i.target))===null||n===void 0||n(i)})}};Wl.entries="WeakMap"in fD?new WeakMap:void 0;var pD=!1;function OU(){pD=!0}function xU(){pD=!1}function B(r,t){r.appendChild(t)}function ce(r,t,e){r.insertBefore(t,e||null)}function le(r){r.parentNode&&r.parentNode.removeChild(r)}function ki(r,t){for(let e=0;e<r.length;e+=1)r[e]&&r[e].d(t)}function re(r){return document.createElement(r)}function RU(r){return document.createElementNS("http://www.w3.org/2000/svg",r)}function $e(r){return document.createTextNode(r)}function he(){return $e(" ")}function Hr(){return $e("")}function Fe(r,t,e,n){return r.addEventListener(t,e,n),()=>r.removeEventListener(t,e,n)}function mD(r){return function(t){return t.preventDefault(),r.call(this,t)}}function W(r,t,e){e==null?r.removeAttribute(t):r.getAttribute(t)!==e&&r.setAttribute(t,e)}function hD(r){let t;return{p(...e){t=e,t.forEach(n=>r.push(n))},r(){t.forEach(e=>r.splice(r.indexOf(e),1))}}}function CU(r){return Array.from(r.childNodes)}function yn(r,t){t=""+t,r.data!==t&&(r.data=t)}function bn(r,t){r.value=t==null?"":t}function ly(r,t,e){for(let n=0;n<r.options.length;n+=1){let i=r.options[n];if(i.__value===t){i.selected=!0;return}}(!e||t!==void 0)&&(r.selectedIndex=-1)}function gD(r){let t=r.querySelector(":checked");return t&&t.__value}var Bc;function MU(){if(Bc===void 0){Bc=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(r){Bc=!0}}return Bc}function yD(r,t){getComputedStyle(r).position==="static"&&(r.style.position="relative");let n=re("iframe");n.setAttribute("style","display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"),n.setAttribute("aria-hidden","true"),n.tabIndex=-1;let i=MU(),s;return i?(n.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=Fe(window,"message",a=>{a.source===n.contentWindow&&t()})):(n.src="about:blank",n.onload=()=>{s=Fe(n.contentWindow,"resize",t),t()}),B(r,n),()=>{(i||s&&n.contentWindow)&&s(),le(n)}}function _i(r,t,e){r.classList[e?"add":"remove"](t)}var Ua=class{constructor(t=!1){this.is_svg=!1,this.is_svg=t,this.e=this.n=null}c(t){this.h(t)}m(t,e,n=null){this.e||(this.is_svg?this.e=RU(e.nodeName):this.e=re(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(t)),this.i(n)}h(t){this.e.innerHTML=t,this.n=Array.from(this.e.nodeName==="TEMPLATE"?this.e.content.childNodes:this.e.childNodes)}i(t){for(let e=0;e<this.n.length;e+=1)ce(this.t,this.n[e],t)}p(t){this.d(),this.h(t),this.i(this.a)}d(){this.n.forEach(le)}};var $l;function ql(r){$l=r}function AU(){if(!$l)throw new Error("Function called outside component initialization");return $l}function uy(r){AU().$$.on_mount.push(r)}var Fa=[];var lt=[],La=[],sy=[],PU=Promise.resolve(),ay=!1;function NU(){ay||(ay=!0,PU.then(bD))}function Fs(r){La.push(r)}function Xt(r){sy.push(r)}var iy=new Set,Ia=0;function bD(){if(Ia!==0)return;let r=$l;do{try{for(;Ia<Fa.length;){let t=Fa[Ia];Ia++,ql(t),IU(t.$$)}}catch(t){throw Fa.length=0,Ia=0,t}for(ql(null),Fa.length=0,Ia=0;lt.length;)lt.pop()();for(let t=0;t<La.length;t+=1){let e=La[t];iy.has(e)||(iy.add(e),e())}La.length=0}while(Fa.length);for(;sy.length;)sy.pop()();ay=!1,iy.clear(),ql(r)}function IU(r){if(r.fragment!==null){r.update(),kt(r.before_update);let t=r.dirty;r.dirty=[-1],r.fragment&&r.fragment.p(r.ctx,t),r.after_update.forEach(Fs)}}function FU(r){let t=[],e=[];La.forEach(n=>r.indexOf(n)===-1?t.push(n):e.push(n)),e.forEach(n=>n()),La=t}var Vc=new Set,Is;function Yn(){Is={r:0,c:[],p:Is}}function qn(){Is.r||kt(Is.c),Is=Is.p}function ge(r,t){r&&r.i&&(Vc.delete(r),r.i(t))}function Ue(r,t,e,n){if(r&&r.o){if(Vc.has(r))return;Vc.add(r),Is.c.push(()=>{Vc.delete(r),n&&(e&&r.d(1),n())}),r.o(t)}else n&&n()}var LU=["allowfullscreen","allowpaymentrequest","async","autofocus","autoplay","checked","controls","default","defer","disabled","formnovalidate","hidden","inert","ismap","loop","multiple","muted","nomodule","novalidate","open","playsinline","readonly","required","reversed","selected"],o6=new Set([...LU]);function Zt(r,t,e){let n=r.$$.props[t];n!==void 0&&(r.$$.bound[n]=e,e(r.$$.ctx[n]))}function ar(r){r&&r.c()}function Wn(r,t,e,n){let{fragment:i,after_update:s}=r.$$;i&&i.m(t,e),n||Fs(()=>{let a=r.$$.on_mount.map(oy).filter(Vi);r.$$.on_destroy?r.$$.on_destroy.push(...a):kt(a),r.$$.on_mount=[]}),s.forEach(Fs)}function Tn(r,t){let e=r.$$;e.fragment!==null&&(FU(e.after_update),kt(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[])}function UU(r,t){r.$$.dirty[0]===-1&&(Fa.push(r),NU(),r.$$.dirty.fill(0)),r.$$.dirty[t/31|0]|=1<<t%31}function vn(r,t,e,n,i,s,a,o=[-1]){let l=$l;ql(r);let u=r.$$={fragment:null,ctx:[],props:s,update:We,not_equal:i,bound:uD(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:uD(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=e?e(r,t.props||{},(d,f,...p)=>{let g=p.length?p[0]:f;return u.ctx&&i(u.ctx[d],u.ctx[d]=g)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](g),c&&UU(r,d)),f}):[],u.update(),c=!0,kt(u.before_update),u.fragment=n?n(u.ctx):!1,t.target){if(t.hydrate){OU();let d=CU(t.target);u.fragment&&u.fragment.l(d),d.forEach(le)}else u.fragment&&u.fragment.c();t.intro&&ge(r.$$.fragment),Wn(r,t.target,t.anchor,t.customElement),xU(),bD()}ql(l)}var YU;typeof HTMLElement=="function"&&(YU=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let{on_mount:r}=this.$$;this.$$.on_disconnect=r.map(oy).filter(Vi);for(let t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(r,t,e){this[r]=e}disconnectedCallback(){kt(this.$$.on_disconnect)}$destroy(){Tn(this,1),this.$destroy=We}$on(r,t){if(!Vi(t))return We;let e=this.$$.callbacks[r]||(this.$$.callbacks[r]=[]);return e.push(t),()=>{let n=e.indexOf(t);n!==-1&&e.splice(n,1)}}$set(r){this.$$set&&!cD(r)&&(this.$$.skip_bound=!0,this.$$set(r),this.$$.skip_bound=!1)}});var Kt=class{$destroy(){Tn(this,1),this.$destroy=We}$on(t,e){if(!Vi(e))return We;let n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(e),()=>{let i=n.indexOf(e);i!==-1&&n.splice(i,1)}}$set(t){this.$$set&&!cD(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}};Yr();Yc();vt();var Ya=[];function TD(r,t=We){let e,n=new Set;function i(o){if(Qt(r,o)&&(r=o,e)){let l=!Ya.length;for(let u of n)u[1](),Ya.push(u,r);if(l){for(let u=0;u<Ya.length;u+=2)Ya[u][0](Ya[u+1]);Ya.length=0}}}function s(o){i(o(r))}function a(o,l=We){let u=[o,l];return n.add(u),n.size===1&&(e=t(i)||We),o(r),()=>{n.delete(u),n.size===0&&e&&(e(),e=null)}}return{set:i,update:s,subscribe:a}}vt();var Ls=TD(te());Ls.subscribe(r=>{st(r)});Sg();vs();function qa(r){return r.charAt(0).toUpperCase()+r.slice(1)}function $t(r,t){if(t===null)return qa(r);let e=r.toLowerCase().indexOf(t.toLowerCase());if(e===-1)return`${qa(r)} (<span class="accesskey">${t.toLowerCase()}</span>)`;let n=r.substring(0,e);return n+='<span class="accesskey">',e===0?n+=r.substring(e,e+1).toUpperCase():n+=r.substring(e,e+1),n+="</span>",n+=r.substring(e+1),n=qa(n),n}function qU(r){let t,e,n,i;return{c(){t=re("code"),e=$e(r[4]),n=he(),i=new Ua(!1),i.a=null,W(t,"class","tasks-modal-parsed-date")},m(s,a){ce(s,t,a),B(t,e),B(t,n),i.m(r[2],t)},p(s,a){a&16&&yn(e,s[4]),a&4&&i.p(s[2])},d(s){s&&le(t)}}}function WU(r){let t,e,n,i,s;return{c(){t=re("div"),e=$e(r[4]),n=re("input"),W(n,"class","tasks-modal-date-editor-picker"),W(n,"type","date"),W(n,"id","date-editor-picker"),W(n,"tabindex","-1"),W(t,"class","tasks-modal-parsed-date")},m(a,o){ce(a,t,o),B(t,e),B(t,n),bn(n,r[6]),i||(s=[Fe(n,"input",r[10]),Fe(n,"input",r[7])],i=!0)},p(a,o){o&16&&yn(e,a[4]),o&64&&bn(n,a[6])},d(a){a&&le(t),i=!1,kt(s)}}}function $U(r){let t,e=$t(r[3],r[5])+"",n,i,s,a,o,l;function u(f,p){return f[1]?WU:qU}let c=u(r,-1),d=c(r);return{c(){t=re("label"),n=he(),i=re("input"),s=he(),d.c(),a=Hr(),W(t,"for",r[3]),W(i,"id",r[3]),W(i,"type","text"),W(i,"class","tasks-modal-date-input"),W(i,"placeholder",jU),W(i,"accesskey",r[5]),_i(i,"tasks-modal-error",!r[1])},m(f,p){ce(f,t,p),t.innerHTML=e,ce(f,n,p),ce(f,i,p),bn(i,r[0]),ce(f,s,p),d.m(f,p),ce(f,a,p),o||(l=Fe(i,"input",r[9]),o=!0)},p(f,[p]){p&40&&e!==(e=$t(f[3],f[5])+"")&&(t.innerHTML=e),p&8&&W(t,"for",f[3]),p&8&&W(i,"id",f[3]),p&32&&W(i,"accesskey",f[5]),p&1&&i.value!==f[0]&&bn(i,f[0]),p&2&&_i(i,"tasks-modal-error",!f[1]),c===(c=u(f,p))&&d?d.p(f,p):(d.d(1),d=c(f),d&&(d.c(),d.m(a.parentNode,a)))},i:We,o:We,d(f){f&&le(t),f&&le(n),f&&le(i),f&&le(s),d.d(f),f&&le(a),o=!1,l()}}}var jU="Try 'Mon' or 'tm' then space";function HU(r,t,e){let{id:n}=t,{dateSymbol:i}=t,{date:s}=t,{isDateValid:a}=t,{forwardOnly:o}=t,{accesskey:l}=t,{parsedDate:u=""}=t,c="";function d(g){g.target!==null&&e(0,s=c)}function f(){s=this.value,e(0,s),e(3,n),e(8,o),e(2,u),e(1,a)}function p(){c=this.value,e(6,c),e(0,s),e(3,n),e(8,o),e(2,u),e(1,a)}return r.$$set=g=>{"id"in g&&e(3,n=g.id),"dateSymbol"in g&&e(4,i=g.dateSymbol),"date"in g&&e(0,s=g.date),"isDateValid"in g&&e(1,a=g.isDateValid),"forwardOnly"in g&&e(8,o=g.forwardOnly),"accesskey"in g&&e(5,l=g.accesskey),"parsedDate"in g&&e(2,u=g.parsedDate)},r.$$.update=()=>{if(r.$$.dirty&271){e:e(0,s=hc(s)),e(2,u=Pw(n,s,o)),e(1,a=!u.includes("invalid")),a&&e(6,c=u)}},[s,a,u,n,i,l,c,d,o,f,p]}var cy=class extends Kt{constructor(t){super(),vn(this,t,HU,$U,Qt,{id:3,dateSymbol:4,date:0,isDateValid:1,forwardOnly:8,accesskey:5,parsedDate:2})}},Us=cy;var Ys=Math.min,kn=Math.max,Hl=Math.round;var Sr=r=>({x:r,y:r}),GU={left:"right",right:"left",bottom:"top",top:"bottom"},BU={start:"end",end:"start"};function dy(r,t,e){return kn(r,Ys(t,e))}function Wa(r,t){return typeof r=="function"?r(t):r}function wi(r){return r.split("-")[0]}function $a(r){return r.split("-")[1]}function fy(r){return r==="x"?"y":"x"}function py(r){return r==="y"?"height":"width"}function zi(r){return["top","bottom"].includes(wi(r))?"y":"x"}function my(r){return fy(zi(r))}function vD(r,t,e){e===void 0&&(e=!1);let n=$a(r),i=my(r),s=py(i),a=i==="x"?n===(e?"end":"start")?"right":"left":n==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=jl(a)),[a,jl(a)]}function kD(r){let t=jl(r);return[Kc(r),t,Kc(t)]}function Kc(r){return r.replace(/start|end/g,t=>BU[t])}function VU(r,t,e){let n=["left","right"],i=["right","left"],s=["top","bottom"],a=["bottom","top"];switch(r){case"top":case"bottom":return e?t?i:n:t?n:i;case"left":case"right":return t?s:a;default:return[]}}function _D(r,t,e,n){let i=$a(r),s=VU(wi(r),e==="start",n);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(Kc)))),s}function jl(r){return r.replace(/left|right|bottom|top/g,t=>GU[t])}function zU(r){return U({top:0,right:0,bottom:0,left:0},r)}function wD(r){return typeof r!="number"?zU(r):{top:r,right:r,bottom:r,left:r}}function qs(r){let{x:t,y:e,width:n,height:i}=r;return{width:n,height:i,top:e,left:t,right:t+n,bottom:e+i,x:t,y:e}}function SD(r,t,e){let{reference:n,floating:i}=r,s=zi(t),a=my(t),o=py(a),l=wi(t),u=s==="y",c=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,f=n[o]/2-i[o]/2,p;switch(l){case"top":p={x:c,y:n.y-i.height};break;case"bottom":p={x:c,y:n.y+n.height};break;case"right":p={x:n.x+n.width,y:d};break;case"left":p={x:n.x-i.width,y:d};break;default:p={x:n.x,y:n.y}}switch($a(t)){case"start":p[a]-=f*(e&&u?-1:1);break;case"end":p[a]+=f*(e&&u?-1:1);break}return p}var DD=(r,t,e)=>A(void 0,null,function*(){let{placement:n="bottom",strategy:i="absolute",middleware:s=[],platform:a}=e,o=s.filter(Boolean),l=yield a.isRTL==null?void 0:a.isRTL(t),u=yield a.getElementRects({reference:r,floating:t,strategy:i}),{x:c,y:d}=SD(u,n,l),f=n,p={},g=0;for(let b=0;b<o.length;b++){let{name:v,fn:E}=o[b],{x,y:O,data:q,reset:V}=yield E({x:c,y:d,initialPlacement:n,placement:f,strategy:i,middlewareData:p,rects:u,platform:a,elements:{reference:r,floating:t}});c=x!=null?x:c,d=O!=null?O:d,p=pe(U({},p),{[v]:U(U({},p[v]),q)}),V&&g<=50&&(g++,typeof V=="object"&&(V.placement&&(f=V.placement),V.rects&&(u=V.rects===!0?yield a.getElementRects({reference:r,floating:t,strategy:i}):V.rects),{x:c,y:d}=SD(u,f,l)),b=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:p}});function Qc(r,t){return A(this,null,function*(){var e;t===void 0&&(t={});let{x:n,y:i,platform:s,rects:a,elements:o,strategy:l}=r,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Wa(t,r),g=wD(p),v=o[f?d==="floating"?"reference":"floating":d],E=qs(yield s.getClippingRect({element:(e=yield s.isElement==null?void 0:s.isElement(v))==null||e?v:v.contextElement||(yield s.getDocumentElement==null?void 0:s.getDocumentElement(o.floating)),boundary:u,rootBoundary:c,strategy:l})),x=d==="floating"?{x:n,y:i,width:a.floating.width,height:a.floating.height}:a.reference,O=yield s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating),q=(yield s.isElement==null?void 0:s.isElement(O))?(yield s.getScale==null?void 0:s.getScale(O))||{x:1,y:1}:{x:1,y:1},V=qs(s.convertOffsetParentRelativeRectToViewportRelativeRect?yield s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:x,offsetParent:O,strategy:l}):x);return{top:(E.top-V.top+g.top)/q.y,bottom:(V.bottom-E.bottom+g.bottom)/q.y,left:(E.left-V.left+g.left)/q.x,right:(V.right-E.right+g.right)/q.x}})}var ED=function(r){return r===void 0&&(r={}),{name:"flip",options:r,fn(e){return A(this,null,function*(){var n,i;let{placement:s,middlewareData:a,rects:o,initialPlacement:l,platform:u,elements:c}=e,H=Wa(r,e),{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:g="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0}=H,E=Zs(H,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((n=a.arrow)!=null&&n.alignmentOffset)return{};let x=wi(s),O=zi(l),q=wi(l)===l,V=yield u.isRTL==null?void 0:u.isRTL(c.floating),Z=p||(q||!v?[jl(l)]:kD(l)),j=b!=="none";!p&&j&&Z.push(..._D(l,v,b,V));let J=[l,...Z],Pe=yield Qc(e,E),Ne=[],K=((i=a.flip)==null?void 0:i.overflows)||[];if(d&&Ne.push(Pe[x]),f){let se=vD(s,o,V);Ne.push(Pe[se[0]],Pe[se[1]])}if(K=[...K,{placement:s,overflows:Ne}],!Ne.every(se=>se<=0)){var G,P;let se=(((G=a.flip)==null?void 0:G.index)||0)+1,m=J[se];if(m)return{data:{index:se,overflows:K},reset:{placement:m}};let T=(P=K.filter(_=>_.overflows[0]<=0).sort((_,k)=>_.overflows[1]-k.overflows[1])[0])==null?void 0:P.placement;if(!T)switch(g){case"bestFit":{var ee;let _=(ee=K.filter(k=>{if(j){let w=zi(k.placement);return w===O||w==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(w=>w>0).reduce((w,R)=>w+R,0)]).sort((k,w)=>k[1]-w[1])[0])==null?void 0:ee[0];_&&(T=_);break}case"initialPlacement":T=l;break}if(s!==T)return{reset:{placement:T}}}return{}})}}};function KU(r,t){return A(this,null,function*(){let{placement:e,platform:n,elements:i}=r,s=yield n.isRTL==null?void 0:n.isRTL(i.floating),a=wi(e),o=$a(e),l=zi(e)==="y",u=["left","top"].includes(a)?-1:1,c=s&&l?-1:1,d=Wa(t,r),{mainAxis:f,crossAxis:p,alignmentAxis:g}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return o&&typeof g=="number"&&(p=o==="end"?g*-1:g),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}})}var OD=function(r){return r===void 0&&(r=0),{name:"offset",options:r,fn(e){return A(this,null,function*(){var n,i;let{x:s,y:a,placement:o,middlewareData:l}=e,u=yield KU(e,r);return o===((n=l.offset)==null?void 0:n.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:pe(U({},u),{placement:o})}})}}},xD=function(r){return r===void 0&&(r={}),{name:"shift",options:r,fn(e){return A(this,null,function*(){let{x:n,y:i,placement:s}=e,E=Wa(r,e),{mainAxis:a=!0,crossAxis:o=!1,limiter:l={fn:x=>{let{x:O,y:q}=x;return{x:O,y:q}}}}=E,u=Zs(E,["mainAxis","crossAxis","limiter"]),c={x:n,y:i},d=yield Qc(e,u),f=zi(wi(s)),p=fy(f),g=c[p],b=c[f];if(a){let x=p==="y"?"top":"left",O=p==="y"?"bottom":"right",q=g+d[x],V=g-d[O];g=dy(q,g,V)}if(o){let x=f==="y"?"top":"left",O=f==="y"?"bottom":"right",q=b+d[x],V=b-d[O];b=dy(q,b,V)}let v=l.fn(pe(U({},e),{[p]:g,[f]:b}));return pe(U({},v),{data:{x:v.x-n,y:v.y-i,enabled:{[p]:a,[f]:o}}})})}}};var RD=function(r){return r===void 0&&(r={}),{name:"size",options:r,fn(e){return A(this,null,function*(){var n,i;let{placement:s,rects:a,platform:o,elements:l}=e,K=Wa(r,e),{apply:u=()=>{}}=K,c=Zs(K,["apply"]),d=yield Qc(e,c),f=wi(s),p=$a(s),g=zi(s)==="y",{width:b,height:v}=a.floating,E,x;f==="top"||f==="bottom"?(E=f,x=p===((yield o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(x=f,E=p==="end"?"top":"bottom");let O=v-d.top-d.bottom,q=b-d.left-d.right,V=Ys(v-d[E],O),Z=Ys(b-d[x],q),j=!e.middlewareData.shift,J=V,Pe=Z;if((n=e.middlewareData.shift)!=null&&n.enabled.x&&(Pe=q),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(J=O),j&&!p){let G=kn(d.left,0),P=kn(d.right,0),ee=kn(d.top,0),H=kn(d.bottom,0);g?Pe=b-2*(G!==0||P!==0?G+P:kn(d.left,d.right)):J=v-2*(ee!==0||H!==0?ee+H:kn(d.top,d.bottom))}yield u(pe(U({},e),{availableWidth:Pe,availableHeight:J}));let Ne=yield o.getDimensions(l.floating);return b!==Ne.width||v!==Ne.height?{reset:{rects:!0}}:{}})}}};function Zc(){return typeof window!="undefined"}function Ws(r){return MD(r)?(r.nodeName||"").toLowerCase():"#document"}function _n(r){var t;return(r==null||(t=r.ownerDocument)==null?void 0:t.defaultView)||window}function Gr(r){var t;return(t=(MD(r)?r.ownerDocument:r.document)||window.document)==null?void 0:t.documentElement}function MD(r){return Zc()?r instanceof Node||r instanceof _n(r).Node:!1}function or(r){return Zc()?r instanceof Element||r instanceof _n(r).Element:!1}function Dr(r){return Zc()?r instanceof HTMLElement||r instanceof _n(r).HTMLElement:!1}function CD(r){return!Zc()||typeof ShadowRoot=="undefined"?!1:r instanceof ShadowRoot||r instanceof _n(r).ShadowRoot}function ja(r){let{overflow:t,overflowX:e,overflowY:n,display:i}=lr(r);return/auto|scroll|overlay|hidden|clip/.test(t+n+e)&&!["inline","contents"].includes(i)}function AD(r){return["table","td","th"].includes(Ws(r))}function Gl(r){return[":popover-open",":modal"].some(t=>{try{return r.matches(t)}catch(e){return!1}})}function Jc(r){let t=ed(),e=or(r)?lr(r):r;return e.transform!=="none"||e.perspective!=="none"||(e.containerType?e.containerType!=="normal":!1)||!t&&(e.backdropFilter?e.backdropFilter!=="none":!1)||!t&&(e.filter?e.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(e.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(e.contain||"").includes(n))}function PD(r){let t=Si(r);for(;Dr(t)&&!$s(t);){if(Jc(t))return t;if(Gl(t))return null;t=Si(t)}return null}function ed(){return typeof CSS=="undefined"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function $s(r){return["html","body","#document"].includes(Ws(r))}function lr(r){return _n(r).getComputedStyle(r)}function Bl(r){return or(r)?{scrollLeft:r.scrollLeft,scrollTop:r.scrollTop}:{scrollLeft:r.scrollX,scrollTop:r.scrollY}}function Si(r){if(Ws(r)==="html")return r;let t=r.assignedSlot||r.parentNode||CD(r)&&r.host||Gr(r);return CD(t)?t.host:t}function ND(r){let t=Si(r);return $s(t)?r.ownerDocument?r.ownerDocument.body:r.body:Dr(t)&&ja(t)?t:ND(t)}function Xc(r,t,e){var n;t===void 0&&(t=[]),e===void 0&&(e=!0);let i=ND(r),s=i===((n=r.ownerDocument)==null?void 0:n.body),a=_n(i);if(s){let o=td(a);return t.concat(a,a.visualViewport||[],ja(i)?i:[],o&&e?Xc(o):[])}return t.concat(i,Xc(i,[],e))}function td(r){return r.parent&&Object.getPrototypeOf(r.parent)?r.frameElement:null}function LD(r){let t=lr(r),e=parseFloat(t.width)||0,n=parseFloat(t.height)||0,i=Dr(r),s=i?r.offsetWidth:e,a=i?r.offsetHeight:n,o=Hl(e)!==s||Hl(n)!==a;return o&&(e=s,n=a),{width:e,height:n,$:o}}function UD(r){return or(r)?r:r.contextElement}function Ha(r){let t=UD(r);if(!Dr(t))return Sr(1);let e=t.getBoundingClientRect(),{width:n,height:i,$:s}=LD(t),a=(s?Hl(e.width):e.width)/n,o=(s?Hl(e.height):e.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}var QU=Sr(0);function YD(r){let t=_n(r);return!ed()||!t.visualViewport?QU:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function XU(r,t,e){return t===void 0&&(t=!1),!e||t&&e!==_n(r)?!1:t}function Vl(r,t,e,n){t===void 0&&(t=!1),e===void 0&&(e=!1);let i=r.getBoundingClientRect(),s=UD(r),a=Sr(1);t&&(n?or(n)&&(a=Ha(n)):a=Ha(r));let o=XU(s,e,n)?YD(s):Sr(0),l=(i.left+o.x)/a.x,u=(i.top+o.y)/a.y,c=i.width/a.x,d=i.height/a.y;if(s){let f=_n(s),p=n&&or(n)?_n(n):n,g=f,b=td(g);for(;b&&n&&p!==g;){let v=Ha(b),E=b.getBoundingClientRect(),x=lr(b),O=E.left+(b.clientLeft+parseFloat(x.paddingLeft))*v.x,q=E.top+(b.clientTop+parseFloat(x.paddingTop))*v.y;l*=v.x,u*=v.y,c*=v.x,d*=v.y,l+=O,u+=q,g=_n(b),b=td(g)}}return qs({width:c,height:d,x:l,y:u})}function gy(r,t){let e=Bl(r).scrollLeft;return t?t.left+e:Vl(Gr(r)).left+e}function qD(r,t,e){e===void 0&&(e=!1);let n=r.getBoundingClientRect(),i=n.left+t.scrollLeft-(e?0:gy(r,n)),s=n.top+t.scrollTop;return{x:i,y:s}}function ZU(r){let{elements:t,rect:e,offsetParent:n,strategy:i}=r,s=i==="fixed",a=Gr(n),o=t?Gl(t.floating):!1;if(n===a||o&&s)return e;let l={scrollLeft:0,scrollTop:0},u=Sr(1),c=Sr(0),d=Dr(n);if((d||!d&&!s)&&((Ws(n)!=="body"||ja(a))&&(l=Bl(n)),Dr(n))){let p=Vl(n);u=Ha(n),c.x=p.x+n.clientLeft,c.y=p.y+n.clientTop}let f=a&&!d&&!s?qD(a,l,!0):Sr(0);return{width:e.width*u.x,height:e.height*u.y,x:e.x*u.x-l.scrollLeft*u.x+c.x+f.x,y:e.y*u.y-l.scrollTop*u.y+c.y+f.y}}function JU(r){return Array.from(r.getClientRects())}function eY(r){let t=Gr(r),e=Bl(r),n=r.ownerDocument.body,i=kn(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),s=kn(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight),a=-e.scrollLeft+gy(r),o=-e.scrollTop;return lr(n).direction==="rtl"&&(a+=kn(t.clientWidth,n.clientWidth)-i),{width:i,height:s,x:a,y:o}}function tY(r,t){let e=_n(r),n=Gr(r),i=e.visualViewport,s=n.clientWidth,a=n.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;let u=ed();(!u||u&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}return{width:s,height:a,x:o,y:l}}function nY(r,t){let e=Vl(r,!0,t==="fixed"),n=e.top+r.clientTop,i=e.left+r.clientLeft,s=Dr(r)?Ha(r):Sr(1),a=r.clientWidth*s.x,o=r.clientHeight*s.y,l=i*s.x,u=n*s.y;return{width:a,height:o,x:l,y:u}}function ID(r,t,e){let n;if(t==="viewport")n=tY(r,e);else if(t==="document")n=eY(Gr(r));else if(or(t))n=nY(t,e);else{let i=YD(r);n={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return qs(n)}function WD(r,t){let e=Si(r);return e===t||!or(e)||$s(e)?!1:lr(e).position==="fixed"||WD(e,t)}function rY(r,t){let e=t.get(r);if(e)return e;let n=Xc(r,[],!1).filter(o=>or(o)&&Ws(o)!=="body"),i=null,s=lr(r).position==="fixed",a=s?Si(r):r;for(;or(a)&&!$s(a);){let o=lr(a),l=Jc(a);!l&&o.position==="fixed"&&(i=null),(s?!l&&!i:!l&&o.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||ja(a)&&!l&&WD(r,a))?n=n.filter(c=>c!==a):i=o,a=Si(a)}return t.set(r,n),n}function iY(r){let{element:t,boundary:e,rootBoundary:n,strategy:i}=r,a=[...e==="clippingAncestors"?Gl(t)?[]:rY(t,this._c):[].concat(e),n],o=a[0],l=a.reduce((u,c)=>{let d=ID(t,c,i);return u.top=kn(d.top,u.top),u.right=Ys(d.right,u.right),u.bottom=Ys(d.bottom,u.bottom),u.left=kn(d.left,u.left),u},ID(t,o,i));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}}function sY(r){let{width:t,height:e}=LD(r);return{width:t,height:e}}function aY(r,t,e){let n=Dr(t),i=Gr(t),s=e==="fixed",a=Vl(r,!0,s,t),o={scrollLeft:0,scrollTop:0},l=Sr(0);if(n||!n&&!s)if((Ws(t)!=="body"||ja(i))&&(o=Bl(t)),n){let f=Vl(t,!0,s,t);l.x=f.x+t.clientLeft,l.y=f.y+t.clientTop}else i&&(l.x=gy(i));let u=i&&!n&&!s?qD(i,o):Sr(0),c=a.left+o.scrollLeft-l.x-u.x,d=a.top+o.scrollTop-l.y-u.y;return{x:c,y:d,width:a.width,height:a.height}}function hy(r){return lr(r).position==="static"}function FD(r,t){if(!Dr(r)||lr(r).position==="fixed")return null;if(t)return t(r);let e=r.offsetParent;return Gr(r)===e&&(e=e.ownerDocument.body),e}function $D(r,t){let e=_n(r);if(Gl(r))return e;if(!Dr(r)){let i=Si(r);for(;i&&!$s(i);){if(or(i)&&!hy(i))return i;i=Si(i)}return e}let n=FD(r,t);for(;n&&AD(n)&&hy(n);)n=FD(n,t);return n&&$s(n)&&hy(n)&&!Jc(n)?e:n||PD(r)||e}var oY=function(r){return A(this,null,function*(){let t=this.getOffsetParent||$D,e=this.getDimensions,n=yield e(r.floating);return{reference:aY(r.reference,yield t(r.floating),r.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}})};function lY(r){return lr(r).direction==="rtl"}var uY={convertOffsetParentRelativeRectToViewportRelativeRect:ZU,getDocumentElement:Gr,getClippingRect:iY,getOffsetParent:$D,getElementRects:oY,getClientRects:JU,getDimensions:sY,getScale:Ha,isElement:or,isRTL:lY};var yy=OD;var by=xD,jD=ED,HD=RD;var Ty=(r,t,e)=>{let n=new Map,i=U({platform:uY},e),s=pe(U({},i.platform),{_c:n});return DD(r,t,pe(U({},i),{platform:s}))};jg();function GD(r,t,e){let n=r.slice();return n[6]=t[e],n}function BD(r,t,e){let n=r.slice();n[41]=t[e],n[44]=e;let i=n[18](n[41].taskLocation.path);return n[42]=i,n}function VD(r){let t,e,n,i=r[11],s=[];for(let a=0;a<i.length;a+=1)s[a]=KD(BD(r,i,a));return{c(){t=re("ul");for(let a=0;a<s.length;a+=1)s[a].c();W(t,"class","task-dependency-dropdown")},m(a,o){ce(a,t,o);for(let l=0;l<s.length;l+=1)s[l]&&s[l].m(t,null);r[32](t),e||(n=Fe(t,"mouseleave",r[33]),e=!0)},p(a,o){if(o[0]&1857664){i=a[11];let l;for(l=0;l<i.length;l+=1){let u=BD(a,i,l);s[l]?s[l].p(u,o):(s[l]=KD(u),s[l].c(),s[l].m(t,null))}for(;l<s.length;l+=1)s[l].d(1);s.length=i.length}},d(a){a&&le(t),ki(s,a),r[32](null),e=!1,n()}}}function zD(r){let t,e=r[42]+"",n,i,s;function a(...o){return r[29](r[42],...o)}return{c(){t=re("div"),n=$e(e),W(t,"class","dependency-path")},m(o,l){ce(o,t,l),B(t,n),i||(s=Fe(t,"mouseenter",a),i=!0)},p(o,l){r=o,l[0]&2048&&e!==(e=r[42]+"")&&yn(n,e)},d(o){o&&le(t),i=!1,s()}}}function KD(r){let t,e,n,i=r[41].status.symbol+"",s,a,o=Rs(r[41])+"",l,u,c,d,f,p;function g(...x){return r[28](r[41],...x)}let b=r[42]&&zD(r);function v(){return r[30](r[41])}function E(){return r[31](r[44])}return{c(){t=re("li"),e=re("div"),n=$e("["),s=$e(i),a=$e("] "),l=$e(o),c=he(),b&&b.c(),d=he(),W(e,"class",u=r[42]?"dependency-name-shared":"dependency-name"),_i(t,"selected",r[7]!==null&&r[44]===r[12])},m(x,O){ce(x,t,O),B(t,e),B(e,n),B(e,s),B(e,a),B(e,l),B(t,c),b&&b.m(t,null),B(t,d),f||(p=[Fe(e,"mouseenter",g),Fe(t,"mousedown",v),Fe(t,"mouseenter",E)],f=!0)},p(x,O){r=x,O[0]&2048&&i!==(i=r[41].status.symbol+"")&&yn(s,i),O[0]&2048&&o!==(o=Rs(r[41])+"")&&yn(l,o),O[0]&2048&&u!==(u=r[42]?"dependency-name-shared":"dependency-name")&&W(e,"class",u),r[42]?b?b.p(r,O):(b=zD(r),b.c(),b.m(t,d)):b&&(b.d(1),b=null),O[0]&4224&&_i(t,"selected",r[7]!==null&&r[44]===r[12])},d(x){x&&le(t),b&&b.d(),f=!1,kt(p)}}}function QD(r){let t,e=r[0][r[2]],n=[];for(let i=0;i<e.length;i+=1)n[i]=XD(GD(r,e,i));return{c(){t=re("div");for(let i=0;i<n.length;i+=1)n[i].c();W(t,"class","task-dependencies-container results-dependency")},m(i,s){ce(i,t,s);for(let a=0;a<n.length;a+=1)n[a]&&n[a].m(t,null)},p(i,s){if(s[0]&1605637){e=i[0][i[2]];let a;for(a=0;a<e.length;a+=1){let o=GD(i,e,a);n[a]?n[a].p(o,s):(n[a]=XD(o),n[a].c(),n[a].m(t,null))}for(;a<n.length;a+=1)n[a].d(1);n.length=e.length}},d(i){i&&le(t),ki(n,i)}}}function XD(r){let t,e,n,i=r[6].status.symbol+"",s,a,o=Rs(r[6])+"",l,u,c,d,f,p;function g(){return r[34](r[6])}function b(...v){return r[35](r[6],...v)}return{c(){t=re("div"),e=re("span"),n=$e("["),s=$e(i),a=$e("] "),l=$e(o),u=he(),c=re("button"),c.innerHTML='<svg style="display: block; margin: auto;" xmlns="http://www.w3.org/2000/svg" width="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="4" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-x"><path d="M18 6 6 18"></path><path d="m6 6 12 12"></path></svg>',d=he(),W(e,"class","task-dependency-name"),W(c,"type","button"),W(c,"class","task-dependency-delete"),W(t,"class","task-dependency")},m(v,E){ce(v,t,E),B(t,e),B(e,n),B(e,s),B(e,a),B(e,l),B(t,u),B(t,c),B(t,d),f||(p=[Fe(c,"click",g),Fe(t,"mouseenter",b)],f=!0)},p(v,E){r=v,E[0]&5&&i!==(i=r[6].status.symbol+"")&&yn(s,i),E[0]&5&&o!==(o=Rs(r[6])+"")&&yn(l,o)},d(v){v&&le(t),f=!1,kt(p)}}}function cY(r){let t,e=$t(r[3],r[4])+"",n,i,s,a,o,l,u,c,d,f=r[11]&&r[11].length!==0&&VD(r),p=r[0][r[2]].length!==0&&QD(r);return{c(){t=re("label"),n=he(),i=re("span"),s=re("input"),o=he(),f&&f.c(),l=he(),p&&p.c(),u=Hr(),W(t,"for",r[2]),W(s,"accesskey",r[4]),W(s,"id",r[1]),W(s,"class","tasks-modal-dependency-input"),W(s,"type","text"),W(s,"placeholder",r[5]),Fs(()=>r[27].call(i))},m(g,b){ce(g,t,b),t.innerHTML=e,ce(g,n,b),ce(g,i,b),B(i,s),r[23](s),bn(s,r[7]),a=yD(i,r[27].bind(i)),ce(g,o,b),f&&f.m(g,b),ce(g,l,b),p&&p.m(g,b),ce(g,u,b),c||(d=[Fe(s,"input",r[24]),Fe(s,"keydown",r[25]),Fe(s,"focus",r[17]),Fe(s,"blur",r[26])],c=!0)},p(g,b){b[0]&24&&e!==(e=$t(g[3],g[4])+"")&&(t.innerHTML=e),b[0]&4&&W(t,"for",g[2]),b[0]&16&&W(s,"accesskey",g[4]),b[0]&2&&W(s,"id",g[1]),b[0]&32&&W(s,"placeholder",g[5]),b[0]&128&&s.value!==g[7]&&bn(s,g[7]),g[11]&&g[11].length!==0?f?f.p(g,b):(f=VD(g),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null),g[0][g[2]].length!==0?p?p.p(g,b):(p=QD(g),p.c(),p.m(u.parentNode,u)):p&&(p.d(1),p=null)},i:We,o:We,d(g){g&&le(t),g&&le(n),g&&le(i),r[23](null),a(),g&&le(o),f&&f.d(g),g&&le(l),p&&p.d(g),g&&le(u),c=!1,kt(d)}}}function dY(r,t,e){let{task:n}=t,{editableTask:i}=t,{allTasks:s}=t,{_onDescriptionKeyDown:a}=t,{id:o}=t,{type:l}=t,{labelText:u}=t,{accesskey:c}=t,{placeholder:d="Type to search..."}=t,f="",p=null,g=0,b,v=!1,E=!1,x,O;function q(S){e(0,i[l]=[...i[l],S],i),e(7,f=""),e(8,v=!1)}function V(S){e(0,i[l]=i[l].filter($=>$!==S),i)}function Z(S){var $;if(p!==null){switch(S.key){case"ArrowUp":S.preventDefault(),!!g&&g>0?e(12,g-=1):e(12,g=p.length-1);break;case"ArrowDown":S.preventDefault(),!!g&&g<p.length-1?e(12,g+=1):e(12,g=0);break;case"Enter":if(S.isComposing)return;g!==null?(S.preventDefault(),q(p[g]),e(12,g=null),e(8,v=!1)):a(S);break;default:e(12,g=0);break}g&&(($=O==null?void 0:O.getElementsByTagName("li")[g])===null||$===void 0||$.scrollIntoView({block:"nearest"}))}}function j(S){return!S&&!E?[]:(E=!1,Ic(S,s,n,i.blockedBy,i.blocking))}function J(){e(8,v=!0),E=!0}function Pe(S,$){!S||!$||Ty(S,$,{middleware:[yy(6),by(),jD(),HD({apply(){$&&Object.assign($.style,{width:`${b}px`})}})]}).then(({x:de,y:ye})=>{$.style.left=`${de}px`,$.style.top=`${ye}px`})}function Ne(S){return S===n.taskLocation.path?"":S}function K(S){return Rs(S)}function G(S,$){let de=S.createDiv();de.addClasses(["tooltip","pop-up"]),de.innerText=$,Ty(S,de,{placement:"top",middleware:[yy(-18),by()]}).then(({x:ye,y:fe})=>{de.style.left=`${ye}px`,de.style.top=`${fe}px`}),S.addEventListener("mouseleave",()=>de.remove())}function P(S){lt[S?"unshift":"push"](()=>{x=S,e(9,x)})}function ee(){f=this.value,e(7,f)}let H=S=>Z(S),se=()=>e(8,v=!1);function m(){b=this.clientWidth,e(13,b)}let T=(S,$)=>G($.currentTarget,K(S)),_=(S,$)=>G($.currentTarget,S),k=S=>q(S),w=S=>e(12,g=S);function R(S){lt[S?"unshift":"push"](()=>{O=S,e(10,O)})}let N=()=>e(12,g=null),Y=S=>V(S),L=(S,$)=>G($.currentTarget,K(S));return r.$$set=S=>{"task"in S&&e(6,n=S.task),"editableTask"in S&&e(0,i=S.editableTask),"allTasks"in S&&e(21,s=S.allTasks),"_onDescriptionKeyDown"in S&&e(22,a=S._onDescriptionKeyDown),"id"in S&&e(1,o=S.id),"type"in S&&e(2,l=S.type),"labelText"in S&&e(3,u=S.labelText),"accesskey"in S&&e(4,c=S.accesskey),"placeholder"in S&&e(5,d=S.placeholder)},r.$$.update=()=>{if(r.$$.dirty[0]&1536){e:Pe(x,O)}if(r.$$.dirty[0]&384){e:e(11,p=v?j(f):null)}},[i,o,l,u,c,d,n,f,v,x,O,p,g,b,q,V,Z,J,Ne,K,G,s,a,P,ee,H,se,m,T,_,k,w,R,N,Y,L]}var vy=class extends Kt{constructor(t){super(),vn(this,t,dY,cY,Qt,{task:6,editableTask:0,allTasks:21,_onDescriptionKeyDown:22,id:1,type:2,labelText:3,accesskey:4,placeholder:5},null,[-1,-1])}},ky=vy;un();vs();Ul();var Kl=require("obsidian");un();As();ry();var zl,_y,wy,fY=["md"];function id(){return cn.getLogger("tasks.File")}var ZD=({metadataCache:r,vault:t,workspace:e})=>{zl=r,_y=t,wy=e},$n=e=>A(void 0,[e],function*({originalTask:r,newTasks:t}){if(_y===void 0||zl===void 0||wy===void 0){nd("Tasks: cannot use File before initializing it.");return}Array.isArray(t)||(t=[t]);let n=id(),i="replaceTaskWithTasks()";$c(n,i,r),jc(n,i,t),yield eE({originalTask:r,newTasks:t,vault:_y,metadataCache:zl,workspace:wy,previousTries:0})});function nd(r){console.error(r),new Kl.Notice(r,15e3)}function JD(r){console.warn(r),new Kl.Notice(r,1e4)}function pY(r){id().debug(r)}var Ki=class extends Error{},rd=class extends Error{},eE=a=>A(void 0,[a],function*({originalTask:r,newTasks:t,vault:e,metadataCache:n,workspace:i,previousTries:s}){let o=id();o.debug(`tryRepetitive after ${s} previous tries`);let l=()=>A(void 0,null,function*(){if(s>10){let c=`Tasks: Could not find the correct task line to update.

The task line not updated is:
${r.originalMarkdown}

In this markdown file:
"${r.taskLocation.path}"

Note: further clicks on this checkbox will usually now be ignored until the file is opened (or certain, specific edits are made - it's complicated).

Recommendations:

1. Close all panes that have the above file open, and then re-open the file.

2. Check for exactly identical copies of the task line, in this file, and see if you can make them different.
`;nd(c);return}let u=Math.min(Math.pow(10,s),100);o.debug(`timeout = ${u}`),setTimeout(()=>A(void 0,null,function*(){yield eE({originalTask:r,newTasks:t,vault:e,metadataCache:n,workspace:i,previousTries:s+1})}),u)});try{let[u,c,d]=yield tE(r,e),f=[...d.slice(0,u),...t.map(p=>p.toFileLineString()),...d.slice(u+1)];yield e.modify(c,f.join(`
`))}catch(u){if(u instanceof Ki){u.message&&JD(u.message),yield l();return}else if(u instanceof rd){yield l();return}else u instanceof Error&&nd(u.message)}});function tE(r,t){return A(this,null,function*(){if(zl===void 0)throw new Ki;let e=t.getAbstractFileByPath(r.path);if(!(e instanceof Kl.TFile))throw new Ki(`Tasks: No file found for task ${r.description}. Retrying ...`);if(!fY.includes(e.extension))throw new Error(`Tasks: Does not support files with the ${e.extension} file extension.`);let n=zl.getFileCache(e);if(n==null||n===null)throw new Ki(`Tasks: No file cache found for file ${e.path}. Retrying ...`);let i=n.listItems;if(i===void 0||i.length===0)throw new Ki(`Tasks: No list items found in file cache of ${e.path}. Retrying ...`);let a=(yield t.read(e)).split(`
`),o=mY(r,a,i,pY);if(o===void 0)throw new rd;return[o,e,a]})}function Sy(r,t){return A(this,null,function*(){try{let[e,n,i]=yield tE(r,t);return[e,n]}catch(e){e instanceof Ki?e.message&&JD(e.message):e instanceof Error&&nd(e.message)}})}function nE(r,t){return r<t.length}function mY(r,t,e,n){let i=hY(r,t);return i!==void 0||(i=gY(r,t),i!==void 0)?i:yY(r,t,e,n)}function hY(r,t){let e=r.taskLocation.lineNumber;if(nE(e,t)&&t[e]===r.originalMarkdown)return id().debug(`Found original markdown at original line number ${e}`),e}function gY(r,t){let e=[];for(let n=0;n<t.length;n++)t[n]===r.originalMarkdown&&e.push(n);if(e.length===1)return e[0]}function yY(r,t,e,n){let i,s=0;for(let a of e){let o=a.position.start.line;if(!nE(o,t))return;if(o<r.taskLocation.sectionStart||a.task===void 0)continue;let l=t[o];if(Ce.getInstance().includedIn(l)){if(s===r.taskLocation.sectionIndex){if(l===r.originalMarkdown)i=o;else{n(`Tasks: Unable to find task in file ${r.taskLocation.path}.
Expected task:
${r.originalMarkdown}
Found task:
${l}`);return}break}s++}}return i}gc();Ea();xc();Ut();Nc();In();var Ga=class{constructor(t){this.addGlobalFilterOnSave=t.addGlobalFilterOnSave,this.originalBlocking=t.originalBlocking,this.description=t.description,this.status=t.status,this.priority=t.priority,this.onCompletion=t.onCompletion,this.recurrenceRule=t.recurrenceRule,this.createdDate=t.createdDate,this.startDate=t.startDate,this.scheduledDate=t.scheduledDate,this.dueDate=t.dueDate,this.doneDate=t.doneDate,this.cancelledDate=t.cancelledDate,this.forwardOnly=t.forwardOnly,this.blockedBy=t.blockedBy,this.blocking=t.blocking}static fromTask(t,e){let n=Ce.getInstance().removeAsWordFrom(t.description),i=n!=t.description||!Ce.getInstance().includedIn(t.description),s="none";t.priority==="5"?s="lowest":t.priority==="4"?s="low":t.priority==="2"?s="medium":t.priority==="1"?s="high":t.priority==="0"&&(s="highest");let a=[];for(let l of t.dependsOn){let u=e.find(c=>c.id===l);!u||a.push(u)}let o=e.filter(l=>l.dependsOn.includes(t.id));return new Ga({addGlobalFilterOnSave:i,originalBlocking:o,description:n,status:t.status,priority:s,recurrenceRule:t.recurrence?t.recurrence.toText():"",onCompletion:t.onCompletion,createdDate:t.created.formatAsDate(),startDate:t.start.formatAsDate(),scheduledDate:t.scheduled.formatAsDate(),dueDate:t.due.formatAsDate(),doneDate:t.done.formatAsDate(),cancelledDate:t.cancelled.formatAsDate(),forwardOnly:!0,blockedBy:a,blocking:o})}applyEdits(t,e){return A(this,null,function*(){let n=this.description.trim();this.addGlobalFilterOnSave&&(n=Ce.getInstance().prependTo(n));let i=Ts(this.startDate,this.forwardOnly),s=Ts(this.scheduledDate,this.forwardOnly),a=Ts(this.dueDate,this.forwardOnly),o=Ts(this.cancelledDate,this.forwardOnly),l=Ts(this.createdDate,this.forwardOnly),u=Ts(this.doneDate,this.forwardOnly),c=null;this.recurrenceRule&&(c=Ct.fromText({recurrenceRuleText:this.recurrenceRule,occurrence:new tr({startDate:i,scheduledDate:s,dueDate:a})}));let d=this.onCompletion,f=[];for(let x of this.blockedBy){let O=yield bY(x,e);f.push(O)}let p=t.id,g=[],b=[];(this.blocking.toString()!==this.originalBlocking.toString()||this.blocking.length!==0)&&(t.id===""&&(p=Fl(e.filter(x=>x.id!=="").map(x=>x.id))),g=this.originalBlocking.filter(x=>!this.blocking.includes(x)),b=this.blocking.filter(x=>!this.originalBlocking.includes(x)));let v=new me(pe(U({},t),{description:n,status:t.status,priority:Fn.priorityValue(this.priority),onCompletion:d,recurrence:c,startDate:i,scheduledDate:s,dueDate:a,doneDate:u,createdDate:l,cancelledDate:o,dependsOn:f.map(x=>x.id),id:p}));for(let x of g){let O=LS(x,v);yield $n({originalTask:x,newTasks:O})}for(let x of b){let O=FS(x,v);yield $n({originalTask:x,newTasks:O})}let E=this.inferTodaysDate(this.status.type,u,o);return v.handleNewStatusWithRecurrenceInUsersOrder(this.status,E)})}inferTodaysDate(t,e,n){return t==="DONE"&&e!==null?e:t==="CANCELLED"&&n!==null?n:window.moment()}parseAndValidateRecurrence(){var e;if(!this.recurrenceRule)return{parsedRecurrence:"<i>not recurring</>",isRecurrenceValid:!0};let t=(e=Ct.fromText({recurrenceRuleText:this.recurrenceRule,occurrence:new tr({startDate:null,scheduledDate:null,dueDate:null})}))==null?void 0:e.toText();return t?this.startDate||this.scheduledDate||this.dueDate?{parsedRecurrence:t,isRecurrenceValid:!0}:{parsedRecurrence:"<i>due, scheduled or start date required</i>",isRecurrenceValid:!1}:{parsedRecurrence:"<i>invalid recurrence rule</i>",isRecurrenceValid:!1}}};function bY(r,t){return A(this,null,function*(){if(r.id!=="")return r;let e=t.filter(i=>i.id!==""),n=Pc(r,e.map(i=>i.id));return yield $n({originalTask:r,newTasks:n}),n})}vt();function rE(r,t,e){let n=r.slice();return n[7]=t[e].value,n[8]=t[e].label,n[9]=t[e].symbol,n[10]=t[e].accessKey,n[11]=t[e].accessKeyIndex,n}function TY(r){let t,e=r[8]+"",n;return{c(){t=re("span"),n=$e(e)},m(i,s){ce(i,t,s),B(t,n)},p:We,d(i){i&&le(t)}}}function vY(r){let t,e=r[8].substring(0,r[11])+"",n,i,s=r[8].substring(r[11],r[11]+1)+"",a,o,l=r[8].substring(r[11]+1)+"",u;return{c(){t=re("span"),n=$e(e),i=re("span"),a=$e(s),o=re("span"),u=$e(l),W(i,"class","accesskey")},m(c,d){ce(c,t,d),B(t,n),ce(c,i,d),B(i,a),ce(c,o,d),B(o,u)},p:We,d(c){c&&le(t),c&&le(i),c&&le(o)}}}function kY(r){let t,e=r[9]+"",n;return{c(){t=re("span"),n=$e(e)},m(i,s){ce(i,t,s),B(t,n)},p:We,d(i){i&&le(t)}}}function iE(r){let t,e,n,i,s,a,o,l,u=r[9]&&r[9].charCodeAt(0)>=256,c,d,f,p,g;function b(O,q){return O[1]?vY:TY}let v=b(r,-1),E=v(r),x=u&&kY(r);return f=hD(r[5][0]),{c(){t=re("div"),e=re("input"),a=he(),o=re("label"),E.c(),l=he(),x&&x.c(),d=he(),W(e,"type","radio"),W(e,"id",n="priority-"+r[7]),e.__value=i=r[7],e.value=e.__value,W(e,"accesskey",s=r[2](r[10])),W(o,"for",c="priority-"+r[7]),W(t,"class","task-modal-priority-option-container"),f.p(e)},m(O,q){ce(O,t,q),B(t,e),e.checked=e.__value===r[0],B(t,a),B(t,o),E.m(o,null),B(o,l),x&&x.m(o,null),B(t,d),p||(g=Fe(e,"change",r[4]),p=!0)},p(O,q){q&4&&s!==(s=O[2](O[10]))&&W(e,"accesskey",s),q&1&&(e.checked=e.__value===O[0]),v===(v=b(O,q))&&E?E.p(O,q):(E.d(1),E=v(O),E&&(E.c(),E.m(o,l))),u&&x.p(O,q)},d(O){O&&le(t),E.d(),x&&x.d(),f.r(),p=!1,g()}}}function _Y(r){let t,e,n,i,s,a=r[3],o=[];for(let l=0;l<a.length;l+=1)o[l]=iE(rE(r,a,l));return{c(){t=re("label"),e=$e("Priority"),i=he();for(let l=0;l<o.length;l+=1)o[l].c();s=Hr(),W(t,"for",n="priority-"+r[0]),W(t,"id","priority")},m(l,u){ce(l,t,u),B(t,e),ce(l,i,u);for(let c=0;c<o.length;c+=1)o[c]&&o[c].m(l,u);ce(l,s,u)},p(l,[u]){if(u&1&&n!==(n="priority-"+l[0])&&W(t,"for",n),u&15){a=l[3];let c;for(c=0;c<a.length;c+=1){let d=rE(l,a,c);o[c]?o[c].p(d,u):(o[c]=iE(d),o[c].c(),o[c].m(s.parentNode,s))}for(;c<o.length;c+=1)o[c].d(1);o.length=a.length}},i:We,o:We,d(l){l&&le(t),l&&le(i),ki(o,l),l&&le(s)}}}function wY(r,t,e){let n,{priority:i}=t,{withAccessKeys:s}=t,{prioritySymbols:a}=Un.tasksPluginEmoji.taskSerializer.symbols,o=[{value:"lowest",label:"Lowest",symbol:a.Lowest,accessKey:"o",accessKeyIndex:1},{value:"low",label:"Low",symbol:a.Low,accessKey:"l",accessKeyIndex:0},{value:"none",label:"Normal",symbol:a.None,accessKey:"n",accessKeyIndex:0},{value:"medium",label:"Medium",symbol:a.Medium,accessKey:"m",accessKeyIndex:0},{value:"high",label:"High",symbol:a.High,accessKey:"h",accessKeyIndex:0},{value:"highest",label:"Highest",symbol:a.Highest,accessKey:"i",accessKeyIndex:1}],l=[[]];function u(){i=this.__value,e(0,i)}return r.$$set=c=>{"priority"in c&&e(0,i=c.priority),"withAccessKeys"in c&&e(1,s=c.withAccessKeys)},r.$$.update=()=>{if(r.$$.dirty&2){e:e(2,n=c=>s?c:null)}},[i,s,n,o,u,l]}var Dy=class extends Kt{constructor(t){super(),vn(this,t,wY,_Y,Qt,{priority:0,withAccessKeys:1})}},sE=Dy;vt();function SY(r){let t,e=$t("Recurs",r[2])+"",n,i,s,a,o,l,u,c,d;return{c(){t=re("label"),n=he(),i=re("input"),s=he(),a=re("code"),o=$e(r[4]),l=he(),u=new Ua(!1),W(t,"for","recurrence"),W(i,"id","recurrence"),W(i,"type","text"),W(i,"class","tasks-modal-date-input"),W(i,"placeholder","Try 'every day when done'"),W(i,"accesskey",r[2]),_i(i,"tasks-modal-error",!r[1]),u.a=null,W(a,"class","tasks-modal-parsed-date")},m(f,p){ce(f,t,p),t.innerHTML=e,ce(f,n,p),ce(f,i,p),bn(i,r[0].recurrenceRule),ce(f,s,p),ce(f,a,p),B(a,o),B(a,l),u.m(r[3],a),c||(d=Fe(i,"input",r[5]),c=!0)},p(f,[p]){p&4&&e!==(e=$t("Recurs",f[2])+"")&&(t.innerHTML=e),p&4&&W(i,"accesskey",f[2]),p&1&&i.value!==f[0].recurrenceRule&&bn(i,f[0].recurrenceRule),p&2&&_i(i,"tasks-modal-error",!f[1]),p&8&&u.p(f[3])},i:We,o:We,d(f){f&&le(t),f&&le(n),f&&le(i),f&&le(s),f&&le(a),c=!1,d()}}}function DY(r,t,e){let{editableTask:n}=t,{isRecurrenceValid:i}=t,{accesskey:s}=t,a,{recurrenceSymbol:o}=Un.tasksPluginEmoji.taskSerializer.symbols;function l(){n.recurrenceRule=this.value,e(0,n)}return r.$$set=u=>{"editableTask"in u&&e(0,n=u.editableTask),"isRecurrenceValid"in u&&e(1,i=u.isRecurrenceValid),"accesskey"in u&&e(2,s=u.accesskey)},r.$$.update=()=>{if(r.$$.dirty&1){e:e(3,{parsedRecurrence:a,isRecurrenceValid:i}=n.parseAndValidateRecurrence(),a,(e(1,i),e(0,n)))}},[n,i,s,a,o,l]}var Ey=class extends Kt{constructor(t){super(),vn(this,t,DY,SY,Qt,{editableTask:0,isRecurrenceValid:1,accesskey:2})}},aE=Ey;function oE(r,t,e){let n=r.slice();return n[7]=t[e],n}function lE(r){let t,e=r[7].name+"",n,i,s=r[7].symbol+"",a,o,l;return{c(){t=re("option"),n=$e(e),i=$e(" ["),a=$e(s),o=$e("]"),t.__value=l=r[7].symbol,t.value=t.__value},m(u,c){ce(u,t,c),B(t,n),B(t,i),B(t,a),B(t,o)},p(u,c){c&1&&e!==(e=u[7].name+"")&&yn(n,e),c&1&&s!==(s=u[7].symbol+"")&&yn(a,s),c&1&&l!==(l=u[7].symbol)&&(t.__value=l,t.value=t.__value)},d(u){u&&le(t)}}}function EY(r){let t,e=$t("Status",r[1])+"",n,i,s,a,o=r[0],l=[];for(let u=0;u<o.length;u+=1)l[u]=lE(oE(r,o,u));return{c(){t=re("label"),n=he(),i=re("select");for(let u=0;u<l.length;u+=1)l[u].c();W(t,"for","status"),W(t,"id","status"),W(i,"id","status-type"),W(i,"class","status-editor-status-selector"),W(i,"accesskey",r[1]),r[2]===void 0&&Fs(()=>r[6].call(i))},m(u,c){ce(u,t,c),t.innerHTML=e,ce(u,n,c),ce(u,i,c);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(i,null);ly(i,r[2],!0),s||(a=[Fe(i,"change",r[6]),Fe(i,"change",r[3])],s=!0)},p(u,[c]){if(c&2&&e!==(e=$t("Status",u[1])+"")&&(t.innerHTML=e),c&1){o=u[0];let d;for(d=0;d<o.length;d+=1){let f=oE(u,o,d);l[d]?l[d].p(f,c):(l[d]=lE(f),l[d].c(),l[d].m(i,null))}for(;d<l.length;d+=1)l[d].d(1);l.length=o.length}c&2&&W(i,"accesskey",u[1]),c&5&&ly(i,u[2])},i:We,o:We,d(u){u&&le(t),u&&le(n),u&&le(i),ki(l,u),s=!1,kt(a)}}}function uE(r,t,e){let n=r==="";return t&&n?e.formatAsDate():!t&&!n?"":r}function OY(r,t,e){let{task:n}=t,{editableTask:i}=t,{statusOptions:s}=t,{accesskey:a}=t,o=n.status.symbol,l=()=>{let c=s.find(f=>f.symbol===o);if(c)e(4,i.status=c,i);else{console.log(`Error in EditTask: cannot find status with symbol ${o}`);return}let d=n.handleNewStatus(c).pop();d&&(e(4,i.doneDate=uE(i.doneDate,c.isCompleted(),d.done),i),e(4,i.cancelledDate=uE(i.cancelledDate,c.isCancelled(),d.cancelled),i))};function u(){o=gD(this),e(2,o),e(0,s)}return r.$$set=c=>{"task"in c&&e(5,n=c.task),"editableTask"in c&&e(4,i=c.editableTask),"statusOptions"in c&&e(0,s=c.statusOptions),"accesskey"in c&&e(1,a=c.accesskey)},[s,a,o,l,i,n,u]}var Oy=class extends Kt{constructor(t){super(),vn(this,t,OY,EY,Qt,{task:5,editableTask:4,statusOptions:0,accesskey:1})}},cE=Oy;function dE(r){let t,e,n,i,s,a;function o(u){r[32](u)}let l={withAccessKeys:r[11]};return r[3].priority!==void 0&&(l.priority=r[3].priority),e=new sE({props:l}),lt.push(()=>Zt(e,"priority",o)),{c(){t=re("section"),ar(e.$$.fragment),i=he(),s=re("hr"),W(t,"class","tasks-modal-priority-section"),W(s,"id","line-after-priority")},m(u,c){ce(u,t,c),Wn(e,t,null),ce(u,i,c),ce(u,s,c),a=!0},p(u,c){let d={};c[0]&2048&&(d.withAccessKeys=u[11]),!n&&c[0]&8&&(n=!0,d.priority=u[3].priority,Xt(()=>n=!1)),e.$set(d)},i(u){a||(ge(e.$$.fragment,u),a=!0)},o(u){Ue(e.$$.fragment,u),a=!1},d(u){u&&le(t),Tn(e),u&&le(i),u&&le(s)}}}function fE(r){let t,e,n;function i(a){r[33](a)}let s={editableTask:r[3],accesskey:r[16]("r")};return r[10]!==void 0&&(s.isRecurrenceValid=r[10]),t=new aE({props:s}),lt.push(()=>Zt(t,"isRecurrenceValid",i)),{c(){ar(t.$$.fragment)},m(a,o){Wn(t,a,o),n=!0},p(a,o){let l={};o[0]&8&&(l.editableTask=a[3]),o[0]&65536&&(l.accesskey=a[16]("r")),!e&&o[0]&1024&&(e=!0,l.isRecurrenceValid=a[10],Xt(()=>e=!1)),t.$set(l)},i(a){n||(ge(t.$$.fragment,a),n=!0)},o(a){Ue(t.$$.fragment,a),n=!1},d(a){Tn(t,a)}}}function pE(r){let t,e,n,i;function s(l){r[34](l)}function a(l){r[35](l)}let o={id:"due",dateSymbol:r[19],forwardOnly:r[3].forwardOnly,accesskey:r[16]("d")};return r[3].dueDate!==void 0&&(o.date=r[3].dueDate),r[7]!==void 0&&(o.isDateValid=r[7]),t=new Us({props:o}),lt.push(()=>Zt(t,"date",s)),lt.push(()=>Zt(t,"isDateValid",a)),{c(){ar(t.$$.fragment)},m(l,u){Wn(t,l,u),i=!0},p(l,u){let c={};u[0]&8&&(c.forwardOnly=l[3].forwardOnly),u[0]&65536&&(c.accesskey=l[16]("d")),!e&&u[0]&8&&(e=!0,c.date=l[3].dueDate,Xt(()=>e=!1)),!n&&u[0]&128&&(n=!0,c.isDateValid=l[7],Xt(()=>n=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Ue(t.$$.fragment,l),i=!1},d(l){Tn(t,l)}}}function mE(r){let t,e,n,i;function s(l){r[36](l)}function a(l){r[37](l)}let o={id:"scheduled",dateSymbol:r[18],forwardOnly:r[3].forwardOnly,accesskey:r[16]("s")};return r[3].scheduledDate!==void 0&&(o.date=r[3].scheduledDate),r[8]!==void 0&&(o.isDateValid=r[8]),t=new Us({props:o}),lt.push(()=>Zt(t,"date",s)),lt.push(()=>Zt(t,"isDateValid",a)),{c(){ar(t.$$.fragment)},m(l,u){Wn(t,l,u),i=!0},p(l,u){let c={};u[0]&8&&(c.forwardOnly=l[3].forwardOnly),u[0]&65536&&(c.accesskey=l[16]("s")),!e&&u[0]&8&&(e=!0,c.date=l[3].scheduledDate,Xt(()=>e=!1)),!n&&u[0]&256&&(n=!0,c.isDateValid=l[8],Xt(()=>n=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Ue(t.$$.fragment,l),i=!1},d(l){Tn(t,l)}}}function hE(r){let t,e,n,i;function s(l){r[38](l)}function a(l){r[39](l)}let o={id:"start",dateSymbol:r[17],forwardOnly:r[3].forwardOnly,accesskey:r[16]("a")};return r[3].startDate!==void 0&&(o.date=r[3].startDate),r[9]!==void 0&&(o.isDateValid=r[9]),t=new Us({props:o}),lt.push(()=>Zt(t,"date",s)),lt.push(()=>Zt(t,"isDateValid",a)),{c(){ar(t.$$.fragment)},m(l,u){Wn(t,l,u),i=!0},p(l,u){let c={};u[0]&8&&(c.forwardOnly=l[3].forwardOnly),u[0]&65536&&(c.accesskey=l[16]("a")),!e&&u[0]&8&&(e=!0,c.date=l[3].startDate,Xt(()=>e=!1)),!n&&u[0]&512&&(n=!0,c.isDateValid=l[9],Xt(()=>n=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Ue(t.$$.fragment,l),i=!1},d(l){Tn(t,l)}}}function gE(r){let t,e,n=$t("Only future dates:",r[16]("f"))+"",i,s,a,o,l;return{c(){t=re("div"),e=re("label"),i=he(),s=re("input"),W(e,"for","forwardOnly"),W(s,"id","forwardOnly"),W(s,"type","checkbox"),W(s,"class","task-list-item-checkbox tasks-modal-checkbox"),W(s,"accesskey",a=r[16]("f")),W(t,"class","future-dates-only"),W(t,"id","only-future-dates")},m(u,c){ce(u,t,c),B(t,e),e.innerHTML=n,B(t,i),B(t,s),s.checked=r[3].forwardOnly,o||(l=Fe(s,"change",r[40]),o=!0)},p(u,c){c[0]&65536&&n!==(n=$t("Only future dates:",u[16]("f"))+"")&&(e.innerHTML=n),c[0]&65536&&a!==(a=u[16]("f"))&&W(s,"accesskey",a),c[0]&8&&(s.checked=u[3].forwardOnly)},d(u){u&&le(t),o=!1,l()}}}function yE(r){let t;return{c(){t=re("hr"),W(t,"id","line-after-happens-dates")},m(e,n){ce(e,t,n)},d(e){e&&le(t)}}}function xY(r){let t;return{c(){t=re("div"),t.innerHTML="<i>Blocking and blocked by fields are disabled when vault tasks is empty</i>"},m(e,n){ce(e,t,n)},p:We,i:We,o:We,d(e){e&&le(t)}}}function RY(r){let t,e,n,i=r[15].before_this&&bE(r),s=r[15].after_this&&TE(r);return{c(){i&&i.c(),t=he(),s&&s.c(),e=Hr()},m(a,o){i&&i.m(a,o),ce(a,t,o),s&&s.m(a,o),ce(a,e,o),n=!0},p(a,o){a[15].before_this?i?(i.p(a,o),o[0]&32768&&ge(i,1)):(i=bE(a),i.c(),ge(i,1),i.m(t.parentNode,t)):i&&(Yn(),Ue(i,1,1,()=>{i=null}),qn()),a[15].after_this?s?(s.p(a,o),o[0]&32768&&ge(s,1)):(s=TE(a),s.c(),ge(s,1),s.m(e.parentNode,e)):s&&(Yn(),Ue(s,1,1,()=>{s=null}),qn())},i(a){n||(ge(i),ge(s),n=!0)},o(a){Ue(i),Ue(s),n=!1},d(a){i&&i.d(a),a&&le(t),s&&s.d(a),a&&le(e)}}}function bE(r){let t,e;return t=new ky({props:{id:"before_this",type:"blockedBy",labelText:"Before this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[16]("b"),placeholder:"Search for tasks that the task being edited depends on..."}}),{c(){ar(t.$$.fragment)},m(n,i){Wn(t,n,i),e=!0},p(n,i){let s={};i[0]&1&&(s.task=n[0]),i[0]&8&&(s.editableTask=n[3]),i[0]&4&&(s.allTasks=n[2]),i[0]&65536&&(s.accesskey=n[16]("b")),t.$set(s)},i(n){e||(ge(t.$$.fragment,n),e=!0)},o(n){Ue(t.$$.fragment,n),e=!1},d(n){Tn(t,n)}}}function TE(r){let t,e;return t=new ky({props:{id:"after_this",type:"blocking",labelText:"After this",task:r[0],editableTask:r[3],allTasks:r[2],_onDescriptionKeyDown:r[24],accesskey:r[16]("e"),placeholder:"Search for tasks that depend on this task being done..."}}),{c(){ar(t.$$.fragment)},m(n,i){Wn(t,n,i),e=!0},p(n,i){let s={};i[0]&1&&(s.task=n[0]),i[0]&8&&(s.editableTask=n[3]),i[0]&4&&(s.allTasks=n[2]),i[0]&65536&&(s.accesskey=n[16]("e")),t.$set(s)},i(n){e||(ge(t.$$.fragment,n),e=!0)},o(n){Ue(t.$$.fragment,n),e=!1},d(n){Tn(t,n)}}}function vE(r){let t;return{c(){t=re("hr"),W(t,"id","line-after-dependencies")},m(e,n){ce(e,t,n)},d(e){e&&le(t)}}}function kE(r){let t,e,n;function i(a){r[41](a)}let s={task:r[0],statusOptions:r[1],accesskey:r[16]("u")};return r[3]!==void 0&&(s.editableTask=r[3]),t=new cE({props:s}),lt.push(()=>Zt(t,"editableTask",i)),{c(){ar(t.$$.fragment)},m(a,o){Wn(t,a,o),n=!0},p(a,o){let l={};o[0]&1&&(l.task=a[0]),o[0]&2&&(l.statusOptions=a[1]),o[0]&65536&&(l.accesskey=a[16]("u")),!e&&o[0]&8&&(e=!0,l.editableTask=a[3],Xt(()=>e=!1)),t.$set(l)},i(a){n||(ge(t.$$.fragment,a),n=!0)},o(a){Ue(t.$$.fragment,a),n=!1},d(a){Tn(t,a)}}}function _E(r){let t,e,n,i;function s(l){r[42](l)}function a(l){r[43](l)}let o={id:"created",dateSymbol:r[21],forwardOnly:r[3].forwardOnly,accesskey:r[16]("c")};return r[3].createdDate!==void 0&&(o.date=r[3].createdDate),r[5]!==void 0&&(o.isDateValid=r[5]),t=new Us({props:o}),lt.push(()=>Zt(t,"date",s)),lt.push(()=>Zt(t,"isDateValid",a)),{c(){ar(t.$$.fragment)},m(l,u){Wn(t,l,u),i=!0},p(l,u){let c={};u[0]&8&&(c.forwardOnly=l[3].forwardOnly),u[0]&65536&&(c.accesskey=l[16]("c")),!e&&u[0]&8&&(e=!0,c.date=l[3].createdDate,Xt(()=>e=!1)),!n&&u[0]&32&&(n=!0,c.isDateValid=l[5],Xt(()=>n=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Ue(t.$$.fragment,l),i=!1},d(l){Tn(t,l)}}}function wE(r){let t,e,n,i;function s(l){r[44](l)}function a(l){r[45](l)}let o={id:"done",dateSymbol:r[22],forwardOnly:r[3].forwardOnly,accesskey:r[16]("x")};return r[3].doneDate!==void 0&&(o.date=r[3].doneDate),r[6]!==void 0&&(o.isDateValid=r[6]),t=new Us({props:o}),lt.push(()=>Zt(t,"date",s)),lt.push(()=>Zt(t,"isDateValid",a)),{c(){ar(t.$$.fragment)},m(l,u){Wn(t,l,u),i=!0},p(l,u){let c={};u[0]&8&&(c.forwardOnly=l[3].forwardOnly),u[0]&65536&&(c.accesskey=l[16]("x")),!e&&u[0]&8&&(e=!0,c.date=l[3].doneDate,Xt(()=>e=!1)),!n&&u[0]&64&&(n=!0,c.isDateValid=l[6],Xt(()=>n=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Ue(t.$$.fragment,l),i=!1},d(l){Tn(t,l)}}}function SE(r){let t,e,n,i;function s(l){r[46](l)}function a(l){r[47](l)}let o={id:"cancelled",dateSymbol:r[20],forwardOnly:r[3].forwardOnly,accesskey:r[16]("-")};return r[3].cancelledDate!==void 0&&(o.date=r[3].cancelledDate),r[4]!==void 0&&(o.isDateValid=r[4]),t=new Us({props:o}),lt.push(()=>Zt(t,"date",s)),lt.push(()=>Zt(t,"isDateValid",a)),{c(){ar(t.$$.fragment)},m(l,u){Wn(t,l,u),i=!0},p(l,u){let c={};u[0]&8&&(c.forwardOnly=l[3].forwardOnly),u[0]&65536&&(c.accesskey=l[16]("-")),!e&&u[0]&8&&(e=!0,c.date=l[3].cancelledDate,Xt(()=>e=!1)),!n&&u[0]&16&&(n=!0,c.isDateValid=l[4],Xt(()=>n=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Ue(t.$$.fragment,l),i=!1},d(l){Tn(t,l)}}}function CY(r){let t,e,n,i=$t("Description",r[16]("t"))+"",s,a,o,l,u,c,d,f,p,g,b,v,E,x,O,q,V,Z,j,J,Pe,Ne,K,G,P,ee,H,se,m,T,_,k=r[15].priority&&dE(r),w=r[15].recurrence&&fE(r),R=r[15].due&&pE(r),N=r[15].scheduled&&mE(r),Y=r[15].start&&hE(r),L=(r[15].due||r[15].scheduled||r[15].start)&&gE(r),S=(r[15].due||r[15].scheduled||r[15].start)&&yE(r),$=[RY,xY],de=[];function ye(F,Ye){return F[2].length>0&&F[14]?0:1}x=ye(r,[-1,-1]),O=de[x]=$[x](r);let fe=(r[15].before_this||r[15].after_this)&&vE(r),ve=r[15].status&&kE(r),Ee=r[15].created&&_E(r),tt=r[15].done&&wE(r),nt=r[15].cancelled&&SE(r);return{c(){t=re("form"),e=re("section"),n=re("label"),s=he(),a=re("textarea"),l=he(),k&&k.c(),u=he(),c=re("section"),w&&w.c(),d=he(),R&&R.c(),f=he(),N&&N.c(),p=he(),Y&&Y.c(),g=he(),L&&L.c(),b=he(),S&&S.c(),v=he(),E=re("section"),O.c(),q=he(),fe&&fe.c(),V=he(),Z=re("section"),ve&&ve.c(),j=he(),Ee&&Ee.c(),J=he(),tt&&tt.c(),Pe=he(),nt&&nt.c(),Ne=he(),K=re("section"),G=re("button"),P=$e("Apply"),H=he(),se=re("button"),se.textContent="Cancel",W(n,"for","description"),W(a,"id","description"),W(a,"class","tasks-modal-description"),W(a,"placeholder","Take out the trash"),W(a,"accesskey",o=r[16]("t")),W(e,"class","tasks-modal-description-section"),W(c,"class","tasks-modal-dates-section"),W(E,"class","tasks-modal-dependencies-section"),W(Z,"class","tasks-modal-dates-section"),G.disabled=ee=!r[13],W(G,"type","submit"),W(G,"class","mod-cta"),W(se,"type","button"),W(K,"class","tasks-modal-button-section"),W(t,"class","tasks-modal")},m(F,Ye){ce(F,t,Ye),B(t,e),B(e,n),n.innerHTML=i,B(e,s),B(e,a),bn(a,r[3].description),r[31](a),B(t,l),k&&k.m(t,null),B(t,u),B(t,c),w&&w.m(c,null),B(c,d),R&&R.m(c,null),B(c,f),N&&N.m(c,null),B(c,p),Y&&Y.m(c,null),B(c,g),L&&L.m(c,null),B(t,b),S&&S.m(t,null),B(t,v),B(t,E),de[x].m(E,null),B(t,q),fe&&fe.m(t,null),B(t,V),B(t,Z),ve&&ve.m(Z,null),B(Z,j),Ee&&Ee.m(Z,null),B(Z,J),tt&&tt.m(Z,null),B(Z,Pe),nt&&nt.m(Z,null),B(t,Ne),B(t,K),B(K,G),B(G,P),B(K,H),B(K,se),m=!0,T||(_=[Fe(a,"input",r[30]),Fe(a,"keydown",r[24]),Fe(a,"paste",r[25]),Fe(a,"drop",r[25]),Fe(se,"click",r[23]),Fe(t,"submit",mD(r[26]))],T=!0)},p(F,Ye){(!m||Ye[0]&65536)&&i!==(i=$t("Description",F[16]("t"))+"")&&(n.innerHTML=i),(!m||Ye[0]&65536&&o!==(o=F[16]("t")))&&W(a,"accesskey",o),Ye[0]&8&&bn(a,F[3].description),F[15].priority?k?(k.p(F,Ye),Ye[0]&32768&&ge(k,1)):(k=dE(F),k.c(),ge(k,1),k.m(t,u)):k&&(Yn(),Ue(k,1,1,()=>{k=null}),qn()),F[15].recurrence?w?(w.p(F,Ye),Ye[0]&32768&&ge(w,1)):(w=fE(F),w.c(),ge(w,1),w.m(c,d)):w&&(Yn(),Ue(w,1,1,()=>{w=null}),qn()),F[15].due?R?(R.p(F,Ye),Ye[0]&32768&&ge(R,1)):(R=pE(F),R.c(),ge(R,1),R.m(c,f)):R&&(Yn(),Ue(R,1,1,()=>{R=null}),qn()),F[15].scheduled?N?(N.p(F,Ye),Ye[0]&32768&&ge(N,1)):(N=mE(F),N.c(),ge(N,1),N.m(c,p)):N&&(Yn(),Ue(N,1,1,()=>{N=null}),qn()),F[15].start?Y?(Y.p(F,Ye),Ye[0]&32768&&ge(Y,1)):(Y=hE(F),Y.c(),ge(Y,1),Y.m(c,g)):Y&&(Yn(),Ue(Y,1,1,()=>{Y=null}),qn()),F[15].due||F[15].scheduled||F[15].start?L?L.p(F,Ye):(L=gE(F),L.c(),L.m(c,null)):L&&(L.d(1),L=null),F[15].due||F[15].scheduled||F[15].start?S||(S=yE(F),S.c(),S.m(t,v)):S&&(S.d(1),S=null);let jt=x;x=ye(F,Ye),x===jt?de[x].p(F,Ye):(Yn(),Ue(de[jt],1,1,()=>{de[jt]=null}),qn(),O=de[x],O?O.p(F,Ye):(O=de[x]=$[x](F),O.c()),ge(O,1),O.m(E,null)),F[15].before_this||F[15].after_this?fe||(fe=vE(F),fe.c(),fe.m(t,V)):fe&&(fe.d(1),fe=null),F[15].status?ve?(ve.p(F,Ye),Ye[0]&32768&&ge(ve,1)):(ve=kE(F),ve.c(),ge(ve,1),ve.m(Z,j)):ve&&(Yn(),Ue(ve,1,1,()=>{ve=null}),qn()),F[15].created?Ee?(Ee.p(F,Ye),Ye[0]&32768&&ge(Ee,1)):(Ee=_E(F),Ee.c(),ge(Ee,1),Ee.m(Z,J)):Ee&&(Yn(),Ue(Ee,1,1,()=>{Ee=null}),qn()),F[15].done?tt?(tt.p(F,Ye),Ye[0]&32768&&ge(tt,1)):(tt=wE(F),tt.c(),ge(tt,1),tt.m(Z,Pe)):tt&&(Yn(),Ue(tt,1,1,()=>{tt=null}),qn()),F[15].cancelled?nt?(nt.p(F,Ye),Ye[0]&32768&&ge(nt,1)):(nt=SE(F),nt.c(),ge(nt,1),nt.m(Z,null)):nt&&(Yn(),Ue(nt,1,1,()=>{nt=null}),qn()),(!m||Ye[0]&8192&&ee!==(ee=!F[13]))&&(G.disabled=ee)},i(F){m||(ge(k),ge(w),ge(R),ge(N),ge(Y),ge(O),ge(ve),ge(Ee),ge(tt),ge(nt),m=!0)},o(F){Ue(k),Ue(w),Ue(R),Ue(N),Ue(Y),Ue(O),Ue(ve),Ue(Ee),Ue(tt),Ue(nt),m=!1},d(F){F&&le(t),r[31](null),k&&k.d(),w&&w.d(),R&&R.d(),N&&N.d(),Y&&Y.d(),L&&L.d(),S&&S.d(),de[x].d(),fe&&fe.d(),ve&&ve.d(),Ee&&Ee.d(),tt&&tt.d(),nt&&nt.d(),T=!1,kt(_)}}}function MY(r,t,e){let n,i,s;zc(r,Ls,F=>e(29,s=F));let{task:a}=t,{onSubmit:o}=t,{statusOptions:l}=t,{allTasks:u}=t,{startDateSymbol:c,scheduledDateSymbol:d,dueDateSymbol:f,cancelledDateSymbol:p,createdDateSymbol:g,doneDateSymbol:b}=Un.tasksPluginEmoji.taskSerializer.symbols,v,E=Ga.fromTask(a,u),x=!0,O=!0,q=!0,V=!0,Z=!0,j=!0,J=!0,Pe=!0,Ne=!0,K=!0,G=!1;uy(()=>{Ls.set(te());let{provideAccessKeys:F}=te();e(11,Ne=F),e(14,G=!0),setTimeout(()=>{v.focus()},10)});let P=()=>{o([])},ee=F=>{F.key==="Enter"&&!F.isComposing&&(F.preventDefault(),K&&se())},H=()=>{setTimeout(()=>{e(3,E.description=E.description.replace(/[\r\n]+/g," "),E)},0)},se=()=>qw(void 0,void 0,void 0,function*(){let F=yield E.applyEdits(a,u);o(F)});function m(){E.description=this.value,e(3,E)}function T(F){lt[F?"unshift":"push"](()=>{v=F,e(12,v)})}function _(F){r.$$.not_equal(E.priority,F)&&(E.priority=F,e(3,E))}function k(F){Pe=F,e(10,Pe)}function w(F){r.$$.not_equal(E.dueDate,F)&&(E.dueDate=F,e(3,E))}function R(F){Z=F,e(7,Z)}function N(F){r.$$.not_equal(E.scheduledDate,F)&&(E.scheduledDate=F,e(3,E))}function Y(F){j=F,e(8,j)}function L(F){r.$$.not_equal(E.startDate,F)&&(E.startDate=F,e(3,E))}function S(F){J=F,e(9,J)}function $(){E.forwardOnly=this.checked,e(3,E)}function de(F){E=F,e(3,E)}function ye(F){r.$$.not_equal(E.createdDate,F)&&(E.createdDate=F,e(3,E))}function fe(F){q=F,e(5,q)}function ve(F){r.$$.not_equal(E.doneDate,F)&&(E.doneDate=F,e(3,E))}function Ee(F){V=F,e(6,V)}function tt(F){r.$$.not_equal(E.cancelledDate,F)&&(E.cancelledDate=F,e(3,E))}function nt(F){O=F,e(4,O)}return r.$$set=F=>{"task"in F&&e(0,a=F.task),"onSubmit"in F&&e(27,o=F.onSubmit),"statusOptions"in F&&e(1,l=F.statusOptions),"allTasks"in F&&e(2,u=F.allTasks)},r.$$.update=()=>{if(r.$$.dirty[0]&2048){e:e(16,n=F=>Ne?F:null)}if(r.$$.dirty[0]&8){e:e(28,x=E.description.trim()!=="")}if(r.$$.dirty[0]&268437488){e:e(13,K=Z&&Pe&&j&&J&&x&&O&&q&&V)}if(r.$$.dirty[0]&536870912){e:e(15,i=Object.assign(Object.assign({},Ma),s.isShownInEditModal))}},[a,l,u,E,O,q,V,Z,j,J,Pe,Ne,v,K,G,i,n,c,d,f,p,g,b,P,ee,H,se,o,x,s,m,T,_,k,w,R,N,Y,L,S,$,de,ye,fe,ve,Ee,tt,nt]}var xy=class extends Kt{constructor(t){super(),vn(this,t,MY,CY,Qt,{task:0,onSubmit:27,statusOptions:1,allTasks:2},null,[-1,-1])}},DE=xy;$r();_r();var CE=require("obsidian");Yc();function EE(r,t,e){let n=r.slice();return n[8]=t[e],n}function OE(r){let t;return{c(){t=re("hr")},m(e,n){ce(e,t,n)},d(e){e&&le(t)}}}function xE(r){let t,e,n,i,s,a,o=r[4](r[8])+"",l,u,c=r[5].includes(r[8]),d,f,p,g=c&&OE(r);return{c(){t=re("label"),e=re("input"),s=he(),a=re("span"),l=$e(o),u=he(),g&&g.c(),d=Hr(),W(e,"type","checkbox"),e.checked=n=r[1][r[8]],W(e,"id",i=r[8])},m(b,v){ce(b,t,v),B(t,e),B(t,s),B(t,a),B(a,l),ce(b,u,v),g&&g.m(b,v),ce(b,d,v),f||(p=Fe(e,"change",function(){Vi(r[2](r[8]))&&r[2](r[8]).apply(this,arguments)}),f=!0)},p(b,v){r=b,v&2&&n!==(n=r[1][r[8]])&&(e.checked=n),v&2&&i!==(i=r[8])&&W(e,"id",i),v&2&&o!==(o=r[4](r[8])+"")&&yn(l,o),v&2&&(c=r[5].includes(r[8])),c?g||(g=OE(r),g.c(),g.m(d.parentNode,d)):g&&(g.d(1),g=null)},d(b){b&&le(t),b&&le(u),g&&g.d(b),b&&le(d),f=!1,p()}}}function AY(r){let t,e,n,i,s,a,o,l,u,c=Object.keys(r[1]),d=[];for(let f=0;f<c.length;f+=1)d[f]=xE(EE(r,c,f));return{c(){t=re("div"),e=re("div");for(let f=0;f<d.length;f+=1)d[f].c();n=he(),i=re("div"),s=re("button"),s.textContent="Apply",a=he(),o=re("button"),o.textContent="Cancel",W(e,"class","tasks-options-modal-checkboxes"),W(s,"type","button"),W(s,"class","mod-cta"),W(o,"type","button"),W(i,"class","tasks-options-modal-footer"),W(t,"class","tasks-options-modal")},m(f,p){ce(f,t,p),B(t,e);for(let g=0;g<d.length;g+=1)d[g]&&d[g].m(e,null);B(t,n),B(t,i),B(i,s),B(i,a),B(i,o),l||(u=[Fe(s,"click",r[3]),Fe(o,"click",function(){Vi(r[0])&&r[0].apply(this,arguments)})],l=!0)},p(f,[p]){if(r=f,p&54){c=Object.keys(r[1]);let g;for(g=0;g<c.length;g+=1){let b=EE(r,c,g);d[g]?d[g].p(b,p):(d[g]=xE(b),d[g].c(),d[g].m(e,null))}for(;g<d.length;g+=1)d[g].d(1);d.length=c.length}},i:We,o:We,d(f){f&&le(t),ki(d,f),l=!1,kt(u)}}}function PY(r,t,e){let n;zc(r,Ls,d=>e(7,n=d));let{onSave:i}=t,{onClose:s}=t,a=Object.assign(Object.assign({},Ma),n.isShownInEditModal),o=d=>f=>{e(1,a[d]=f.target.checked,a)},l=()=>{Ls.set(Object.assign(Object.assign({},n),{isShownInEditModal:a})),i()},u=d=>d.charAt(0).toUpperCase()+d.slice(1).replace("_"," "),c=["priority","start","after_this"];return r.$$set=d=>{"onSave"in d&&e(6,i=d.onSave),"onClose"in d&&e(0,s=d.onClose)},[s,a,o,l,u,c,i]}var Ry=class extends Kt{constructor(t){super(),vn(this,t,PY,AY,Qt,{onSave:6,onClose:0})}},RE=Ry;var sd=class extends CE.Modal{constructor({app:e,onSave:n}){super(e);this.onSave=n}onOpen(){this.titleEl.setText("Hide unused fields"),this.modalEl.addClass("tasks-options-modal-container");let{contentEl:e}=this;this.contentEl.style.paddingBottom="0",new RE({target:e,props:{onSave:()=>{this.onSave(),this.close()},onClose:()=>{this.onClose(),this.close()}}})}onClose(){let{contentEl:e}=this;e.empty()}};var Br=class extends AE.Modal{constructor({app:e,task:n,onSaveSettings:i,onSubmit:s,allTasks:a}){super(e);this.task=n,this.allTasks=a,this.onSaveSettings=i,this.onSubmit=o=>{o.length&&s(o),this.close()}}onOpen(){this.titleEl.setText("Create or edit Task"),this.modalEl.style.paddingBottom="0";let e=document.createElement("button");e.addClasses(["modal-close-button","mod-raised","clickable-icon"]),e.addClass("modal-option-button"),(0,ME.setIcon)(e,"settings"),e.onclick=()=>{new sd({app:this.app,onSave:()=>{this.onSaveSettings()}}).open()},this.modalEl.appendChild(e);let{contentEl:n}=this;this.contentEl.style.paddingBottom="0";let i=this.getKnownStatusesAndCurrentTaskStatusIfNotKnown();new DE({target:n,props:{task:this.task,statusOptions:i,onSubmit:this.onSubmit,allTasks:this.allTasks}})}getKnownStatusesAndCurrentTaskStatusIfNotKnown(){let e=Ge.getInstance().registeredStatuses;return Ge.getInstance().bySymbol(this.task.status.symbol)===Te.EMPTY&&e.push(this.task.status),e}onClose(){let{contentEl:e}=this;e.empty()}};Bi();_r();Cc();Ut();Bi();$r();vt();un();Ea();ri();function NY(){let{setCreatedDate:r}=te();return r?window.moment():null}function IY(r){let{setCreatedDate:t}=te();if(!t||r.createdDate!==null)return!1;let e=r.description==="",n=!Ce.getInstance().isEmpty(),i=!Ce.getInstance().includedIn(r.description);return e||n&&i}var Ba=({line:r,path:t})=>{var f,p;let e=me.parseTaskSignifiers(r,Wt.fromUnknownPosition(new bt(t)),qt.fromPath(t)),n=NY();if(e!==null)return IY(e)?new me(pe(U({},e),{createdDate:n})):e;let i=r.match(ke.nonTaskRegex);if(i===null)return console.error("Tasks: Cannot create task on line:",r),new me({status:Te.TODO,description:"",taskLocation:Wt.fromUnknownPosition(new bt(t)),indentation:"",listMarker:"-",priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,onCompletion:"",dependsOn:[],id:"",blockLink:"",tags:[],originalMarkdown:"",scheduledDateIsInferred:!1});let s=i[1],a=(f=i[2])!=null?f:"-",o=(p=i[4])!=null?p:" ",l=Ge.getInstance().bySymbolOrCreate(o),u=i[5],c=r.match(ke.blockLinkRegex),d=c!==null?c[0]:"";return d!==""&&(u=u.replace(ke.blockLinkRegex,"")),new me({status:l,description:u,taskLocation:Wt.fromUnknownPosition(new bt(t)),indentation:s,listMarker:a,blockLink:d,priority:"3",createdDate:n,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,onCompletion:"",tags:[],originalMarkdown:"",scheduledDateIsInferred:!1,id:"",dependsOn:[]})};var PE=(r,t,e,n,i,s)=>{var p;if(r)return e instanceof Cy.MarkdownView;if(!(e instanceof Cy.MarkdownView))return;let a=(p=e.file)==null?void 0:p.path;if(a===void 0)return;let l=t.getCursor().line,u=t.getLine(l),c=Ba({line:u,path:a}),d=g=>{let b=qt.removeInferredStatusIfNeeded(c,g).map(v=>v.toFileLineString()).join(`
`);t.setLine(l,b)};new Br({app:n,task:c,onSaveSettings:s,onSubmit:d,allTasks:i}).open()};var My=require("obsidian");$r();Ut();ri();var NE=(r,t,e)=>{var c;if(r)return e instanceof My.MarkdownView;if(!(e instanceof My.MarkdownView))return;let n=(c=e.file)==null?void 0:c.path;if(n===void 0)return;let i=t.getCursor(),s=i.line,a=t.getLine(s),o=Ay(a,n),l=o.text.length>0,u=s>=t.lineCount()-1;if(l||u)t.setLine(s,o.text);else{let d={line:s,ch:0},f={line:s+1,ch:0};t.replaceRange("",d,f)}t.setCursor(FY(i,o))},Ay=(r,t)=>{let e=me.fromLine({line:r,taskLocation:Wt.fromUnknownPosition(new bt(t)),fallbackDate:null});if(e!==null){let n=e.toggleWithRecurrenceInUsersOrder().map(s=>s.toFileLineString()),i=n.length>0?n.length-1:0;return{text:n.join(`
`),moveTo:{line:i}}}else{let n=r.match(ke.taskRegex);if(n!==null){let i=n[3],a=Ge.getInstance().bySymbol(i).nextStatusSymbol;return{text:r.replace(ke.taskRegex,`$1$2 [${a}] $4`)}}else if(ke.listItemRegex.test(r)){let i=r.replace(ke.listItemRegex,"$1$2 [ ]");return{text:i,moveTo:{ch:i.length}}}else{let i=r.replace(ke.indentationRegex,"$1- [ ] ");return{text:i,moveTo:{ch:i.length}}}}},FY=(r,t)=>{var s;let e={line:0,ch:r.ch},n=U(U({},e),(s=t.moveTo)!=null?s:{}),i=t.text.split(`
`)[n.line].length;return{line:r.line+n.line,ch:Math.min(n.ch,i)}};var tb=require("obsidian");vt();var Qi=class{constructor(){this.hideToolbar=!1;this.hidePostponeButton=!1;this.hideTaskCount=!1;this.hideBacklinks=!1;this.hideEditButton=!1;this.hideUrgency=!0;this.hideTree=!0;this.shortMode=!1;this.explainQuery=!1}};function IE(r,t,e){let n=new Map([["backlink","hideBacklinks"],["edit button","hideEditButton"],["postpone button","hidePostponeButton"],["task count","hideTaskCount"],["toolbar","hideToolbar"],["tree","hideTree"],["urgency","hideUrgency"]]);for(let[i,s]of n.entries())if(t.startsWith(i))return r[s]=e,!0;return!1}Es();function js(r,t){let e=`Error: ${r}.
The error message was:
    `,n="";return t instanceof Error?n+=t:n+="Unknown error",`${e}"${n}"`}As();var LY=Object.prototype.toString,za=Array.isArray||function(t){return LY.call(t)==="[object Array]"};function Ny(r){return typeof r=="function"}function UY(r){return za(r)?"array":typeof r}function Py(r){return r.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function FE(r,t){return r!=null&&typeof r=="object"&&t in r}function YY(r,t){return r!=null&&typeof r!="object"&&r.hasOwnProperty&&r.hasOwnProperty(t)}var qY=RegExp.prototype.test;function WY(r,t){return qY.call(r,t)}var $Y=/\S/;function jY(r){return!WY($Y,r)}var HY={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function GY(r){return String(r).replace(/[&<>"'`=\/]/g,function(e){return HY[e]})}var BY=/\s*/,VY=/\s+/,LE=/\s*=/,zY=/\s*\}/,KY=/#|\^|\/|>|\{|&|=|!/;function QY(r,t){if(!r)return[];var e=!1,n=[],i=[],s=[],a=!1,o=!1,l="",u=0;function c(){if(a&&!o)for(;s.length;)delete i[s.pop()];else s=[];a=!1,o=!1}var d,f,p;function g(J){if(typeof J=="string"&&(J=J.split(VY,2)),!za(J)||J.length!==2)throw new Error("Invalid tags: "+J);d=new RegExp(Py(J[0])+"\\s*"),f=new RegExp("\\s*"+Py(J[1])),p=new RegExp("\\s*"+Py("}"+J[1]))}g(t||ur.tags);for(var b=new Xl(r),v,E,x,O,q,V;!b.eos();){if(v=b.pos,x=b.scanUntil(d),x)for(var Z=0,j=x.length;Z<j;++Z)O=x.charAt(Z),jY(O)?(s.push(i.length),l+=O):(o=!0,e=!0,l+=" "),i.push(["text",O,v,v+1]),v+=1,O===`
`&&(c(),l="",u=0,e=!1);if(!b.scan(d))break;if(a=!0,E=b.scan(KY)||"name",b.scan(BY),E==="="?(x=b.scanUntil(LE),b.scan(LE),b.scanUntil(f)):E==="{"?(x=b.scanUntil(p),b.scan(zY),b.scanUntil(f),E="&"):x=b.scanUntil(f),!b.scan(f))throw new Error("Unclosed tag at "+b.pos);if(E==">"?q=[E,x,v,b.pos,l,u,e]:q=[E,x,v,b.pos],u++,i.push(q),E==="#"||E==="^")n.push(q);else if(E==="/"){if(V=n.pop(),!V)throw new Error('Unopened section "'+x+'" at '+v);if(V[1]!==x)throw new Error('Unclosed section "'+V[1]+'" at '+v)}else E==="name"||E==="{"||E==="&"?o=!0:E==="="&&g(x)}if(c(),V=n.pop(),V)throw new Error('Unclosed section "'+V[1]+'" at '+b.pos);return ZY(XY(i))}function XY(r){for(var t=[],e,n,i=0,s=r.length;i<s;++i)e=r[i],e&&(e[0]==="text"&&n&&n[0]==="text"?(n[1]+=e[1],n[3]=e[3]):(t.push(e),n=e));return t}function ZY(r){for(var t=[],e=t,n=[],i,s,a=0,o=r.length;a<o;++a)switch(i=r[a],i[0]){case"#":case"^":e.push(i),n.push(i),e=i[4]=[];break;case"/":s=n.pop(),s[5]=i[2],e=n.length>0?n[n.length-1][4]:t;break;default:e.push(i)}return t}function Xl(r){this.string=r,this.tail=r,this.pos=0}Xl.prototype.eos=function(){return this.tail===""};Xl.prototype.scan=function(t){var e=this.tail.match(t);if(!e||e.index!==0)return"";var n=e[0];return this.tail=this.tail.substring(n.length),this.pos+=n.length,n};Xl.prototype.scanUntil=function(t){var e=this.tail.search(t),n;switch(e){case-1:n=this.tail,this.tail="";break;case 0:n="";break;default:n=this.tail.substring(0,e),this.tail=this.tail.substring(e)}return this.pos+=n.length,n};function Va(r,t){this.view=r,this.cache={".":this.view},this.parent=t}Va.prototype.push=function(t){return new Va(t,this)};Va.prototype.lookup=function(t){var e=this.cache,n;if(e.hasOwnProperty(t))n=e[t];else{for(var i=this,s,a,o,l=!1;i;){if(t.indexOf(".")>0)for(s=i.view,a=t.split("."),o=0;s!=null&&o<a.length;)o===a.length-1&&(l=FE(s,a[o])||YY(s,a[o])),s=s[a[o++]];else s=i.view[t],l=FE(i.view,t);if(l){n=s;break}i=i.parent}e[t]=n}return Ny(n)&&(n=n.call(this.view)),n};function dn(){this.templateCache={_cache:{},set:function(t,e){this._cache[t]=e},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}dn.prototype.clearCache=function(){typeof this.templateCache!="undefined"&&this.templateCache.clear()};dn.prototype.parse=function(t,e){var n=this.templateCache,i=t+":"+(e||ur.tags).join(":"),s=typeof n!="undefined",a=s?n.get(i):void 0;return a==null&&(a=QY(t,e),s&&n.set(i,a)),a};dn.prototype.render=function(t,e,n,i){var s=this.getConfigTags(i),a=this.parse(t,s),o=e instanceof Va?e:new Va(e,void 0);return this.renderTokens(a,o,n,t,i)};dn.prototype.renderTokens=function(t,e,n,i,s){for(var a="",o,l,u,c=0,d=t.length;c<d;++c)u=void 0,o=t[c],l=o[0],l==="#"?u=this.renderSection(o,e,n,i,s):l==="^"?u=this.renderInverted(o,e,n,i,s):l===">"?u=this.renderPartial(o,e,n,s):l==="&"?u=this.unescapedValue(o,e):l==="name"?u=this.escapedValue(o,e,s):l==="text"&&(u=this.rawValue(o)),u!==void 0&&(a+=u);return a};dn.prototype.renderSection=function(t,e,n,i,s){var a=this,o="",l=e.lookup(t[1]);function u(f){return a.render(f,e,n,s)}if(!!l){if(za(l))for(var c=0,d=l.length;c<d;++c)o+=this.renderTokens(t[4],e.push(l[c]),n,i,s);else if(typeof l=="object"||typeof l=="string"||typeof l=="number")o+=this.renderTokens(t[4],e.push(l),n,i,s);else if(Ny(l)){if(typeof i!="string")throw new Error("Cannot use higher-order sections without the original template");l=l.call(e.view,i.slice(t[3],t[5]),u),l!=null&&(o+=l)}else o+=this.renderTokens(t[4],e,n,i,s);return o}};dn.prototype.renderInverted=function(t,e,n,i,s){var a=e.lookup(t[1]);if(!a||za(a)&&a.length===0)return this.renderTokens(t[4],e,n,i,s)};dn.prototype.indentPartial=function(t,e,n){for(var i=e.replace(/[^ \t]/g,""),s=t.split(`
`),a=0;a<s.length;a++)s[a].length&&(a>0||!n)&&(s[a]=i+s[a]);return s.join(`
`)};dn.prototype.renderPartial=function(t,e,n,i){if(!!n){var s=this.getConfigTags(i),a=Ny(n)?n(t[1]):n[t[1]];if(a!=null){var o=t[6],l=t[5],u=t[4],c=a;l==0&&u&&(c=this.indentPartial(a,u,o));var d=this.parse(c,s);return this.renderTokens(d,e,n,c,i)}}};dn.prototype.unescapedValue=function(t,e){var n=e.lookup(t[1]);if(n!=null)return n};dn.prototype.escapedValue=function(t,e,n){var i=this.getConfigEscape(n)||ur.escape,s=e.lookup(t[1]);if(s!=null)return typeof s=="number"&&i===ur.escape?String(s):i(s)};dn.prototype.rawValue=function(t){return t[1]};dn.prototype.getConfigTags=function(t){return za(t)?t:t&&typeof t=="object"?t.tags:void 0};dn.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!za(t))return t.escape};var ur={name:"mustache.js",version:"4.2.0",tags:["{{","}}"],clearCache:void 0,escape:void 0,parse:void 0,render:void 0,Scanner:void 0,Context:void 0,Writer:void 0,set templateCache(r){Ql.templateCache=r},get templateCache(){return Ql.templateCache}},Ql=new dn;ur.clearCache=function(){return Ql.clearCache()};ur.parse=function(t,e){return Ql.parse(t,e)};ur.render=function(t,e,n,i){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+UY(t)+'" was given as the first argument for mustache#render(template, view, partials)');return Ql.render(t,e,n,i)};ur.escape=GY;ur.Scanner=Xl;ur.Context=Va;ur.Writer=dn;var Iy=ur;var $E=ko(WE());var Vr=class{constructor(t){this.instruction=t}get queryComponent(){return this._queryComponent}set queryComponent(t){this._queryComponent=t}get error(){return this._error}set error(t){this._error=t}isValid(){return this._queryComponent!==void 0}static fromObject(t,e){let n=new Vr(t);return n._queryComponent=e,n}static fromError(t,e){let n=new Vr(t);return n._error=e,n}};var Zl=class extends Vr{};function Jl(r,t){try{let e=r.map(([s])=>s),n=t.includes("return")?t:`return ${t}`,i=t&&new Function(...e,n);return i instanceof Function?Zl.fromObject(t,i):Zl.fromError(t,`Problem parsing expression "${t}"`)}catch(e){return Zl.fromError(t,js(`Failed parsing expression "${t}"`,e))}}function eu(r,t){let e=t.map(([n,i])=>i);return r(...e)}function Ly(r,t,e){try{return eu(r,t)}catch(n){return js(`Failed calculating expression "${e}"`,n)}}function Uy(r,t){Iy.escape=function(e){return e};try{let e=eq(r,t);return Iy.render(e,(0,$E.default)(t))}catch(e){let n="";throw e instanceof Error?n=`There was an error expanding one or more placeholders.

The error message was:
    ${e.message.replace(/ > /g,".").replace("Missing Mustache data property","Unknown property")}`:n="Unknown error expanding placeholders.",n+=`

The problem is in:
    ${r}`,Error(n)}}var JY=new RegExp(["\\{\\{","(.*?)","\\}\\}"].join(""),"g");function eq(r,t){return r.replace(JY,(e,n)=>{let i=tq(t),s=Jl(i,n);if(s.isValid()){let a=eu(s.queryComponent,i);if(a===null)throw Error(`Invalid placeholder result 'null'.
    Check for missing file property in this expression:
        {{${n}}}`);if(a!==void 0)return a}return e})}function tq(r){return Object.entries(r)}vt();function Yy(r){return qy(r,[])}function qy(r,t){return{query:{file:r,allTasks:t,searchCache:{}},preset:U({},te().presets)}}Xg();vt();var Ka=class{constructor(t=""){this.indentation=t}explainQuery(t){if(t.error!==void 0)return this.explainError(t);let e=[];return e.push(this.explainIgnoreGlobalQuery(t)),e.push(this.explainFilters(t)),e.push(this.explainGroups(t)),e.push(this.explainSorters(t)),e.push(this.explainLayout(t)),e.push(this.explainQueryLimits(t)),e.push(this.explainDebugSettings()),e.filter(n=>n!=="").join(`
`)}explainError(t){let e="";return e+=`Query has an error:
`,e+=t.error+`
`,e}explainIgnoreGlobalQuery(t){return t.ignoreGlobalQuery?this.indent(`ignore global query
`):""}explainFilters(t){return t.filters.length===0?this.indent(`No filters supplied. All tasks will match the query.
`):t.filters.map(e=>e.explainFilterIndented(this.indentation)).join(`
`)}explainGroups(t){return this.explainStatements(t.grouping.map(e=>e.statement))}explainSorters(t){return this.explainStatements(t.sorting.map(e=>e.statement))}explainLayout(t){return this.explainStatements(t.layoutStatements)}explainQueryLimits(t){function e(i){let s=`At most ${i} task`;return i!==1&&(s+="s"),s}let n=[];if(t.limit!==void 0){let i=e(t.limit)+`.
`;n.push(this.indent(i))}if(t.taskGroupLimit!==void 0){let i=e(t.taskGroupLimit)+` per group (if any "group by" options are supplied).
`;n.push(this.indent(i))}return n.join(`
`)}explainDebugSettings(){let t="",{debugSettings:e}=te();return e.ignoreSortInstructions&&(t+=this.indent(`NOTE: All sort instructions, including default sort order, are disabled, due to 'ignoreSortInstructions' setting.
`)),t}explainStatements(t){return t.length===0?"":t.map(e=>e.explainStatement(this.indentation)).join(`

`)+`
`}indent(t){return this.indentation+t}};un();var ze=class{constructor(t,e=[],n=""){this.description=t,this.symbol=n,this.children=e}static booleanAnd(t){return this.combineOrCreateExplanation("All of",t,"AND")}static booleanOr(t){return this.combineOrCreateExplanation("At least one of",t,"OR")}static booleanNot(t){return new ze("None of",t,"NOT")}static booleanXor(t){return new ze("Exactly one of",t,"XOR")}asString(t=""){if(this.children.length==0)return t+this.description;let e=t;this.symbol===""?e+=this.description:(e+=this.symbol,this.children.length>1&&(e+=` (${this.description})`),e+=":");let n=t+"  ";for(let i=0;i<this.children.length;i++)e+=`
${this.children[i].asString(n)}`;return e}static combineOrCreateExplanation(t,e,n){if(e.length===2){let i=e[0],s=e[1];if(i.symbol===n&&s.symbol==="")return i.children.push(s),i}return new ze(t,e,n)}};var Qa=class{matchesAnyOf(t){return t.some(e=>this.matches(e))}};var Xa=class extends Qa{constructor(e){super();this.stringToFind=e}matches(e){return Xa.stringIncludesCaseInsensitive(e,this.stringToFind)}static stringIncludesCaseInsensitive(e,n){return e.toLocaleLowerCase().includes(n.toLocaleLowerCase())}explanation(e){return new ze(e)}};var Xi=class extends Qa{constructor(e){super();this.regex=e}static validateAndConstruct(e){let n=/^\/(.+)\/([^/]*)$/,i=e.match(n);if(i!==null){let s=new RegExp(i[1],i[2]);return new Xi(s)}else return null}matches(e){return e.match(this.regex)!==null}static helpMessage(){return String.raw`See https://publish.obsidian.md/tasks/Queries/Regular+Expressions

Regular expressions must look like this:
    /pattern/
or this:
    /pattern/flags

Where:
- pattern: The 'regular expression' pattern to search for.
- flags:   Optional characters that modify the search.
           i => make the search case-insensitive
           u => add Unicode support

Examples:  /^Log/
           /^Log/i
           /File Name\.md/
           /waiting|waits|waited/i
           /\d\d:\d\d/

The following characters have special meaning in the pattern:
to find them literally, you must add a \ before them:
    [\^$.|?*+()

CAUTION! Regular expression (or 'regex') searching is a powerful
but advanced feature that requires thorough knowledge in order to
use successfully, and not miss intended search results.
`}explanation(e){let i=nq(e,"using regex: ",this.regexAsString());return new ze(i)}regexAsString(){let e=`'${this.regex.source}' with `;switch(this.regex.flags.length){case 0:e+="no flags";break;case 1:e+=`flag '${this.regex.flags}'`;break;default:e+=`flags '${this.regex.flags}'`;break}return e}};function nq(r,t,e){var o;let n=r.match(/\//);if(!n)return"Error explaining instruction. Could not find a slash character";let i=2,s=((o=n.index)!=null?o:i)-i;return`${t.padEnd(s)}${e}`}var fn=class{constructor(t,e){this._rawInstruction=t,this._anyContinuationLinesRemoved=e.trim(),this._anyPlaceholdersExpanded=this._anyContinuationLinesRemoved}recordExpandedPlaceholders(t){this._anyPlaceholdersExpanded=t}get rawInstruction(){return this._rawInstruction}get anyContinuationLinesRemoved(){return this._anyContinuationLinesRemoved}get anyPlaceholdersExpanded(){return this._anyPlaceholdersExpanded}explainStatement(t){function e(a,o){o!==a&&(s+=` =>
${t}${o}`)}let n=this._rawInstruction.trim(),i=n.split(`
`).join(`
`+t),s=`${t}${i}`;return this._rawInstruction.includes(`
`)&&(s+=`
`+t),e(n,this._anyContinuationLinesRemoved),e(this._anyContinuationLinesRemoved,this._anyPlaceholdersExpanded),s}allLinesIdentical(){return this._rawInstruction===this._anyContinuationLinesRemoved&&this._rawInstruction===this._anyPlaceholdersExpanded}};var Er=class{constructor(t,e,n,i){this._statement=new fn(t,t),this.property=e,this.comparator=Er.maybeReverse(i,n)}setStatement(t){this._statement=t}get statement(){return this._statement}get instruction(){return this._statement.anyPlaceholdersExpanded}static maybeReverse(t,e){return t?Er.makeReversedComparator(e):e}static makeReversedComparator(t){return(e,n,i)=>t(e,n,i)*-1}};Ll();var Zi=class{constructor(t,e,n,i){this._statement=new fn(t,t),this.property=e,this.grouper=n,this.reverse=i}setStatement(t){this._statement=t}get statement(){return this._statement}get instruction(){return this._statement.anyPlaceholdersExpanded}};var Be=class{canCreateFilterForLine(t){return Be.lineMatchesFilter(this.filterRegExp(),t)}static lineMatchesFilter(t,e){return t?t.test(e):!1}static getMatch(t,e){return t?e.match(t):null}fieldNameSingular(){return this.fieldName()}fieldNameSingularEscaped(){return Hi(this.fieldNameSingular())}supportsSorting(){return!1}createSorterFromLine(t){if(!this.supportsSorting())return null;let e=Be.getMatch(this.sorterRegExp(),t);if(e===null)return null;let n=!!e[1];return this.createSorter(n)}sorterRegExp(){if(!this.supportsSorting())throw Error(`sorterRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^sort by ${this.fieldNameSingularEscaped()}( reverse)?`,"i")}sorterInstruction(t){let e=`sort by ${this.fieldNameSingular()}`;return t&&(e+=" reverse"),e}comparator(){throw Error(`comparator() unimplemented for ${this.fieldNameSingular()}`)}createSorter(t){return new Er(this.sorterInstruction(t),this.fieldNameSingular(),this.comparator(),t)}createNormalSorter(){return this.createSorter(!1)}createReverseSorter(){return this.createSorter(!0)}supportsGrouping(){return!1}createGrouperFromLine(t){if(!this.supportsGrouping())return null;let e=Be.getMatch(this.grouperRegExp(),t);if(e===null)return null;let n=!!e[1];return this.createGrouper(n)}grouperRegExp(){if(!this.supportsGrouping())throw Error(`grouperRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)?$`,"i")}grouperInstruction(t){let e=`group by ${this.fieldNameSingular()}`;return t&&(e+=" reverse"),e}grouper(){throw Error(`grouper() unimplemented for ${this.fieldNameSingular()}`)}createGrouper(t){return new Zi(this.grouperInstruction(t),this.fieldNameSingular(),this.grouper(),t)}createNormalGrouper(){return this.createGrouper(!1)}createReverseGrouper(){return this.createGrouper(!0)}};var Jt=class{constructor(t,e,n){this._statement=new fn(t,t),this.explanation=n,this.filterFunction=e}get statement(){return this._statement}setStatement(t){this._statement=t}get instruction(){return this._statement.anyPlaceholdersExpanded}explainFilterIndented(t){let e=this._statement.explainStatement(t);return this.onlyNeedsOneLineExplanation()?`${e}
`:`${e} =>
${this.explanation.asString(t+"  ")}
`}simulateExplainFilter(){return this.onlyNeedsOneLineExplanation()?this.explanation:new ze(this.instruction+" =>",[this.explanation])}onlyNeedsOneLineExplanation(){return this.explanation.asString("")===this.instruction}};var Se=class{constructor(t){this.object=t}get instruction(){return this.object.instruction}get filter(){return this.object.queryComponent}isValid(){return this.object.isValid()}get error(){return this.object.error}get filterFunction(){if(this.filter)return this.filter.filterFunction}static fromFilter(t){return new Se(Vr.fromObject(t.instruction,t))}static fromError(t,e){return new Se(Vr.fromError(t,e))}};var et=class extends Be{createFilterOrErrorMessage(t){let e=Be.getMatch(this.filterRegExp(),t);if(e===null)return Se.fromError(t,`do not understand query filter (${this.fieldName()})`);let n=e[1].toLowerCase(),i=e[2],s=null;if(n.includes("include"))s=new Xa(i);else if(n.includes("regex")){try{s=Xi.validateAndConstruct(i)}catch(l){let u=js("Parsing regular expression",l)+`

${Xi.helpMessage()}`;return Se.fromError(t,u)}if(s===null)return Se.fromError(t,`Invalid instruction: '${t}'

${Xi.helpMessage()}`)}if(s===null)return Se.fromError(t,`do not understand query filter (${this.fieldName()})`);let a=n.match(/not/)!==null,o=new Jt(t,this.getFilter(s,a),s.explanation(t));return Se.fromFilter(o)}fieldPattern(){return this.fieldNameSingularEscaped()}filterOperatorPattern(){return"includes|does not include|regex matches|regex does not match"}filterRegExp(){return new RegExp(`^(?:${this.fieldPattern()}) (${this.filterOperatorPattern()}) (.*)`,"i")}getFilter(t,e){return n=>{let i=t.matches(this.value(n));return e?!i:i}}comparator(){return(t,e)=>this.value(t).localeCompare(this.value(e),void 0,{numeric:!0})}grouper(){return t=>[this.value(t)]}static escapeMarkdownCharacters(t){return t.replace(/\\/g,"\\\\").replace(/_/g,"\\_")}};var Di=class extends et{fieldName(){return"description"}value(t){return Ce.getInstance().removeAsSubstringFrom(t.description)}supportsSorting(){return!0}comparator(){return(t,e)=>{let n=Di.cleanDescription(t.description),i=Di.cleanDescription(e.description);return n.localeCompare(i,void 0,{numeric:!0})}}static cleanDescription(t){t=Ce.getInstance().removeAsSubstringFrom(t);let e=/^\[\[?([^\]]*)]]?/,n=t.match(e);if(n!==null){let i=n[1];t=i.substring(i.indexOf("|")+1)+t.replace(e,"")}return t=this.replaceFormatting(t,/^\*\*([^*]+)\*\*/),t=this.replaceFormatting(t,/^\*([^*]+)\*/),t=this.replaceFormatting(t,/^==([^=]+)==/),t=this.replaceFormatting(t,/^__([^_]+)__/),t=this.replaceFormatting(t,/^_([^_]+)_/),t}static replaceFormatting(t,e){let n=t.match(e);return n!==null&&(t=n[1]+t.replace(e,"")),t}};_g();wg();vs();var ad=class{findUnexpandedDateText(t){let e=["<%","YYYY-MM-DD"];for(let n of e)if(t.includes(n))return this.unexpandedDateTextMessage(n);return null}unexpandedDateTextMessage(t){return`Instruction contains unexpanded template text: "${t}" - and cannot be interpreted.

Possible causes:
- The query is an a template file, and is not intended to be searched.
- A command such as "Replace templates in the active file" needs to be run.
- The core "Daily notes" plugin is in use, and the template contained
  date calculations that it does not support.
- Some sample template text was accidentally pasted in to a tasks query,
  instead of in to a template file.

See: https://publish.obsidian.md/tasks/Advanced/Daily+Agenda#Instruction+contains+unexpanded+template+text
`}};var od=class{constructor(t,e){this._instruction=t,this._filter=e}canCreateFilterForLine(t){return t.toLocaleLowerCase()===this._instruction.toLocaleLowerCase()}createFilterOrErrorMessage(t){return this.canCreateFilterForLine(t)?Se.fromFilter(new Jt(t,this._filter,new ze(t))):Se.fromError(t,`do not understand filter: ${t}`)}};var wn=class{constructor(){this._filters=[]}add(t,e){this._filters.push(new od(t,e))}canCreateFilterForLine(t){return this._filters.some(e=>e.canCreateFilterForLine(t))}createFilterOrErrorMessage(t){for(let e of this._filters){let n=e.createFilterOrErrorMessage(t);if(n.isValid())return n}return Se.fromError(t,`do not understand filter: ${t}`)}};var Mt=class extends Be{constructor(e=null){super();e!==null?this.filterInstructions=e:(this.filterInstructions=new wn,this.filterInstructions.add(`has ${this.fieldName()} date`,n=>this.date(n)!==null),this.filterInstructions.add(`no ${this.fieldName()} date`,n=>this.date(n)===null),this.filterInstructions.add(`${this.fieldName()} date is invalid`,n=>{let i=this.date(n);return i!==null&&!i.isValid()}))}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){var f;let n=this.checkForUnexpandedTemplateText(e);if(n)return Se.fromError(e,n);let i=this.filterInstructions.createFilterOrErrorMessage(e);if(i.isValid())return i;let s=Be.getMatch(this.filterRegExp(),e);if(s===null)return Se.fromError(e,"do not understand query filter ("+this.fieldName()+" date)");let a=s[1],o=(f=s[2])==null?void 0:f.toLowerCase(),l=s[3],u=An.parseDateRange(l);if(!u.isValid()){let p=An.parseDate(a);p.isValid()&&(u=new on(p,p))}if(!u.isValid())return Se.fromError(e,"do not understand "+this.fieldName()+" date");let c=this.buildFilterFunction(o,u),d=Mt.buildExplanation(this.fieldNameForExplanation(),o,this.filterResultIfFieldMissing(),u);return Se.fromFilter(new Jt(e,c,d))}buildFilterFunction(e,n){let i;switch(e){case"before":i=s=>s?s.isBefore(n.start):this.filterResultIfFieldMissing();break;case"after":i=s=>s?s.isAfter(n.end):this.filterResultIfFieldMissing();break;case"on or before":case"in or before":i=s=>s?s.isSameOrBefore(n.end):this.filterResultIfFieldMissing();break;case"on or after":case"in or after":i=s=>s?s.isSameOrAfter(n.start):this.filterResultIfFieldMissing();break;default:i=s=>s?s.isSameOrAfter(n.start)&&s.isSameOrBefore(n.end):this.filterResultIfFieldMissing()}return this.getFilter(i)}getFilter(e){return n=>e(this.date(n))}filterRegExp(){return new RegExp(`^${this.fieldNameForFilterInstruction()} (((?:on|in) or before|before|(?:on|in) or after|after|on|in)? ?(.*))`,"i")}fieldNameForFilterInstruction(){return this.fieldName()}static buildExplanation(e,n,i,s){let a=n,o="YYYY-MM-DD (dddd Do MMMM YYYY)",l;switch(n){case"before":case"on or after":l=s.start.format(o);break;case"after":case"on or before":l=s.end.format(o);break;case"in or before":a="on or before",l=s.end.format(o);break;case"in or after":a="on or after",l=s.start.format(o);break;default:if(!s.start.isSame(s.end)){let c=`${e} date is between:`,d=[new ze(`${s.start.format(o)} and`),new ze(`${s.end.format(o)} inclusive`)];return i&&d.push(new ze(`OR no ${e} date`)),new ze(c,d)}a="on",l=s.start.format(o);break}let u=`${e} date is ${a} ${l}`;return i&&(u+=` OR no ${e} date`),new ze(u)}fieldNameForExplanation(){return this.fieldName()}supportsSorting(){return!0}comparator(){return(e,n)=>er(this.date(e),this.date(n))}supportsGrouping(){return!0}grouper(){return e=>{let n=this.date(e);return n===null?["No "+this.fieldName()+" date"]:n.isValid()?[n.format("YYYY-MM-DD dddd")]:["%%0%% Invalid "+this.fieldName()+" date"]}}checkForUnexpandedTemplateText(e){return new ad().findUnexpandedDateText(e)}};var ld=class extends Mt{fieldName(){return"created"}date(t){return t.createdDate}filterResultIfFieldMissing(){return!1}};var ud=class extends Mt{fieldName(){return"done"}date(t){return t.doneDate}filterResultIfFieldMissing(){return!1}};var Za=class extends Mt{fieldName(){return"due"}date(t){return t.dueDate}filterResultIfFieldMissing(){return!1}};var cr=class extends Be{constructor(){super(...arguments);this._filters=new wn}canCreateFilterForLine(e){return this._filters.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){return this._filters.createFilterOrErrorMessage(e)}filterRegExp(){return null}};var cd=class extends cr{constructor(){super(),this._filters.add("exclude sub-items",t=>{if(t.indentation==="")return!0;let e=t.indentation.lastIndexOf(">");return e===-1?!1:/^ ?$/.test(t.indentation.slice(e+1))})}fieldName(){return"exclude"}};function dd(r,t){return[["task",r],["query",t?t.query:null]]}function jE(r,t,e){let n=dd(r,e||null),i=Jl(n,t);return i.error?i.error:Ly(i.queryComponent,n,t)}var tu=class{constructor(t){this.line=t,this.functionOrError=Jl(dd(null,null),t)}isValid(){return this.functionOrError.isValid()}get parseError(){return this.functionOrError.error}evaluate(t,e){if(!this.isValid())throw Error(`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`);return eu(this.functionOrError.queryComponent,dd(t,e||null))}evaluateOrCatch(t,e){return this.isValid()?Ly(this.functionOrError.queryComponent,dd(t,e),this.line):`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`}};vs();function Wy(r){if(r===null)return"null";let t=typeof r;return t==="object"?r.constructor.name:t}var fd=class extends Be{createFilterOrErrorMessage(t){let e=Be.getMatch(this.filterRegExp(),t);if(e===null)return Se.fromError(t,"Unable to parse line");let n=e[1],i=new tu(n);return i.isValid()?Se.fromFilter(new Jt(t,rq(i),new ze(t))):Se.fromError(t,i.parseError)}fieldName(){return"function"}filterRegExp(){return new RegExp(`^filter by ${this.fieldNameSingularEscaped()} (.*)`,"i")}supportsSorting(){return!0}sorterRegExp(){return new RegExp(`^sort by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}createSorterFromLine(t){let e=Be.getMatch(this.sorterRegExp(),t);if(e===null)return null;let n=!!e[1],i=e[2],s=new tu(i);if(!s.isValid())throw new Error(s.parseError);let a=(o,l,u)=>{try{let c=u.queryContext(),d=this.validateTaskSortKey(s.evaluate(o,c)),f=this.validateTaskSortKey(s.evaluate(l,c));return this.compareTaskSortKeys(d,f)}catch(c){throw c instanceof Error&&(c.message+=`: while evaluating instruction '${t}'`),c}};return new Er(t,this.fieldNameSingular(),a,n)}validateTaskSortKey(t){function e(n){throw new Error(`"${n}" is not a valid sort key`)}return t===void 0&&e("undefined"),Number.isNaN(t)&&e("NaN (Not a Number)"),Array.isArray(t)&&e("array"),t}compareTaskSortKeys(t,e){let n=Wy(t),i=Wy(e),s=this.compareTaskSortKeysIfOptionalMoment(t,e,n,i);if(s!==void 0)return s;let a=this.compareTaskSortKeysIfEitherIsNull(t,e);if(a!==void 0)return a;if(n!==i)throw new Error(`Unable to compare two different sort key types '${n}' and '${i}' order`);if(n==="string")return t.localeCompare(e,void 0,{numeric:!0});if(n==="TasksDate")return er(t.moment,e.moment);if(n==="boolean")return Number(e)-Number(t);let o=Number(t)-Number(e);if(isNaN(o))throw new Error(`Unable to determine sort order for sort key types '${n}' and '${i}'`);return o}compareTaskSortKeysIfOptionalMoment(t,e,n,i){let s=n==="Moment",a=i==="Moment";if(s&&a||s&&e===null||a&&t===null)return er(t,e)}compareTaskSortKeysIfEitherIsNull(t,e){if(t===null&&e===null)return 0;if(t===null&&e!==null)return-1;if(t!==null&&e===null)return 1}supportsGrouping(){return!0}createGrouperFromLine(t){let e=Be.getMatch(this.grouperRegExp(),t);if(e===null)return null;let n=!!e[1],i=e[2];return new Zi(t,"function",sq(i),n)}grouperRegExp(){return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}grouper(){throw Error("grouper() function not valid for FunctionField. Use createGrouperFromLine() instead.")}};function rq(r){return(t,e)=>{let n=e.queryContext();return iq(r,t,n)}}function iq(r,t,e){let n=r.evaluate(t,e);if(typeof n=="boolean")return n;throw Error(`filtering function must return true or false. This returned "${n}".`)}function sq(r){return(t,e)=>{let n=e.queryContext();return aq(t,r,n)}}function aq(r,t,e){try{let n=jE(r,t,e);return Array.isArray(n)?n.map(s=>s.toString()):n===null?[]:typeof n=="number"&&!Number.isInteger(n)?[n.toFixed(5)]:[n.toString()]}catch(n){let i=`Error: Failed calculating expression "${t}". The error message was: `;return n instanceof Error?[i+n.message]:[i+"Unknown error"]}}var pd=class extends et{fieldName(){return"heading"}value(t){return t.precedingHeader?t.precedingHeader:""}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return t=>t.precedingHeader===null||t.precedingHeader.length===0?["(No heading)"]:[t.precedingHeader]}};var Ja=class extends et{fieldName(){return"path"}value(t){return t.path}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return t=>[et.escapeMarkdownCharacters(t.path.replace(".md",""))]}};Ea();var $y=class extends Be{createFilterOrErrorMessage(t){var n;let e=Be.getMatch(this.filterRegExp(),t);if(e!==null){let i=e[5],s=null;switch(i.toLowerCase()){case"lowest":s="5";break;case"low":s="4";break;case"none":s="3";break;case"medium":s="2";break;case"high":s="1";break;case"highest":s="0";break}if(s===null)return Se.fromError(t,"do not understand priority");let a=t,o;switch((n=e[3])==null?void 0:n.toLowerCase()){case"above":o=l=>l.priority.localeCompare(s)<0;break;case"below":o=l=>l.priority.localeCompare(s)>0;break;case"not":o=l=>l.priority!==s;break;default:o=l=>l.priority===s,a=`${this.fieldName()} is ${i}`}return Se.fromFilter(new Jt(t,o,new ze(a)))}else return Se.fromError(t,"do not understand query filter (priority)")}fieldName(){return"priority"}filterRegExp(){return $y.priorityRegexp}supportsSorting(){return!0}comparator(){return(t,e)=>t.priority.localeCompare(e.priority)}supportsGrouping(){return!0}grouper(){return t=>[t.priorityNameGroupText]}},Hs=$y;Hs.priorityRegexp=/^priority(\s+is)?(\s+(above|below|not))?(\s+(lowest|low|none|medium|high|highest))$/i;var md=class extends Mt{fieldName(){return"scheduled"}date(t){return t.scheduledDate}filterResultIfFieldMissing(){return!1}};var hd=class extends Mt{fieldName(){return"start"}fieldNameForFilterInstruction(){return"starts"}date(t){return t.startDate}filterResultIfFieldMissing(){return!0}};var gd=class extends Mt{constructor(){let t=new wn;t.add("has happens date",e=>this.dates(e).some(n=>n!==null)),t.add("no happens date",e=>!this.dates(e).some(n=>n!==null)),super(t)}fieldName(){return"happens"}fieldNameForExplanation(){return"due, start or scheduled"}date(t){return this.earliestDate(t)}dates(t){return t.happensDates}earliestDate(t){return t.happens.moment}filterResultIfFieldMissing(){return!1}getFilter(t){return e=>this.dates(e).some(n=>t(n))}};var yd=class extends cr{constructor(){super(),this._filters.add("is recurring",t=>t.recurrence!==null),this._filters.add("is not recurring",t=>t.recurrence===null)}fieldName(){return"recurring"}supportsSorting(){return!0}comparator(){return(t,e)=>t.recurrence!==null&&e.recurrence===null?-1:t.recurrence===null&&e.recurrence!==null?1:0}supportsGrouping(){return!0}grouper(){return t=>t.recurrence!==null?["Recurring"]:["Not Recurring"]}};var Ji=class extends cr{constructor(){super(),this._filters.add("done",t=>t.isDone),this._filters.add("not done",t=>!t.isDone)}fieldName(){return"status"}supportsSorting(){return!0}comparator(){return(t,e)=>{let n=Ji.oldStatusName(t),i=Ji.oldStatusName(e);return n<i?1:n>i?-1:0}}static oldStatusName(t){return t.isDone?"Done":"Todo"}supportsGrouping(){return!0}grouper(){return t=>[Ji.oldStatusName(t)]}};var bd=class extends et{fieldNamePlural(){return this.fieldNameSingular()+"s"}fieldName(){return`${this.fieldNameSingular()}/${this.fieldNamePlural()}`}fieldPattern(){return`${this.fieldNameSingular()}|${this.fieldNamePlural()}`}filterOperatorPattern(){return`${super.filterOperatorPattern()}|include|do not include`}value(t){return this.values(t).join(", ")}getFilter(t,e){return n=>{let i=t.matchesAnyOf(this.values(n));return e?!i:i}}createGrouper(t){return new Zi(this.grouperInstruction(t),this.fieldNamePlural(),this.grouper(),t)}grouperRegExp(){if(!this.supportsGrouping())throw Error(`grouperRegExp() unimplemented for ${this.fieldNameSingular()}`);return new RegExp(`^group by ${this.fieldNamePlural()}( reverse)?$`,"i")}grouperInstruction(t){let e=`group by ${this.fieldNamePlural()}`;return t&&(e+=" reverse"),e}};var Gs=class extends bd{constructor(){super();this.filterInstructions=new wn,this.filterInstructions.add(`has ${this.fieldNameSingular()}`,e=>this.values(e).length>0),this.filterInstructions.add(`has ${this.fieldNamePlural()}`,e=>this.values(e).length>0),this.filterInstructions.add(`no ${this.fieldNameSingular()}`,e=>this.values(e).length===0),this.filterInstructions.add(`no ${this.fieldNamePlural()}`,e=>this.values(e).length===0)}createFilterOrErrorMessage(e){let n=this.filterInstructions.createFilterOrErrorMessage(e);return n.isValid()?n:super.createFilterOrErrorMessage(e)}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}fieldNameSingular(){return"tag"}values(e){return e.tags}supportsSorting(){return!0}createSorterFromLine(e){let n=e.match(this.sorterRegExp());if(n===null)return null;let i=!!n[1],s=isNaN(+n[2])?1:+n[2],a=Gs.makeCompareByTagComparator(s);return new Er(e,this.fieldNameSingular(),a,i)}sorterRegExp(){return/^sort by tag( reverse)?[\s]*(\d+)?/i}comparator(){return Gs.makeCompareByTagComparator(1)}static makeCompareByTagComparator(e){return(n,i)=>{if(n.tags.length===0&&i.tags.length===0)return 0;if(n.tags.length===0)return 1;if(i.tags.length===0)return-1;let s=e-1;if(n.tags.length<e&&i.tags.length>=e)return 1;if(i.tags.length<e&&n.tags.length>=e)return-1;if(n.tags.length<e&&i.tags.length<e)return 0;let a=n.tags[s],o=i.tags[s];return a.localeCompare(o,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return e=>e.tags.length==0?["(No tags)"]:e.tags}};var r1=ko(n1());Ll();function es(r){return new RegExp("["+Hi(r)+"]").source}var Zy=[["(",")"],["[","]"],["{","}"],['"','"']],Ei=class{constructor(t,e,n){this.openFilterChars=t,this.closeFilterChars=e,this.openAndCloseFilterChars=n,this.openFilter=es(this.openFilterChars),this.closeFilter=es(this.closeFilterChars)}static allSupportedDelimiters(){let t="",e="",n="";for(let[i,s]of Zy)t+=i,e+=s,n+=Ei.openAndClosing(i,s);return new Ei(t,e,n)}static fromInstructionLine(t){let e=t.trim(),i=/^[A-Z ]*\s*(.*)/.exec(e);if(i){let a=i[1],o=a[0],l=a.slice(-1);for(let[u,c]of Zy)if(o===u&&l===c){let d=this.openAndClosing(u,c);return new Ei(u,c,d)}}let s="All filters in a Boolean instruction must be inside one of these pairs of delimiter characters: "+Zy.map(([a,o])=>a+"..."+o).join(" or ")+". Combinations of those delimiters are no longer supported.";throw new Error(s)}static openAndClosing(t,e){let n=t;return e!=t&&(n+=e),n}};var ts=class{static preprocessExpression(t,e){let n=ts.splitLine(t,e);return ts.getFiltersAndSimplifiedLine(n,e)}static splitLine(t,e){let n=new RegExp("("+e.closeFilter+"\\s*(?:AND|OR|AND +NOT|OR +NOT|XOR)\\s*"+e.openFilter+")"),i=t.split(n),s=new RegExp("(NOT\\s*"+e.openFilter+")"),a=i.flatMap(u=>u.split(s)).filter(u=>u!==""),o=new RegExp("(^"+es(e.openFilterChars+" ")+"*)"),l=new RegExp("("+es(e.closeFilterChars+" ")+"*$)");return a.flatMap(u=>u.split(o)).flatMap(u=>u.split(l)).filter(u=>u!=="")}static getFiltersAndSimplifiedLine(t,e){let n="",i=1,s={};t.forEach(u=>{if(!ts.isAFilter(u,e))n+=`${u}`;else{let c=`f${i}`;s[c]=u,n+=c,i++}});let a=new RegExp(`(${e.closeFilter})([A-Z])`,"g");n=n.replace(a,"$1 $2");let o=new RegExp(`([A-Z])(${e.openFilter})`,"g");n=n.replace(o,"$1 $2");let l=e.openFilterChars;if(l!='"'&&l!="("){let u=new RegExp(es(l),"g");n=n.replace(u,"(");let c=e.closeFilterChars,d=new RegExp(es(c),"g");n=n.replace(d,")")}return{simplifiedLine:n,filters:s}}static isAFilter(t,e){let n=new RegExp("^"+es(" "+e.openAndCloseFilterChars)+"+$"),i=new RegExp("^ *"+e.closeFilter+" *(AND|OR|XOR) *"+e.openFilter+" *$"),s=new RegExp("^(AND|OR|XOR|NOT) *"+e.openFilter+"$"),a=new RegExp("^"+e.closeFilter+" *(AND|OR|XOR)$");return![n,i,s,a,/^(AND|OR|XOR|NOT)$/].some(l=>RegExp(l).exec(t))}};var wd=class extends Be{constructor(){super();this.supportedOperators=["AND","OR","XOR","NOT"];this.subFields={};let e=Ei.allSupportedDelimiters();this.basicBooleanRegexp=new RegExp("(.*(AND|OR|XOR|NOT)\\s*"+e.openFilter+".*|"+e.openFilter+".+"+e.closeFilter+")","g")}filterRegExp(){return this.basicBooleanRegexp}createFilterOrErrorMessage(e){return this.parseLine(e)}fieldName(){return"boolean query"}parseLine(e){if(e.length===0)return Se.fromError(e,"empty line");let n;try{n=Ei.fromInstructionLine(e)}catch(o){let l=o instanceof Error?o.message:"unknown error type";return Se.fromError(e,this.helpMessageFromSimpleError(e,l))}let i=ts.preprocessExpression(e,n),s=i.simplifiedLine,a=i.filters;try{let o=(0,r1.parse)(s);for(let c of o)if(c.name==="IDENTIFIER"&&c.value){let d=c.value.trim(),f=a[d];if(c.value=f,!(f in this.subFields)){let p=ru(f);if(p===null)return this.helpMessage(e,`couldn't parse sub-expression '${f}'`,i);if(p.error)return this.helpMessage(e,`couldn't parse sub-expression '${f}': ${p.error}`,i);p.filter&&(this.subFields[f]=p.filter)}}else if(c.name==="OPERATOR"){if(c.value==null)return this.helpMessage(e,"empty operator in boolean query",i);if(!this.supportedOperators.includes(c.value))return this.helpMessage(e,`unknown boolean operator '${c.value}'`,i)}let l=(c,d)=>this.filterTaskWithParsedQuery(c,o,d),u=this.constructExplanation(o);return Se.fromFilter(new Jt(e,l,u))}catch(o){let l=o instanceof Error?o.message:"unknown error type";return this.helpMessage(e,`malformed boolean query -- ${l} (check the documentation for guidelines)`,i)}}filterTaskWithParsedQuery(e,n,i){let s=l=>l==="true",a=l=>l?"true":"false",o=[];for(let l of n)if(l.name==="IDENTIFIER"){if(l.value==null)throw Error("null token value");let c=this.subFields[l.value.trim()].filterFunction(e,i);o.push(a(c))}else if(l.name==="OPERATOR")if(l.value==="NOT"){let u=s(o.pop());o.push(a(!u))}else if(l.value==="OR"){let u=s(o.pop()),c=s(o.pop());o.push(a(u||c))}else if(l.value==="AND"){let u=s(o.pop()),c=s(o.pop());o.push(a(u&&c))}else if(l.value==="XOR"){let u=s(o.pop()),c=s(o.pop());o.push(a(u&&!c||!u&&c))}else throw Error("Unsupported operator: "+l.value);else throw Error("Unsupported token type: "+l);return s(o[0])}constructExplanation(e){let n=[];for(let i of e)if(i.name==="IDENTIFIER")this.explainExpression(i,n);else if(i.name==="OPERATOR")this.explainOperator(i,n);else throw Error("Unsupported token type: "+i.name);return n[0]}explainExpression(e,n){if(e.value==null)throw Error("null token value");let i=this.subFields[e.value.trim()],s=this.simulateExplainFilter(i);n.push(s)}simulateExplainFilter(e){return e.simulateExplainFilter()}explainOperator(e,n){if(e.value==="NOT"){let i=n.pop();n.push(ze.booleanNot([i]))}else if(e.value==="OR"){let i=n.pop(),s=n.pop();n.push(ze.booleanOr([s,i]))}else if(e.value==="AND"){let i=n.pop(),s=n.pop();n.push(ze.booleanAnd([s,i]))}else if(e.value==="XOR"){let i=n.pop(),s=n.pop();n.push(ze.booleanXor([s,i]))}else throw Error("Unsupported operator: "+e.value)}helpMessage(e,n,i){let s=i.filters,a=this.stringifySubExpressionsForErrorMessage(s),l=`${this.helpMessageFromSimpleError(e,n)}

The instruction was converted to the following simplified line:
    ${i.simplifiedLine}

Where the sub-expressions in the simplified line are:
${a}

For help, see:
    https://publish.obsidian.md/tasks/Queries/Combining+Filters
`;return Se.fromError(e,l)}stringifySubExpressionsForErrorMessage(e){return Object.entries(e).map(([n,i])=>`    '${n}': '${i}'
        => ${this.stringifySubExpressionStatus(i)}`).join(`
`)}stringifySubExpressionStatus(e){let n=ru(e);return n?n.error?`ERROR:
           ${n.error.split(`
`).map(s=>s.trim()).join(`
           `)}`:"OK":`ERROR:
           do not understand query`}helpMessageFromSimpleError(e,n){return`Could not interpret the following instruction as a Boolean combination:
    ${e}

The error message is:
    ${n}`}};var Sd=class extends et{fieldName(){return"filename"}value(t){let e=t.filename;return e===null?"":e+".md"}supportsSorting(){return!0}supportsGrouping(){return!0}grouper(){return t=>{let e=t.filename;return e===null?["Unknown Location"]:["[["+e+"]]"]}}};var oo=class extends Be{canCreateFilterForLine(t){return!1}createFilterOrErrorMessage(t){return Se.fromError(t,"Filtering by urgency is not yet supported")}fieldName(){return"urgency"}filterRegExp(){throw Error(`filterRegExp() unimplemented for ${this.fieldName()}`)}supportsSorting(){return!0}comparator(){return(t,e)=>e.urgency-t.urgency}supportsGrouping(){return!0}grouper(){return t=>[`${t.urgency.toFixed(2)}`]}createGrouper(t){return super.createGrouper(!t)}grouperInstruction(t){return super.grouperInstruction(!t)}};var Dd=class extends et{constructor(){super()}fieldName(){return"status.name"}value(t){return t.status.name}supportsSorting(){return!0}supportsGrouping(){return!0}};In();var Xr=class extends Be{canCreateFilterForLine(t){let e=new RegExp(`^(?:${this.fieldNameSingularEscaped()})`,"i");return Be.lineMatchesFilter(e,t)}createFilterOrErrorMessage(t){let e=Be.getMatch(this.filterRegExp(),t);if(e===null)return this.helpMessage(t);let n=e[1].toLowerCase(),i=e[2],s=zt[i.toUpperCase()];if(!s)return this.helpMessage(t);let a;switch(n){case"is":a=o=>o.status.type===s;break;case"is not":a=o=>o.status.type!==s;break;default:return this.helpMessage(t)}return Se.fromFilter(new Jt(t,a,new ze(t)))}filterRegExp(){return new RegExp(`^(?:${this.fieldNameSingularEscaped()}) (is|is not) ([^ ]+)$`,"i")}helpMessage(t){let e=Object.values(zt).filter(i=>i!=="EMPTY").join(" "),n=`Invalid ${this.fieldNameSingular()} instruction: '${t}'.
    Allowed options: 'is' and 'is not' (without quotes).
    Allowed values:  ${e}
                     Note: values are case-insensitive,
                           so 'in_progress' works too, for example.
    Example:         ${this.fieldNameSingular()} is not NON_TASK`;return Se.fromError(t,n)}fieldName(){return"status.type"}value(t){return t.status.type}supportsSorting(){return!0}comparator(){return(t,e)=>{let n=Xr.groupName(t),i=Xr.groupName(e);return n.localeCompare(i,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return t=>[Xr.groupName(t)]}static groupName(t){return t.status.typeGroupText}};var Ed=class extends et{fieldName(){return"recurrence"}value(t){return t.recurrence!==null?t.recurrence.toText():""}supportsGrouping(){return!0}grouper(){return t=>t.recurrence!==null?[t.recurrence.toText()]:["None"]}};var Od=class extends et{fieldName(){return"folder"}value(t){return t.file.folder}supportsGrouping(){return!0}grouper(){return t=>[et.escapeMarkdownCharacters(this.value(t))]}};var xd=class extends et{fieldName(){return"root"}value(t){return t.file.root}supportsGrouping(){return!0}grouper(){return t=>[et.escapeMarkdownCharacters(this.value(t))]}};var Rd=class extends et{fieldName(){return"backlink"}value(t){let e=t.getLinkText({isFilenameUnique:!0});return e===null?"Unknown Location":e}createFilterOrErrorMessage(t){return Se.fromError(t,"backlink field does not support filtering")}canCreateFilterForLine(t){return!1}supportsGrouping(){return!0}grouper(){return t=>{let e=t.filename;if(e===null)return["Unknown Location"];let n=t.precedingHeader;return n===null?["[["+e+"]]"]:[`[[${e}#${n}|${e} > ${n}]]`]}}};var Cd=class extends Mt{fieldName(){return"cancelled"}date(t){return t.cancelledDate}filterResultIfFieldMissing(){return!1}};var Md=class extends cr{constructor(){super(),this._filters.add("is blocking",(t,e)=>t.isBlocking(e.allTasks)),this._filters.add("is not blocking",(t,e)=>!t.isBlocking(e.allTasks)),this._filters.add("is blocked",(t,e)=>t.isBlocked(e.allTasks)),this._filters.add("is not blocked",(t,e)=>!t.isBlocked(e.allTasks))}fieldName(){return"blocking"}};var Ad=class extends et{constructor(){super();this.filterInstructions=new wn;this.filterInstructions.add("has id",e=>e.id.length>0),this.filterInstructions.add("no id",e=>e.id.length===0)}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){let n=this.filterInstructions.createFilterOrErrorMessage(e);return n.isValid()?n:super.createFilterOrErrorMessage(e)}fieldName(){return"id"}value(e){return e.id}supportsSorting(){return!0}supportsGrouping(){return!0}};var Pd=class extends Be{constructor(){super();this.filterInstructions=new wn;this.filterInstructions.add("has depends on",e=>e.dependsOn.length>0),this.filterInstructions.add("no depends on",e=>e.dependsOn.length===0)}canCreateFilterForLine(e){return this.filterInstructions.canCreateFilterForLine(e)?!0:super.canCreateFilterForLine(e)}createFilterOrErrorMessage(e){let n=this.filterInstructions.createFilterOrErrorMessage(e);return n.isValid()?n:Se.fromError(e,"Unknown instruction")}fieldName(){return"blocked by"}filterRegExp(){return null}};var Nd=class extends cr{fieldName(){return"random"}supportsSorting(){return!0}comparator(){return(t,e)=>this.sortKey(t)-this.sortKey(e)}sortKey(t){let e=i=>{let s=0,a=9;for(;s<i.length;)a=Math.imul(a^i.charCodeAt(s++),387420489);return a^a>>>9},n=window.moment().format("Y-MM-DD");return e(n+" "+t.description)}};var Jy=[()=>new Dd,()=>new Xr,()=>new Ji,()=>new yd,()=>new Hs,()=>new gd,()=>new Cd,()=>new ld,()=>new hd,()=>new md,()=>new Za,()=>new ud,()=>new Ja,()=>new Od,()=>new xd,()=>new Rd,()=>new Di,()=>new Gs,()=>new pd,()=>new cd,()=>new Sd,()=>new oo,()=>new Ed,()=>new fd,()=>new Ad,()=>new Pd,()=>new Md,()=>new Nd,()=>new wd];function ru(r){for(let t of Jy){let e=t();if(e.canCreateFilterForLine(r))return e.createFilterOrErrorMessage(r)}return null}function i1(r){let t=/^sort by /i;if(r.match(t)===null)return null;for(let e of Jy){let i=e().createSorterFromLine(r);if(i)return i}return null}function s1(r){let t=/^group by /i;if(r.match(t)===null)return null;for(let e of Jy){let i=e().createGrouperFromLine(r);if(i)return i}return null}var Id=class{constructor(t,e,n){this.nestingLevel=t,this.displayName=e,this.property=n}};var Fd=class{constructor(t,e){this.lastHeadingAtLevel=new Array;this.groupers=e;let i=t.keys().next().value.length;for(let s=0;s<i;s++)this.lastHeadingAtLevel.push("")}getHeadingsForTaskGroup(t){let e=new Array;for(let n=0;n<t.length;n++){let i=t[n];if(i!=this.lastHeadingAtLevel[n]){e.push(new Id(n,i,this.groupers[n].property));for(let s=n;s<t.length;s++)this.lastHeadingAtLevel[s]="";this.lastHeadingAtLevel[n]=i}}return e}};var Ld=class{constructor(t){this.children=new Map;this.values=[];this.values=t}generateAllPaths(t=[]){let e=new Map;if(this.children.size==0)return e.set([...t],this.values),e;for(let[n,i]of this.children)t.push(n),i.generateAllPaths(t).forEach((a,o)=>e.set(o,a)),t.pop();return e}};var Ud=class extends Ld{},Yd=class{constructor(t,e,n){this.root=new Ud(e),this.buildGroupingTree(t,n)}buildGroupingTree(t,e){let n=[this.root];for(let i of t){let s=[];for(let a of n)for(let o of a.values){let l=i.grouper(o,e);l.length===0&&l.push("");for(let u of l){let c=a.children.get(u);c===void 0&&(c=new Ud([]),a.children.set(u,c),s.push(c)),c.values.push(o)}}n=s}}generateTaskTreeStorage(){return this.root.generateAllPaths()}};var qd=class{constructor(t,e){this.groups=t,this.groupHeadings=[],this.tasks=e}setGroupHeadings(t){for(let e of t)this.groupHeadings.push(e)}applyTaskLimit(t){this.tasks=this.tasks.slice(0,t)}tasksAsStringOfLines(){let t="";for(let e of this.tasks)t+=e.toFileLineString()+`
`;return t}toString(){let t=`
`;for(let e of this.groupHeadings)t+=`${"#".repeat(Math.min(4+e.nestingLevel,6))} ${e.displayName}

`;return t+=this.tasksAsStringOfLines(),t}};var zs=class{constructor(t,e,n){this._groups=new Array;this._totalTaskCount=0;this._totalTaskCount=e.length,this._groupers=t;let s=new Yd(t,e,n).generateTaskTreeStorage();this.addTaskGroups(s),this.sortTaskGroups(),this.setGroupsHeadings(s)}get groupers(){return this._groupers}get groups(){return this._groups}totalTasksCount(){return this._totalTaskCount}toString(){let t="";for(let e of this.groups)t+=e.toString();return t}addTaskGroups(t){for(let[e,n]of t){let i=new qd(e,n);this.addTaskGroup(i)}}addTaskGroup(t){this._groups.push(t)}sortTaskGroups(){let t=(e,n)=>{let i=e.groups,s=n.groups;for(let a=0;a<i.length;a++){let o=this._groupers[a],l=i[a].localeCompare(s[a],void 0,{numeric:!0});if(l!==0)return o.reverse?-l:l}return 0};this._groups.sort(t)}setGroupsHeadings(t){let e=new Fd(t,this._groupers);for(let n of this._groups)n.setGroupHeadings(e.getHeadingsForTaskGroup(n.groups))}applyTaskLimit(t){this._groupers.length!==0&&(this._groups.forEach(e=>{e.applyTaskLimit(t)}),this.recalculateTotalTaskCount())}recalculateTotalTaskCount(){let t=[];this._groups.forEach(n=>{t=[...t,...n.tasks]});let e=[...new Set(t)];this._totalTaskCount=e.length}};var Oi=class{constructor(t,e){this.tasksFile=t,this.allTasks=[...e],this._queryContext=this.tasksFile?qy(this.tasksFile,this.allTasks):void 0}static fromAllTasks(t){return new Oi(void 0,t)}get queryPath(){var t,e;return(e=(t=this.tasksFile)==null?void 0:t.path)!=null?e:void 0}queryContext(){return this._queryContext}};function a1(r){return`task${r!==1?"s":""}`}var xi=class{constructor(t,e,n){this.totalTasksCountBeforeLimit=0;this._searchErrorMessage=void 0;this.taskGroups=t,this.totalTasksCountBeforeLimit=e,this._tasksFile=n}get searchErrorMessage(){return this._searchErrorMessage}set searchErrorMessage(t){this._searchErrorMessage=t}get totalTasksCount(){return this.taskGroups.totalTasksCount()}totalTasksCountDisplayText(){let t=this.totalTasksCount,e=this.totalTasksCountBeforeLimit;return t===e?`${t} ${a1(t)}`:`${t} of ${e} ${a1(e)}`}get groups(){return this.taskGroups.groups}static fromError(t){let e=new xi(new zs([],[],Oi.fromAllTasks([])),0,void 0);return e._searchErrorMessage=t,e}asMarkdown(){let t="";return t+=this.taskGroups.groups.map(e=>this.toString(e)).join(""),t}toString(t){let e=`
`;for(let n of t.groupHeadings)e+=`${"#".repeat(Math.min(4+n.nestingLevel,6))} ${n.displayName}

`;return e+=this.tasksAsStringOfLines(t.tasks),e}tasksAsStringOfLines(t){let e="";for(let n of t)e+=this.toFileLineString(n)+`
`;return e}toFileLineString(t){return`- [${t.status.symbol}] ${t.toString()}`}applyFilter(t){if(this._searchErrorMessage)return xi.fromError(this._searchErrorMessage);let e=this.taskGroups.groups.flatMap(a=>a.tasks),n=new Oi(this._tasksFile,e),i=a=>t.filterFunction(a,n),s=[...new Set(e.filter(i))];return new xi(new zs(this.taskGroups.groupers,s,n),this.totalTasksCountBeforeLimit,this._tasksFile)}};function o1(r){return r.endsWith("\\")}function l1(r){return r.endsWith("\\\\")}function Nq(r){return r.replace(/^[ \t]*/,"")}function Iq(r){return r.replace(/[ \t]*\\$/,"")}function Fq(r,t){let e=r;return t&&(e=Nq(r)),l1(e)?e=e.slice(0,-1):o1(r)&&(e=Iq(e)),e}function Wd(r){let t=[],e=!1,n="",i="",s=r+`
`;for(let a of s.split(`
`)){let o=Fq(a,e);e?(n+=`
`+a,i+=" "+o):(n=a,i=o),l1(a)?e=!1:e=o1(a),e||(i.trim()!==""&&t.push(new fn(n,i)),n="",i="")}return t}function u1(r){return Wd(r).map(t=>t.anyContinuationLinesRemoved)}var lo=class{static by(t,e,n){let i=this.defaultSorters().map(a=>a.comparator),s=[];for(let a of t)s.push(a.comparator);return e.sort(lo.makeCompositeComparator([...s,...i],n))}static defaultSorters(){return[new Xr().createNormalSorter(),new oo().createNormalSorter(),new Za().createNormalSorter(),new Hs().createNormalSorter(),new Ja().createNormalSorter()]}static makeCompositeComparator(t,e){return(n,i)=>{for(let s of t){let a=s(n,i,e);if(a!==0)return a}return 0}}};var c1=0,pn=class{constructor(t,e=void 0){this.statements=[];this._limit=void 0;this._taskGroupLimit=void 0;this._taskLayoutOptions=new Wr;this._queryLayoutOptions=new Qi;this.layoutStatements=[];this._filters=[];this._error=void 0;this._sorting=[];this._grouping=[];this._ignoreGlobalQuery=!1;this.hideOptionsRegexp=/^(hide|show) +(.*)/i;this.shortModeRegexp=/^short/i;this.fullModeRegexp=/^full/i;this.explainQueryRegexp=/^explain/i;this.ignoreGlobalQueryRegexp=/^ignore global query/i;this.logger=cn.getLogger("tasks.Query");this.limitRegexp=/^limit (groups )?(to )?(\d+)( tasks?)?/i;this.commentRegexp=/^#.*/;this.presetRegexp=/^preset +(.*)/i;this._queryId=this.generateQueryId(10),this.source=t,this.tasksFile=e;let n=Wd(t);for(let i of n){let s=this.expandPlaceholders(i,e);if(this.error!==void 0)return;this.statements.push(...s)}for(let i of this.statements)try{if(this.parseLine(i),this.error!==void 0)return}catch(s){let a;s instanceof Error?a=s.message:a="Unknown error",this.setError(a,i);return}}removeIllegalGlobalQueryInstructions(){this._ignoreGlobalQuery=!1}get filePath(){var t,e;return(e=(t=this.tasksFile)==null?void 0:t.path)!=null?e:void 0}get queryId(){return this._queryId}parseLine(t){let e=t.anyPlaceholdersExpanded;switch(!0){case this.presetRegexp.test(e):this.parsePreset(e,t);break;case this.shortModeRegexp.test(e):this._queryLayoutOptions.shortMode=!0,this.saveLayoutStatement(t);break;case this.fullModeRegexp.test(e):this._queryLayoutOptions.shortMode=!1,this.saveLayoutStatement(t);break;case this.explainQueryRegexp.test(e):this._queryLayoutOptions.explainQuery=!0;break;case this.ignoreGlobalQueryRegexp.test(e):this._ignoreGlobalQuery=!0;break;case this.limitRegexp.test(e):this.parseLimit(e);break;case this.parseSortBy(e,t):break;case this.parseGroupBy(e,t):break;case this.hideOptionsRegexp.test(e):this.parseHideOptions(t);break;case this.commentRegexp.test(e):break;case this.parseFilter(e,t):break;default:this.setError("do not understand query",t)}}formatQueryForLogging(){return`
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
${this.source}
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<
`}expandPlaceholders(t,e){let n=t.anyContinuationLinesRemoved;if(n.includes("{{")&&n.includes("}}")&&this.tasksFile===void 0)return this._error=`The query looks like it contains a placeholder, with "{{" and "}}"
but no file path has been supplied, so cannot expand placeholder values.
The query is:
${n}`,[t];if(this.commentRegexp.test(n))return[t];let s=n;if(e){let a=Yy(e),o="";try{let u=0;for(;s!==o&&u<10;)o=s,s=Uy(o,a),u++;s!==n&&(s=Wd(s).map(c=>c.anyContinuationLinesRemoved).join(`
`))}catch(l){return l instanceof Error?this._error=l.message:this._error="Internal error. expandPlaceholders() threw something other than Error.",[t]}}return this.createStatementsFromExpandedPlaceholders(s,t)}createStatementsFromExpandedPlaceholders(t,e){let n=t.split(`
`).map(i=>i.trim()).filter(i=>i.length>0);return n.length===1?(e.recordExpandedPlaceholders(n[0]),[e]):n.map((i,s)=>{let a=`: statement ${s+1} after expansion of placeholder`,o=new fn(e.rawInstruction+a,e.anyContinuationLinesRemoved+a);return o.recordExpandedPlaceholders(i),o})}append(t){return this.source===""?t:t.source===""?this:new pn(`${this.source}
${t.source}`,this.tasksFile)}explainQuery(){return new Ka().explainQuery(this)}get limit(){return this._limit}get taskGroupLimit(){return this._taskGroupLimit}get taskLayoutOptions(){return this._taskLayoutOptions}get queryLayoutOptions(){return this._queryLayoutOptions}get filters(){return this._filters}addFilter(t){this._filters.push(t)}get sorting(){return this._sorting}get grouping(){return this._grouping}get error(){return this._error}setError(t,e){this._error=pn.generateErrorMessage(e,t)}static generateErrorMessage(t,e){return t.allLinesIdentical()?`${e}
Problem line: "${t.rawInstruction}"`:`${e}
Problem statement:
${t.explainStatement("    ")}
`}get ignoreGlobalQuery(){return this._ignoreGlobalQuery}applyQueryToTasks(t){this.debug(`[search] Executing query: ${this.formatQueryForLogging()}`);let e=new Oi(this.tasksFile,t),n;try{this.filters.forEach(l=>{n=l.statement,t=t.filter(u=>l.filterFunction(u,e))}),n=void 0;let{debugSettings:i}=te(),s=i.ignoreSortInstructions?t:lo.by(this.sorting,t,e),a=s.slice(0,this.limit),o=new zs(this.grouping,a,e);return this._taskGroupLimit!==void 0&&o.applyTaskLimit(this._taskGroupLimit),new xi(o,s.length,this.tasksFile)}catch(i){let a=js("Search failed",i);return n&&(a=pn.generateErrorMessage(n,a)),xi.fromError(a)}}parseHideOptions(t){let e=t.anyPlaceholdersExpanded,n=e.match(this.hideOptionsRegexp);if(n===null)return;let i=n[1].toLowerCase()==="hide",s=n[2].toLowerCase();if(IE(this._queryLayoutOptions,s,i)){this.saveLayoutStatement(t);return}if(AS(this._taskLayoutOptions,s,!i)){this.saveLayoutStatement(t);return}this.setError("do not understand hide/show option",new fn(e,e))}saveLayoutStatement(t){this.layoutStatements.push(t)}parseFilter(t,e){var i;let n=ru(t);return n!=null?(n.filter?(n.filter.setStatement(e),this._filters.push(n.filter)):this.setError((i=n.error)!=null?i:"Unknown error",e),!0):!1}parseLimit(t){let e=t.match(this.limitRegexp);if(e===null){this.setError("do not understand query limit",new fn(t,t));return}let n=Number.parseInt(e[3],10);e[1]!==void 0?this._taskGroupLimit=n:this._limit=n}parseSortBy(t,e){let n=i1(t);return n?(n.setStatement(e),this._sorting.push(n),!0):!1}parseGroupBy(t,e){let n=s1(t);return n?(n.setStatement(e),this._grouping.push(n),!0):!1}parsePreset(t,e){let n=this.presetRegexp.exec(t);if(n){let i=n[1].trim(),{presets:s}=te(),a=s[i];if(!a){this.setError(BS(i,s),e);return}let o=u1(a);for(let l of o){let u=new fn(e.rawInstruction,e.anyContinuationLinesRemoved);if(u.recordExpandedPlaceholders(l),l.includes("{{")&&l.includes("}}")&&this.tasksFile){let c=Yy(this.tasksFile),d=Uy(l,c);u.recordExpandedPlaceholders(d)}this.parseLine(u)}}}generateQueryId(t){return c1+=1,c1.toString().padStart(t,"0")}debug(t,e){this.logger.debugWithId(this._queryId,`"${this.filePath}": ${t}`,e)}warn(t,e){this.logger.warnWithId(this._queryId,`"${this.filePath}": ${t}`,e)}};var eb=[{name:"TQ_show_toolbar",type:"checkbox",display:"toolbar",handler:"showAndHide"},{name:"TQ_explain",type:"checkbox",display:"explain",handler:"instruction",trueValue:"explain",falseValue:""},{name:"TQ_short_mode",type:"checkbox",display:"short mode",handler:"instruction",trueValue:"short mode",falseValue:"full mode"},{name:"TQ_show_tree",type:"checkbox",display:"tree",handler:"showAndHide"},{name:"TQ_show_tags",type:"checkbox",display:"tags",handler:"showAndHide"},{name:"TQ_show_id",type:"checkbox",display:"id",handler:"showAndHide"},{name:"TQ_show_depends_on",type:"checkbox",display:"depends on",handler:"showAndHide"},{name:"TQ_show_priority",type:"checkbox",display:"priority",handler:"showAndHide"},{name:"TQ_show_recurrence_rule",type:"checkbox",display:"recurrence rule",handler:"showAndHide"},{name:"TQ_show_on_completion",type:"checkbox",display:"on completion",handler:"showAndHide"},{name:"TQ_show_created_date",type:"checkbox",display:"created date",handler:"showAndHide"},{name:"TQ_show_start_date",type:"checkbox",display:"start date",handler:"showAndHide"},{name:"TQ_show_scheduled_date",type:"checkbox",display:"scheduled date",handler:"showAndHide"},{name:"TQ_show_due_date",type:"checkbox",display:"due date",handler:"showAndHide"},{name:"TQ_show_cancelled_date",type:"checkbox",display:"cancelled date",handler:"showAndHide"},{name:"TQ_show_done_date",type:"checkbox",display:"done date",handler:"showAndHide"},{name:"TQ_show_urgency",type:"checkbox",display:"urgency",handler:"showAndHide"},{name:"TQ_show_backlink",type:"checkbox",display:"backlink",handler:"showAndHide"},{name:"TQ_show_edit_button",type:"checkbox",display:"edit button",handler:"showAndHide"},{name:"TQ_show_postpone_button",type:"checkbox",display:"postpone button",handler:"showAndHide"},{name:"TQ_show_task_count",type:"checkbox",display:"task count",handler:"showAndHide"},{name:"TQ_extra_instructions",type:"text",handler:"addValue"}],Ri=class{source(t){return t?eb.map(n=>this.generateInstruction(t,n)).filter(n=>n!=="").join(`
`):""}generateInstruction(t,e){let n=t.hasProperty(e.name),i=t.property(e.name);switch(e.handler){case"instruction":return n&&(i?e.trueValue:e.falseValue)||"";case"showAndHide":return n&&(i?"show "+e.display:"hide "+e.display)||"";case"addValue":return n&&i||"";default:throw new Error("Unknown handler type: "+e.handler+".")}}query(t){return new pn(this.source(t),t)}allPropertyNames(){return eb.map(t=>t.name)}allPropertyNamesSorted(){return this.allPropertyNames().sort((t,e)=>t.localeCompare(e))}propertyType(t){var e,n;return(n=(e=eb.find(i=>i.name===t))==null?void 0:e.type)!=null?n:void 0}metaBindPluginWidgets(){return"\ntoolbar: `INPUT[toggle:TQ_show_toolbar]`\nshort mode: `INPUT[toggle:TQ_short_mode]`\ntree: `INPUT[toggle:TQ_show_tree]`\ntags: `INPUT[toggle:TQ_show_tags]`\nid: `INPUT[toggle:TQ_show_id]` depends on: `INPUT[toggle:TQ_show_depends_on]`\npriority: `INPUT[toggle:TQ_show_priority]`\nrecurrence rule: `INPUT[toggle:TQ_show_recurrence_rule]` on completion: `INPUT[toggle:TQ_show_on_completion]`\nstart date: `INPUT[toggle:TQ_show_start_date]` scheduled date: `INPUT[toggle:TQ_show_scheduled_date]` due date: `INPUT[toggle:TQ_show_due_date]`\ncreated date: `INPUT[toggle:TQ_show_created_date]` cancelled date: `INPUT[toggle:TQ_show_cancelled_date]` done date: `INPUT[toggle:TQ_show_done_date]`\nurgency: `INPUT[toggle:TQ_show_urgency]`\nbacklink: `INPUT[toggle:TQ_show_backlink]`\nedit button: `INPUT[toggle:TQ_show_edit_button]` postpone button: `INPUT[toggle:TQ_show_postpone_button]`\ntask count: `INPUT[toggle:TQ_show_task_count]`\nextra instructions: `INPUT[textArea:TQ_extra_instructions]`\nexplain: `INPUT[toggle:TQ_explain]`\n"}};function d1(r,t){return A(this,null,function*(){yield r.fileManager.processFrontMatter(t,e=>{let n=new Ri().allPropertyNamesSorted(),i=!1;n.forEach(s=>{s in e||(e[s]=null,i=!0)}),i?new tb.Notice("Properties updated successfully."):new tb.Notice("All supported properties are already present.")})})}var $d=class{get app(){return this.plugin.app}constructor({plugin:t}){this.plugin=t,t.addCommand({id:"edit-task",name:"Create or edit task",icon:"pencil",editorCheckCallback:(e,n,i)=>PE(e,n,i,this.app,this.plugin.getTasks(),()=>A(this,null,function*(){return yield this.plugin.saveSettings()}))}),t.addCommand({id:"toggle-done",name:"Toggle task done",icon:"check-in-circle",editorCheckCallback:NE}),t.addCommand({id:"add-query-file-defaults-properties",name:"Add all Query File Defaults properties",icon:"settings",checkCallback:e=>{let n=this.app.workspace.getActiveFile();return!n||n.extension!=="md"?!1:(e||this.ensureQueryFileDefaultsFrontmatter(n).catch(console.error),!0)}})}ensureQueryFileDefaultsFrontmatter(t){return A(this,null,function*(){let{app:e}=this;yield d1(e,t)})}};var Ci=class{constructor(t=Ci.empty){this._source=t}static getInstance(){return Ci.instance||(Ci.instance=new Ci),Ci.instance}set(t){this._source=t}reset(){this._source=Ci.empty}query(t=void 0){let e=new pn(this._source,t);return e.removeIllegalGlobalQueryInstructions(),e}hasInstructions(){return this._source.trim()!==Ci.empty}},Gn=Ci;Gn.empty="";As();var jd=class{constructor({obsidianEvents:t}){this.logger=cn.getLogger("tasks.Events");this.obsidianEvents=t}onCacheUpdate(t){this.logger.debug("TasksEvents.onCacheUpdate()");let e="obsidian-tasks-plugin:cache-update";return this.obsidianEvents.on(e,t)}triggerCacheUpdate(t){this.logger.debug("TasksEvents.triggerCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:cache-update",t)}onRequestCacheUpdate(t){this.logger.debug("TasksEvents.onRequestCacheUpdate()");let e="obsidian-tasks-plugin:request-cache-update";return this.obsidianEvents.on(e,t)}triggerRequestCacheUpdate(t){this.logger.debug("TasksEvents.triggerRequestCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:request-cache-update",t)}onReloadOpenSearchResults(t){this.logger.debug("TasksEvents.onReloadOpenSearchResults()");let e="obsidian-tasks-plugin:reload-open-search-results";return this.obsidianEvents.on(e,t)}triggerReloadOpenSearchResults(){this.logger.debug("TasksEvents.triggerReloadOpenSearchResults()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:reload-open-search-results")}onReloadVault(t){this.logger.debug("TasksEvents.onReloadVault()");let e="obsidian-tasks-plugin:reload-vault";return this.obsidianEvents.on(e,t)}triggerReloadVault(){this.logger.debug("TasksEvents.triggerReloadVault()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:reload-vault")}off(t){this.logger.debug("TasksEvents.off()"),this.obsidianEvents.offref(t)}};var F1=require("obsidian");un();Es();Ut();var I1=require("obsidian");un();vt();Ut();Bi();Wc();function f1(r){for(let e of me.allDateFields()){let n=r[e];if(n&&!n.isValid())return!1}let t=r.happensDates.some(e=>!!(e!=null&&e.isValid()));return!r.isDone&&t}function uo(r){return r.dueDate?"dueDate":r.scheduledDate?"scheduledDate":r.startDate?"startDate":null}function nb(r,t,e,n){let i=r[t];return h1(i,r,t,e,n)}function p1(r,t,e,n){let i=window.moment();return h1(i,r,t,e,n)}function m1(r,t,e,n){return g1(r,t,null)}function h1(r,t,e,n,i){let s=new Yt(r).postpone(n,i);return g1(t,e,s)}function g1(r,t,e){let n=qt.removeInferredStatusIfNeeded(r,[new me(pe(U({},r),{[t]:e}))])[0];return{postponedDate:e,postponedTask:n}}function y1(r,t){if(r){let e=r==null?void 0:r.format("DD MMM YYYY");return`Task's ${t} changed to ${e}`}else return`Task's ${t} removed`}function b1(r,t,e){return`\u2139\uFE0F ${rb(r,t,e)} (right-click for more options)`}function rb(r,t,e){let n=uo(r),i=r[n];return co(n,i,t,e)}function T1(r,t,e){let n=uo(r),i=window.moment().startOf("day");return co(n,i,t,e)}function v1(r,t,e){let n=uo(r);return ib(n,r)}function ib(r,t){return r==="scheduledDate"&&t.scheduledDateIsInferred?"Cannot remove inferred scheduled date":`Remove ${Hd(r)}`}function Lq(r){return qa(r.replace("Date",""))}function Hd(r){return r.replace("Date"," date")}function co(r,t,e,n){let s=new Yt(t).postpone(n,e).format("ddd Do MMM"),a=e!=1?e:"a";if(t.isSameOrBefore(window.moment(),"day")){let l=Lq(r);return(e>=0?`${l} in ${a} ${n}, on ${s}`:`${l} ${-a} ${n} ago, on ${s}`).replace(" 1 day ago"," yesterday").replace(" in 0 days"," today").replace("in a day","tomorrow")}let o=Hd(r);return e>=0?`Postpone ${o} by ${a} ${n}, to ${s}`:`Backdate ${o} by ${-a} ${n}, to ${s}`}Es();$r();Ut();ri();function k1(r){return["startDate","scheduledDate","dueDate"].includes(r)}Ut();Wc();var sb="---",fo=class{apply(t){throw new Error("MenuDividerInstruction.apply(): Method not implemented.")}instructionDisplayName(){return sb}isCheckedForTask(t){return!1}};var ns=class{constructor(t,e,n){this.newDate=e,this.dateFieldToEdit=t,this.displayName=n!=null?n:`Set Date: ${this.newDate.toDateString()}`}apply(t){return this.isCheckedForTask(t)?[t]:[new me(pe(U({},t),{[this.dateFieldToEdit]:window.moment(this.newDate)}))]}instructionDisplayName(){return this.displayName}isCheckedForTask(t){var e;return((e=t[this.dateFieldToEdit])==null?void 0:e.isSame(window.moment(this.newDate)))||!1}},xr=class extends ns{constructor(t,e,n,i){var l;let s=(l=e[t])!=null?l:window.moment(),a=co(t,s,n,i),o=new Yt(window.moment(s)).postpone(i,n).toDate();super(t,o,a)}},iu=class{constructor(t,e){this.dateFieldToEdit=t,this.displayName=ib(t,e)}apply(t){let e=this.dateFieldToEdit==="scheduledDate"&&t.scheduledDateIsInferred;return t[this.dateFieldToEdit]===null||e?[t]:[new me(pe(U({},t),{[this.dateFieldToEdit]:null}))]}instructionDisplayName(){return this.displayName}isCheckedForTask(t){return!1}};function _1(r,t){return S1(t,r,1)}function w1(r,t){return S1(t,r,-1)}function S1(r,t,e){let n=window.moment().startOf("day"),i=n.toDate(),s=new Yt(n.clone());return[new ns(t,i,co(t,n,0,"days")),new ns(t,s.postpone("day",e).toDate(),co(t,n,e,"day")),new fo,new xr(t,r,e*2,"days"),new xr(t,r,e*3,"days"),new xr(t,r,e*4,"days"),new xr(t,r,e*5,"days"),new xr(t,r,e*6,"days"),new fo,new xr(t,r,e,"week"),new xr(t,r,e*2,"weeks"),new xr(t,r,e*3,"weeks"),new xr(t,r,e,"month"),new fo,new iu(t,r)]}var D1=require("obsidian");function Zr(r,t){return A(this,null,function*(){yield $n({originalTask:r,newTasks:t})})}function su(r,t){r.preventDefault(),r.stopPropagation(),t.showAtPosition({x:r.clientX,y:r.clientY})}var rs=class extends D1.Menu{constructor(e){super();this.taskSaver=e}addItemsForInstructions(e,n){for(let i of e)this.addItemForInstruction(n,i)}addItemForInstruction(e,n){n.instructionDisplayName()===sb?this.addSeparator():this.addItem(i=>this.getMenuItemCallback(e,i,n))}getMenuItemCallback(e,n,i){n.setTitle(i.instructionDisplayName()).setChecked(i.isCheckedForTask(e)).onClick(()=>A(this,null,function*(){let s=i.apply(e);(s.length!==1||!Object.is(s[0],e))&&(yield this.taskSaver(e,s))}))}};var Gd=class extends rs{constructor(t,e,n=Zr){super(n);let i=k1(t)?_1(t,e):w1(t,e);this.addItemsForInstructions(i,e)}};var Bd=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],is={_disable:[],allowInput:!1,allowInvalidPreload:!1,altFormat:"F j, Y",altInput:!1,altInputClass:"form-control input",animate:typeof window=="object"&&window.navigator.userAgent.indexOf("MSIE")===-1,ariaDateFormat:"F j, Y",autoFillDefaultTime:!0,clickOpens:!0,closeOnSelect:!0,conjunction:", ",dateFormat:"Y-m-d",defaultHour:12,defaultMinute:0,defaultSeconds:0,disable:[],disableMobile:!1,enableSeconds:!1,enableTime:!1,errorHandler:function(r){return typeof console!="undefined"&&console.warn(r)},getWeek:function(r){var t=new Date(r.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var e=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-e.getTime())/864e5-3+(e.getDay()+6)%7)/7)},hourIncrement:1,ignoredFocusElements:[],inline:!1,locale:"default",minuteIncrement:5,mode:"single",monthSelectorType:"dropdown",nextArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M13.207 8.472l-7.854 7.854-0.707-0.707 7.146-7.146-7.146-7.148 0.707-0.707 7.854 7.854z' /></svg>",noCalendar:!1,now:new Date,onChange:[],onClose:[],onDayCreate:[],onDestroy:[],onKeyDown:[],onMonthChange:[],onOpen:[],onParseConfig:[],onReady:[],onValueUpdate:[],onYearChange:[],onPreCalendarPosition:[],plugins:[],position:"auto",positionElement:void 0,prevArrow:"<svg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' viewBox='0 0 17 17'><g></g><path d='M5.207 8.471l7.146 7.147-0.707 0.707-7.853-7.854 7.854-7.853 0.707 0.707-7.147 7.146z' /></svg>",shorthandCurrentMonth:!1,showMonths:1,static:!1,time_24hr:!1,weekNumbers:!1,wrap:!1};var Vd={weekdays:{shorthand:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],longhand:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},months:{shorthand:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],longhand:["January","February","March","April","May","June","July","August","September","October","November","December"]},daysInMonth:[31,28,31,30,31,30,31,31,30,31,30,31],firstDayOfWeek:0,ordinal:function(r){var t=r%100;if(t>3&&t<21)return"th";switch(t%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},rangeSeparator:" to ",weekAbbreviation:"Wk",scrollTitle:"Scroll to increment",toggleTitle:"Click to toggle",amPM:["AM","PM"],yearAriaLabel:"Year",monthAriaLabel:"Month",hourAriaLabel:"Hour",minuteAriaLabel:"Minute",time_24hr:!1},zd=Vd;var nn=function(r,t){return t===void 0&&(t=2),("000"+r).slice(t*-1)},Sn=function(r){return r===!0?1:0};function ab(r,t){var e;return function(){var n=this,i=arguments;clearTimeout(e),e=setTimeout(function(){return r.apply(n,i)},t)}}var Kd=function(r){return r instanceof Array?r:[r]};function rn(r,t,e){if(e===!0)return r.classList.add(t);r.classList.remove(t)}function Ve(r,t,e){var n=window.document.createElement(r);return t=t||"",e=e||"",n.className=t,e!==void 0&&(n.textContent=e),n}function au(r){for(;r.firstChild;)r.removeChild(r.firstChild)}function ob(r,t){if(t(r))return r;if(r.parentNode)return ob(r.parentNode,t)}function ou(r,t){var e=Ve("div","numInputWrapper"),n=Ve("input","numInput "+r),i=Ve("span","arrowUp"),s=Ve("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?n.type="number":(n.type="text",n.pattern="\\d*"),t!==void 0)for(var a in t)n.setAttribute(a,t[a]);return e.appendChild(n),e.appendChild(i),e.appendChild(s),e}function Dn(r){try{if(typeof r.composedPath=="function"){var t=r.composedPath();return t[0]}return r.target}catch(e){return r.target}}var lb=function(){},lu=function(r,t,e){return e.months[t?"shorthand":"longhand"][r]},E1={D:lb,F:function(r,t,e){r.setMonth(e.months.longhand.indexOf(t))},G:function(r,t){r.setHours((r.getHours()>=12?12:0)+parseFloat(t))},H:function(r,t){r.setHours(parseFloat(t))},J:function(r,t){r.setDate(parseFloat(t))},K:function(r,t,e){r.setHours(r.getHours()%12+12*Sn(new RegExp(e.amPM[1],"i").test(t)))},M:function(r,t,e){r.setMonth(e.months.shorthand.indexOf(t))},S:function(r,t){r.setSeconds(parseFloat(t))},U:function(r,t){return new Date(parseFloat(t)*1e3)},W:function(r,t,e){var n=parseInt(t),i=new Date(r.getFullYear(),0,2+(n-1)*7,0,0,0,0);return i.setDate(i.getDate()-i.getDay()+e.firstDayOfWeek),i},Y:function(r,t){r.setFullYear(parseFloat(t))},Z:function(r,t){return new Date(t)},d:function(r,t){r.setDate(parseFloat(t))},h:function(r,t){r.setHours((r.getHours()>=12?12:0)+parseFloat(t))},i:function(r,t){r.setMinutes(parseFloat(t))},j:function(r,t){r.setDate(parseFloat(t))},l:lb,m:function(r,t){r.setMonth(parseFloat(t)-1)},n:function(r,t){r.setMonth(parseFloat(t)-1)},s:function(r,t){r.setSeconds(parseFloat(t))},u:function(r,t){return new Date(parseFloat(t))},w:lb,y:function(r,t){r.setFullYear(2e3+parseFloat(t))}},Mi={D:"",F:"",G:"(\\d\\d|\\d)",H:"(\\d\\d|\\d)",J:"(\\d\\d|\\d)\\w+",K:"",M:"",S:"(\\d\\d|\\d)",U:"(.+)",W:"(\\d\\d|\\d)",Y:"(\\d{4})",Z:"(.+)",d:"(\\d\\d|\\d)",h:"(\\d\\d|\\d)",i:"(\\d\\d|\\d)",j:"(\\d\\d|\\d)",l:"",m:"(\\d\\d|\\d)",n:"(\\d\\d|\\d)",s:"(\\d\\d|\\d)",u:"(.+)",w:"(\\d\\d|\\d)",y:"(\\d{2})"},po={Z:function(r){return r.toISOString()},D:function(r,t,e){return t.weekdays.shorthand[po.w(r,t,e)]},F:function(r,t,e){return lu(po.n(r,t,e)-1,!1,t)},G:function(r,t,e){return nn(po.h(r,t,e))},H:function(r){return nn(r.getHours())},J:function(r,t){return t.ordinal!==void 0?r.getDate()+t.ordinal(r.getDate()):r.getDate()},K:function(r,t){return t.amPM[Sn(r.getHours()>11)]},M:function(r,t){return lu(r.getMonth(),!0,t)},S:function(r){return nn(r.getSeconds())},U:function(r){return r.getTime()/1e3},W:function(r,t,e){return e.getWeek(r)},Y:function(r){return nn(r.getFullYear(),4)},d:function(r){return nn(r.getDate())},h:function(r){return r.getHours()%12?r.getHours()%12:12},i:function(r){return nn(r.getMinutes())},j:function(r){return r.getDate()},l:function(r,t){return t.weekdays.longhand[r.getDay()]},m:function(r){return nn(r.getMonth()+1)},n:function(r){return r.getMonth()+1},s:function(r){return r.getSeconds()},u:function(r){return r.getTime()},w:function(r){return r.getDay()},y:function(r){return String(r.getFullYear()).substring(2)}};var ub=function(r){var t=r.config,e=t===void 0?is:t,n=r.l10n,i=n===void 0?Vd:n,s=r.isMobile,a=s===void 0?!1:s;return function(o,l,u){var c=u||i;return e.formatDate!==void 0&&!a?e.formatDate(o,l,c):l.split("").map(function(d,f,p){return po[d]&&p[f-1]!=="\\"?po[d](o,c,e):d!=="\\"?d:""}).join("")}},Qd=function(r){var t=r.config,e=t===void 0?is:t,n=r.l10n,i=n===void 0?Vd:n;return function(s,a,o,l){if(!(s!==0&&!s)){var u=l||i,c,d=s;if(s instanceof Date)c=new Date(s.getTime());else if(typeof s!="string"&&s.toFixed!==void 0)c=new Date(s);else if(typeof s=="string"){var f=a||(e||is).dateFormat,p=String(s).trim();if(p==="today")c=new Date,o=!0;else if(e&&e.parseDate)c=e.parseDate(s,f);else if(/Z$/.test(p)||/GMT$/.test(p))c=new Date(s);else{for(var g=void 0,b=[],v=0,E=0,x="";v<f.length;v++){var O=f[v],q=O==="\\",V=f[v-1]==="\\"||q;if(Mi[O]&&!V){x+=Mi[O];var Z=new RegExp(x).exec(s);Z&&(g=!0)&&b[O!=="Y"?"push":"unshift"]({fn:E1[O],val:Z[++E]})}else q||(x+=".")}c=!e||!e.noCalendar?new Date(new Date().getFullYear(),0,1,0,0,0,0):new Date(new Date().setHours(0,0,0,0)),b.forEach(function(j){var J=j.fn,Pe=j.val;return c=J(c,Pe,u)||c}),c=g?c:void 0}}if(!(c instanceof Date&&!isNaN(c.getTime()))){e.errorHandler(new Error("Invalid date provided: "+d));return}return o===!0&&c.setHours(0,0,0,0),c}}};function En(r,t,e){return e===void 0&&(e=!0),e!==!1?new Date(r.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):r.getTime()-t.getTime()}var O1=function(r,t,e){return r>Math.min(t,e)&&r<Math.max(t,e)},Xd=function(r,t,e){return r*3600+t*60+e},x1=function(r){var t=Math.floor(r/3600),e=(r-t*3600)/60;return[t,e,r-t*3600-e*60]},R1={DAY:864e5};function Zd(r){var t=r.defaultHour,e=r.defaultMinute,n=r.defaultSeconds;if(r.minDate!==void 0){var i=r.minDate.getHours(),s=r.minDate.getMinutes(),a=r.minDate.getSeconds();t<i&&(t=i),t===i&&e<s&&(e=s),t===i&&e===s&&n<a&&(n=r.minDate.getSeconds())}if(r.maxDate!==void 0){var o=r.maxDate.getHours(),l=r.maxDate.getMinutes();t=Math.min(t,o),t===o&&(e=Math.min(l,e)),t===o&&e===l&&(n=r.maxDate.getSeconds())}return{hours:t,minutes:e,seconds:n}}typeof Object.assign!="function"&&(Object.assign=function(r){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];if(!r)throw TypeError("Cannot convert undefined or null to object");for(var n=function(o){o&&Object.keys(o).forEach(function(l){return r[l]=o[l]})},i=0,s=t;i<s.length;i++){var a=s[i];n(a)}return r});var sn=function(){return sn=Object.assign||function(r){for(var t,e=1,n=arguments.length;e<n;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(r[i]=t[i])}return r},sn.apply(this,arguments)},C1=function(){for(var r=0,t=0,e=arguments.length;t<e;t++)r+=arguments[t].length;for(var n=Array(r),i=0,t=0;t<e;t++)for(var s=arguments[t],a=0,o=s.length;a<o;a++,i++)n[i]=s[a];return n},Uq=300;function Yq(r,t){var e={config:sn(sn({},is),yt.defaultConfig),l10n:zd};e.parseDate=Qd({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=b,e._setHoursFromDate=f,e._positionCalendar=fu,e.changeMonth=w,e.changeYear=$,e.clear=R,e.close=N,e.onMouseOver=Ee,e._createElement=Ve,e.createDay=Z,e.destroy=Y,e.isEnabled=de,e.jumpToDate=x,e.updateValue=ni,e.open=nt,e.redraw=gb,e.set=lO,e.setDate=uO,e.toggle=pO;function n(){e.utils={getDaysInMonth:function(h,y){return h===void 0&&(h=e.currentMonth),y===void 0&&(y=e.currentYear),h===1&&(y%4===0&&y%100!==0||y%400===0)?29:e.l10n.daysInMonth[h]}}}function i(){e.element=e.input=r,e.isOpen=!1,Ye(),At(),dO(),cO(),n(),e.isMobile||V(),E(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&f(e.config.noCalendar?e.latestSelectedDateObj:void 0),ni(!1)),o();var h=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&h&&fu(),at("onReady")}function s(){var h;return((h=e.calendarContainer)===null||h===void 0?void 0:h.getRootNode()).activeElement||document.activeElement}function a(h){return h.bind(e)}function o(){var h=e.config;h.weekNumbers===!1&&h.showMonths===1||h.noCalendar!==!0&&window.requestAnimationFrame(function(){if(e.calendarContainer!==void 0&&(e.calendarContainer.style.visibility="hidden",e.calendarContainer.style.display="block"),e.daysContainer!==void 0){var y=(e.days.offsetWidth+1)*h.showMonths;e.daysContainer.style.width=y+"px",e.calendarContainer.style.width=y+(e.weekWrapper!==void 0?e.weekWrapper.offsetWidth:0)+"px",e.calendarContainer.style.removeProperty("visibility"),e.calendarContainer.style.removeProperty("display")}})}function l(h){if(e.selectedDates.length===0){var y=e.config.minDate===void 0||En(new Date,e.config.minDate)>=0?new Date:new Date(e.config.minDate.getTime()),D=Zd(e.config);y.setHours(D.hours,D.minutes,D.seconds,y.getMilliseconds()),e.selectedDates=[y],e.latestSelectedDateObj=y}h!==void 0&&h.type!=="blur"&&gO(h);var I=e._input.value;d(),ni(),e._input.value!==I&&e._debouncedChange()}function u(h,y){return h%12+12*Sn(y===e.l10n.amPM[1])}function c(h){switch(h%24){case 0:case 12:return 12;default:return h%12}}function d(){if(!(e.hourElement===void 0||e.minuteElement===void 0)){var h=(parseInt(e.hourElement.value.slice(-2),10)||0)%24,y=(parseInt(e.minuteElement.value,10)||0)%60,D=e.secondElement!==void 0?(parseInt(e.secondElement.value,10)||0)%60:0;e.amPM!==void 0&&(h=u(h,e.amPM.textContent));var I=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&En(e.latestSelectedDateObj,e.config.minDate,!0)===0,z=e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&En(e.latestSelectedDateObj,e.config.maxDate,!0)===0;if(e.config.maxTime!==void 0&&e.config.minTime!==void 0&&e.config.minTime>e.config.maxTime){var ne=Xd(e.config.minTime.getHours(),e.config.minTime.getMinutes(),e.config.minTime.getSeconds()),Oe=Xd(e.config.maxTime.getHours(),e.config.maxTime.getMinutes(),e.config.maxTime.getSeconds()),ue=Xd(h,y,D);if(ue>Oe&&ue<ne){var Me=x1(ne);h=Me[0],y=Me[1],D=Me[2]}}else{if(z){var ae=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;h=Math.min(h,ae.getHours()),h===ae.getHours()&&(y=Math.min(y,ae.getMinutes())),y===ae.getMinutes()&&(D=Math.min(D,ae.getSeconds()))}if(I){var be=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;h=Math.max(h,be.getHours()),h===be.getHours()&&y<be.getMinutes()&&(y=be.getMinutes()),y===be.getMinutes()&&(D=Math.max(D,be.getSeconds()))}}p(h,y,D)}}function f(h){var y=h||e.latestSelectedDateObj;y&&y instanceof Date&&p(y.getHours(),y.getMinutes(),y.getSeconds())}function p(h,y,D){e.latestSelectedDateObj!==void 0&&e.latestSelectedDateObj.setHours(h%24,y,D||0,0),!(!e.hourElement||!e.minuteElement||e.isMobile)&&(e.hourElement.value=nn(e.config.time_24hr?h:(12+h)%12+12*Sn(h%12===0)),e.minuteElement.value=nn(y),e.amPM!==void 0&&(e.amPM.textContent=e.l10n.amPM[Sn(h>=12)]),e.secondElement!==void 0&&(e.secondElement.value=nn(D)))}function g(h){var y=Dn(h),D=parseInt(y.value)+(h.delta||0);(D/1e3>1||h.key==="Enter"&&!/[^\d]/.test(D.toString()))&&$(D)}function b(h,y,D,I){if(y instanceof Array)return y.forEach(function(z){return b(h,z,D,I)});if(h instanceof Array)return h.forEach(function(z){return b(z,y,D,I)});h.addEventListener(y,D,I),e._handlers.push({remove:function(){return h.removeEventListener(y,D,I)}})}function v(){at("onChange")}function E(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(function(D){Array.prototype.forEach.call(e.element.querySelectorAll("[data-"+D+"]"),function(I){return b(I,"click",e[D])})}),e.isMobile){fO();return}var h=ab(tt,50);if(e._debouncedChange=ab(v,Uq),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&b(e.daysContainer,"mouseover",function(D){e.config.mode==="range"&&Ee(Dn(D))}),b(e._input,"keydown",ve),e.calendarContainer!==void 0&&b(e.calendarContainer,"keydown",ve),!e.config.inline&&!e.config.static&&b(window,"resize",h),window.ontouchstart!==void 0?b(window.document,"touchstart",S):b(window.document,"mousedown",S),b(window.document,"focus",S,{capture:!0}),e.config.clickOpens===!0&&(b(e._input,"focus",e.open),b(e._input,"click",e.open)),e.daysContainer!==void 0&&(b(e.monthNav,"click",hO),b(e.monthNav,["keyup","increment"],g),b(e.daysContainer,"click",yb)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){var y=function(D){return Dn(D).select()};b(e.timeContainer,["increment"],l),b(e.timeContainer,"blur",l,{capture:!0}),b(e.timeContainer,"click",O),b([e.hourElement,e.minuteElement],["focus","click"],y),e.secondElement!==void 0&&b(e.secondElement,"focus",function(){return e.secondElement&&e.secondElement.select()}),e.amPM!==void 0&&b(e.amPM,"click",function(D){l(D)})}e.config.allowInput&&b(e._input,"blur",fe)}function x(h,y){var D=h!==void 0?e.parseDate(h):e.latestSelectedDateObj||(e.config.minDate&&e.config.minDate>e.now?e.config.minDate:e.config.maxDate&&e.config.maxDate<e.now?e.config.maxDate:e.now),I=e.currentYear,z=e.currentMonth;try{D!==void 0&&(e.currentYear=D.getFullYear(),e.currentMonth=D.getMonth())}catch(ne){ne.message="Invalid date supplied: "+D,e.config.errorHandler(ne)}y&&e.currentYear!==I&&(at("onYearChange"),P()),y&&(e.currentYear!==I||e.currentMonth!==z)&&at("onMonthChange"),e.redraw()}function O(h){var y=Dn(h);~y.className.indexOf("arrow")&&q(h,y.classList.contains("arrowUp")?1:-1)}function q(h,y,D){var I=h&&Dn(h),z=D||I&&I.parentNode&&I.parentNode.firstChild,ne=yf("increment");ne.delta=y,z&&z.dispatchEvent(ne)}function V(){var h=window.document.createDocumentFragment();if(e.calendarContainer=Ve("div","flatpickr-calendar"),e.calendarContainer.tabIndex=-1,!e.config.noCalendar){if(h.appendChild(se()),e.innerContainer=Ve("div","flatpickr-innerContainer"),e.config.weekNumbers){var y=k(),D=y.weekWrapper,I=y.weekNumbers;e.innerContainer.appendChild(D),e.weekNumbers=I,e.weekWrapper=D}e.rContainer=Ve("div","flatpickr-rContainer"),e.rContainer.appendChild(T()),e.daysContainer||(e.daysContainer=Ve("div","flatpickr-days"),e.daysContainer.tabIndex=-1),G(),e.rContainer.appendChild(e.daysContainer),e.innerContainer.appendChild(e.rContainer),h.appendChild(e.innerContainer)}e.config.enableTime&&h.appendChild(m()),rn(e.calendarContainer,"rangeMode",e.config.mode==="range"),rn(e.calendarContainer,"animate",e.config.animate===!0),rn(e.calendarContainer,"multiMonth",e.config.showMonths>1),e.calendarContainer.appendChild(h);var z=e.config.appendTo!==void 0&&e.config.appendTo.nodeType!==void 0;if((e.config.inline||e.config.static)&&(e.calendarContainer.classList.add(e.config.inline?"inline":"static"),e.config.inline&&(!z&&e.element.parentNode?e.element.parentNode.insertBefore(e.calendarContainer,e._input.nextSibling):e.config.appendTo!==void 0&&e.config.appendTo.appendChild(e.calendarContainer)),e.config.static)){var ne=Ve("div","flatpickr-wrapper");e.element.parentNode&&e.element.parentNode.insertBefore(ne,e.element),ne.appendChild(e.element),e.altInput&&ne.appendChild(e.altInput),ne.appendChild(e.calendarContainer)}!e.config.static&&!e.config.inline&&(e.config.appendTo!==void 0?e.config.appendTo:window.document.body).appendChild(e.calendarContainer)}function Z(h,y,D,I){var z=de(y,!0),ne=Ve("span",h,y.getDate().toString());return ne.dateObj=y,ne.$i=I,ne.setAttribute("aria-label",e.formatDate(y,e.config.ariaDateFormat)),h.indexOf("hidden")===-1&&En(y,e.now)===0&&(e.todayDateElem=ne,ne.classList.add("today"),ne.setAttribute("aria-current","date")),z?(ne.tabIndex=-1,bf(y)&&(ne.classList.add("selected"),e.selectedDateElem=ne,e.config.mode==="range"&&(rn(ne,"startRange",e.selectedDates[0]&&En(y,e.selectedDates[0],!0)===0),rn(ne,"endRange",e.selectedDates[1]&&En(y,e.selectedDates[1],!0)===0),h==="nextMonthDay"&&ne.classList.add("inRange")))):ne.classList.add("flatpickr-disabled"),e.config.mode==="range"&&mO(y)&&!bf(y)&&ne.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&h!=="prevMonthDay"&&I%7===6&&e.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+e.config.getWeek(y)+"</span>"),at("onDayCreate",ne),ne}function j(h){h.focus(),e.config.mode==="range"&&Ee(h)}function J(h){for(var y=h>0?0:e.config.showMonths-1,D=h>0?e.config.showMonths:-1,I=y;I!=D;I+=h)for(var z=e.daysContainer.children[I],ne=h>0?0:z.children.length-1,Oe=h>0?z.children.length:-1,ue=ne;ue!=Oe;ue+=h){var Me=z.children[ue];if(Me.className.indexOf("hidden")===-1&&de(Me.dateObj))return Me}}function Pe(h,y){for(var D=h.className.indexOf("Month")===-1?h.dateObj.getMonth():e.currentMonth,I=y>0?e.config.showMonths:-1,z=y>0?1:-1,ne=D-e.currentMonth;ne!=I;ne+=z)for(var Oe=e.daysContainer.children[ne],ue=D-e.currentMonth===ne?h.$i+y:y<0?Oe.children.length-1:0,Me=Oe.children.length,ae=ue;ae>=0&&ae<Me&&ae!=(y>0?Me:-1);ae+=z){var be=Oe.children[ae];if(be.className.indexOf("hidden")===-1&&de(be.dateObj)&&Math.abs(h.$i-ae)>=Math.abs(y))return j(be)}e.changeMonth(z),Ne(J(z),0)}function Ne(h,y){var D=s(),I=ye(D||document.body),z=h!==void 0?h:I?D:e.selectedDateElem!==void 0&&ye(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&ye(e.todayDateElem)?e.todayDateElem:J(y>0?1:-1);z===void 0?e._input.focus():I?Pe(z,y):j(z)}function K(h,y){for(var D=(new Date(h,y,1).getDay()-e.l10n.firstDayOfWeek+7)%7,I=e.utils.getDaysInMonth((y-1+12)%12,h),z=e.utils.getDaysInMonth(y,h),ne=window.document.createDocumentFragment(),Oe=e.config.showMonths>1,ue=Oe?"prevMonthDay hidden":"prevMonthDay",Me=Oe?"nextMonthDay hidden":"nextMonthDay",ae=I+1-D,be=0;ae<=I;ae++,be++)ne.appendChild(Z("flatpickr-day "+ue,new Date(h,y-1,ae),ae,be));for(ae=1;ae<=z;ae++,be++)ne.appendChild(Z("flatpickr-day",new Date(h,y,ae),ae,be));for(var Je=z+1;Je<=42-D&&(e.config.showMonths===1||be%7!==0);Je++,be++)ne.appendChild(Z("flatpickr-day "+Me,new Date(h,y+1,Je%z),Je,be));var Mr=Ve("div","dayContainer");return Mr.appendChild(ne),Mr}function G(){if(e.daysContainer!==void 0){au(e.daysContainer),e.weekNumbers&&au(e.weekNumbers);for(var h=document.createDocumentFragment(),y=0;y<e.config.showMonths;y++){var D=new Date(e.currentYear,e.currentMonth,1);D.setMonth(e.currentMonth+y),h.appendChild(K(D.getFullYear(),D.getMonth()))}e.daysContainer.appendChild(h),e.days=e.daysContainer.firstChild,e.config.mode==="range"&&e.selectedDates.length===1&&Ee()}}function P(){if(!(e.config.showMonths>1||e.config.monthSelectorType!=="dropdown")){var h=function(I){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&I<e.config.minDate.getMonth()?!1:!(e.config.maxDate!==void 0&&e.currentYear===e.config.maxDate.getFullYear()&&I>e.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(var y=0;y<12;y++)if(!!h(y)){var D=Ve("option","flatpickr-monthDropdown-month");D.value=new Date(e.currentYear,y).getMonth().toString(),D.textContent=lu(y,e.config.shorthandCurrentMonth,e.l10n),D.tabIndex=-1,e.currentMonth===y&&(D.selected=!0),e.monthsDropdownContainer.appendChild(D)}}}function ee(){var h=Ve("div","flatpickr-month"),y=window.document.createDocumentFragment(),D;e.config.showMonths>1||e.config.monthSelectorType==="static"?D=Ve("span","cur-month"):(e.monthsDropdownContainer=Ve("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),b(e.monthsDropdownContainer,"change",function(Oe){var ue=Dn(Oe),Me=parseInt(ue.value,10);e.changeMonth(Me-e.currentMonth),at("onMonthChange")}),P(),D=e.monthsDropdownContainer);var I=ou("cur-year",{tabindex:"-1"}),z=I.getElementsByTagName("input")[0];z.setAttribute("aria-label",e.l10n.yearAriaLabel),e.config.minDate&&z.setAttribute("min",e.config.minDate.getFullYear().toString()),e.config.maxDate&&(z.setAttribute("max",e.config.maxDate.getFullYear().toString()),z.disabled=!!e.config.minDate&&e.config.minDate.getFullYear()===e.config.maxDate.getFullYear());var ne=Ve("div","flatpickr-current-month");return ne.appendChild(D),ne.appendChild(I),y.appendChild(ne),h.appendChild(y),{container:h,yearElement:z,monthElement:D}}function H(){au(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(var h=e.config.showMonths;h--;){var y=ee();e.yearElements.push(y.yearElement),e.monthElements.push(y.monthElement),e.monthNav.appendChild(y.container)}e.monthNav.appendChild(e.nextMonthNav)}function se(){return e.monthNav=Ve("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=Ve("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=Ve("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,H(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:function(){return e.__hidePrevMonthArrow},set:function(h){e.__hidePrevMonthArrow!==h&&(rn(e.prevMonthNav,"flatpickr-disabled",h),e.__hidePrevMonthArrow=h)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:function(){return e.__hideNextMonthArrow},set:function(h){e.__hideNextMonthArrow!==h&&(rn(e.nextMonthNav,"flatpickr-disabled",h),e.__hideNextMonthArrow=h)}}),e.currentYearElement=e.yearElements[0],mu(),e.monthNav}function m(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");var h=Zd(e.config);e.timeContainer=Ve("div","flatpickr-time"),e.timeContainer.tabIndex=-1;var y=Ve("span","flatpickr-time-separator",":"),D=ou("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=D.getElementsByTagName("input")[0];var I=ou("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=I.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=nn(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?h.hours:c(h.hours)),e.minuteElement.value=nn(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():h.minutes),e.hourElement.setAttribute("step",e.config.hourIncrement.toString()),e.minuteElement.setAttribute("step",e.config.minuteIncrement.toString()),e.hourElement.setAttribute("min",e.config.time_24hr?"0":"1"),e.hourElement.setAttribute("max",e.config.time_24hr?"23":"12"),e.hourElement.setAttribute("maxlength","2"),e.minuteElement.setAttribute("min","0"),e.minuteElement.setAttribute("max","59"),e.minuteElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(D),e.timeContainer.appendChild(y),e.timeContainer.appendChild(I),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");var z=ou("flatpickr-second");e.secondElement=z.getElementsByTagName("input")[0],e.secondElement.value=nn(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():h.seconds),e.secondElement.setAttribute("step",e.minuteElement.getAttribute("step")),e.secondElement.setAttribute("min","0"),e.secondElement.setAttribute("max","59"),e.secondElement.setAttribute("maxlength","2"),e.timeContainer.appendChild(Ve("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(z)}return e.config.time_24hr||(e.amPM=Ve("span","flatpickr-am-pm",e.l10n.amPM[Sn((e.latestSelectedDateObj?e.hourElement.value:e.config.defaultHour)>11)]),e.amPM.title=e.l10n.toggleTitle,e.amPM.tabIndex=-1,e.timeContainer.appendChild(e.amPM)),e.timeContainer}function T(){e.weekdayContainer?au(e.weekdayContainer):e.weekdayContainer=Ve("div","flatpickr-weekdays");for(var h=e.config.showMonths;h--;){var y=Ve("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(y)}return _(),e.weekdayContainer}function _(){if(!!e.weekdayContainer){var h=e.l10n.firstDayOfWeek,y=C1(e.l10n.weekdays.shorthand);h>0&&h<y.length&&(y=C1(y.splice(h,y.length),y.splice(0,h)));for(var D=e.config.showMonths;D--;)e.weekdayContainer.children[D].innerHTML=`
      <span class='flatpickr-weekday'>
        `+y.join("</span><span class='flatpickr-weekday'>")+`
      </span>
      `}}function k(){e.calendarContainer.classList.add("hasWeeks");var h=Ve("div","flatpickr-weekwrapper");h.appendChild(Ve("span","flatpickr-weekday",e.l10n.weekAbbreviation));var y=Ve("div","flatpickr-weeks");return h.appendChild(y),{weekWrapper:h,weekNumbers:y}}function w(h,y){y===void 0&&(y=!0);var D=y?h:h-e.currentMonth;D<0&&e._hidePrevMonthArrow===!0||D>0&&e._hideNextMonthArrow===!0||(e.currentMonth+=D,(e.currentMonth<0||e.currentMonth>11)&&(e.currentYear+=e.currentMonth>11?1:-1,e.currentMonth=(e.currentMonth+12)%12,at("onYearChange"),P()),G(),at("onMonthChange"),mu())}function R(h,y){if(h===void 0&&(h=!0),y===void 0&&(y=!0),e.input.value="",e.altInput!==void 0&&(e.altInput.value=""),e.mobileInput!==void 0&&(e.mobileInput.value=""),e.selectedDates=[],e.latestSelectedDateObj=void 0,y===!0&&(e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth()),e.config.enableTime===!0){var D=Zd(e.config),I=D.hours,z=D.minutes,ne=D.seconds;p(I,z,ne)}e.redraw(),h&&at("onChange")}function N(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),at("onClose")}function Y(){e.config!==void 0&&at("onDestroy");for(var h=e._handlers.length;h--;)e._handlers[h].remove();if(e._handlers=[],e.mobileInput)e.mobileInput.parentNode&&e.mobileInput.parentNode.removeChild(e.mobileInput),e.mobileInput=void 0;else if(e.calendarContainer&&e.calendarContainer.parentNode)if(e.config.static&&e.calendarContainer.parentNode){var y=e.calendarContainer.parentNode;if(y.lastChild&&y.removeChild(y.lastChild),y.parentNode){for(;y.firstChild;)y.parentNode.insertBefore(y.firstChild,y);y.parentNode.removeChild(y)}}else e.calendarContainer.parentNode.removeChild(e.calendarContainer);e.altInput&&(e.input.type="text",e.altInput.parentNode&&e.altInput.parentNode.removeChild(e.altInput),delete e.altInput),e.input&&(e.input.type=e.input._type,e.input.classList.remove("flatpickr-input"),e.input.removeAttribute("readonly")),["_showTimeInput","latestSelectedDateObj","_hideNextMonthArrow","_hidePrevMonthArrow","__hideNextMonthArrow","__hidePrevMonthArrow","isMobile","isOpen","selectedDateElem","minDateHasTime","maxDateHasTime","days","daysContainer","_input","_positionElement","innerContainer","rContainer","monthNav","todayDateElem","calendarContainer","weekdayContainer","prevMonthNav","nextMonthNav","monthsDropdownContainer","currentMonthElement","currentYearElement","navigationCurrentMonth","selectedDateElem","config"].forEach(function(D){try{delete e[D]}catch(I){}})}function L(h){return e.calendarContainer.contains(h)}function S(h){if(e.isOpen&&!e.config.inline){var y=Dn(h),D=L(y),I=y===e.input||y===e.altInput||e.element.contains(y)||h.path&&h.path.indexOf&&(~h.path.indexOf(e.input)||~h.path.indexOf(e.altInput)),z=!I&&!D&&!L(h.relatedTarget),ne=!e.config.ignoredFocusElements.some(function(Oe){return Oe.contains(y)});z&&ne&&(e.config.allowInput&&e.setDate(e._input.value,!1,e.config.altInput?e.config.altFormat:e.config.dateFormat),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0&&e.input.value!==""&&e.input.value!==void 0&&l(),e.close(),e.config&&e.config.mode==="range"&&e.selectedDates.length===1&&e.clear(!1))}}function $(h){if(!(!h||e.config.minDate&&h<e.config.minDate.getFullYear()||e.config.maxDate&&h>e.config.maxDate.getFullYear())){var y=h,D=e.currentYear!==y;e.currentYear=y||e.currentYear,e.config.maxDate&&e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth=Math.min(e.config.maxDate.getMonth(),e.currentMonth):e.config.minDate&&e.currentYear===e.config.minDate.getFullYear()&&(e.currentMonth=Math.max(e.config.minDate.getMonth(),e.currentMonth)),D&&(e.redraw(),at("onYearChange"),P())}}function de(h,y){var D;y===void 0&&(y=!0);var I=e.parseDate(h,void 0,y);if(e.config.minDate&&I&&En(I,e.config.minDate,y!==void 0?y:!e.minDateHasTime)<0||e.config.maxDate&&I&&En(I,e.config.maxDate,y!==void 0?y:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(I===void 0)return!1;for(var z=!!e.config.enable,ne=(D=e.config.enable)!==null&&D!==void 0?D:e.config.disable,Oe=0,ue=void 0;Oe<ne.length;Oe++){if(ue=ne[Oe],typeof ue=="function"&&ue(I))return z;if(ue instanceof Date&&I!==void 0&&ue.getTime()===I.getTime())return z;if(typeof ue=="string"){var Me=e.parseDate(ue,void 0,!0);return Me&&Me.getTime()===I.getTime()?z:!z}else if(typeof ue=="object"&&I!==void 0&&ue.from&&ue.to&&I.getTime()>=ue.from.getTime()&&I.getTime()<=ue.to.getTime())return z}return!z}function ye(h){return e.daysContainer!==void 0?h.className.indexOf("hidden")===-1&&h.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(h):!1}function fe(h){var y=h.target===e._input,D=e._input.value.trimEnd()!==Tf();y&&D&&!(h.relatedTarget&&L(h.relatedTarget))&&e.setDate(e._input.value,!0,h.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function ve(h){var y=Dn(h),D=e.config.wrap?r.contains(y):y===e._input,I=e.config.allowInput,z=e.isOpen&&(!I||!D),ne=e.config.inline&&D&&!I;if(h.keyCode===13&&D){if(I)return e.setDate(e._input.value,!0,y===e.altInput?e.config.altFormat:e.config.dateFormat),e.close(),y.blur();e.open()}else if(L(y)||z||ne){var Oe=!!e.timeContainer&&e.timeContainer.contains(y);switch(h.keyCode){case 13:Oe?(h.preventDefault(),l(),gf()):yb(h);break;case 27:h.preventDefault(),gf();break;case 8:case 46:D&&!e.config.allowInput&&(h.preventDefault(),e.clear());break;case 37:case 39:if(!Oe&&!D){h.preventDefault();var ue=s();if(e.daysContainer!==void 0&&(I===!1||ue&&ye(ue))){var Me=h.keyCode===39?1:-1;h.ctrlKey?(h.stopPropagation(),w(Me),Ne(J(1),0)):Ne(void 0,Me)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:h.preventDefault();var ae=h.keyCode===40?1:-1;e.daysContainer&&y.$i!==void 0||y===e.input||y===e.altInput?h.ctrlKey?(h.stopPropagation(),$(e.currentYear-ae),Ne(J(1),0)):Oe||Ne(void 0,ae*7):y===e.currentYearElement?$(e.currentYear-ae):e.config.enableTime&&(!Oe&&e.hourElement&&e.hourElement.focus(),l(h),e._debouncedChange());break;case 9:if(Oe){var be=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(function(On){return On}),Je=be.indexOf(y);if(Je!==-1){var Mr=be[Je+(h.shiftKey?-1:1)];h.preventDefault(),(Mr||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(y)&&h.shiftKey&&(h.preventDefault(),e._input.focus());break;default:break}}if(e.amPM!==void 0&&y===e.amPM)switch(h.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],d(),ni();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],d(),ni();break}(D||L(y))&&at("onKeyDown",h)}function Ee(h,y){if(y===void 0&&(y="flatpickr-day"),!(e.selectedDates.length!==1||h&&(!h.classList.contains(y)||h.classList.contains("flatpickr-disabled")))){for(var D=h?h.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),I=e.parseDate(e.selectedDates[0],void 0,!0).getTime(),z=Math.min(D,e.selectedDates[0].getTime()),ne=Math.max(D,e.selectedDates[0].getTime()),Oe=!1,ue=0,Me=0,ae=z;ae<ne;ae+=R1.DAY)de(new Date(ae),!0)||(Oe=Oe||ae>z&&ae<ne,ae<I&&(!ue||ae>ue)?ue=ae:ae>I&&(!Me||ae<Me)&&(Me=ae));var be=Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+"+e.config.showMonths+") > ."+y));be.forEach(function(Je){var Mr=Je.dateObj,On=Mr.getTime(),To=ue>0&&On<ue||Me>0&&On>Me;if(To){Je.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(Xs){Je.classList.remove(Xs)});return}else if(Oe&&!To)return;["startRange","inRange","endRange","notAllowed"].forEach(function(Xs){Je.classList.remove(Xs)}),h!==void 0&&(h.classList.add(D<=e.selectedDates[0].getTime()?"startRange":"endRange"),I<D&&On===I?Je.classList.add("startRange"):I>D&&On===I&&Je.classList.add("endRange"),On>=ue&&(Me===0||On<=Me)&&O1(On,I,D)&&Je.classList.add("inRange"))})}}function tt(){e.isOpen&&!e.config.static&&!e.config.inline&&fu()}function nt(h,y){if(y===void 0&&(y=e._positionElement),e.isMobile===!0){if(h){h.preventDefault();var D=Dn(h);D&&D.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),at("onOpen");return}else if(e._input.disabled||e.config.inline)return;var I=e.isOpen;e.isOpen=!0,I||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),at("onOpen"),fu(y)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(h===void 0||!e.timeContainer.contains(h.relatedTarget))&&setTimeout(function(){return e.hourElement.select()},50)}function F(h){return function(y){var D=e.config["_"+h+"Date"]=e.parseDate(y,e.config.dateFormat),I=e.config["_"+(h==="min"?"max":"min")+"Date"];D!==void 0&&(e[h==="min"?"minDateHasTime":"maxDateHasTime"]=D.getHours()>0||D.getMinutes()>0||D.getSeconds()>0),e.selectedDates&&(e.selectedDates=e.selectedDates.filter(function(z){return de(z)}),!e.selectedDates.length&&h==="min"&&f(D),ni()),e.daysContainer&&(gb(),D!==void 0?e.currentYearElement[h]=D.getFullYear().toString():e.currentYearElement.removeAttribute(h),e.currentYearElement.disabled=!!I&&D!==void 0&&I.getFullYear()===D.getFullYear())}}function Ye(){var h=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],y=sn(sn({},JSON.parse(JSON.stringify(r.dataset||{}))),t),D={};e.config.parseDate=y.parseDate,e.config.formatDate=y.formatDate,Object.defineProperty(e.config,"enable",{get:function(){return e.config._enable},set:function(be){e.config._enable=Tb(be)}}),Object.defineProperty(e.config,"disable",{get:function(){return e.config._disable},set:function(be){e.config._disable=Tb(be)}});var I=y.mode==="time";if(!y.dateFormat&&(y.enableTime||I)){var z=yt.defaultConfig.dateFormat||is.dateFormat;D.dateFormat=y.noCalendar||I?"H:i"+(y.enableSeconds?":S":""):z+" H:i"+(y.enableSeconds?":S":"")}if(y.altInput&&(y.enableTime||I)&&!y.altFormat){var ne=yt.defaultConfig.altFormat||is.altFormat;D.altFormat=y.noCalendar||I?"h:i"+(y.enableSeconds?":S K":" K"):ne+(" h:i"+(y.enableSeconds?":S":"")+" K")}Object.defineProperty(e.config,"minDate",{get:function(){return e.config._minDate},set:F("min")}),Object.defineProperty(e.config,"maxDate",{get:function(){return e.config._maxDate},set:F("max")});var Oe=function(be){return function(Je){e.config[be==="min"?"_minTime":"_maxTime"]=e.parseDate(Je,"H:i:S")}};Object.defineProperty(e.config,"minTime",{get:function(){return e.config._minTime},set:Oe("min")}),Object.defineProperty(e.config,"maxTime",{get:function(){return e.config._maxTime},set:Oe("max")}),y.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,D,y);for(var ue=0;ue<h.length;ue++)e.config[h[ue]]=e.config[h[ue]]===!0||e.config[h[ue]]==="true";Bd.filter(function(be){return e.config[be]!==void 0}).forEach(function(be){e.config[be]=Kd(e.config[be]||[]).map(a)}),e.isMobile=!e.config.disableMobile&&!e.config.inline&&e.config.mode==="single"&&!e.config.disable.length&&!e.config.enable&&!e.config.weekNumbers&&/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);for(var ue=0;ue<e.config.plugins.length;ue++){var Me=e.config.plugins[ue](e)||{};for(var ae in Me)Bd.indexOf(ae)>-1?e.config[ae]=Kd(Me[ae]).map(a).concat(e.config[ae]):typeof y[ae]=="undefined"&&(e.config[ae]=Me[ae])}y.altInputClass||(e.config.altInputClass=jt().className+" "+e.config.altInputClass),at("onParseConfig")}function jt(){return e.config.wrap?r.querySelector("[data-input]"):r}function At(){typeof e.config.locale!="object"&&typeof yt.l10ns[e.config.locale]=="undefined"&&e.config.errorHandler(new Error("flatpickr: invalid locale "+e.config.locale)),e.l10n=sn(sn({},yt.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?yt.l10ns[e.config.locale]:void 0),Mi.D="("+e.l10n.weekdays.shorthand.join("|")+")",Mi.l="("+e.l10n.weekdays.longhand.join("|")+")",Mi.M="("+e.l10n.months.shorthand.join("|")+")",Mi.F="("+e.l10n.months.longhand.join("|")+")",Mi.K="("+e.l10n.amPM[0]+"|"+e.l10n.amPM[1]+"|"+e.l10n.amPM[0].toLowerCase()+"|"+e.l10n.amPM[1].toLowerCase()+")";var h=sn(sn({},t),JSON.parse(JSON.stringify(r.dataset||{})));h.time_24hr===void 0&&yt.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=ub(e),e.parseDate=Qd({config:e.config,l10n:e.l10n})}function fu(h){if(typeof e.config.position=="function")return void e.config.position(e,h);if(e.calendarContainer!==void 0){at("onPreCalendarPosition");var y=h||e._positionElement,D=Array.prototype.reduce.call(e.calendarContainer.children,function(SO,DO){return SO+DO.offsetHeight},0),I=e.calendarContainer.offsetWidth,z=e.config.position.split(" "),ne=z[0],Oe=z.length>1?z[1]:null,ue=y.getBoundingClientRect(),Me=window.innerHeight-ue.bottom,ae=ne==="above"||ne!=="below"&&Me<D&&ue.top>D,be=window.pageYOffset+ue.top+(ae?-D-2:y.offsetHeight+2);if(rn(e.calendarContainer,"arrowTop",!ae),rn(e.calendarContainer,"arrowBottom",ae),!e.config.inline){var Je=window.pageXOffset+ue.left,Mr=!1,On=!1;Oe==="center"?(Je-=(I-ue.width)/2,Mr=!0):Oe==="right"&&(Je-=I-ue.width,On=!0),rn(e.calendarContainer,"arrowLeft",!Mr&&!On),rn(e.calendarContainer,"arrowCenter",Mr),rn(e.calendarContainer,"arrowRight",On);var To=window.document.body.offsetWidth-(window.pageXOffset+ue.right),Xs=Je+I>window.document.body.offsetWidth,yO=To+I>window.document.body.offsetWidth;if(rn(e.calendarContainer,"rightMost",Xs),!e.config.static)if(e.calendarContainer.style.top=be+"px",!Xs)e.calendarContainer.style.left=Je+"px",e.calendarContainer.style.right="auto";else if(!yO)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=To+"px";else{var vf=aO();if(vf===void 0)return;var bO=window.document.body.offsetWidth,TO=Math.max(0,bO/2-I/2),vO=".flatpickr-calendar.centerMost:before",kO=".flatpickr-calendar.centerMost:after",_O=vf.cssRules.length,wO="{left:"+ue.left+"px;right:auto;}";rn(e.calendarContainer,"rightMost",!1),rn(e.calendarContainer,"centerMost",!0),vf.insertRule(vO+","+kO+wO,_O),e.calendarContainer.style.left=TO+"px",e.calendarContainer.style.right="auto"}}}}function aO(){for(var h=null,y=0;y<document.styleSheets.length;y++){var D=document.styleSheets[y];if(!!D.cssRules){try{D.cssRules}catch(I){continue}h=D;break}}return h!=null?h:oO()}function oO(){var h=document.createElement("style");return document.head.appendChild(h),h.sheet}function gb(){e.config.noCalendar||e.isMobile||(P(),mu(),G())}function gf(){e._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(e.close,0):e.close()}function yb(h){h.preventDefault(),h.stopPropagation();var y=function(be){return be.classList&&be.classList.contains("flatpickr-day")&&!be.classList.contains("flatpickr-disabled")&&!be.classList.contains("notAllowed")},D=ob(Dn(h),y);if(D!==void 0){var I=D,z=e.latestSelectedDateObj=new Date(I.dateObj.getTime()),ne=(z.getMonth()<e.currentMonth||z.getMonth()>e.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=I,e.config.mode==="single")e.selectedDates=[z];else if(e.config.mode==="multiple"){var Oe=bf(z);Oe?e.selectedDates.splice(parseInt(Oe),1):e.selectedDates.push(z)}else e.config.mode==="range"&&(e.selectedDates.length===2&&e.clear(!1,!1),e.latestSelectedDateObj=z,e.selectedDates.push(z),En(z,e.selectedDates[0],!0)!==0&&e.selectedDates.sort(function(be,Je){return be.getTime()-Je.getTime()}));if(d(),ne){var ue=e.currentYear!==z.getFullYear();e.currentYear=z.getFullYear(),e.currentMonth=z.getMonth(),ue&&(at("onYearChange"),P()),at("onMonthChange")}if(mu(),G(),ni(),!ne&&e.config.mode!=="range"&&e.config.showMonths===1?j(I):e.selectedDateElem!==void 0&&e.hourElement===void 0&&e.selectedDateElem&&e.selectedDateElem.focus(),e.hourElement!==void 0&&e.hourElement!==void 0&&e.hourElement.focus(),e.config.closeOnSelect){var Me=e.config.mode==="single"&&!e.config.enableTime,ae=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(Me||ae)&&gf()}v()}}var pu={locale:[At,_],showMonths:[H,o,T],minDate:[x],maxDate:[x],positionElement:[vb],clickOpens:[function(){e.config.clickOpens===!0?(b(e._input,"focus",e.open),b(e._input,"click",e.open)):(e._input.removeEventListener("focus",e.open),e._input.removeEventListener("click",e.open))}]};function lO(h,y){if(h!==null&&typeof h=="object"){Object.assign(e.config,h);for(var D in h)pu[D]!==void 0&&pu[D].forEach(function(I){return I()})}else e.config[h]=y,pu[h]!==void 0?pu[h].forEach(function(I){return I()}):Bd.indexOf(h)>-1&&(e.config[h]=Kd(y));e.redraw(),ni(!0)}function bb(h,y){var D=[];if(h instanceof Array)D=h.map(function(I){return e.parseDate(I,y)});else if(h instanceof Date||typeof h=="number")D=[e.parseDate(h,y)];else if(typeof h=="string")switch(e.config.mode){case"single":case"time":D=[e.parseDate(h,y)];break;case"multiple":D=h.split(e.config.conjunction).map(function(I){return e.parseDate(I,y)});break;case"range":D=h.split(e.l10n.rangeSeparator).map(function(I){return e.parseDate(I,y)});break;default:break}else e.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(h)));e.selectedDates=e.config.allowInvalidPreload?D:D.filter(function(I){return I instanceof Date&&de(I,!1)}),e.config.mode==="range"&&e.selectedDates.sort(function(I,z){return I.getTime()-z.getTime()})}function uO(h,y,D){if(y===void 0&&(y=!1),D===void 0&&(D=e.config.dateFormat),h!==0&&!h||h instanceof Array&&h.length===0)return e.clear(y);bb(h,D),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),x(void 0,y),f(),e.selectedDates.length===0&&e.clear(!1),ni(y),y&&at("onChange")}function Tb(h){return h.slice().map(function(y){return typeof y=="string"||typeof y=="number"||y instanceof Date?e.parseDate(y,void 0,!0):y&&typeof y=="object"&&y.from&&y.to?{from:e.parseDate(y.from,void 0),to:e.parseDate(y.to,void 0)}:y}).filter(function(y){return y})}function cO(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;var h=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);h&&bb(h,e.config.dateFormat),e._initialDate=e.selectedDates.length>0?e.selectedDates[0]:e.config.minDate&&e.config.minDate.getTime()>e.now.getTime()?e.config.minDate:e.config.maxDate&&e.config.maxDate.getTime()<e.now.getTime()?e.config.maxDate:e.now,e.currentYear=e._initialDate.getFullYear(),e.currentMonth=e._initialDate.getMonth(),e.selectedDates.length>0&&(e.latestSelectedDateObj=e.selectedDates[0]),e.config.minTime!==void 0&&(e.config.minTime=e.parseDate(e.config.minTime,"H:i")),e.config.maxTime!==void 0&&(e.config.maxTime=e.parseDate(e.config.maxTime,"H:i")),e.minDateHasTime=!!e.config.minDate&&(e.config.minDate.getHours()>0||e.config.minDate.getMinutes()>0||e.config.minDate.getSeconds()>0),e.maxDateHasTime=!!e.config.maxDate&&(e.config.maxDate.getHours()>0||e.config.maxDate.getMinutes()>0||e.config.maxDate.getSeconds()>0)}function dO(){if(e.input=jt(),!e.input){e.config.errorHandler(new Error("Invalid input element specified"));return}e.input._type=e.input.type,e.input.type="text",e.input.classList.add("flatpickr-input"),e._input=e.input,e.config.altInput&&(e.altInput=Ve(e.input.nodeName,e.config.altInputClass),e._input=e.altInput,e.altInput.placeholder=e.input.placeholder,e.altInput.disabled=e.input.disabled,e.altInput.required=e.input.required,e.altInput.tabIndex=e.input.tabIndex,e.altInput.type="text",e.input.setAttribute("type","hidden"),!e.config.static&&e.input.parentNode&&e.input.parentNode.insertBefore(e.altInput,e.input.nextSibling)),e.config.allowInput||e._input.setAttribute("readonly","readonly"),vb()}function vb(){e._positionElement=e.config.positionElement||e._input}function fO(){var h=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=Ve("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=h,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=h==="datetime-local"?"Y-m-d\\TH:i:S":h==="date"?"Y-m-d":"H:i:S",e.selectedDates.length>0&&(e.mobileInput.defaultValue=e.mobileInput.value=e.formatDate(e.selectedDates[0],e.mobileFormatStr)),e.config.minDate&&(e.mobileInput.min=e.formatDate(e.config.minDate,"Y-m-d")),e.config.maxDate&&(e.mobileInput.max=e.formatDate(e.config.maxDate,"Y-m-d")),e.input.getAttribute("step")&&(e.mobileInput.step=String(e.input.getAttribute("step"))),e.input.type="hidden",e.altInput!==void 0&&(e.altInput.type="hidden");try{e.input.parentNode&&e.input.parentNode.insertBefore(e.mobileInput,e.input.nextSibling)}catch(y){}b(e.mobileInput,"change",function(y){e.setDate(Dn(y).value,!1,e.mobileFormatStr),at("onChange"),at("onClose")})}function pO(h){if(e.isOpen===!0)return e.close();e.open(h)}function at(h,y){if(e.config!==void 0){var D=e.config[h];if(D!==void 0&&D.length>0)for(var I=0;D[I]&&I<D.length;I++)D[I](e.selectedDates,e.input.value,e,y);h==="onChange"&&(e.input.dispatchEvent(yf("change")),e.input.dispatchEvent(yf("input")))}}function yf(h){var y=document.createEvent("Event");return y.initEvent(h,!0,!0),y}function bf(h){for(var y=0;y<e.selectedDates.length;y++){var D=e.selectedDates[y];if(D instanceof Date&&En(D,h)===0)return""+y}return!1}function mO(h){return e.config.mode!=="range"||e.selectedDates.length<2?!1:En(h,e.selectedDates[0])>=0&&En(h,e.selectedDates[1])<=0}function mu(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach(function(h,y){var D=new Date(e.currentYear,e.currentMonth,1);D.setMonth(e.currentMonth+y),e.config.showMonths>1||e.config.monthSelectorType==="static"?e.monthElements[y].textContent=lu(D.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=D.getMonth().toString(),h.value=D.getFullYear().toString()}),e._hidePrevMonthArrow=e.config.minDate!==void 0&&(e.currentYear===e.config.minDate.getFullYear()?e.currentMonth<=e.config.minDate.getMonth():e.currentYear<e.config.minDate.getFullYear()),e._hideNextMonthArrow=e.config.maxDate!==void 0&&(e.currentYear===e.config.maxDate.getFullYear()?e.currentMonth+1>e.config.maxDate.getMonth():e.currentYear>e.config.maxDate.getFullYear()))}function Tf(h){var y=h||(e.config.altInput?e.config.altFormat:e.config.dateFormat);return e.selectedDates.map(function(D){return e.formatDate(D,y)}).filter(function(D,I,z){return e.config.mode!=="range"||e.config.enableTime||z.indexOf(D)===I}).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function ni(h){h===void 0&&(h=!0),e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=Tf(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=Tf(e.config.altFormat)),h!==!1&&at("onValueUpdate")}function hO(h){var y=Dn(h),D=e.prevMonthNav.contains(y),I=e.nextMonthNav.contains(y);D||I?w(D?-1:1):e.yearElements.indexOf(y)>=0?y.select():y.classList.contains("arrowUp")?e.changeYear(e.currentYear+1):y.classList.contains("arrowDown")&&e.changeYear(e.currentYear-1)}function gO(h){h.preventDefault();var y=h.type==="keydown",D=Dn(h),I=D;e.amPM!==void 0&&D===e.amPM&&(e.amPM.textContent=e.l10n.amPM[Sn(e.amPM.textContent===e.l10n.amPM[0])]);var z=parseFloat(I.getAttribute("min")),ne=parseFloat(I.getAttribute("max")),Oe=parseFloat(I.getAttribute("step")),ue=parseInt(I.value,10),Me=h.delta||(y?h.which===38?1:-1:0),ae=ue+Oe*Me;if(typeof I.value!="undefined"&&I.value.length===2){var be=I===e.hourElement,Je=I===e.minuteElement;ae<z?(ae=ne+ae+Sn(!be)+(Sn(be)&&Sn(!e.amPM)),Je&&q(void 0,-1,e.hourElement)):ae>ne&&(ae=I===e.hourElement?ae-ne-Sn(!e.amPM):z,Je&&q(void 0,1,e.hourElement)),e.amPM&&be&&(Oe===1?ae+ue===23:Math.abs(ae-ue)>Oe)&&(e.amPM.textContent=e.l10n.amPM[Sn(e.amPM.textContent===e.l10n.amPM[0])]),I.value=nn(ae)}}return i(),e}function mo(r,t){for(var e=Array.prototype.slice.call(r).filter(function(a){return a instanceof HTMLElement}),n=[],i=0;i<e.length;i++){var s=e[i];try{if(s.getAttribute("data-fp-omit")!==null)continue;s._flatpickr!==void 0&&(s._flatpickr.destroy(),s._flatpickr=void 0),s._flatpickr=Yq(s,t||{}),n.push(s._flatpickr)}catch(a){console.error(a)}}return n.length===1?n[0]:n}typeof HTMLElement!="undefined"&&typeof HTMLCollection!="undefined"&&typeof NodeList!="undefined"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(r){return mo(this,r)},HTMLElement.prototype.flatpickr=function(r){return mo([this],r)});var yt=function(r,t){return typeof r=="string"?mo(window.document.querySelectorAll(r),t):r instanceof Node?mo([r],t):mo(r,t)};yt.defaultConfig={};yt.l10ns={en:sn({},zd),default:sn({},zd)};yt.localize=function(r){yt.l10ns.default=sn(sn({},yt.l10ns.default),r)};yt.setDefaults=function(r){yt.defaultConfig=sn(sn({},yt.defaultConfig),r)};yt.parseDate=Qd({});yt.formatDate=ub({});yt.compareDates=En;typeof jQuery!="undefined"&&typeof jQuery.fn!="undefined"&&(jQuery.fn.flatpickr=function(r){return mo(this,r)});Date.prototype.fp_incr=function(r){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof r=="string"?parseInt(r,10):r))};typeof window!="undefined"&&(window.flatpickr=yt);var M1=yt;function P1(r,t,e,n){var a,o;let i=t[e];M1(r,{defaultDate:i?i.format("YYYY-MM-DD"):new Date,disableMobile:!0,enableTime:!1,dateFormat:"Y-m-d",locale:{firstDayOfWeek:(o=(a=new Intl.Locale(navigator.language).weekInfo)==null?void 0:a.firstDay)!=null?o:1},onClose:(l,u,c)=>A(this,null,function*(){if(l.length>0){let d=l[0],f=new ns(e,d).apply(t);yield n(t,f)}c.destroy()}),onReady:(l,u,c)=>{let d=document.createElement("div");d.style.display="flex",d.style.justifyContent="space-between",d.style.marginTop="10px",A1(d,c,t,n,"Clear",()=>new iu(e,t).apply(t)),A1(d,c,t,n,"Today",()=>{let p=new Date;return new ns(e,p).apply(t)}),c.calendarContainer.appendChild(d)}}).open()}function A1(r,t,e,n,i,s){let a=document.createElement("button");a.type="button",a.textContent=i,a.classList.add("flatpickr-button"),a.addEventListener("click",()=>A(this,null,function*(){let o=s();yield n(e,o),t.destroy()})),r.appendChild(a)}_r();Aa();var cb=class{constructor(t){this.newStatus=t}apply(t){return this.isCheckedForTask(t)?[t]:t.handleNewStatusWithRecurrenceInUsersOrder(this.newStatus)}instructionDisplayName(){return`Change status to: [${this.newStatus.symbol}] ${this.newStatus.name}`}isCheckedForTask(t){return this.newStatus.symbol===t.status.symbol}};function N1(r){let t=[],e=new it().coreStatuses.map(n=>n.symbol);for(let n of[!0,!1])for(let i of r.registeredStatuses)e.includes(i.symbol)===n&&t.push(new cb(i));return t}var Jd=class extends rs{constructor(t,e,n=Zr){super(n);let i=N1(t);this.addItemsForInstructions(i,e)}};Ul();var ef=class{constructor(){this.data=qq}addDataAttribute(t,e,n){this.data[n].addDataAttribute(t,e,n)}addClassName(t,e){let n=this.data[e].className;t.classList.add(n)}},db=class{constructor(t,e,n){if(t==="")throw Error("Developer note: CSS class cannot be an empty string, please specify one.");this.className=t,this.attributeName=e,this.attributeValueCalculator=n}addDataAttribute(t,e,n){if(this.attributeName===db.noAttributeName)return;let i=this.attributeValueCalculator(n,e);i!==""&&(t.dataset[this.attributeName]=i)}},Rr=db;Rr.noAttributeName="",Rr.noAttributeValueCalculator=()=>"",Rr.dateAttributeCalculator=(t,e)=>{let i="far";function s(o){let u=window.moment().startOf("day").diff(o,"days");if(isNaN(u))return null;if(u===0)return"today";let c="";return u>0?c+="past-":u<0&&(c+="future-"),Math.abs(u)<=7?c+=Math.abs(u).toString()+"d":c+=i,c}let a=e[t];if(!Array.isArray(a)&&a instanceof window.moment){let o=s(a);if(o)return o}return""};function ho(r){return new Rr(r,Rr.noAttributeName,Rr.noAttributeValueCalculator)}function go(r,t){return new Rr(r,t,Rr.dateAttributeCalculator)}var qq={createdDate:go("task-created","taskCreated"),dueDate:go("task-due","taskDue"),startDate:go("task-start","taskStart"),scheduledDate:go("task-scheduled","taskScheduled"),doneDate:go("task-done","taskDone"),cancelledDate:go("task-cancelled","taskCancelled"),priority:new Rr("task-priority","taskPriority",(r,t)=>Fn.priorityNameUsingNormal(t.priority).toLocaleLowerCase()),description:ho("task-description"),recurrenceRule:ho("task-recurring"),onCompletion:ho("task-onCompletion"),dependsOn:ho("task-dependsOn"),id:ho("task-id"),blockLink:ho("task-block-link")};function Ze(r,t){let e=document.createElement(r);return t.appendChild(e),e}var Jr=class{static obsidianMarkdownRenderer(t,e,n,i,s){return A(this,null,function*(){!s||(yield I1.MarkdownRenderer.render(t,e,n,i,s))})}constructor({textRenderer:t=Jr.obsidianMarkdownRenderer,obsidianApp:e,obsidianComponent:n,taskLayoutOptions:i,queryLayoutOptions:s}){this.textRenderer=t,this.obsidianApp=e,this.obsidianComponent=n,this.taskLayoutOptions=i,this.queryLayoutOptions=s}renderTaskLine(a){return A(this,arguments,function*({li:t,task:e,taskIndex:n,isTaskInQueryFile:i,isFilenameUnique:s}){t.classList.add("task-list-item","plugin-tasks-list-item");let o=Ze("span",t);o.classList.add("tasks-list-text"),yield this.taskToHtml(e,o,t,i);let l=Ze("input",t);l.classList.add("task-list-item-checkbox"),l.type="checkbox",e.status.symbol!==" "&&(l.checked=!0,t.classList.add("is-checked")),e.taskLocation.hasKnownPath&&(l.addEventListener("click",c=>{c.preventDefault(),c.stopPropagation(),l.disabled=!0;let d=e.toggleWithRecurrenceInUsersOrder();$n({originalTask:e,newTasks:d})}),l.addEventListener("contextmenu",c=>{su(c,new Jd(Ge.getInstance(),e))}),l.setAttribute("title","Right-click for options")),t.prepend(l),t.setAttribute("data-task",e.status.symbol.trim()),t.setAttribute("data-line",n.toString()),t.setAttribute("data-task-status-name",e.status.name),t.setAttribute("data-task-status-type",e.status.type),l.setAttribute("data-line",n.toString()),this.queryLayoutOptions.shortMode&&this.addTooltip(e,o,s)})}taskToHtml(t,e,n,i){return A(this,null,function*(){let s=new ef,a=Un.tasksPluginEmoji.taskSerializer;for(let o of this.taskLayoutOptions.shownComponents){let l=a.componentToString(t,this.queryLayoutOptions.shortMode,o);if(l){let u=Ze("span",e),c=Ze("span",u);if(yield this.renderComponentText(c,l,o,t,i),this.addInternalClasses(o,c),s.addClassName(u,o),s.addDataAttribute(u,t,o),s.addDataAttribute(n,t,o),me.allDateFields().includes(o)){let d=o;u.addEventListener("click",f=>{f.preventDefault(),f.stopPropagation(),P1(u,t,d,Zr)}),u.addEventListener("contextmenu",f=>{su(f,new Gd(d,t,Zr))}),u.setAttribute("title",`Click to edit ${Hd(d)}, Right-click for more options`)}}}for(let o of this.taskLayoutOptions.hiddenComponents)s.addDataAttribute(n,t,o);n.dataset.taskPriority===void 0&&s.addDataAttribute(n,t,"priority")})}renderComponentText(t,e,n,i,s){return A(this,null,function*(){if(n==="description")return yield this.renderDescription(i,t,s);t.innerHTML=e})}renderDescription(t,e,n){return A(this,null,function*(){let i=this.adjustRelativeLinksInDescription(t,n);i=Ce.getInstance().removeAsWordFromDependingOnSettings(i);let{debugSettings:s}=te();s.showTaskHiddenData&&(i+=`<br>\u{1F41B} <b>${t.lineNumber}</b> . ${t.sectionStart} . ${t.sectionIndex} . '<code>${t.originalMarkdown}</code>'<br>'<code>${t.path}</code>' > '<code>${t.precedingHeader}</code>'<br>`),yield this.textRenderer(this.obsidianApp,i,e,t.path,this.obsidianComponent);let a=e.querySelector("blockquote"),o=a!=null?a:e,l=o.querySelector("p");if(l!==null){for(;l.firstChild;)o.insertBefore(l.firstChild,l);l.remove()}e.querySelectorAll("p").forEach(u=>{u.hasChildNodes()||u.remove()}),e.querySelectorAll(".footnotes").forEach(u=>{u.remove()})})}adjustRelativeLinksInDescription(t,e){if(e)return t.description;let n=t.file.cachedMetadata.links;if(!n)return t.description;let i=n.filter(a=>a.position.start.line===t.taskLocation.lineNumber&&t.description.includes(a.original)&&a.link.startsWith("#")),s=t.description;if(i.length!==0)for(let a of i){let o=`[[${t.path}${a.link}|${a.displayText}]]`;s=s.replace(a.original,o)}return s}addInternalClasses(t,e){function n(i){let s=/["&\x00\r\n]/g,a=i.replace(s,"-");return a=a.replace(/^[-_]+/,""),a.length>0?a:null}if(t==="description"){let i=e.getElementsByClassName("tag");for(let s=0;s<i.length;s++){let a=i[s].textContent;if(a){let o=n(a),l=i[s];o&&(l.dataset.tagName=o)}}}}addTooltip(t,e,n){let{recurrenceSymbol:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,dueDateSymbol:l,cancelledDateSymbol:u,doneDateSymbol:c}=Un.tasksPluginEmoji.taskSerializer.symbols;e.addEventListener("mouseenter",()=>{function d(b,v,E){v&&b.createDiv().setText(f({signifier:E,date:v}))}function f({signifier:b,date:v}){return`${b} ${v.format(ke.dateFormat)} (${v.from(window.moment().startOf("day"))})`}let p=e.createDiv();p.addClasses(["tooltip","pop-up"]),t.recurrence&&p.createDiv().setText(`${i} ${t.recurrence.toText()}`),d(p,t.createdDate,a),d(p,t.startDate,s),d(p,t.scheduledDate,o),d(p,t.dueDate,l),d(p,t.cancelledDate,u),d(p,t.doneDate,c);let g=t.getLinkText({isFilenameUnique:n});g&&p.createDiv().setText(`\u{1F517} ${g}`),e.addEventListener("mouseleave",()=>{p.remove()})})}renderListItem(t,e,n){return A(this,null,function*(){var a,o;if(e.statusCharacter){let l=Ze("input",t);l.classList.add("task-list-item-checkbox"),l.type="checkbox",l.addEventListener("click",u=>{u.preventDefault(),u.stopPropagation(),l.disabled=!0;let c=e.checkOrUncheck();$n({originalTask:e,newTasks:c})}),e.statusCharacter!==" "&&(l.checked=!0,t.classList.add("is-checked")),t.classList.add("task-list-item"),t.setAttribute("data-task",e.statusCharacter.trim()),t.setAttribute("data-line",n.toString())}let i=Ze("span",t);yield this.textRenderer(this.obsidianApp,e.description,i,(o=(a=e.findClosestParentTask())==null?void 0:a.path)!=null?o:"",this.obsidianComponent);let s=i.querySelector("p");if(s!==null){for(;s.firstChild;)i.insertBefore(s.firstChild,s);s.remove()}return t})}};var tf=class{constructor({plugin:t,app:e}){this.markdownPostProcessor=this._markdownPostProcessor.bind(this);this.app=e,t.registerMarkdownPostProcessor((n,i)=>{t.app.workspace.onLayoutReady(()=>{this.markdownPostProcessor(n,i)})})}_markdownPostProcessor(t,e){return A(this,null,function*(){var d;let n=new F1.MarkdownRenderChild(t);e.addChild(n);let i=t.findAll(".task-list-item").filter(f=>{var b;let p=(b=f.textContent)==null?void 0:b.split(`
`);if(p===void 0)return!1;let g=null;for(let v=0;v<p.length;v=v+1)if(p[v]!==""){g=p[v];break}return g===null?!1:Ce.getInstance().includedIn(g)});if(i.length===0)return;let s=e.sourcePath,a=e.getSectionInfo(t);if(a===null)return;let o=a.text.split(`
`),l=0,u=[];for(let f=a.lineStart;f<=a.lineEnd;f++){let p=o[f];if(p===void 0)continue;let g=null,b=me.fromLine({line:p,taskLocation:new Wt(new bt(s),f,a.lineStart,l,g),fallbackDate:null});b!==null&&(u.push(b),l++)}let c=new Jr({obsidianApp:this.app,obsidianComponent:n,taskLayoutOptions:new Wr,queryLayoutOptions:new Qi});for(let f=0;f<i.length;f++){let p=u[f],g=i[f];if(p===void 0||g===void 0)continue;let b=(d=g.getAttr("data-line"))!=null?d:"0",v=Number.parseInt(b,10),E=Ze("li",t);yield c.renderTaskLine({li:E,task:p,taskIndex:v,isTaskInQueryFile:!0});let x=g.childNodes;for(let V=0;V<x.length;V=V+1){let Z=x[V],j=Z.nodeName.toLowerCase();j==="div"?E.prepend(Z):(j==="ul"||j==="ol")&&E.append(Z)}let O=g.querySelectorAll("[data-footnote-id]"),q=E.querySelectorAll("[data-footnote-id]");if(O.length===q.length)for(let V=0;V<O.length;V++)q[V].replaceWith(O[V]);g.replaceWith(E)}})}};var L1=require("@codemirror/view"),U1=require("obsidian");Ut();var Y1=()=>L1.ViewPlugin.fromClass(fb),fb=class{constructor(t){this.view=t,this.handleClickEvent=this.handleClickEvent.bind(this),this.view.dom.addEventListener("click",this.handleClickEvent)}destroy(){this.view.dom.removeEventListener("click",this.handleClickEvent)}handleClickEvent(t){let{target:e}=t;if(!e||!(e instanceof HTMLInputElement)||e.type!=="checkbox")return!1;let n=e.closest("ul.plugin-tasks-query-result, div.callout-content");if(n){if(n.matches("div.callout-content")){let p=`obsidian-tasks-plugin warning: Tasks cannot add or remove completion dates or make the next copy of a recurring task for tasks written inside a callout when you click their checkboxes in Live Preview. 
If you wanted Tasks to do these things, please undo your change, then either click the line of the task and use the "Toggle Task Done" command, or switch to Reading View to click the checkbox.`;console.warn(p),new U1.Notice(p,45e3)}return!1}let{state:i}=this.view,s=this.view.posAtDOM(e),a=i.doc.lineAt(s),o=me.fromLine({line:a.text,taskLocation:Wt.fromUnknownPosition(new bt("")),fallbackDate:null});if(o===null)return!1;t.preventDefault();let l=o.toggleWithRecurrenceInUsersOrder(),u=l.map(p=>p.toFileLineString()).join(i.lineBreak),c=a.to;if(u===""){let p=a.number<i.doc.lines?i.doc.line(a.number+1):null;p&&(c=p.from)}let d=i.update({changes:{from:a.from,to:c,insert:u}});if(this.view.dispatch(d),l.length===1){let p=l[0].status.symbol!==" ";setTimeout(()=>{e.checked=p},1)}return!0}};var Ai=require("obsidian"),$1=require("obsidian");function q1(r,t,e,n=void 0){let i="";t.isEmpty()||(i+=`Only tasks containing the global filter '${t.get()}'.

`);let s=new Ka("  ");function a(c,d){return`${c}:

${s.explainQuery(d)}`}let o=new pn(r,n),l=new Ri().query(n);if(!(o.ignoreGlobalQuery||l.ignoreGlobalQuery)&&e.hasInstructions()){let c=e.query(n);i+=a("Explanation of the global query",c)+`
`}return l.source!==""&&(i+=a("Explanation of the Query File Defaults (from properties/frontmatter in the query's file)",l)+`
`),i+=a("Explanation of this Tasks code block query",o),i}function nf(r,t,e){let i=new Ri().query(e).append(new pn(r,e));return i.ignoreGlobalQuery?i:t.query(e).append(i)}Bi();var ei=require("obsidian");function uu(r,t,e){t&&r.push(Wq(e))}function Wq(r){return`tasks-layout-hide-${r}`}var rf=class{constructor(t){t?this.queryLayoutOptions=t:this.queryLayoutOptions=new Qi}getHiddenClasses(){let t=[],e=[[this.queryLayoutOptions.hideUrgency,"urgency"],[this.queryLayoutOptions.hideBacklinks,"backlinks"],[this.queryLayoutOptions.hideEditButton,"edit-button"],[this.queryLayoutOptions.hidePostponeButton,"postpone-button"]];for(let[n,i]of e)uu(t,n,i);return this.queryLayoutOptions.shortMode&&t.push("tasks-layout-short-mode"),t}};Es();var sf=class{constructor(t){t?this.taskLayoutOptions=t:this.taskLayoutOptions=new Wr}generateHiddenClasses(){let t=[];return this.taskLayoutOptions.toggleableComponents.forEach(e=>{uu(t,!this.taskLayoutOptions.isShown(e),e)}),uu(t,!this.taskLayoutOptions.areTagsShown(),"tags"),t}};var pb=require("obsidian");var ss=class extends rs{constructor(t,e,n=Zr){super(n);let i=(u,c,d,f,p,g)=>{var x;let b=!1,v=uo(e);if(v){let{postponedDate:O}=g(e,v,d,f);(x=e[v])!=null&&x.isSame(O,"day")&&(b=!0)}let E=p(e,f,d);c.setChecked(b).setTitle(E).onClick(()=>ss.postponeOnClickCallback(u,e,f,d,g,n))},s=T1,a=p1;this.addItem(u=>i(t,u,"days",0,s,a)),this.addItem(u=>i(t,u,"day",1,s,a)),this.addSeparator();let o=rb,l=nb;o(e,1,"day")!==s(e,1,"day")&&this.addItem(u=>i(t,u,"day",1,o,l)),this.addItem(u=>i(t,u,"days",2,o,l)),this.addItem(u=>i(t,u,"days",3,o,l)),this.addItem(u=>i(t,u,"days",4,o,l)),this.addItem(u=>i(t,u,"days",5,o,l)),this.addItem(u=>i(t,u,"days",6,o,l)),this.addSeparator(),this.addItem(u=>i(t,u,"week",1,o,l)),this.addItem(u=>i(t,u,"weeks",2,o,l)),this.addItem(u=>i(t,u,"weeks",3,o,l)),this.addItem(u=>i(t,u,"month",1,o,l)),this.addSeparator(),this.addItem(u=>i(t,u,"days",2,v1,m1))}static postponeOnClickCallback(o,l,u,c){return A(this,arguments,function*(t,e,n,i,s=nb,a=Zr){var g;let d=uo(e);if(d===null){let b="\u26A0\uFE0F Postponement requires a date: due, scheduled or start.";return new pb.Notice(b,1e4)}let{postponedDate:f,postponedTask:p}=s(e,d,i,n);(g=e[d])!=null&&g.isSame(f,"day")||(yield a(e,p),ss.postponeSuccessCallback(t,d,f))})}static postponeSuccessCallback(t,e,n){t.style.pointerEvents="none";let i=y1(n,e);new pb.Notice(i,2e3)}};un();Ut();var yo=class{constructor(t){this.addedListItems=new Set;this.getters=t}get filePath(){return this.getters.tasksFile().path}renderQuery(t,e){return A(this,null,function*(){this.beginRender();let i=this.getters.query().error;t==="Warm"&&i===void 0?yield this.renderQuerySearchResults(e):i?this.renderErrorMessage(i):this.renderLoadingMessage()})}renderQuerySearchResults(t){return A(this,null,function*(){if(this.explainQuery(),t.searchErrorMessage!==void 0){this.renderErrorMessage(t.searchErrorMessage);return}yield this.renderSearchResults(t)})}explainQuery(){if(this.getters.query().queryLayoutOptions.explainQuery){let t=q1(this.getters.source(),Ce.getInstance(),Gn.getInstance(),this.getters.tasksFile());this.renderExplanation(t)}}renderSearchResults(t){return A(this,null,function*(){this.renderSearchResultsHeader(t),yield this.addAllTaskGroups(t.taskGroups);let e=t.totalTasksCount;this.getters.query().debug(`[render] ${e} tasks displayed`),this.renderSearchResultsFooter(t)})}addAllTaskGroups(t){return A(this,null,function*(){for(let e of t.groups)yield this.addGroupHeadings(e.groupHeadings),this.addedListItems.clear(),yield this.addTaskList(e.tasks)})}addTaskList(t){return A(this,null,function*(){this.beginTaskList();try{this.getters.query().queryLayoutOptions.hideTree?yield this.addFlatTaskList(t):yield this.addTreeTaskList(t)}finally{this.endTaskList()}})}addFlatTaskList(t){return A(this,null,function*(){for(let[e,n]of t.entries())n instanceof me&&(this.beginListItem(),yield this.addTask(n,e))})}addTreeTaskList(t){return A(this,null,function*(){for(let[e,n]of t.entries())this.alreadyAdded(n)||this.willBeAddedLater(n,t)||(this.beginListItem(),n instanceof me?yield this.addTask(n,e):yield this.addListItem(n,e),yield this.addChildren(n.children),this.addedListItems.add(n))})}willBeAddedLater(t,e){let n=t.findClosestParentTask();return n?!!(!this.addedListItems.has(n)&&e.includes(n)):!1}alreadyAdded(t){return this.addedListItems.has(t)}addChildren(t){return A(this,null,function*(){t.length>0&&(yield this.addTaskList(t))})}addGroupHeadings(t){return A(this,null,function*(){for(let e of t)yield this.addGroupHeading(e)})}};var af=class extends yo{constructor(e,n,i,s,a,o){super(o);this.content=document.createElement("div");this.ulElementStack=[];this.lastLIElement=document.createElement("li");this.renderMarkdown=e,this.obsidianComponent=n,this.obsidianApp=i,this.textRenderer=s,this.queryRendererParameters=a,this.taskLineRenderer=this.createTaskLineRenderer()}createTaskLineRenderer(){return new Jr({textRenderer:this.textRenderer,obsidianApp:this.obsidianApp,obsidianComponent:this.obsidianComponent,taskLayoutOptions:this.getters.query().taskLayoutOptions,queryLayoutOptions:this.getters.query().queryLayoutOptions})}beginRender(){this.taskLineRenderer=this.createTaskLineRenderer()}renderSearchResultsHeader(e){}renderSearchResultsFooter(e){this.addTaskCount(e)}renderErrorMessage(e){let n=Ze("div",this.content);n.innerHTML=`<pre>Tasks query: ${e.replace(/\n/g,"<br>")}</pre>`}renderLoadingMessage(){this.content.textContent="Loading Tasks ..."}renderExplanation(e){let n=Ze("pre",this.content);n.classList.add("plugin-tasks-query-explanation"),n.textContent=e}beginTaskList(){let n=this.ulElementStack.length===0?this.content:this.lastLIElement,i=Ze("ul",n);i.classList.add("contains-task-list","plugin-tasks-query-result",...new sf(this.getters.query().taskLayoutOptions).generateHiddenClasses(),...new rf(this.getters.query().queryLayoutOptions).getHiddenClasses());let s=this.getGroupingAttribute();s&&s.length>0&&(i.dataset.taskGroupBy=s),this.ulElementStack.push(i)}endTaskList(){this.ulElementStack.pop()}beginListItem(){let e=this.currentULElement();this.lastLIElement=Ze("li",e)}addListItem(e,n){return A(this,null,function*(){yield this.taskLineRenderer.renderListItem(this.lastLIElement,e,n)})}addTask(e,n){return A(this,null,function*(){let i=this.isFilenameUnique({task:e},this.queryRendererParameters.allMarkdownFiles()),s=this.lastLIElement;yield this.taskLineRenderer.renderTaskLine({li:s,task:e,taskIndex:n,isTaskInQueryFile:this.filePath===e.path,isFilenameUnique:i}),s.querySelectorAll("[data-footnote-id]").forEach(u=>u.remove());let o=Ze("span",s);o.classList.add("task-extras"),this.getters.query().queryLayoutOptions.hideUrgency||this.addUrgency(o,e);let l=this.getters.query().queryLayoutOptions.shortMode;this.getters.query().queryLayoutOptions.hideBacklinks||this.addBacklinks(o,e,l,i),this.getters.query().queryLayoutOptions.hideEditButton||this.addEditButton(o,e),!this.getters.query().queryLayoutOptions.hidePostponeButton&&f1(e)&&this.addPostponeButton(o,e,l),this.currentULElement().appendChild(s)})}addEditButton(e,n){let i=Ze("a",e);i.classList.add("tasks-edit"),i.title="Edit task",i.href="#",i.addEventListener("click",s=>this.queryRendererParameters.editTaskPencilClickHandler(s,n,this.queryRendererParameters.allTasks()))}addUrgency(e,n){let i=new Intl.NumberFormat().format(n.urgency),s=Ze("span",e);s.textContent=i,s.classList.add("tasks-urgency")}addGroupHeading(e){return A(this,null,function*(){let n="h6";e.nestingLevel===0?n="h4":e.nestingLevel===1&&(n="h5");let i=Ze(n,this.content);if(i.classList.add("tasks-group-heading"),this.obsidianComponent===null){i.textContent="For test purposes: "+e.displayName;return}yield this.renderMarkdown(this.obsidianApp,e.displayName,i,this.getters.tasksFile().path,this.obsidianComponent)})}addBacklinks(e,n,i,s){var u;let a=Ze("span",e);a.classList.add("tasks-backlink"),i||a.append(" (");let o=Ze("a",a);o.rel="noopener",o.target="_blank",o.classList.add("internal-link"),i&&o.classList.add("internal-link-short-mode");let l;i?l=" \u{1F517}":l=(u=n.getLinkText({isFilenameUnique:s}))!=null?u:"",o.text=l,o.addEventListener("click",c=>A(this,null,function*(){yield this.queryRendererParameters.backlinksClickHandler(c,n)})),o.addEventListener("mousedown",c=>A(this,null,function*(){yield this.queryRendererParameters.backlinksMousedownHandler(c,n)})),i||a.append(")")}addPostponeButton(e,n,i){let a="day",o=b1(n,1,a),l=Ze("a",e);l.classList.add("tasks-postpone"),i&&l.classList.add("tasks-postpone-short-mode"),l.title=o,l.addEventListener("click",u=>{u.preventDefault(),u.stopPropagation(),ss.postponeOnClickCallback(l,n,1,a)}),l.addEventListener("contextmenu",u=>A(this,null,function*(){su(u,new ss(l,n))}))}addTaskCount(e){if(!this.getters.query().queryLayoutOptions.hideTaskCount){let n=Ze("div",this.content);n.classList.add("task-count"),n.textContent=e.totalTasksCountDisplayText()}}isFilenameUnique({task:e},n){let i=e.path.match(/([^/]*)\..+$/i);if(i===null)return;let s=i[1];return n.filter(o=>{if(o.basename===s)return!0}).length<2}getGroupingAttribute(){let e=[];for(let n of this.getters.query().grouping)e.push(n.property);return e.join(",")}currentULElement(){return this.ulElementStack[this.ulElementStack.length-1]}};var of=class extends yo{constructor(e){super(e);this.markdownLines=[];this.taskIndentationLevel=0}get markdown(){return this.markdownLines.join(`
`)}beginRender(){this.markdownLines.length=0,this.taskIndentationLevel=0}renderSearchResultsHeader(e){}renderSearchResultsFooter(e){}renderLoadingMessage(){}renderExplanation(e){e&&this.markdownLines.push(e)}renderErrorMessage(e){}beginTaskList(){this.taskIndentationLevel+=1}endTaskList(){this.taskIndentationLevel-=1,this.taskIndentationLevel===0&&this.addEmptyLine()}addEmptyLine(){this.markdownLines.push("")}beginListItem(){}addTask(e,n){return this.markdownLines.push(this.formatTask(e)),Promise.resolve()}formatTask(e){return`${this.listItemIndentation()}- [${e.status.symbol}] ${e.toString()}`}addListItem(e,n){return this.markdownLines.push(this.formatListItem(e)),Promise.resolve()}formatListItem(e){let n=e.statusCharacter?`[${e.statusCharacter}] `:"";return`${this.listItemIndentation()}- ${n}${e.description}`}listItemIndentation(){let e=Math.max(0,this.taskIndentationLevel-1);return"    ".repeat(e)}addGroupHeading(e){let n="#".repeat(Math.min(4+e.nestingLevel,6));return this.markdownLines.push(`${n} ${e.displayName}`),this.addEmptyLine(),Promise.resolve()}};var lf=class{constructor(t,e,n,i,s,a,o,l){this._filterString="";switch(this.source=e,this._tasksFile=n,this.queryResult=new pn("").applyQueryToTasks([]),this.filteredQueryResult=this.queryResult,t){case"block-language-tasks":this.query=this.makeQueryFromSourceAndTasksFile(),this.queryType="tasks";break;default:this.query=this.makeQueryFromSourceAndTasksFile(),this.queryType="tasks";break}let u={source:()=>this.source,tasksFile:()=>this._tasksFile,query:()=>this.query};this.htmlRenderer=new af(i,s,a,o,l,u),this.markdownRenderer=new of(u)}get filterString(){return this._filterString}makeQueryFromSourceAndTasksFile(){return nf(this.source,Gn.getInstance(),this.tasksFile)}get tasksFile(){return this._tasksFile}setTasksFile(t){this._tasksFile=t,this.rereadQueryFromFile()}rereadQueryFromFile(){this.query=this.makeQueryFromSourceAndTasksFile()}get filePath(){return this.tasksFile.path}render(t,e,n){return A(this,null,function*(){this.performSearch(e),this.addToolbar(n),yield this.renderQueryResult(t,this.filteredQueryResult,n)})}performSearch(t){let e=new Ps(`Search: ${this.query.queryId} - ${this.filePath}`);e.start(),this.queryResult=this.query.applyQueryToTasks(t),this.filterResults(),e.finish()}renderQueryResult(t,e,n){return A(this,null,function*(){let i=new Ps(`Render: ${this.query.queryId} - ${this.filePath}`);i.start(),this.htmlRenderer.content=n,yield this.htmlRenderer.renderQuery(t,e),i.finish()})}addToolbar(t){if(this.query.queryLayoutOptions.hideToolbar)return;let e=Ze("div",t);e.classList.add("plugin-tasks-toolbar"),this.addSearchBox(e,t),this.addCopyButton(e)}addSearchBox(t,e){let n=Ze("label",t);(0,ei.setIcon)(n,"lucide-filter");let i=Ze("input",n);i.value=this._filterString,i.placeholder="Filter by description...",(0,ei.setTooltip)(i,"Filter results");let s=()=>A(this,null,function*(){let a=i.value;yield this.applySearchBoxFilterAndRerender(a,e)});i.addEventListener("input",(0,ei.debounce)(s,500,!0))}applySearchBoxFilterAndRerender(t,e){return A(this,null,function*(){for(this._filterString=t,this.filterResults();e.firstElementChild!==e.lastElementChild;){let n=e.lastChild;if(n===null)break;n.remove()}yield this.renderQueryResult("Warm",this.filteredQueryResult,e)})}filterResults(){let{filter:t,error:e}=new Di().createFilterOrErrorMessage("description includes "+this._filterString);if(e){this.filteredQueryResult=this.queryResult;return}this.filteredQueryResult=this.queryResult.applyFilter(t)}addCopyButton(t){let e=Ze("button",t);(0,ei.setIcon)(e,"lucide-copy"),(0,ei.setTooltip)(e,"Copy results"),e.addEventListener("click",()=>A(this,null,function*(){let n=yield this.resultsAsMarkdown();yield navigator.clipboard.writeText(n),new ei.Notice("Results copied to clipboard")}))}resultsAsMarkdown(){return A(this,null,function*(){return yield this.markdownRenderer.renderQuery("Warm",this.filteredQueryResult),this.markdownRenderer.markdown})}};var uf=class{constructor({plugin:t,events:e}){this.addQueryRenderChild=this._addQueryRenderChild.bind(this);this.app=t.app,this.plugin=t,this.events=e,t.registerMarkdownCodeBlockProcessor("tasks",(n,i,s)=>{t.app.workspace.onLayoutReady(()=>{this.addQueryRenderChild(n,i,s)})})}_addQueryRenderChild(t,e,n){return A(this,null,function*(){let i=this.app,s=n.sourcePath,a=i.vault.getAbstractFileByPath(s),o=null;a&&a instanceof Ai.TFile&&(o=i.metadataCache.getFileCache(a));let l=new bt(s,o!=null?o:{}),u=new mb({app:i,plugin:this.plugin,events:this.events,container:e,source:t,tasksFile:l});n.addChild(u),u.load()})}},mb=class extends Ai.MarkdownRenderChild{constructor({app:e,plugin:n,events:i,container:s,source:a,tasksFile:o}){super(s);this.isCacheChangedSinceLastRedraw=!1;this.observer=null;this.isRendering=!1;this.app=e,this.plugin=n,this.events=i,this.queryResultsRenderer=new lf(this.containerEl.className,a,o,Ai.MarkdownRenderer.render,this,this.app,Jr.obsidianMarkdownRenderer,{allTasks:()=>this.plugin.getTasks(),allMarkdownFiles:()=>this.app.vault.getMarkdownFiles(),backlinksClickHandler:jq(this.app),backlinksMousedownHandler:Hq(this.app),editTaskPencilClickHandler:$q(this.app,()=>A(this,null,function*(){return yield this.plugin.saveSettings()}))}),this.queryResultsRenderer.query.debug("[render] QueryRenderChild.constructor() entered"),this.debouncedRenderFn=(0,Ai.debounce)(l=>this.render(l),300,!0)}onload(){this.queryResultsRenderer.query.debug("[render] QueryRenderChild.onload() entered"),this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.renderEventRef=this.events.onCacheUpdate(this.render.bind(this)),this.reloadSearchResultsEventRef=this.events.onReloadOpenSearchResults(this.rereadQueryFromFile.bind(this)),this.reloadQueryAtMidnight(),this.registerEvent(this.app.metadataCache.on("changed",(e,n,i)=>{let s=e.path;s===this.queryResultsRenderer.filePath&&this.handleMetadataOrFilePathChange(s,i)})),this.registerEvent(this.app.vault.on("rename",(e,n)=>{if(n!==this.queryResultsRenderer.filePath)return;let i=null;e&&e instanceof Ai.TFile&&(i=this.app.metadataCache.getFileCache(e)),this.handleMetadataOrFilePathChange(e.path,i)})),this.setupVisibilityObserver()}setupVisibilityObserver(){this.observer||(this.observer=new IntersectionObserver(([e])=>{!this.containerEl.isShown()||!e.isIntersecting||(this.queryResultsRenderer.query.debug(`[render][observer] Became visible, isCacheChangedSinceLastRedraw:${this.isCacheChangedSinceLastRedraw}`),this.isCacheChangedSinceLastRedraw&&(this.queryResultsRenderer.query.debug("[render][observer] ... updating search results"),this.render({tasks:this.plugin.getTasks(),state:this.plugin.getState()}).then().catch(n=>console.error(n))))}),this.observer.observe(this.containerEl))}handleMetadataOrFilePathChange(e,n){let i=this.queryResultsRenderer.tasksFile,s=new bt(e,n!=null?n:{}),a=i.path!==s.path,o=!i.rawFrontmatterIdenticalTo(s);(a||o)&&(this.queryResultsRenderer.setTasksFile(s),this.events.triggerRequestCacheUpdate(this.render.bind(this)))}onunload(){var e;this.queryResultsRenderer.query.debug("[render] QueryRenderChild.onunload() entered"),this.renderEventRef!==void 0&&this.events.off(this.renderEventRef),this.reloadSearchResultsEventRef!==void 0&&this.events.off(this.reloadSearchResultsEventRef),this.queryReloadTimeout!==void 0&&clearTimeout(this.queryReloadTimeout),this.debouncedRenderFn.cancel(),(e=this.observer)==null||e.disconnect(),this.observer=null}reloadQueryAtMidnight(){let e=new Date;e.setHours(24,0,0,0);let n=new Date,i=e.getTime()-n.getTime();this.queryReloadTimeout=setTimeout(()=>{this.queryResultsRenderer.query=nf(this.queryResultsRenderer.source,Gn.getInstance(),this.queryResultsRenderer.tasksFile),this.events.triggerRequestCacheUpdate(this.render.bind(this)),this.reloadQueryAtMidnight()},i+1e3)}debouncedRender(e){this.debouncedRenderFn(e)}render(i){return A(this,arguments,function*({tasks:e,state:n}){this.isCacheChangedSinceLastRedraw=!0,requestAnimationFrame(()=>A(this,null,function*(){if(!this.isRendering){if(this.isRendering=!0,!this.containerEl.isConnected){this.queryResultsRenderer.query.debug("[render] Ignoring redraw request, as code block is not connected."),this.isRendering=!1;return}if(!this.containerEl.isShown()){this.queryResultsRenderer.query.debug("[render] Ignoring redraw request, as code block is not shown."),this.isRendering=!1;return}yield this.renderResults(n,e),this.isCacheChangedSinceLastRedraw=!1,this.isRendering=!1}}))})}renderResults(e,n){return A(this,null,function*(){var s;let i=Ze("div",this.containerEl);yield this.queryResultsRenderer.render(e,n,i),(s=this.containerEl.firstChild)==null||s.replaceWith(i)})}rereadQueryFromFile(){this.queryResultsRenderer.rereadQueryFromFile(),this.isCacheChangedSinceLastRedraw=!0,this.debouncedRender({tasks:this.plugin.getTasks(),state:this.plugin.getState()})}};function $q(r,t){return function(n,i,s){n.preventDefault();let a=l=>A(this,null,function*(){yield $n({originalTask:i,newTasks:qt.removeInferredStatusIfNeeded(i,l)})});new Br({app:r,task:i,onSaveSettings:t,onSubmit:a,allTasks:s}).open()}}function jq(r){return function(e,n){return A(this,null,function*(){let i=yield Sy(n,r.vault);if(i){let[s,a]=i,o=r.workspace.getLeaf($1.Keymap.isModEvent(e));e.preventDefault(),yield o.openFile(a,{eState:{line:s}})}})}}function Hq(r){return function(e,n){return A(this,null,function*(){if(e.button===1){e.preventDefault();let i=yield Sy(n,r.vault);if(i){let[s,a]=i;yield r.workspace.getLeaf("tab").openFile(a,{eState:{line:s}})}}})}}vt();var we=require("obsidian");In();$r();_r();Ni();Aa();var cf=class{constructor(t){this._markdown="";this.columnNames=t,this.addTitleRow()}get markdown(){return this._markdown}addTitleRow(){let t="|",e="|";this.columnNames.forEach(n=>{t+=` ${n} |`,e+=" ----- |"}),this._markdown+=`${t}
`,this._markdown+=`${e}
`}addRow(t){let e=this.makeRowText(t);this._markdown+=`${e}
`}addRowIfNew(t){let e=this.makeRowText(t);this._markdown.includes(e)||(this._markdown+=`${e}
`)}makeRowText(t){let e="|";return t.forEach(n=>{e+=` ${n} |`}),e}};Ni();un();In();_r();$r();function j1(r,t){return r.findIndex(e=>e.symbol===t)}function Pi(r){return r===""?r:"`"+(r!==" "?r:"space")+"`"}function Gq(r,t){let e=Te.getTypeForUnknownSymbol(r.symbol);if(r.type===e||e==="TODO"&&r.symbol!==" ")return;let n=Pi(r.symbol),i=Pi(e);t.push(M.t("reports.statusRegistry.messages.notConventionalType",{symbol:n,type:i}))}function Bq(r,t,e){let n=t.nextStatusSymbol,i=j1(r,n);if(i===-1){let a=Pi(n);e.push(M.t("reports.statusRegistry.messages.nextSymbolUnknown",{symbol:a}));return}if(t.type!=="DONE")return;let s=r[i];if(s){if(s.type!=="TODO"&&s.type!=="IN_PROGRESS"){let a="https://publish.obsidian.md/tasks/Getting+Started/Statuses/Recurring+Tasks+and+Custom+Statuses",o=Pi(s.type),l=[M.t("reports.statusRegistry.messages.wrongTypeAfterDone.line1",{nextType:o}),M.t("reports.statusRegistry.messages.wrongTypeAfterDone.line2"),M.t("reports.statusRegistry.messages.wrongTypeAfterDone.line3",{helpURL:a})].join("<br>");e.push(l)}}else e.push(M.t("reports.statusRegistry.messages.cannotFindNextStatus"))}function Vq(r,t,e){let n=[];if(t.symbol===Te.EMPTY.symbol)return n.push(M.t("reports.statusRegistry.messages.emptySymbol")),n;if(j1(r,t.symbol)!=e){let s=Pi(t.symbol);return n.push(M.t("reports.statusRegistry.messages.duplicateSymbol",{symbol:s})),n}return Gq(t,n),Bq(r,t,n),n}function H1(r){let t=new cf([M.t("reports.statusRegistry.columnHeadings.statusSymbol"),M.t("reports.statusRegistry.columnHeadings.nextStatusSymbol"),M.t("reports.statusRegistry.columnHeadings.statusName"),M.t("reports.statusRegistry.columnHeadings.statusType"),M.t("reports.statusRegistry.columnHeadings.problems")]),e=it.allStatuses(r);return e.forEach((n,i)=>{t.addRow([Pi(n.symbol),Pi(n.nextStatusSymbol),n.name,Pi(n.type),Vq(e,n,i).join("<br>")])}),t.markdown}function G1(r){let t=new Ge;return it.applyToStatusRegistry(r,t),t.registeredStatuses.map((n,i)=>{let s=Ce.getInstance(),a=s.isEmpty()?"":s.get()+" ",o=`Sample task ${i+1}`,l=`status symbol=${Pi(n.symbol)}`,u=`status name='${n.name}'`;return`- [${n.symbol}] ${a}${o}: ${l} ${u}`})}function B1(r,t,e,n){let s=H1(r),a=t.mermaidDiagram(!0),o=G1(r);return`# ${e}

## ${M.t("reports.statusRegistry.about.title")}

${M.t("reports.statusRegistry.about.createdBy",{version:n})}

${M.t("reports.statusRegistry.about.updateReport.line1")}

- ${M.t("reports.statusRegistry.about.updateReport.line2")}
- ${M.t("reports.statusRegistry.about.updateReport.line3")}

${M.t("reports.statusRegistry.about.deleteFileAnyTime")}

## ${M.t("reports.statusRegistry.statusSettings.title")}

<!--
${M.t("reports.statusRegistry.statusSettings.comment.line1")}
${M.t("reports.statusRegistry.statusSettings.comment.line2")}
${M.t("reports.statusRegistry.statusSettings.comment.line3")}
-->

${M.t("reports.statusRegistry.statusSettings.theseAreStatusValues")}

${s}
## ${M.t("reports.statusRegistry.loadedSettings.title")}

<!-- ${M.t("reports.statusRegistry.loadedSettings.switchToLivePreview")} -->

${M.t("reports.statusRegistry.loadedSettings.settingsActuallyUsed")}
${a}

## ${M.t("reports.statusRegistry.sampleTasks.title")}

${M.t("reports.statusRegistry.sampleTasks.line1")}

${M.t("reports.statusRegistry.sampleTasks.line2")}

${M.t("reports.statusRegistry.sampleTasks.line3")}

> [!Tip] ${M.t("reports.statusRegistry.sampleTasks.tip.line1")}
> ${M.t("reports.statusRegistry.sampleTasks.tip.line2",{url:"https://publish.obsidian.md/tasks/How+To/Style+custom+statuses"})}

${o.join(`
`)}

## ${M.t("reports.statusRegistry.searchSampleTasks.title")}

${M.t("reports.statusRegistry.searchSampleTasks.line1")}

\`\`\`tasks
path includes {{query.file.path}}
group by status.type
group by status.name
sort by function task.lineNumber
hide postpone button
short mode
\`\`\`
`}Ni();function V1(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],['"',"Quote","x","TODO"],["0","Speech bubble 0","0","NON_TASK"],["1","Speech bubble 1","1","NON_TASK"],["2","Speech bubble 2","2","NON_TASK"],["3","Speech bubble 3","3","NON_TASK"],["4","Speech bubble 4","4","NON_TASK"],["5","Speech bubble 5","5","NON_TASK"],["6","Speech bubble 6","6","NON_TASK"],["7","Speech bubble 7","7","NON_TASK"],["8","Speech bubble 8","8","NON_TASK"],["9","Speech bubble 9","9","NON_TASK"]]}function z1(){return[[" ","incomplete","x","TODO"],["x","complete / done"," ","DONE"],["-","cancelled"," ","CANCELLED"],[">","deferred","x","TODO"],["/","in progress, or half-done","x","IN_PROGRESS"],["!","Important","x","TODO"],["?","question","x","TODO"],["R","review","x","TODO"],["+","Inbox / task that should be processed later","x","TODO"],["b","bookmark","x","TODO"],["B","brainstorm","x","TODO"],["D","deferred or scheduled","x","TODO"],["I","Info","x","TODO"],["i","idea","x","TODO"],["N","note","x","TODO"],["Q","quote","x","TODO"],["W","win / success / reward","x","TODO"],["P","pro","x","TODO"],["C","con","x","TODO"]]}function K1(){return[[" ","To Do","x","TODO"],["/","In Progress","x","IN_PROGRESS"],["x","Done"," ","DONE"],["-","Cancelled"," ","CANCELLED"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["?","Question","x","TODO"],["i","Infomation","x","TODO"],["S","Amount","x","TODO"],["*","Star","x","TODO"],["b","Bookmark","x","TODO"],["\u201C","Quote","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["I","Idea","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["u","Up","x","TODO"],["d","Down","x","TODO"]]}function Q1(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],[">","Deferred","x","TODO"],["!","Important","x","TODO"],["?","Question","x","TODO"],["r","Review","x","TODO"]]}function X1(){return[[" ","Unchecked","x","TODO"],["x","Regular"," ","DONE"],["X","Checked"," ","DONE"],["-","Dropped"," ","CANCELLED"],[">","Forward","x","TODO"],["<","Migrated","x","TODO"],["D","Date","x","TODO"],["?","Question","x","TODO"],["/","Half Done","x","IN_PROGRESS"],["+","Add","x","TODO"],["R","Research","x","TODO"],["!","Important","x","TODO"],["i","Idea","x","TODO"],["B","Brainstorm","x","TODO"],["P","Pro","x","TODO"],["C","Con","x","TODO"],["Q","Quote","x","TODO"],["N","Note","x","TODO"],["b","Bookmark","x","TODO"],["I","Information","x","TODO"],["p","Paraphrase","x","TODO"],["L","Location","x","TODO"],["E","Example","x","TODO"],["A","Answer","x","TODO"],["r","Reward","x","TODO"],["c","Choice","x","TODO"],["d","Doing","x","IN_PROGRESS"],["T","Time","x","TODO"],["@","Character / Person","x","TODO"],["t","Talk","x","TODO"],["O","Outline / Plot","x","TODO"],["~","Conflict","x","TODO"],["W","World","x","TODO"],["f","Clue / Find","x","TODO"],["F","Foreshadow","x","TODO"],["H","Favorite / Health","x","TODO"],["&","Symbolism","x","TODO"],["s","Secret","x","TODO"]]}function Z1(){return[[" ","Unchecked","x","TODO"],["x","Checked"," ","DONE"],[">","Rescheduled","x","TODO"],["<","Scheduled","x","TODO"],["!","Important","x","TODO"],["-","Cancelled"," ","CANCELLED"],["/","In Progress","x","IN_PROGRESS"],["?","Question","x","TODO"],["*","Star","x","TODO"],["n","Note","x","TODO"],["l","Location","x","TODO"],["i","Information","x","TODO"],["I","Idea","x","TODO"],["S","Amount","x","TODO"],["p","Pro","x","TODO"],["c","Con","x","TODO"],["b","Bookmark","x","TODO"],["f","Fire","x","TODO"],["k","Key","x","TODO"],["w","Win","x","TODO"],["u","Up","x","TODO"],["d","Down","x","TODO"]]}function J1(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}function eO(){return[[" ","to-do","x","TODO"],["/","incomplete","x","IN_PROGRESS"],["x","done"," ","DONE"],["-","canceled"," ","CANCELLED"],[">","forwarded","x","TODO"],["<","scheduling","x","TODO"],["?","question","x","TODO"],["!","important","x","TODO"],["*","star","x","TODO"],['"',"quote","x","TODO"],["l","location","x","TODO"],["b","bookmark","x","TODO"],["i","information","x","TODO"],["S","savings","x","TODO"],["I","idea","x","TODO"],["p","pros","x","TODO"],["c","cons","x","TODO"],["f","fire","x","TODO"],["k","key","x","TODO"],["w","win","x","TODO"],["u","up","x","TODO"],["d","down","x","TODO"]]}vt();un();Aa();var Cr=require("obsidian");In();In();_r();$r();var Ks=class{validate(t){let e=[];return e.push(...this.validateSymbol(t)),e.push(...this.validateName(t)),e.push(...this.validateNextSymbol(t)),e}validateStatusCollectionEntry(t){let[e,n,i,s]=t,a=[];if(a.push(...this.validateType(s)),e===i&&s!=="NON_TASK"&&a.push(`Status symbol '${e}' toggles to itself`),a.length>0)return a;let o=Te.createFromImportedValue(t).configuration;return a.push(...this.validateSymbolTypeConventions(o)),a.push(...this.validate(o)),a}validateSymbol(t){return Ks.validateOneSymbol(t.symbol,"Task Status Symbol")}validateNextSymbol(t){return Ks.validateOneSymbol(t.nextStatusSymbol,"Task Next Status Symbol")}validateName(t){let e=[];return t.name.length===0&&e.push("Task Status Name cannot be empty."),e}validateType(t){let e=zt[t],n=[];return e||n.push(`Status Type "${t}" is not a valid type`),e=="EMPTY"&&n.push('Status Type "EMPTY" is not permitted in user data'),n}validateSymbolTypeConventions(t){let e=[],n=t.symbol,i=new Ge,s=n==="X"?"x":n,a=i.bySymbol(s);return a.type!=="EMPTY"&&(t.nextStatusSymbol!==a.nextStatusSymbol&&e.push(`Next Status Symbol for symbol '${n}': '${t.nextStatusSymbol}' is inconsistent with convention '${a.nextStatusSymbol}'`),t.type!==a.type&&e.push(`Status Type for symbol '${n}': '${t.type}' is inconsistent with convention '${a.type}'`)),e}static validateOneSymbol(t,e){let n=[];return t.length===0&&n.push(`${e} cannot be empty.`),t.length>1&&n.push(`${e} ("${t}") must be a single character.`),n}};_r();Ni();var Qs=new Ks,Bn=class extends Cr.Modal{constructor(e,n,i){super(e.app);this.plugin=e;this.saved=!1;this.error=!1;this.statusSymbol=n.symbol,this.statusName=n.name,this.statusNextSymbol=n.nextStatusSymbol,this.statusAvailableAsCommand=n.availableAsCommand,this.type=n.type,this.isCoreStatus=i}statusConfiguration(){return new gt(this.statusSymbol,this.statusName,this.statusNextSymbol,this.statusAvailableAsCommand,this.type)}display(){return A(this,null,function*(){let{contentEl:e}=this;e.empty();let n=e.createDiv(),i;new Cr.Setting(n).setName(M.t("modals.customStatusModal.editStatusSymbol.name")).setDesc(M.t("modals.customStatusModal.editStatusSymbol.description")).addText(u=>{i=u,u.setValue(this.statusSymbol).onChange(c=>{this.statusSymbol=c,Bn.setValid(u,Qs.validateSymbol(this.statusConfiguration()))})}).setDisabled(this.isCoreStatus).then(u=>{Bn.setValid(i,Qs.validateSymbol(this.statusConfiguration()))});let s;new Cr.Setting(n).setName(M.t("modals.customStatusModal.editStatusName.name")).setDesc(M.t("modals.customStatusModal.editStatusName.description")).addText(u=>{s=u,u.setValue(this.statusName).onChange(c=>{this.statusName=c,Bn.setValid(u,Qs.validateName(this.statusConfiguration()))})}).then(u=>{Bn.setValid(s,Qs.validateName(this.statusConfiguration()))});let a;new Cr.Setting(n).setName(M.t("modals.customStatusModal.editNextStatusSymbol.name")).setDesc(M.t("modals.customStatusModal.editNextStatusSymbol.description")).addText(u=>{a=u,u.setValue(this.statusNextSymbol).onChange(c=>{this.statusNextSymbol=c,Bn.setValid(u,Qs.validateNextSymbol(this.statusConfiguration()))})}).then(u=>{Bn.setValid(a,Qs.validateNextSymbol(this.statusConfiguration()))}),new Cr.Setting(n).setName(M.t("modals.customStatusModal.editStatusType.name")).setDesc(M.t("modals.customStatusModal.editStatusType.description")).addDropdown(u=>{["TODO","IN_PROGRESS","ON_HOLD","DONE","CANCELLED","NON_TASK"].forEach(d=>{u.addOption(d,d)}),u.setValue(this.type).onChange(d=>{this.type=Te.getTypeFromStatusTypeString(d)})}),Te.tasksPluginCanCreateCommandsForStatuses()&&new Cr.Setting(n).setName(M.t("modals.customStatusModal.editAvailableAsCommand.name")).setDesc(M.t("modals.customStatusModal.editAvailableAsCommand.description")).addToggle(u=>{u.setValue(this.statusAvailableAsCommand).onChange(c=>A(this,null,function*(){this.statusAvailableAsCommand=c}))});let o=e.createDiv(),l=new Cr.Setting(o);l.addButton(u=>(u.setTooltip("Save").setIcon("checkmark").onClick(()=>A(this,null,function*(){let c=Qs.validate(this.statusConfiguration());if(c.length>0){let d=c.join(`
`)+`

`+M.t("modals.customStatusModal.fixErrorsBeforeSaving");new Cr.Notice(d);return}this.saved=!0,this.close()})),u)),l.addExtraButton(u=>(u.setIcon("cross").setTooltip("Cancel").onClick(()=>{this.saved=!1,this.close()}),u))})}onOpen(){this.display()}static setValidationError(e){e.inputEl.addClass("tasks-settings-is-invalid")}static removeValidationError(e){e.inputEl.removeClass("tasks-settings-is-invalid")}static setValid(e,n){n.length===0?Bn.removeValidationError(e):Bn.setValidationError(e)}};var hb=require("obsidian");function tO(r,t,e){if(t===e||!Object.prototype.hasOwnProperty.call(r,t))return U({},r);let n={};for(let[i,s]of Object.entries(r))i===t?n[e]=s:n[i]=s;return n}var cu=class{constructor(t,e,n){this.originalName=t,this.isValid=e,this.errorMessage=n}},df=class{validateRenames(t){let e={};for(let[n,i]of Object.entries(t)){let s={};for(let[a,o]of Object.entries(t))a!==n&&(s[o]="");e[n]=this.validateRename(s,"",i)}return e}validateRename(t,e,n){if(!n||n.trim()==="")return new cu(e,!1,"Preset name cannot be empty or all whitespace");for(let i of Object.keys(t))if(i!==e&&i.trim()===n.trim())return new cu(e,!1,"A preset with this name already exists");return new cu(e,!0,null)}addPreset(t){let e=this.generateUniqueKey(t),n=U({},t);return n[e]="",{presets:n,newKey:e}}renamePreset(t,e,n){return!n||n.trim()===""||(n=n.trim(),this.wouldCreateDuplicateKey(t,e,n))?null:tO(t,e,n)}deletePreset(t,e){let n=U({},t);return delete n[e],n}updatePresetValue(t,e,n){let i=U({},t);return i[e]=n,i}wouldCreateDuplicateKey(t,e,n){let i=n.trim();if(e.trim()===i)return!1;for(let s of Object.keys(t))if(s!==e&&s.trim()===i)return!0;return!1}generateUniqueKey(t){let e="new_key",n=1;for(;Object.prototype.hasOwnProperty.call(t,`${e}_${n}`);)n++;return`${e}_${n}`}reorderPreset(t,e,n){let i=Object.keys(t),s=i.indexOf(e);if(s===-1||n<0||n>=i.length)return null;if(s===n)return U({},t);let a=[...i];a.splice(s,1),a.splice(n,0,e);let o={};for(let l of a)o[l]=t[l];return o}};Ni();vt();var ff=class{constructor(t,e){this.presetsSettingsService=new df;this.nameFields=new Map;this.plugin=t,this.events=e}renderPresetsSettings(t){let e=t.createDiv(),n=te(),i=()=>{e.empty(),this.nameFields.clear(),Object.entries(n.presets).forEach(([s,a])=>{this.renderPresetItem(e,n,s,a,i)})};i(),this.createAddNewPresetButton(t,n,i)}renderPresetItem(t,e,n,i,s){let a=t.createDiv({cls:"tasks-presets-wrapper"}),o=new hb.Setting(a);o.settingEl.addClass("tasks-presets-setting"),a.setAttribute("data-preset-key",n),o.addText(l=>{l.setPlaceholder("Name").setValue(n),l.inputEl.addClass("tasks-presets-key"),this.nameFields.set(n,{inputEl:l.inputEl,originalKey:n});let u=n;l.inputEl.addEventListener("input",d=>{u=d.target.value,this.validateAllInputs()});let c=()=>A(this,null,function*(){if(u&&u!==n){let d=this.presetsSettingsService.renamePreset(e.presets,n,u);d&&(yield this.savePresetsSettings(d,e,s))}});l.inputEl.addEventListener("blur",c),l.inputEl.addEventListener("keydown",d=>A(this,null,function*(){d.key==="Enter"&&(d.preventDefault(),l.inputEl.blur())}))}),o.addTextArea(l=>(l.inputEl.addClass("tasks-presets-value"),l.setPlaceholder("Query or filter text...").setValue(i),this.setupAutoResizingTextarea(l),l.onChange(u=>A(this,null,function*(){let c=this.presetsSettingsService.updatePresetValue(e.presets,n,u);yield this.savePresetsSettings(c,e,null)})))),o.addExtraButton(l=>{l.extraSettingsEl.addClass("tasks-presets-drag-handle"),l.setIcon("grip-vertical").setTooltip("Drag to reorder"),l.extraSettingsEl.style.cursor="grab",l.extraSettingsEl.addEventListener("mousedown",u=>{a.draggable=!0,l.extraSettingsEl.style.cursor="grabbing"}),l.extraSettingsEl.addEventListener("mouseup",u=>{l.extraSettingsEl.style.cursor="grab"})}),o.addExtraButton(l=>{l.extraSettingsEl.addClass("tasks-presets-delete-button"),l.setIcon("cross").setTooltip("Delete").onClick(()=>A(this,null,function*(){let u=this.presetsSettingsService.deletePreset(e.presets,n);yield this.savePresetsSettings(u,e,s)}))}),this.setupDragAndDrop(a,n,e,s),o.infoEl.remove()}setupDragAndDrop(t,e,n,i){t.addEventListener("dragstart",s=>{s.dataTransfer&&(s.dataTransfer.setData("text/plain",e),s.dataTransfer.effectAllowed="move"),t.addClass("tasks-presets-dragging")}),t.addEventListener("dragend",s=>{t.draggable=!1,t.removeClass("tasks-presets-dragging"),this.clearDropIndicators()}),t.addEventListener("dragover",s=>{s.preventDefault(),s.dataTransfer&&(s.dataTransfer.dropEffect="move"),this.showDropIndicator(t,s)}),t.addEventListener("dragleave",s=>{let a=t.getBoundingClientRect(),o=s.clientX,l=s.clientY;(o<a.left||o>a.right||l<a.top||l>a.bottom)&&this.clearDropIndicator(t)}),t.addEventListener("drop",s=>A(this,null,function*(){var c;s.preventDefault();let a=(c=s.dataTransfer)==null?void 0:c.getData("text/plain");if(!a||a===e){this.clearDropIndicators();return}let o=this.calculateDropPosition(t,s),l=this.getTargetIndex(e,o),u=this.presetsSettingsService.reorderPreset(n.presets,a,l);u&&(yield this.savePresetsSettings(u,n,i)),this.clearDropIndicators()}))}getTargetIndex(t,e){let n=te(),s=Object.keys(n.presets).indexOf(t);return e==="above"?s:s+1}showDropIndicator(t,e){this.clearDropIndicators(),this.calculateDropPosition(t,e)==="above"?t.addClass("tasks-presets-drop-above"):t.addClass("tasks-presets-drop-below")}calculateDropPosition(t,e){let n=t.getBoundingClientRect(),i=n.top+n.height/2;return e.clientY<i?"above":"below"}clearDropIndicators(){document.querySelectorAll(".tasks-presets-wrapper").forEach(e=>{this.clearDropIndicator(e)})}clearDropIndicator(t){t.removeClass("tasks-presets-drop-above"),t.removeClass("tasks-presets-drop-below")}validateAllInputs(){let t={};this.nameFields.forEach(({inputEl:n,originalKey:i})=>{t[i]=n.value});let e=this.presetsSettingsService.validateRenames(t);this.nameFields.forEach(({inputEl:n,originalKey:i})=>{var a;let s=e[i];s&&!s.isValid?(n.addClass("has-error"),n.title=(a=s.errorMessage)!=null?a:""):(n.removeClass("has-error"),n.title="")})}setupAutoResizingTextarea(t){let e=()=>{t.inputEl.style.height="auto",t.inputEl.style.height=`${t.inputEl.scrollHeight}px`};e(),t.inputEl.addEventListener("input",e)}createAddNewPresetButton(t,e,n){new hb.Setting(t).addButton(i=>{i.setButtonText(M.t("settings.presets.buttons.addNewPreset")).setCta().onClick(()=>A(this,null,function*(){let{presets:s}=this.presetsSettingsService.addPreset(e.presets);yield this.savePresetsSettings(s,e,n)}))})}savePresetsSettings(t,e,n){return A(this,null,function*(){st({presets:t}),yield this.plugin.saveSettings(),e.presets=U({},t),n&&n(),this.events.triggerReloadOpenSearchResults()})}};var dt=class extends we.PluginSettingTab{constructor({plugin:e,events:n}){super(e.app,e);this.customFunctions={insertTaskCoreStatusSettings:this.insertTaskCoreStatusSettings.bind(this),insertCustomTaskStatusSettings:this.insertCustomTaskStatusSettings.bind(this)};this.plugin=e,this.presetsSettingsUI=new ff(e,n),this.events=n}saveSettings(e){return A(this,null,function*(){yield this.plugin.saveSettings(),e&&this.display()})}display(){let{containerEl:e}=this;e.empty(),this.containerEl.addClass("tasks-settings"),new we.Setting(e).setName(M.t("settings.format.name")).setDesc(dt.createFragmentWithHTML(`<p>${M.t("settings.format.description.line1")}</p><p>${M.t("settings.format.description.line2")}</p><p>${M.t("settings.changeRequiresRestart")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Reference/Task+Formats/About+Task+Formats"))).addDropdown(c=>{for(let d of Object.keys(Un))c.addOption(d,Un[d].getDisplayName());c.setValue(te().taskFormat).onChange(d=>A(this,null,function*(){st({taskFormat:d}),yield this.plugin.saveSettings()}))}),new we.Setting(e).setName(M.t("settings.globalFilter.heading")).setHeading();let n=null;new we.Setting(e).setName(M.t("settings.globalFilter.filter.name")).setDesc(dt.createFragmentWithHTML(`<p><b>${M.t("settings.globalFilter.filter.description.line1")}</b></p><p>${M.t("settings.globalFilter.filter.description.line2")}<p><p>${M.t("settings.globalFilter.filter.description.line3")}</br>${M.t("settings.globalFilter.filter.description.line4")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Global+Filter"))).addText(c=>{c.setPlaceholder(M.t("settings.globalFilter.filter.placeholder")).setValue(Ce.getInstance().get()).onChange((0,we.debounce)(d=>A(this,null,function*(){st({globalFilter:d}),Ce.getInstance().set(d),yield this.plugin.saveSettings(),ti(n,d.length>0),this.events.triggerReloadVault()}),500,!0))}),n=new we.Setting(e).setName(M.t("settings.globalFilter.removeFilter.name")).setDesc(dt.createFragmentWithHTML(`<p>${M.t("settings.globalFilter.removeFilter.description")}</p><p>${M.t("settings.changeRequiresRestart")}</p>`)).addToggle(c=>{let d=te();c.setValue(d.removeGlobalFilter).onChange(f=>A(this,null,function*(){st({removeGlobalFilter:f}),Ce.getInstance().setRemoveGlobalFilter(f),yield this.plugin.saveSettings()}))}),ti(n,te().globalFilter.length>0),new we.Setting(e).setName(M.t("settings.globalQuery.heading")).setHeading(),Qq(new we.Setting(e).setDesc(dt.createFragmentWithHTML(`<p>${M.t("settings.globalQuery.query.description")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Queries/Global+Query"))).addTextArea(c=>{let d=te();c.inputEl.rows=4,c.setPlaceholder("# "+M.t("settings.globalQuery.query.placeholder")).setValue(d.globalQuery).onChange(f=>A(this,null,function*(){st({globalQuery:f}),Gn.getInstance().set(f),yield this.plugin.saveSettings(),this.events.triggerReloadOpenSearchResults()}))})),new we.Setting(e).setName(M.t("settings.presets.name")).setHeading().setDesc(dt.createFragmentWithHTML("<p>"+M.t("settings.presets.line1",{name:"<code>name</code>",instruction1:"<code>preset name</code>",instruction2:"<code>{{preset.name}}</code>"})+"</p><p>"+M.t("settings.presets.line2")+"</p>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Queries/Presets"))),this.presetsSettingsUI.renderPresetsSettings(e),new we.Setting(e).setName(M.t("settings.statuses.heading")).setHeading();let{headingOpened:i}=te();[{text:M.t("settings.statuses.coreStatuses.heading"),level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"<p>"+M.t("settings.statuses.coreStatuses.description.line1")+"</p><p>"+M.t("settings.statuses.coreStatuses.description.line2")+"</p><p>"+M.t("settings.changeRequiresRestart")+"</p>"},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertTaskCoreStatusSettings",featureFlag:"",notice:null}]},{text:M.t("settings.statuses.customStatuses.heading"),level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"<p>"+M.t("settings.statuses.customStatuses.description.line1")+"</p><p>"+M.t("settings.statuses.customStatuses.description.line2")+"</p><p>"+M.t("settings.statuses.customStatuses.description.line3")+"</p><p>"+M.t("settings.changeRequiresRestart")+`</p><p></p><p><a href="https://publish.obsidian.md/tasks/Getting+Started/Statuses">${M.t("settings.statuses.customStatuses.description.line4")}</a></p>`},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertCustomTaskStatusSettings",featureFlag:"",notice:null}]}].forEach(c=>{var p;let d=(p=i[c.text])!=null?p:!0,f=this.addOneSettingsBlock(e,c,i);f.open=d}),new we.Setting(e).setName(M.t("settings.dates.heading")).setHeading(),new we.Setting(e).setName(M.t("settings.dates.createdDate.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.dates.createdDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Created+date"))).addToggle(c=>{let d=te();c.setValue(d.setCreatedDate).onChange(f=>A(this,null,function*(){st({setCreatedDate:f}),yield this.plugin.saveSettings()}))}),new we.Setting(e).setName(M.t("settings.dates.doneDate.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.dates.doneDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Done+date"))).addToggle(c=>{let d=te();c.setValue(d.setDoneDate).onChange(f=>A(this,null,function*(){st({setDoneDate:f}),yield this.plugin.saveSettings()}))}),new we.Setting(e).setName(M.t("settings.dates.cancelledDate.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.dates.cancelledDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Cancelled+date"))).addToggle(c=>{let d=te();c.setValue(d.setCancelledDate).onChange(f=>A(this,null,function*(){st({setCancelledDate:f}),yield this.plugin.saveSettings()}))}),new we.Setting(e).setName(M.t("settings.datesFromFileNames.heading")).setHeading();let a=null,o=null;new we.Setting(e).setName(M.t("settings.datesFromFileNames.scheduledDate.toggle.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line1")+"</br>"+M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line2")+"</br>"+M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line3")+"</br>"+M.t("settings.datesFromFileNames.scheduledDate.toggle.description.line4")+`</br><p>${M.t("settings.changeRequiresRestart")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Use+Filename+as+Default+Date"))).addToggle(c=>{let d=te();c.setValue(d.useFilenameAsScheduledDate).onChange(f=>A(this,null,function*(){st({useFilenameAsScheduledDate:f}),ti(a,f),ti(o,f),yield this.plugin.saveSettings()}))}),a=new we.Setting(e).setName(M.t("settings.datesFromFileNames.scheduledDate.extraFormat.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.datesFromFileNames.scheduledDate.extraFormat.description.line1")+`</br><p>${M.t("settings.changeRequiresRestart")}</p><p><a href="https://momentjs.com/docs/#/displaying/format/">${M.t("settings.datesFromFileNames.scheduledDate.extraFormat.description.line2")}</a></p>`)).addText(c=>{let d=te();c.setPlaceholder(M.t("settings.datesFromFileNames.scheduledDate.extraFormat.placeholder")).setValue(d.filenameAsScheduledDateFormat).onChange(f=>A(this,null,function*(){st({filenameAsScheduledDateFormat:f}),yield this.plugin.saveSettings()}))}),o=new we.Setting(e).setName(M.t("settings.datesFromFileNames.scheduledDate.folders.name")).setDesc(dt.createFragmentWithHTML(`<p>${M.t("settings.datesFromFileNames.scheduledDate.folders.description")}</p><p>${M.t("settings.changeRequiresRestart")}</p>`)).addText(c=>A(this,null,function*(){let d=te();yield this.plugin.saveSettings(),c.setValue(dt.renderFolderArray(d.filenameAsDateFolders)).onChange(f=>A(this,null,function*(){let p=dt.parseCommaSeparatedFolders(f);st({filenameAsDateFolders:p}),yield this.plugin.saveSettings()}))})),ti(a,te().useFilenameAsScheduledDate),ti(o,te().useFilenameAsScheduledDate),new we.Setting(e).setName(M.t("settings.recurringTasks.heading")).setHeading(),new we.Setting(e).setName(M.t("settings.recurringTasks.nextLine.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.recurringTasks.nextLine.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Recurring+Tasks"))).addToggle(c=>{let{recurrenceOnNextLine:d}=te();c.setValue(d).onChange(f=>A(this,null,function*(){st({recurrenceOnNextLine:f}),yield this.plugin.saveSettings()}))}),new we.Setting(e).setName(M.t("settings.recurringTasks.removeScheduledDate.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.recurringTasks.removeScheduledDate.description.line1")+"</br>"+M.t("settings.recurringTasks.removeScheduledDate.description.line2")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Recurring+Tasks"))).addToggle(c=>{let{removeScheduledDateOnRecurrence:d}=te();c.setValue(d).onChange(f=>A(this,null,function*(){st({removeScheduledDateOnRecurrence:f}),yield this.plugin.saveSettings()}))}),new we.Setting(e).setName(M.t("settings.autoSuggest.heading")).setHeading();let l=null,u=null;new we.Setting(e).setName(M.t("settings.autoSuggest.toggle.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.autoSuggest.toggle.description")+`</br><p>${M.t("settings.changeRequiresRestart")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Auto-Suggest"))).addToggle(c=>{let d=te();c.setValue(d.autoSuggestInEditor).onChange(f=>A(this,null,function*(){st({autoSuggestInEditor:f}),yield this.plugin.saveSettings(),ti(l,f),ti(u,f)}))}),l=new we.Setting(e).setName(M.t("settings.autoSuggest.minLength.name")).setDesc(dt.createFragmentWithHTML(`<p>${M.t("settings.autoSuggest.minLength.description")}</p><p>${M.t("settings.changeRequiresRestart")}</p>`)).addSlider(c=>{let d=te();c.setLimits(0,3,1).setValue(d.autoSuggestMinMatch).setDynamicTooltip().onChange(f=>A(this,null,function*(){st({autoSuggestMinMatch:f}),yield this.plugin.saveSettings()}))}),u=new we.Setting(e).setName(M.t("settings.autoSuggest.maxSuggestions.name")).setDesc(dt.createFragmentWithHTML(`<p>${M.t("settings.autoSuggest.maxSuggestions.description")}</p><p>${M.t("settings.changeRequiresRestart")}</p>`)).addSlider(c=>{let d=te();c.setLimits(3,20,1).setValue(d.autoSuggestMaxItems).setDynamicTooltip().onChange(f=>A(this,null,function*(){st({autoSuggestMaxItems:f}),yield this.plugin.saveSettings()}))}),ti(l,te().autoSuggestInEditor),ti(u,te().autoSuggestInEditor),new we.Setting(e).setName(M.t("settings.dialogs.heading")).setHeading(),new we.Setting(e).setName(M.t("settings.dialogs.accessKeys.name")).setDesc(dt.createFragmentWithHTML(M.t("settings.dialogs.accessKeys.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Create+or+edit+Task#Keyboard+shortcuts"))).addToggle(c=>{let d=te();c.setValue(d.provideAccessKeys).onChange(f=>A(this,null,function*(){st({provideAccessKeys:f}),yield this.plugin.saveSettings()}))})}seeTheDocumentation(e){return`<p><a href="${e}">${M.t("settings.seeTheDocumentation")}</a>.</p>`}addOneSettingsBlock(e,n,i){let s=e.createEl("details",{cls:"tasks-nested-settings",attr:U({},n.open||i[n.text]?{open:!0}:{})});s.empty(),s.ontoggle=()=>{i[n.text]=s.open,st({headingOpened:i}),this.plugin.saveSettings()};let a=s.createEl("summary");if(new we.Setting(a).setHeading().setName(n.text),a.createDiv("collapser").createDiv("handle"),n.notice!==null){let o=s.createEl("div",{cls:n.notice.class,text:n.notice.text});n.notice.html!==null&&o.insertAdjacentHTML("beforeend",n.notice.html)}return n.settings.forEach(o=>{if(!(o.featureFlag!==""&&!XS(o.featureFlag))&&(o.type==="checkbox"?new we.Setting(s).setName(o.name).setDesc(o.description).addToggle(l=>{let u=te();u.generalSettings[o.settingName]||Ms(o.settingName,o.initialValue),l.setValue(u.generalSettings[o.settingName]).onChange(c=>A(this,null,function*(){Ms(o.settingName,c),yield this.plugin.saveSettings()}))}):o.type==="text"?new we.Setting(s).setName(o.name).setDesc(o.description).addText(l=>{let u=te();u.generalSettings[o.settingName]||Ms(o.settingName,o.initialValue);let c=d=>A(this,null,function*(){Ms(o.settingName,d),yield this.plugin.saveSettings()});l.setPlaceholder(o.placeholder.toString()).setValue(u.generalSettings[o.settingName].toString()).onChange((0,we.debounce)(c,500,!0))}):o.type==="textarea"?new we.Setting(s).setName(o.name).setDesc(o.description).addTextArea(l=>{let u=te();u.generalSettings[o.settingName]||Ms(o.settingName,o.initialValue);let c=d=>A(this,null,function*(){Ms(o.settingName,d),yield this.plugin.saveSettings()});l.setPlaceholder(o.placeholder.toString()).setValue(u.generalSettings[o.settingName].toString()).onChange((0,we.debounce)(c,500,!0)),l.inputEl.rows=8,l.inputEl.cols=40}):o.type==="function"&&this.customFunctions[o.settingName](s,this),o.notice!==null)){let l=s.createEl("p",{cls:o.notice.class,text:o.notice.text});o.notice.html!==null&&l.insertAdjacentHTML("beforeend",o.notice.html)}}),s}static parseCommaSeparatedFolders(e){return e.split(",").map(n=>n.trim()).map(n=>n.replace(/^\/|\/$/g,"")).filter(n=>n!=="")}static renderFolderArray(e){return e.join(",")}insertTaskCoreStatusSettings(e,n){let{statusSettings:i}=te();i.coreStatuses.forEach(a=>{nO(e,a,i.coreStatuses,i,n,n.plugin,!0)}),new we.Setting(e).addButton(a=>{let o=M.t("settings.statuses.coreStatuses.buttons.checkStatuses.name");a.setButtonText(o).setCta().onClick(()=>A(this,null,function*(){let u=window.moment().format("YYYY-MM-DD HH-mm-ss"),c=`Tasks Plugin - ${o} ${u}.md`,d=this.plugin.manifest.version,f=Ge.getInstance(),p=B1(i,f,o,d),g=yield this.app.vault.create(c,p);yield this.app.workspace.getLeaf(!0).openFile(g)})),a.setTooltip(M.t("settings.statuses.coreStatuses.buttons.checkStatuses.tooltip"))}).infoEl.remove()}insertCustomTaskStatusSettings(e,n){let{statusSettings:i}=te();i.customStatuses.forEach(u=>{nO(e,u,i.customStatuses,i,n,n.plugin,!1)}),e.createEl("div"),new we.Setting(e).addButton(u=>{u.setButtonText(M.t("settings.statuses.customStatuses.buttons.addNewStatus.name")).setCta().onClick(()=>A(this,null,function*(){it.addStatus(i.customStatuses,new gt("","","",!1,"TODO")),yield bo(i,n)}))}).infoEl.remove();let a=[[M.t("settings.statuses.collections.anuppuccinTheme"),V1()],[M.t("settings.statuses.collections.auraTheme"),z1()],[M.t("settings.statuses.collections.borderTheme"),K1()],[M.t("settings.statuses.collections.ebullientworksTheme"),Q1()],[M.t("settings.statuses.collections.itsThemeAndSlrvbCheckboxes"),X1()],[M.t("settings.statuses.collections.minimalTheme"),J1()],[M.t("settings.statuses.collections.thingsTheme"),eO()],[M.t("settings.statuses.collections.lytModeTheme"),Z1()]];for(let[u,c]of a)new we.Setting(e).addButton(f=>{let p=M.t("settings.statuses.collections.buttons.addCollection.name",{themeName:u,numberOfStatuses:c.length});f.setButtonText(p).onClick(()=>A(this,null,function*(){yield Kq(c,i,n)}))}).infoEl.remove();new we.Setting(e).addButton(u=>{u.setButtonText(M.t("settings.statuses.customStatuses.buttons.addAllUnknown.name")).setCta().onClick(()=>A(this,null,function*(){let d=this.plugin.getTasks().map(p=>p.status),f=Ge.getInstance().findUnknownStatuses(d);f.length!==0&&(f.forEach(p=>{it.addStatus(i.customStatuses,p)}),yield bo(i,n))}))}).infoEl.remove(),new we.Setting(e).addButton(u=>{u.setButtonText(M.t("settings.statuses.customStatuses.buttons.resetCustomStatuses.name")).setWarning().onClick(()=>A(this,null,function*(){it.resetAllCustomStatuses(i),yield bo(i,n)}))}).infoEl.remove()}},du=dt;du.createFragmentWithHTML=e=>createFragment(n=>n.createDiv().innerHTML=e);function nO(r,t,e,n,i,s,a){let o=r.createEl("pre");o.addClass("row-for-status"),o.textContent=new Te(t).previewText();let l=new we.Setting(r);l.infoEl.replaceWith(o),a||l.addExtraButton(u=>{u.setIcon("cross").setTooltip("Delete").onClick(()=>A(this,null,function*(){it.deleteStatus(e,t)&&(yield bo(n,i))}))}),l.addExtraButton(u=>{u.setIcon("pencil").setTooltip("Edit").onClick(()=>A(this,null,function*(){let c=new Bn(s,t,a);c.onClose=()=>A(this,null,function*(){c.saved&&it.replaceStatus(e,t,c.statusConfiguration())&&(yield bo(n,i))}),c.open()}))}),l.infoEl.remove()}function Kq(r,t,e){return A(this,null,function*(){it.bulkAddStatusCollection(t,r).forEach(i=>{new we.Notice(i)}),yield bo(t,e)})}function bo(r,t){return A(this,null,function*(){st({statusSettings:r}),it.applyToStatusRegistry(r,Ge.getInstance()),yield t.saveSettings(!0)})}function Qq(r){let{settingEl:t,infoEl:e,controlEl:n}=r,i=n.querySelector("textarea");i!==null&&(t.style.display="block",e.style.marginRight="0px",i.style.minWidth="-webkit-fill-available")}function ti(r,t){r?r.setVisibility(t):console.warn("Setting has not be initialised. Can update visibility of setting UI - in setSettingVisibility")}$r();As();var as=require("obsidian");Nc();vt();zg();function Xq(r){console.error(r),new as.Notice(r+`

This message has been written to the console.
`,1e4)}var pf=class extends as.EditorSuggest{constructor(e,n,i){super(e);this.settings=n,this.plugin=i,e.scope.register([],"Tab",()=>{var a;let s=(a=this.context)==null?void 0:a.editor;return s?(s.exec("indentMore"),!1):!0})}onTrigger(e,n,i){if(!this.settings.autoSuggestInEditor||i===void 0)return null;let s=n.getLine(e.line);return!jS(s,e,n)||this.grabSuggestions(n,i,s).length===0?null:{start:{line:e.line,ch:0},end:{line:e.line,ch:s.length},query:s}}getSuggestions(e){return e.file===void 0?[]:this.grabSuggestions(e.editor,e.file,e.query).map(i=>pe(U({},i),{context:e}))}grabSuggestions(e,n,i){var c,d,f;let s=e.getCursor(),a=this.plugin.getTasks(),o=a.find(p=>p.taskLocation.path==n.path&&p.taskLocation.lineNumber==s.line),l=this.getMarkdownFileInfo(e),u=this.canSaveEdits(l);return(f=(d=(c=Yl()).buildSuggestions)==null?void 0:d.call(c,i,s.ch,this.settings,a,u,o))!=null?f:[]}getMarkdownFileInfo(e){return e.cm.state.field(as.editorInfoField)}canSaveEdits(e){return e instanceof as.MarkdownView}renderSuggestion(e,n){n.setText(e.displayText)}selectSuggestion(e,n){return A(this,null,function*(){var u,c,d;let i=e.context.editor;if(e.suggestionType==="empty"){this.close();let f=new KeyboardEvent("keydown",{code:"Enter",key:"Enter"});(c=(u=i==null?void 0:i.cm)==null?void 0:u.contentDOM)==null||c.dispatchEvent(f);return}if(e.taskItDependsOn!=null){let f=Pc(e.taskItDependsOn,this.plugin.getTasks().map(p=>p.id));if(e.appendText+=` ${f.id}`,e.taskItDependsOn!==f)if(e.context.file.path==f.path){let p=e.taskItDependsOn.originalMarkdown,g={line:e.taskItDependsOn.lineNumber,ch:0},b={line:e.taskItDependsOn.lineNumber,ch:p.length},v=e.context.editor.getRange(g,b);if(v!==p){let E=`Error adding new ID, due to mismatched data in Tasks memory and the editor:
task line in memory: '${e.taskItDependsOn.originalMarkdown}'

task line in editor: '${v}'

file: '${f.path}'
`;Xq(E);return}e.context.editor.replaceRange(f.toFileLineString(),g,b)}else $n({originalTask:e.taskItDependsOn,newTasks:f})}let s=e.context.editor.getCursor(),a={line:s.line,ch:(d=e.insertAt)!=null?d:s.ch},o=e.insertSkip?{line:s.line,ch:a.ch+e.insertSkip}:void 0;e.context.editor.replaceRange(e.appendText,a,o),e.context.editor.setCursor({line:s.line,ch:a.ch+e.appendText.length});let l=this.getMarkdownFileInfo(e.context.editor);this.canSaveEdits(l)&&(yield l.save())})}};Aa();var rO=(r,t,e)=>{let n,i=new Promise((l,u)=>{n=l}),s=l=>{let u=l.map(c=>c.toFileLineString()).join(`
`);n(u)},a=Ba({line:"",path:""});return new Br({app:r,task:a,onSaveSettings:e,onSubmit:s,allTasks:t}).open(),i};function iO(r,t,e,n){let i,s=new Promise((u,c)=>{i=u}),a=u=>{let c=u.map(d=>d.toFileLineString()).join(`
`);i(c)},o=Ba({line:t!=null?t:"",path:""});return new Br({app:r,task:o,onSaveSettings:n,onSubmit:a,allTasks:e}).open(),s}var sO=r=>{let t=r.app,e=()=>A(void 0,null,function*(){return yield r.saveSettings()});return{createTaskLineModal:()=>rO(t,r.getTasks(),e),editTaskLineModal:n=>iO(t,n,r.getTasks(),e),executeToggleTaskDoneCommand:(n,i)=>Ay(n,i).text}};un();Mf();var mf=class extends hf.Plugin{get apiV1(){return sO(this)}onload(){return A(this,null,function*(){yield tT(),cn.registerConsoleLogger(),ny("info",M.t("main.loadingPlugin",{name:this.manifest.name,version:this.manifest.version})),yield this.loadSettings();let{loggingOptions:e}=te();cn.configure(e),pr.getInstance().setGetFirstLinkpathDestFn((i,s)=>{let a=(0,hf.getLinkpath)(i.link),o=this.app.metadataCache.getFirstLinkpathDest(a,s);return o?o.path:null});let n=new jd({obsidianEvents:this.app.workspace});this.addSettingTab(new du({plugin:this,events:n})),ZD({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace}),yield this.loadTaskStatuses(),this.cache=new Ns({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace,events:n}),this.inlineRenderer=new tf({plugin:this,app:this.app}),this.queryRenderer=new uf({plugin:this,events:n}),this.setObsidianPropertiesTypes(),this.registerEditorExtension(Y1()),this.registerEditorSuggest(new pf(this.app,te(),this)),new $d({plugin:this})})}loadTaskStatuses(){return A(this,null,function*(){let{statusSettings:e}=te();it.applyToStatusRegistry(e,Ge.getInstance())})}onunload(){var e;ny("info",M.t("main.unloadingPlugin",{name:this.manifest.name,version:this.manifest.version})),(e=this.cache)==null||e.unload()}loadSettings(){return A(this,null,function*(){let e=yield this.loadData();st(e),e=te(),Ce.getInstance().set(e.globalFilter),Ce.getInstance().setRemoveGlobalFilter(e.removeGlobalFilter),Gn.getInstance().set(e.globalQuery),yield this.loadTaskStatuses()})}saveSettings(){return A(this,null,function*(){yield this.saveData(te())})}getTasks(){return this.cache===void 0?[]:this.cache.getTasks()}getState(){return this.cache===void 0?"Cold":this.cache.getState()}setObsidianPropertiesTypes(){var e;try{let n=this.app.metadataTypeManager,i=n.getAllProperties(),s=new Ri;for(let a of s.allPropertyNamesSorted()){let o=s.propertyType(a);((e=i[a])==null?void 0:e.type)!==o&&n.setType(a,o)}}catch(n){console.error("setObsidianPropertiesTypes error",n)}}};
/*!
 * EventEmitter2
 * https://github.com/hij1nx/EventEmitter2
 *
 * Copyright (c) 2013 hij1nx
 * Licensed under the MIT license.
 */
/*!
 * mustache.js - Logic-less {{mustache}} templates with JavaScript
 * http://github.com/janl/mustache.js
 */

/* nosourcemap */