/*
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 Zx=Object.create;var ao=Object.defineProperty,Xx=Object.defineProperties,Jx=Object.getOwnPropertyDescriptor,eO=Object.getOwnPropertyDescriptors,tO=Object.getOwnPropertyNames,nu=Object.getOwnPropertySymbols,nO=Object.getPrototypeOf,wf=Object.prototype.hasOwnProperty,Cb=Object.prototype.propertyIsEnumerable;var Rb=(n,t,e)=>t in n?ao(n,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):n[t]=e,Y=(n,t)=>{for(var e in t||(t={}))wf.call(t,e)&&Rb(n,e,t[e]);if(nu)for(var e of nu(t))Cb.call(t,e)&&Rb(n,e,t[e]);return n},pe=(n,t)=>Xx(n,eO(t));var Ws=(n,t)=>{var e={};for(var r in n)wf.call(n,r)&&t.indexOf(r)<0&&(e[r]=n[r]);if(n!=null&&nu)for(var r of nu(n))t.indexOf(r)<0&&Cb.call(n,r)&&(e[r]=n[r]);return e};var Q=(n,t)=>()=>(n&&(t=n(n=0)),t);var M=(n,t)=>()=>(t||n((t={exports:{}}).exports,t),t.exports),Mb=(n,t)=>{for(var e in t)ao(n,e,{get:t[e],enumerable:!0})},Ab=(n,t,e,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of tO(t))!wf.call(n,i)&&i!==e&&ao(n,i,{get:()=>t[i],enumerable:!(r=Jx(t,i))||r.enumerable});return n};var js=(n,t,e)=>(e=n!=null?Zx(nO(n)):{},Ab(t||!n||!n.__esModule?ao(e,"default",{value:n,enumerable:!0}):e,n)),Pb=n=>Ab(ao({},"__esModule",{value:!0}),n);var A=(n,t,e)=>new Promise((r,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?r(l.value):Promise.resolve(l.value).then(s,a);o((e=e.apply(n,t)).next())});var ve,oo,Ib,rO,iO,Nb,Fb,lo,Lb,sO,iu,aO,Hb,$s,oO,lO,Ef,uO,cO,dO,xf,su,fO,Of,Or,Bs,au,Bb,Yb,ou,lu,Ub,qb,Rf,Wb,Df,Cf,pO,Hs,Mf,mO,Af,jb,$b,ru,hO,uu,wt,LW,YW,UW,qW,WW,jW,$W,HW,BW,GW,zW,VW,KW,QW,Gb=Q(()=>{ve=n=>typeof n=="string",oo=()=>{let n,t,e=new Promise((r,i)=>{n=r,t=i});return e.resolve=n,e.reject=t,e},Ib=n=>n==null?"":""+n,rO=(n,t,e)=>{n.forEach(r=>{t[r]&&(e[r]=t[r])})},iO=/###/g,Nb=n=>n&&n.indexOf("###")>-1?n.replace(iO,"."):n,Fb=n=>!n||ve(n),lo=(n,t,e)=>{let r=ve(t)?t.split("."):t,i=0;for(;i<r.length-1;){if(Fb(n))return{};let s=Nb(r[i]);!n[s]&&e&&(n[s]=new e),Object.prototype.hasOwnProperty.call(n,s)?n=n[s]:n={},++i}return Fb(n)?{}:{obj:n,k:Nb(r[i])}},Lb=(n,t,e)=>{let{obj:r,k:i}=lo(n,t,Object);if(r!==void 0||t.length===1){r[i]=e;return}let s=t[t.length-1],a=t.slice(0,t.length-1),o=lo(n,a,Object);for(;o.obj===void 0&&a.length;)s=`${a[a.length-1]}.${s}`,a=a.slice(0,a.length-1),o=lo(n,a,Object),o!=null&&o.obj&&typeof o.obj[`${o.k}.${s}`]!="undefined"&&(o.obj=void 0);o.obj[`${o.k}.${s}`]=e},sO=(n,t,e,r)=>{let{obj:i,k:s}=lo(n,t,Object);i[s]=i[s]||[],i[s].push(e)},iu=(n,t)=>{let{obj:e,k:r}=lo(n,t);if(e&&Object.prototype.hasOwnProperty.call(e,r))return e[r]},aO=(n,t,e)=>{let r=iu(n,e);return r!==void 0?r:iu(t,e)},Hb=(n,t,e)=>{for(let r in t)r!=="__proto__"&&r!=="constructor"&&(r in n?ve(n[r])||n[r]instanceof String||ve(t[r])||t[r]instanceof String?e&&(n[r]=t[r]):Hb(n[r],t[r],e):n[r]=t[r]);return n},$s=n=>n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"),oO={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;"},lO=n=>ve(n)?n.replace(/[&<>"'\/]/g,t=>oO[t]):n,Ef=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 r=new RegExp(t);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(t,r),this.regExpQueue.push(t),r}},uO=[" ",",","?","!",";"],cO=new Ef(20),dO=(n,t,e)=>{t=t||"",e=e||"";let r=uO.filter(a=>t.indexOf(a)<0&&e.indexOf(a)<0);if(r.length===0)return!0;let i=cO.getRegExp(`(${r.map(a=>a==="?"?"\\?":a).join("|")})`),s=!i.test(n);if(!s){let a=n.indexOf(e);a>0&&!i.test(n.substring(0,a))&&(s=!0)}return s},xf=function(n,t){let e=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!n)return;if(n[t])return Object.prototype.hasOwnProperty.call(n,t)?n[t]:void 0;let r=t.split(e),i=n;for(let s=0;s<r.length;){if(!i||typeof i!="object")return;let a,o="";for(let l=s;l<r.length;++l)if(l!==s&&(o+=e),o+=r[l],a=i[o],a!==void 0){if(["string","number","boolean"].indexOf(typeof a)>-1&&l<r.length-1)continue;s+=l-s+1;break}i=a}return i},su=n=>n==null?void 0:n.replace("_","-"),fO={type:"logger",log(n){this.output("log",n)},warn(n){this.output("warn",n)},error(n){this.output("error",n)},output(n,t){var e,r;(r=(e=console==null?void 0:console[n])==null?void 0:e.apply)==null||r.call(e,console,t)}},Of=class n{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||fO,this.options=e,this.debug=e.debug}log(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"log","",!0)}warn(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","",!0)}error(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"error","")}deprecate(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(t,e,r,i){return i&&!this.debug?null:(ve(t[0])&&(t[0]=`${r}${this.prefix} ${t[0]}`),this.logger[e](t))}create(t){return new n(this.logger,Y({prefix:`${this.prefix}:${t}:`},this.options))}clone(t){return t=t||this.options,t.prefix=t.prefix||this.prefix,new n(this.logger,t)}},Or=new Of,Bs=class{constructor(){this.observers={}}on(t,e){return t.split(" ").forEach(r=>{this.observers[r]||(this.observers[r]=new Map);let i=this.observers[r].get(e)||0;this.observers[r].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,r=new Array(e>1?e-1:0),i=1;i<e;i++)r[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(...r)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(a=>{let[o,l]=a;for(let u=0;u<l;u++)o.apply(o,[t,...r])})}},au=class extends Bs{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,r){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],r&&(Array.isArray(r)?o.push(...r):ve(r)&&s?o.push(...r.split(s)):o.push(r)));let l=iu(this.data,o);return!l&&!e&&!r&&t.indexOf(".")>-1&&(t=o[0],e=o[1],r=o.slice(2).join(".")),l||!a||!ve(r)?l:xf((c=(u=this.data)==null?void 0:u[t])==null?void 0:c[e],r,s)}addResource(t,e,r,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];r&&(o=o.concat(a?r.split(a):r)),t.indexOf(".")>-1&&(o=t.split("."),i=e,e=o[1]),this.addNamespaces(e),Lb(this.data,o,i),s.silent||this.emit("added",t,e,r,i)}addResources(t,e,r){let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(let s in r)(ve(r[s])||Array.isArray(r[s]))&&this.addResource(t,e,s,r[s],{silent:!0});i.silent||this.emit("added",t,e,r)}addResourceBundle(t,e,r,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=r,r=e,e=o[1]),this.addNamespaces(e);let l=iu(this.data,o)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),i?Hb(l,r,s):l=Y(Y({},l),r),Lb(this.data,o,l),a.silent||this.emit("added",t,e,r)}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}},Bb={processors:{},addPostProcessor(n){this.processors[n.name]=n},handle(n,t,e,r,i){return n.forEach(s=>{var a,o;t=(o=(a=this.processors[s])==null?void 0:a.process(t,e,r,i))!=null?o:t}),t}},Yb={},ou=class n extends Bs{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),rO(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],t,this),this.options=e,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=Or.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 r=this.resolve(t,e);return(r==null?void 0:r.res)!==void 0}extractFromKey(t,e){let r=e.nsSeparator!==void 0?e.nsSeparator:this.options.nsSeparator;r===void 0&&(r=":");let i=e.keySeparator!==void 0?e.keySeparator:this.options.keySeparator,s=e.ns||this.options.defaultNS||[],a=r&&t.indexOf(r)>-1,o=!this.options.userDefinedKeySeparator&&!e.keySeparator&&!this.options.userDefinedNsSeparator&&!e.nsSeparator&&!dO(t,r,i);if(a&&!o){let l=t.match(this.interpolator.nestingRegexp);if(l&&l.length>0)return{key:t,namespaces:ve(s)?[s]:s};let u=t.split(r);(r!==i||r===i&&this.options.ns.indexOf(u[0])>-1)&&(s=u.shift()),t=u.join(i)}return{key:t,namespaces:ve(s)?[s]:s}}translate(t,e,r){if(typeof e!="object"&&this.options.overloadTranslationOptionHandler&&(e=this.options.overloadTranslationOptionHandler(arguments)),typeof e=="object"&&(e=Y({},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,h=(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,O=!this.i18nFormat||this.i18nFormat.handleAsObject,x=!ve(f)&&typeof f!="boolean"&&typeof f!="number";if(O&&f&&x&&v.indexOf(b)<0&&!(ve(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(Y({},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),ee=q?[]:{},V=q?h:p;for(let j in f)if(Object.prototype.hasOwnProperty.call(f,j)){let X=`${V}${s}${j}`;ee[j]=this.translate(X,pe(Y({},e),{joinArrays:!1,ns:o})),ee[j]===X&&(ee[j]=f[j])}f=ee}}else if(O&&ve(E)&&Array.isArray(f))f=f.join(E),f&&(f=this.extendTranslation(f,t,e,r));else{let q=!1,ee=!1,V=e.count!==void 0&&!ve(e.count),j=n.hasDefaultValue(e),X=V?this.pluralResolver.getSuffix(u,e.count,e):"",_e=e.ordinal&&V?this.pluralResolver.getSuffix(u,e.count,{ordinal:!1}):"",Pe=V&&!e.ordinal&&e.count===0,K=Pe&&e[`defaultValue${this.options.pluralSeparator}zero`]||e[`defaultValue${X}`]||e[`defaultValue${_e}`]||e.defaultValue;!this.isValidLookup(f)&&j&&(q=!0,f=K),this.isValidLookup(f)||(ee=!0,f=a);let P=(e.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&ee?void 0:f,te=j&&K!==f&&this.options.updateMissing;if(ee||q||te){if(this.logger.log(te?"updateKey":"missingKey",u,l,a,te?K:f),s){let T=this.resolve(a,pe(Y({},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,S,k)=>{var C;let _=j&&k!==f?k:P;this.options.missingKeyHandler?this.options.missingKeyHandler(T,l,S,_,te,e):(C=this.backendConnector)!=null&&C.saveMissing&&this.backendConnector.saveMissing(T,l,S,_,te,e),this.emit("missingKey",T,l,S,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&V?H.forEach(T=>{let S=this.pluralResolver.getSuffixes(T,e);Pe&&e[`defaultValue${this.options.pluralSeparator}zero`]&&S.indexOf(`${this.options.pluralSeparator}zero`)<0&&S.push(`${this.options.pluralSeparator}zero`),S.forEach(k=>{m([T],a+k,e[`defaultValue${k}`]||K)})}):m(H,a,K))}f=this.extendTranslation(f,t,e,d,r),ee&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${l}:${a}`),(ee||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,r,i,s){var u,c;var a=this;if((u=this.i18nFormat)!=null&&u.parse)t=this.i18nFormat.parse(t,Y(Y({},this.options.interpolation.defaultVariables),r),r.lng||this.language||i.usedLng,i.usedNS,i.usedKey,{resolved:i});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init(pe(Y({},r),{interpolation:Y(Y({},this.options.interpolation),r.interpolation)}));let d=ve(t)&&(((c=r==null?void 0:r.interpolation)==null?void 0:c.skipOnVariables)!==void 0?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables),f;if(d){let h=t.match(this.interpolator.nestingRegexp);f=h&&h.length}let p=r.replace&&!ve(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(p=Y(Y({},this.options.interpolation.defaultVariables),p)),t=this.interpolator.interpolate(t,p,r.lng||this.language||i.usedLng,r),d){let h=t.match(this.interpolator.nestingRegexp),b=h&&h.length;f<b&&(r.nest=!1)}!r.lng&&i&&i.res&&(r.lng=this.language||i.usedLng),r.nest!==!1&&(t=this.interpolator.nest(t,function(){for(var h=arguments.length,b=new Array(h),v=0;v<h;v++)b[v]=arguments[v];return(s==null?void 0:s[0])===b[0]&&!r.context?(a.logger.warn(`It seems you are nesting recursively key: ${b[0]} in key: ${e[0]}`),null):a.translate(...b,e)},r)),r.interpolation&&this.interpolator.reset()}let o=r.postProcess||this.options.postProcess,l=ve(o)?[o]:o;return t!=null&&(l!=null&&l.length)&&r.applyPostProcessor!==!1&&(t=Bb.handle(l,t,e,this.options&&this.options.postProcessPassResolved?Y({i18nResolved:pe(Y({},i),{usedParams:this.getUsedParamsDetails(r)})},r):r,this)),t}resolve(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r,i,s,a,o;return ve(t)&&(t=[t]),t.forEach(l=>{if(this.isValidLookup(r))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&&!ve(e.count),p=f&&!e.ordinal&&e.count===0,h=e.context!==void 0&&(ve(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,O;this.isValidLookup(r)||(o=v,!Yb[`${b[0]}-${v}`]&&((E=this.utils)!=null&&E.hasLoadedNamespace)&&!((O=this.utils)!=null&&O.hasLoadedNamespace(o))&&(Yb[`${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(x=>{var V;if(this.isValidLookup(r))return;a=x;let q=[c];if((V=this.i18nFormat)!=null&&V.addLookupKeys)this.i18nFormat.addLookupKeys(q,c,x,v,e);else{let j;f&&(j=this.pluralResolver.getSuffix(x,e.count,e));let X=`${this.options.pluralSeparator}zero`,_e=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(f&&(q.push(c+j),e.ordinal&&j.indexOf(_e)===0&&q.push(c+j.replace(_e,this.options.pluralSeparator)),p&&q.push(c+X)),h){let Pe=`${c}${this.options.contextSeparator}${e.context}`;q.push(Pe),f&&(q.push(Pe+j),e.ordinal&&j.indexOf(_e)===0&&q.push(Pe+j.replace(_e,this.options.pluralSeparator)),p&&q.push(Pe+X))}}let ee;for(;ee=q.pop();)this.isValidLookup(r)||(s=ee,r=this.getResource(x,v,ee,e))}))})}),{res:r,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,r){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,r,i):this.resourceStore.getResource(t,e,r,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"],r=t.replace&&!ve(t.replace),i=r?t.replace:t;if(r&&typeof t.count!="undefined"&&(i.count=t.count),this.options.interpolation.defaultVariables&&(i=Y(Y({},this.options.interpolation.defaultVariables),i)),!r){i=Y({},i);for(let s of e)delete i[s]}return i}static hasDefaultValue(t){let e="defaultValue";for(let r in t)if(Object.prototype.hasOwnProperty.call(t,r)&&e===r.substring(0,e.length)&&t[r]!==void 0)return!0;return!1}},lu=class{constructor(t){this.options=t,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Or.create("languageUtils")}getScriptPartFromCode(t){if(t=su(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=su(t),!t||t.indexOf("-")<0)return t;let e=t.split("-");return this.formatLanguageCode(e[0])}formatLanguageCode(t){if(ve(t)&&t.indexOf("-")>-1){let e;try{e=Intl.getCanonicalLocales(t)[0]}catch(r){}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(r=>{if(e)return;let i=this.formatLanguageCode(r);(!this.options.supportedLngs||this.isSupportedCode(i))&&(e=i)}),!e&&this.options.supportedLngs&&t.forEach(r=>{if(e)return;let i=this.getLanguagePartFromCode(r);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)),ve(t)&&(t=[t]),Array.isArray(t))return t;if(!e)return t.default||[];let r=t[e];return r||(r=t[this.getScriptPartFromCode(e)]),r||(r=t[this.formatLanguageCode(e)]),r||(r=t[this.getLanguagePartFromCode(e)]),r||(r=t.default),r||[]}toResolveHierarchy(t,e){let r=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 ve(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))):ve(t)&&s(this.formatLanguageCode(t)),r.forEach(a=>{i.indexOf(a)<0&&s(this.formatLanguageCode(a))}),i}},Ub={zero:0,one:1,two:2,few:3,many:4,other:5},qb={select:n=>n===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})},Rf=class{constructor(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=t,this.options=e,this.logger=Or.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]:{},r=su(t==="dev"?"en":t),i=e.ordinal?"ordinal":"cardinal",s=JSON.stringify({cleanedCode:r,type:i});if(s in this.pluralRulesCache)return this.pluralRulesCache[s];let a;try{a=new Intl.PluralRules(r,{type:i})}catch(o){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),qb;if(!t.match(/-|_/))return qb;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]:{},r=this.getRule(t,e);return r||(r=this.getRule("dev",e)),(r==null?void 0:r.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(t,r).map(i=>`${e}${i}`)}getSuffixes(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=this.getRule(t,e);return r||(r=this.getRule("dev",e)),r?r.resolvedOptions().pluralCategories.sort((i,s)=>Ub[i]-Ub[s]).map(i=>`${this.options.prepend}${e.ordinal?`ordinal${this.options.prepend}`:""}${i}`):[]}getSuffix(t,e){let r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=this.getRule(t,r);return i?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${i.select(e)}`:(this.logger.warn(`no plural rule found for: ${t}`),this.getSuffix("dev",e,r))}},Wb=function(n,t,e){let r=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,s=aO(n,t,e);return!s&&i&&ve(e)&&(s=xf(n,e,r),s===void 0&&(s=xf(t,e,r))),s},Df=n=>n.replace(/\$/g,"$$$$"),Cf=class{constructor(){var e;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Or.create("interpolator"),this.options=t,this.format=((e=t==null?void 0:t.interpolation)==null?void 0:e.format)||(r=>r),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:r,useRawValueToEscape:i,prefix:s,prefixEscaped:a,suffix:o,suffixEscaped:l,formatSeparator:u,unescapeSuffix:c,unescapePrefix:d,nestingPrefix:f,nestingPrefixEscaped:p,nestingSuffix:h,nestingSuffixEscaped:b,nestingOptionsSeparator:v,maxReplaces:E,alwaysFormat:O}=t.interpolation;this.escape=e!==void 0?e:lO,this.escapeValue=r!==void 0?r:!0,this.useRawValueToEscape=i!==void 0?i:!1,this.prefix=s?$s(s):a||"{{",this.suffix=o?$s(o):l||"}}",this.formatSeparator=u||",",this.unescapePrefix=c?"":d||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=f?$s(f):p||$s("$t("),this.nestingSuffix=h?$s(h):b||$s(")"),this.nestingOptionsSeparator=v||",",this.maxReplaces=E||1e3,this.alwaysFormat=O!==void 0?O:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){let t=(e,r)=>(e==null?void 0:e.source)===r?(e.lastIndex=0,e):new RegExp(r,"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,r,i){var p;let s,a,o,l=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=h=>{if(h.indexOf(this.formatSeparator)<0){let O=Wb(e,l,h,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(O,void 0,r,pe(Y(Y({},i),e),{interpolationkey:h})):O}let b=h.split(this.formatSeparator),v=b.shift().trim(),E=b.join(this.formatSeparator).trim();return this.format(Wb(e,l,v,this.options.keySeparator,this.options.ignoreJSONStructure),E,r,pe(Y(Y({},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:h=>Df(h)},{regex:this.regexp,safeValue:h=>this.escapeValue?Df(this.escape(h)):Df(h)}].forEach(h=>{for(o=0;s=h.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=ve(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!ve(a)&&!this.useRawValueToEscape&&(a=Ib(a));let v=h.safeValue(a);if(t=t.replace(s[0],v),d?(h.regex.lastIndex+=a.length,h.regex.lastIndex-=s[0].length):h.regex.lastIndex=0,o++,o>=this.maxReplaces)break}}),t}nest(t,e){let r=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),h=f.match(/"/g);(((b=p==null?void 0:p.length)!=null?b:0)%2===0&&!h||h.length%2!==0)&&(f=f.replace(/'/g,'"'));try{a=JSON.parse(f),u&&(a=Y(Y({},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=Y({},r),a=a.replace&&!ve(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&&!ve(s))return s;ve(s)||(s=Ib(s)),s||(this.logger.warn(`missed to resolve ${i[1]} for nesting ${t}`),s=""),u&&(s=l.reduce((c,d)=>this.format(c,d,r.lng,pe(Y({},r),{interpolationkey:i[1].trim()})),s.trim())),t=t.replace(i[0],s),this.regexp.lastIndex=0}return t}},pO=n=>{let t=n.toLowerCase().trim(),e={};if(n.indexOf("(")>-1){let r=n.split("(");t=r[0].toLowerCase().trim();let i=r[1].substring(0,r[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}},Hs=n=>{let t={};return(e,r,i)=>{let s=i;i&&i.interpolationkey&&i.formatParams&&i.formatParams[i.interpolationkey]&&i[i.interpolationkey]&&(s=pe(Y({},s),{[i.interpolationkey]:void 0}));let a=r+JSON.stringify(s),o=t[a];return o||(o=n(su(r),i),t[a]=o),o(e)}},Mf=class{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=Or.create("formatter"),this.options=t,this.formats={number:Hs((e,r)=>{let i=new Intl.NumberFormat(e,Y({},r));return s=>i.format(s)}),currency:Hs((e,r)=>{let i=new Intl.NumberFormat(e,pe(Y({},r),{style:"currency"}));return s=>i.format(s)}),datetime:Hs((e,r)=>{let i=new Intl.DateTimeFormat(e,Y({},r));return s=>i.format(s)}),relativetime:Hs((e,r)=>{let i=new Intl.RelativeTimeFormat(e,Y({},r));return s=>i.format(s,r.range||"day")}),list:Hs((e,r)=>{let i=new Intl.ListFormat(e,Y({},r));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()]=Hs(e)}format(t,e,r){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}=pO(l);if(this.formats[u]){let f=o;try{let p=((d=i==null?void 0:i.formatParams)==null?void 0:d[i.interpolationkey])||{},h=p.locale||p.lng||i.locale||i.lng||r;f=this.formats[u](o,h,Y(Y(Y({},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)}},mO=(n,t)=>{n.pending[t]!==void 0&&(delete n.pending[t],n.pendingCount--)},Af=class extends Bs{constructor(t,e,r){var s,a;let i=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=t,this.store=e,this.services=r,this.languageUtils=r.languageUtils,this.options=i,this.logger=Or.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,r,i.backend,i)}queueLoad(t,e,r,i){let s={},a={},o={},l={};return t.forEach(u=>{let c=!0;e.forEach(d=>{let f=`${u}|${d}`;!r.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,r){let i=t.split("|"),s=i[0],a=i[1];e&&this.emit("failedLoading",s,a,e),!e&&r&&this.store.addResourceBundle(s,a,r,void 0,void 0,{skipCopy:!0}),this.state[t]=e?-1:2,e&&r&&(this.state[t]=0);let o={};this.queue.forEach(l=>{sO(l.loaded,[s],a),mO(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,r){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:r,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,r,i+1,s*2,a)},s);return}a(u,c)},l=this.backend[r].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 r=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();ve(t)&&(t=this.languageUtils.toResolveHierarchy(t)),ve(e)&&(e=[e]);let s=this.queueLoad(t,e,r,i);if(!s.toLoad.length)return s.pending.length||i(),null;s.toLoad.forEach(a=>{this.loadOne(a)})}load(t,e,r){this.prepareLoading(t,e,{},r)}reload(t,e,r){this.prepareLoading(t,e,{reload:!0},r)}loadOne(t){let e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"",r=t.split("|"),i=r[0],s=r[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,r,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&&u.hasLoadedNamespace&&!((d=(c=this.services)==null?void 0:c.utils)!=null&&d.hasLoadedNamespace(e))){this.logger.warn(`did not save key "${r}" 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(!(r==null||r==="")){if((f=this.backend)!=null&&f.create){let p=pe(Y({},a),{isUpdate:s}),h=this.backend.create.bind(this.backend);if(h.length<6)try{let b;h.length===5?b=h(t,e,r,i,p):b=h(t,e,r,i),b&&typeof b.then=="function"?b.then(v=>o(null,v)).catch(o):o(null,b)}catch(b){o(b)}else h(t,e,r,i,o,p)}!t||!t[0]||this.store.addResource(t[0],e,r,i)}}},jb=()=>({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:n=>{let t={};if(typeof n[1]=="object"&&(t=n[1]),ve(n[1])&&(t.defaultValue=n[1]),ve(n[2])&&(t.tDescription=n[2]),typeof n[2]=="object"||typeof n[3]=="object"){let e=n[3]||n[2];Object.keys(e).forEach(r=>{t[r]=e[r]})}return t},interpolation:{escapeValue:!0,format:n=>n,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),$b=n=>{var t,e;return ve(n.ns)&&(n.ns=[n.ns]),ve(n.fallbackLng)&&(n.fallbackLng=[n.fallbackLng]),ve(n.fallbackNS)&&(n.fallbackNS=[n.fallbackNS]),((e=(t=n.supportedLngs)==null?void 0:t.indexOf)==null?void 0:e.call(t,"cimode"))<0&&(n.supportedLngs=n.supportedLngs.concat(["cimode"])),typeof n.initImmediate=="boolean"&&(n.initAsync=n.initImmediate),n},ru=()=>{},hO=n=>{Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{typeof n[e]=="function"&&(n[e]=n[e].bind(n))})},uu=class n extends Bs{constructor(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0;if(super(),this.options=$b(t),this.services={},this.logger=Or,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]:{},r=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof e=="function"&&(r=e,e={}),e.defaultNS==null&&e.ns&&(ve(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));let i=jb();this.options=Y(Y(Y({},i),this.options),$b(e)),this.options.interpolation=Y(Y({},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?Or.init(s(this.modules.logger),this.options):Or.init(null,this.options);let c;this.modules.formatter?c=this.modules.formatter:c=Mf;let d=new lu(this.options);this.store=new au(this.options.resources,this.options);let f=this.services;f.logger=Or,f.resourceStore=this.store,f.languageUtils=d,f.pluralResolver=new Rf(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 Cf(this.options),f.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},f.backendConnector=new Af(s(this.modules.backend),f.resourceStore,f,this.options),f.backendConnector.on("*",function(p){for(var h=arguments.length,b=new Array(h>1?h-1:0),v=1;v<h;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 ou(this.services,this.options),this.translator.on("*",function(p){for(var h=arguments.length,b=new Array(h>1?h-1:0),v=1;v<h;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,r||(r=ru),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=oo(),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),r(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 r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ru,i=ve(t)?t:this.language;if(typeof t=="function"&&(r=t),!this.options.resources||this.options.partialBundledLanguages){if((i==null?void 0:i.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return r();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),r(u)})}else r(null)}reloadResources(t,e,r){let i=oo();return typeof t=="function"&&(r=t,t=void 0),typeof e=="function"&&(r=e,e=void 0),t||(t=this.languages),e||(e=this.options.ns),r||(r=ru),this.services.backendConnector.reload(t,e,s=>{i.resolve(),r(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"&&Bb.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 r=this.languages[e];if(!(["cimode","dev"].indexOf(r)>-1)&&this.store.hasLanguageSomeTranslations(r)){this.resolvedLanguage=r;break}}}changeLanguage(t,e){var r=this;this.isLanguageChangingTo=t;let i=oo();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 r.t(...arguments)}),e&&e(l,function(){return r.t(...arguments)})},o=l=>{var c,d;!t&&!l&&this.services.languageDetector&&(l=[]);let u=ve(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,r){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=Y({},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||r||s.keyPrefix);let f=i.options.keySeparator||".",p;return l.keyPrefix&&Array.isArray(a)?p=a.map(h=>`${l.keyPrefix}${f}${h}`):p=l.keyPrefix?`${l.keyPrefix}${f}${a}`:a,i.t(p,l)};return ve(t)?s.lng=t:s.lngs=t,s.ns=e,s.keyPrefix=r,s}t(){var i;for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];return(i=this.translator)==null?void 0:i.translate(...e)}exists(){var i;for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];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 r=e.lng||this.resolvedLanguage||this.languages[0],i=this.options?this.options.fallbackLng:!1,s=this.languages[this.languages.length-1];if(r.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(r,t)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||a(r,t)&&(!i||a(s,t)))}loadNamespaces(t,e){let r=oo();return this.options.ns?(ve(t)&&(t=[t]),t.forEach(i=>{this.options.ns.indexOf(i)<0&&this.options.ns.push(i)}),this.loadResources(i=>{r.resolve(),e&&e(i)}),r):(e&&e(),Promise.resolve())}loadLanguages(t,e){let r=oo();ve(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=>{r.resolve(),e&&e(a)}),r):(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"],r=((s=this.services)==null?void 0:s.languageUtils)||new lu(jb());return e.indexOf(r.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 n(t,e)}cloneInstance(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ru,r=t.forkResourceStore;r&&delete t.forkResourceStore;let i=pe(Y(Y({},this.options),t),{isClone:!0}),s=new n(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=Y({},this.services),s.services.utils={hasLoadedNamespace:s.hasLoadedNamespace.bind(s)},r){let o=Object.keys(this.store.data).reduce((l,u)=>(l[u]=Y({},this.store.data[u]),Object.keys(l[u]).reduce((c,d)=>(c[d]=Y({},l[u][d]),c),{})),{});s.store=new au(o,i),s.services.resourceStore=s.store}return s.translator=new ou(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}}},wt=uu.createInstance();wt.createInstance=uu.createInstance;LW=wt.createInstance,YW=wt.dir,UW=wt.init,qW=wt.loadResources,WW=wt.reloadResources,jW=wt.use,$W=wt.changeLanguage,HW=wt.getFixedT,BW=wt.t,GW=wt.exists,zW=wt.setDefaultNamespace,VW=wt.hasLoadedNamespace,KW=wt.loadNamespaces,QW=wt.loadLanguages});var Vb,zb=Q(()=>{Vb={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:""}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"",taskCountLocation:{description:"",name:"",options:{bottom:"",top:""}}},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 Qb,Kb=Q(()=>{Qb={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"}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"",taskCountLocation:{description:"",name:"",options:{bottom:"",top:""}}},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 Xb,Zb=Q(()=>{Xb={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"}},searches:{enableCustomSearches:{description:{line1:"Enables '{{filterByFunction}}', '{{sortByFunction}}', and '{{groupByFunction}}', which execute JavaScript in Tasks queries.",line2:"Malicious JavaScript in a Tasks query or Markdown file could run inside Obsidian and access or modify your vault contents, local files, or other system resources.",line3:"Only enable this if you trust the current and future contents of this vault, including files you may later download, copy, or sync from other people.",line4:"This setting is stored on this device only; enable it separately on each device where you use this vault."},name:"Enable custom searches"},heading:"Searches"},searchResults:{heading:"Search results",taskCountLocation:{description:"Choose whether the task count is shown at the top or bottom of query results.",name:"Task count location",options:{bottom:"Bottom",top:"Top"}}},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 eT,Jb=Q(()=>{eT={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"}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"",taskCountLocation:{description:"",name:"",options:{bottom:"",top:""}}},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 nT,tT=Q(()=>{nT={main:{loadingPlugin:"Carregando plugin: {{name}} v{{version}}",unloadingPlugin:"Descarregando plugin: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"Se ativado, este status estar\xE1 dispon\xEDvel como um comando para que voc\xEA possa atribuir uma tecla de atalho e alternar o status usando-a.",name:"Dispon\xEDvel como comando"},editNextStatusSymbol:{description:"Quando clicado, este \xE9 o s\xEDmbolo que deve ser usado a seguir.",name:"Pr\xF3ximo S\xEDmbolo de Status da Tarefa"},editStatusName:{description:"Este \xE9 o nome amig\xE1vel do status da tarefa.",name:"Nome do Status da Tarefa"},editStatusSymbol:{description:"Este \xE9 o caractere entre os colchetes. (S\xF3 pode ser editado para status Personalizados, e n\xE3o para status Principais).",name:"S\xEDmbolo do Status da Tarefa"},editStatusType:{description:"Controla como o status se comporta em rela\xE7\xE3o a pesquisas e altern\xE2ncia.",name:"Tipo de Status da Tarefa"},fixErrorsBeforeSaving:"Corrija os erros antes de salvar."}},reports:{statusRegistry:{about:{createdBy:"Este arquivo foi criado pelo plugin Obsidian Tasks (vers\xE3o {{version}}) para ajudar a visualizar os status das tarefas neste cofre (vault).",deleteFileAnyTime:"Voc\xEA pode excluir este arquivo a qualquer momento.",title:"Sobre este arquivo",updateReport:{line1:"Se voc\xEA alterar as configura\xE7\xF5es de status do Tasks, poder\xE1 obter um relat\xF3rio atualizado:",line2:"Indo em `Configura\xE7\xF5es` -> `Tasks`.",line3:"Clicando em `Revisar e verificar seus Status`."}},columnHeadings:{nextStatusSymbol:"Pr\xF3ximo S\xEDmbolo de Status",problems:"Problemas (se houver)",statusName:"Nome do Status",statusSymbol:"S\xEDmbolo do Status",statusType:"Tipo de Status"},loadedSettings:{settingsActuallyUsed:"Estas s\xE3o as configura\xE7\xF5es que est\xE3o sendo realmente usadas pelo Tasks.",switchToLivePreview:"Mude para a Visualiza\xE7\xE3o Din\xE2mica (Live Preview) ou Modo de Leitura para ver o diagrama.",title:"Configura\xE7\xF5es Carregadas"},messages:{cannotFindNextStatus:"Falha inesperada ao encontrar o pr\xF3ximo status.",duplicateSymbol:"S\xEDmbolo duplicado '{{symbol}}': este status ser\xE1 ignorado.",emptySymbol:"S\xEDmbolo vazio: este status ser\xE1 ignorado.",nextSymbolUnknown:"O pr\xF3ximo s\xEDmbolo {{symbol}} \xE9 desconhecido: crie um status com o s\xEDmbolo {{symbol}}.",notConventionalType:"Para informa\xE7\xE3o, o tipo convencional para o s\xEDmbolo de status {{symbol}} \xE9 {{type}}: voc\xEA pode querer revisar este tipo.",wrongTypeAfterDone:{line1:"Este status `DONE` \xE9 seguido por {{nextType}}, n\xE3o `TODO` ou `IN_PROGRESS`.",line2:"Se for usado para concluir uma tarefa recorrente, ele ser\xE1 seguido por `TODO` ou `IN_PROGRESS`, para garantir que a pr\xF3xima tarefa corresponda ao filtro `not done`.",line3:"Consulte [Tarefas Recorrentes e Status Personalizados]({{helpURL}})."}},sampleTasks:{line1:"Aqui est\xE1 um exemplo de linha de tarefa para cada um dos status realmente usados pelo Tasks, para voc\xEA testar.",line2:"Os s\xEDmbolos e nomes de status nas descri\xE7\xF5es das tarefas estavam corretos quando este arquivo foi criado.",line3:"Se voc\xEA modificou as tarefas de exemplo desde que foram criadas, pode ver os tipos e nomes de status atuais nos cabe\xE7alhos de grupo na pesquisa do Tasks abaixo.",tip:{line1:"Dica: Se todas as suas caixas de sele\xE7\xE3o parecerem iguais...",line2:"Se todas as caixas de sele\xE7\xE3o (checkboxes) parecerem iguais no Modo de Leitura ou Visualiza\xE7\xE3o Din\xE2mica, consulte [Estilizar status personalizados]({{url}}) para saber como selecionar um tema ou snippet CSS para estilizar seus status."},title:"Tarefas de Exemplo"},searchSampleTasks:{line1:"Esta pesquisa do Tasks mostra todas as tarefas neste arquivo, agrupadas por tipo de status e nome do status.",title:"Pesquisar Tarefas de Exemplo"},statusSettings:{comment:{line1:"Mude para a Visualiza\xE7\xE3o Din\xE2mica (Live Preview) ou Modo de Leitura para ver a tabela.",line2:"Se houver algum caractere de formata\xE7\xE3o Markdown nos nomes de status, como '*' ou '_',",line3:"O Obsidian poder\xE1 renderizar a tabela corretamente apenas no Modo de Leitura."},theseAreStatusValues:"Estes s\xE3o os valores de status nas se\xE7\xF5es de status Principais e Personalizados.",title:"Configura\xE7\xF5es de Status"}}},settings:{autoSuggest:{heading:"Autocompletar",maxSuggestions:{description:'Quantas sugest\xF5es devem ser mostradas quando o menu de autocompletar aparecer (incluindo a op\xE7\xE3o "\u23CE").',name:"N\xFAmero m\xE1ximo de sugest\xF5es autom\xE1ticas para exibir"},minLength:{description:"Se for maior que 0, o autocompletar ser\xE1 acionado apenas quando o in\xEDcio de qualquer palavra-chave suportada for reconhecido.",name:"Tamanho m\xEDnimo de correspond\xEAncia para o autocompletar"},toggle:{description:"A ativa\xE7\xE3o desta op\xE7\xE3o abrir\xE1 um menu de sugest\xE3o inteligente ao digitar dentro de uma linha de tarefa reconhecida.",name:"Autocompletar o conte\xFAdo da tarefa"}},changeRequiresRestart:"REQUER REINICIALIZA\xC7\xC3O.",dates:{cancelledDate:{description:"A ativa\xE7\xE3o desta op\xE7\xE3o adicionar\xE1 um carimbo de data/hora \u274C YYYY-MM-DD no final quando uma tarefa for alternada para cancelada.",name:"Definir data de cancelamento em todas as tarefas canceladas"},createdDate:{description:"A ativa\xE7\xE3o desta op\xE7\xE3o adicionar\xE1 um carimbo de data/hora \u2795 YYYY-MM-DD antes de outros valores de data, quando uma tarefa for criada com 'Criar ou editar tarefa', ou ao concluir uma tarefa recorrente.",name:"Definir data de cria\xE7\xE3o em cada tarefa adicionada"},doneDate:{description:"A ativa\xE7\xE3o desta op\xE7\xE3o adicionar\xE1 um carimbo de data/hora \u2705 YYYY-MM-DD no final quando uma tarefa for alternada para conclu\xEDda.",name:"Definir data de conclus\xE3o em todas as tarefas conclu\xEDdas"},heading:"Datas"},datesFromFileNames:{heading:"Datas baseadas nos nomes dos arquivos",scheduledDate:{extraFormat:{description:{line1:"Um formato de data adicional que o plugin Tasks reconhecer\xE1 ao usar o nome do arquivo como a data Agendada para tarefas sem data.",line2:"Refer\xEAncia de Sintaxe"},name:"Formato adicional de data do nome do arquivo como data Agendada para tarefas sem data",placeholder:"exemplo: MMM DD YYYY"},folders:{description:"Deixe em branco se quiser usar as datas Agendadas padr\xE3o em todos os lugares, ou insira uma lista de pastas separada por v\xEDrgulas.",name:"Pastas com datas Agendadas padr\xE3o"},toggle:{description:{line1:"Economize tempo inserindo datas Agendadas (\u23F3).",line2:"Se esta op\xE7\xE3o for ativada, as tarefas sem data receber\xE3o uma data Agendada padr\xE3o extra\xEDda do nome do seu arquivo.",line3:"Por padr\xE3o, o plugin Tasks reconhecer\xE1 os formatos de data <code>YYYY-MM-DD</code> e <code>YYYYMMDD</code>.",line4:"Tarefas sem data n\xE3o possuem datas de Vencimento (\u{1F4C5}), Agendamento (\u23F3) e In\xEDcio (\u{1F6EB})."},name:"Usar nome do arquivo como data Agendada para tarefas sem data"}}},dialogs:{accessKeys:{description:"Se as teclas de acesso (atalhos de teclado) de v\xE1rios controles nas caixas de di\xE1logo entrarem em conflito com os atalhos de teclado do sistema ou com recursos de tecnologia assistiva importantes para voc\xEA, \xE9 poss\xEDvel desativ\xE1-los aqui.",name:"Fornecer teclas de acesso nas caixas de di\xE1logo"},heading:"Di\xE1logos"},format:{description:{line1:"O formato que o Tasks usa para ler e escrever tarefas.",line2:"<b>Importante:</b> Atualmente o Tasks suporta apenas um formato por vez. Selecionar o Dataview far\xE1 com que o Tasks <b>pare de ler seus pr\xF3prios indicadores de emoji</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"Formato de Emoji do Tasks"},name:"Formato da Tarefa"},globalFilter:{filter:{description:{line1:"Recomendado: Deixe vazio se voc\xEA quiser que todos os itens de checklist no seu cofre (vault) sejam tarefas gerenciadas por este plugin.",line2:'Use um filtro global se quiser que o Tasks atue apenas sobre um subconjunto de seus itens de checklist "<code>- [ ]</code>", de forma que um item de checklist precise incluir a string especificada na sua descri\xE7\xE3o para ser considerado uma tarefa.',line3:"Por exemplo, se voc\xEA definir o filtro global como <code>#task</code>, o plugin Tasks s\xF3 manipular\xE1 os itens de checklist com a tag <code>#task</code>.",line4:"Outros itens continuar\xE3o sendo itens normais de checklist e n\xE3o aparecer\xE3o nas consultas nem receber\xE3o data de conclus\xE3o."},name:"Filtro global",placeholder:"ex. #task ou TODO"},heading:"Filtro global de tarefas",removeFilter:{description:"A ativa\xE7\xE3o desta op\xE7\xE3o remover\xE1 a string que voc\xEA definiu como filtro global da descri\xE7\xE3o da tarefa ao exibi-la.",name:"Remover filtro global da descri\xE7\xE3o"}},globalQuery:{heading:"Consulta Global",query:{description:"Uma consulta que \xE9 inclu\xEDda automaticamente no in\xEDcio de cada bloco do Tasks no cofre. \xDAtil para adicionar filtros padr\xE3o ou op\xE7\xF5es de layout.",placeholder:`Por exemplo...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:"Adicionar nova predefini\xE7\xE3o"},line1:"Voc\xEA pode definir instru\xE7\xF5es nomeadas aqui, que podem ser reutilizadas em v\xE1rias consultas. Uma predefini\xE7\xE3o chamada '{{name}}' pode ser usada em consultas do Tasks com '{{instruction1}}' ou '{{instruction2}}'.",line2:"Quaisquer consultas do Tasks abertas s\xE3o recarregadas automaticamente quando as predefini\xE7\xF5es s\xE3o editadas.",name:"Predefini\xE7\xF5es (Presets)"},recurringTasks:{heading:"Tarefas recorrentes",nextLine:{description:"A ativa\xE7\xE3o desta op\xE7\xE3o far\xE1 com que a pr\xF3xima recorr\xEAncia de uma tarefa apare\xE7a na linha logo abaixo da tarefa conclu\xEDda. Caso contr\xE1rio, a pr\xF3xima recorr\xEAncia aparecer\xE1 antes da conclu\xEDda.",name:"A pr\xF3xima recorr\xEAncia aparece na linha de baixo"},removeScheduledDate:{description:{line1:"A ativa\xE7\xE3o desta op\xE7\xE3o far\xE1 com que a pr\xF3xima recorr\xEAncia de uma tarefa n\xE3o tenha data Agendada (\u23F3), quando pelo menos uma das datas de In\xEDcio (\u{1F6EB}) ou Vencimento (\u{1F4C5}) estiver presente.",line2:"Isto \xE9 \xFAtil para quando voc\xEA deseja que as datas de In\xEDcio e Vencimento sejam mantidas na pr\xF3xima recorr\xEAncia, mas pretende definir a data Agendada no futuro, quando for planejar trabalhar nela."},name:"Remover data agendada na recorr\xEAncia"}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"Resultados da pesquisa",taskCountLocation:{description:"Escolha se a contagem de tarefas deve ser mostrada na parte superior ou inferior dos resultados da consulta.",name:"Localiza\xE7\xE3o da contagem de tarefas",options:{bottom:"Inferior",top:"Superior"}}},seeTheDocumentation:"Veja a documenta\xE7\xE3o",statuses:{collections:{anuppuccinTheme:"Tema AnuPpuccin",auraTheme:"Tema Aura",borderTheme:"Tema Border",buttons:{addCollection:{name:"{{themeName}}: Adicionar {{numberOfStatuses}} Status suportados"}},ebullientworksTheme:"Tema Ebullientworks",itsThemeAndSlrvbCheckboxes:"Tema ITS e Checkboxes SlRvb",lytModeTheme:"Tema LYT Mode (Somente modo escuro)",minimalTheme:"Tema Minimal",thingsTheme:"Tema Things"},coreStatuses:{buttons:{checkStatuses:{name:"Revisar e verificar seus Status",tooltip:"Criar um novo arquivo na raiz do cofre, contendo um diagrama Mermaid das configura\xE7\xF5es atuais de status."}},description:{line1:"Estes s\xE3o os status principais que o Tasks suporta nativamente, sem a necessidade de estilos CSS personalizados ou temas.",line2:"Voc\xEA pode adicionar e editar seus pr\xF3prios status personalizados na se\xE7\xE3o abaixo."},heading:"Status Principais"},customStatuses:{buttons:{addAllUnknown:{name:"Adicionar Todos os Tipos de Status Desconhecidos"},addNewStatus:{name:"Adicionar Novo Status de Tarefa"},resetCustomStatuses:{name:"Redefinir Tipos de Status Personalizados para os Padr\xF5es"}},description:{line1:"Primeiro, voc\xEA deve <b>selecionar e instalar um Snippet CSS ou Tema</b> para estilizar as caixas de sele\xE7\xE3o personalizadas.",line2:"Em seguida, use os bot\xF5es abaixo para configurar seus status personalizados, para que correspondam \xE0s caixas de sele\xE7\xE3o CSS escolhidas.",line3:"<b>Nota:</b> Qualquer status com o mesmo s\xEDmbolo de um status anterior ser\xE1 ignorado. Voc\xEA pode confirmar os status que foram realmente carregados executando o comando 'Criar ou editar tarefa' e olhando a lista suspensa de Status.",line4:"Veja a documenta\xE7\xE3o para come\xE7ar!"},heading:"Status Personalizados"},heading:"Status das Tarefas"}}}});var iT,rT=Q(()=>{iT={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:""}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"",taskCountLocation:{description:"",name:"",options:{bottom:"",top:""}}},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 aT,sT=Q(()=>{aT={main:{loadingPlugin:"Eklenti y\xFCkleniyor: {{name}} v{{version}}",unloadingPlugin:"Eklenti kald\u0131r\u0131l\u0131yor: {{name}} v{{version}}"},modals:{customStatusModal:{editAvailableAsCommand:{description:"Etkinle\u015Ftirilirse bu durum bir komut olarak kullan\u0131labilir hale gelir; b\xF6ylece k\u0131sayol tu\u015Fu atayabilir ve durumu bu tu\u015F ile de\u011Fi\u015Ftirebilirsiniz.",name:"Komut olarak kullan\u0131labilir"},editNextStatusSymbol:{description:"Bu \xF6\u011Feye t\u0131kland\u0131\u011F\u0131nda kullan\u0131lacak olan sonraki durum simgesi.",name:"G\xF6revin Sonraki Durum Simgesi"},editStatusName:{description:"G\xF6rev durumunun g\xF6r\xFCnen ad\u0131.",name:"G\xF6rev Durum Ad\u0131"},editStatusSymbol:{description:"K\xF6\u015Feli parantezler aras\u0131ndaki karakterdir. (Yaln\u0131zca \xD6zel durumlar i\xE7in d\xFCzenlenebilir; Temel durumlar i\xE7in d\xFCzenlenemez.)",name:"G\xF6rev Durum Simgesi"},editStatusType:{description:"Durumun arama ve ge\xE7i\u015Flerde nas\u0131l davranaca\u011F\u0131n\u0131 belirler.",name:"G\xF6rev Durum T\xFCr\xFC"},fixErrorsBeforeSaving:"Kaydetmeden \xF6nce hatalar\u0131 d\xFCzeltin."}},reports:{statusRegistry:{about:{createdBy:"Bu dosya, kasadaki g\xF6rev durumlar\u0131n\u0131 g\xF6rselle\u015Ftirmeye yard\u0131mc\u0131 olmak amac\u0131yla Obsidian Tasks eklentisi (s\xFCr\xFCm {{version}}) taraf\u0131ndan olu\u015Fturulmu\u015Ftur.",deleteFileAnyTime:"Bu dosyay\u0131 istedi\u011Finiz zaman silebilirsiniz.",title:"Bu dosya hakk\u0131nda",updateReport:{line1:"Tasks durum ayarlar\u0131n\u0131 de\u011Fi\u015Ftirirseniz, g\xFCncel raporu \u015Fu \u015Fekilde alabilirsiniz:",line2:"`Ayarlar` -> `Tasks` b\xF6l\xFCm\xFCne gidin.",line3:"`Durumlar\u0131n\u0131z\u0131 inceleyin ve kontrol edin` se\xE7ene\u011Fine t\u0131klay\u0131n."}},columnHeadings:{nextStatusSymbol:"Sonraki Durum Simgesi",problems:"Sorunlar (varsa)",statusName:"Durum Ad\u0131",statusSymbol:"Durum Simgesi",statusType:"Durum T\xFCr\xFC"},loadedSettings:{settingsActuallyUsed:"Tasks taraf\u0131ndan ger\xE7ekte kullan\u0131lan ayarlar bunlard\u0131r.",switchToLivePreview:"Diyagram\u0131 g\xF6rmek i\xE7in Canl\u0131 \xD6nizleme veya Okuma Moduna ge\xE7in.",title:"Y\xFCklenen Ayarlar"},messages:{cannotFindNextStatus:"Sonraki durum bulunurken beklenmeyen bir hata olu\u015Ftu.",duplicateSymbol:"Yinelenen simge '{{symbol}}': bu durum yok say\u0131lacak.",emptySymbol:"Bo\u015F simge: bu durum yok say\u0131lacak.",nextSymbolUnknown:"Sonraki simge {{symbol}} bilinmiyor: {{symbol}} simgesiyle bir durum olu\u015Fturun.",notConventionalType:"Bilgi ama\xE7l\u0131: {{symbol}} durum simgesi i\xE7in al\u0131\u015F\u0131lm\u0131\u015F t\xFCr {{type}} \u015Feklindedir; bu t\xFCr\xFC g\xF6zden ge\xE7irmek isteyebilirsiniz.",wrongTypeAfterDone:{line1:"Bu `DONE` durumunu `TODO` veya `IN_PROGRESS` de\u011Fil, {{nextType}} izliyor.",line2:"Tekrarlayan bir g\xF6revi tamamlamak i\xE7in kullan\u0131l\u0131rsa, bir sonraki g\xF6revin `not done` filtresine uymas\u0131 i\xE7in bunun yerine `TODO` veya `IN_PROGRESS` izleyecektir.",line3:"Bkz. [Tekrarlayan G\xF6revler ve \xD6zel Durumlar]({{helpURL}})."}},sampleTasks:{line1:"A\u015Fa\u011F\u0131da, g\xF6revler taraf\u0131ndan ger\xE7ekte kullan\u0131lan her durum i\xE7in denemek \xFCzere bir \xF6rnek g\xF6rev sat\u0131r\u0131 yer almaktad\u0131r.",line2:"Dosya olu\u015Fturuldu\u011Funda g\xF6rev a\xE7\u0131klamalar\u0131ndaki durum simgeleri ve adlar\u0131 do\u011Fruydu.",line3:"\xD6rnek g\xF6revleri olu\u015Fturulduktan bu yana de\u011Fi\u015Ftirdiyseniz, a\u015Fa\u011F\u0131daki Tasks aramas\u0131ndaki grup ba\u015Fl\u0131klar\u0131nda g\xFCncel durum t\xFCrlerini ve adlar\u0131n\u0131 g\xF6rebilirsiniz.",tip:{line1:"\u0130pucu: T\xFCm onay kutular\u0131n\u0131z ayn\u0131 g\xF6r\xFCn\xFCyorsa...",line2:"Okuma Modu veya Canl\u0131 \xD6nizleme'de t\xFCm onay kutular\u0131 ayn\u0131 g\xF6r\xFCn\xFCyorsa, durumlar\u0131n\u0131z\u0131 \u015Fekillendirmek i\xE7in bir tema veya CSS snippet'i se\xE7mek amac\u0131yla [\xD6zel durumlar\u0131 \u015Fekillendir]({{url}}) sayfas\u0131na bak\u0131n."},title:"\xD6rnek G\xF6revler"},searchSampleTasks:{line1:"Bu Tasks aramas\u0131, bu dosyadaki t\xFCm g\xF6revleri durum t\xFCrlerine ve durum adlar\u0131na g\xF6re grupland\u0131rarak g\xF6sterir.",title:"\xD6rnek G\xF6revlerde Ara"},statusSettings:{comment:{line1:"Tabloyu g\xF6rmek i\xE7in Canl\u0131 \xD6nizleme veya Okuma Moduna ge\xE7in.",line2:"Durum adlar\u0131nda '*' veya '_' gibi Markdown bi\xE7imlendirme karakterleri varsa,",line3:"Obsidian tabloyu yaln\u0131zca Okuma Modunda do\u011Fru \u015Fekilde olu\u015Fturabilir."},theseAreStatusValues:"Bunlar, Temel ve \xD6zel durum b\xF6l\xFCmlerindeki durum de\u011Ferleridir.",title:"Durum Ayarlar\u0131"}}},settings:{autoSuggest:{heading:"Otomatik \xF6neri",maxSuggestions:{description:'Otomatik \xF6neri men\xFCs\xFC a\xE7\u0131ld\u0131\u011F\u0131nda ka\xE7 \xF6neri g\xF6sterilmeli ("\u23CE" se\xE7ene\u011Fi dahil).',name:"G\xF6sterilecek maksimum otomatik \xF6neri say\u0131s\u0131"},minLength:{description:"0'dan b\xFCy\xFCkse, otomatik \xF6neri yaln\u0131zca desteklenen anahtar kelimelerden herhangi birinin ba\u015Flang\u0131c\u0131 tan\u0131nd\u0131\u011F\u0131nda tetiklenir.",name:"Otomatik \xF6neri i\xE7in minimum e\u015Fle\u015Fme uzunlu\u011Fu"},toggle:{description:"Bu se\xE7ene\u011Fi etkinle\u015Ftirirseniz, tan\u0131nan bir g\xF6rev sat\u0131r\u0131nda yazarken ak\u0131ll\u0131 bir \xF6neri men\xFCs\xFC a\xE7\u0131l\u0131r.",name:"G\xF6rev i\xE7eri\u011Fi i\xE7in otomatik \xF6neri"}},changeRequiresRestart:"YEN\u0130DEN BA\u015ELATMA GEREKT\u0130R\u0130R.",dates:{cancelledDate:{description:"Bu se\xE7ene\u011Fi etkinle\u015Ftirirseniz, bir g\xF6rev iptal durumuna ge\xE7irildi\u011Finde sonuna \u274C YYYY-AA-GG zaman damgas\u0131 eklenir.",name:"\u0130ptal edilen her g\xF6reve iptal tarihi ekle"},createdDate:{description:"Bu se\xE7ene\u011Fi etkinle\u015Ftirirseniz, 'G\xF6rev olu\u015Ftur veya d\xFCzenle' komutuyla ya da tekrarlayan bir g\xF6rev tamamlanarak bir g\xF6rev olu\u015Fturuldu\u011Funda di\u011Fer tarih de\u011Ferlerinden \xF6nce \u2795 YYYY-AA-GG zaman damgas\u0131 eklenir.",name:"Eklenen her g\xF6reve olu\u015Fturulma tarihi ekle"},doneDate:{description:"Bu se\xE7ene\u011Fi etkinle\u015Ftirirseniz, bir g\xF6rev tamamland\u0131 durumuna ge\xE7irildi\u011Finde sonuna \u2705 YYYY-AA-GG zaman damgas\u0131 eklenir.",name:"Tamamlanan her g\xF6reve tamamlanma tarihi ekle"},heading:"Tarihler"},datesFromFileNames:{heading:"Dosya adlar\u0131ndan tarihler",scheduledDate:{extraFormat:{description:{line1:"Tasks eklentisinin, tarihlenmemi\u015F g\xF6revler i\xE7in dosya ad\u0131n\u0131 Zamanlanm\u0131\u015F tarih olarak kullan\u0131rken tan\u0131yaca\u011F\u0131 ek bir tarih bi\xE7imi.",line2:"S\xF6z dizimi Ba\u015Fvurusu"},name:"Tarihlenmemi\u015F g\xF6revler i\xE7in Zamanlanm\u0131\u015F tarih olarak ek dosya ad\u0131 tarih bi\xE7imi",placeholder:"\xF6rnek: MMM GG YYYY"},folders:{description:"Varsay\u0131lan Zamanlanm\u0131\u015F tarihleri her yerde kullanmak istiyorsan\u0131z bo\u015F b\u0131rak\u0131n ya da virg\xFClle ayr\u0131lm\u0131\u015F klas\xF6r listesi girin.",name:"Varsay\u0131lan Zamanlanm\u0131\u015F tarihlere sahip klas\xF6rler"},toggle:{description:{line1:"Zamanlanm\u0131\u015F (\u23F3) tarihleri girerken zaman kazan\u0131n.",line2:"Bu se\xE7enek etkinle\u015Ftirilirse, tarihlenmemi\u015F g\xF6revlere dosya ad\u0131ndan \xE7\u0131kar\u0131lan varsay\u0131lan bir Zamanlanm\u0131\u015F tarih verilir.",line3:"Tasks eklentisi varsay\u0131lan olarak hem <code>YYYY-AA-GG</code> hem de <code>YYYYAAGG</code> tarih bi\xE7imlerini tan\u0131r.",line4:"Tarihlenmemi\u015F g\xF6revlerde Son Tarih (\u{1F4C5}), Zamanlanm\u0131\u015F (\u23F3) ve Ba\u015Flang\u0131\xE7 (\u{1F6EB}) tarihlerinden hi\xE7biri bulunmaz."},name:"Tarihlenmemi\u015F g\xF6revler i\xE7in dosya ad\u0131n\u0131 Zamanlanm\u0131\u015F tarih olarak kullan"}}},dialogs:{accessKeys:{description:"\u0130leti\u015Fim kutular\u0131ndaki \xE7e\u015Fitli denetimler i\xE7in eri\u015Fim tu\u015Flar\u0131 (klavye k\u0131sayollar\u0131), sistem klavye k\u0131sayollar\u0131yla veya sizin i\xE7in \xF6nemli olan yard\u0131mc\u0131 teknoloji i\u015Flevleriyle \xE7ak\u0131\u015F\u0131yorsa, bunlar\u0131 burada devre d\u0131\u015F\u0131 b\u0131rakmak isteyebilirsiniz.",name:"\u0130leti\u015Fim kutular\u0131nda eri\u015Fim tu\u015Flar\u0131 sa\u011Fla"},heading:"\u0130leti\u015Fim Kutular\u0131"},format:{description:{line1:"Tasks'\u0131n g\xF6revleri okumak ve yazmak i\xE7in kulland\u0131\u011F\u0131 bi\xE7im.",line2:"<b>\xD6nemli:</b> Tasks \u015Fu anda ayn\u0131 anda yaln\u0131zca bir bi\xE7imi desteklemektedir. Dataview se\xE7ildi\u011Finde Tasks <b>kendi emoji imlerini okumay\u0131 durdurur</b>."},displayName:{dataview:"Dataview",tasksEmojiFormat:"Tasks Emoji Bi\xE7imi"},name:"G\xF6rev Bi\xE7imi"},globalFilter:{filter:{description:{line1:"\xD6neri: Kasan\u0131zdaki t\xFCm kontrol listesi \xF6\u011Felerinin bu eklenti taraf\u0131ndan y\xF6netilen g\xF6revler olmas\u0131n\u0131 istiyorsan\u0131z bo\u015F b\u0131rak\u0131n.",line2:`Tasks'\u0131n yaln\u0131zca "<code>- [ ]</code>" kontrol listesi \xF6\u011Felerinizin bir alt k\xFCmesi \xFCzerinde i\u015Flem yapmas\u0131n\u0131 istiyorsan\u0131z genel filtre kullan\u0131n; bu sayede bir kontrol listesi \xF6\u011Fesinin g\xF6rev olarak kabul edilmesi i\xE7in a\xE7\u0131klamas\u0131nda belirtilen dizeyi i\xE7ermesi gerekir.`,line3:"\xD6rne\u011Fin, genel filtreyi <code>#task</code> olarak ayarlarsan\u0131z, Tasks eklentisi yaln\u0131zca <code>#task</code> etiketiyle i\u015Faretlenmi\u015F kontrol listesi \xF6\u011Felerini i\u015Fler.",line4:"Di\u011Fer kontrol listesi \xF6\u011Feleri normal kontrol listesi \xF6\u011Feleri olarak kal\u0131r ve sorgularda g\xF6r\xFCnmez ya da tamamlanma tarihi almaz."},name:"Genel filtre",placeholder:"\xF6rn. #task veya TODO"},heading:"Genel g\xF6rev filtresi",removeFilter:{description:"Bu se\xE7ene\u011Fi etkinle\u015Ftirirseniz, bir g\xF6rev g\xF6r\xFCnt\xFClenirken a\xE7\u0131klamas\u0131ndan genel filtre olarak ayarlad\u0131\u011F\u0131n\u0131z dize kald\u0131r\u0131l\u0131r.",name:"A\xE7\u0131klamadan genel filtreyi kald\u0131r"}},globalQuery:{heading:"Genel Sorgu",query:{description:"Kasadaki her Tasks blo\u011Funun ba\u015F\u0131na otomatik olarak eklenen sorgu. Varsay\u0131lan filtreler veya d\xFCzen se\xE7enekleri eklemek i\xE7in kullan\u0131\u015Fl\u0131d\u0131r.",placeholder:`\xD6rne\u011Fin...
path does not include _templates/
limit 300
show urgency`}},presets:{buttons:{addNewPreset:"Yeni \xF6n ayar ekle"},line1:"Burada birden fazla sorguda yeniden kullanabilece\u011Finiz adland\u0131r\u0131lm\u0131\u015F talimatlar tan\u0131mlayabilirsiniz. '{{name}}' adl\u0131 bir \xF6n ayar, Tasks sorgular\u0131nda '{{instruction1}}' veya '{{instruction2}}' ile kullan\u0131labilir.",line2:"\xD6n ayarlar d\xFCzenlendi\u011Finde a\xE7\u0131k Tasks sorgular\u0131 otomatik olarak yeniden y\xFCklenir.",name:"\xD6n Ayarlar"},recurringTasks:{heading:"Tekrarlayan g\xF6revler",nextLine:{description:"Bu se\xE7ene\u011Fi etkinle\u015Ftirirseniz, bir g\xF6revin sonraki tekrar\u0131 tamamlanan g\xF6revin alt\u0131ndaki sat\u0131rda g\xF6r\xFCn\xFCr. Aksi takdirde sonraki tekrar tamamlanandan \xF6nce g\xF6r\xFCn\xFCr.",name:"Sonraki tekrar bir alt sat\u0131rda g\xF6r\xFCns\xFCn"},removeScheduledDate:{description:{line1:"Bu se\xE7ene\u011Fi etkinle\u015Ftirirseniz, Ba\u015Flang\u0131\xE7 (\u{1F6EB}) veya Son Tarih (\u{1F4C5}) tarihlerinden en az biri mevcutsa g\xF6revin sonraki tekrar\u0131nda Zamanlanm\u0131\u015F (\u23F3) tarih olmaz.",line2:"Bu se\xE7enek; Ba\u015Flang\u0131\xE7 ve Son Tarih tarihlerinin bir sonraki tekrara ta\u015F\u0131nmas\u0131n\u0131, ancak Zamanlanm\u0131\u015F tarihin \xFCzerinde \xE7al\u0131\u015Fmay\u0131 planlad\u0131\u011F\u0131n\u0131zda ileride belirlenmesini istedi\u011Finizde kullan\u0131\u015Fl\u0131d\u0131r."},name:"Tekrarda zamanlanm\u0131\u015F tarihi kald\u0131r"}},searches:{enableCustomSearches:{description:{line1:"Tasks sorgular\u0131nda JavaScript \xE7al\u0131\u015Ft\u0131ran '{{filterByFunction}}', '{{sortByFunction}}' ve '{{groupByFunction}}' \xF6zelliklerini etkinle\u015Ftirir.",line2:"Bir Tasks sorgusunda veya Markdown dosyas\u0131nda k\xF6t\xFC ama\xE7l\u0131 JavaScript, Obsidian i\xE7inde \xE7al\u0131\u015Farak kasa i\xE7eriklerinize, yerel dosyalar\u0131n\u0131za veya di\u011Fer sistem kaynaklar\u0131na eri\u015Febilir ya da bunlar\u0131 de\u011Fi\u015Ftirebilir.",line3:"Bunu yaln\u0131zca bu kasan\u0131n mevcut ve gelecekteki i\xE7eriklerine (ba\u015Fkalar\u0131ndan daha sonra indirebilece\u011Finiz, kopyalayabilece\u011Finiz veya e\u015Fitleyebilece\u011Finiz dosyalar dahil) g\xFCveniyorsan\u0131z etkinle\u015Ftirin.",line4:"Bu ayar yaln\u0131zca bu cihazda saklan\u0131r; bu kasay\u0131 kulland\u0131\u011F\u0131n\u0131z her cihazda ayr\u0131 ayr\u0131 etkinle\u015Ftirin."},name:"\xD6zel aramalar\u0131 etkinle\u015Ftir"},heading:"Aramalar"},searchResults:{heading:"Arama sonu\xE7lar\u0131",taskCountLocation:{description:"G\xF6rev say\u0131s\u0131n\u0131n sorgu sonu\xE7lar\u0131n\u0131n \xFCst\xFCnde mi yoksa alt\u0131nda m\u0131 g\xF6sterilece\u011Fini se\xE7in.",name:"G\xF6rev say\u0131s\u0131 konumu",options:{bottom:"Alt",top:"\xDCst"}}},seeTheDocumentation:"Belgelere bak\u0131n",statuses:{collections:{anuppuccinTheme:"AnuPpuccin Temas\u0131",auraTheme:"Aura Temas\u0131",borderTheme:"Border Temas\u0131",buttons:{addCollection:{name:"{{themeName}}: {{numberOfStatuses}} desteklenen Durumu ekle"}},ebullientworksTheme:"Ebullientworks Temas\u0131",itsThemeAndSlrvbCheckboxes:"ITS Temas\u0131 & SlRvb Onay Kutular\u0131",lytModeTheme:"LYT Mode Temas\u0131 (Yaln\u0131zca karanl\u0131k mod)",minimalTheme:"Minimal Tema",thingsTheme:"Things Temas\u0131"},coreStatuses:{buttons:{checkStatuses:{name:"Durumlar\u0131n\u0131z\u0131 inceleyin ve kontrol edin",tooltip:"Kasan\u0131n k\xF6k dizininde, mevcut durum ayarlar\u0131n\u0131n Mermaid diyagram\u0131n\u0131 i\xE7eren yeni bir dosya olu\u015Fturur."}},description:{line1:"Bunlar, Tasks'\u0131n \xF6zel CSS stillendirmesi veya tema gerektirmeksizin yerel olarak destekledi\u011Fi temel durumlard\u0131r.",line2:"A\u015Fa\u011F\u0131daki b\xF6l\xFCmde kendi \xF6zel durumlar\u0131n\u0131z\u0131 d\xFCzenleyebilir ve ekleyebilirsiniz."},heading:"Temel Durumlar"},customStatuses:{buttons:{addAllUnknown:{name:"T\xFCm Bilinmeyen Durum T\xFCrlerini Ekle"},addNewStatus:{name:"Yeni G\xF6rev Durumu Ekle"},resetCustomStatuses:{name:"\xD6zel Durum T\xFCrlerini Varsay\u0131lanlara S\u0131f\u0131rla"}},description:{line1:"\xD6nce \xF6zel onay kutular\u0131n\u0131 \u015Fekillendirmek i\xE7in <b>bir CSS Snippet veya Tema se\xE7ip y\xFCkleyin</b>.",line2:"Ard\u0131ndan, se\xE7ti\u011Finiz CSS onay kutular\u0131yla e\u015Fle\u015Fecek \u015Fekilde \xF6zel durumlar\u0131n\u0131z\u0131 ayarlamak i\xE7in a\u015Fa\u011F\u0131daki d\xFC\u011Fmeleri kullan\u0131n.",line3:"<b>Not:</b> Daha \xF6nce yer alan durumlarla ayn\u0131 simgeye sahip durumlar yok say\u0131l\u0131r. Ger\xE7ekte y\xFCklenen durumlar\u0131 'G\xF6rev olu\u015Ftur veya d\xFCzenle' komutunu \xE7al\u0131\u015Ft\u0131r\u0131p Durum a\xE7\u0131l\u0131r men\xFCs\xFCne bakarak do\u011Frulayabilirsiniz.",line4:"Ba\u015Flamak i\xE7in belgelere bak\u0131n!"},heading:"\xD6zel Durumlar"},heading:"G\xF6rev Durumlar\u0131"}}}});var lT,oT=Q(()=>{lT={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:""}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"",taskCountLocation:{description:"",name:"",options:{bottom:"",top:""}}},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 cT,uT=Q(()=>{cT={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"}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"",taskCountLocation:{description:"",name:"",options:{bottom:"",top:""}}},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 fT,dT=Q(()=>{fT={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"}},searches:{enableCustomSearches:{description:{line1:"",line2:"",line3:"",line4:""},name:""},heading:""},searchResults:{heading:"",taskCountLocation:{description:"",name:"",options:{bottom:"",top:""}}},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 pT,Pf,EO,mT,R,wi=Q(()=>{"use strict";Gb();pT=require("obsidian");zb();Kb();Zb();Jb();tT();rT();sT();oT();uT();dT();Pf=!1,EO=()=>(0,pT.getLanguage)()||"en",mT=()=>A(null,null,function*(){Pf||(yield wt.init({lng:EO(),fallbackLng:"en",returnEmptyString:!1,resources:{be:{translation:Vb},de:{translation:Qb},en:{translation:Xb},ko:{translation:eT},"pt-BR":{translation:nT},ru:{translation:iT},tr:{translation:aT},uk:{translation:lT},vi:{translation:cT},zh:{translation:fT}},interpolation:{escapeValue:!1}}),Pf=!0)}),R=new Proxy(wt,{get(n,t){if(!Pf&&t==="t")throw new Error("i18n.t() called before initialization. Call initializeI18n() first.");return Reflect.get(n,t)}})});var gT,Gs,Nf=Q(()=>{"use strict";gT=(n,t)=>null,Gs=class n{constructor(){this.getFirstLinkpathDestFn=gT}setGetFirstLinkpathDestFn(t){this.getFirstLinkpathDestFn=t}resetGetFirstLinkpathDestFn(){this.getFirstLinkpathDestFn=gT}getDestinationPath(t,e){var r;return(r=this.getFirstLinkpathDestFn(t,e))!=null?r:void 0}static getInstance(){return n.instance||(n.instance=new n),n.instance}}});var zs,Ff=Q(()=>{"use strict";Nf();zs=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=Gs.getInstance().getDestinationPath(this.rawLink,this.pathContainingLink))!=null?t:null}get displayText(){return this.rawLink.displayText}linksTo(t){if(typeof t=="string"){let e=/\.md$/,r=this.destination.replace(e,""),i=t.replace(e,"");return!!(i===r||r.endsWith(`/${i}`))}return this.destinationPath===t.path}}});var st,We,Zr=Q(()=>{"use strict";st=class st{};st.dateFormat="YYYY-MM-DD",st.dateTimeFormat="YYYY-MM-DD HH:mm",st.indentationRegex=/^([\s\t>]*)/,st.listMarkerRegex=/([-*+]|[0-9]+[.)])/,st.checkboxRegex=/\[(.)\]/u,st.afterCheckboxRegex=/ *(.*)/u,st.taskRegex=new RegExp(st.indentationRegex.source+st.listMarkerRegex.source+" +"+st.checkboxRegex.source+st.afterCheckboxRegex.source,"u"),st.nonTaskRegex=new RegExp(st.indentationRegex.source+st.listMarkerRegex.source+"? *("+st.checkboxRegex.source+")?"+st.afterCheckboxRegex.source,"u"),st.listItemRegex=new RegExp(st.indentationRegex.source+st.listMarkerRegex.source),st.blockLinkRegex=/ \^[a-zA-Z0-9-]+$/u,st.hashTags=/(^|\s)#[^ !@#$%^&*(),.?":{}|<>]+/g,st.hashTagsFromEnd=new RegExp(st.hashTags.source+"$");We=st});var ze=M(Di=>{"use strict";Object.defineProperty(Di,"__esModule",{value:!0});Di.matchAnyPattern=Di.extractTerms=Di.repeatedTimeunitPattern=void 0;function MO(n,t){let e=t.replace(/\((?!\?)/g,"(?:");return`${n}${e}\\s{0,5}(?:,?\\s{0,5}${e}){0,10}`}Di.repeatedTimeunitPattern=MO;function yT(n){let t;return n instanceof Array?t=[...n]:n instanceof Map?t=Array.from(n.keys()):t=Object.keys(n),t}Di.extractTerms=yT;function AO(n){return`(?:${yT(n).sort((e,r)=>r.length-e.length).join("|").replace(/\./g,"\\.")})`}Di.matchAnyPattern=AO});var $e=M((Lf,Yf)=>{(function(n,t){typeof Lf=="object"&&typeof Yf!="undefined"?Yf.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self).dayjs=t()})(Lf,(function(){"use strict";var n=1e3,t=6e4,e=36e5,r="millisecond",i="second",s="minute",a="hour",o="day",l="week",u="month",c="quarter",d="year",f="date",p="Invalid Date",h=/^(\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,B,P){var te=String(K);return!te||te.length>=B?K:""+Array(B+1-te.length).join(P)+K},O={s:E,z:function(K){var B=-K.utcOffset(),P=Math.abs(B),te=Math.floor(P/60),H=P%60;return(B<=0?"+":"-")+E(te,2,"0")+":"+E(H,2,"0")},m:function K(B,P){if(B.date()<P.date())return-K(P,B);var te=12*(P.year()-B.year())+(P.month()-B.month()),H=B.clone().add(te,u),se=P-H<0,m=B.clone().add(te+(se?-1:1),u);return+(-(te+(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:r,Q:c}[K]||String(K||"").toLowerCase().replace(/s$/,"")},u:function(K){return K===void 0}},x="en",q={};q[x]=v;var ee=function(K){return K instanceof _e},V=function(K,B,P){var te;if(!K)return x;if(typeof K=="string")q[K]&&(te=K),B&&(q[K]=B,te=K);else{var H=K.name;q[H]=K,te=H}return!P&&te&&(x=te),te||!P&&x},j=function(K,B){if(ee(K))return K.clone();var P=typeof B=="object"?B:{};return P.date=K,P.args=arguments,new _e(P)},X=O;X.l=V,X.i=ee,X.w=function(K,B){return j(K,{locale:B.$L,utc:B.$u,x:B.$x,$offset:B.$offset})};var _e=(function(){function K(P){this.$L=V(P.locale,null,!0),this.parse(P)}var B=K.prototype;return B.parse=function(P){this.$d=(function(te){var H=te.date,se=te.utc;if(H===null)return new Date(NaN);if(X.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(h);if(m){var T=m[2]-1||0,S=(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,S)):new Date(m[1],T,m[3]||1,m[4]||0,m[5]||0,m[6]||0,S)}}return new Date(H)})(P),this.$x=P.x||{},this.init()},B.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()},B.$utils=function(){return X},B.isValid=function(){return this.$d.toString()!==p},B.isSame=function(P,te){var H=j(P);return this.startOf(te)<=H&&H<=this.endOf(te)},B.isAfter=function(P,te){return j(P)<this.startOf(te)},B.isBefore=function(P,te){return this.endOf(te)<j(P)},B.$g=function(P,te,H){return X.u(P)?this[te]:this.set(H,P)},B.unix=function(){return Math.floor(this.valueOf()/1e3)},B.valueOf=function(){return this.$d.getTime()},B.startOf=function(P,te){var H=this,se=!!X.u(te)||te,m=X.p(P),T=function(w,$){var de=X.w(H.$u?Date.UTC(H.$y,$,w):new Date(H.$y,$,w),H);return se?de:de.endOf(o)},S=function(w,$){return X.w(H.toDate()[w].apply(H.toDate("s"),(se?[0,0,0,0]:[23,59,59,999]).slice($)),H)},k=this.$W,_=this.$M,C=this.$D,I="set"+(this.$u?"UTC":"");switch(m){case d:return se?T(1,0):T(31,11);case u:return se?T(1,_):T(0,_+1);case l:var U=this.$locale().weekStart||0,L=(k<U?k+7:k)-U;return T(se?C-L:C+(6-L),_);case o:case f:return S(I+"Hours",0);case a:return S(I+"Minutes",1);case s:return S(I+"Seconds",2);case i:return S(I+"Milliseconds",3);default:return this.clone()}},B.endOf=function(P){return this.startOf(P,!1)},B.$set=function(P,te){var H,se=X.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[r]=m+"Milliseconds",H)[se],S=se===o?this.$D+(te-this.$W):te;if(se===u||se===d){var k=this.clone().set(f,1);k.$d[T](S),k.init(),this.$d=k.set(f,Math.min(this.$D,k.daysInMonth())).$d}else T&&this.$d[T](S);return this.init(),this},B.set=function(P,te){return this.clone().$set(P,te)},B.get=function(P){return this[X.p(P)]()},B.add=function(P,te){var H,se=this;P=Number(P);var m=X.p(te),T=function(_){var C=j(se);return X.w(C.date(C.date()+Math.round(_*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 S=(H={},H[s]=t,H[a]=e,H[i]=n,H)[m]||1,k=this.$d.getTime()+P*S;return X.w(k,this)},B.subtract=function(P,te){return this.add(-1*P,te)},B.format=function(P){var te=this,H=this.$locale();if(!this.isValid())return H.invalidDate||p;var se=P||"YYYY-MM-DDTHH:mm:ssZ",m=X.z(this),T=this.$H,S=this.$m,k=this.$M,_=H.weekdays,C=H.months,I=function($,de,ye,fe){return $&&($[de]||$(te,se))||ye[de].substr(0,fe)},U=function($){return X.s(T%12||12,$,"0")},L=H.meridiem||function($,de,ye){var fe=$<12?"AM":"PM";return ye?fe.toLowerCase():fe},w={YY:String(this.$y).slice(-2),YYYY:this.$y,M:k+1,MM:X.s(k+1,2,"0"),MMM:I(H.monthsShort,k,C,3),MMMM:I(C,k),D:this.$D,DD:X.s(this.$D,2,"0"),d:String(this.$W),dd:I(H.weekdaysMin,this.$W,_,2),ddd:I(H.weekdaysShort,this.$W,_,3),dddd:_[this.$W],H:String(T),HH:X.s(T,2,"0"),h:U(1),hh:U(2),a:L(T,S,!0),A:L(T,S,!1),m:String(S),mm:X.s(S,2,"0"),s:String(this.$s),ss:X.s(this.$s,2,"0"),SSS:X.s(this.$ms,3,"0"),Z:m};return se.replace(b,(function($,de){return de||w[$]||m.replace(":","")}))},B.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},B.diff=function(P,te,H){var se,m=X.p(te),T=j(P),S=(T.utcOffset()-this.utcOffset())*t,k=this-T,_=X.m(this,T);return _=(se={},se[d]=_/12,se[u]=_,se[c]=_/3,se[l]=(k-S)/6048e5,se[o]=(k-S)/864e5,se[a]=k/e,se[s]=k/t,se[i]=k/n,se)[m]||k,H?_:X.a(_)},B.daysInMonth=function(){return this.endOf(u).$D},B.$locale=function(){return q[this.$L]},B.locale=function(P,te){if(!P)return this.$L;var H=this.clone(),se=V(P,te,!0);return se&&(H.$L=se),H},B.clone=function(){return X.w(this.$d,this)},B.toDate=function(){return new Date(this.valueOf())},B.toJSON=function(){return this.isValid()?this.toISOString():null},B.toISOString=function(){return this.$d.toISOString()},B.toString=function(){return this.$d.toUTCString()},K})(),Pe=_e.prototype;return j.prototype=Pe,[["$ms",r],["$s",i],["$m",s],["$H",a],["$W",o],["$M",u],["$y",d],["$D",f]].forEach((function(K){Pe[K[1]]=function(B){return this.$g(B,K[0],K[1])}})),j.extend=function(K,B){return K.$i||(K(B,_e,j),K.$i=!0),j},j.locale=V,j.isDayjs=ee,j.unix=function(K){return j(1e3*K)},j.en=q[x],j.Ls=q,j.p={},j}))});var It=M(Ei=>{"use strict";var PO=Ei&&Ei.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ei,"__esModule",{value:!0});Ei.findYearClosestToRef=Ei.findMostLikelyADYear=void 0;var IO=PO($e());function NO(n){return n<100&&(n>50?n=n+1900:n=n+2e3),n}Ei.findMostLikelyADYear=NO;function FO(n,t,e){let r=IO.default(n),i=r;i=i.month(e-1),i=i.date(t),i=i.year(r.year());let s=i.add(1,"y"),a=i.add(-1,"y");return Math.abs(s.diff(r))<Math.abs(i.diff(r))?i=s:Math.abs(a.diff(r))<Math.abs(i.diff(r))&&(i=a),i.year()}Ei.findYearClosestToRef=FO});var Nt=M(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 fu=ze(),LO=It();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=`(?:${fu.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 TT(n){let t=n.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=TT;xe.ORDINAL_NUMBER_PATTERN=`(?:${fu.matchAnyPattern(xe.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:st|nd|rd|th)?)`;function YO(n){let t=n.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=YO;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 UO(n){if(/BE/i.test(n))return n=n.replace(/BE/i,""),parseInt(n)-543;if(/BCE?/i.test(n))return n=n.replace(/BCE?/i,""),-parseInt(n);if(/(AD|CE)/i.test(n))return n=n.replace(/(AD|CE)/i,""),parseInt(n);let t=parseInt(n);return LO.findMostLikelyADYear(t)}xe.parseYear=UO;var vT=`(${xe.NUMBER_PATTERN})\\s{0,3}(${fu.matchAnyPattern(xe.TIME_UNIT_DICTIONARY)})`,bT=new RegExp(vT,"i");xe.TIME_UNITS_PATTERN=fu.repeatedTimeunitPattern("(?:(?:about|around)\\s{0,3})?",vT);function qO(n){let t={},e=n,r=bT.exec(e);for(;r;)WO(t,r),e=e.substring(r[0].length).trim(),r=bT.exec(e);return t}xe.parseTimeUnits=qO;function WO(n,t){let e=TT(t[1]),r=xe.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];n[r]=e}});var kT=M((Uf,qf)=>{(function(n,t){typeof Uf=="object"&&typeof qf!="undefined"?qf.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis!="undefined"?globalThis:n||self).dayjs_plugin_quarterOfYear=t()})(Uf,(function(){"use strict";var n="month",t="quarter";return function(e,r){var i=r.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,n):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(n).startOf("day"):this.month(3*d+2).endOf(n).endOf("day")}return a.bind(this)(o,l)}}}))});var jn=M(Rr=>{"use strict";Object.defineProperty(Rr,"__esModule",{value:!0});Rr.implySimilarTime=Rr.assignSimilarTime=Rr.assignSimilarDate=Rr.assignTheNextDay=void 0;var ST=kt();function jO(n,t){t=t.add(1,"day"),_T(n,t),wT(n,t)}Rr.assignTheNextDay=jO;function _T(n,t){n.assign("day",t.date()),n.assign("month",t.month()+1),n.assign("year",t.year())}Rr.assignSimilarDate=_T;function $O(n,t){n.assign("hour",t.hour()),n.assign("minute",t.minute()),n.assign("second",t.second()),n.assign("millisecond",t.millisecond()),n.get("hour")<12?n.assign("meridiem",ST.Meridiem.AM):n.assign("meridiem",ST.Meridiem.PM)}Rr.assignSimilarTime=$O;function wT(n,t){n.imply("hour",t.hour()),n.imply("minute",t.minute()),n.imply("second",t.second()),n.imply("millisecond",t.millisecond())}Rr.implySimilarTime=wT});var DT=M(Qi=>{"use strict";Object.defineProperty(Qi,"__esModule",{value:!0});Qi.toTimezoneOffset=Qi.TIMEZONE_ABBR_MAP=void 0;Qi.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 HO(n){var t;return n==null?null:typeof n=="number"?n:(t=Qi.TIMEZONE_ABBR_MAP[n])!==null&&t!==void 0?t:null}Qi.toTimezoneOffset=HO});var lt=M(Cr=>{"use strict";var ET=Cr&&Cr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.ParsingResult=Cr.ParsingComponents=Cr.ReferenceWithTimezone=void 0;var BO=ET(kT()),pu=ET($e()),Wf=jn(),GO=DT();pu.default.extend(BO.default);var jf=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=GO.toTimezoneOffset(t.timezone))}};Cr.ReferenceWithTimezone=jf;var mu=class n{constructor(t,e){if(this.reference=t,this.knownValues={},this.impliedValues={},e)for(let i in e)this.knownValues[i]=e[i];let r=pu.default(t.instant);this.imply("day",r.date()),this.imply("month",r.month()+1),this.imply("year",r.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 n(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 pu.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,r;(!t||t.getTime()<0)&&(t=new Date);let i=-t.getTimezoneOffset(),s=(r=(e=this.get("timezoneOffset"))!==null&&e!==void 0?e:this.reference.timezoneOffset)!==null&&r!==void 0?r:i;return i-s}static createRelativeFromReference(t,e){let r=pu.default(t.instant);for(let s in e)r=r.add(e[s],s);let i=new n(t);return e.hour||e.minute||e.second?(Wf.assignSimilarTime(i,r),Wf.assignSimilarDate(i,r),t.timezoneOffset!==null&&i.assign("timezoneOffset",-t.instant.getTimezoneOffset())):(Wf.implySimilarTime(i,r),t.timezoneOffset!==null&&i.imply("timezoneOffset",-t.instant.getTimezoneOffset()),e.d?(i.assign("day",r.date()),i.assign("month",r.month()+1),i.assign("year",r.year())):(e.week&&i.imply("weekday",r.day()),i.imply("day",r.date()),e.month?(i.assign("month",r.month()+1),i.assign("year",r.year())):(i.imply("month",r.month()+1),e.year?i.assign("year",r.year()):i.imply("year",r.year())))),i}};Cr.ParsingComponents=mu;var $f=class n{constructor(t,e,r,i,s){this.reference=t,this.refDate=t.instant,this.index=e,this.text=r,this.start=i||new mu(t),this.end=s}clone(){let t=new n(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}', ...}]`}};Cr.ParsingResult=$f});var ie=M(hu=>{"use strict";Object.defineProperty(hu,"__esModule",{value:!0});hu.AbstractParserWithWordBoundaryChecking=void 0;var Hf=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 r;let i=(r=e[1])!==null&&r!==void 0?r:"";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)}};hu.AbstractParserWithWordBoundaryChecking=Hf});var xT=M(zf=>{"use strict";Object.defineProperty(zf,"__esModule",{value:!0});var Gf=Nt(),zO=lt(),VO=ie(),KO=new RegExp(`(?:within|in|for)\\s*(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Gf.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),QO=new RegExp(`(?:(?:about|around|roughly|approximately|just)\\s*(?:~\\s*)?)?(${Gf.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),Bf=class extends VO.AbstractParserWithWordBoundaryChecking{innerPattern(t){return t.option.forwardDate?QO:KO}innerExtract(t,e){let r=Gf.parseTimeUnits(e[1]);return zO.ParsingComponents.createRelativeFromReference(t.reference,r)}};zf.default=Bf});var PT=M(Kf=>{"use strict";Object.defineProperty(Kf,"__esModule",{value:!0});var ZO=It(),MT=Nt(),AT=Nt(),gu=Nt(),XO=ze(),JO=ie(),eR=new RegExp(`(?:on\\s{0,3})?(${gu.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:to|\\-|\\\u2013|until|through|till)?\\s{0,3}(${gu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s{0,3}(?:of)?\\s{0,3})(${XO.matchAnyPattern(MT.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s{0,3})(${AT.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),OT=1,RT=2,tR=3,CT=4,Vf=class extends JO.AbstractParserWithWordBoundaryChecking{innerPattern(){return eR}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=MT.MONTH_DICTIONARY[e[tR].toLowerCase()],s=gu.parseOrdinalNumberPattern(e[OT]);if(s>31)return e.index=e.index+e[OT].length,null;if(r.start.assign("month",i),r.start.assign("day",s),e[CT]){let a=AT.parseYear(e[CT]);r.start.assign("year",a)}else{let a=ZO.findYearClosestToRef(t.refDate,s,i);r.start.imply("year",a)}if(e[RT]){let a=gu.parseOrdinalNumberPattern(e[RT]);r.end=r.start.clone(),r.end.assign("day",a)}return r}};Kf.default=Vf});var YT=M(Zf=>{"use strict";Object.defineProperty(Zf,"__esModule",{value:!0});var nR=It(),FT=Nt(),yu=Nt(),LT=Nt(),rR=ze(),iR=ie(),sR=new RegExp(`(${rR.matchAnyPattern(FT.MONTH_DICTIONARY)})(?:-|/|\\s*,?\\s*)(${yu.ORDINAL_NUMBER_PATTERN})(?!\\s*(?:am|pm))\\s*(?:(?:to|\\-)\\s*(${yu.ORDINAL_NUMBER_PATTERN})\\s*)?(?:(?:-|/|\\s*,?\\s*)(${LT.YEAR_PATTERN}))?(?=\\W|$)(?!\\:\\d)`,"i"),aR=1,oR=2,IT=3,NT=4,Qf=class extends iR.AbstractParserWithWordBoundaryChecking{innerPattern(){return sR}innerExtract(t,e){let r=FT.MONTH_DICTIONARY[e[aR].toLowerCase()],i=yu.parseOrdinalNumberPattern(e[oR]);if(i>31)return null;let s=t.createParsingComponents({day:i,month:r});if(e[NT]){let l=LT.parseYear(e[NT]);s.assign("year",l)}else{let l=nR.findYearClosestToRef(t.refDate,i,r);s.imply("year",l)}if(!e[IT])return s;let a=yu.parseOrdinalNumberPattern(e[IT]),o=t.createParsingResult(e.index,e[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};Zf.default=Qf});var WT=M(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});var Xf=Nt(),lR=It(),uR=ze(),qT=Nt(),cR=ie(),dR=new RegExp(`((?:in)\\s*)?(${uR.matchAnyPattern(Xf.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${qT.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),fR=1,pR=2,UT=3,Jf=class extends cR.AbstractParserWithWordBoundaryChecking{innerPattern(){return dR}innerExtract(t,e){let r=e[pR].toLowerCase();if(e[0].length<=3&&!Xf.FULL_MONTH_NAME_DICTIONARY[r])return null;let i=t.createParsingResult(e.index+(e[fR]||"").length,e.index+e[0].length);i.start.imply("day",1);let s=Xf.MONTH_DICTIONARY[r];if(i.start.assign("month",s),e[UT]){let a=qT.parseYear(e[UT]);i.start.assign("year",a)}else{let a=lR.findYearClosestToRef(t.refDate,1,s);i.start.imply("year",a)}return i}};ep.default=Jf});var HT=M(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});var $T=Nt(),mR=ze(),hR=ie(),gR=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${mR.matchAnyPattern($T.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),yR=1,bR=2,jT=3,TR=4,tp=class extends hR.AbstractParserWithWordBoundaryChecking{innerPattern(){return gR}innerExtract(t,e){let r=e[jT]?parseInt(e[jT]):$T.MONTH_DICTIONARY[e[bR].toLowerCase()];if(r<1||r>12)return null;let i=parseInt(e[yR]);return{day:parseInt(e[TR]),month:r,year:i}}};np.default=tp});var BT=M(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});var vR=ie(),kR=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),SR=1,_R=2,rp=class extends vR.AbstractParserWithWordBoundaryChecking{innerPattern(){return kR}innerExtract(t,e){let r=parseInt(e[_R]),i=parseInt(e[SR]);return t.createParsingComponents().imply("day",1).assign("month",i).assign("year",r)}};ip.default=rp});var Zi=M(vu=>{"use strict";Object.defineProperty(vu,"__esModule",{value:!0});vu.AbstractTimeExpressionParser=void 0;var un=kt();function wR(n,t,e,r){return new RegExp(`${n}${t}(\\d{1,4})(?:(?:\\.|:|\uFF1A)(\\d{1,2})(?:(?::|\uFF1A)(\\d{2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${e}`,r)}function DR(n,t){return new RegExp(`^(${n})(\\d{1,4})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:(?:\\.|\\:|\\\uFF1A)(\\d{1,2})(?:\\.(\\d{1,6}))?)?)?(?:\\s*(a\\.m\\.|p\\.m\\.|am?|pm?))?${t}`,"i")}var GT=2,Vs=3,bu=4,Tu=5,uo=6,sp=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 r=this.extractPrimaryTimeComponents(t,e);if(!r)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,r);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,r=!1){let i=t.createParsingComponents(),s=0,a=null,o=parseInt(e[GT]);if(o>100){if(this.strictMode||e[Vs]!=null)return null;s=o%100,o=Math.floor(o/100)}if(o>24)return null;if(e[Vs]!=null){if(e[Vs].length==1&&!e[uo])return null;s=parseInt(e[Vs])}if(s>=60)return null;if(o>12&&(a=un.Meridiem.PM),e[uo]!=null){if(o>12)return null;let l=e[uo][0].toLowerCase();l=="a"&&(a=un.Meridiem.AM,o==12&&(o=0)),l=="p"&&(a=un.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",un.Meridiem.AM):i.imply("meridiem",un.Meridiem.PM),e[Tu]!=null){let l=parseInt(e[Tu].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(e[bu]!=null){let l=parseInt(e[bu]);if(l>=60)return null;i.assign("second",l)}return i}extractFollowingTimeComponents(t,e,r){let i=t.createParsingComponents();if(e[Tu]!=null){let l=parseInt(e[Tu].substring(0,3));if(l>=1e3)return null;i.assign("millisecond",l)}if(e[bu]!=null){let l=parseInt(e[bu]);if(l>=60)return null;i.assign("second",l)}let s=parseInt(e[GT]),a=0,o=-1;if(e[Vs]!=null?a=parseInt(e[Vs]):s>100&&(a=s%100,s=Math.floor(s/100)),a>=60||s>24)return null;if(s>=12&&(o=un.Meridiem.PM),e[uo]!=null){if(s>12)return null;let l=e[uo][0].toLowerCase();l=="a"&&(o=un.Meridiem.AM,s==12&&(s=0,i.isCertain("day")||i.imply("day",i.get("day")+1))),l=="p"&&(o=un.Meridiem.PM,s!=12&&(s+=12)),r.start.isCertain("meridiem")||(o==un.Meridiem.AM?(r.start.imply("meridiem",un.Meridiem.AM),r.start.get("hour")==12&&r.start.assign("hour",0)):(r.start.imply("meridiem",un.Meridiem.PM),r.start.get("hour")!=12&&r.start.assign("hour",r.start.get("hour")+12)))}return i.assign("hour",s),i.assign("minute",a),o>=0?i.assign("meridiem",o):r.start.isCertain("meridiem")&&r.start.get("hour")>12?r.start.get("hour")-12>s?i.imply("meridiem",un.Meridiem.AM):s<=12&&(i.assign("hour",s+12),i.assign("meridiem",un.Meridiem.PM)):s>12?i.imply("meridiem",un.Meridiem.PM):s<=12&&i.imply("meridiem",un.Meridiem.AM),i.date().getTime()<r.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 r=e[1];if(this.strictMode||r.includes(".")&&!r.match(/\d(\.\d{2})+$/)||parseInt(r)>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 r=e[1],i=e[2];if(i.includes(".")&&!i.match(/\d(\.\d{2})+$/))return null;let s=parseInt(i),a=parseInt(r);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=wR(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=DR(t,e),this.cachedFollowingPhase=t,this.cachedFollowingSuffix=e,this.cachedFollowingTimePatten)}};vu.AbstractTimeExpressionParser=sp});var zT=M(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});var ku=kt(),ER=Zi(),ap=class extends ER.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 r=super.extractPrimaryTimeComponents(t,e);if(r){if(e[0].endsWith("night")){let i=r.get("hour");i>=6&&i<12?(r.assign("hour",r.get("hour")+12),r.assign("meridiem",ku.Meridiem.PM)):i<6&&r.assign("meridiem",ku.Meridiem.AM)}if(e[0].endsWith("afternoon")){r.assign("meridiem",ku.Meridiem.PM);let i=r.get("hour");i>=0&&i<=6&&r.assign("hour",r.get("hour")+12)}e[0].endsWith("morning")&&(r.assign("meridiem",ku.Meridiem.AM),r.get("hour")<12&&r.assign("hour",r.get("hour")))}return r}};op.default=ap});var $n=M(Ks=>{"use strict";Object.defineProperty(Ks,"__esModule",{value:!0});Ks.addImpliedTimeUnits=Ks.reverseTimeUnits=void 0;function xR(n){let t={};for(let e in n)t[e]=-n[e];return t}Ks.reverseTimeUnits=xR;function OR(n,t){let e=n.clone(),r=n.dayjs();for(let i in t)r=r.add(t[i],i);return("day"in t||"d"in t||"week"in t||"month"in t||"year"in t)&&(e.imply("day",r.date()),e.imply("month",r.month()+1),e.imply("year",r.year())),("second"in t||"minute"in t||"hour"in t)&&(e.imply("second",r.second()),e.imply("minute",r.minute()),e.imply("hour",r.hour())),e}Ks.addImpliedTimeUnits=OR});var VT=M(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});var up=Nt(),RR=lt(),CR=ie(),MR=$n(),AR=new RegExp(`(${up.TIME_UNITS_PATTERN})\\s{0,5}(?:ago|before|earlier)(?=(?:\\W|$))`,"i"),PR=new RegExp(`(${up.TIME_UNITS_PATTERN})\\s{0,5}ago(?=(?:\\W|$))`,"i"),lp=class extends CR.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?PR:AR}innerExtract(t,e){let r=up.parseTimeUnits(e[1]),i=MR.reverseTimeUnits(r);return RR.ParsingComponents.createRelativeFromReference(t.reference,i)}};cp.default=lp});var KT=M(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});var fp=Nt(),IR=lt(),NR=ie(),FR=new RegExp(`(${fp.TIME_UNITS_PATTERN})\\s{0,5}(?:later|after|from now|henceforth|forward|out)(?=(?:\\W|$))`,"i"),LR=new RegExp("("+fp.TIME_UNITS_PATTERN+")(later|from now)(?=(?:\\W|$))","i"),YR=1,dp=class extends NR.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?LR:FR}innerExtract(t,e){let r=fp.parseTimeUnits(e[YR]);return IR.ParsingComponents.createRelativeFromReference(t.reference,r)}};pp.default=dp});var Zs=M(Qs=>{"use strict";Object.defineProperty(Qs,"__esModule",{value:!0});Qs.MergingRefiner=Qs.Filter=void 0;var mp=class{refine(t,e){return e.filter(r=>this.isValid(t,r))}};Qs.Filter=mp;var hp=class{refine(t,e){if(e.length<2)return e;let r=[],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))r.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&&r.push(i),r}};Qs.MergingRefiner=hp});var Mr=M(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});var UR=Zs(),gp=class extends UR.MergingRefiner{shouldMergeResults(t,e,r){return!e.end&&!r.end&&t.match(this.patternBetween())!=null}mergeResults(t,e,r){if(!e.start.isOnlyWeekdayComponent()&&!r.start.isOnlyWeekdayComponent()&&(r.start.getCertainComponents().forEach(s=>{e.start.isCertain(s)||e.start.assign(s,r.start.get(s))}),e.start.getCertainComponents().forEach(s=>{r.start.isCertain(s)||r.start.assign(s,e.start.get(s))})),e.start.date().getTime()>r.start.date().getTime()){let s=e.start.dayjs(),a=r.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())):r.start.isOnlyWeekdayComponent()&&a.add(7,"days").isAfter(s)?(a=a.add(7,"days"),r.start.imply("day",a.date()),r.start.imply("month",a.month()+1),r.start.imply("year",a.year())):[r,e]=[e,r]}let i=e.clone();return i.start=e.start,i.end=r.start,i.index=Math.min(e.index,r.index),e.index<r.index?i.text=e.text+t+r.text:i.text=r.text+t+e.text,i}};yp.default=gp});var QT=M(co=>{"use strict";var qR=co&&co.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(co,"__esModule",{value:!0});var WR=qR(Mr()),bp=class extends WR.default{patternBetween(){return/^\s*(to|-)\s*$/i}};co.default=bp});var ZT=M(Xs=>{"use strict";Object.defineProperty(Xs,"__esModule",{value:!0});Xs.mergeDateTimeComponent=Xs.mergeDateTimeResult=void 0;var jR=kt();function $R(n,t){let e=n.clone(),r=n.start,i=t.start;if(e.start=Tp(r,i),n.end!=null||t.end!=null){let s=n.end==null?n.start:n.end,a=t.end==null?t.start:t.end,o=Tp(s,a);n.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}Xs.mergeDateTimeResult=$R;function Tp(n,t){let e=n.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")==jR.Meridiem.PM&&e.get("hour")<12&&(t.isCertain("hour")?e.assign("hour",e.get("hour")+12):e.imply("hour",e.get("hour")+12)),e}Xs.mergeDateTimeComponent=Tp});var Xr=M(kp=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});var HR=Zs(),XT=ZT(),vp=class extends HR.MergingRefiner{shouldMergeResults(t,e,r){return(e.start.isOnlyDate()&&r.start.isOnlyTime()||r.start.isOnlyDate()&&e.start.isOnlyTime())&&t.match(this.patternBetween())!=null}mergeResults(t,e,r){let i=e.start.isOnlyDate()?XT.mergeDateTimeResult(e,r):XT.mergeDateTimeResult(r,e);return i.index=e.index,i.text=e.text+t+r.text,i}};kp.default=vp});var JT=M(fo=>{"use strict";var BR=fo&&fo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(fo,"__esModule",{value:!0});var GR=BR(Xr()),Sp=class extends GR.default{patternBetween(){return new RegExp("^\\s*(T|at|after|before|on|of|,|-)?\\s*$")}};fo.default=Sp});var ev=M(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});var zR=new RegExp("^\\s*,?\\s*\\(?([A-Z]{2,4})\\)?(?=\\W|$)","i"),VR={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},_p=class{constructor(t){this.timezone=Object.assign(Object.assign({},VR),t)}refine(t,e){var r;let i=(r=t.option.timezones)!==null&&r!==void 0?r:{};return e.forEach(s=>{var a,o;let l=t.text.substring(s.index+s.text.length),u=zR.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}};wp.default=_p});var Su=M(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});var KR=new RegExp("^\\s*(?:\\(?(?:GMT|UTC)\\s?)?([+-])(\\d{1,2})(?::?(\\d{2}))?\\)?","i"),QR=1,ZR=2,XR=3,Dp=class{refine(t,e){return e.forEach(function(r){if(r.start.isCertain("timezoneOffset"))return;let i=t.text.substring(r.index+r.text.length),s=KR.exec(i);if(!s)return;t.debug(()=>{console.log(`Extracting timezone: '${s[0]}' into : ${r}`)});let a=parseInt(s[ZR]),o=parseInt(s[XR]||"0"),l=a*60+o;l>840||(s[QR]==="-"&&(l=-l),r.end!=null&&r.end.assign("timezoneOffset",l),r.start.assign("timezoneOffset",l),r.text+=s[0])}),e}};Ep.default=Dp});var tv=M(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});var xp=class{refine(t,e){if(e.length<2)return e;let r=[],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):(r.push(i),i=a)}return i!=null&&r.push(i),r}};Op.default=xp});var nv=M(po=>{"use strict";var JR=po&&po.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(po,"__esModule",{value:!0});var e0=JR($e()),Rp=class{refine(t,e){return t.option.forwardDate&&e.forEach(function(r){let i=e0.default(t.refDate);if(r.start.isOnlyDayMonthComponent()&&i.isAfter(r.start.dayjs()))for(let s=0;s<3&&i.isAfter(r.start.dayjs());s++)r.start.imply("year",r.start.get("year")+1),t.debug(()=>{console.log(`Forward yearly adjusted for ${r} (${r.start})`)}),r.end&&!r.end.isCertain("year")&&(r.end.imply("year",r.end.get("year")+1),t.debug(()=>{console.log(`Forward yearly adjusted for ${r} (${r.end})`)}));r.start.isOnlyWeekdayComponent()&&i.isAfter(r.start.dayjs())&&(i.day()>=r.start.get("weekday")?i=i.day(r.start.get("weekday")+7):i=i.day(r.start.get("weekday")),r.start.imply("day",i.date()),r.start.imply("month",i.month()+1),r.start.imply("year",i.year()),t.debug(()=>{console.log(`Forward weekly adjusted for ${r} (${r.start})`)}),r.end&&r.end.isOnlyWeekdayComponent()&&(i.day()>r.end.get("weekday")?i=i.day(r.end.get("weekday")+7):i=i.day(r.end.get("weekday")),r.end.imply("day",i.date()),r.end.imply("month",i.month()+1),r.end.imply("year",i.year()),t.debug(()=>{console.log(`Forward weekly adjusted for ${r} (${r.end})`)})))}),e}};po.default=Rp});var rv=M(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});var t0=Zs(),Cp=class extends t0.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}};Mp.default=Cp});var Ip=M(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});var n0=ie(),r0=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"),i0=1,s0=2,a0=3,iv=4,o0=5,sv=6,av=7,ov=8,lv=9,Ap=class extends n0.AbstractParserWithWordBoundaryChecking{innerPattern(){return r0}innerExtract(t,e){let r={};if(r.year=parseInt(e[i0]),r.month=parseInt(e[s0]),r.day=parseInt(e[a0]),e[iv]!=null)if(r.hour=parseInt(e[iv]),r.minute=parseInt(e[o0]),e[sv]!=null&&(r.second=parseInt(e[sv])),e[av]!=null&&(r.millisecond=parseInt(e[av])),e[ov]==null)r.timezoneOffset=0;else{let i=parseInt(e[ov]),s=0;e[lv]!=null&&(s=parseInt(e[lv]));let a=i*60;a<0?a-=s:a+=s,r.timezoneOffset=a}return r}};Pp.default=Ap});var uv=M(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});var l0=Zs(),Np=class extends l0.MergingRefiner{mergeResults(t,e,r){let i=r.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,r){return e.start.isOnlyWeekdayComponent()&&!e.start.isCertain("hour")&&r.start.isCertain("day")&&t.match(/^,?\s*$/)!=null}};Fp.default=Np});var Jr=M(Js=>{"use strict";var Xi=Js&&Js.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Js,"__esModule",{value:!0});Js.includeCommonConfiguration=void 0;var u0=Xi(ev()),c0=Xi(Su()),cv=Xi(tv()),d0=Xi(nv()),f0=Xi(rv()),p0=Xi(Ip()),m0=Xi(uv());function h0(n,t=!1){return n.parsers.unshift(new p0.default),n.refiners.unshift(new m0.default),n.refiners.unshift(new u0.default),n.refiners.unshift(new c0.default),n.refiners.unshift(new cv.default),n.refiners.push(new cv.default),n.refiners.push(new d0.default),n.refiners.push(new f0.default(t)),n}Js.includeCommonConfiguration=h0});var ti=M(Ge=>{"use strict";var g0=Ge&&Ge.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ge,"__esModule",{value:!0});Ge.noon=Ge.morning=Ge.midnight=Ge.yesterdayEvening=Ge.evening=Ge.lastNight=Ge.tonight=Ge.theDayAfter=Ge.tomorrow=Ge.theDayBefore=Ge.yesterday=Ge.today=Ge.now=void 0;var Ar=lt(),ea=g0($e()),ei=jn(),mo=kt();function y0(n){let t=ea.default(n.instant),e=new Ar.ParsingComponents(n,{});return ei.assignSimilarDate(e,t),ei.assignSimilarTime(e,t),n.timezoneOffset!==null&&e.assign("timezoneOffset",t.utcOffset()),e}Ge.now=y0;function b0(n){let t=ea.default(n.instant),e=new Ar.ParsingComponents(n,{});return ei.assignSimilarDate(e,t),ei.implySimilarTime(e,t),e}Ge.today=b0;function T0(n){return dv(n,1)}Ge.yesterday=T0;function dv(n,t){return Lp(n,-t)}Ge.theDayBefore=dv;function v0(n){return Lp(n,1)}Ge.tomorrow=v0;function Lp(n,t){let e=ea.default(n.instant),r=new Ar.ParsingComponents(n,{});return e=e.add(t,"day"),ei.assignSimilarDate(r,e),ei.implySimilarTime(r,e),r}Ge.theDayAfter=Lp;function k0(n,t=22){let e=ea.default(n.instant),r=new Ar.ParsingComponents(n,{});return r.imply("hour",t),r.imply("meridiem",mo.Meridiem.PM),ei.assignSimilarDate(r,e),r}Ge.tonight=k0;function S0(n,t=0){let e=ea.default(n.instant),r=new Ar.ParsingComponents(n,{});return e.hour()<6&&(e=e.add(-1,"day")),ei.assignSimilarDate(r,e),r.imply("hour",t),r}Ge.lastNight=S0;function _0(n,t=20){let e=new Ar.ParsingComponents(n,{});return e.imply("meridiem",mo.Meridiem.PM),e.imply("hour",t),e}Ge.evening=_0;function w0(n,t=20){let e=ea.default(n.instant),r=new Ar.ParsingComponents(n,{});return e=e.add(-1,"day"),ei.assignSimilarDate(r,e),r.imply("hour",t),r.imply("meridiem",mo.Meridiem.PM),r}Ge.yesterdayEvening=w0;function D0(n){let t=new Ar.ParsingComponents(n,{});return t.imply("hour",0),t.imply("minute",0),t.imply("second",0),t}Ge.midnight=D0;function E0(n,t=6){let e=new Ar.ParsingComponents(n,{});return e.imply("meridiem",mo.Meridiem.AM),e.imply("hour",t),e}Ge.morning=E0;function x0(n){let t=new Ar.ParsingComponents(n,{});return t.imply("meridiem",mo.Meridiem.AM),t.imply("hour",12),t}Ge.noon=x0});var fv=M(lr=>{"use strict";var O0=lr&&lr.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),R0=lr&&lr.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),C0=lr&&lr.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&O0(t,n,e);return R0(t,n),t},M0=lr&&lr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(lr,"__esModule",{value:!0});var A0=M0($e()),P0=ie(),I0=jn(),ho=C0(ti()),N0=/(now|today|tonight|tomorrow|tmr|tmrw|yesterday|last\s*night)(?=\W|$)/i,Yp=class extends P0.AbstractParserWithWordBoundaryChecking{innerPattern(t){return N0}innerExtract(t,e){let r=A0.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();switch(i){case"now":return ho.now(t.reference);case"today":return ho.today(t.reference);case"yesterday":return ho.yesterday(t.reference);case"tomorrow":case"tmr":case"tmrw":return ho.tomorrow(t.reference);case"tonight":return ho.tonight(t.reference);default:i.match(/last\s*night/)&&(r.hour()>6&&(r=r.add(-1,"day")),I0.assignSimilarDate(s,r),s.imply("hour",0));break}return s}};lr.default=Yp});var pv=M(go=>{"use strict";var F0=go&&go.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(go,"__esModule",{value:!0});var _u=kt(),L0=ie(),Y0=F0($e()),U0=jn(),q0=/(?:this)?\s{0,3}(morning|afternoon|evening|night|midnight|noon)(?=\W|$)/i,Up=class extends L0.AbstractParserWithWordBoundaryChecking{innerPattern(){return q0}innerExtract(t,e){let r=Y0.default(t.refDate),i=t.createParsingComponents();switch(e[1].toLowerCase()){case"afternoon":i.imply("meridiem",_u.Meridiem.PM),i.imply("hour",15);break;case"evening":case"night":i.imply("meridiem",_u.Meridiem.PM),i.imply("hour",20);break;case"midnight":U0.assignTheNextDay(i,r),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"morning":i.imply("meridiem",_u.Meridiem.AM),i.imply("hour",6);break;case"noon":i.imply("meridiem",_u.Meridiem.AM),i.imply("hour",12);break}return i}};go.default=Up});var Ji=M(xi=>{"use strict";var W0=xi&&xi.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(xi,"__esModule",{value:!0});xi.toDayJSClosestWeekday=xi.toDayJSWeekday=void 0;var mv=W0($e());function j0(n,t,e){if(!e)return hv(n,t);let r=mv.default(n);switch(e){case"this":r=r.day(t);break;case"next":r=r.day(t+7);break;case"last":r=r.day(t-7);break}return r}xi.toDayJSWeekday=j0;function hv(n,t){let e=mv.default(n),r=e.day();return Math.abs(t-7-r)<Math.abs(t-r)?e=e.day(t-7):Math.abs(t+7-r)<Math.abs(t-r)?e=e.day(t+7):e=e.day(t),e}xi.toDayJSClosestWeekday=hv});var yv=M(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});var gv=Nt(),$0=ze(),H0=ie(),B0=Ji(),G0=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:on\\s*?)?(?:(this|last|past|next)\\s*)?(${$0.matchAnyPattern(gv.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(this|last|past|next)\\s*week)?(?=\\W|$)`,"i"),z0=1,V0=2,K0=3,qp=class extends H0.AbstractParserWithWordBoundaryChecking{innerPattern(){return G0}innerExtract(t,e){let r=e[V0].toLowerCase(),i=gv.WEEKDAY_DICTIONARY[r],s=e[z0],a=e[K0],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=B0.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};Wp.default=qp});var vv=M(yo=>{"use strict";var Q0=yo&&yo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(yo,"__esModule",{value:!0});var Tv=Nt(),bv=lt(),Z0=Q0($e()),X0=ie(),J0=ze(),eC=new RegExp(`(this|last|past|next|after\\s*this)\\s*(${J0.matchAnyPattern(Tv.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),tC=1,nC=2,jp=class extends X0.AbstractParserWithWordBoundaryChecking{innerPattern(){return eC}innerExtract(t,e){let r=e[tC].toLowerCase(),i=e[nC].toLowerCase(),s=Tv.TIME_UNIT_DICTIONARY[i];if(r=="next"||r.startsWith("after")){let l={};return l[s]=1,bv.ParsingComponents.createRelativeFromReference(t.reference,l)}if(r=="last"||r=="past"){let l={};return l[s]=-1,bv.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=Z0.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}};yo.default=jp});var ur=M(na=>{"use strict";Object.defineProperty(na,"__esModule",{value:!0});na.ParsingContext=na.Chrono=void 0;var ta=lt(),rC=Hp(),$p=class n{constructor(t){t=t||rC.createCasualConfiguration(),this.parsers=[...t.parsers],this.refiners=[...t.refiners]}clone(){return new n({parsers:[...this.parsers],refiners:[...this.refiners]})}parseDate(t,e,r){let i=this.parse(t,e,r);return i.length>0?i[0].start.date():null}parse(t,e,r){let i=new wu(t,e,r),s=[];return this.parsers.forEach(a=>{let o=n.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 r=[],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 ta.ParsingResult?c=u:u instanceof ta.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}`)),r.push(c),a=s.substring(l+c.text.length),o=i.exec(a)}return r}};na.Chrono=$p;var wu=class{constructor(t,e,r){this.text=t,this.reference=new ta.ReferenceWithTimezone(e),this.option=r!=null?r:{},this.refDate=this.reference.instant}createParsingComponents(t){return t instanceof ta.ParsingComponents?t:new ta.ParsingComponents(this.reference,t)}createParsingResult(t,e,r,i){let s=typeof e=="string"?e:this.text.substring(t,e),a=r?this.createParsingComponents(r):null,o=i?this.createParsingComponents(i):null;return new ta.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))}};na.ParsingContext=wu});var es=M(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});var kv=It(),iC=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"),Du=1,Sv=5,_v=2,wv=3,Bp=4,Gp=class{constructor(t){this.groupNumberMonth=t?wv:_v,this.groupNumberDay=t?_v:wv}pattern(){return iC}extract(t,e){if(e[Du]=="/"||e[Sv]=="/"){e.index+=e[0].length;return}let r=e.index+e[Du].length,i=e[0].substr(e[Du].length,e[0].length-e[Du].length-e[Sv].length);if(i.match(/^\d\.\d$/)||i.match(/^\d\.\d{1,2}\.\d{1,2}\s*$/)||!e[Bp]&&e[0].indexOf("/")<0)return;let s=t.createParsingResult(r,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[Bp]){let l=parseInt(e[Bp]),u=kv.findMostLikelyADYear(l);s.start.assign("year",u)}else{let l=kv.findYearClosestToRef(t.refDate,o,a);s.start.imply("year",l)}return s}};zp.default=Gp});var Ev=M(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});var Dv=Nt(),sC=lt(),aC=ie(),oC=$n(),lC=new RegExp(`(this|last|past|next|after|\\+|-)\\s*(${Dv.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),Vp=class extends aC.AbstractParserWithWordBoundaryChecking{innerPattern(){return lC}innerExtract(t,e){let r=e[1].toLowerCase(),i=Dv.parseTimeUnits(e[2]);switch(r){case"last":case"past":case"-":i=oC.reverseTimeUnits(i);break}return sC.ParsingComponents.createRelativeFromReference(t.reference,i)}};Kp.default=Vp});var Ov=M(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});var uC=Zs(),Qp=lt(),cC=Nt(),dC=$n();function xv(n){return n.text.match(/\s+(before|from)$/i)!=null}function fC(n){return n.text.match(/\s+(after|since)$/i)!=null}var Zp=class extends uC.MergingRefiner{patternBetween(){return/^\s*$/i}shouldMergeResults(t,e,r){return!t.match(this.patternBetween())||!xv(e)&&!fC(e)?!1:!!r.start.get("day")&&!!r.start.get("month")&&!!r.start.get("year")}mergeResults(t,e,r){let i=cC.parseTimeUnits(e.text);xv(e)&&(i=dC.reverseTimeUnits(i));let s=Qp.ParsingComponents.createRelativeFromReference(new Qp.ReferenceWithTimezone(r.start.date()),i);return new Qp.ParsingResult(r.reference,e.index,`${e.text}${t}${r.text}`,s)}};Xp.default=Zp});var Hp=M(pt=>{"use strict";var Dt=pt&&pt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(pt,"__esModule",{value:!0});pt.createConfiguration=pt.createCasualConfiguration=pt.parseDate=pt.parse=pt.GB=pt.strict=pt.casual=void 0;var pC=Dt(xT()),mC=Dt(PT()),hC=Dt(YT()),gC=Dt(WT()),yC=Dt(HT()),bC=Dt(BT()),TC=Dt(zT()),vC=Dt(VT()),kC=Dt(KT()),SC=Dt(QT()),_C=Dt(JT()),wC=Jr(),DC=Dt(fv()),EC=Dt(pv()),xC=Dt(yv()),OC=Dt(vv()),Jp=ur(),RC=Dt(es()),CC=Dt(Ev()),MC=Dt(Ov());pt.casual=new Jp.Chrono(Rv(!1));pt.strict=new Jp.Chrono(Eu(!0,!1));pt.GB=new Jp.Chrono(Eu(!1,!0));function AC(n,t,e){return pt.casual.parse(n,t,e)}pt.parse=AC;function PC(n,t,e){return pt.casual.parseDate(n,t,e)}pt.parseDate=PC;function Rv(n=!1){let t=Eu(!1,n);return t.parsers.unshift(new DC.default),t.parsers.unshift(new EC.default),t.parsers.unshift(new gC.default),t.parsers.unshift(new OC.default),t.parsers.unshift(new CC.default),t}pt.createCasualConfiguration=Rv;function Eu(n=!0,t=!1){return wC.includeCommonConfiguration({parsers:[new RC.default(t),new pC.default,new mC.default,new hC.default,new xC.default,new yC.default,new bC.default,new TC.default(n),new vC.default(n),new kC.default(n)],refiners:[new MC.default,new _C.default,new SC.default]},n)}pt.createConfiguration=Eu});var Cv=M(tm=>{"use strict";Object.defineProperty(tm,"__esModule",{value:!0});var IC=Zi(),em=class extends IC.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)}};tm.default=em});var bo=M(Ke=>{"use strict";Object.defineProperty(Ke,"__esModule",{value:!0});Ke.parseTimeUnits=Ke.TIME_UNITS_PATTERN=Ke.parseYear=Ke.YEAR_PATTERN=Ke.parseNumberPattern=Ke.NUMBER_PATTERN=Ke.TIME_UNIT_DICTIONARY=Ke.INTEGER_WORD_DICTIONARY=Ke.MONTH_DICTIONARY=Ke.WEEKDAY_DICTIONARY=void 0;var nm=ze(),NC=It();Ke.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};Ke.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};Ke.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};Ke.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"};Ke.NUMBER_PATTERN=`(?:${nm.matchAnyPattern(Ke.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|half(?:\\s*an?)?|an?\\b(?:\\s*few)?|few|several|a?\\s*couple\\s*(?:of)?)`;function Av(n){let t=n.toLowerCase();return Ke.INTEGER_WORD_DICTIONARY[t]!==void 0?Ke.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)}Ke.parseNumberPattern=Av;Ke.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 FC(n){if(/v/i.test(n))return-parseInt(n.replace(/[^0-9]+/gi,""));if(/n/i.test(n))return parseInt(n.replace(/[^0-9]+/gi,""));if(/z/i.test(n))return parseInt(n.replace(/[^0-9]+/gi,""));let t=parseInt(n);return NC.findMostLikelyADYear(t)}Ke.parseYear=FC;var Pv=`(${Ke.NUMBER_PATTERN})\\s{0,5}(${nm.matchAnyPattern(Ke.TIME_UNIT_DICTIONARY)})\\s{0,5}`,Mv=new RegExp(Pv,"i");Ke.TIME_UNITS_PATTERN=nm.repeatedTimeunitPattern("",Pv);function LC(n){let t={},e=n,r=Mv.exec(e);for(;r;)YC(t,r),e=e.substring(r[0].length),r=Mv.exec(e);return t}Ke.parseTimeUnits=LC;function YC(n,t){let e=Av(t[1]),r=Ke.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];n[r]=e}});var Nv=M(im=>{"use strict";Object.defineProperty(im,"__esModule",{value:!0});var Iv=bo(),UC=ze(),qC=ie(),WC=Ji(),jC=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:a[mn]\\s*?)?(?:(diese[mn]|letzte[mn]|n(?:\xE4|ae)chste[mn])\\s*)?(${UC.matchAnyPattern(Iv.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(diese|letzte|n(?:\xE4|ae)chste)\\s*woche)?(?=\\W|$)`,"i"),$C=1,HC=3,BC=2,rm=class extends qC.AbstractParserWithWordBoundaryChecking{innerPattern(){return jC}innerExtract(t,e){let r=e[BC].toLowerCase(),i=Iv.WEEKDAY_DICTIONARY[r],s=e[$C],a=e[HC],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=WC.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};im.default=rm});var Uv=M(am=>{"use strict";Object.defineProperty(am,"__esModule",{value:!0});var Oi=kt(),GC=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"),zC=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"),VC=2,Fv=3,Lv=4,Yv=5,sm=class n{pattern(t){return GC}extract(t,e){let r=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(r.text.match(/^\d{4}$/)||(r.start=n.extractTimeComponent(r.start.clone(),e),!r.start))return e.index+=e[0].length,null;let i=t.text.substring(e.index+e[0].length),s=zC.exec(i);return s&&(r.end=n.extractTimeComponent(r.start.clone(),s),r.end&&(r.text+=s[0])),r}static extractTimeComponent(t,e){let r=0,i=0,s=null;if(r=parseInt(e[VC]),e[Fv]!=null&&(i=parseInt(e[Fv])),i>=60||r>24)return null;if(r>=12&&(s=Oi.Meridiem.PM),e[Yv]!=null){if(r>12)return null;let a=e[Yv].toLowerCase();a.match(/morgen|vormittag/)&&(s=Oi.Meridiem.AM,r==12&&(r=0)),a.match(/nachmittag|abend/)&&(s=Oi.Meridiem.PM,r!=12&&(r+=12)),a.match(/nacht/)&&(r==12?(s=Oi.Meridiem.AM,r=0):r<6?s=Oi.Meridiem.AM:(s=Oi.Meridiem.PM,r+=12))}if(t.assign("hour",r),t.assign("minute",i),s!==null?t.assign("meridiem",s):r<12?t.imply("meridiem",Oi.Meridiem.AM):t.imply("meridiem",Oi.Meridiem.PM),e[Lv]!=null){let a=parseInt(e[Lv]);if(a>=60)return null;t.assign("second",a)}return t}};am.default=sm});var qv=M(To=>{"use strict";var KC=To&&To.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(To,"__esModule",{value:!0});var QC=KC(Mr()),om=class extends QC.default{patternBetween(){return/^\s*(bis(?:\s*(?:am|zum))?|-)\s*$/i}};To.default=om});var Wv=M(vo=>{"use strict";var ZC=vo&&vo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(vo,"__esModule",{value:!0});var XC=ZC(Xr()),lm=class extends XC.default{patternBetween(){return new RegExp("^\\s*(T|um|am|,|-)?\\s*$")}};vo.default=lm});var cm=M(ko=>{"use strict";var JC=ko&&ko.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ko,"__esModule",{value:!0});var eM=JC($e()),ts=kt(),tM=ie(),nM=jn(),rM=$n(),um=class n extends tM.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(diesen)?\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht)(?=\W|$)/i}innerExtract(t,e){let r=eM.default(t.refDate),i=e[2].toLowerCase(),s=t.createParsingComponents();return nM.implySimilarTime(s,r),n.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",ts.Meridiem.AM);break;case"vormittag":t.imply("hour",9),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ts.Meridiem.AM);break;case"mittag":case"mittags":t.imply("hour",12),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ts.Meridiem.AM);break;case"nachmittag":t.imply("hour",15),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ts.Meridiem.PM);break;case"abend":t.imply("hour",18),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ts.Meridiem.PM);break;case"nacht":t.imply("hour",22),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ts.Meridiem.PM);break;case"mitternacht":t.get("hour")>1&&(t=rM.addImpliedTimeUnits(t,{day:1})),t.imply("hour",0),t.imply("minute",0),t.imply("second",0),t.imply("meridiem",ts.Meridiem.AM);break}return t}};ko.default=um});var Hv=M(cr=>{"use strict";var iM=cr&&cr.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),sM=cr&&cr.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),aM=cr&&cr.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&iM(t,n,e);return sM(t,n),t},$v=cr&&cr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(cr,"__esModule",{value:!0});var oM=$v($e()),lM=ie(),ns=jn(),uM=$v(cm()),jv=aM(ti()),cM=new RegExp("(jetzt|heute|morgen|\xFCbermorgen|uebermorgen|gestern|vorgestern|letzte\\s*nacht)(?:\\s*(morgen|vormittag|mittags?|nachmittag|abend|nacht|mitternacht))?(?=\\W|$)","i"),dM=1,fM=2,dm=class extends lM.AbstractParserWithWordBoundaryChecking{innerPattern(t){return cM}innerExtract(t,e){let r=oM.default(t.refDate),i=(e[dM]||"").toLowerCase(),s=(e[fM]||"").toLowerCase(),a=t.createParsingComponents();switch(i){case"jetzt":a=jv.now(t.reference);break;case"heute":a=jv.today(t.reference);break;case"morgen":ns.assignTheNextDay(a,r);break;case"\xFCbermorgen":case"uebermorgen":r=r.add(1,"day"),ns.assignTheNextDay(a,r);break;case"gestern":r=r.add(-1,"day"),ns.assignSimilarDate(a,r),ns.implySimilarTime(a,r);break;case"vorgestern":r=r.add(-2,"day"),ns.assignSimilarDate(a,r),ns.implySimilarTime(a,r);break;default:i.match(/letzte\s*nacht/)&&(r.hour()>6&&(r=r.add(-1,"day")),ns.assignSimilarDate(a,r),a.imply("hour",0));break}return s&&(a=uM.default.extractTimeComponents(a,s)),a}};cr.default=dm});var Qv=M(pm=>{"use strict";Object.defineProperty(pm,"__esModule",{value:!0});var pM=It(),Vv=bo(),Kv=bo(),mM=ze(),hM=ie(),gM=new RegExp(`(?:am\\s*?)?(?:den\\s*?)?([0-9]{1,2})\\.(?:\\s*(?:bis(?:\\s*(?:am|zum))?|\\-|\\\u2013|\\s)\\s*([0-9]{1,2})\\.?)?\\s*(${mM.matchAnyPattern(Vv.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${Kv.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),Bv=1,Gv=2,yM=3,zv=4,fm=class extends hM.AbstractParserWithWordBoundaryChecking{innerPattern(){return gM}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=Vv.MONTH_DICTIONARY[e[yM].toLowerCase()],s=parseInt(e[Bv]);if(s>31)return e.index=e.index+e[Bv].length,null;if(r.start.assign("month",i),r.start.assign("day",s),e[zv]){let a=Kv.parseYear(e[zv]);r.start.assign("year",a)}else{let a=pM.findYearClosestToRef(t.refDate,s,i);r.start.imply("year",a)}if(e[Gv]){let a=parseInt(e[Gv]);r.end=r.start.clone(),r.end.assign("day",a)}return r}};pm.default=fm});var Zv=M(hm=>{"use strict";Object.defineProperty(hm,"__esModule",{value:!0});var xu=bo(),bM=lt(),TM=ie(),vM=$n(),kM=ze(),mm=class extends TM.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*)?(${xu.NUMBER_PATTERN})?(?:\\s*(n\xE4chste|kommende|folgende|letzte|vergangene|vorige|vor(?:her|an)gegangene)(?:s|n|m|r)?)?\\s*(${kM.matchAnyPattern(xu.TIME_UNIT_DICTIONARY)})`,"i")}innerExtract(t,e){let r=e[2]?xu.parseNumberPattern(e[2]):1,i=xu.TIME_UNIT_DICTIONARY[e[4].toLowerCase()],s={};s[i]=r;let a=e[1]||e[3]||"";if(a=a.toLowerCase(),!!a)return(/vor/.test(a)||/letzte/.test(a)||/vergangen/.test(a))&&(s=vM.reverseTimeUnits(s)),bM.ParsingComponents.createRelativeFromReference(t.reference,s)}};hm.default=mm});var ek=M(Et=>{"use strict";var dr=Et&&Et.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Et,"__esModule",{value:!0});Et.createConfiguration=Et.createCasualConfiguration=Et.parseDate=Et.parse=Et.strict=Et.casual=void 0;var SM=Jr(),Xv=ur(),_M=dr(es()),wM=dr(Ip()),DM=dr(Cv()),EM=dr(Nv()),xM=dr(Uv()),OM=dr(qv()),RM=dr(Wv()),CM=dr(Hv()),MM=dr(cm()),AM=dr(Qv()),PM=dr(Zv());Et.casual=new Xv.Chrono(Jv());Et.strict=new Xv.Chrono(gm(!0));function IM(n,t,e){return Et.casual.parse(n,t,e)}Et.parse=IM;function NM(n,t,e){return Et.casual.parseDate(n,t,e)}Et.parseDate=NM;function Jv(n=!0){let t=gm(!1,n);return t.parsers.unshift(new MM.default),t.parsers.unshift(new CM.default),t.parsers.unshift(new PM.default),t}Et.createCasualConfiguration=Jv;function gm(n=!0,t=!0){return SM.includeCommonConfiguration({parsers:[new wM.default,new _M.default(t),new DM.default,new xM.default,new AM.default,new EM.default],refiners:[new OM.default,new RM.default]},n)}Et.createConfiguration=gm});var nk=M(fr=>{"use strict";var FM=fr&&fr.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),LM=fr&&fr.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),YM=fr&&fr.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&FM(t,n,e);return LM(t,n),t},UM=fr&&fr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(fr,"__esModule",{value:!0});var qM=UM($e()),WM=kt(),jM=ie(),tk=jn(),Ou=YM(ti()),ym=class extends jM.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(maintenant|aujourd'hui|demain|hier|cette\s*nuit|la\s*veille)(?=\W|$)/i}innerExtract(t,e){let r=qM.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();switch(i){case"maintenant":return Ou.now(t.reference);case"aujourd'hui":return Ou.today(t.reference);case"hier":return Ou.yesterday(t.reference);case"demain":return Ou.tomorrow(t.reference);default:i.match(/cette\s*nuit/)?(tk.assignSimilarDate(s,r),s.imply("hour",22),s.imply("meridiem",WM.Meridiem.PM)):i.match(/la\s*veille/)&&(r=r.add(-1,"day"),tk.assignSimilarDate(s,r),s.imply("hour",0))}return s}};fr.default=ym});var rk=M(Tm=>{"use strict";Object.defineProperty(Tm,"__esModule",{value:!0});var So=kt(),$M=ie(),bm=class extends $M.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(cet?)?\s*(matin|soir|après-midi|aprem|a midi|à minuit)(?=\W|$)/i}innerExtract(t,e){let r=e[2].toLowerCase(),i=t.createParsingComponents();switch(r){case"apr\xE8s-midi":case"aprem":i.imply("hour",14),i.imply("minute",0),i.imply("meridiem",So.Meridiem.PM);break;case"soir":i.imply("hour",18),i.imply("minute",0),i.imply("meridiem",So.Meridiem.PM);break;case"matin":i.imply("hour",8),i.imply("minute",0),i.imply("meridiem",So.Meridiem.AM);break;case"a midi":i.imply("hour",12),i.imply("minute",0),i.imply("meridiem",So.Meridiem.AM);break;case"\xE0 minuit":i.imply("hour",0),i.imply("meridiem",So.Meridiem.AM);break}return i}};Tm.default=bm});var ik=M(km=>{"use strict";Object.defineProperty(km,"__esModule",{value:!0});var HM=Zi(),vm=class extends HM.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)}};km.default=vm});var sk=M(_o=>{"use strict";var BM=_o&&_o.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(_o,"__esModule",{value:!0});var GM=BM(Xr()),Sm=class extends GM.default{patternBetween(){return new RegExp("^\\s*(T|\xE0|a|vers|de|,|-)?\\s*$")}};_o.default=Sm});var ak=M(wo=>{"use strict";var zM=wo&&wo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(wo,"__esModule",{value:!0});var VM=zM(Mr()),_m=class extends VM.default{patternBetween(){return/^\s*(à|a|-)\s*$/i}};wo.default=_m});var Ri=M(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 wm=ze();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=`(?:${wm.matchAnyPattern(He.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+\\.[0-9]+|une?\\b|quelques?|demi-?)`;function lk(n){let t=n.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=lk;He.ORDINAL_NUMBER_PATTERN="(?:[0-9]{1,2}(?:er)?)";function KM(n){let t=n.toLowerCase();return t=t.replace(/(?:er)$/i,""),parseInt(t)}He.parseOrdinalNumberPattern=KM;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 QM(n){if(/AC/i.test(n))return n=n.replace(/BC/i,""),-parseInt(n);if(/AD/i.test(n)||/C/i.test(n))return n=n.replace(/[^\d]+/i,""),parseInt(n);let t=parseInt(n);return t<100&&(t>50?t=t+1900:t=t+2e3),t}He.parseYear=QM;var uk=`(${He.NUMBER_PATTERN})\\s{0,5}(${wm.matchAnyPattern(He.TIME_UNIT_DICTIONARY)})\\s{0,5}`,ok=new RegExp(uk,"i");He.TIME_UNITS_PATTERN=wm.repeatedTimeunitPattern("",uk);function ZM(n){let t={},e=n,r=ok.exec(e);for(;r;)XM(t,r),e=e.substring(r[0].length),r=ok.exec(e);return t}He.parseTimeUnits=ZM;function XM(n,t){let e=lk(t[1]),r=He.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];n[r]=e}});var dk=M(Em=>{"use strict";Object.defineProperty(Em,"__esModule",{value:!0});var ck=Ri(),JM=ze(),eA=ie(),tA=Ji(),nA=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(?:ce)\\s*)?(${JM.matchAnyPattern(ck.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(dernier|prochain)\\s*)?(?=\\W|\\d|$)`,"i"),rA=1,iA=2,Dm=class extends eA.AbstractParserWithWordBoundaryChecking{innerPattern(){return nA}innerExtract(t,e){let r=e[rA].toLowerCase(),i=ck.WEEKDAY_DICTIONARY[r];if(i===void 0)return null;let s=e[iA];s=s||"",s=s.toLowerCase();let a=null;s=="dernier"?a="last":s=="prochain"&&(a="next");let o=tA.toDayJSWeekday(t.refDate,i,a);return t.createParsingComponents().assign("weekday",i).imply("day",o.date()).imply("month",o.month()+1).imply("year",o.year())}};Em.default=Dm});var hk=M(Om=>{"use strict";Object.defineProperty(Om,"__esModule",{value:!0});var Do=kt(),sA=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"),aA=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"),oA=2,fk=3,pk=4,mk=5,xm=class n{pattern(t){return sA}extract(t,e){let r=t.createParsingResult(e.index+e[1].length,e[0].substring(e[1].length));if(r.text.match(/^\d{4}$/)||(r.start=n.extractTimeComponent(r.start.clone(),e),!r.start))return e.index+=e[0].length,null;let i=t.text.substring(e.index+e[0].length),s=aA.exec(i);return s&&(r.end=n.extractTimeComponent(r.start.clone(),s),r.end&&(r.text+=s[0])),r}static extractTimeComponent(t,e){let r=0,i=0,s=null;if(r=parseInt(e[oA]),e[fk]!=null&&(i=parseInt(e[fk])),i>=60||r>24)return null;if(r>=12&&(s=Do.Meridiem.PM),e[mk]!=null){if(r>12)return null;let a=e[mk][0].toLowerCase();a=="a"&&(s=Do.Meridiem.AM,r==12&&(r=0)),a=="p"&&(s=Do.Meridiem.PM,r!=12&&(r+=12))}if(t.assign("hour",r),t.assign("minute",i),s!==null?t.assign("meridiem",s):r<12?t.imply("meridiem",Do.Meridiem.AM):t.imply("meridiem",Do.Meridiem.PM),e[pk]!=null){let a=parseInt(e[pk]);if(a>=60)return null;t.assign("second",a)}return t}};Om.default=xm});var kk=M(Cm=>{"use strict";Object.defineProperty(Cm,"__esModule",{value:!0});var lA=It(),Tk=Ri(),vk=Ri(),Ru=Ri(),uA=ze(),cA=ie(),dA=new RegExp(`(?:on\\s*?)?(${Ru.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:au|\\-|\\\u2013|jusqu'au?|\\s)\\s*(${Ru.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:de)?\\s*)(${uA.matchAnyPattern(Tk.MONTH_DICTIONARY)})(?:(?:-|/|,?\\s*)(${vk.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),gk=1,yk=2,fA=3,bk=4,Rm=class extends cA.AbstractParserWithWordBoundaryChecking{innerPattern(){return dA}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=Tk.MONTH_DICTIONARY[e[fA].toLowerCase()],s=Ru.parseOrdinalNumberPattern(e[gk]);if(s>31)return e.index=e.index+e[gk].length,null;if(r.start.assign("month",i),r.start.assign("day",s),e[bk]){let a=vk.parseYear(e[bk]);r.start.assign("year",a)}else{let a=lA.findYearClosestToRef(t.refDate,s,i);r.start.imply("year",a)}if(e[yk]){let a=Ru.parseOrdinalNumberPattern(e[yk]);r.end=r.start.clone(),r.end.assign("day",a)}return r}};Cm.default=Rm});var _k=M(Am=>{"use strict";Object.defineProperty(Am,"__esModule",{value:!0});var Sk=Ri(),pA=lt(),mA=ie(),hA=$n(),Mm=class extends mA.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`il y a\\s*(${Sk.TIME_UNITS_PATTERN})(?=(?:\\W|$))`,"i")}innerExtract(t,e){let r=Sk.parseTimeUnits(e[1]),i=hA.reverseTimeUnits(r);return pA.ParsingComponents.createRelativeFromReference(t.reference,i)}};Am.default=Mm});var Dk=M(Im=>{"use strict";Object.defineProperty(Im,"__esModule",{value:!0});var wk=Ri(),gA=lt(),yA=ie(),Pm=class extends yA.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp(`(?:dans|en|pour|pendant|de)\\s*(${wk.TIME_UNITS_PATTERN})(?=\\W|$)`,"i")}innerExtract(t,e){let r=wk.parseTimeUnits(e[1]);return gA.ParsingComponents.createRelativeFromReference(t.reference,r)}};Im.default=Pm});var Ek=M(Fm=>{"use strict";Object.defineProperty(Fm,"__esModule",{value:!0});var Cu=Ri(),bA=lt(),TA=ie(),vA=$n(),kA=ze(),Nm=class extends TA.AbstractParserWithWordBoundaryChecking{constructor(){super()}innerPattern(){return new RegExp(`(?:les?|la|l'|du|des?)\\s*(${Cu.NUMBER_PATTERN})?(?:\\s*(prochaine?s?|derni[e\xE8]re?s?|pass[\xE9e]e?s?|pr[\xE9e]c[\xE9e]dents?|suivante?s?))?\\s*(${kA.matchAnyPattern(Cu.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 r=e[1]?Cu.parseNumberPattern(e[1]):1,i=Cu.TIME_UNIT_DICTIONARY[e[3].toLowerCase()],s={};s[i]=r;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=vA.reverseTimeUnits(s)),bA.ParsingComponents.createRelativeFromReference(t.reference,s)}};Fm.default=Nm});var Rk=M(xt=>{"use strict";var Hn=xt&&xt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(xt,"__esModule",{value:!0});xt.createConfiguration=xt.createCasualConfiguration=xt.parseDate=xt.parse=xt.strict=xt.casual=void 0;var SA=Jr(),xk=ur(),_A=Hn(nk()),wA=Hn(rk()),DA=Hn(es()),EA=Hn(ik()),xA=Hn(sk()),OA=Hn(ak()),RA=Hn(dk()),CA=Hn(hk()),MA=Hn(kk()),AA=Hn(_k()),PA=Hn(Dk()),IA=Hn(Ek());xt.casual=new xk.Chrono(Ok());xt.strict=new xk.Chrono(Lm(!0));function NA(n,t,e){return xt.casual.parse(n,t,e)}xt.parse=NA;function FA(n,t,e){return xt.casual.parseDate(n,t,e)}xt.parseDate=FA;function Ok(n=!0){let t=Lm(!1,n);return t.parsers.unshift(new _A.default),t.parsers.unshift(new wA.default),t.parsers.unshift(new IA.default),t}xt.createCasualConfiguration=Ok;function Lm(n=!0,t=!0){return SA.includeCommonConfiguration({parsers:[new DA.default(t),new MA.default,new EA.default,new CA.default,new AA.default,new PA.default,new RA.default],refiners:[new xA.default,new OA.default]},n)}xt.createConfiguration=Lm});var Ck=M(Mu=>{"use strict";Object.defineProperty(Mu,"__esModule",{value:!0});Mu.toHankaku=void 0;function LA(n){return String(n).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,YA)}Mu.toHankaku=LA;function YA(n){return String.fromCharCode(n.charCodeAt(0)-65248)}});var Ak=M(Eo=>{"use strict";var UA=Eo&&Eo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Eo,"__esModule",{value:!0});var Ym=Ck(),qA=It(),WA=UA($e()),jA=/(?:(?:([同今本])|((昭和|平成|令和)?([0-9０-９]{1,4}|元)))年\s*)?([0-9０-９]{1,2})月\s*([0-9０-９]{1,2})日/i,Mk=1,$A=2,Um=3,HA=4,BA=5,GA=6,qm=class{pattern(){return jA}extract(t,e){let r=parseInt(Ym.toHankaku(e[BA])),i=parseInt(Ym.toHankaku(e[GA])),s=t.createParsingComponents({day:i,month:r});if(e[Mk]&&e[Mk].match("\u540C|\u4ECA|\u672C")){let a=WA.default(t.refDate);s.assign("year",a.year())}if(e[$A]){let a=e[HA],o=a=="\u5143"?1:parseInt(Ym.toHankaku(a));e[Um]=="\u4EE4\u548C"?o+=2018:e[Um]=="\u5E73\u6210"?o+=1988:e[Um]=="\u662D\u548C"&&(o+=1925),s.assign("year",o)}else{let a=qA.findYearClosestToRef(t.refDate,i,r);s.imply("year",a)}return s}};Eo.default=qm});var Pk=M(xo=>{"use strict";var zA=xo&&xo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(xo,"__esModule",{value:!0});var VA=zA(Mr()),Wm=class extends VA.default{patternBetween(){return/^\s*(から|ー|-)\s*$/i}};xo.default=Wm});var Nk=M(pr=>{"use strict";var KA=pr&&pr.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),QA=pr&&pr.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),ZA=pr&&pr.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&KA(t,n,e);return QA(t,n),t},XA=pr&&pr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(pr,"__esModule",{value:!0});var JA=XA($e()),Ik=kt(),jm=ZA(ti()),eP=/今日|当日|昨日|明日|今夜|今夕|今晩|今朝/i,$m=class{pattern(){return eP}extract(t,e){let r=e[0],i=JA.default(t.refDate),s=t.createParsingComponents();switch(r){case"\u6628\u65E5":return jm.yesterday(t.reference);case"\u660E\u65E5":return jm.tomorrow(t.reference);case"\u4ECA\u65E5":case"\u5F53\u65E5":return jm.today(t.reference)}return r=="\u4ECA\u591C"||r=="\u4ECA\u5915"||r=="\u4ECA\u6669"?(s.imply("hour",22),s.assign("meridiem",Ik.Meridiem.PM)):r.match("\u4ECA\u671D")&&(s.imply("hour",6),s.assign("meridiem",Ik.Meridiem.AM)),s.assign("day",i.date()),s.assign("month",i.month()+1),s.assign("year",i.year()),s}};pr.default=$m});var Yk=M(Ot=>{"use strict";var Hm=Ot&&Ot.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ot,"__esModule",{value:!0});Ot.createConfiguration=Ot.createCasualConfiguration=Ot.parseDate=Ot.parse=Ot.strict=Ot.casual=void 0;var tP=Hm(Ak()),nP=Hm(Pk()),rP=Hm(Nk()),Fk=ur();Ot.casual=new Fk.Chrono(Lk());Ot.strict=new Fk.Chrono(Bm());function iP(n,t,e){return Ot.casual.parse(n,t,e)}Ot.parse=iP;function sP(n,t,e){return Ot.casual.parseDate(n,t,e)}Ot.parseDate=sP;function Lk(){let n=Bm();return n.parsers.unshift(new rP.default),n}Ot.createCasualConfiguration=Lk;function Bm(){return{parsers:[new tP.default],refiners:[new nP.default]}}Ot.createConfiguration=Bm});var Au=M(Pr=>{"use strict";Object.defineProperty(Pr,"__esModule",{value:!0});Pr.parseYear=Pr.YEAR_PATTERN=Pr.MONTH_DICTIONARY=Pr.WEEKDAY_DICTIONARY=void 0;Pr.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};Pr.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};Pr.YEAR_PATTERN="[0-9]{1,4}(?![^\\s]\\d)(?:\\s*[a|d]\\.?\\s*c\\.?|\\s*a\\.?\\s*d\\.?)?";function aP(n){if(n.match(/^[0-9]{1,4}$/)){let t=parseInt(n);return t<100&&(t>50?t=t+1900:t=t+2e3),t}return n.match(/a\.?\s*c\.?/i)?(n=n.replace(/a\.?\s*c\.?/i,""),-parseInt(n)):parseInt(n)}Pr.parseYear=aP});var qk=M(zm=>{"use strict";Object.defineProperty(zm,"__esModule",{value:!0});var Uk=Au(),oP=ze(),lP=ie(),uP=Ji(),cP=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:(este|esta|passado|pr[o\xF3]ximo)\\s*)?(${oP.matchAnyPattern(Uk.WEEKDAY_DICTIONARY)})(?:\\s*(?:\\,|\\)|\\\uFF09))?(?:\\s*(este|esta|passado|pr[\xF3o]ximo)\\s*semana)?(?=\\W|\\d|$)`,"i"),dP=1,fP=2,pP=3,Gm=class extends lP.AbstractParserWithWordBoundaryChecking{innerPattern(){return cP}innerExtract(t,e){let r=e[fP].toLowerCase(),i=Uk.WEEKDAY_DICTIONARY[r];if(i===void 0)return null;let s=e[dP],a=e[pP],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=uP.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};zm.default=Gm});var Wk=M(Km=>{"use strict";Object.defineProperty(Km,"__esModule",{value:!0});var mP=Zi(),Vm=class extends mP.AbstractTimeExpressionParser{primaryPrefix(){return"(?:(?:ao?|\xE0s?|das|da|de|do)\\s*)?"}followingPhase(){return"\\s*(?:\\-|\\\u2013|\\~|\\\u301C|a(?:o)?|\\?)\\s*"}};Km.default=Vm});var jk=M(Oo=>{"use strict";var hP=Oo&&Oo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Oo,"__esModule",{value:!0});var gP=hP(Xr()),Qm=class extends gP.default{patternBetween(){return new RegExp("^\\s*(?:,|\xE0)?\\s*$")}};Oo.default=Qm});var $k=M(Ro=>{"use strict";var yP=Ro&&Ro.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ro,"__esModule",{value:!0});var bP=yP(Mr()),Zm=class extends bP.default{patternBetween(){return/^\s*(?:-)\s*$/i}};Ro.default=Zm});var Kk=M(Jm=>{"use strict";Object.defineProperty(Jm,"__esModule",{value:!0});var TP=It(),zk=Au(),Vk=Au(),vP=ze(),kP=ie(),SP=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*)(${vP.matchAnyPattern(zk.MONTH_DICTIONARY)})(?:\\s*(?:de|,)?\\s*(${Vk.YEAR_PATTERN}))?(?=\\W|$)`,"i"),Hk=1,Bk=2,_P=3,Gk=4,Xm=class extends kP.AbstractParserWithWordBoundaryChecking{innerPattern(){return SP}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=zk.MONTH_DICTIONARY[e[_P].toLowerCase()],s=parseInt(e[Hk]);if(s>31)return e.index=e.index+e[Hk].length,null;if(r.start.assign("month",i),r.start.assign("day",s),e[Gk]){let a=Vk.parseYear(e[Gk]);r.start.assign("year",a)}else{let a=TP.findYearClosestToRef(t.refDate,s,i);r.start.imply("year",a)}if(e[Bk]){let a=parseInt(e[Bk]);r.end=r.start.clone(),r.end.assign("day",a)}return r}};Jm.default=Xm});var Qk=M(ni=>{"use strict";var wP=ni&&ni.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),DP=ni&&ni.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),EP=ni&&ni.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&wP(t,n,e);return DP(t,n),t};Object.defineProperty(ni,"__esModule",{value:!0});var xP=ie(),Pu=EP(ti()),eh=class extends xP.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(agora|hoje|amanha|amanhã|ontem)(?=\W|$)/i}innerExtract(t,e){let r=e[0].toLowerCase(),i=t.createParsingComponents();switch(r){case"agora":return Pu.now(t.reference);case"hoje":return Pu.today(t.reference);case"amanha":case"amanh\xE3":return Pu.tomorrow(t.reference);case"ontem":return Pu.yesterday(t.reference)}return i}};ni.default=eh});var Zk=M(Co=>{"use strict";var OP=Co&&Co.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Co,"__esModule",{value:!0});var Iu=kt(),RP=ie(),CP=jn(),MP=OP($e()),th=class extends RP.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(?:esta\s*)?(manha|manhã|tarde|meia-noite|meio-dia|noite)(?=\W|$)/i}innerExtract(t,e){let r=MP.default(t.refDate),i=t.createParsingComponents();switch(e[1].toLowerCase()){case"tarde":i.imply("meridiem",Iu.Meridiem.PM),i.imply("hour",15);break;case"noite":i.imply("meridiem",Iu.Meridiem.PM),i.imply("hour",22);break;case"manha":case"manh\xE3":i.imply("meridiem",Iu.Meridiem.AM),i.imply("hour",6);break;case"meia-noite":CP.assignTheNextDay(i,r),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"meio-dia":i.imply("meridiem",Iu.Meridiem.AM),i.imply("hour",12);break}return i}};Co.default=th});var eS=M(Rt=>{"use strict";var Ci=Rt&&Rt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Rt,"__esModule",{value:!0});Rt.createConfiguration=Rt.createCasualConfiguration=Rt.parseDate=Rt.parse=Rt.strict=Rt.casual=void 0;var AP=Jr(),Xk=ur(),PP=Ci(es()),IP=Ci(qk()),NP=Ci(Wk()),FP=Ci(jk()),LP=Ci($k()),YP=Ci(Kk()),UP=Ci(Qk()),qP=Ci(Zk());Rt.casual=new Xk.Chrono(Jk());Rt.strict=new Xk.Chrono(nh(!0));function WP(n,t,e){return Rt.casual.parse(n,t,e)}Rt.parse=WP;function jP(n,t,e){return Rt.casual.parseDate(n,t,e)}Rt.parseDate=jP;function Jk(n=!0){let t=nh(!1,n);return t.parsers.push(new UP.default),t.parsers.push(new qP.default),t}Rt.createCasualConfiguration=Jk;function nh(n=!0,t=!0){return AP.includeCommonConfiguration({parsers:[new PP.default(t),new IP.default,new NP.default,new YP.default],refiners:[new FP.default,new LP.default]},n)}Rt.createConfiguration=nh});var tS=M(Mo=>{"use strict";var $P=Mo&&Mo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Mo,"__esModule",{value:!0});var HP=$P(Mr()),rh=class extends HP.default{patternBetween(){return/^\s*(tot|-)\s*$/i}};Mo.default=rh});var nS=M(Ao=>{"use strict";var BP=Ao&&Ao.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ao,"__esModule",{value:!0});var GP=BP(Xr()),ih=class extends GP.default{patternBetween(){return new RegExp("^\\s*(om|na|voor|in de|,|-)?\\s*$")}};Ao.default=ih});var rS=M(ri=>{"use strict";var zP=ri&&ri.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),VP=ri&&ri.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),KP=ri&&ri.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&zP(t,n,e);return VP(t,n),t};Object.defineProperty(ri,"__esModule",{value:!0});var QP=ie(),Nu=KP(ti()),sh=class extends QP.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(nu|vandaag|morgen|morgend|gisteren)(?=\W|$)/i}innerExtract(t,e){let r=e[0].toLowerCase(),i=t.createParsingComponents();switch(r){case"nu":return Nu.now(t.reference);case"vandaag":return Nu.today(t.reference);case"morgen":case"morgend":return Nu.tomorrow(t.reference);case"gisteren":return Nu.yesterday(t.reference)}return i}};ri.default=sh});var iS=M(Po=>{"use strict";var ZP=Po&&Po.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Po,"__esModule",{value:!0});var Fu=kt(),XP=ie(),JP=ZP($e()),eI=jn(),tI=1,nI=2,ah=class extends XP.AbstractParserWithWordBoundaryChecking{innerPattern(){return/(deze)?\s*(namiddag|avond|middernacht|ochtend|middag|'s middags|'s avonds|'s ochtends)(?=\W|$)/i}innerExtract(t,e){let r=JP.default(t.refDate),i=t.createParsingComponents();switch(e[tI]==="deze"&&(i.assign("day",t.refDate.getDate()),i.assign("month",t.refDate.getMonth()+1),i.assign("year",t.refDate.getFullYear())),e[nI].toLowerCase()){case"namiddag":case"'s namiddags":i.imply("meridiem",Fu.Meridiem.PM),i.imply("hour",15);break;case"avond":case"'s avonds'":i.imply("meridiem",Fu.Meridiem.PM),i.imply("hour",20);break;case"middernacht":eI.assignTheNextDay(i,r),i.imply("hour",0),i.imply("minute",0),i.imply("second",0);break;case"ochtend":case"'s ochtends":i.imply("meridiem",Fu.Meridiem.AM),i.imply("hour",6);break;case"middag":case"'s middags":i.imply("meridiem",Fu.Meridiem.AM),i.imply("hour",12);break}return i}};Po.default=ah});var Rn=M(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 Lu=ze(),rI=It();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=`(?:${Lu.matchAnyPattern(Ie.INTEGER_WORD_DICTIONARY)}|[0-9]+|[0-9]+[\\.,][0-9]+|halve?|half|paar)`;function aS(n){let t=n.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=aS;Ie.ORDINAL_NUMBER_PATTERN=`(?:${Lu.matchAnyPattern(Ie.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:ste|de)?)`;function iI(n){let t=n.toLowerCase();return Ie.ORDINAL_WORD_DICTIONARY[t]!==void 0?Ie.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:ste|de)$/i,""),parseInt(t))}Ie.parseOrdinalNumberPattern=iI;Ie.YEAR_PATTERN="(?:[1-9][0-9]{0,3}\\s*(?:voor Christus|na Christus)|[1-2][0-9]{3}|[5-9][0-9])";function sI(n){if(/voor Christus/i.test(n))return n=n.replace(/voor Christus/i,""),-parseInt(n);if(/na Christus/i.test(n))return n=n.replace(/na Christus/i,""),parseInt(n);let t=parseInt(n);return rI.findMostLikelyADYear(t)}Ie.parseYear=sI;var oS=`(${Ie.NUMBER_PATTERN})\\s{0,5}(${Lu.matchAnyPattern(Ie.TIME_UNIT_DICTIONARY)})\\s{0,5}`,sS=new RegExp(oS,"i");Ie.TIME_UNITS_PATTERN=Lu.repeatedTimeunitPattern("(?:(?:binnen|in)\\s*)?",oS);function aI(n){let t={},e=n,r=sS.exec(e);for(;r;)oI(t,r),e=e.substring(r[0].length),r=sS.exec(e);return t}Ie.parseTimeUnits=aI;function oI(n,t){let e=aS(t[1]),r=Ie.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];n[r]=e}});var uS=M(lh=>{"use strict";Object.defineProperty(lh,"__esModule",{value:!0});var lS=Rn(),lI=lt(),uI=ie(),oh=class extends uI.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(?:binnen|in|binnen de|voor)\\s*("+lS.TIME_UNITS_PATTERN+")(?=\\W|$)","i")}innerExtract(t,e){let r=lS.parseTimeUnits(e[1]);return lI.ParsingComponents.createRelativeFromReference(t.reference,r)}};lh.default=oh});var dS=M(ch=>{"use strict";Object.defineProperty(ch,"__esModule",{value:!0});var cS=Rn(),cI=ze(),dI=ie(),fI=Ji(),pI=new RegExp(`(?:(?:\\,|\\(|\\\uFF08)\\s*)?(?:op\\s*?)?(?:(deze|vorige|volgende)\\s*(?:week\\s*)?)?(${cI.matchAnyPattern(cS.WEEKDAY_DICTIONARY)})(?=\\W|$)`,"i"),mI=1,hI=2,gI=3,uh=class extends dI.AbstractParserWithWordBoundaryChecking{innerPattern(){return pI}innerExtract(t,e){let r=e[hI].toLowerCase(),i=cS.WEEKDAY_DICTIONARY[r],s=e[mI],a=e[gI],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=fI.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};ch.default=uh});var yS=M(fh=>{"use strict";Object.defineProperty(fh,"__esModule",{value:!0});var yI=It(),hS=Rn(),Yu=Rn(),gS=Rn(),bI=ze(),TI=ie(),vI=new RegExp(`(?:on\\s*?)?(${Yu.ORDINAL_NUMBER_PATTERN})(?:\\s*(?:tot|\\-|\\\u2013|until|through|till|\\s)\\s*(${Yu.ORDINAL_NUMBER_PATTERN}))?(?:-|/|\\s*(?:of)?\\s*)(`+bI.matchAnyPattern(hS.MONTH_DICTIONARY)+`)(?:(?:-|/|,?\\s*)(${gS.YEAR_PATTERN}(?![^\\s]\\d)))?(?=\\W|$)`,"i"),kI=3,fS=1,pS=2,mS=4,dh=class extends TI.AbstractParserWithWordBoundaryChecking{innerPattern(){return vI}innerExtract(t,e){let r=hS.MONTH_DICTIONARY[e[kI].toLowerCase()],i=Yu.parseOrdinalNumberPattern(e[fS]);if(i>31)return e.index=e.index+e[fS].length,null;let s=t.createParsingComponents({day:i,month:r});if(e[mS]){let l=gS.parseYear(e[mS]);s.assign("year",l)}else{let l=yI.findYearClosestToRef(t.refDate,i,r);s.imply("year",l)}if(!e[pS])return s;let a=Yu.parseOrdinalNumberPattern(e[pS]),o=t.createParsingResult(e.index,e[0]);return o.start=s,o.end=s.clone(),o.end.assign("day",a),o}};fh.default=dh});var kS=M(mh=>{"use strict";Object.defineProperty(mh,"__esModule",{value:!0});var TS=Rn(),SI=It(),_I=ze(),vS=Rn(),wI=ie(),DI=new RegExp(`(${_I.matchAnyPattern(TS.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${vS.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,"i"),EI=1,bS=2,ph=class extends wI.AbstractParserWithWordBoundaryChecking{innerPattern(){return DI}innerExtract(t,e){let r=t.createParsingComponents();r.imply("day",1);let i=e[EI],s=TS.MONTH_DICTIONARY[i.toLowerCase()];if(r.assign("month",s),e[bS]){let a=vS.parseYear(e[bS]);r.assign("year",a)}else{let a=SI.findYearClosestToRef(t.refDate,1,s);r.imply("year",a)}return r}};mh.default=ph});var SS=M(gh=>{"use strict";Object.defineProperty(gh,"__esModule",{value:!0});var xI=ie(),OI=new RegExp("([0-9]|0[1-9]|1[012])/([0-9]{4})","i"),RI=1,CI=2,hh=class extends xI.AbstractParserWithWordBoundaryChecking{innerPattern(){return OI}innerExtract(t,e){let r=parseInt(e[CI]),i=parseInt(e[RI]);return t.createParsingComponents().imply("day",1).assign("month",i).assign("year",r)}};gh.default=hh});var _S=M(bh=>{"use strict";Object.defineProperty(bh,"__esModule",{value:!0});var MI=Zi(),yh=class extends MI.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)}};bh.default=yh});var ES=M(vh=>{"use strict";Object.defineProperty(vh,"__esModule",{value:!0});var DS=Rn(),AI=ze(),PI=ie(),II=new RegExp(`([0-9]{4})[\\.\\/\\s](?:(${AI.matchAnyPattern(DS.MONTH_DICTIONARY)})|([0-9]{1,2}))[\\.\\/\\s]([0-9]{1,2})(?=\\W|$)`,"i"),NI=1,FI=2,wS=3,LI=4,Th=class extends PI.AbstractParserWithWordBoundaryChecking{innerPattern(){return II}innerExtract(t,e){let r=e[wS]?parseInt(e[wS]):DS.MONTH_DICTIONARY[e[FI].toLowerCase()];if(r<1||r>12)return null;let i=parseInt(e[NI]);return{day:parseInt(e[LI]),month:r,year:i}}};vh.default=Th});var xS=M(Io=>{"use strict";var YI=Io&&Io.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Io,"__esModule",{value:!0});var UI=ie(),Uu=kt(),kh=jn(),qI=YI($e()),WI=1,jI=2,Sh=class extends UI.AbstractParserWithWordBoundaryChecking{innerPattern(t){return/(gisteren|morgen|van)(ochtend|middag|namiddag|avond|nacht)(?=\W|$)/i}innerExtract(t,e){let r=e[WI].toLowerCase(),i=e[jI].toLowerCase(),s=t.createParsingComponents(),a=qI.default(t.refDate);switch(r){case"gisteren":kh.assignSimilarDate(s,a.add(-1,"day"));break;case"van":kh.assignSimilarDate(s,a);break;case"morgen":kh.assignTheNextDay(s,a);break}switch(i){case"ochtend":s.imply("meridiem",Uu.Meridiem.AM),s.imply("hour",6);break;case"middag":s.imply("meridiem",Uu.Meridiem.AM),s.imply("hour",12);break;case"namiddag":s.imply("meridiem",Uu.Meridiem.PM),s.imply("hour",15);break;case"avond":s.imply("meridiem",Uu.Meridiem.PM),s.imply("hour",20);break}return s}};Io.default=Sh});var RS=M(wh=>{"use strict";Object.defineProperty(wh,"__esModule",{value:!0});var OS=Rn(),$I=lt(),HI=ie(),BI=$n(),GI=new RegExp(`(deze|vorige|afgelopen|komende|over|\\+|-)\\s*(${OS.TIME_UNITS_PATTERN})(?=\\W|$)`,"i"),_h=class extends HI.AbstractParserWithWordBoundaryChecking{innerPattern(){return GI}innerExtract(t,e){let r=e[1].toLowerCase(),i=OS.parseTimeUnits(e[2]);switch(r){case"vorige":case"afgelopen":case"-":i=BI.reverseTimeUnits(i);break}return $I.ParsingComponents.createRelativeFromReference(t.reference,i)}};wh.default=_h});var AS=M(No=>{"use strict";var zI=No&&No.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(No,"__esModule",{value:!0});var MS=Rn(),CS=lt(),VI=zI($e()),KI=ie(),QI=ze(),ZI=new RegExp(`(dit|deze|komende|volgend|volgende|afgelopen|vorige)\\s*(${QI.matchAnyPattern(MS.TIME_UNIT_DICTIONARY)})(?=\\s*)(?=\\W|$)`,"i"),XI=1,JI=2,Dh=class extends KI.AbstractParserWithWordBoundaryChecking{innerPattern(){return ZI}innerExtract(t,e){let r=e[XI].toLowerCase(),i=e[JI].toLowerCase(),s=MS.TIME_UNIT_DICTIONARY[i];if(r=="volgend"||r=="volgende"||r=="komende"){let l={};return l[s]=1,CS.ParsingComponents.createRelativeFromReference(t.reference,l)}if(r=="afgelopen"||r=="vorige"){let l={};return l[s]=-1,CS.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=VI.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}};No.default=Dh});var PS=M(Oh=>{"use strict";Object.defineProperty(Oh,"__esModule",{value:!0});var xh=Rn(),eN=lt(),tN=ie(),nN=$n(),rN=new RegExp("("+xh.TIME_UNITS_PATTERN+")(?:geleden|voor|eerder)(?=(?:\\W|$))","i"),iN=new RegExp("("+xh.TIME_UNITS_PATTERN+")geleden(?=(?:\\W|$))","i"),Eh=class extends tN.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?iN:rN}innerExtract(t,e){let r=xh.parseTimeUnits(e[1]),i=nN.reverseTimeUnits(r);return eN.ParsingComponents.createRelativeFromReference(t.reference,i)}};Oh.default=Eh});var IS=M(Mh=>{"use strict";Object.defineProperty(Mh,"__esModule",{value:!0});var Ch=Rn(),sN=lt(),aN=ie(),oN=new RegExp("("+Ch.TIME_UNITS_PATTERN+")(later|na|vanaf nu|voortaan|vooruit|uit)(?=(?:\\W|$))","i"),lN=new RegExp("("+Ch.TIME_UNITS_PATTERN+")(later|vanaf nu)(?=(?:\\W|$))","i"),uN=1,Rh=class extends aN.AbstractParserWithWordBoundaryChecking{constructor(t){super(),this.strictMode=t}innerPattern(){return this.strictMode?lN:oN}innerExtract(t,e){let r=Ch.parseTimeUnits(e[uN]);return sN.ParsingComponents.createRelativeFromReference(t.reference,r)}};Mh.default=Rh});var YS=M(Ct=>{"use strict";var Ft=Ct&&Ct.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ct,"__esModule",{value:!0});Ct.createConfiguration=Ct.createCasualConfiguration=Ct.parseDate=Ct.parse=Ct.strict=Ct.casual=void 0;var cN=Jr(),NS=ur(),dN=Ft(tS()),fN=Ft(nS()),pN=Ft(rS()),mN=Ft(iS()),hN=Ft(es()),gN=Ft(uS()),yN=Ft(dS()),bN=Ft(yS()),FS=Ft(kS()),TN=Ft(SS()),vN=Ft(_S()),kN=Ft(ES()),SN=Ft(xS()),_N=Ft(RS()),wN=Ft(AS()),DN=Ft(PS()),EN=Ft(IS());Ct.casual=new NS.Chrono(LS());Ct.strict=new NS.Chrono(Ah(!0));function xN(n,t,e){return Ct.casual.parse(n,t,e)}Ct.parse=xN;function ON(n,t,e){return Ct.casual.parseDate(n,t,e)}Ct.parseDate=ON;function LS(n=!0){let t=Ah(!1,n);return t.parsers.unshift(new pN.default),t.parsers.unshift(new mN.default),t.parsers.unshift(new SN.default),t.parsers.unshift(new FS.default),t.parsers.unshift(new wN.default),t.parsers.unshift(new _N.default),t}Ct.createCasualConfiguration=LS;function Ah(n=!0,t=!0){return cN.includeCommonConfiguration({parsers:[new hN.default(t),new gN.default,new bN.default,new FS.default,new yN.default,new kN.default,new TN.default,new vN.default(n),new DN.default(n),new EN.default(n)],refiners:[new fN.default,new dN.default]},n)}Ct.createConfiguration=Ah});var jS=M(Fo=>{"use strict";var RN=Fo&&Fo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Fo,"__esModule",{value:!0});var CN=RN($e()),MN=ie(),AN=1,US=2,PN=3,qS=4,WS=5,IN=6,Ph=class extends MN.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 r=e.index,i=t.createParsingResult(r,e[0]),s=CN.default(t.refDate),a=s;if(e[AN])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[US]){let o=e[US],l=e[PN];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[qS]){let l=e[qS][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[WS]){let o=e[WS];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[IN];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}};Fo.default=Ph});var ra=M(hn=>{"use strict";Object.defineProperty(hn,"__esModule",{value:!0});hn.zhStringToYear=hn.zhStringToNumber=hn.WEEKDAY_OFFSET=hn.NUMBER=void 0;hn.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};hn.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function NN(n){let t=0;for(let e=0;e<n.length;e++){let r=n[e];r==="\u5341"?t=t===0?hn.NUMBER[r]:t*hn.NUMBER[r]:t+=hn.NUMBER[r]}return t}hn.zhStringToNumber=NN;function FN(n){let t="";for(let e=0;e<n.length;e++){let r=n[e];t=t+hn.NUMBER[r]}return parseInt(t)}hn.zhStringToYear=FN});var HS=M(Lo=>{"use strict";var LN=Lo&&Lo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Lo,"__esModule",{value:!0});var YN=LN($e()),UN=ie(),rs=ra(),Ih=1,$S=2,Nh=3,Fh=class extends UN.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(rs.NUMBER).join("")+"]{4}|["+Object.keys(rs.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(rs.NUMBER).join("")+"]{1,2})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(rs.NUMBER).join("")+"]{1,2})?(?:\\s*)(?:\u65E5|\u865F)?")}innerExtract(t,e){let r=YN.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=parseInt(e[$S]);if(isNaN(s)&&(s=rs.zhStringToNumber(e[$S])),i.start.assign("month",s),e[Nh]){let a=parseInt(e[Nh]);isNaN(a)&&(a=rs.zhStringToNumber(e[Nh])),i.start.assign("day",a)}else i.start.imply("day",r.date());if(e[Ih]){let a=parseInt(e[Ih]);isNaN(a)&&(a=rs.zhStringToYear(e[Ih])),i.start.assign("year",a)}else i.start.imply("year",r.year());return i}};Lo.default=Fh});var GS=M(Yo=>{"use strict";var qN=Yo&&Yo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Yo,"__esModule",{value:!0});var WN=qN($e()),jN=ie(),BS=ra(),$N=new RegExp("(\\d+|["+Object.keys(BS.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"),Lh=1,HN=2,Yh=class extends jN.AbstractParserWithWordBoundaryChecking{innerPattern(){return $N}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=parseInt(e[Lh]);if(isNaN(i)&&(i=BS.zhStringToNumber(e[Lh])),isNaN(i)){let l=e[Lh];if(l==="\u5E7E")i=3;else if(l==="\u534A")i=.5;else return null}let s=WN.default(t.refDate),o=e[HN][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")),r.start.assign("year",s.year()),r.start.assign("month",s.month()+1),r.start.assign("day",s.date()),r):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u9418")&&(s=s.add(i,"hour")),r.start.imply("year",s.year()),r.start.imply("month",s.month()+1),r.start.imply("day",s.date()),r.start.assign("hour",s.hour()),r.start.assign("minute",s.minute()),r.start.assign("second",s.second()),r)}};Yo.default=Yh});var VS=M(Uo=>{"use strict";var BN=Uo&&Uo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Uo,"__esModule",{value:!0});var GN=BN($e()),zN=ie(),zS=ra(),VN=new RegExp("(?<prefix>\u4E0A|\u4ECA|\u4E0B|\u9019|\u5462)(?:\u500B)?(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(zS.WEEKDAY_OFFSET).join("|")+")"),Uh=class extends zN.AbstractParserWithWordBoundaryChecking{innerPattern(){return VN}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=zS.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=GN.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),r.start.assign("weekday",s),u?(r.start.assign("day",l.date()),r.start.assign("month",l.month()+1),r.start.assign("year",l.year())):(r.start.imply("day",l.date()),r.start.imply("month",l.month()+1),r.start.imply("year",l.year())),r}};Uo.default=Uh});var KS=M(qo=>{"use strict";var KN=qo&&qo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(qo,"__esModule",{value:!0});var QN=KN($e()),ZN=ie(),Gn=ra(),XN=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(Gn.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Gn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Gn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),JN=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(Gn.NUMBER).join("")+"]+)(?:\\s*)(?:\u9EDE|\u6642|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Gn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Gn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),qu=1,Wu=2,ju=3,$u=4,Hu=5,Bu=6,Bn=7,ia=8,Gu=9,qh=class extends ZN.AbstractParserWithWordBoundaryChecking{innerPattern(){return XN}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let r=QN.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=r.clone();if(e[qu]){var a=e[qu];a=="\u660E"||a=="\u807D"?r.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[$u]){var o=e[$u];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[ia]){var d=parseInt(e[ia]);if(isNaN(d)&&(d=Gn.zhStringToNumber(e[ia])),d>=60)return null;i.start.assign("second",d)}if(l=parseInt(e[Bu]),isNaN(l)&&(l=Gn.zhStringToNumber(e[Bu])),e[Bn]?e[Bn]=="\u534A"?u=30:e[Bn]=="\u6B63"||e[Bn]=="\u6574"?u=0:(u=parseInt(e[Bn]),isNaN(u)&&(u=Gn.zhStringToNumber(e[Bn]))):l>100&&(u=l%100,l=Math.floor(l/100)),u>=60||l>24)return null;if(l>=12&&(c=1),e[Gu]){if(l>12)return null;var f=e[Gu][0].toLowerCase();f=="a"&&(c=0,l==12&&(l=0)),f=="p"&&(c=1,l!=12&&(l+=12))}else if(e[Wu]){var p=e[Wu],h=p[0];h=="\u671D"||h=="\u65E9"?(c=0,l==12&&(l=0)):h=="\u665A"&&(c=1,l!=12&&(l+=12))}else if(e[ju]){var b=e[ju],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[Hu]){var E=e[Hu],O=E[0];O=="\u4E0A"||O=="\u671D"||O=="\u65E9"||O=="\u51CC"?(c=0,l==12&&(l=0)):(O=="\u4E0B"||O=="\u664F"||O=="\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=JN.exec(t.text.substring(i.index+i.text.length)),!e)return i.text.match(/^\d+$/)?null:i;let x=s.clone();if(i.end=t.createParsingComponents(),e[qu]){var a=e[qu];a=="\u660E"||a=="\u807D"?r.hour()>1&&x.add(1,"day"):a=="\u6628"||a=="\u5C0B"||a=="\u7434"?x.add(-1,"day"):a=="\u524D"?x.add(-2,"day"):a=="\u5927\u524D"?x.add(-3,"day"):a=="\u5F8C"?x.add(2,"day"):a=="\u5927\u5F8C"&&x.add(3,"day"),i.end.assign("day",x.date()),i.end.assign("month",x.month()+1),i.end.assign("year",x.year())}else if(e[$u]){var o=e[$u];o=="\u660E"||o=="\u807D"?x.add(1,"day"):o=="\u6628"||o=="\u5C0B"||o=="\u7434"?x.add(-1,"day"):o=="\u524D"?x.add(-2,"day"):o=="\u5927\u524D"?x.add(-3,"day"):o=="\u5F8C"?x.add(2,"day"):o=="\u5927\u5F8C"&&x.add(3,"day"),i.end.assign("day",x.date()),i.end.assign("month",x.month()+1),i.end.assign("year",x.year())}else i.end.imply("day",x.date()),i.end.imply("month",x.month()+1),i.end.imply("year",x.year());if(l=0,u=0,c=-1,e[ia]){var d=parseInt(e[ia]);if(isNaN(d)&&(d=Gn.zhStringToNumber(e[ia])),d>=60)return null;i.end.assign("second",d)}if(l=parseInt(e[Bu]),isNaN(l)&&(l=Gn.zhStringToNumber(e[Bu])),e[Bn]?e[Bn]=="\u534A"?u=30:e[Bn]=="\u6B63"||e[Bn]=="\u6574"?u=0:(u=parseInt(e[Bn]),isNaN(u)&&(u=Gn.zhStringToNumber(e[Bn]))):l>100&&(u=l%100,l=Math.floor(l/100)),u>=60||l>24)return null;if(l>=12&&(c=1),e[Gu]){if(l>12)return null;var f=e[Gu][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[Wu]){var p=e[Wu],h=p[0];h=="\u671D"||h=="\u65E9"?(c=0,l==12&&(l=0)):h=="\u665A"&&(c=1,l!=12&&(l+=12))}else if(e[ju]){var b=e[ju],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[Hu]){var E=e[Hu],O=E[0];O=="\u4E0A"||O=="\u671D"||O=="\u65E9"||O=="\u51CC"?(c=0,l==12&&(l=0)):(O=="\u4E0B"||O=="\u664F"||O=="\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}};qo.default=qh});var ZS=M(Wo=>{"use strict";var eF=Wo&&Wo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Wo,"__esModule",{value:!0});var tF=eF($e()),nF=ie(),QS=ra(),rF=new RegExp("(?:\u661F\u671F|\u79AE\u62DC|\u9031)(?<weekday>"+Object.keys(QS.WEEKDAY_OFFSET).join("|")+")"),Wh=class extends nF.AbstractParserWithWordBoundaryChecking{innerPattern(){return rF}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=QS.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),r.start.assign("weekday",s),o?(r.start.assign("day",a.date()),r.start.assign("month",a.month()+1),r.start.assign("year",a.year())):(r.start.imply("day",a.date()),r.start.imply("month",a.month()+1),r.start.imply("year",a.year())),r}};Wo.default=Wh});var XS=M(jo=>{"use strict";var iF=jo&&jo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(jo,"__esModule",{value:!0});var sF=iF(Mr()),jh=class extends sF.default{patternBetween(){return/^\s*(至|到|\-|\~|～|－|ー)\s*$/i}};jo.default=jh});var JS=M($o=>{"use strict";var aF=$o&&$o.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty($o,"__esModule",{value:!0});var oF=aF(Xr()),$h=class extends oF.default{patternBetween(){return/^\s*$/i}};$o.default=$h});var e_=M(mt=>{"use strict";var ii=mt&&mt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(mt,"__esModule",{value:!0});mt.createConfiguration=mt.createCasualConfiguration=mt.parseDate=mt.parse=mt.strict=mt.casual=mt.hant=void 0;var Hh=ur(),lF=ii(Su()),uF=Jr(),cF=ii(jS()),dF=ii(HS()),fF=ii(GS()),pF=ii(VS()),mF=ii(KS()),hF=ii(ZS()),gF=ii(XS()),yF=ii(JS());mt.hant=new Hh.Chrono(Bh());mt.casual=new Hh.Chrono(Bh());mt.strict=new Hh.Chrono(Gh());function bF(n,t,e){return mt.casual.parse(n,t,e)}mt.parse=bF;function TF(n,t,e){return mt.casual.parseDate(n,t,e)}mt.parseDate=TF;function Bh(){let n=Gh();return n.parsers.unshift(new cF.default),n}mt.createCasualConfiguration=Bh;function Gh(){let n=uF.includeCommonConfiguration({parsers:[new dF.default,new pF.default,new hF.default,new mF.default,new fF.default],refiners:[new gF.default,new yF.default]});return n.refiners=n.refiners.filter(t=>!(t instanceof lF.default)),n}mt.createConfiguration=Gh});var i_=M(Ho=>{"use strict";var vF=Ho&&Ho.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ho,"__esModule",{value:!0});var kF=vF($e()),SF=ie(),_F=1,t_=2,wF=3,n_=4,r_=5,DF=6,zh=class extends SF.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 r=e.index,i=t.createParsingResult(r,e[0]),s=kF.default(t.refDate),a=s;if(e[_F])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[t_]){let o=e[t_],l=e[wF];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[n_]){let l=e[n_][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[r_]){let o=e[r_];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[DF];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}};Ho.default=zh});var sa=M(gn=>{"use strict";Object.defineProperty(gn,"__esModule",{value:!0});gn.zhStringToYear=gn.zhStringToNumber=gn.WEEKDAY_OFFSET=gn.NUMBER=void 0;gn.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};gn.WEEKDAY_OFFSET={\u5929:0,\u65E5:0,\u4E00:1,\u4E8C:2,\u4E09:3,\u56DB:4,\u4E94:5,\u516D:6};function EF(n){let t=0;for(let e=0;e<n.length;e++){let r=n[e];r==="\u5341"?t=t===0?gn.NUMBER[r]:t*gn.NUMBER[r]:t+=gn.NUMBER[r]}return t}gn.zhStringToNumber=EF;function xF(n){let t="";for(let e=0;e<n.length;e++){let r=n[e];t=t+gn.NUMBER[r]}return parseInt(t)}gn.zhStringToYear=xF});var a_=M(Bo=>{"use strict";var OF=Bo&&Bo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Bo,"__esModule",{value:!0});var RF=OF($e()),CF=ie(),is=sa(),Vh=1,s_=2,Kh=3,Qh=class extends CF.AbstractParserWithWordBoundaryChecking{innerPattern(){return new RegExp("(\\d{2,4}|["+Object.keys(is.NUMBER).join("")+"]{4}|["+Object.keys(is.NUMBER).join("")+"]{2})?(?:\\s*)(?:\u5E74)?(?:[\\s|,|\uFF0C]*)(\\d{1,2}|["+Object.keys(is.NUMBER).join("")+"]{1,3})(?:\\s*)(?:\u6708)(?:\\s*)(\\d{1,2}|["+Object.keys(is.NUMBER).join("")+"]{1,3})?(?:\\s*)(?:\u65E5|\u53F7)?")}innerExtract(t,e){let r=RF.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=parseInt(e[s_]);if(isNaN(s)&&(s=is.zhStringToNumber(e[s_])),i.start.assign("month",s),e[Kh]){let a=parseInt(e[Kh]);isNaN(a)&&(a=is.zhStringToNumber(e[Kh])),i.start.assign("day",a)}else i.start.imply("day",r.date());if(e[Vh]){let a=parseInt(e[Vh]);isNaN(a)&&(a=is.zhStringToYear(e[Vh])),i.start.assign("year",a)}else i.start.imply("year",r.year());return i}};Bo.default=Qh});var l_=M(Go=>{"use strict";var MF=Go&&Go.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Go,"__esModule",{value:!0});var AF=MF($e()),PF=ie(),o_=sa(),IF=new RegExp("(\\d+|["+Object.keys(o_.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"),Zh=1,NF=2,Xh=class extends PF.AbstractParserWithWordBoundaryChecking{innerPattern(){return IF}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=parseInt(e[Zh]);if(isNaN(i)&&(i=o_.zhStringToNumber(e[Zh])),isNaN(i)){let l=e[Zh];if(l==="\u51E0")i=3;else if(l==="\u534A")i=.5;else return null}let s=AF.default(t.refDate),o=e[NF][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")),r.start.assign("year",s.year()),r.start.assign("month",s.month()+1),r.start.assign("day",s.date()),r):(o=="\u79D2"?s=s.add(i,"second"):o=="\u5206"?s=s.add(i,"minute"):(o=="\u5C0F"||o=="\u949F")&&(s=s.add(i,"hour")),r.start.imply("year",s.year()),r.start.imply("month",s.month()+1),r.start.imply("day",s.date()),r.start.assign("hour",s.hour()),r.start.assign("minute",s.minute()),r.start.assign("second",s.second()),r)}};Go.default=Xh});var c_=M(zo=>{"use strict";var FF=zo&&zo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(zo,"__esModule",{value:!0});var LF=FF($e()),YF=ie(),u_=sa(),UF=new RegExp("(?<prefix>\u4E0A|\u4E0B|\u8FD9)(?:\u4E2A)?(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(u_.WEEKDAY_OFFSET).join("|")+")"),Jh=class extends YF.AbstractParserWithWordBoundaryChecking{innerPattern(){return UF}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=u_.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=LF.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),r.start.assign("weekday",s),u?(r.start.assign("day",l.date()),r.start.assign("month",l.month()+1),r.start.assign("year",l.year())):(r.start.imply("day",l.date()),r.start.imply("month",l.month()+1),r.start.imply("year",l.year())),r}};zo.default=Jh});var d_=M(Vo=>{"use strict";var qF=Vo&&Vo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Vo,"__esModule",{value:!0});var WF=qF($e()),jF=ie(),Vn=sa(),$F=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(Vn.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Vn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Vn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),HF=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(Vn.NUMBER).join("")+"]+)(?:\\s*)(?:\u70B9|\u65F6|:|\uFF1A)(?:\\s*)(\\d+|\u534A|\u6B63|\u6574|["+Object.keys(Vn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u5206|:|\uFF1A)?(?:\\s*)(\\d+|["+Object.keys(Vn.NUMBER).join("")+"]+)?(?:\\s*)(?:\u79D2)?)(?:\\s*(A.M.|P.M.|AM?|PM?))?","i"),zu=1,Vu=2,Ku=3,Qu=4,Zu=5,Xu=6,zn=7,aa=8,Ju=9,eg=class extends jF.AbstractParserWithWordBoundaryChecking{innerPattern(){return $F}innerExtract(t,e){if(e.index>0&&t.text[e.index-1].match(/\w/))return null;let r=WF.default(t.refDate),i=t.createParsingResult(e.index,e[0]),s=r.clone();if(e[zu]){let c=e[zu];c=="\u660E"?r.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[Qu]){let c=e[Qu];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[aa]){let c=parseInt(e[aa]);if(isNaN(c)&&(c=Vn.zhStringToNumber(e[aa])),c>=60)return null;i.start.assign("second",c)}if(a=parseInt(e[Xu]),isNaN(a)&&(a=Vn.zhStringToNumber(e[Xu])),e[zn]?e[zn]=="\u534A"?o=30:e[zn]=="\u6B63"||e[zn]=="\u6574"?o=0:(o=parseInt(e[zn]),isNaN(o)&&(o=Vn.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[Ju]){if(a>12)return null;let c=e[Ju][0].toLowerCase();c=="a"&&(l=0,a==12&&(a=0)),c=="p"&&(l=1,a!=12&&(a+=12))}else if(e[Vu]){let d=e[Vu][0];d=="\u65E9"?(l=0,a==12&&(a=0)):d=="\u665A"&&(l=1,a!=12&&(a+=12))}else if(e[Ku]){let d=e[Ku][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[Zu]){let d=e[Zu][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=HF.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[zu]){let c=e[zu];c=="\u660E"?r.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[Qu]){let c=e[Qu];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[aa]){let c=parseInt(e[aa]);if(isNaN(c)&&(c=Vn.zhStringToNumber(e[aa])),c>=60)return null;i.end.assign("second",c)}if(a=parseInt(e[Xu]),isNaN(a)&&(a=Vn.zhStringToNumber(e[Xu])),e[zn]?e[zn]=="\u534A"?o=30:e[zn]=="\u6B63"||e[zn]=="\u6574"?o=0:(o=parseInt(e[zn]),isNaN(o)&&(o=Vn.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[Ju]){if(a>12)return null;let c=e[Ju][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[Vu]){let d=e[Vu][0];d=="\u65E9"?(l=0,a==12&&(a=0)):d=="\u665A"&&(l=1,a!=12&&(a+=12))}else if(e[Ku]){let d=e[Ku][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[Zu]){let d=e[Zu][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}};Vo.default=eg});var p_=M(Ko=>{"use strict";var BF=Ko&&Ko.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Ko,"__esModule",{value:!0});var GF=BF($e()),zF=ie(),f_=sa(),VF=new RegExp("(?:\u661F\u671F|\u793C\u62DC|\u5468)(?<weekday>"+Object.keys(f_.WEEKDAY_OFFSET).join("|")+")"),tg=class extends zF.AbstractParserWithWordBoundaryChecking{innerPattern(){return VF}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=e.groups.weekday,s=f_.WEEKDAY_OFFSET[i];if(s===void 0)return null;let a=GF.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),r.start.assign("weekday",s),o?(r.start.assign("day",a.date()),r.start.assign("month",a.month()+1),r.start.assign("year",a.year())):(r.start.imply("day",a.date()),r.start.imply("month",a.month()+1),r.start.imply("year",a.year())),r}};Ko.default=tg});var m_=M(Qo=>{"use strict";var KF=Qo&&Qo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Qo,"__esModule",{value:!0});var QF=KF(Mr()),ng=class extends QF.default{patternBetween(){return/^\s*(至|到|-|~|～|－|ー)\s*$/i}};Qo.default=ng});var h_=M(Zo=>{"use strict";var ZF=Zo&&Zo.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Zo,"__esModule",{value:!0});var XF=ZF(Xr()),rg=class extends XF.default{patternBetween(){return/^\s*$/i}};Zo.default=rg});var g_=M(ht=>{"use strict";var si=ht&&ht.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(ht,"__esModule",{value:!0});ht.createConfiguration=ht.createCasualConfiguration=ht.parseDate=ht.parse=ht.strict=ht.casual=ht.hans=void 0;var ig=ur(),JF=si(Su()),eL=Jr(),tL=si(i_()),nL=si(a_()),rL=si(l_()),iL=si(c_()),sL=si(d_()),aL=si(p_()),oL=si(m_()),lL=si(h_());ht.hans=new ig.Chrono(sg());ht.casual=new ig.Chrono(sg());ht.strict=new ig.Chrono(ag());function uL(n,t,e){return ht.casual.parse(n,t,e)}ht.parse=uL;function cL(n,t,e){return ht.casual.parseDate(n,t,e)}ht.parseDate=cL;function sg(){let n=ag();return n.parsers.unshift(new tL.default),n}ht.createCasualConfiguration=sg;function ag(){let n=eL.includeCommonConfiguration({parsers:[new nL.default,new iL.default,new aL.default,new sL.default,new rL.default],refiners:[new oL.default,new lL.default]});return n.refiners=n.refiners.filter(t=>!(t instanceof JF.default)),n}ht.createConfiguration=ag});var b_=M(Cn=>{"use strict";var y_=Cn&&Cn.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),dL=Cn&&Cn.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),fL=Cn&&Cn.__exportStar||function(n,t){for(var e in n)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&y_(t,n,e)},pL=Cn&&Cn.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&y_(t,n,e);return dL(t,n),t};Object.defineProperty(Cn,"__esModule",{value:!0});Cn.hans=void 0;fL(e_(),Cn);Cn.hans=pL(g_())});var yn=M(Se=>{"use strict";Object.defineProperty(Se,"__esModule",{value:!0});Se.parseTimeUnits=Se.TIME_UNITS_PATTERN=Se.parseYear=Se.YEAR_PATTERN=Se.parseOrdinalNumberPattern=Se.ORDINAL_NUMBER_PATTERN=Se.parseNumberPattern=Se.NUMBER_PATTERN=Se.TIME_UNIT_DICTIONARY=Se.ORDINAL_WORD_DICTIONARY=Se.INTEGER_WORD_DICTIONARY=Se.MONTH_DICTIONARY=Se.FULL_MONTH_NAME_DICTIONARY=Se.WEEKDAY_DICTIONARY=Se.REGEX_PARTS=void 0;var ec=ze(),mL=It();Se.REGEX_PARTS={leftBoundary:"([^\\p{L}\\p{N}_]|^)",rightBoundary:"(?=[^\\p{L}\\p{N}_]|$)",flags:"iu"};Se.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};Se.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};Se.MONTH_DICTIONARY=Object.assign(Object.assign({},Se.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});Se.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};Se.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};Se.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"};Se.NUMBER_PATTERN=`(?:${ec.matchAnyPattern(Se.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 v_(n){let t=n.toLowerCase();return Se.INTEGER_WORD_DICTIONARY[t]!==void 0?Se.INTEGER_WORD_DICTIONARY[t]:t.match(/несколько/)?3:t.match(/пол/)?.5:t.match(/пар/)?2:t===""?1:parseFloat(t)}Se.parseNumberPattern=v_;Se.ORDINAL_NUMBER_PATTERN=`(?:${ec.matchAnyPattern(Se.ORDINAL_WORD_DICTIONARY)}|[0-9]{1,2}(?:\u0433\u043E|\u043E\u0433\u043E|\u0435|\u043E\u0435)?)`;function hL(n){let t=n.toLowerCase();return Se.ORDINAL_WORD_DICTIONARY[t]!==void 0?Se.ORDINAL_WORD_DICTIONARY[t]:(t=t.replace(/(?:st|nd|rd|th)$/i,""),parseInt(t))}Se.parseOrdinalNumberPattern=hL;var og="(?:\\s+(?:\u0433\u043E\u0434\u0443|\u0433\u043E\u0434\u0430|\u0433\u043E\u0434|\u0433|\u0433.))?";Se.YEAR_PATTERN=`(?:[1-9][0-9]{0,3}${og}\\s*(?:\u043D.\u044D.|\u0434\u043E \u043D.\u044D.|\u043D. \u044D.|\u0434\u043E \u043D. \u044D.)|[1-2][0-9]{3}${og}|[5-9][0-9]${og})`;function gL(n){if(/(год|года|г|г.)/i.test(n)&&(n=n.replace(/(год|года|г|г.)/i,"")),/(до н.э.|до н. э.)/i.test(n))return n=n.replace(/(до н.э.|до н. э.)/i,""),-parseInt(n);if(/(н. э.|н.э.)/i.test(n))return n=n.replace(/(н. э.|н.э.)/i,""),parseInt(n);let t=parseInt(n);return mL.findMostLikelyADYear(t)}Se.parseYear=gL;var k_=`(${Se.NUMBER_PATTERN})\\s{0,3}(${ec.matchAnyPattern(Se.TIME_UNIT_DICTIONARY)})`,T_=new RegExp(k_,"i");Se.TIME_UNITS_PATTERN=ec.repeatedTimeunitPattern("(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s{0,3})?",k_);function yL(n){let t={},e=n,r=T_.exec(e);for(;r;)bL(t,r),e=e.substring(r[0].length).trim(),r=T_.exec(e);return t}Se.parseTimeUnits=yL;function bL(n,t){let e=v_(t[1]),r=Se.TIME_UNIT_DICTIONARY[t[2].toLowerCase()];n[r]=e}});var __=M(ug=>{"use strict";Object.defineProperty(ug,"__esModule",{value:!0});var Xo=yn(),TL=lt(),vL=ie(),S_=`(?:(?:\u043E\u043A\u043E\u043B\u043E|\u043F\u0440\u0438\u043C\u0435\u0440\u043D\u043E)\\s*(?:~\\s*)?)?(${Xo.TIME_UNITS_PATTERN})${Xo.REGEX_PARTS.rightBoundary}`,kL=new RegExp(`(?:\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0435|\u0432 \u0442\u0435\u0447\u0435\u043D\u0438\u0438)\\s*${S_}`,Xo.REGEX_PARTS.flags),SL=new RegExp(S_,"i"),lg=class extends vL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Xo.REGEX_PARTS.leftBoundary}innerPattern(t){return t.option.forwardDate?SL:kL}innerExtract(t,e){let r=Xo.parseTimeUnits(e[1]);return TL.ParsingComponents.createRelativeFromReference(t.reference,r)}};ug.default=lg});var O_=M(dg=>{"use strict";Object.defineProperty(dg,"__esModule",{value:!0});var _L=It(),Jo=yn(),x_=yn(),tc=yn(),wL=ze(),DL=ie(),EL=new RegExp(`(?:\u0441)?\\s*(${tc.ORDINAL_NUMBER_PATTERN})(?:\\s{0,3}(?:\u043F\u043E|-|\u2013|\u0434\u043E)?\\s{0,3}(${tc.ORDINAL_NUMBER_PATTERN}))?(?:-|\\/|\\s{0,3}(?:of)?\\s{0,3})(${wL.matchAnyPattern(Jo.MONTH_DICTIONARY)})(?:(?:-|\\/|,?\\s{0,3})(${x_.YEAR_PATTERN}(?![^\\s]\\d)))?${Jo.REGEX_PARTS.rightBoundary}`,Jo.REGEX_PARTS.flags),w_=1,D_=2,xL=3,E_=4,cg=class extends DL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Jo.REGEX_PARTS.leftBoundary}innerPattern(){return EL}innerExtract(t,e){let r=t.createParsingResult(e.index,e[0]),i=Jo.MONTH_DICTIONARY[e[xL].toLowerCase()],s=tc.parseOrdinalNumberPattern(e[w_]);if(s>31)return e.index=e.index+e[w_].length,null;if(r.start.assign("month",i),r.start.assign("day",s),e[E_]){let a=x_.parseYear(e[E_]);r.start.assign("year",a)}else{let a=_L.findYearClosestToRef(t.refDate,s,i);r.start.imply("year",a)}if(e[D_]){let a=tc.parseOrdinalNumberPattern(e[D_]);r.end=r.start.clone(),r.end.assign("day",a)}return r}};dg.default=cg});var M_=M(pg=>{"use strict";Object.defineProperty(pg,"__esModule",{value:!0});var el=yn(),OL=It(),RL=ze(),C_=yn(),CL=ie(),ML=new RegExp(`((?:\u0432)\\s*)?(${RL.matchAnyPattern(el.MONTH_DICTIONARY)})\\s*(?:[,-]?\\s*(${C_.YEAR_PATTERN})?)?(?=[^\\s\\w]|\\s+[^0-9]|\\s+$|$)`,el.REGEX_PARTS.flags),AL=2,R_=3,fg=class extends CL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return el.REGEX_PARTS.leftBoundary}innerPattern(){return ML}innerExtract(t,e){let r=e[AL].toLowerCase();if(e[0].length<=3&&!el.FULL_MONTH_NAME_DICTIONARY[r])return null;let i=t.createParsingResult(e.index,e.index+e[0].length);i.start.imply("day",1);let s=el.MONTH_DICTIONARY[r];if(i.start.assign("month",s),e[R_]){let a=C_.parseYear(e[R_]);i.start.assign("year",a)}else{let a=OL.findYearClosestToRef(t.refDate,1,s);i.start.imply("year",a)}return i}};pg.default=fg});var P_=M(hg=>{"use strict";Object.defineProperty(hg,"__esModule",{value:!0});var nc=kt(),PL=Zi(),A_=yn(),mg=class extends PL.AbstractTimeExpressionParser{constructor(t){super(t)}patternFlags(){return A_.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))?(?!\\/)${A_.REGEX_PARTS.rightBoundary}`}extractPrimaryTimeComponents(t,e){let r=super.extractPrimaryTimeComponents(t,e);if(r){if(e[0].endsWith("\u0432\u0435\u0447\u0435\u0440\u0430")){let i=r.get("hour");i>=6&&i<12?(r.assign("hour",r.get("hour")+12),r.assign("meridiem",nc.Meridiem.PM)):i<6&&r.assign("meridiem",nc.Meridiem.AM)}if(e[0].endsWith("\u043F\u043E\u0441\u043B\u0435 \u043F\u043E\u043B\u0443\u0434\u043D\u044F")){r.assign("meridiem",nc.Meridiem.PM);let i=r.get("hour");i>=0&&i<=6&&r.assign("hour",r.get("hour")+12)}e[0].endsWith("\u0443\u0442\u0440\u0430")&&(r.assign("meridiem",nc.Meridiem.AM),r.get("hour")<12&&r.assign("hour",r.get("hour")))}return r}};hg.default=mg});var I_=M(yg=>{"use strict";Object.defineProperty(yg,"__esModule",{value:!0});var rc=yn(),IL=lt(),NL=ie(),FL=$n(),LL=new RegExp(`(${rc.TIME_UNITS_PATTERN})\\s{0,5}\u043D\u0430\u0437\u0430\u0434(?=(?:\\W|$))`,rc.REGEX_PARTS.flags),gg=class extends NL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return rc.REGEX_PARTS.leftBoundary}innerPattern(){return LL}innerExtract(t,e){let r=rc.parseTimeUnits(e[1]),i=FL.reverseTimeUnits(r);return IL.ParsingComponents.createRelativeFromReference(t.reference,i)}};yg.default=gg});var N_=M(tl=>{"use strict";var YL=tl&&tl.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(tl,"__esModule",{value:!0});var UL=YL(Mr()),bg=class extends UL.default{patternBetween(){return/^\s*(и до|и по|до|по|-)\s*$/i}};tl.default=bg});var F_=M(nl=>{"use strict";var qL=nl&&nl.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(nl,"__esModule",{value:!0});var WL=qL(Xr()),Tg=class extends WL.default{patternBetween(){return new RegExp("^\\s*(T|\u0432|,|-)?\\s*$")}};nl.default=Tg});var L_=M(ai=>{"use strict";var jL=ai&&ai.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),$L=ai&&ai.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),HL=ai&&ai.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&jL(t,n,e);return $L(t,n),t};Object.defineProperty(ai,"__esModule",{value:!0});var BL=ie(),rl=HL(ti()),vg=yn(),GL=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)${vg.REGEX_PARTS.rightBoundary}`,vg.REGEX_PARTS.flags),kg=class extends BL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return vg.REGEX_PARTS.leftBoundary}innerPattern(t){return GL}innerExtract(t,e){let r=e[1].toLowerCase(),i=t.createParsingComponents();switch(r){case"\u0441\u0435\u0433\u043E\u0434\u043D\u044F":return rl.today(t.reference);case"\u0432\u0447\u0435\u0440\u0430":return rl.yesterday(t.reference);case"\u0437\u0430\u0432\u0442\u0440\u0430":return rl.tomorrow(t.reference);case"\u043F\u043E\u0441\u043B\u0435\u0437\u0430\u0432\u0442\u0440\u0430":return rl.theDayAfter(t.reference,2);case"\u043F\u043E\u0437\u0430\u0432\u0447\u0435\u0440\u0430":return rl.theDayBefore(t.reference,2)}return i}};ai.default=kg});var Y_=M(mr=>{"use strict";var zL=mr&&mr.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),VL=mr&&mr.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),KL=mr&&mr.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&zL(t,n,e);return VL(t,n),t},QL=mr&&mr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(mr,"__esModule",{value:!0});var ZL=ie(),ss=KL(ti()),XL=jn(),JL=QL($e()),Sg=yn(),e2=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)${Sg.REGEX_PARTS.rightBoundary}`,Sg.REGEX_PARTS.flags),_g=class extends ZL.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return Sg.REGEX_PARTS.leftBoundary}innerPattern(){return e2}innerExtract(t,e){let r=JL.default(t.refDate),i=e[0].toLowerCase(),s=t.createParsingComponents();if(i==="\u0441\u0435\u0439\u0447\u0430\u0441")return ss.now(t.reference);if(i==="\u0432\u0435\u0447\u0435\u0440\u043E\u043C"||i==="\u0432\u0435\u0447\u0435\u0440\u0430")return ss.evening(t.reference);if(i.endsWith("\u0443\u0442\u0440\u043E\u043C")||i.endsWith("\u0443\u0442\u0440\u0430"))return ss.morning(t.reference);if(i.match(/в\s*полдень/))return ss.noon(t.reference);if(i.match(/прошлой\s*ночью/))return ss.lastNight(t.reference);if(i.match(/прошлым\s*вечером/))return ss.yesterdayEvening(t.reference);if(i.match(/следующей\s*ночью/)){let a=r.hour()<22?1:2;r=r.add(a,"day"),XL.assignSimilarDate(s,r),s.imply("hour",0)}return i.match(/в\s*полночь/)||i.endsWith("\u043D\u043E\u0447\u044C\u044E")?ss.midnight(t.reference):s}};mr.default=_g});var U_=M(Dg=>{"use strict";Object.defineProperty(Dg,"__esModule",{value:!0});var il=yn(),t2=ze(),n2=ie(),r2=Ji(),i2=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*)?(${t2.matchAnyPattern(il.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)?${il.REGEX_PARTS.rightBoundary}`,il.REGEX_PARTS.flags),s2=1,a2=2,o2=3,wg=class extends n2.AbstractParserWithWordBoundaryChecking{innerPattern(){return i2}patternLeftBoundary(){return il.REGEX_PARTS.leftBoundary}innerExtract(t,e){let r=e[a2].toLowerCase(),i=il.WEEKDAY_DICTIONARY[r],s=e[s2],a=e[o2],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=r2.toDayJSWeekday(t.refDate,i,l);return t.createParsingComponents().assign("weekday",i).imply("day",u.date()).imply("month",u.month()+1).imply("year",u.year())}};Dg.default=wg});var W_=M(al=>{"use strict";var l2=al&&al.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(al,"__esModule",{value:!0});var sl=yn(),q_=lt(),u2=l2($e()),c2=ie(),d2=ze(),f2=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*(${d2.matchAnyPattern(sl.TIME_UNIT_DICTIONARY)})(?=\\s*)${sl.REGEX_PARTS.rightBoundary}`,sl.REGEX_PARTS.flags),p2=1,m2=2,Eg=class extends c2.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return sl.REGEX_PARTS.leftBoundary}innerPattern(){return f2}innerExtract(t,e){let r=e[p2].toLowerCase(),i=e[m2].toLowerCase(),s=sl.TIME_UNIT_DICTIONARY[i];if(r=="\u043D\u0430 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0439"||r=="\u0432 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u043C"){let l={};return l[s]=1,q_.ParsingComponents.createRelativeFromReference(t.reference,l)}if(r=="\u0432 \u043F\u0440\u043E\u0448\u043B\u043E\u043C"||r=="\u043D\u0430 \u043F\u0440\u043E\u0448\u043B\u043E\u0439"){let l={};return l[s]=-1,q_.ParsingComponents.createRelativeFromReference(t.reference,l)}let a=t.createParsingComponents(),o=u2.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}};al.default=Eg});var j_=M(Og=>{"use strict";Object.defineProperty(Og,"__esModule",{value:!0});var ol=yn(),h2=lt(),g2=ie(),y2=$n(),b2=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*(${ol.TIME_UNITS_PATTERN})${ol.REGEX_PARTS.rightBoundary}`,ol.REGEX_PARTS.flags),xg=class extends g2.AbstractParserWithWordBoundaryChecking{patternLeftBoundary(){return ol.REGEX_PARTS.leftBoundary}innerPattern(){return b2}innerExtract(t,e){let r=e[1].toLowerCase(),i=ol.parseTimeUnits(e[2]);switch(r){case"\u043F\u043E\u0441\u043B\u0435\u0434\u043D\u0438\u0435":case"\u043F\u0440\u043E\u0448\u043B\u044B\u0435":case"-":i=y2.reverseTimeUnits(i);break}return h2.ParsingComponents.createRelativeFromReference(t.reference,i)}};Og.default=xg});var B_=M(Mt=>{"use strict";var Mn=Mt&&Mt.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Mt,"__esModule",{value:!0});Mt.createConfiguration=Mt.createCasualConfiguration=Mt.parseDate=Mt.parse=Mt.strict=Mt.casual=void 0;var T2=Mn(__()),v2=Mn(O_()),k2=Mn(M_()),S2=Mn(P_()),_2=Mn(I_()),w2=Mn(N_()),D2=Mn(F_()),E2=Jr(),x2=Mn(L_()),O2=Mn(Y_()),R2=Mn(U_()),C2=Mn(W_()),$_=ur(),M2=Mn(es()),A2=Mn(j_());Mt.casual=new $_.Chrono(H_());Mt.strict=new $_.Chrono(Rg(!0));function P2(n,t,e){return Mt.casual.parse(n,t,e)}Mt.parse=P2;function I2(n,t,e){return Mt.casual.parseDate(n,t,e)}Mt.parseDate=I2;function H_(){let n=Rg(!1);return n.parsers.unshift(new x2.default),n.parsers.unshift(new O2.default),n.parsers.unshift(new k2.default),n.parsers.unshift(new C2.default),n.parsers.unshift(new A2.default),n}Mt.createCasualConfiguration=H_;function Rg(n=!0){return E2.includeCommonConfiguration({parsers:[new M2.default(!0),new T2.default,new v2.default,new R2.default,new S2.default(n),new _2.default],refiners:[new D2.default,new w2.default]},n)}Mt.createConfiguration=Rg});var kt=M(Re=>{"use strict";var N2=Re&&Re.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=e),Object.defineProperty(n,r,{enumerable:!0,get:function(){return t[e]}})}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]})),F2=Re&&Re.__setModuleDefault||(Object.create?(function(n,t){Object.defineProperty(n,"default",{enumerable:!0,value:t})}):function(n,t){n.default=t}),Mi=Re&&Re.__importStar||function(n){if(n&&n.__esModule)return n;var t={};if(n!=null)for(var e in n)e!=="default"&&Object.prototype.hasOwnProperty.call(n,e)&&N2(t,n,e);return F2(t,n),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 Cg=Mi(Hp());Re.en=Cg;var L2=ur();Object.defineProperty(Re,"Chrono",{enumerable:!0,get:function(){return L2.Chrono}});var Y2;(function(n){n[n.AM=0]="AM",n[n.PM=1]="PM"})(Y2=Re.Meridiem||(Re.Meridiem={}));var U2=Mi(ek());Re.de=U2;var q2=Mi(Rk());Re.fr=q2;var W2=Mi(Yk());Re.ja=W2;var j2=Mi(eS());Re.pt=j2;var $2=Mi(YS());Re.nl=$2;var H2=Mi(b_());Re.zh=H2;var B2=Mi(B_());Re.ru=B2;Re.strict=Cg.strict;Re.casual=Cg.casual;function G2(n,t,e){return Re.casual.parse(n,t,e)}Re.parse=G2;function z2(n,t,e){return Re.casual.parseDate(n,t,e)}Re.parseDate=z2});var Kn,Mg=Q(()=>{"use strict";Kn=class n{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 n(window.moment().startOf(e).startOf("day"),window.moment().endOf(e).startOf("day"))}static buildInvalid(){return new n(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 ic,oi,Ag=Q(()=>{"use strict";ic=js(kt());Mg();oi=class n{static parseDate(t,e=!1){return window.moment(ic.parseDate(t,void 0,{forwardDate:e})).startOf("day")}static parseDateRange(t,e=!1){let r=[n.parseRelativeDateRange,n.parseNumberedDateRange,n.parseAbsoluteDateRange];for(let i of r){let s=i(t,e);if(s.isValid())return s}return Kn.buildInvalid()}static parseAbsoluteDateRange(t,e){let r=ic.parse(t,void 0,{forwardDate:e});if(r.length===0)return Kn.buildInvalid();let i=r[0].start,s=r[1]&&r[1].start?r[1].start:i,a=window.moment(i.date()),o=window.moment(s.date());return new Kn(a,o)}static parseRelativeDateRange(t,e){let r=/(last|this|next) (week|month|quarter|year)/,i=t.match(r);if(i&&i.length===3){let s=i[1],a=i[2],o=Kn.buildRelative(a);switch(s){case"last":o.moveToPrevious(a);break;case"next":o.moveToNext(a);break}return o}return Kn.buildInvalid()}static parseNumberedDateRange(t,e){let r=[[/^\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 r){let o=t.match(i);if(o){let l=o[0].trim();return new Kn(window.moment(l,s).startOf(a),window.moment(l,s).endOf(a))}}return Kn.buildInvalid()}}});function sc(n){for(let[t,e]of Object.entries(V2))n=n.replace(RegExp(`\\b${t}\\s`,"i"),e);return n}var V2,Pg=Q(()=>{"use strict";V2={td:"today",tm:"tomorrow",yd:"yesterday",tw:"this week",nw:"next week",weekend:"sat",we:"sat"}});function Qn(n,t){return n!==null&&t===null?-1:n===null&&t!==null?1:n!==null&&t!==null?n.isValid()&&!t.isValid()?1:!n.isValid()&&t.isValid()?-1:n.isAfter(t)?1:n.isBefore(t)?-1:0:0}function K2(n,t,e=void 0){if(!t)return`<i>no ${n} date</i>`;let r=Ig.parseDate(t,e,{forwardDate:e!=null});return r!==null?window.moment(r).format("YYYY-MM-DD"):`<i>invalid ${n} date</i>`}function G_(n,t,e){return K2(n,t,e?new Date:void 0)}function as(n,t){let e=null,r=Ig.parseDate(n,new Date,{forwardDate:t});return r!==null&&(e=window.moment(r)),e}var Ig,os=Q(()=>{"use strict";Ig=js(kt())});var li,ac=Q(()=>{"use strict";os();gt();li=class n{constructor({startDate:t=null,scheduledDate:e=null,dueDate:r=null}){this.startDate=t!=null?t:null,this.scheduledDate=e!=null?e:null,this.dueDate=r!=null?r: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}=J();return t?[this.dueDate,this.startDate,this.scheduledDate]:[this.dueDate,this.scheduledDate,this.startDate]}isIdenticalTo(t){return!(Qn(this.startDate,t.startDate)!==0||Qn(this.scheduledDate,t.scheduledDate)!==0||Qn(this.dueDate,t.dueDate)!==0)}next(t){if(this.referenceDate===null)return new n({startDate:null,scheduledDate:null,dueDate:null});let e=this.startDate!==null,r=this.dueDate!==null,i=e||r,{removeScheduledDateOnRecurrence:s}=J(),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 n({startDate:o,scheduledDate:l,dueDate:u})}nextOccurrenceDate(t,e){if(t===null)return null;let r=window.moment.duration(t.diff(this.referenceDate)),i=window.moment(e);return i.add(Math.round(r.asDays()),"days"),i}}});var ll,yt,ls=Q(()=>{ll=["MO","TU","WE","TH","FR","SA","SU"],yt=(function(){function n(t,e){if(e===0)throw new Error("Can't create weekday with n == 0");this.weekday=t,this.n=e}return n.fromStr=function(t){return new n(ll.indexOf(t))},n.prototype.nth=function(t){return this.n===t?this:new n(this.weekday,t)},n.prototype.equals=function(t){return this.weekday===t.weekday&&this.n===t.n},n.prototype.toString=function(){var t=ll[this.weekday];return this.n&&(t=(this.n>0?"+":"")+String(this.n)+t),t},n.prototype.getJsWeekday=function(){return this.weekday===6?0:this.weekday+1},n})()});function us(n,t,e){e===void 0&&(e=" ");var r=String(n);return t=t>>0,r.length>t?String(r):(t=t-r.length,t>e.length&&(e+=Fe(e,t/e.length)),e.slice(0,t)+String(r))}var rt,An,Ng,Lt,Zn,Fe,z_,V_,$t,oc,Pn,dt,Ue,cn=Q(()=>{ls();rt=function(n){return n!=null},An=function(n){return typeof n=="number"},Ng=function(n){return typeof n=="string"&&ll.includes(n)},Lt=Array.isArray,Zn=function(n,t){t===void 0&&(t=n),arguments.length===1&&(t=n,n=0);for(var e=[],r=n;r<t;r++)e.push(r);return e},Fe=function(n,t){var e=0,r=[];if(Lt(n))for(;e<t;e++)r[e]=[].concat(n);else for(;e<t;e++)r[e]=n;return r},z_=function(n){return Lt(n)?n:[n]};V_=function(n,t,e){var r=n.split(t);return e?r.slice(0,e).concat([r.slice(e).join(t)]):r},$t=function(n,t){var e=n%t;return e*t<0?e+t:e},oc=function(n,t){return{div:Math.floor(n/t),mod:$t(n,t)}},Pn=function(n){return!rt(n)||n.length===0},dt=function(n){return!Pn(n)},Ue=function(n,t){return dt(n)&&n.indexOf(t)!==-1}});var Ir,Q2,Q_,lc,Z_,Z2,oa,Fg,cs,X2,ul,uc,J2,ui,Lg,cc,dc,Yg,ci,la,cl,K_,X_,Ht=Q(()=>{cn();Ir=function(n,t,e,r,i,s){return r===void 0&&(r=0),i===void 0&&(i=0),s===void 0&&(s=0),new Date(Date.UTC(n,t-1,e,r,i,s))},Q2=[31,28,31,30,31,30,31,31,30,31,30,31],Q_=1e3*60*60*24,lc=9999,Z_=Ir(1970,1,1),Z2=[6,0,1,2,3,4,5],oa=function(n){return n%4===0&&n%100!==0||n%400===0},Fg=function(n){return n instanceof Date},cs=function(n){return Fg(n)&&!isNaN(n.getTime())},X2=function(n,t){var e=n.getTime(),r=t.getTime(),i=e-r;return Math.round(i/Q_)},ul=function(n){return X2(n,Z_)},uc=function(n){return new Date(Z_.getTime()+n*Q_)},J2=function(n){var t=n.getUTCMonth();return t===1&&oa(n.getUTCFullYear())?29:Q2[t]},ui=function(n){return Z2[n.getUTCDay()]},Lg=function(n,t){var e=Ir(n,t+1,1);return[ui(e),J2(e)]},cc=function(n,t){return t=t||n,new Date(Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()))},dc=function(n){var t=new Date(n.getTime());return t},Yg=function(n){for(var t=[],e=0;e<n.length;e++)t.push(dc(n[e]));return t},ci=function(n){n.sort(function(t,e){return t.getTime()-e.getTime()})},la=function(n,t){t===void 0&&(t=!0);var e=new Date(n);return[us(e.getUTCFullYear().toString(),4,"0"),us(e.getUTCMonth()+1,2,"0"),us(e.getUTCDate(),2,"0"),"T",us(e.getUTCHours(),2,"0"),us(e.getUTCMinutes(),2,"0"),us(e.getUTCSeconds(),2,"0"),t?"Z":""].join("")},cl=function(n){var t=/^(\d{4})(\d{2})(\d{2})(T(\d{2})(\d{2})(\d{2})Z?)?$/,e=t.exec(n);if(!e)throw new Error("Invalid UNTIL value: ".concat(n));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))},K_=function(n,t){var e=n.toLocaleString("sv-SE",{timeZone:t});return e.replace(" ","T")+"Z"},X_=function(n,t){var e=Intl.DateTimeFormat().resolvedOptions().timeZone,r=new Date(K_(n,e)),i=new Date(K_(n,t!=null?t:"UTC")),s=i.getTime()-r.getTime();return new Date(n.getTime()-s)}});var eY,di,fc=Q(()=>{eY=(function(){function n(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 n.prototype.accept=function(t){++this.total;var e=this.minDate&&t<this.minDate,r=this.maxDate&&t>this.maxDate;if(this.method==="between"){if(e)return!0;if(r)return!1}else if(this.method==="before"){if(r)return!1}else if(this.method==="after")return e?!0:(this.add(t),!1);return this.add(t)},n.prototype.add=function(t){return this._result.push(t),!0},n.prototype.getValue=function(){var t=this._result;switch(this.method){case"all":case"between":return t;default:return t.length?t[t.length-1]:null}},n.prototype.clone=function(){return new n(this.method,this.args)},n})(),di=eY});function ua(n,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Ug(n,t);function e(){this.constructor=n}n.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}function J_(n,t,e,r){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(r.next(c))}catch(d){a(d)}}function l(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((r=r.apply(n,t||[])).next())})}function Z(n,t,e){if(e||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return n.concat(s||Array.prototype.slice.call(t))}var Ug,Yt,Nr=Q(()=>{Ug=function(n,t){return Ug=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,r){e.__proto__=r}||function(e,r){for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])},Ug(n,t)};Yt=function(){return Yt=Object.assign||function(t){for(var e,r=1,i=arguments.length;r<i;r++){e=arguments[r];for(var s in e)Object.prototype.hasOwnProperty.call(e,s)&&(t[s]=e[s])}return t},Yt.apply(this,arguments)}});var tY,qg,ew=Q(()=>{Nr();fc();tY=(function(n){ua(t,n);function t(e,r,i){var s=n.call(this,e,r)||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})(di),qg=tY});var nY,ds,pc=Q(()=>{nY={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}},ds=nY});var tw,rY,iY,sY,Fr,nw=Q(()=>{pc();Xn();cn();tw=function(n,t){return n.indexOf(t)!==-1},rY=function(n){return n.toString()},iY=function(n,t,e){return"".concat(t," ").concat(e,", ").concat(n)},sY=(function(){function n(t,e,r,i){if(e===void 0&&(e=rY),r===void 0&&(r=ds),i===void 0&&(i=iY),this.text=[],this.language=r||ds,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=Lt(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!!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 n.isFullyConvertible=function(t){var e=!0;if(!(t.options.freq in n.IMPLEMENTED)||t.origOptions.until&&t.origOptions.count)return!1;for(var r in t.origOptions){if(tw(["dtstart","tzid","wkst","freq"],r))return!0;if(!tw(n.IMPLEMENTED[t.options.freq],r))return!1}return e},n.prototype.isFullyConvertible=function(){return n.isFullyConvertible(this.rrule)},n.prototype.toString=function(){var t=this.gettext;if(!(this.options.freq in n.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("")},n.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"))},n.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"))},n.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()},n.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())},n.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()},n.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")))},n.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")))},n.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"))))},n.prototype._byhour=function(){var t=this.gettext;this.add(t("at")).add(this.list(this.origOptions.byhour,void 0,t("and")))},n.prototype._bymonth=function(){this.add(this.list(this.options.bymonth,this.monthtext,this.gettext("and")))},n.prototype.nth=function(t){t=parseInt(t.toString(),10);var e,r=this.gettext;if(t===-1)return r("last");var i=Math.abs(t);switch(i){case 1:case 21:case 31:e=i+r("st");break;case 2:case 22:e=i+r("nd");break;case 3:case 23:e=i+r("rd");break;default:e=i+r("th")}return t<0?e+" "+r("last"):e},n.prototype.monthtext=function(t){return this.language.monthNames[t-1]},n.prototype.weekdaytext=function(t){var e=An(t)?(t+1)%7:t.getJsWeekday();return(t.n?this.nth(t.n)+" ":"")+this.language.dayNames[e]},n.prototype.plural=function(t){return t%100!==1},n.prototype.add=function(t){return this.text.push(" "),this.text.push(t),this},n.prototype.list=function(t,e,r,i){var s=this;i===void 0&&(i=","),Lt(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 r?a(t.map(o),i,r):t.map(o).join(i+" ")},n})(),Fr=sY});function dl(n,t){t===void 0&&(t=ds);var e={},r=new aY(t.tokens);if(!r.start(n))return null;return i(),e;function i(){r.expect("every");var f=r.acceptNumber();if(f&&(e.interval=parseInt(f[0],10)),r.isDone())throw new Error("Unexpected end");switch(r.symbol){case"day(s)":e.freq=oe.DAILY,r.nextSymbol()&&(a(),d());break;case"weekday(s)":e.freq=oe.WEEKLY,e.byweekday=[oe.MO,oe.TU,oe.WE,oe.TH,oe.FR],r.nextSymbol(),a(),d();break;case"week(s)":e.freq=oe.WEEKLY,r.nextSymbol()&&(s(),a(),d());break;case"hour(s)":e.freq=oe.HOURLY,r.nextSymbol()&&(s(),d());break;case"minute(s)":e.freq=oe.MINUTELY,r.nextSymbol()&&(s(),d());break;case"month(s)":e.freq=oe.MONTHLY,r.nextSymbol()&&(s(),d());break;case"year(s)":e.freq=oe.YEARLY,r.nextSymbol()&&(s(),d());break;case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":e.freq=oe.WEEKLY;var p=r.symbol.substr(0,2).toUpperCase();if(e.byweekday=[oe[p]],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw new Error("Unexpected end");var h=l();if(!h)throw new Error("Unexpected symbol "+r.symbol+", expected weekday");e.byweekday.push(oe[h]),r.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()],!r.nextSymbol())return;for(;r.accept("comma");){if(r.isDone())throw new Error("Unexpected end");var b=o();if(!b)throw new Error("Unexpected symbol "+r.symbol+", expected month");e.bymonth.push(b),r.nextSymbol()}s(),d();break;default:throw new Error("Unknown symbol")}}function s(){var f=r.accept("on"),p=r.accept("the");if(f||p)do{var h=u(),b=l(),v=o();if(h)b?(r.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(oe[b].nth(h))):(e.bymonthday||(e.bymonthday=[]),e.bymonthday.push(h),r.accept("day(s)"));else if(b)r.nextSymbol(),e.byweekday||(e.byweekday=[]),e.byweekday.push(oe[b]);else if(r.symbol==="weekday(s)")r.nextSymbol(),e.byweekday||(e.byweekday=[oe.MO,oe.TU,oe.WE,oe.TH,oe.FR]);else if(r.symbol==="week(s)"){r.nextSymbol();var E=r.acceptNumber();if(!E)throw new Error("Unexpected symbol "+r.symbol+", expected week number");for(e.byweekno=[parseInt(E[0],10)];r.accept("comma");){if(E=r.acceptNumber(),!E)throw new Error("Unexpected symbol "+r.symbol+"; expected monthday");e.byweekno.push(parseInt(E[0],10))}}else if(v)r.nextSymbol(),e.bymonth||(e.bymonth=[]),e.bymonth.push(v);else return}while(r.accept("comma")||r.accept("the")||r.accept("on"))}function a(){var f=r.accept("at");if(f)do{var p=r.acceptNumber();if(!p)throw new Error("Unexpected symbol "+r.symbol+", expected hour");for(e.byhour=[parseInt(p[0],10)];r.accept("comma");){if(p=r.acceptNumber(),!p)throw new Error("Unexpected symbol "+r.symbol+"; expected hour");e.byhour.push(parseInt(p[0],10))}}while(r.accept("comma")||r.accept("at"))}function o(){switch(r.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(r.symbol){case"monday":case"tuesday":case"wednesday":case"thursday":case"friday":case"saturday":case"sunday":return r.symbol.substr(0,2).toUpperCase();default:return!1}}function u(){switch(r.symbol){case"last":return r.nextSymbol(),-1;case"first":return r.nextSymbol(),1;case"second":return r.nextSymbol(),r.accept("last")?-2:2;case"third":return r.nextSymbol(),r.accept("last")?-3:3;case"nth":var f=parseInt(r.value[1],10);if(f<-366||f>366)throw new Error("Nth out of range: "+f);return r.nextSymbol(),r.accept("last")?-f:f;default:return!1}}function c(){r.accept("on"),r.accept("the");var f=u();if(f)for(e.bymonthday=[f],r.nextSymbol();r.accept("comma");){if(f=u(),!f)throw new Error("Unexpected symbol "+r.symbol+"; expected monthday");e.bymonthday.push(f),r.nextSymbol()}}function d(){if(r.symbol==="until"){var f=Date.parse(r.text);if(!f)throw new Error("Cannot parse until date:"+r.text);e.until=new Date(f)}else r.accept("for")&&(e.count=parseInt(r.value[0],10),r.expect("number"))}}var aY,rw=Q(()=>{pc();Xn();aY=(function(){function n(t){this.done=!0,this.rules=t}return n.prototype.start=function(t){return this.text=t,this.done=!1,this.nextSymbol()},n.prototype.isDone=function(){return this.done&&this.symbol===null},n.prototype.nextSymbol=function(){var t,e;this.symbol=null,this.value=null;do{if(this.done)return!1;var r=void 0;t=null;for(var i in this.rules){r=this.rules[i];var s=r.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},n.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},n.prototype.acceptNumber=function(){return this.accept("number")},n.prototype.expect=function(t){if(this.accept(t))return!0;throw new Error("expected "+t+" but found "+this.symbol)},n})()});function fl(n){return n<Me.HOURLY}var Me,fi=Q(()=>{(function(n){n[n.YEARLY=0]="YEARLY",n[n.MONTHLY=1]="MONTHLY",n[n.WEEKLY=2]="WEEKLY",n[n.DAILY=3]="DAILY",n[n.HOURLY=4]="HOURLY",n[n.MINUTELY=5]="MINUTELY",n[n.SECONDLY=6]="SECONDLY"})(Me||(Me={}))});var iw,ca,sw,aw,ow=Q(()=>{nw();rw();Xn();fi();pc();iw=function(n,t){return t===void 0&&(t=ds),new oe(dl(n,t)||void 0)},ca=["count","until","interval","byweekday","bymonthday","bymonth"];Fr.IMPLEMENTED=[];Fr.IMPLEMENTED[Me.HOURLY]=ca;Fr.IMPLEMENTED[Me.MINUTELY]=ca;Fr.IMPLEMENTED[Me.DAILY]=["byhour"].concat(ca);Fr.IMPLEMENTED[Me.WEEKLY]=ca;Fr.IMPLEMENTED[Me.MONTHLY]=ca;Fr.IMPLEMENTED[Me.YEARLY]=["byweekno","byyearday"].concat(ca);sw=function(n,t,e,r){return new Fr(n,t,e,r).toString()},aw=Fr.isFullyConvertible});var da,lw,mc=Q(()=>{Nr();fi();cn();Ht();da=(function(){function n(t,e,r,i){this.hour=t,this.minute=e,this.second=r,this.millisecond=i||0}return n.prototype.getHours=function(){return this.hour},n.prototype.getMinutes=function(){return this.minute},n.prototype.getSeconds=function(){return this.second},n.prototype.getMilliseconds=function(){return this.millisecond},n.prototype.getTime=function(){return(this.hour*60*60+this.minute*60+this.second)*1e3+this.millisecond},n})(),lw=(function(n){ua(t,n);function t(e,r,i,s,a,o,l){var u=n.call(this,s,a,o,l)||this;return u.year=e,u.month=r,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 ui(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 r=Math.floor(this.month/12),i=$t(this.month,12);this.month=i,this.year+=r,this.month===0&&(this.month=12,--this.year)}},t.prototype.addWeekly=function(e,r){r>this.getWeekday()?this.day+=-(this.getWeekday()+1+(6-r))+e*7:this.day+=-(this.getWeekday()-r)+e*7,this.fixDay()},t.prototype.addDaily=function(e){this.day+=e,this.fixDay()},t.prototype.addHours=function(e,r,i){for(r&&(this.hour+=Math.floor((23-this.hour)/e)*e);;){this.hour+=e;var s=oc(this.hour,24),a=s.div,o=s.mod;if(a&&(this.hour=o,this.addDaily(a)),Pn(i)||Ue(i,this.hour))break}},t.prototype.addMinutes=function(e,r,i,s){for(r&&(this.minute+=Math.floor((1439-(this.hour*60+this.minute))/e)*e);;){this.minute+=e;var a=oc(this.minute,60),o=a.div,l=a.mod;if(o&&(this.minute=l,this.addHours(o,!1,i)),(Pn(i)||Ue(i,this.hour))&&(Pn(s)||Ue(s,this.minute)))break}},t.prototype.addSeconds=function(e,r,i,s,a){for(r&&(this.second+=Math.floor((86399-(this.hour*3600+this.minute*60+this.second))/e)*e);;){this.second+=e;var o=oc(this.second,60),l=o.div,u=o.mod;if(l&&(this.second=u,this.addMinutes(l,!1,i,s)),(Pn(i)||Ue(i,this.hour))&&(Pn(s)||Ue(s,this.minute))&&(Pn(a)||Ue(a,this.second)))break}},t.prototype.fixDay=function(){if(!(this.day<=28)){var e=Lg(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>lc))return;e=Lg(this.year,this.month-1)[1]}}},t.prototype.add=function(e,r){var i=e.freq,s=e.interval,a=e.wkst,o=e.byhour,l=e.byminute,u=e.bysecond;switch(i){case Me.YEARLY:return this.addYears(s);case Me.MONTHLY:return this.addMonths(s);case Me.WEEKLY:return this.addWeekly(s,a);case Me.DAILY:return this.addDaily(s);case Me.HOURLY:return this.addHours(s,r,o);case Me.MINUTELY:return this.addMinutes(s,r,o,l);case Me.SECONDLY:return this.addSeconds(s,r,o,l,u)}},t})(da)});function Wg(n){for(var t=[],e=Object.keys(n),r=0,i=e;r<i.length;r++){var s=i[r];Ue(dw,s)||t.push(s),Fg(n[s])&&!cs(n[s])&&t.push(s)}if(t.length)throw new Error("Invalid options: "+t.join(", "));return Yt({},n)}function uw(n){var t=Yt(Yt({},pl),Wg(n));if(rt(t.byeaster)&&(t.freq=oe.YEARLY),!(rt(t.freq)&&oe.FREQUENCIES[t.freq]))throw new Error("Invalid frequency: ".concat(t.freq," ").concat(n.freq));if(t.dtstart||(t.dtstart=new Date(new Date().setMilliseconds(0))),rt(t.wkst)?An(t.wkst)||(t.wkst=t.wkst.weekday):t.wkst=oe.MO.weekday,rt(t.bysetpos)){An(t.bysetpos)&&(t.bysetpos=[t.bysetpos]);for(var e=0;e<t.bysetpos.length;e++){var r=t.bysetpos[e];if(r===0||!(r>=-366&&r<=366))throw new Error("bysetpos must be between 1 and 366, or between -366 and -1")}}if(!(t.byweekno||dt(t.byweekno)||dt(t.byyearday)||t.bymonthday||dt(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=[ui(t.dtstart)];break}if(rt(t.bymonth)&&!Lt(t.bymonth)&&(t.bymonth=[t.bymonth]),rt(t.byyearday)&&!Lt(t.byyearday)&&An(t.byyearday)&&(t.byyearday=[t.byyearday]),!rt(t.bymonthday))t.bymonthday=[],t.bynmonthday=[];else if(Lt(t.bymonthday)){for(var i=[],s=[],e=0;e<t.bymonthday.length;e++){var r=t.bymonthday[e];r>0?i.push(r):r<0&&s.push(r)}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)&&!Lt(t.byweekno)&&(t.byweekno=[t.byweekno]),!rt(t.byweekday))t.bynweekday=null;else if(An(t.byweekday))t.byweekday=[t.byweekday],t.bynweekday=null;else if(Ng(t.byweekday))t.byweekday=[yt.fromStr(t.byweekday).weekday],t.bynweekday=null;else if(t.byweekday instanceof yt)!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(An(l)){a.push(l);continue}else if(Ng(l)){a.push(yt.fromStr(l).weekday);continue}!l.n||t.freq>oe.MONTHLY?a.push(l.weekday):o.push([l.weekday,l.n])}t.byweekday=dt(a)?a:null,t.bynweekday=dt(o)?o:null}return rt(t.byhour)?An(t.byhour)&&(t.byhour=[t.byhour]):t.byhour=t.freq<oe.HOURLY?[t.dtstart.getUTCHours()]:null,rt(t.byminute)?An(t.byminute)&&(t.byminute=[t.byminute]):t.byminute=t.freq<oe.MINUTELY?[t.dtstart.getUTCMinutes()]:null,rt(t.bysecond)?An(t.bysecond)&&(t.bysecond=[t.bysecond]):t.bysecond=t.freq<oe.SECONDLY?[t.dtstart.getUTCSeconds()]:null,{parsedOptions:t}}function cw(n){var t=n.dtstart.getTime()%1e3;if(!fl(n.freq))return[];var e=[];return n.byhour.forEach(function(r){n.byminute.forEach(function(i){n.bysecond.forEach(function(s){e.push(new da(r,i,s,t))})})}),e}var jg=Q(()=>{Nr();fi();cn();Xn();Ht();ls();mc()});function hl(n){var t=n.split(`
`).map(oY).filter(function(e){return e!==null});return Yt(Yt({},t[0]),t[1])}function ml(n){var t={},e=/DTSTART(?:;TZID=([^:=]+?))?(?::|=)([^;\s]+)/i.exec(n);if(!e)return t;var r=e[1],i=e[2];return r&&(t.tzid=r),t.dtstart=cl(i),t}function oY(n){if(n=n.replace(/^\s+|\s+$/,""),!n.length)return null;var t=/^([A-Z]+?)[:;]/.exec(n.toUpperCase());if(!t)return fw(n);var e=t[1];switch(e.toUpperCase()){case"RRULE":case"EXRULE":return fw(n);case"DTSTART":return ml(n);default:throw new Error("Unsupported RFC prop ".concat(e," in ").concat(n))}}function fw(n){var t=n.replace(/^RRULE:/i,""),e=ml(t),r=n.replace(/^(?:RRULE|EXRULE):/i,"").split(";");return r.forEach(function(i){var s=i.split("="),a=s[0],o=s[1];switch(a.toUpperCase()){case"FREQ":e.freq=Me[o.toUpperCase()];break;case"WKST":e.wkst=Jn[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=lY(o),u=a.toLowerCase();e[u]=l;break;case"BYWEEKDAY":case"BYDAY":e.byweekday=uY(o);break;case"DTSTART":case"TZID":var c=ml(n);e.tzid=c.tzid,e.dtstart=c.dtstart;break;case"UNTIL":e.until=cl(o);break;case"BYEASTER":e.byeaster=Number(o);break;default:throw new Error("Unknown RRULE property '"+a+"'")}}),e}function lY(n){if(n.indexOf(",")!==-1){var t=n.split(",");return t.map(pw)}return pw(n)}function pw(n){return/^[+-]?\d+$/.test(n)?Number(n):n}function uY(n){var t=n.split(",");return t.map(function(e){if(e.length===2)return Jn[e];var r=e.match(/^([+-]?\d{1,2})([A-Z]{2})$/);if(!r||r.length<3)throw new SyntaxError("Invalid weekday string: ".concat(e));var i=Number(r[1]),s=r[2],a=Jn[s].weekday;return new yt(a,i)})}var $g=Q(()=>{Nr();fi();ls();Ht();Xn()});var fs,hc=Q(()=>{Ht();fs=(function(){function n(t,e){if(isNaN(t.getTime()))throw new RangeError("Invalid date passed to DateWithZone");this.date=t,this.tzid=e}return Object.defineProperty(n.prototype,"isUTC",{get:function(){return!this.tzid||this.tzid.toUpperCase()==="UTC"},enumerable:!1,configurable:!0}),n.prototype.toString=function(){var t=la(this.date.getTime(),this.isUTC);return this.isUTC?":".concat(t):";TZID=".concat(this.tzid,":").concat(t)},n.prototype.getTime=function(){return this.date.getTime()},n.prototype.rezonedDate=function(){return this.isUTC?this.date:X_(this.date,this.tzid)},n})()});function gl(n){for(var t=[],e="",r=Object.keys(n),i=Object.keys(pl),s=0;s<r.length;s++)if(r[s]!=="tzid"&&Ue(i,r[s])){var a=r[s].toUpperCase(),o=n[r[s]],l="";if(!(!rt(o)||Lt(o)&&!o.length)){switch(a){case"FREQ":l=oe.FREQUENCIES[n.freq];break;case"WKST":An(o)?l=new yt(o).toString():l=o.toString();break;case"BYWEEKDAY":a="BYDAY",l=z_(o).map(function(p){return p instanceof yt?p:Lt(p)?new yt(p[0],p[1]):new yt(p)}).toString();break;case"DTSTART":e=cY(o,n.tzid);break;case"UNTIL":l=la(o,!n.tzid);break;default:if(Lt(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 h=p[0],b=p[1];return"".concat(h,"=").concat(b.toString())}).join(";"),f="";return d!==""&&(f="RRULE:".concat(d)),[e,f].filter(function(p){return!!p}).join(`
`)}function cY(n,t){return n?"DTSTART"+new fs(new Date(n),t).toString():""}var Hg=Q(()=>{Xn();cn();ls();Ht();hc()});function dY(n,t){return Array.isArray(n)?!Array.isArray(t)||n.length!==t.length?!1:n.every(function(e,r){return e.getTime()===t[r].getTime()}):n instanceof Date?t instanceof Date&&n.getTime()===t.getTime():n===t}var mw,hw=Q(()=>{fc();Ht();cn();mw=(function(){function n(){this.all=!1,this.before=[],this.after=[],this.between=[]}return n.prototype._cacheAdd=function(t,e,r){e&&(e=e instanceof Date?dc(e):Yg(e)),t==="all"?this.all=e:(r._value=e,this[t].push(r))},n.prototype._cacheGet=function(t,e){var r=!1,i=e?Object.keys(e):[],s=function(c){for(var d=0;d<i.length;d++){var f=i[d];if(!dY(e[f],c[f]))return!0}return!1},a=this[t];if(t==="all")r=this.all;else if(Lt(a))for(var o=0;o<a.length;o++){var l=a[o];if(!(i.length&&s(l))){r=l._value;break}}if(!r&&this.all){for(var u=new di(t,e),o=0;o<this.all.length&&u.accept(this.all[o]);o++);r=u.getValue(),this._cacheAdd(t,r,e)}return Lt(r)?Yg(r):r instanceof Date?dc(r):r},n})()});var gw,yw,fY,pY,Ai,Bt,bw,Tw,mY,hY,Pi,Gt,vw,kw,Sw,_w,Bg,ww=Q(()=>{Nr();cn();gw=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z([],Fe(1,31),!0),Fe(2,28),!0),Fe(3,31),!0),Fe(4,30),!0),Fe(5,31),!0),Fe(6,30),!0),Fe(7,31),!0),Fe(8,31),!0),Fe(9,30),!0),Fe(10,31),!0),Fe(11,30),!0),Fe(12,31),!0),Fe(1,7),!0),yw=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z([],Fe(1,31),!0),Fe(2,29),!0),Fe(3,31),!0),Fe(4,30),!0),Fe(5,31),!0),Fe(6,30),!0),Fe(7,31),!0),Fe(8,31),!0),Fe(9,30),!0),Fe(10,31),!0),Fe(11,30),!0),Fe(12,31),!0),Fe(1,7),!0),fY=Zn(1,29),pY=Zn(1,30),Ai=Zn(1,31),Bt=Zn(1,32),bw=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z([],Bt,!0),pY,!0),Bt,!0),Ai,!0),Bt,!0),Ai,!0),Bt,!0),Bt,!0),Ai,!0),Bt,!0),Ai,!0),Bt,!0),Bt.slice(0,7),!0),Tw=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z([],Bt,!0),fY,!0),Bt,!0),Ai,!0),Bt,!0),Ai,!0),Bt,!0),Bt,!0),Ai,!0),Bt,!0),Ai,!0),Bt,!0),Bt.slice(0,7),!0),mY=Zn(-28,0),hY=Zn(-29,0),Pi=Zn(-30,0),Gt=Zn(-31,0),vw=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z([],Gt,!0),hY,!0),Gt,!0),Pi,!0),Gt,!0),Pi,!0),Gt,!0),Gt,!0),Pi,!0),Gt,!0),Pi,!0),Gt,!0),Gt.slice(0,7),!0),kw=Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z(Z([],Gt,!0),mY,!0),Gt,!0),Pi,!0),Gt,!0),Pi,!0),Gt,!0),Gt,!0),Pi,!0),Gt,!0),Pi,!0),Gt,!0),Gt.slice(0,7),!0),Sw=[0,31,60,91,121,152,182,213,244,274,305,335,366],_w=[0,31,59,90,120,151,181,212,243,273,304,334,365],Bg=(function(){for(var n=[],t=0;t<55;t++)n=n.concat(Zn(7));return n})()});function Dw(n,t){var e=Ir(n,1,1),r=oa(n)?366:365,i=oa(n+1)?366:365,s=ul(e),a=ui(e),o=Yt(Yt({yearlen:r,nextyearlen:i,yearordinal:s,yearweekday:a},gY(n)),{wnomask:null});if(Pn(t.byweekno))return o;o.wnomask=Fe(0,r+7);var l,u,c=l=$t(7-a+t.wkst,7);c>=4?(c=0,u=o.yearlen+$t(a-t.wkst,7)):u=r-c;for(var d=Math.floor(u/7),f=$t(u,7),p=Math.floor(d+f/4),h=0;h<t.byweekno.length;h++){var b=t.byweekno[h];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(Ue(t.byweekno,1)){var v=c+p*7;if(c!==l&&(v-=7-l),v<r)for(var h=0;h<7&&(o.wnomask[v]=1,v+=1,o.wdaymask[v]!==t.wkst);h++);}if(c){var O=void 0;if(Ue(t.byweekno,-1))O=-1;else{var x=ui(Ir(n-1,1,1)),q=$t(7-x.valueOf()+t.wkst,7),ee=oa(n-1)?366:365,V=void 0;q>=4?(q=0,V=ee+$t(x-t.wkst,7)):V=r-c,O=Math.floor(52+$t(V,7)/4)}if(Ue(t.byweekno,O))for(var v=0;v<c;v++)o.wnomask[v]=1}return o}function gY(n){var t=oa(n)?366:365,e=Ir(n,1,1),r=ui(e);return t===365?{mmask:gw,mdaymask:Tw,nmdaymask:kw,wdaymask:Bg.slice(r),mrange:_w}:{mmask:yw,mdaymask:bw,nmdaymask:vw,wdaymask:Bg.slice(r),mrange:Sw}}var Ew=Q(()=>{Nr();Ht();cn();ww()});function xw(n,t,e,r,i,s){var a={lastyear:n,lastmonth:t,nwdaymask:[]},o=[];if(s.freq===oe.YEARLY)if(Pn(s.bymonth))o=[[0,e]];else for(var l=0;l<s.bymonth.length;l++)t=s.bymonth[l],o.push(r.slice(t-1,t+1));else s.freq===oe.MONTHLY&&(o=[r.slice(t-1,t+1)]);if(Pn(o))return a;a.nwdaymask=Fe(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,h=s.bynweekday[f],b=h[0],v=h[1];v<0?(p=d+(v+1)*7,p-=$t(i[p]-b,7)):(p=c+(v-1)*7,p+=$t(7-i[p]+b,7)),c<=p&&p<=d&&(a.nwdaymask[p]=1)}return a}var Ow=Q(()=>{Xn();cn()});function Rw(n,t){t===void 0&&(t=0);var e=n%19,r=Math.floor(n/100),i=n%100,s=Math.floor(r/4),a=r%4,o=Math.floor((r+8)/25),l=Math.floor((r-o+1)/3),u=Math.floor(19*e+r-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),h=Math.floor((u+f-7*p+114)/31),b=(u+f-7*p+114)%31+1,v=Date.UTC(n,h-1,b+t),E=Date.UTC(n,0,1);return[Math.ceil((v-E)/(1e3*60*60*24))]}var Cw=Q(()=>{});var yY,Mw,Aw=Q(()=>{cn();fi();Ew();Ow();Cw();mc();Ht();yY=(function(){function n(t){this.options=t}return n.prototype.rebuild=function(t,e){var r=this.options;if(t!==this.lastyear&&(this.yearinfo=Dw(t,r)),dt(r.bynweekday)&&(e!==this.lastmonth||t!==this.lastyear)){var i=this.yearinfo,s=i.yearlen,a=i.mrange,o=i.wdaymask;this.monthinfo=xw(t,e,s,a,o,r)}rt(r.byeaster)&&(this.eastermask=Rw(t,r.byeaster))},Object.defineProperty(n.prototype,"lastyear",{get:function(){return this.monthinfo?this.monthinfo.lastyear:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"lastmonth",{get:function(){return this.monthinfo?this.monthinfo.lastmonth:null},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yearlen",{get:function(){return this.yearinfo.yearlen},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"yearordinal",{get:function(){return this.yearinfo.yearordinal},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mrange",{get:function(){return this.yearinfo.mrange},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"wdaymask",{get:function(){return this.yearinfo.wdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mmask",{get:function(){return this.yearinfo.mmask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"wnomask",{get:function(){return this.yearinfo.wnomask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nwdaymask",{get:function(){return this.monthinfo?this.monthinfo.nwdaymask:[]},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nextyearlen",{get:function(){return this.yearinfo.nextyearlen},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"mdaymask",{get:function(){return this.yearinfo.mdaymask},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"nmdaymask",{get:function(){return this.yearinfo.nmdaymask},enumerable:!1,configurable:!0}),n.prototype.ydayset=function(){return[Zn(this.yearlen),0,this.yearlen]},n.prototype.mdayset=function(t,e){for(var r=this.mrange[e-1],i=this.mrange[e],s=Fe(null,this.yearlen),a=r;a<i;a++)s[a]=a;return[s,r,i]},n.prototype.wdayset=function(t,e,r){for(var i=Fe(null,this.yearlen+7),s=ul(Ir(t,e,r))-this.yearordinal,a=s,o=0;o<7&&(i[s]=s,++s,this.wdaymask[s]!==this.options.wkst);o++);return[i,a,s]},n.prototype.ddayset=function(t,e,r){var i=Fe(null,this.yearlen),s=ul(Ir(t,e,r))-this.yearordinal;return i[s]=s,[i,s,s+1]},n.prototype.htimeset=function(t,e,r,i){var s=this,a=[];return this.options.byminute.forEach(function(o){a=a.concat(s.mtimeset(t,o,r,i))}),ci(a),a},n.prototype.mtimeset=function(t,e,r,i){var s=this.options.bysecond.map(function(a){return new da(t,e,a,i)});return ci(s),s},n.prototype.stimeset=function(t,e,r,i){return[new da(t,e,r,i)]},n.prototype.getdayset=function(t){switch(t){case Me.YEARLY:return this.ydayset.bind(this);case Me.MONTHLY:return this.mdayset.bind(this);case Me.WEEKLY:return this.wdayset.bind(this);case Me.DAILY:return this.ddayset.bind(this);default:return this.ddayset.bind(this)}},n.prototype.gettimeset=function(t){switch(t){case Me.HOURLY:return this.htimeset.bind(this);case Me.MINUTELY:return this.mtimeset.bind(this);case Me.SECONDLY:return this.stimeset.bind(this)}},n})(),Mw=yY});function Pw(n,t,e,r,i,s){for(var a=[],o=0;o<n.length;o++){var l=void 0,u=void 0,c=n[o];c<0?(l=Math.floor(c/t.length),u=$t(c,t.length)):(l=Math.floor((c-1)/t.length),u=$t(c-1,t.length));for(var d=[],f=e;f<r;f++){var p=s[f];rt(p)&&d.push(p)}var h=void 0;l<0?h=d.slice(l)[0]:h=d[l];var b=t[u],v=uc(i.yearordinal+h),E=cc(v,b);Ue(a,E)||a.push(E)}return ci(a),a}var Iw=Q(()=>{Ht();cn()});function gc(n,t){var e=t.dtstart,r=t.freq,i=t.interval,s=t.until,a=t.bysetpos,o=t.count;if(o===0||i===0)return pi(n);var l=lw.fromDate(e),u=new Mw(t);u.rebuild(l.year,l.month);for(var c=vY(u,l,t);;){var d=u.getdayset(r)(l.year,l.month,l.day),f=d[0],p=d[1],h=d[2],b=TY(f,p,h,u,t);if(dt(a))for(var v=Pw(a,c,p,h,u,f),E=0;E<v.length;E++){var O=v[E];if(s&&O>s)return pi(n);if(O>=e){var x=Nw(O,t);if(!n.accept(x)||o&&(--o,!o))return pi(n)}}else for(var E=p;E<h;E++){var q=f[E];if(rt(q))for(var ee=uc(u.yearordinal+q),V=0;V<c.length;V++){var j=c[V],O=cc(ee,j);if(s&&O>s)return pi(n);if(O>=e){var x=Nw(O,t);if(!n.accept(x)||o&&(--o,!o))return pi(n)}}}if(t.interval===0||(l.add(t,b),l.year>lc))return pi(n);fl(r)||(c=u.gettimeset(r)(l.hour,l.minute,l.second,0)),u.rebuild(l.year,l.month)}}function bY(n,t,e){var r=e.bymonth,i=e.byweekno,s=e.byweekday,a=e.byeaster,o=e.bymonthday,l=e.bynmonthday,u=e.byyearday;return dt(r)&&!Ue(r,n.mmask[t])||dt(i)&&!n.wnomask[t]||dt(s)&&!Ue(s,n.wdaymask[t])||dt(n.nwdaymask)&&!n.nwdaymask[t]||a!==null&&!Ue(n.eastermask,t)||(dt(o)||dt(l))&&!Ue(o,n.mdaymask[t])&&!Ue(l,n.nmdaymask[t])||dt(u)&&(t<n.yearlen&&!Ue(u,t+1)&&!Ue(u,-n.yearlen+t)||t>=n.yearlen&&!Ue(u,t+1-n.yearlen)&&!Ue(u,-n.nextyearlen+t-n.yearlen))}function Nw(n,t){return new fs(n,t.tzid).rezonedDate()}function pi(n){return n.getValue()}function TY(n,t,e,r,i){for(var s=!1,a=t;a<e;a++){var o=n[a];s=bY(r,o,i),s&&(n[o]=null)}return s}function vY(n,t,e){var r=e.freq,i=e.byhour,s=e.byminute,a=e.bysecond;return fl(r)?cw(e):r>=oe.HOURLY&&dt(i)&&!Ue(i,t.hour)||r>=oe.MINUTELY&&dt(s)&&!Ue(s,t.minute)||r>=oe.SECONDLY&&dt(a)&&!Ue(a,t.second)?[]:n.gettimeset(r)(t.hour,t.minute,t.second,t.millisecond)}var Gg=Q(()=>{fi();Ht();Aw();Xn();jg();cn();hc();Iw();mc()});var Jn,pl,dw,oe,Xn=Q(()=>{Ht();fc();ew();ow();fi();jg();$g();Hg();hw();ls();Gg();Jn={MO:new yt(0),TU:new yt(1),WE:new yt(2),TH:new yt(3),FR:new yt(4),SA:new yt(5),SU:new yt(6)},pl={freq:Me.YEARLY,dtstart:null,interval:1,wkst:Jn.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},dw=Object.keys(pl),oe=(function(){function n(t,e){t===void 0&&(t={}),e===void 0&&(e=!1),this._cache=e?null:new mw,this.origOptions=Wg(t);var r=uw(t).parsedOptions;this.options=r}return n.parseText=function(t,e){return dl(t,e)},n.fromText=function(t,e){return iw(t,e)},n.fromString=function(t){return new n(n.parseString(t)||void 0)},n.prototype._iter=function(t){return gc(t,this.options)},n.prototype._cacheGet=function(t,e){return this._cache?this._cache._cacheGet(t,e):!1},n.prototype._cacheAdd=function(t,e,r){if(this._cache)return this._cache._cacheAdd(t,e,r)},n.prototype.all=function(t){if(t)return this._iter(new qg("all",{},t));var e=this._cacheGet("all");return e===!1&&(e=this._iter(new di("all",{})),this._cacheAdd("all",e)),e},n.prototype.between=function(t,e,r,i){if(r===void 0&&(r=!1),!cs(t)||!cs(e))throw new Error("Invalid date passed in to RRule.between");var s={before:e,after:t,inc:r};if(i)return this._iter(new qg("between",s,i));var a=this._cacheGet("between",s);return a===!1&&(a=this._iter(new di("between",s)),this._cacheAdd("between",a,s)),a},n.prototype.before=function(t,e){if(e===void 0&&(e=!1),!cs(t))throw new Error("Invalid date passed in to RRule.before");var r={dt:t,inc:e},i=this._cacheGet("before",r);return i===!1&&(i=this._iter(new di("before",r)),this._cacheAdd("before",i,r)),i},n.prototype.after=function(t,e){if(e===void 0&&(e=!1),!cs(t))throw new Error("Invalid date passed in to RRule.after");var r={dt:t,inc:e},i=this._cacheGet("after",r);return i===!1&&(i=this._iter(new di("after",r)),this._cacheAdd("after",i,r)),i},n.prototype.count=function(){return this.all().length},n.prototype.toString=function(){return gl(this.origOptions)},n.prototype.toText=function(t,e,r){return sw(this,t,e,r)},n.prototype.isFullyConvertibleToText=function(){return aw(this)},n.prototype.clone=function(){return new n(this.origOptions)},n.FREQUENCIES=["YEARLY","MONTHLY","WEEKLY","DAILY","HOURLY","MINUTELY","SECONDLY"],n.YEARLY=Me.YEARLY,n.MONTHLY=Me.MONTHLY,n.WEEKLY=Me.WEEKLY,n.DAILY=Me.DAILY,n.HOURLY=Me.HOURLY,n.MINUTELY=Me.MINUTELY,n.SECONDLY=Me.SECONDLY,n.MO=Jn.MO,n.TU=Jn.TU,n.WE=Jn.WE,n.TH=Jn.TH,n.FR=Jn.FR,n.SA=Jn.SA,n.SU=Jn.SU,n.parseString=hl,n.optionsToString=gl,n})()});function Fw(n,t,e,r,i,s){var a={},o=n.accept;function l(f,p){e.forEach(function(h){h.between(f,p,!0).forEach(function(b){a[Number(b)]=!0})})}i.forEach(function(f){var p=new fs(f,s).rezonedDate();a[Number(p)]=!0}),n.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},n.method==="between"&&(l(n.args.after,n.args.before),n.accept=function(f){var p=Number(f);return a[p]?!0:(a[p]=!0,o.call(this,f))});for(var u=0;u<r.length;u++){var c=new fs(r[u],s).rezonedDate();if(!n.accept(new Date(c.getTime())))break}t.forEach(function(f){gc(n,f.options)});var d=n._result;switch(ci(d),n.method){case"all":case"between":return d;case"before":return d.length&&d[d.length-1]||null;default:return d.length&&d[0]||null}}var Lw=Q(()=>{hc();Gg();Ht()});function kY(n,t){var e=[],r=[],i=[],s=[],a=ml(n),o=a.dtstart,l=a.tzid,u=EY(n,t.unfold);return u.forEach(function(c){var d;if(c){var f=DY(c),p=f.name,h=f.parms,b=f.value;switch(p.toUpperCase()){case"RRULE":if(h.length)throw new Error("unsupported RRULE parm: ".concat(h.join(",")));e.push(hl(c));break;case"RDATE":var v=(d=/RDATE(?:;TZID=([^:=]+))?/i.exec(c))!==null&&d!==void 0?d:[],E=v[1];E&&!l&&(l=E),r=r.concat(Uw(b,h));break;case"EXRULE":if(h.length)throw new Error("unsupported EXRULE parm: ".concat(h.join(",")));i.push(hl(b));break;case"EXDATE":s=s.concat(Uw(b,h));break;case"DTSTART":break;default:throw new Error("unsupported property: "+p)}}}),{dtstart:o,tzid:l,rrulevals:e,rdatevals:r,exrulevals:i,exdatevals:s}}function SY(n,t){var e=kY(n,t),r=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||r.length>1||i.length||s.length||a.length){var c=new Kg(u);return c.dtstart(o),c.tzid(l||void 0),r.forEach(function(f){c.rrule(new oe(zg(f,o,l),u))}),i.forEach(function(f){c.rdate(f)}),s.forEach(function(f){c.exrule(new oe(zg(f,o,l),u))}),a.forEach(function(f){c.exdate(f)}),t.compatible&&t.dtstart&&c.rdate(o),c}var d=r[0]||{};return new oe(zg(d,d.dtstart||t.dtstart||o,d.tzid||t.tzid||l),u)}function yc(n,t){return t===void 0&&(t={}),SY(n,_Y(t))}function zg(n,t,e){return Yt(Yt({},n),{dtstart:t,tzid:e})}function _Y(n){var t=[],e=Object.keys(n),r=Object.keys(Yw);if(e.forEach(function(i){Ue(r,i)||t.push(i)}),t.length)throw new Error("Invalid options: "+t.join(", "));return Yt(Yt({},Yw),n)}function wY(n){if(n.indexOf(":")===-1)return{name:"RRULE",value:n};var t=V_(n,":",1),e=t[0],r=t[1];return{name:e,value:r}}function DY(n){var t=wY(n),e=t.name,r=t.value,i=e.split(";");if(!i)throw new Error("empty property name");return{name:i[0].toUpperCase(),parms:i.slice(1),value:r}}function EY(n,t){if(t===void 0&&(t=!1),n=n&&n.trim(),!n)throw new Error("Invalid empty string");if(!t)return n.split(/\s/);for(var e=n.split(`
`),r=0;r<e.length;){var i=e[r]=e[r].replace(/\s+$/g,"");i?r>0&&i[0]===" "?(e[r-1]+=i.slice(1),e.splice(r,1)):r+=1:e.splice(r,1)}return e}function xY(n){n.forEach(function(t){if(!/(VALUE=DATE(-TIME)?)|(TZID=)/.test(t))throw new Error("unsupported RDATE/EXDATE parm: "+t)})}function Uw(n,t){return xY(t),n.split(",").map(function(e){return cl(e)})}var Yw,Vg=Q(()=>{Nr();Xn();Qg();Ht();cn();$g();Yw={dtstart:null,cache:!1,unfold:!1,forceset:!1,compatible:!1,tzid:null}});function qw(n){var t=this;return function(e){if(e!==void 0&&(t["_".concat(n)]=e),t["_".concat(n)]!==void 0)return t["_".concat(n)];for(var r=0;r<t._rrule.length;r++){var i=t._rrule[r].origOptions[n];if(i)return i}}}function Ww(n,t){if(!(n instanceof oe))throw new TypeError(String(n)+" is not RRule instance");Ue(t.map(String),String(n))||t.push(n)}function jw(n,t){if(!(n instanceof Date))throw new TypeError(String(n)+" is not Date instance");Ue(t.map(Number),Number(n))||(t.push(n),ci(t))}function $w(n,t,e){var r=!e||e.toUpperCase()==="UTC",i=r?"".concat(n,":"):"".concat(n,";TZID=").concat(e,":"),s=t.map(function(a){return la(a.valueOf(),r)}).join(",");return"".concat(i).concat(s)}var Kg,Qg=Q(()=>{Nr();Xn();Ht();cn();Lw();Vg();Hg();Kg=(function(n){ua(t,n);function t(e){e===void 0&&(e=!1);var r=n.call(this,{},e)||this;return r.dtstart=qw.apply(r,["dtstart"]),r.tzid=qw.apply(r,["tzid"]),r._rrule=[],r._rdate=[],r._exrule=[],r._exdate=[],r}return t.prototype._iter=function(e){return Fw(e,this._rrule,this._exrule,this._rdate,this._exdate,this.tzid())},t.prototype.rrule=function(e){Ww(e,this._rrule)},t.prototype.exrule=function(e){Ww(e,this._exrule)},t.prototype.rdate=function(e){jw(e,this._rdate)},t.prototype.exdate=function(e){jw(e,this._exdate)},t.prototype.rrules=function(){return this._rrule.map(function(e){return yc(e.toString())})},t.prototype.exrules=function(){return this._exrule.map(function(e){return yc(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(gl({dtstart:this._dtstart}))),this._rrule.forEach(function(r){e=e.concat(r.toString().split(`
`))}),this._exrule.forEach(function(r){e=e.concat(r.toString().split(`
`).map(function(i){return i.replace(/^RRULE:/,"EXRULE:")}).filter(function(i){return!/^DTSTART/.test(i)}))}),this._rdate.length&&e.push($w("RDATE",this._rdate,this.tzid())),this._exdate.length&&e.push($w("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(r){return e.rrule(r.clone())}),this._exrule.forEach(function(r){return e.exrule(r.clone())}),this._rdate.forEach(function(r){return e.rdate(new Date(r.getTime()))}),this._exdate.forEach(function(r){return e.exdate(new Date(r.getTime()))}),e},t})(oe)});var Hw=Q(()=>{Xn();Qg();Vg();fi();ls();Ht()});var mi,bc=Q(()=>{"use strict";Hw();mi=class n{constructor({rrule:t,baseOnToday:e,occurrence:r}){this.rrule=t,this.baseOnToday=e,this.occurrence=r}static fromText({recurrenceRuleText:t,occurrence:e}){try{let r=t.match(/^([a-zA-Z0-9, !]+?)( when done)?$/i);if(r==null)return null;let i=r[1].trim(),s=r[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 n({rrule:l,baseOnToday:s,occurrence:e})}}catch(r){return null}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(Y({},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 r=window.moment.utc(e.after(t.toDate())),i=this.toText(),s=i.match(/every( \d+)? month(s)?(.*)?/);s!==null&&(i.includes(" on ")||(r=n.nextAfterMonths(t,r,e,s[1])));let a=i.match(/every( \d+)? year(s)?(.*)?/);return a!==null&&(r=n.nextAfterYears(t,r,e,a[1])),n.addTimezone(r)}static nextAfterMonths(t,e,r,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));n.isSkippingTooManyMonths(t,e,s);)e=n.fromOneDayEarlier(t,r);return e}static isSkippingTooManyMonths(t,e,r){let i=e.month()-t.month(),s=e.year()-t.year();return i+=s*12,i>r}static nextAfterYears(t,e,r,i){let s=1;for(i!==void 0&&(s=Number.parseInt(i.trim(),10));n.isSkippingTooManyYears(t,e,s);)e=n.fromOneDayEarlier(t,r);return e}static isSkippingTooManyYears(t,e,r){return e.year()-t.year()>r}static fromOneDayEarlier(t,e){t.subtract(1,"days").endOf("day");let r=e.origOptions;return r.dtstart=t.startOf("day").toDate(),e=new oe(r),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 Bw(n,t,e){let r=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 r.entries())if(t.startsWith(i))return n.setVisibility(s,e),!0;return t.startsWith("tags")?(n.setTagsVisibility(e),!0):!1}var yl,Tc,Lr,ps=Q(()=>{"use strict";yl=(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))(yl||{}),Tc=Object.values(yl),Lr=class{constructor(){this.visible={};this.tagsVisible=!0;Tc.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 Tc.filter(t=>this.visible[t])}get hiddenComponents(){return Tc.filter(t=>!this.visible[t])}get toggleableComponents(){return Tc.filter(t=>t!=="description"&&t!=="blockLink")}toggleVisibilityExceptDescriptionAndBlockLink(){this.toggleableComponents.forEach(t=>{this.visible[t]=!this.visible[t]}),this.setTagsVisibility(!this.areTagsShown())}}});var zt,bt,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||{}),bt=class{constructor(t,e,r,i,s="TODO"){this.symbol=t,this.name=e,this.nextStatusSymbol=r,this.availableAsCommand=i,this.type=s}}});function Gw(n){let t=n.trim().toLowerCase();return t==="delete"?"delete":t==="keep"?"keep":""}function OY(n,t){return n.filter(e=>e!==t)}function RY(n,t){let e=n.status,r=t.status,i=r.type===e.type;return r.type!=="DONE"||i}function zw(n,t){let e=t.length;if(n.onCompletion===""||n.onCompletion==="keep"||e===0)return t;let r=t[e-1];if(RY(n,r))return t;let s=n.onCompletion;return s==="delete"?OY(t,r):(console.warn(`OnCompletion action ${s} not yet implemented.`),t)}var vc=Q(()=>{"use strict";In()});var ms=Q(()=>{"use strict"});function fa(n){return ma(n,"(\\d{4}-\\d{2}-\\d{2})")}function ma(n,t){let e=n+"\uFE0F?";return t!==""&&(e+=" *"+t),e+="$",new RegExp(e)}function kc(n,t,e){return e?n?" "+t:` ${t} ${e}`:""}function pa(n,t,e){return e?n?" "+t:` ${t} ${e.format(We.dateFormat)}`:""}function Vw(){let n=[];return Object.values(bl.prioritySymbols).forEach(t=>{t.length>0&&n.push(t)}),Object.values(bl).forEach(t=>{typeof t=="string"&&n.push(t)}),n}var hs,Zg,bl,gs,vl=Q(()=>{"use strict";ps();vc();ac();bc();At();ms();Zr();hs=/[a-zA-Z0-9-_]+/,Zg=new RegExp(hs.source+"( *, *"+hs.source+" *)*");bl={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:ma("(\u{1F53A}|\u23EB|\u{1F53C}|\u{1F53D}|\u23EC)",""),startDateRegex:fa("\u{1F6EB}"),createdDateRegex:fa("\u2795"),scheduledDateRegex:fa("(?:\u23F3|\u231B)"),dueDateRegex:fa("(?:\u{1F4C5}|\u{1F4C6}|\u{1F5D3})"),doneDateRegex:fa("\u2705"),cancelledDateRegex:fa("\u274C"),recurrenceRegex:ma("\u{1F501}","([a-zA-Z0-9, !]+)"),onCompletionRegex:ma("\u{1F3C1}","([a-zA-Z]+)"),dependsOnRegex:ma("\u26D4","("+Zg.source+")"),idRegex:ma("\u{1F194}","("+hs.source+")")}};gs=class{constructor(t){this.symbols=t}serialize(t){let e=new Lr,r="",i=!1;for(let s of e.shownComponents)r+=this.componentToString(t,i,s);return r}componentToString(t,e,r){var b;let{prioritySymbols:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,doneDateSymbol:l,cancelledDateSymbol:u,recurrenceSymbol:c,onCompletionSymbol:d,dueDateSymbol:f,dependsOnSymbol:p,idSymbol:h}=this.symbols;switch(r){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 pa(e,s,t.startDate);case"createdDate":return pa(e,a,t.createdDate);case"scheduledDate":return t.scheduledDateIsInferred?"":pa(e,o,t.scheduledDate);case"doneDate":return pa(e,l,t.doneDate);case"cancelledDate":return pa(e,u,t.cancelledDate);case"dueDate":return pa(e,f,t.dueDate);case"recurrenceRule":return t.recurrence?kc(e,c,t.recurrence.toText()):"";case"onCompletion":return t.onCompletion===""?"":kc(e,d,t.onCompletion);case"dependsOn":return t.dependsOn.length===0?"":kc(e,p,t.dependsOn.join(","));case"id":return kc(e,h,t.id);case"blockLink":return(b=t.blockLink)!=null?b:"";default:throw new Error(`Don't know how to render task component of type '${r}'`)}}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,r){this.extractField(t,e,i=>{r(window.moment(i[1],We.dateFormat))})}extractField(t,e,r){let i=t.line.match(e);i!==null&&(r(i),t.line=t.line.replace(e,"").trim(),t.matched=!0)}deserialize(t){let{TaskFormatRegularExpressions:e}=this.symbols,r={line:t,matched:!1},i="3",s=null,a=null,o=null,l=null,u=null,c=null,d="",f=null,p="",h="",b=[],v="",E=20,O=0;do r.matched=!1,this.extractField(r,e.priorityRegex,x=>{i=this.parsePriority(x[1])}),this.extractDateField(r,e.doneDateRegex,x=>l=x),this.extractDateField(r,e.cancelledDateRegex,x=>u=x),this.extractDateField(r,e.dueDateRegex,x=>o=x),this.extractDateField(r,e.scheduledDateRegex,x=>a=x),this.extractDateField(r,e.startDateRegex,x=>s=x),this.extractDateField(r,e.createdDateRegex,x=>c=x),this.extractField(r,e.recurrenceRegex,x=>{d=x[1].trim()}),this.extractField(r,e.onCompletionRegex,x=>{p=Gw(x[1])}),this.extractField(r,We.hashTagsFromEnd,x=>{let q=x[0].trim();v=v.length>0?[q,v].join(" "):q}),this.extractField(r,e.idRegex,x=>{h=x[1].trim()}),this.extractField(r,e.dependsOnRegex,x=>{b=x[1].replace(/ /g,"").split(",").filter(q=>q!=="")}),O++;while(r.matched&&O<=E);return d.length>0&&(f=mi.fromText({recurrenceRuleText:d,occurrence:new li({startDate:s,scheduledDate:a,dueDate:o})})),v.length>0&&(r.line+=" "+v),{description:r.line,priority:i,startDate:s,createdDate:c,scheduledDate:a,dueDate:o,doneDate:l,cancelledDate:u,recurrence:f,onCompletion:p,id:h,dependsOn:b,tags:ke.extractHashtags(r.line)}}}});function kl(n){let t="",e=!0;for(;e;)t=Math.random().toString(36).substring(2,8),n.includes(t)||(e=!1);return t}function Sc(n,t){return n.id!==""?n:new ke(pe(Y({},n),{id:kl(t)}))}function Kw(n,t){let e=n;if(!n.dependsOn.includes(t.id)){let r=[...n.dependsOn,t.id];e=new ke(pe(Y({},n),{dependsOn:r}))}return e}function Qw(n,t){let e=n;if(n.dependsOn.includes(t.id)){let r=n.dependsOn.filter(i=>i!==t.id);e=new ke(pe(Y({},n),{dependsOn:r}))}return e}var _c=Q(()=>{"use strict";At()});function Ii(n){return n.replace(/([.*+?^${}()|[\]/\\])/g,"\\$1")}var Sl=Q(()=>{"use strict"});var hi,Ae,dn=Q(()=>{"use strict";Sl();hi=class hi{constructor(){this._globalFilter="";this._removeGlobalFilter=!1}static getInstance(){return hi.instance||(hi.instance=new hi),hi.instance}get(){return this._globalFilter}set(t){this._globalFilter=t}reset(){this.set(hi.empty)}isEmpty(){return this.get()===hi.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)"+Ii(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()}};hi.empty="";Ae=hi});function ys(n){return Ae.getInstance().removeAsWordFrom(n.description)}function AY(n,t){if(n==="")return t;let e=(0,Xw.prepareSimpleSearch)(n),r=-4;return t.map(a=>{let o=e(ys(a));return o&&o.score>r?{item:a,match:o}:null}).filter(Boolean).sort((a,o)=>o.match.score-a.match.score).map(a=>a.item)}function wc(n,t,e,r,i){let s=AY(n,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)||r!=null&&r.includes(a)||i!=null&&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,MY)}var Xw,MY,Xg=Q(()=>{"use strict";Xw=require("obsidian");dn();MY=20});function Jw(n){return globalThis.SHOW_DEPENDENCY_SUGGESTIONS&&n}function ey(n,t,e){let r=[n.startDateSymbol,n.scheduledDateSymbol,n.dueDateSymbol].join("|");return(i,s,a,o,l,u)=>{let c=[],{postfix:d,insertSkip:f}=IY(e,i,s),p={line:i,cursorPos:s,settings:a,dataviewMode:e,postfix:d,insertSkip:f};return c=c.concat(qY(r,t,p)),c=c.concat(WY(n.recurrenceSymbol,p)),Jw(l)&&(c=c.concat($Y(n.idSymbol,o,p)),c=c.concat(HY(n.dependsOnSymbol,o,p,u))),c=c.concat(jY(n.onCompletionSymbol,t,p)),c=c.concat(NY(n,l,p)),c.length>0&&!c.some(h=>h.suggestionType==="match")&&(e||c.unshift({suggestionType:"empty",displayText:"\u23CE",appendText:`
`})),c=c.slice(0,a.autoSuggestMaxItems),c}}function IY(n,t,e){let r=GY(t.substring(0,e),[["(",")"],["[","]"]])=="("?")":"]",i=n?r+" ":" ",s=n&&t.length>e&&t.charAt(e)===r?1:0;return{postfix:i,insertSkip:s}}function NY(n,t,e){let r=[],i=e.line;bs(r,i,n.dueDateSymbol,"due date"),bs(r,i,n.startDateSymbol,"start date"),bs(r,i,n.scheduledDateSymbol,"scheduled date"),FY(r,n,e),bs(r,i,n.recurrenceSymbol,"recurring (repeat)"),LY(r,n,e),Jw(t)&&(bs(r,i,n.idSymbol,"id"),bs(r,i,n.dependsOnSymbol,"depends on id")),bs(r,i,n.onCompletionSymbol,"on completion");let s=YY(r,e);return s.length===0&&e.settings.autoSuggestMinMatch===0?r:s}function bs(n,t,e,r){t.includes(e)||n.push({displayText:`${e} ${r}`,appendText:`${e} `})}function FY(n,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];n.push({displayText:e.dataviewMode?`${o} priority`:`${o} ${a.toLowerCase()} priority`,appendText:`${o}${e.postfix}`,insertSkip:e.dataviewMode?e.insertSkip:void 0})}}}function LY(n,t,e){if(!e.line.includes(t.createdDateSymbol)){let i=oi.parseDate("today",!0).format(We.dateFormat);n.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 YY(n,t){let e=ha(/([a-zA-Z'_-]*)/g,t),r=[];if(e&&e.length>0){let i=e[0];if(i.length>=Math.max(1,t.settings.autoSuggestMinMatch)){let s=n.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;r.push({suggestionType:"match",displayText:a.displayText,appendText:a.appendText,insertAt:e.index,insertSkip:o})}}}return r}function eD(n,t){let e=`${t}`,r=`${n} ${t}`;return{displayText:e,appendText:r}}function UY(n,t){let r=`${oi.parseDate(t,!0).format(We.dateFormat)}`,i=`${t} (${r})`,s=`${n} ${r}`;return{displayText:i,appendText:s}}function qY(n,t,e){let r=["today","tomorrow","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","next week","next month","next year"],i=[],s=new RegExp(`(${n})\\s*([0-9a-zA-Z ]*)`,"ug"),a=ha(s,e);if(a&&a.length>=2){let o=a[2];if(o.length<e.settings.autoSuggestMinMatch)return[];let l=o&&o.length>1?oi.parseDate(sc(o),!0):null;if(l!=null&&l.isValid()){let c=l.format(We.dateFormat);Dc(e,a,[c],eD,i)}let u=ty(r,o,t,!0);Dc(e,a,u,UY,i)}return i}function WY(n,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"],r=[],i=new RegExp(`(${n})\\s*([0-9a-zA-Z ]*)`,"ug"),s=ha(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=mi.fromText({recurrenceRuleText:l,occurrence:new li({startDate:null,scheduledDate:null,dueDate:null})}))==null?void 0:a.toText();if(f){let p=`${o} ${f}`+t.postfix;if(r.push({suggestionType:"match",displayText:`\u2705 ${f}`,appendText:p,insertAt:s.index,insertSkip:ny(s[0],t)}),s[0]==p)return[]}}let u=t.settings.autoSuggestMaxItems/2,c=ty(e,l,u,!1);c.length===0&&l.trim().length===0&&(c=e.slice(0,u)),Dc(t,s,c,(f,p)=>{let h=`${p}`,b=`${f} ${p}`;return{displayText:h,appendText:b}},r)}return r}function jY(n,t,e){let r=["delete","keep"],i=[],s=new RegExp(`(${n})\\s*([0-9a-zA-Z ]*)`,"ug"),a=ha(s,e);if(a&&a.length>=2){let o=a[2];if(o.length<e.settings.autoSuggestMinMatch)return[];let l=ty(r,o,t,!0);Dc(e,a,l,eD,i)}return i}function $Y(n,t,e){let r=[],i=new RegExp(`(${n})\\s*(${hs.source})?`,"ug"),s=ha(i,e);if(s&&s[0].trim().length<=n.length){let a=kl(t.map(o=>o.id));r.push({suggestionType:"match",displayText:"generate unique id",appendText:`${n} ${a}`+e.postfix,insertAt:s.index,insertSkip:ny(s[0],e)})}return r}function HY(n,t,e,r){let i=[],s=e.dataviewMode?Ii("()[]"):Vw(),a=new RegExp(`(${n})([0-9a-zA-Z-_ ^,]*,)*([^,${s}]*)`,"ug"),o=ha(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=wc(u.trim(),t,r,[],c);for(let f of d)i.push({suggestionType:"match",displayText:`${f.descriptionWithoutTags} - From: ${f.filename}.md`,appendText:`${n}${l}`,insertAt:o.index,insertSkip:n.length+l.length+u.length,taskItDependsOn:f})}}return i}function ty(n,t,e,r){let s=n.filter(a=>t&&t.length>=1&&a.toLowerCase().includes(t.toLowerCase())).slice(0,e);return r&&s.length===0&&(s=n.slice(0,e)),s}function Dc(n,t,e,r,i){let s=t[1];for(let a of e){let{displayText:o,appendText:l}=r(s,a);i.push({suggestionType:"match",displayText:o,appendText:l+n.postfix,insertAt:t.index,insertSkip:ny(t[0],n)})}}function ha(n,t){let e=t.line.matchAll(n),r=t.cursorPos;for(let i of e)if(i!=null&&i.index&&i.index<r&&r<=i.index+i[0].length)return i}function BY(n,t){if(t.length===0)return!1;let e=Object.fromEntries(t.map(([i,s])=>[i,0])),r=Object.fromEntries(t.map(([i,s])=>[s,i]));for(let i of n)i in e?e[i]++:i in r&&(e[r[i]]=Math.max(0,e[r[i]]-1));return Object.values(e).some(i=>i>0)}function GY(n,t){if(t.length===0)return null;let e=Object.fromEntries(t.map(([s,a])=>[s,0])),r=Object.fromEntries(t.map(([s,a])=>[a,s])),i=[];for(let s=0;s<n.length;s++){let a=n[s];if(a in e)e[a]++,i.push({bracket:a,idx:s});else if(a in r){if(e[r[a]]>=1){for(let o=i.length-1;o>=0;o--)if(i[o].bracket==r[a]){i.splice(o,1);break}}e[r[a]]=Math.max(0,e[r[a]]-1)}}return i.length>0?i[i.length-1].bracket:null}function tD(n,t){return(e,r,i,s,a)=>BY(e.slice(0,r),t)?n(e,r,i,s,a):[]}function nD(n,t,e){let r=Ae.getInstance().includedIn(n),i=zY(e,t,r);return typeof i=="boolean"?i:r&&VY(n,t.ch)}function zY(n,t,e){var r,i;return(i=(r=n==null?void 0:n.editorComponent)==null?void 0:r.showTasksPluginAutoSuggest)==null?void 0:i.call(r,t,n,e)}function VY(n,t){if(n.length===0)return!1;let e=ke.extractTaskComponents(n);if(!e||e.status.type==="NON_TASK")return!1;let r=e.indentation+e.listMarker+" ["+e.status.symbol+"] ";return t>=r.length}function ny(n,t){return t.dataviewMode?n.length+t.insertSkip:n.length}var Jg,PY,ry=Q(()=>{"use strict";Ag();Pg();ac();bc();vl();At();_c();dn();Zr();Xg();Sl();In();Jg=5,PY=!0;globalThis.SHOW_DEPENDENCY_SUGGESTIONS=PY});var hr,_l=Q(()=>{"use strict";ms();hr=class n{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 n.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 gr(n){let t=["(?:",/(?=[^\]]+\])\[/,"|",/(?=[^)]+\))\(/,")",/ */,n,/ */,/[)\]]/,/(?: *,)?/,/$/].map(e=>e instanceof RegExp?e.source:e).join("");return new RegExp(t,n.flags)}var iy,Ec,sy=Q(()=>{"use strict";ps();_l();vl();iy={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:gr(/priority:: *(highest|high|medium|low|lowest)/),startDateRegex:gr(/start:: *(\d{4}-\d{2}-\d{2})/),createdDateRegex:gr(/created:: *(\d{4}-\d{2}-\d{2})/),scheduledDateRegex:gr(/scheduled:: *(\d{4}-\d{2}-\d{2})/),dueDateRegex:gr(/due:: *(\d{4}-\d{2}-\d{2})/),doneDateRegex:gr(/completion:: *(\d{4}-\d{2}-\d{2})/),cancelledDateRegex:gr(/cancelled:: *(\d{4}-\d{2}-\d{2})/),recurrenceRegex:gr(/repeat:: *([a-zA-Z0-9, !]+)/),onCompletionRegex:gr(/onCompletion:: *([a-zA-Z]+)/),dependsOnRegex:gr(new RegExp("dependsOn:: *("+Zg.source+")")),idRegex:gr(new RegExp("id:: *("+hs.source+")"))}},Ec=class extends gs{constructor(){super(iy)}parsePriority(t){return hr.priorityValue(t)}componentToString(t,e,r){let i=super.componentToString(t,e,r),s=["blockLink","description"];return i!==""&&!s.includes(r)?`  [${i.trim()}]`:i}}});var Tt,Oe,yr=Q(()=>{"use strict";In();Tt=class Tt{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";default:return"TODO"}}static getTypeFromStatusTypeString(t){return zt[t]||"TODO"}static createUnknownStatus(t){return new Tt(new bt(t,"Unknown","x",!1,"TODO"))}static createFromImportedValue(t){let e=t[0],r=Tt.getTypeFromStatusTypeString(t[3]);return new Tt(new bt(e,t[1],t[2],!1,r))}isCompleted(){return this.type==="DONE"}isCancelled(){return this.type==="CANCELLED"}identicalTo(t){let e=["symbol","name","nextStatusSymbol","availableAsCommand","type"];for(let r of e)if(this[r]!==t[r])return!1;return!0}previewText(){let t="";return Tt.tasksPluginCanCreateCommandsForStatuses()&&this.availableAsCommand&&(t=" Available as a command."),`- [${this.symbol}] => [${this.nextStatusSymbol}], name: '${this.name}', type: '${this.configuration.type}'.${t}`}static tasksPluginCanCreateCommandsForStatuses(){return!1}};Tt.DONE=new Tt(new bt("x","Done"," ",!0,"DONE")),Tt.EMPTY=new Tt(new bt("","EMPTY","",!0,"EMPTY")),Tt.TODO=new Tt(new bt(" ","Todo","x",!0,"TODO")),Tt.CANCELLED=new Tt(new bt("-","Cancelled"," ",!0,"CANCELLED")),Tt.IN_PROGRESS=new Tt(new bt("/","In Progress","x",!0,"IN_PROGRESS")),Tt.ON_HOLD=new Tt(new bt("h","On Hold"," ",!0,"ON_HOLD")),Tt.NON_TASK=new Tt(new bt("Q","Non-Task","A",!0,"NON_TASK"));Oe=Tt});var rD=Q(()=>{"use strict";vl()});function KY(n){let t=n,e=!1,r=n.split(`
`);r.length>1&&(t=r[0],e=!0);let i=50;return t.length>i&&(t=t.slice(0,i),e=!0),e&&(t+="..."),t}function sD(n,t){let e=`Cannot find preset "${n}" in the Tasks settings`;if(Object.keys(t).length===0)e+=`
You can define the instruction(s) for "${n}" in the Tasks settings.`;else{let i=Math.max(...Object.keys(t).map(a=>a.length)),s=Object.entries(t).sort(([a],[o])=>a.localeCompare(o)).map(([a,o])=>`${a.padEnd(i)}: ${KY(o)}`).join(`
  `);e+=`
The following presets are defined in the Tasks settings:
  ${s}`}return e}var iD,ay=Q(()=>{"use strict";iD={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 xc,aD=Q(()=>{"use strict";xc=class{constructor(t=!1,e=!1,r=!1){this.ignoreSortInstructions=t,this.showTaskHiddenData=e,this.recordTimings=r}}});var ga,Oc=Q(()=>{"use strict";ga={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 St,ya=Q(()=>{"use strict";yr();St=class n{constructor(){this.coreStatuses=[Oe.TODO.configuration,Oe.DONE.configuration],this.customStatuses=[Oe.IN_PROGRESS.configuration,Oe.CANCELLED.configuration]}static addStatus(t,e){t.push(e)}static replaceStatus(t,e,r){let i=this.findStatusIndex(e,t);return i<=-1?!1:(t.splice(i,1,r),!0)}static findStatusIndex(t,e){let r=new Oe(t);return e.findIndex(i=>new Oe(i).previewText()==r.previewText())}static deleteStatus(t,e){let r=this.findStatusIndex(e,t);return r<=-1?!1:(t.splice(r,1),!0)}static deleteAllCustomStatuses(t){t.customStatuses.splice(0)}static resetAllCustomStatuses(t){n.deleteAllCustomStatuses(t),new n().customStatuses.forEach(r=>{n.addStatus(t.customStatuses,r)})}static bulkAddStatusCollection(t,e){let r=[];return e.forEach(i=>{t.customStatuses.find(a=>a.symbol==i[0]&&a.name==i[1]&&a.nextStatusSymbol==i[2])?r.push(`The status ${i[1]} (${i[0]}) is already added.`):n.addStatus(t.customStatuses,Oe.createFromImportedValue(i))}),r}static allStatuses(t){return t.coreStatuses.concat(t.customStatuses)}static applyToStatusRegistry(t,e){e.clearStatuses(),n.allStatuses(t).forEach(r=>{e.add(r)})}}});var lD,oD=Q(()=>{lD=[{index:9999,internalName:"INTERNAL_TESTING_ENABLED_BY_DEFAULT",displayName:"Test Item. Used to validate the Feature Framework.",description:"Description",enabledByDefault:!0,stable:!1}]});var wl,uD=Q(()=>{"use strict";oD();wl=class n{constructor(t,e,r,i,s,a){this.internalName=t;this.index=e;this.description=r;this.displayName=i;this.enabledByDefault=s;this.stable=a}static get values(){let t=[];return lD.forEach(e=>{t=[...t,new n(e.internalName,e.index,e.description,e.displayName,e.enabledByDefault,e.stable)]}),t}static get settingsFlags(){let t={};return n.values.forEach(e=>{t[e.internalName]=e.enabledByDefault}),t}static fromString(t){for(let e of n.values)if(t===e.internalName)return e;throw new RangeError(`Illegal argument passed to fromString(): ${t} does not correspond to any available Feature ${this.name}`)}}});function oy(n,t){for(let e in n)t[e]===void 0&&(t[e]=n[e])}function Dl(){return Nn[J().taskFormat]}function ZY(n){let t=Y({},n);return"includes"in t&&!("presets"in t)&&(t.presets=t.includes,delete t.includes),t}var Nn,ly,gi,J,it,Ts,cD,gt=Q(()=>{"use strict";ry();vl();sy();In();yr();rD();sy();wi();ay();aD();Oc();ya();uD();Nn={tasksPluginEmoji:{getDisplayName:()=>R.t("settings.format.displayName.tasksEmojiFormat"),taskSerializer:new gs(bl),buildSuggestions:ey(bl,Jg,!1)},dataview:{getDisplayName:()=>R.t("settings.format.displayName.dataview"),taskSerializer:new Ec,buildSuggestions:tD(ey(iy,Jg,!0),[["(",")"],["[","]"]])}},ly={presets:iD,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,searchResults:{taskCountLocation:"bottom"},statusSettings:new St,isShownInEditModal:ga,features:wl.settingsFlags,generalSettings:{},headingOpened:{},debugSettings:new xc,loggingOptions:{minLevels:{"":"info",tasks:"info","tasks.Cache":"info","tasks.Events":"info","tasks.File":"info","tasks.Query":"info","tasks.Task":"info"}}},gi=Y({},ly);J=()=>(oy(wl.settingsFlags,gi.features),oy(ly.loggingOptions.minLevels,gi.loggingOptions.minLevels),oy(ly.debugSettings,gi.debugSettings),gi.statusSettings.customStatuses.forEach((n,t,e)=>{var i,s;let r=Oe.getTypeFromStatusTypeString(n.type);e[t]=new bt((i=n.symbol)!=null?i:" ",n.name,(s=n.nextStatusSymbol)!=null?s:"x",n.availableAsCommand,r)}),Y({},gi)),it=n=>{let t=ZY(n);return gi=Y(Y({},gi),t),J()},Ts=(n,t)=>(gi.generalSettings[n]=t,J()),cD=n=>{var t;return(t=gi.features[n])!=null?t:!1}});function Rc(n){let e={"<":"&lt;",">":"&gt;","&":"&amp;",'"':"&quot;"}[n];return e!==void 0?e:n}function dD(n){let t=[...n],e="";return t.forEach(r=>{e+=Rc(r)}),e}var fD=Q(()=>{"use strict"});var Xe,br=Q(()=>{"use strict";fD();yr();In();Xe=class n{constructor(){this._registeredStatuses=[];this.addDefaultStatusTypes()}set(t){this.clearStatuses(),t.forEach(e=>{this.add(e)})}get registeredStatuses(){return this._registeredStatuses.filter(({symbol:t})=>t!==Oe.EMPTY.symbol)}static getInstance(){return n.instance||(n.instance=new n),n.instance}add(t){this.hasSymbol(t.symbol)||(t instanceof Oe?this._registeredStatuses.push(t):this._registeredStatuses.push(new Oe(t)))}bySymbol(t){return this.hasSymbol(t)?this.getSymbol(t):Oe.EMPTY}bySymbolOrCreate(t){return this.hasSymbol(t)?this.getSymbol(t):Oe.createUnknownStatus(t)}byName(t){return this._registeredStatuses.filter(({name:e})=>e===t).length>0?this._registeredStatuses.filter(({name:e})=>e===t)[0]:Oe.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 Oe.EMPTY}getNextStatusOrCreate(t){let e=this.getNextStatus(t);return e.type!=="EMPTY"?e:Oe.createUnknownStatus(t.nextStatusSymbol)}getNextRecurrenceStatusOrCreate(t){let e=this.getNextStatusOrCreate(t),r=this.getNextRecurrenceStatusOfType(e,"TODO");if(r)return r;let i=this.getNextRecurrenceStatusOfType(e,"IN_PROGRESS");return i||this.bySymbolOrCreate(" ")}getNextRecurrenceStatusOfType(t,e){if(t.type===e)return t;let r=t;for(let i=0;i<this.registeredStatuses.length-1;i++)if(r=this.getNextStatusOrCreate(r),r.type===e)return r}findUnknownStatuses(t){let e=t.filter(s=>!this.hasSymbol(s.symbol)),r=new n,i=[];return e.forEach(s=>{if(r.hasSymbol(s.symbol))return;let a=n.copyStatusWithNewName(s,`Unknown (${s.symbol})`);i.push(a),r.add(a)}),i.sort((s,a)=>s.symbol.localeCompare(a.symbol,void 0,{numeric:!0}))}static copyStatusWithNewName(t,e){let r=new bt(t.symbol,e,t.nextStatusSymbol,t.availableAsCommand,t.type);return new Oe(r)}getSymbol(t){return this._registeredStatuses.filter(({symbol:e})=>e===t)[0]}hasSymbol(t){return this._registeredStatuses.find(e=>e.symbol===t)!==void 0}addDefaultStatusTypes(){[Oe.TODO,Oe.IN_PROGRESS,Oe.DONE,Oe.CANCELLED].forEach(e=>{this.add(e)})}mermaidDiagram(t=!1){let e=this.registeredStatuses,r="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)}}),`
\`\`\`${r}
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,r,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}`;r.push(c)}}getMermaidNodeLabel(t,e){let r=dD(t.name),i=t.type;if(e){let s=Rc(t.symbol),a=Rc(t.nextStatusSymbol),o=`[${s}] -> [${a}]`,l=`'${r}'`,u=`(${i})`;return`["${l}<br>${o}<br>${u}"]:::${i}`}else return`["${r}"]:::${i}`}}});var Yr,pD=Q(()=>{"use strict";Yr=class{constructor(t,e){this.name=t,this.sortOrder=e}get groupText(){return this.name!==""?`%%${this.sortOrder}%% ${this.name}`:""}}});var mD,Ut,Cc=Q(()=>{"use strict";mD=require("obsidian");pD();Zr();Ut=class{constructor(t){this._date=null;this._date=t}get moment(){return this._date?this._date.clone():null}formatAsDate(t=""){return this.format(We.dateFormat,t)}formatAsDateAndTime(t=""){return this.format(We.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 Yr("Overdue",1):e.isSame(t,"day")?new Yr("Today",2):e.isValid()?new Yr("Future",3):new Yr("Invalid date",0):new Yr("Undated",4)}get fromNow(){let t=this.moment;if(!t)return new Yr("",0);let e=this.fromNowOrder(t);return new Yr(t.fromNow(),e)}fromNowOrder(t){if(!t.isValid())return 0;let e=window.moment(),r=t.isSameOrBefore(e,"second"),i=this.fromNowStartDateOfGroup(t,r,e);return Number((r?1:3)+i.format("YYYYMMDDHHmm"))}fromNowStartDateOfGroup(t,e,r){let i=t.clone().locale("en").fromNow(!0).split(" "),s,a=Number(i[0]);isNaN(a)?s=1:s=a;let o=i[1];return e?r.subtract(s,o):r.add(s,o)}postpone(t="days",e=1){if(!this._date)throw new mD.Notice("Cannot postpone a null date");let r=window.moment().startOf("day");return this._date.isSameOrAfter(r,"day")?this._date.clone().add(e,t):r.add(e,t)}}});var yD=M((hD,gD)=>{(function(n){var t=Object.hasOwnProperty,e=Array.isArray?Array.isArray:function(T){return Object.prototype.toString.call(T)==="[object Array]"},r=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!==n&&(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 S="(node) warning: possible EventEmitter memory leak detected. "+m+" listeners added. Use emitter.setMaxListeners() to increase limit.";if(this.verboseMemoryLeak&&(S+=" Event name: "+T+"."),typeof process!="undefined"&&process.emitWarning){var k=new Error(S);k.name="MaxListenersExceededWarning",k.emitter=this,k.count=m,process.emitWarning(k)}else console.error(S),console.trace&&console.trace()}var p=function(m,T,S){var k=arguments.length;switch(k){case 0:return[];case 1:return[m];case 2:return[m,T];case 3:return[m,T,S];default:for(var _=new Array(k);k--;)_[k]=arguments[k];return _}};function h(m,T){for(var S={},k,_=m.length,C=T?T.length:0,I=0;I<_;I++)k=m[I],S[k]=I<C?T[I]:n;return S}function b(m,T,S){this._emitter=m,this._target=T,this._listeners={},this._listenersCount=0;var k,_;if((S.on||S.off)&&(k=S.on,_=S.off),T.addEventListener?(k=T.addEventListener,_=T.removeEventListener):T.addListener?(k=T.addListener,_=T.removeListener):T.on&&(k=T.on,_=T.off),!k&&!_)throw Error("target does not implement any known event API");if(typeof k!="function")throw TypeError("on method must be a function");if(typeof _!="function")throw TypeError("off method must be a function");this._on=k,this._off=_;var C=m._observers;C?C.push(this):m._observers=[this]}Object.assign(b.prototype,{subscribe:function(m,T,S){var k=this,_=this._target,C=this._emitter,I=this._listeners,U=function(){var L=p.apply(null,arguments),w={data:L,name:T,original:m};if(S){var $=S.call(_,w);$!==!1&&C.emit.apply(C,[w.name].concat(L));return}C.emit.apply(C,[T].concat(L))};if(I[m])throw Error("Event '"+m+"' is already listening");this._listenersCount++,C._newListener&&C._removeListener&&!k._onNewListener?(this._onNewListener=function(L){L===T&&I[m]===null&&(I[m]=U,k._on.call(_,m,U))},C.on("newListener",this._onNewListener),this._onRemoveListener=function(L){L===T&&!C.hasListeners(L)&&I[m]&&(I[m]=null,k._off.call(_,m,U))},I[m]=null,C.on("removeListener",this._onRemoveListener)):(I[m]=U,k._on.call(_,m,U))},unsubscribe:function(m){var T=this,S=this._listeners,k=this._emitter,_,C,I=this._off,U=this._target,L;if(m&&typeof m!="string")throw TypeError("event must be a string");function w(){T._onNewListener&&(k.off("newListener",T._onNewListener),k.off("removeListener",T._onRemoveListener),T._onNewListener=null,T._onRemoveListener=null);var $=V.call(k,T);k._observers.splice($,1)}if(m){if(_=S[m],!_)return;I.call(U,m,_),delete S[m],--this._listenersCount||w()}else{for(C=u(S),L=C.length;L-- >0;)m=C[L],I.call(U,m,S[m]);this._listeners={},this._listenersCount=0,w()}}});function v(m,T,S,k){var _=Object.assign({},T);if(!m)return _;if(typeof m!="object")throw TypeError("options must be an object");var C=Object.keys(m),I=C.length,U,L,w;function $(ye){throw Error('Invalid "'+U+'" option value'+(ye?". Reason: "+ye:""))}for(var de=0;de<I;de++){if(U=C[de],!k&&!t.call(T,U))throw Error('Unknown "'+U+'" option');L=m[U],L!==n&&(w=S[U],_[U]=w?w(L,$):L)}return _}function E(m,T){return(typeof m!="function"||!m.hasOwnProperty("prototype"))&&T("value must be a constructor"),m}function O(m){var T="value must be type of "+m.join("|"),S=m.length,k=m[0],_=m[1];return S===1?function(C,I){if(typeof C===k)return C;I(T)}:S===2?function(C,I){var U=typeof C;if(U===k||U===_)return C;I(T)}:function(C,I){for(var U=typeof C,L=S;L-- >0;)if(U===m[L])return C;I(T)}}var x=O(["function"]),q=O(["object","function"]);function ee(m,T,S){var k,_,C=0,I,U=new m(function(L,w,$){S=v(S,{timeout:0,overload:!1},{timeout:function(Te,we){return Te*=1,(typeof Te!="number"||Te<0||!Number.isFinite(Te))&&we("timeout must be a positive number"),Te}}),k=!S.overload&&typeof m.prototype.cancel=="function"&&typeof $=="function";function de(){_&&(_=null),C&&(clearTimeout(C),C=0)}var ye=function(Te){de(),L(Te)},fe=function(Te){de(),w(Te)};k?T(ye,fe,$):(_=[function(Te){fe(Te||Error("canceled"))}],T(ye,fe,function(Te){if(I)throw Error("Unable to subscribe on cancel event asynchronously");if(typeof Te!="function")throw TypeError("onCancel callback must be a function");_.push(Te)}),I=!0),S.timeout>0&&(C=setTimeout(function(){var Te=Error("timeout");Te.code="ETIMEDOUT",C=0,U.cancel(Te),w(Te)},S.timeout))});return k||(U.cancel=function(L){if(_){for(var w=_.length,$=1;$<w;$++)_[$](L);_[0](L),_=null}}),U}function V(m){var T=this._observers;if(!T)return-1;for(var S=T.length,k=0;k<S;k++)if(T[k]._target===m)return k;return-1}function j(m,T,S,k,_){if(!S)return null;if(k===0){var C=typeof T;if(C==="string"){var I,U,L=0,w=0,$=this.delimiter,de=$.length;if((U=T.indexOf($))!==-1){I=new Array(5);do I[L++]=T.slice(w,U),w=U+de;while((U=T.indexOf($,w))!==-1);I[L++]=T.slice(w),T=I,_=L}else T=[T],_=1}else C==="object"?_=T.length:(T=[T],_=1)}var ye=null,fe,Te,we,tt,nt,F=T[k],Ye=T[k+1],jt,Pt;if(k===_)S._listeners&&(typeof S._listeners=="function"?(m&&m.push(S._listeners),ye=[S]):(m&&m.push.apply(m,S._listeners),ye=[S]));else if(F==="*"){for(jt=u(S),U=jt.length;U-- >0;)fe=jt[U],fe!=="_listeners"&&(Pt=j(m,T,S[fe],k+1,_),Pt&&(ye?ye.push.apply(ye,Pt):ye=Pt));return ye}else if(F==="**"){for(nt=k+1===_||k+2===_&&Ye==="*",nt&&S._listeners&&(ye=j(m,T,S,_,_)),jt=u(S),U=jt.length;U-- >0;)fe=jt[U],fe!=="_listeners"&&(fe==="*"||fe==="**"?(S[fe]._listeners&&!nt&&(Pt=j(m,T,S[fe],_,_),Pt&&(ye?ye.push.apply(ye,Pt):ye=Pt)),Pt=j(m,T,S[fe],k,_)):fe===Ye?Pt=j(m,T,S[fe],k+2,_):Pt=j(m,T,S[fe],k,_),Pt&&(ye?ye.push.apply(ye,Pt):ye=Pt));return ye}else S[F]&&(ye=j(m,T,S[F],k+1,_));if(Te=S["*"],Te&&j(m,T,Te,k+1,_),we=S["**"],we)if(k<_)for(we._listeners&&j(m,T,we,_,_),jt=u(we),U=jt.length;U-- >0;)fe=jt[U],fe!=="_listeners"&&(fe===Ye?j(m,T,we[fe],k+2,_):fe===F?j(m,T,we[fe],k+1,_):(tt={},tt[fe]=we[fe],j(m,T,{"**":tt},k+1,_)));else we._listeners?j(m,T,we,_,_):we["*"]&&we["*"]._listeners&&j(m,T,we["*"],_,_);return ye}function X(m,T,S){var k=0,_=0,C,I=this.delimiter,U=I.length,L;if(typeof m=="string")if((C=m.indexOf(I))!==-1){L=new Array(5);do L[k++]=m.slice(_,C),_=C+U;while((C=m.indexOf(I,_))!==-1);L[k++]=m.slice(_)}else L=[m],k=1;else L=m,k=m.length;if(k>1){for(C=0;C+1<k;C++)if(L[C]==="**"&&L[C+1]==="**")return}var w=this.listenerTree,$;for(C=0;C<k;C++)if($=L[C],w=w[$]||(w[$]={}),C===k-1)return w._listeners?(typeof w._listeners=="function"&&(w._listeners=[w._listeners]),S?w._listeners.unshift(T):w._listeners.push(T),!w._listeners.warned&&this._maxListeners>0&&w._listeners.length>this._maxListeners&&(w._listeners.warned=!0,f.call(this,w._listeners.length,$))):w._listeners=T,!0;return!0}function _e(m,T,S,k){for(var _=u(m),C=_.length,I,U,L,w=m._listeners,$;C-- >0;)U=_[C],I=m[U],U==="_listeners"?L=S:L=S?S.concat(U):[U],$=k||typeof U=="symbol",w&&T.push($?L:L.join(this.delimiter)),typeof I=="object"&&_e.call(this,I,T,L,$);return T}function Pe(m){for(var T=u(m),S=T.length,k,_,C;S-- >0;)_=T[S],k=m[_],k&&(C=!0,_!=="_listeners"&&!Pe(k)&&delete m[_]);return C}function K(m,T,S){this.emitter=m,this.event=T,this.listener=S}K.prototype.off=function(){return this.emitter.off(this.event,this.listener),this};function B(m,T,S){if(S===!0)_=!0;else if(S===!1)k=!0;else{if(!S||typeof S!="object")throw TypeError("options should be an object or true");var k=S.async,_=S.promisify,C=S.nextTick,I=S.objectify}if(k||C||_){var U=T,L=T._origin||T;if(C&&!i)throw Error("process.nextTick is not supported");_===n&&(_=T.constructor.name==="AsyncFunction"),T=function(){var w=arguments,$=this,de=this.event;return _?C?Promise.resolve():new Promise(function(ye){l(ye)}).then(function(){return $.event=de,U.apply($,w)}):(C?process.nextTick:l)(function(){$.event=de,U.apply($,w)})},T._async=!0,T._origin=L}return[T,I?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,S){if(typeof m!="object")throw TypeError("target musts be an object");var k=this;S=v(S,{on:n,off:n,reducers:n},{on:x,off:x,reducers:q});function _(C){if(typeof C!="object")throw TypeError("events must be an object");var I=S.reducers,U=V.call(k,m),L;U===-1?L=new b(k,m,S):L=k._observers[U];for(var w=u(C),$=w.length,de,ye=typeof I=="function",fe=0;fe<$;fe++)de=w[fe],L.subscribe(de,C[de]||de,ye?I:I&&I[de])}return e(T)?_(h(T)):_(typeof T=="string"?h(T.split(/\s+/)):T),this},P.prototype.stopListeningTo=function(m,T){var S=this._observers;if(!S)return!1;var k=S.length,_,C=!1;if(m&&typeof m!="object")throw TypeError("target should be an object");for(;k-- >0;)_=S[k],(!m||_._target===m)&&(_.unsubscribe(T),C=!0);return C},P.prototype.delimiter=".",P.prototype.setMaxListeners=function(m){m!==n&&(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,S){return this._once(m,T,!1,S)},P.prototype.prependOnceListener=function(m,T,S){return this._once(m,T,!0,S)},P.prototype._once=function(m,T,S,k){return this._many(m,1,T,S,k)},P.prototype.many=function(m,T,S,k){return this._many(m,T,S,!1,k)},P.prototype.prependMany=function(m,T,S,k){return this._many(m,T,S,!0,k)},P.prototype._many=function(m,T,S,k,_){var C=this;if(typeof S!="function")throw new Error("many only accepts instances of Function");function I(){return--T===0&&C.off(m,I),S.apply(this,arguments)}return I._origin=S,this._on(m,I,k,_)},P.prototype.emit=function(){if(!this._events&&!this._all)return!1;this._events||c.call(this);var m=arguments[0],T,S=this.wildcard,k,_,C,I,U;if(m==="newListener"&&!this._newListener&&!this._events.newListener)return!1;if(S&&(T=m,m!=="newListener"&&m!=="removeListener"&&typeof m=="object")){if(_=m.length,s){for(C=0;C<_;C++)if(typeof m[C]=="symbol"){U=!0;break}}U||(m=m.join(this.delimiter))}var L=arguments.length,w;if(this._all&&this._all.length)for(w=this._all.slice(),C=0,_=w.length;C<_;C++)switch(this.event=m,L){case 1:w[C].call(this,m);break;case 2:w[C].call(this,m,arguments[1]);break;case 3:w[C].call(this,m,arguments[1],arguments[2]);break;default:w[C].apply(this,arguments)}if(S)w=[],j.call(this,w,T,this.listenerTree,0,_);else if(w=this._events[m],typeof w=="function"){switch(this.event=m,L){case 1:w.call(this);break;case 2:w.call(this,arguments[1]);break;case 3:w.call(this,arguments[1],arguments[2]);break;default:for(k=new Array(L-1),I=1;I<L;I++)k[I-1]=arguments[I];w.apply(this,k)}return!0}else w&&(w=w.slice());if(w&&w.length){if(L>3)for(k=new Array(L-1),I=1;I<L;I++)k[I-1]=arguments[I];for(C=0,_=w.length;C<_;C++)switch(this.event=m,L){case 1:w[C].call(this);break;case 2:w[C].call(this,arguments[1]);break;case 3:w[C].call(this,arguments[1],arguments[2]);break;default:w[C].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,S,k,_,C,I,U;if(m==="newListener"&&!this._newListener&&!this._events.newListener)return Promise.resolve([!1]);if(T&&(S=m,m!=="newListener"&&m!=="removeListener"&&typeof m=="object")){if(C=m.length,s){for(I=0;I<C;I++)if(typeof m[I]=="symbol"){k=!0;break}}k||(m=m.join(this.delimiter))}var L=[],w=arguments.length,$;if(this._all)for(I=0,C=this._all.length;I<C;I++)switch(this.event=m,w){case 1:L.push(this._all[I].call(this,m));break;case 2:L.push(this._all[I].call(this,m,arguments[1]));break;case 3:L.push(this._all[I].call(this,m,arguments[1],arguments[2]));break;default:L.push(this._all[I].apply(this,arguments))}if(T?($=[],j.call(this,$,S,this.listenerTree,0)):$=this._events[m],typeof $=="function")switch(this.event=m,w){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(_=new Array(w-1),U=1;U<w;U++)_[U-1]=arguments[U];L.push($.apply(this,_))}else if($&&$.length){if($=$.slice(),w>3)for(_=new Array(w-1),U=1;U<w;U++)_[U-1]=arguments[U];for(I=0,C=$.length;I<C;I++)switch(this.event=m,w){case 1:L.push($[I].call(this));break;case 2:L.push($[I].call(this,arguments[1]));break;case 3:L.push($[I].call(this,arguments[1],arguments[2]));break;default:L.push($[I].apply(this,_))}}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,S){return this._on(m,T,!1,S)},P.prototype.prependListener=function(m,T,S){return this._on(m,T,!0,S)},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,S,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 _=this,C;return k!==n&&(C=B.call(this,m,T,k),T=C[0],_=C[1]),this._newListener&&this.emit("newListener",m,T),this.wildcard?(X.call(this,m,T,S),_):(this._events[m]?(typeof this._events[m]=="function"&&(this._events[m]=[this._events[m]]),S?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,_)},P.prototype.off=function(m,T){if(typeof T!="function")throw new Error("removeListener only takes instances of Function");var S,k=[];if(this.wildcard){var _=typeof m=="string"?m.split(this.delimiter):m.slice();if(k=j.call(this,null,_,this.listenerTree,0),!k)return this}else{if(!this._events[m])return this;S=this._events[m],k.push({_listeners:S})}for(var C=0;C<k.length;C++){var I=k[C];if(S=I._listeners,e(S)){for(var U=-1,L=0,w=S.length;L<w;L++)if(S[L]===T||S[L].listener&&S[L].listener===T||S[L]._origin&&S[L]._origin===T){U=L;break}if(U<0)continue;return this.wildcard?I._listeners.splice(U,1):this._events[m].splice(U,1),S.length===0&&(this.wildcard?delete I._listeners:delete this._events[m]),this._removeListener&&this.emit("removeListener",m,T),this}else(S===T||S.listener&&S.listener===T||S._origin&&S._origin===T)&&(this.wildcard?delete I._listeners:delete this._events[m],this._removeListener&&this.emit("removeListener",m,T))}return this.listenerTree&&Pe(this.listenerTree),this},P.prototype.offAny=function(m){var T=0,S=0,k;if(m&&this._all&&this._all.length>0){for(k=this._all,T=0,S=k.length;T<S;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,S=k.length;T<S;T++)this.emit("removeListenerAny",k[T]);this._all=[]}return this},P.prototype.removeListener=P.prototype.off,P.prototype.removeAllListeners=function(m){if(m===n)return!this._events||c.call(this),this;if(this.wildcard){var T=j.call(this,null,m,this.listenerTree,0),S,k;if(!T)return this;for(k=0;k<T.length;k++)S=T[k],S._listeners=null;this.listenerTree&&Pe(this.listenerTree)}else this._events&&(this._events[m]=null);return this},P.prototype.listeners=function(m){var T=this._events,S,k,_,C,I;if(m===n){if(this.wildcard)throw Error("event name required for wildcard emitter");if(!T)return[];for(S=u(T),C=S.length,_=[];C-- >0;)k=T[S[C]],typeof k=="function"?_.push(k):_.push.apply(_,k);return _}else{if(this.wildcard){if(I=this.listenerTree,!I)return[];var U=[],L=typeof m=="string"?m.split(this.delimiter):m.slice();return j.call(this,U,L,I,0),U}return T?(k=T[m],k?typeof k=="function"?[k]:k:[]):[]}},P.prototype.eventNames=function(m){var T=this._events;return this.wildcard?_e.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=[],S=typeof m=="string"?m.split(this.delimiter):m.slice();return j.call(this,T,S,this.listenerTree,0),T.length>0}var k=this._events,_=this._all;return!!(_&&_.length||k&&(m===n?u(k).length:k[m]))},P.prototype.listenersAny=function(){return this._all?this._all:[]},P.prototype.waitFor=function(m,T){var S=this,k=typeof T;return k==="number"?T={timeout:T}:k==="function"&&(T={filter:T}),T=v(T,{timeout:0,filter:n,handleError:!1,Promise,overload:!1},{filter:x,Promise:E}),ee(T.Promise,function(_,C,I){function U(){var L=T.filter;if(!(L&&!L.apply(S,arguments)))if(S.off(m,U),T.handleError){var w=arguments[0];w?C(w):_(p.apply(null,arguments).slice(1))}else _(p.apply(null,arguments))}I(function(){S.off(m,U)}),S._on(m,U,!1)},{timeout:T.timeout,overload:T.overload})};function te(m,T,S){S=v(S,{Promise,timeout:0,overload:!1},{Promise:E});var k=S.Promise;return ee(k,function(_,C,I){var U;if(typeof m.addEventListener=="function"){U=function(){_(p.apply(null,arguments))},I(function(){m.removeEventListener(T,U)}),m.addEventListener(T,U,{once:!0});return}var L=function(){w&&m.removeListener("error",w),_(p.apply(null,arguments))},w;T!=="error"&&(w=function($){m.removeListener(T,L),C($)},m.once("error",w)),I(function(){w&&m.removeListener("error",w),m.removeListener(T,L)}),m.once(T,L)},{timeout:S.timeout,overload:S.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:te,writable:!0,configurable:!0}}),Object.defineProperties(H,{_maxListeners:{value:r,writable:!0,configurable:!0},_observers:{value:null,writable:!0,configurable:!0}}),typeof define=="function"&&define.amd)define(function(){return P});else if(typeof hD=="object")gD.exports=P;else{var se=new Function("","return this")();se.EventEmitter2=P}})()});function dy(n,t){let e=fn.getLogger("tasks");switch(n){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 XY,bD,uy,fn,cy,vs=Q(()=>{"use strict";XY=require("obsidian"),bD=js(yD()),uy=class extends bD.EventEmitter2{constructor(){super(...arguments);this.options={minLevels:{"":"info",tasks:"info"}};this.consoleLoggerRegistered=!1;this.arrAvg=e=>e.reduce((r,i)=>r+i,0)/e.length}configure(e){return this.options=Object.assign({},this.options,e),this}getLogger(e){let r="none",i="";for(let s in this.options.minLevels)e.startsWith(s)&&s.length>=i.length&&(r=this.options.minLevels[s],i=s);return new cy(this,e,r)}onLogEntry(e){return this.on("log",e),this}registerConsoleLogger(){return this.consoleLoggerRegistered?this:(this.onLogEntry(e=>{let r=`[${window.moment().format("YYYY-MM-DD-HH:mm:ss.SSS")}][${e.level}][${e.module}]`;switch(e.traceId&&(r+=`[${e.traceId}]`),r+=` ${e.message}`,e.objects===void 0&&(e.objects=""),e.level){case"trace":console.trace(r,e.objects);break;case"debug":console.debug(r,e.objects);break;case"info":console.info(r,e.objects);break;case"warn":console.warn(r,e.objects);break;case"error":console.error(r,e.objects);break;default:console.log(`{${e.level}} ${r}`,e.objects)}}),this.consoleLoggerRegistered=!0,this)}},fn=new uy,cy=class{constructor(t,e,r){this.levels={trace:1,debug:2,info:3,warn:4,error:5};this.logManager=t,this.module=e,this.minLevel=this.levelToInt(r)}levelToInt(t){return t.toLowerCase()in this.levels?this.levels[t.toLowerCase()]:99}log(t,e,r){if(this.levelToInt(t)<this.minLevel)return;let s={level:t,module:this.module,message:e,objects:r,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,r,i){if(this.levelToInt(t)<this.minLevel)return;let a={level:t,module:this.module,message:r,objects:i,traceId:e};this.logManager.emit("log",a)}traceWithId(t,e,r){this.logWithId("trace",t,e,r)}debugWithId(t,e,r){this.logWithId("debug",t,e,r)}infoWithId(t,e,r){this.logWithId("info",t,e,r)}warnWithId(t,e,r){this.logWithId("warn",t,e,r)}errorWithId(t,e,r){this.logWithId("error",t,e,r)}}});function Mc(n,t,e){n.debug(`${t}: task line number: ${e.taskLocation.lineNumber}. file path: "${e.path}"`),n.debug(`${t} original: ${e.originalMarkdown}`)}function Ac(n,t,e){e.map((r,i)=>{n.debug(`${t} ==> ${i+1}   : ${r.toFileLineString()}`)})}var fy=Q(()=>{"use strict"});var qt,Ni=Q(()=>{"use strict";gt();At();qt=class{static fromPath(t){let{useFilenameAsScheduledDate:e,filenameAsDateFolders:r}=J();return!e||!this.matchesAnyFolder(r,t)?null:this.extractDateFromPath(t)}static matchesAnyFolder(t,e){return t.length===0?!0:t.some(r=>e.startsWith(r+"/"))}static extractDateFromPath(t){let e=Math.max(0,t.lastIndexOf("/")+1),r=t.lastIndexOf("."),i=t.substring(e,r),{filenameAsScheduledDateFormat:s}=J();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:r}){return t===null&&r===null&&e===null}static updateTaskPath(t,e,r){let i=t.scheduledDate,s=t.scheduledDateIsInferred;return r===null?s&&(s=!1,i=null):s?i=r:this.canApplyFallback(t)&&(i=r,s=!0),new ke(pe(Y({},t),{taskLocation:e,scheduledDate:i,scheduledDateIsInferred:s}))}static removeInferredStatusIfNeeded(t,e){let r=t.scheduledDateIsInferred?t.scheduledDate:null;return e.map(i=>(r!==null&&!r.isSame(i.scheduledDate,"day")&&(i=new ke(pe(Y({},i),{scheduledDateIsInferred:!1}))),i))}}});var Vt,Pc,TD=Q(()=>{"use strict";ms();Vt=class Vt{static calculate(t){var r,i,s;let e=0;if((r=t.dueDate)!=null&&r.isValid()){let a=window.moment().startOf("day"),o=Math.round(a.diff(t.dueDate)/Vt.milliSecondsPerDay),l;o>=7?l=1:o>=-14?l=(o+14)*.8/21+.2:l=.2,e+=l*Vt.dueCoefficient}switch((i=t.scheduledDate)!=null&&i.isValid()&&window.moment().isSameOrAfter(t.scheduledDate)&&(e+=1*Vt.scheduledCoefficient),(s=t.startDate)!=null&&s.isValid()&&window.moment().isBefore(t.startDate)&&(e+=1*Vt.startedCoefficient),t.priority){case"0":e+=1.5*Vt.priorityCoefficient;break;case"1":e+=1*Vt.priorityCoefficient;break;case"2":e+=.65*Vt.priorityCoefficient;break;case"3":e+=.325*Vt.priorityCoefficient;break;case"5":e-=.3*Vt.priorityCoefficient;break}return e}};Vt.dueCoefficient=12,Vt.scheduledCoefficient=5,Vt.startedCoefficient=-3,Vt.priorityCoefficient=6,Vt.milliSecondsPerDay=1e3*60*60*24;Pc=Vt});var vD={};Mb(vD,{Task:()=>ke,isBlocked:()=>JY});function JY(n,t){if(n.dependsOn.length===0||n.isDone)return!1;for(let e of n.dependsOn)if(t.find(i=>i.id===e&&!i.isDone))return!0;return!1}var ke,At=Q(()=>{"use strict";gt();dn();br();os();Cc();In();_l();vs();fy();Ni();Ic();TD();Zr();vc();ke=class n extends Fi{constructor(e){let{status:r,description:i,taskLocation:s,indentation:a,listMarker:o,priority:l,createdDate:u,startDate:c,scheduledDate:d,dueDate:f,doneDate:p,cancelledDate:h,recurrence:b,onCompletion:v,dependsOn:E,id:O,blockLink:x,tags:q,originalMarkdown:ee,scheduledDateIsInferred:V,parent:j}=e;super({originalMarkdown:ee,indentation:a,listMarker:o,statusCharacter:r.symbol,description:i,taskLocation:s,parent:j!=null?j:null});this._urgency=null;this.status=r,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(h,e._cancelledDate),this.recurrence=b,this.onCompletion=v,this.dependsOn=E,this.id=O,this.blockLink=x,this.scheduledDateIsInferred=V}resolveDate(e,r){return e!==void 0?e:r!=null?r:null}static fromLine({line:e,taskLocation:r,fallbackDate:i}){let s=n.extractTaskComponents(e);return s===null||!Ae.getInstance().includedIn(s.body)?null:n.parseTaskSignifiers(e,r,i)}static parseTaskSignifiers(e,r,i){let s=n.extractTaskComponents(e);if(s===null)return null;let{taskSerializer:a}=Dl(),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=>!Ae.getInstance().equals(u)),new n(pe(Y(Y({},s),o),{taskLocation:r,originalMarkdown:e,scheduledDateIsInferred:l}))}static extractTaskComponents(e){let r=e.match(We.taskRegex);if(r===null)return null;let i=r[1],s=r[2],a=r[3],o=Xe.getInstance().bySymbolOrCreate(a),l=r[4].trim(),u=l.match(We.blockLinkRegex),c=u!==null?u[0]:"";return c!==""&&(l=l.replace(We.blockLinkRegex,"").trim()),{indentation:i,listMarker:s,status:o,body:l,blockLink:c}}toString(){return Dl().taskSerializer.serialize(this)}toFileLineString(){return`${this.indentation}${this.listMarker} [${this.status.symbol}] ${this.toString()}`}toggle(){let e=fn.getLogger("tasks.Task"),r="toggle()";Mc(e,r,this);let i=Xe.getInstance().getNextStatusOrCreate(this.status),s=this.handleNewStatus(i);return Ac(e,r,s),s}handleNewStatus(e,r=window.moment()){if(e.identicalTo(this.status))return[this];let{setDoneDate:i}=J(),s=this.newDate(e,"DONE",this.doneDate,i,r),{setCancelledDate:a}=J(),o=this.newDate(e,"CANCELLED",this.cancelledDate,a,r),l=new n(pe(Y({},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(r);return p===null?[l]:[this.createNextOccurrence(e,p),l]}newDate(e,r,i,s,a){let o=null;return e.type===r&&(this.status.type!==r?s&&(o=a):o=i),o}createNextOccurrence(e,r){let{setCreatedDate:i}=J(),s=null;i&&(s=window.moment());let a=null,o=null,u=Xe.getInstance().getNextRecurrenceStatusOrCreate(e);return new n(pe(Y(Y({},this),r),{status:u,blockLink:"",id:"",dependsOn:[],createdDate:s,cancelledDate:a,doneDate:o}))}toggleWithRecurrenceInUsersOrder(){let e=this.toggle();return this.putRecurrenceInUsersOrder(e)}handleNewStatusWithRecurrenceInUsersOrder(e,r=window.moment()){fn.getLogger("tasks.Task").debug(`changed task ${this.taskLocation.path} ${this.taskLocation.lineNumber} ${this.originalMarkdown} status to '${e.symbol}'`);let s=this.handleNewStatus(e,r);return this.putRecurrenceInUsersOrder(s)}putRecurrenceInUsersOrder(e){let r=zw(this,e),{recurrenceOnNextLine:i}=J();return i?r.reverse():r}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 r of this.dependsOn)if(e.find(s=>s.id===r&&!s.isDone))return!0;return!1}isBlocking(e){return this.id===""||this.isDone?!1:e.some(r=>r.isDone?!1:r.dependsOn.includes(this.id))}get priorityNumber(){return Number.parseInt(this.priority)}get priorityNameGroupText(){let e=hr.priorityNameUsingNormal(this.priority);return`%%${this.priority}%%${e} priority`}get descriptionWithoutTags(){return this.description.replace(We.hashTags,"").trim()}get priorityName(){return hr.priorityNameUsingNormal(this.priority)}get urgency(){return this._urgency===null&&(this._urgency=Pc.calculate(this)),this._urgency}get cancelledDate(){var e,r;return(r=(e=this._cancelledDate)==null?void 0:e.clone())!=null?r:null}get cancelled(){return new Ut(this.cancelledDate)}get createdDate(){var e,r;return(r=(e=this._createdDate)==null?void 0:e.clone())!=null?r:null}get created(){return new Ut(this.createdDate)}get doneDate(){var e,r;return(r=(e=this._doneDate)==null?void 0:e.clone())!=null?r:null}get done(){return new Ut(this.doneDate)}get dueDate(){var e,r;return(r=(e=this._dueDate)==null?void 0:e.clone())!=null?r:null}get due(){return new Ut(this.dueDate)}get scheduledDate(){var e,r;return(r=(e=this._scheduledDate)==null?void 0:e.clone())!=null?r:null}get scheduled(){return new Ut(this.scheduledDate)}get startDate(){var e,r;return(r=(e=this._startDate)==null?void 0:e.clone())!=null?r:null}get start(){return new Ut(this.startDate)}get happensDates(){return Array.of(this.startDate,this.scheduledDate,this.dueDate)}get happens(){let e=this.happensDates,r=Array.from(e).sort(Qn);for(let i of r)if(i!=null&&i.isValid())return new Ut(i);return new Ut(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 r;return e?r=this.filename:r="/"+this.path,r===null?null:(this.precedingHeader!==null&&this.precedingHeader!==r&&(r=r+" > "+this.precedingHeader),r)}identicalTo(e){var i,s;if(!super.identicalTo(e))return!1;let r=["priority","blockLink","scheduledDateIsInferred","id","dependsOn","onCompletion"];for(let a of r)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;r=n.allDateFields();for(let a of r){let o=this[a],l=e[a];if(Qn(o,l)!==0)return!1}return this.recurrenceIdenticalTo(e)?this.file.rawFrontmatterIdenticalTo(e.file):!1}recurrenceIdenticalTo(e){let r=this.recurrence,i=e.recurrence;return!(r===null&&i!==null||r!==null&&i===null||r&&i&&!r.identicalTo(i))}static allDateFields(){return["createdDate","startDate","scheduledDate","dueDate","doneDate","cancelledDate"]}static extractHashtags(e){var r,i;return(i=(r=e.match(We.hashTags))==null?void 0:r.map(s=>s.trim()))!=null?i:[]}}});var Fi,Ic=Q(()=>{"use strict";Zr();Ff();Fi=class n{constructor({originalMarkdown:t,indentation:e,listMarker:r,statusCharacter:i,description:s,parent:a,taskLocation:o}){this.children=[];this.indentation=e,this.listMarker=r,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,r){var a;let i=RegExp(We.nonTaskRegex).exec(t);if(!i)return null;let s=i[2];return s===void 0?null:new n({originalMarkdown:t,indentation:i[1],listMarker:s,statusCharacter:(a=i[4])!=null?a:null,description:i[5].trim(),taskLocation:r,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}=(At(),Pb(vD));if(t instanceof e)return t;t=t.parent}return null}get isTask(){return!1}identicalTo(t){var r,i;if(this.constructor.name!==t.constructor.name)return!1;let e=["description","statusCharacter","indentation","listMarker"];for(let s of e)if(((r=this[s])==null?void 0:r.toString())!==((i=t[s])==null?void 0:i.toString()))return!1;return this.taskLocation.identicalTo(t.taskLocation)?n.listsAreIdentical(this.children,t.children):!1}static listsAreIdentical(t,e){return t.length!==e.length?!1:t.every((r,i)=>r.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 zs(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(We.checkboxRegex),`[${t}]`);return new n(pe(Y({},this),{originalMarkdown:e,statusCharacter:t,parent:null}))}toFileLineString(){let t=this.statusCharacter?`[${this.statusCharacter}] `:"";return`${this.indentation}${this.listMarker} ${t}${this.description}`}}});var s1=M(zy=>{"use strict";Object.defineProperty(zy,"__esModule",{value:!0});var r1=Symbol("MustacheDataPath");function n1({target:n,propertyName:t}){return[...n[r1]||[],t]}function i1(n,t){return typeof n!="object"?n:new Proxy(n,{get(e,r){let i=e[r];if(i===void 0&&!(r in e)){let s=n1({target:e,propertyName:r});if(t!=null&&t.handleError)return t.handleError(s),i;throw Error(`Missing Mustache data property: ${s.join(" > ")}`)}return i&&typeof i=="object"?(i[r1]=n1({target:e,propertyName:r}),i1(i,t)):i}})}zy.default=i1});var _r=M(Sr=>{"use strict";Sr.__esModule=!0;Sr.Tokens=Sr.StructuralCharacters=Sr.Operators=void 0;var Wq;(function(n){n.AND="AND",n.OR="OR",n.XOR="XOR",n.NOT="NOT"})(Wq=Sr.Operators||(Sr.Operators={}));var jq;(function(n){n.OPEN_PARENTHESIS="(",n.CLOSE_PARENTHESIS=")"})(jq=Sr.StructuralCharacters||(Sr.StructuralCharacters={}));var $q;(function(n){n.IDENTIFIER="IDENTIFIER",n.OPERATOR="OPERATOR",n.STRUCTURAL_CHARACTER="STRUCTURAL_CHARACTER",n.EOF="EOF",n.COMMENT="COMMENT"})($q=Sr.Tokens||(Sr.Tokens={}))});var Jy=M(qa=>{"use strict";qa.__esModule=!0;qa.VALID_TOKENS=qa.OPERATOR_PRECEDENCE=void 0;var ct=_r();qa.OPERATOR_PRECEDENCE={NOT:0,XOR:1,AND:2,OR:3};qa.VALID_TOKENS={identifierOnly:[{name:ct.Tokens.IDENTIFIER},{name:ct.Tokens.STRUCTURAL_CHARACTER,value:ct.StructuralCharacters.OPEN_PARENTHESIS}],identifierOrNot:[{name:ct.Tokens.IDENTIFIER},{name:ct.Tokens.STRUCTURAL_CHARACTER,value:ct.StructuralCharacters.OPEN_PARENTHESIS},{name:ct.Tokens.OPERATOR,value:ct.Operators.NOT}],binaryOperator:[{name:ct.Tokens.OPERATOR,value:ct.Operators.AND},{name:ct.Tokens.OPERATOR,value:ct.Operators.OR},{name:ct.Tokens.OPERATOR,value:ct.Operators.XOR}],binaryOperatorOrClose:[{name:ct.Tokens.OPERATOR,value:ct.Operators.AND},{name:ct.Tokens.OPERATOR,value:ct.Operators.OR},{name:ct.Tokens.OPERATOR,value:ct.Operators.XOR},{name:ct.Tokens.STRUCTURAL_CHARACTER,value:ct.StructuralCharacters.CLOSE_PARENTHESIS}]}});var eb=M(rn=>{"use strict";rn.__esModule=!0;rn.ESCAPE_CHARACTER=rn.EOL=rn.COMMENT_DELIMITER=rn.QUOTED_IDENTIFIER_DELIMITER=rn.SEPARATORS=rn.OPERATORS=rn.STRUCTURAL_CHARACTERS=void 0;var Wa=_r();rn.STRUCTURAL_CHARACTERS={"(":Wa.StructuralCharacters.OPEN_PARENTHESIS,")":Wa.StructuralCharacters.CLOSE_PARENTHESIS};rn.OPERATORS={AND:Wa.Operators.AND,OR:Wa.Operators.OR,XOR:Wa.Operators.XOR,NOT:Wa.Operators.NOT};rn.SEPARATORS=new Set([32,9,10,13].map(function(n){return String.fromCodePoint(n)}));rn.QUOTED_IDENTIFIER_DELIMITER=String.fromCodePoint(34);rn.COMMENT_DELIMITER=String.fromCodePoint(35);rn.EOL=String.fromCodePoint(10);rn.ESCAPE_CHARACTER=String.fromCodePoint(92)});var h1=M(sr=>{"use strict";var tb=sr&&sr.__assign||function(){return tb=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},tb.apply(this,arguments)};sr.__esModule=!0;sr.getQuotedIdentifier=sr.getComment=sr.createResult=void 0;var m1=_r(),Is=eb(),Hq=function(n,t,e){return{token:tb({name:n},t!==null?{value:t}:{}),remainingString:e}};sr.createResult=Hq;var Bq=function(n){for(var t=n.length,e=0;e<n.length;e+=1){var r=n[e];if(r===Is.EOL){t=e;break}}return(0,sr.createResult)(m1.Tokens.COMMENT,n.slice(0,t),n.slice(t+1))};sr.getComment=Bq;var Gq=function(n){for(var t=!1,e="",r=null,i=0;i<n.length;i+=1){var s=n[i];if(r===null)s===Is.QUOTED_IDENTIFIER_DELIMITER?t?(e=e.slice(0,-1)+Is.QUOTED_IDENTIFIER_DELIMITER,t=!1):r=i:(s===Is.ESCAPE_CHARACTER?t=!0:t=!1,e=e+=s);else{if(!Is.SEPARATORS.has(s)&&!Is.STRUCTURAL_CHARACTERS[s])throw new Error("Unexpected character: ".concat(s," Expected ) character or separator"));break}}if(r===null)throw new Error("Unexpected end of expression: expected ".concat(Is.QUOTED_IDENTIFIER_DELIMITER," character"));return(0,sr.createResult)(m1.Tokens.IDENTIFIER,e,n.slice(r+1))};sr.getQuotedIdentifier=Gq});var g1=M(hd=>{"use strict";hd.__esModule=!0;hd.lex=void 0;var ja=_r(),qn=eb(),$a=h1(),zq=function(n){for(var t=null,e=null,r=null,i=0;i<n.length;i+=1){var s=n[i];if(t===null){if(!qn.SEPARATORS.has(s)){var a=qn.STRUCTURAL_CHARACTERS[s];if(a){var o=n[i+1];if(a===ja.StructuralCharacters.CLOSE_PARENTHESIS&&o&&!qn.SEPARATORS.has(o)&&o!==ja.StructuralCharacters.CLOSE_PARENTHESIS)throw new Error("Unexpected character: ".concat(o,". A closing parenthesis should be followed by another closing parenthesis or whitespace"));return(0,$a.createResult)(ja.Tokens.STRUCTURAL_CHARACTER,qn.STRUCTURAL_CHARACTERS[s],n.slice(i+1))}if(s===qn.QUOTED_IDENTIFIER_DELIMITER)return(0,$a.getQuotedIdentifier)(n.slice(i+1));if(s===qn.COMMENT_DELIMITER)return(0,$a.getComment)(n.slice(i+1));t=i}}else if(qn.SEPARATORS.has(s)||qn.STRUCTURAL_CHARACTERS[s]){e=i,r=s;break}else if(s===qn.QUOTED_IDENTIFIER_DELIMITER||s===qn.COMMENT_DELIMITER)throw new Error("Unexpected character: ".concat(s))}if(t!==null){e=e!=null?e:n.length;var l=n.slice(t,e),u=n.slice(e);if(qn.OPERATORS[l]){if(r&&!qn.SEPARATORS.has(r))throw new Error("Unexpected character: ".concat(r,". Operators should be separated using whitespace"));return(0,$a.createResult)(ja.Tokens.OPERATOR,qn.OPERATORS[l],u)}else return(0,$a.createResult)(ja.Tokens.IDENTIFIER,l,u)}return(0,$a.createResult)(ja.Tokens.EOF,null,"")};hd.lex=zq});var b1=M(Wn=>{"use strict";var y1=Wn&&Wn.__spreadArray||function(n,t,e){if(e||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return n.concat(s||Array.prototype.slice.call(t))};Wn.__esModule=!0;Wn.validateToken=Wn.previousOperatorTakesPrecedent=Wn.getValue=Wn.newTokenGenerator=void 0;var Vq=g1(),Ha=_r(),gd=Jy(),Kq=function(n){var t=n;return function(e,r){for(r===void 0&&(r=!1);;){var i=(0,Vq.lex)(t),s=i.token,a=i.remainingString;if(t=a,s.name!==Ha.Tokens.COMMENT)return(0,Wn.validateToken)(s,e,r),s}}};Wn.newTokenGenerator=Kq;var Qq=function(n,t){var e=n(gd.VALID_TOKENS.identifierOrNot),r=e.value===Ha.Operators.NOT;r&&(e=n(gd.VALID_TOKENS.identifierOnly));var i=e.name===Ha.Tokens.STRUCTURAL_CHARACTER?t(n,!0):[e];return r?y1(y1([],i,!0),[{name:Ha.Tokens.OPERATOR,value:Ha.Operators.NOT}],!1):i};Wn.getValue=Qq;var Zq=function(n,t){return gd.OPERATOR_PRECEDENCE[n]<=gd.OPERATOR_PRECEDENCE[t]};Wn.previousOperatorTakesPrecedent=Zq;var Xq=function(n,t,e){if(e===void 0&&(e=!1),n.name===Ha.Tokens.EOF){if(e)return;throw new Error("Unexpected end of expression")}for(var r=0,i=t;r<i.length;r++){var s=i[r];if(s.name===n.name&&(!s.value||s.value===n.value))return}throw new TypeError("Invalid token")};Wn.validateToken=Xq});var rb=M(Ba=>{"use strict";var Hr=Ba&&Ba.__spreadArray||function(n,t,e){if(e||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return n.concat(s||Array.prototype.slice.call(t))};Ba.__esModule=!0;Ba.parse=void 0;var T1=_r(),v1=Jy(),yd=b1(),Jq=function(n){if(typeof n!="string")throw new Error("Expected string but received ".concat(typeof n));var t=(0,yd.newTokenGenerator)(n);return nb(t)};Ba.parse=Jq;var nb=function(n,t){t===void 0&&(t=!1);for(var e=Hr([],(0,yd.getValue)(n,nb),!0),r=[];;){var i=t?v1.VALID_TOKENS.binaryOperatorOrClose:v1.VALID_TOKENS.binaryOperator,s=n(i,!t);if(s.name===T1.Tokens.EOF||s.name===T1.Tokens.STRUCTURAL_CHARACTER)return Hr(Hr([],e,!0),Hr([],r,!0).reverse(),!0);for(;r.length;){var a=r[r.length-1]||null;if(a&&(0,yd.previousOperatorTakesPrecedent)(a.value,s.value))e=Hr(Hr([],e,!0),[a],!1),r=r.slice(0,-1);else break}r=Hr(Hr([],r,!0),[s],!1),e=Hr(Hr([],e,!0),(0,yd.getValue)(n,nb),!0)}}});var ib=M(sn=>{"use strict";sn.__esModule=!0;sn.throwInvalidExpression=sn.isOperator=sn.isIdentifier=sn.notUtil=sn.xorUtil=sn.orUtil=sn.andUtil=void 0;var k1=_r(),eW=function(n,t){return n&&t};sn.andUtil=eW;var tW=function(n,t){return n||t};sn.orUtil=tW;var nW=function(n,t){return n!==t};sn.xorUtil=nW;var rW=function(n){return!n};sn.notUtil=rW;var iW=function(n){var t=n.name,e=n.value;return t===k1.Tokens.IDENTIFIER&&typeof e=="string"};sn.isIdentifier=iW;var sW=function(n){var t=n.name,e=n.value;return t===k1.Tokens.OPERATOR&&typeof e=="string"};sn.isOperator=sW;var aW=function(n){throw new TypeError("Invalid postfix expression: ".concat(n))};sn.throwInvalidExpression=aW});var S1=M(bd=>{"use strict";var Wl;bd.__esModule=!0;bd.OPERATOR_MAP=void 0;var sb=_r(),ab=ib();bd.OPERATOR_MAP=(Wl={},Wl[sb.Operators.AND]=ab.andUtil,Wl[sb.Operators.OR]=ab.orUtil,Wl[sb.Operators.XOR]=ab.xorUtil,Wl)});var w1=M(ar=>{"use strict";var Ga=ar&&ar.__spreadArray||function(n,t,e){if(e||arguments.length===2)for(var r=0,i=t.length,s;r<i;r++)(s||!(r in t))&&(s||(s=Array.prototype.slice.call(t,0,r)),s[r]=t[r]);return n.concat(s||Array.prototype.slice.call(t))};ar.__esModule=!0;ar.evaluateExpression=ar.evaluate=ar.getEvaluator=void 0;var oW=rb(),_1=_r(),lW=S1(),Ns=ib(),uW=function(n){var t=(0,oW.parse)(n);return function(e){return(0,ar.evaluate)(t,e)}};ar.getEvaluator=uW;var cW=function(n,t){if(!Array.isArray(n))throw new Error("".concat(n," should be an array. evaluate takes in a parsed expression. Use in combination with parse or use getEvaluator"));var e=n.reduce(function(r,i,s){if(!(i&&((0,Ns.isIdentifier)(i)||(0,Ns.isOperator)(i))))throw new Error("Invalid token: ".concat(i,". Found in parsed expression at index ").concat(s));if(i.name===_1.Tokens.IDENTIFIER)return Ga(Ga([],r,!0),[!!t[i.value]],!1);var a=r[r.length-2],o=r[r.length-1];if(i.value===_1.Operators.NOT)return o===void 0&&(0,Ns.throwInvalidExpression)("missing identifier"),Ga(Ga([],r.slice(0,-1),!0),[(0,Ns.notUtil)(o)],!1);(o===void 0||a===void 0)&&(0,Ns.throwInvalidExpression)("missing identifier");var l=lW.OPERATOR_MAP[i.value];return l||(0,Ns.throwInvalidExpression)("unknown operator"),Ga(Ga([],r.slice(0,-2),!0),[l(a,o)],!1)},[]);return e.length!==1&&(0,Ns.throwInvalidExpression)("too many identifiers after evaluation"),e[0]};ar.evaluate=cW;var dW=function(n,t){return(0,ar.getEvaluator)(n)(t)};ar.evaluateExpression=dW});var E1=M(Br=>{"use strict";var ob=Br&&Br.__createBinding||(Object.create?(function(n,t,e,r){r===void 0&&(r=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(n,r,i)}):(function(n,t,e,r){r===void 0&&(r=e),n[r]=t[e]}));Br.__esModule=!0;Br.parse=Br.evaluate=Br.getEvaluator=void 0;var D1=w1();ob(Br,D1,"getEvaluator");ob(Br,D1,"evaluate");var fW=rb();ob(Br,fW,"parse")});var NW={};Mb(NW,{default:()=>yf});module.exports=Pb(NW);var bf=require("obsidian");wi();var kD=require("obsidian"),Ta=require("obsidian");var Sj=new Error("timeout while waiting for mutex to become available"),_j=new Error("mutex already locked"),xO=new Error("request for lock canceled"),OO=function(n,t,e,r){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(r.next(c))}catch(d){a(d)}}function l(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((r=r.apply(n,t||[])).next())})},If=class{constructor(t,e=xO){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((r,i)=>{let s={resolve:r,reject:i,weight:t,priority:e},a=hT(this._queue,o=>e<=o.priority);a===-1&&t<=this._value?this._dispatchItem(s):this._queue.splice(a+1,0,s)})}runExclusive(t){return OO(this,arguments,void 0,function*(e,r=1,i=0){let[s,a]=yield this.acquire(r,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(r=>{this._weightedWaiters[t-1]||(this._weightedWaiters[t-1]=[]),RO(this._weightedWaiters[t-1],{resolve:r,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(r=>r.resolve()),this._weightedWaiters[t-1]=[])}else{let t=this._queue[0].priority;for(let e=this._value;e>0;e--){let r=this._weightedWaiters[e-1];if(!r)continue;let i=r.findIndex(s=>s.priority<=t);(i===-1?r:r.splice(0,i)).forEach((s=>s.resolve()))}}}_couldLockImmediately(t,e){return(this._queue.length===0||this._queue[0].priority<e)&&t<=this._value}};function RO(n,t){let e=hT(n,r=>t.priority<=r.priority);n.splice(e+1,0,t)}function hT(n,t){for(let e=n.length-1;e>=0;e--)if(t(n[e]))return e;return-1}var CO=function(n,t,e,r){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(r.next(c))}catch(d){a(d)}}function l(c){try{u(r.throw(c))}catch(d){a(d)}}function u(c){c.done?s(c.value):i(c.value).then(o,l)}u((r=r.apply(n,t||[])).next())})},cu=class{constructor(t){this._semaphore=new If(1,t)}acquire(){return CO(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 du=require("obsidian");Ff();var ft=class{constructor(t,e={},r){this._frontmatter={tags:[]};this._tags=[];this._outlinksInProperties=[];this._outlinksInBody=[];var s,a;this._path=t,this.tFile=r,this._cachedMetadata=e;let i=e.frontmatter;if(i!==void 0&&(this._frontmatter=JSON.parse(JSON.stringify(i)),this._frontmatter.tags=(s=(0,du.parseFrontMatterTags)(i))!=null?s:[]),this._outlinksInProperties=this.createLinks(this.cachedMetadata.frontmatterLinks),this._outlinksInBody=this.createLinks(this.cachedMetadata.links),Object.keys(e).length!==0){let o=(a=(0,du.getAllTags)(this.cachedMetadata))!=null?a:[];this._tags=[...new Set(o)]}}createLinks(t){var e;return(e=t==null?void 0:t.map(r=>new zs(r,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,r=t.cachedMetadata.frontmatter;return e===r?!0:!e||!r?!1:JSON.stringify(e)===JSON.stringify(r)}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,r=t.substring(0,t.lastIndexOf(e));return r===""?"/":r}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 r=this.frontmatter[e];return!(r===null||r===void 0)}property(t){let e=this.findKeyInFrontmatter(t);if(e===void 0)return null;let r=this.frontmatter[e];return r===void 0?null:Array.isArray(r)?r.filter(i=>i!==null):r}findKeyInFrontmatter(t){let e=t.toLowerCase();return Object.keys(this.frontmatter).find(r=>r.toLowerCase()===e)}identicalTo(t){return this.path!==t.path?!1:this.rawFrontmatterIdenticalTo(t)}};Ic();At();Ni();gt();var ba=class{constructor(t){this.fetch=t;this._value=void 0}get value(){return this._value===void 0&&(this._value=this.fetch()),this._value}};vs();gt();var ks=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}=J();return t.recordTimings}};dn();At();Ni();Ic();var Kt=class n{constructor(t,e,r,i,s){this._tasksFile=t,this._lineNumber=e,this._sectionStart=r,this._sectionIndex=i,this._precedingHeader=s}static fromUnknownPosition(t){return new n(t,0,0,0,null)}fromRenamedFile(t){return new n(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 r=Y({},this),{_tasksFile:t}=r;return Ws(r,["_tasksFile"])}identicalTo(t){let e=["lineNumber","sectionStart","sectionIndex","precedingHeader"];for(let r of e)if(this[r]!==t[r])return!1;return this._tasksFile.identicalTo(t._tasksFile)}};var Nc=class{constructor(t,e,r,i,s){this.line2ListItem=new Map;this.tasks=[];this.tasksFile=t,this.fileContent=e,this.listItems=r,this.logger=i,this.errorReporter=s,this.fileLines=this.fileContent.split(`
`),this.dateFromFileName=new ba(()=>qt.fromPath(this.filePath))}get filePath(){return this.tasksFile.path}get fileCache(){return this.tasksFile.cachedMetadata}parseFileContent(){if(this.listItems===void 0)return this.tasks;let t=this.fileLines.length,e=null,r=0;for(let i of this.listItems){let s=i.position.start.line;if(s>=t)return this.logger.debug(`${this.filePath} Obsidian gave us a line number ${s} past the end of the file. ${t}.`),this.tasks;if((e===null||e.position.end.line<s)&&(e=Ss.getSection(s,this.fileCache.sections),r=0),e===null)continue;let a=this.fileLines[s];if(a===void 0){this.logger.debug(`${this.filePath}: line ${s} - ignoring 'undefined' line.`);continue}let o=new Kt(this.tasksFile,s,e.position.start.line,r,Ss.getPrecedingHeader(s,this.fileCache.headings));r=this.parseLine(i,a,o,s,r)}return this.tasks}parseLine(t,e,r,i,s){var o;if(t.task===void 0)return this.createListItem(t,e,i,r),s;let a;try{if(a=ke.fromLine({line:e,taskLocation:r,fallbackDate:this.dateFromFileName.value}),a!==null){let l=(o=this.line2ListItem.get(t.parent))!=null?o:null;l!==null&&(a=new ke(pe(Y({},a),{parent:l}))),this.line2ListItem.set(i,a),a!==null&&(s++,this.tasks.push(a))}else this.createListItem(t,e,i,r)}catch(l){this.errorReporter(l,this.filePath,t,e)}return s}createListItem(t,e,r,i){var o;let s=(o=this.line2ListItem.get(t.parent))!=null?o:null,a=Fi.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(r,a)}};var Ss=class{constructor({metadataCache:t,vault:e,workspace:r,events:i}){this.logger=fn.getLogger("tasks.Cache");this.notifySubscribersDebounced=(0,kD.debounce)(()=>this.notifySubscribersNotDebounced(),100,!0);this.logger.debug("Creating Cache object"),this.metadataCache=t,this.metadataCacheEventReferences=[],this.vault=e,this.workspace=r,this.vaultEventReferences=[],this.events=i,this.eventsEventReferences=[],this.tasksMutex=new cu,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",r=>{this.tasksMutex.runExclusive(()=>{this.indexFile(r)})});this.metadataCacheEventReferences.push(e)}subscribeToVault(){this.logger.debug("Cache.subscribeToVault()");let{useFilenameAsScheduledDate:t}=J(),e=this.vault.on("create",s=>{s instanceof Ta.TFile&&(this.logger.debug(`Cache.subscribeToVault.createdEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{this.indexFile(s)}))});this.vaultEventReferences.push(e);let r=this.vault.on("delete",s=>{s instanceof Ta.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(r);let i=this.vault.on("rename",(s,a)=>{s instanceof Ta.TFile&&(this.logger.debug(`Cache.subscribeToVault.renamedEventReference() ${s.path}`),this.tasksMutex.runExclusive(()=>{let o=this.metadataCache.getFileCache(s),l=new ft(s.path,o!=null?o:void 0),u=new ba(()=>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 ke(pe(Y({},c),{taskLocation:d}))}),this.notifySubscribers()}))});this.vaultEventReferences.push(i)}subscribeToEvents(){this.logger.debug("Cache.subscribeToEvents()");let t=this.events.onRequestCacheUpdate(r=>{r({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 ks(`Loading vault with global filter '${Ae.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 r=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(new ft(t.path,e),a,i,this.reportTaskParsingErrorToUser,this.logger)}Fi.listsAreIdentical(r,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,r,i,s){return new Nc(t,e,r,s,i).parseFileContent()}reportTaskParsingErrorToUser(t,e,r,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: ${r.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 Ta.Notice(s,1e4)}static getSection(t,e){if(e===void 0)return null;for(let r of e)if(r.position.start.line<=t&&r.position.end.line>=t)return r;return null}static getPrecedingHeader(t,e){if(e===void 0)return null;let r=null;for(let i of e){if(i.position.start.line>t)return r;r=i.heading}return r}};br();var Wy=require("obsidian");var VE=require("obsidian"),KE=require("obsidian");function qe(){}function yy(n){return n()}function SD(){return Object.create(null)}function _t(n){n.forEach(yy)}function Li(n){return typeof n=="function"}function Zt(n,t){return n!=n?t==t:n!==t||n&&typeof n=="object"||typeof n=="function"}function _D(n){return Object.keys(n).length===0}function wD(n,...t){if(n==null)return qe;let e=n.subscribe(...t);return e.unsubscribe?()=>e.unsubscribe():e}function Yc(n,t,e){n.$$.on_destroy.push(wD(t,e))}var DD=typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:global,my=class n{constructor(t){this.options=t,this._listeners="WeakMap"in DD?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 r;for(let i of e)n.entries.set(i.target,i),(r=this._listeners.get(i.target))===null||r===void 0||r(i)})}};my.entries="WeakMap"in DD?new WeakMap:void 0;var ED=!1;function eU(){ED=!0}function tU(){ED=!1}function G(n,t){n.appendChild(t)}function ce(n,t,e){n.insertBefore(t,e||null)}function le(n){n.parentNode&&n.parentNode.removeChild(n)}function yi(n,t){for(let e=0;e<n.length;e+=1)n[e]&&n[e].d(t)}function re(n){return document.createElement(n)}function nU(n){return document.createElementNS("http://www.w3.org/2000/svg",n)}function je(n){return document.createTextNode(n)}function he(){return je(" ")}function Ur(){return je("")}function Ne(n,t,e,r){return n.addEventListener(t,e,r),()=>n.removeEventListener(t,e,r)}function xD(n){return function(t){return t.preventDefault(),n.call(this,t)}}function W(n,t,e){e==null?n.removeAttribute(t):n.getAttribute(t)!==e&&n.setAttribute(t,e)}function OD(n){let t;return{p(...e){t=e,t.forEach(r=>n.push(r))},r(){t.forEach(e=>n.splice(n.indexOf(e),1))}}}function rU(n){return Array.from(n.childNodes)}function bn(n,t){t=""+t,n.data!==t&&(n.data=t)}function Tn(n,t){n.value=t==null?"":t}function by(n,t,e){for(let r=0;r<n.options.length;r+=1){let i=n.options[r];if(i.__value===t){i.selected=!0;return}}(!e||t!==void 0)&&(n.selectedIndex=-1)}function RD(n){let t=n.querySelector(":checked");return t&&t.__value}var Fc;function iU(){if(Fc===void 0){Fc=!1;try{typeof window!="undefined"&&window.parent&&window.parent.document}catch(n){Fc=!0}}return Fc}function CD(n,t){getComputedStyle(n).position==="static"&&(n.style.position="relative");let r=re("iframe");r.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;"),r.setAttribute("aria-hidden","true"),r.tabIndex=-1;let i=iU(),s;return i?(r.src="data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>",s=Ne(window,"message",a=>{a.source===r.contentWindow&&t()})):(r.src="about:blank",r.onload=()=>{s=Ne(r.contentWindow,"resize",t),t()}),G(n,r),()=>{(i||s&&r.contentWindow)&&s(),le(r)}}function bi(n,t,e){n.classList[e?"add":"remove"](t)}var _a=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,r=null){this.e||(this.is_svg?this.e=nU(e.nodeName):this.e=re(e.nodeType===11?"TEMPLATE":e.nodeName),this.t=e.tagName!=="TEMPLATE"?e:e.content,this.c(t)),this.i(r)}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 xl;function El(n){xl=n}function sU(){if(!xl)throw new Error("Function called outside component initialization");return xl}function Ty(n){sU().$$.on_mount.push(n)}var ka=[];var ut=[],Sa=[],hy=[],aU=Promise.resolve(),gy=!1;function oU(){gy||(gy=!0,aU.then(MD))}function ws(n){Sa.push(n)}function Xt(n){hy.push(n)}var py=new Set,va=0;function MD(){if(va!==0)return;let n=xl;do{try{for(;va<ka.length;){let t=ka[va];va++,El(t),lU(t.$$)}}catch(t){throw ka.length=0,va=0,t}for(El(null),ka.length=0,va=0;ut.length;)ut.pop()();for(let t=0;t<Sa.length;t+=1){let e=Sa[t];py.has(e)||(py.add(e),e())}Sa.length=0}while(ka.length);for(;hy.length;)hy.pop()();gy=!1,py.clear(),El(n)}function lU(n){if(n.fragment!==null){n.update(),_t(n.before_update);let t=n.dirty;n.dirty=[-1],n.fragment&&n.fragment.p(n.ctx,t),n.after_update.forEach(ws)}}function uU(n){let t=[],e=[];Sa.forEach(r=>n.indexOf(r)===-1?t.push(r):e.push(r)),e.forEach(r=>r()),Sa=t}var Lc=new Set,_s;function Fn(){_s={r:0,c:[],p:_s}}function Ln(){_s.r||_t(_s.c),_s=_s.p}function ge(n,t){n&&n.i&&(Lc.delete(n),n.i(t))}function Le(n,t,e,r){if(n&&n.o){if(Lc.has(n))return;Lc.add(n),_s.c.push(()=>{Lc.delete(n),r&&(e&&n.d(1),r())}),n.o(t)}else r&&r()}var cU=["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"],aV=new Set([...cU]);function Jt(n,t,e){let r=n.$$.props[t];r!==void 0&&(n.$$.bound[r]=e,e(n.$$.ctx[r]))}function er(n){n&&n.c()}function Yn(n,t,e,r){let{fragment:i,after_update:s}=n.$$;i&&i.m(t,e),r||ws(()=>{let a=n.$$.on_mount.map(yy).filter(Li);n.$$.on_destroy?n.$$.on_destroy.push(...a):_t(a),n.$$.on_mount=[]}),s.forEach(ws)}function vn(n,t){let e=n.$$;e.fragment!==null&&(uU(e.after_update),_t(e.on_destroy),e.fragment&&e.fragment.d(t),e.on_destroy=e.fragment=null,e.ctx=[])}function dU(n,t){n.$$.dirty[0]===-1&&(ka.push(n),oU(),n.$$.dirty.fill(0)),n.$$.dirty[t/31|0]|=1<<t%31}function kn(n,t,e,r,i,s,a,o=[-1]){let l=xl;El(n);let u=n.$$={fragment:null,ctx:[],props:s,update:qe,not_equal:i,bound:SD(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(l?l.$$.context:[])),callbacks:SD(),dirty:o,skip_bound:!1,root:t.target||l.$$.root};a&&a(u.root);let c=!1;if(u.ctx=e?e(n,t.props||{},(d,f,...p)=>{let h=p.length?p[0]:f;return u.ctx&&i(u.ctx[d],u.ctx[d]=h)&&(!u.skip_bound&&u.bound[d]&&u.bound[d](h),c&&dU(n,d)),f}):[],u.update(),c=!0,_t(u.before_update),u.fragment=r?r(u.ctx):!1,t.target){if(t.hydrate){eU();let d=rU(t.target);u.fragment&&u.fragment.l(d),d.forEach(le)}else u.fragment&&u.fragment.c();t.intro&&ge(n.$$.fragment),Yn(n,t.target,t.anchor,t.customElement),tU(),MD()}El(l)}var fU;typeof HTMLElement=="function"&&(fU=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){let{on_mount:n}=this.$$;this.$$.on_disconnect=n.map(yy).filter(Li);for(let t in this.$$.slotted)this.appendChild(this.$$.slotted[t])}attributeChangedCallback(n,t,e){this[n]=e}disconnectedCallback(){_t(this.$$.on_disconnect)}$destroy(){vn(this,1),this.$destroy=qe}$on(n,t){if(!Li(t))return qe;let e=this.$$.callbacks[n]||(this.$$.callbacks[n]=[]);return e.push(t),()=>{let r=e.indexOf(t);r!==-1&&e.splice(r,1)}}$set(n){this.$$set&&!_D(n)&&(this.$$.skip_bound=!0,this.$$set(n),this.$$.skip_bound=!1)}});var Qt=class{$destroy(){vn(this,1),this.$destroy=qe}$on(t,e){if(!Li(e))return qe;let r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(e),()=>{let i=r.indexOf(e);i!==-1&&r.splice(i,1)}}$set(t){this.$$set&&!_D(t)&&(this.$$.skip_bound=!0,this.$$set(t),this.$$.skip_bound=!1)}};Nr();Oc();gt();var wa=[];function AD(n,t=qe){let e,r=new Set;function i(o){if(Zt(n,o)&&(n=o,e)){let l=!wa.length;for(let u of r)u[1](),wa.push(u,n);if(l){for(let u=0;u<wa.length;u+=2)wa[u][0](wa[u+1]);wa.length=0}}}function s(o){i(o(n))}function a(o,l=qe){let u=[o,l];return r.add(u),r.size===1&&(e=t(i)||qe),o(n),()=>{r.delete(u),r.size===0&&e&&(e(),e=null)}}return{set:i,update:s,subscribe:a}}gt();var Ds=AD(J());Ds.subscribe(n=>{it(n)});Pg();os();function Da(n){return n.charAt(0).toUpperCase()+n.slice(1)}function Wt(n,t){if(t===null)return Da(n);let e=n.toLowerCase().indexOf(t.toLowerCase());if(e===-1)return`${Da(n)} (<span class="accesskey">${t.toLowerCase()}</span>)`;let r=n.substring(0,e);return r+='<span class="accesskey">',e===0?r+=n.substring(e,e+1).toUpperCase():r+=n.substring(e,e+1),r+="</span>",r+=n.substring(e+1),r=Da(r),r}function pU(n){let t,e,r,i;return{c(){t=re("code"),e=je(n[4]),r=he(),i=new _a(!1),i.a=null,W(t,"class","tasks-modal-parsed-date")},m(s,a){ce(s,t,a),G(t,e),G(t,r),i.m(n[2],t)},p(s,a){a&16&&bn(e,s[4]),a&4&&i.p(s[2])},d(s){s&&le(t)}}}function mU(n){let t,e,r,i,s;return{c(){t=re("div"),e=je(n[4]),r=re("input"),W(r,"class","tasks-modal-date-editor-picker"),W(r,"type","date"),W(r,"id","date-editor-picker"),W(r,"tabindex","-1"),W(t,"class","tasks-modal-parsed-date")},m(a,o){ce(a,t,o),G(t,e),G(t,r),Tn(r,n[6]),i||(s=[Ne(r,"input",n[10]),Ne(r,"input",n[7])],i=!0)},p(a,o){o&16&&bn(e,a[4]),o&64&&Tn(r,a[6])},d(a){a&&le(t),i=!1,_t(s)}}}function hU(n){let t,e=Wt(n[3],n[5])+"",r,i,s,a,o,l;function u(f,p){return f[1]?mU:pU}let c=u(n,-1),d=c(n);return{c(){t=re("label"),r=he(),i=re("input"),s=he(),d.c(),a=Ur(),W(t,"for",n[3]),W(i,"id",n[3]),W(i,"type","text"),W(i,"class","tasks-modal-date-input"),W(i,"placeholder",gU),W(i,"accesskey",n[5]),bi(i,"tasks-modal-error",!n[1])},m(f,p){ce(f,t,p),t.innerHTML=e,ce(f,r,p),ce(f,i,p),Tn(i,n[0]),ce(f,s,p),d.m(f,p),ce(f,a,p),o||(l=Ne(i,"input",n[9]),o=!0)},p(f,[p]){p&40&&e!==(e=Wt(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]&&Tn(i,f[0]),p&2&&bi(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:qe,o:qe,d(f){f&&le(t),f&&le(r),f&&le(i),f&&le(s),d.d(f),f&&le(a),o=!1,l()}}}var gU="Try 'Mon' or 'tm' then space";function yU(n,t,e){let{id:r}=t,{dateSymbol:i}=t,{date:s}=t,{isDateValid:a}=t,{forwardOnly:o}=t,{accesskey:l}=t,{parsedDate:u=""}=t,c="";function d(h){h.target!==null&&e(0,s=c)}function f(){s=this.value,e(0,s),e(3,r),e(8,o),e(2,u),e(1,a)}function p(){c=this.value,e(6,c),e(0,s),e(3,r),e(8,o),e(2,u),e(1,a)}return n.$$set=h=>{"id"in h&&e(3,r=h.id),"dateSymbol"in h&&e(4,i=h.dateSymbol),"date"in h&&e(0,s=h.date),"isDateValid"in h&&e(1,a=h.isDateValid),"forwardOnly"in h&&e(8,o=h.forwardOnly),"accesskey"in h&&e(5,l=h.accesskey),"parsedDate"in h&&e(2,u=h.parsedDate)},n.$$.update=()=>{n.$$.dirty&271&&(e(0,s=sc(s)),e(2,u=G_(r,s,o)),e(1,a=!u.includes("invalid")),a&&e(6,c=u))},[s,a,u,r,i,l,c,d,o,f,p]}var vy=class extends Qt{constructor(t){super(),kn(this,t,yU,hU,Zt,{id:3,dateSymbol:4,date:0,isDateValid:1,forwardOnly:8,accesskey:5,parsedDate:2})}},Es=vy;var xs=Math.min,Sn=Math.max,Rl=Math.round;var Tr=n=>({x:n,y:n}),bU={left:"right",right:"left",bottom:"top",top:"bottom"};function ky(n,t,e){return Sn(n,xs(t,e))}function Ea(n,t){return typeof n=="function"?n(t):n}function Ti(n){return n.split("-")[0]}function xa(n){return n.split("-")[1]}function Sy(n){return n==="x"?"y":"x"}function _y(n){return n==="y"?"height":"width"}function qr(n){let t=n[0];return t==="t"||t==="b"?"y":"x"}function wy(n){return Sy(qr(n))}function ND(n,t,e){e===void 0&&(e=!1);let r=xa(n),i=wy(n),s=_y(i),a=i==="x"?r===(e?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[s]>t.floating[s]&&(a=Ol(a)),[a,Ol(a)]}function FD(n){let t=Ol(n);return[Uc(n),t,Uc(t)]}function Uc(n){return n.includes("start")?n.replace("start","end"):n.replace("end","start")}var PD=["left","right"],ID=["right","left"],TU=["top","bottom"],vU=["bottom","top"];function kU(n,t,e){switch(n){case"top":case"bottom":return e?t?ID:PD:t?PD:ID;case"left":case"right":return t?TU:vU;default:return[]}}function LD(n,t,e,r){let i=xa(n),s=kU(Ti(n),e==="start",r);return i&&(s=s.map(a=>a+"-"+i),t&&(s=s.concat(s.map(Uc)))),s}function Ol(n){let t=Ti(n);return bU[t]+n.slice(t.length)}function SU(n){return Y({top:0,right:0,bottom:0,left:0},n)}function YD(n){return typeof n!="number"?SU(n):{top:n,right:n,bottom:n,left:n}}function Os(n){let{x:t,y:e,width:r,height:i}=n;return{width:r,height:i,top:e,left:t,right:t+r,bottom:e+i,x:t,y:e}}function UD(n,t,e){let{reference:r,floating:i}=n,s=qr(t),a=wy(t),o=_y(a),l=Ti(t),u=s==="y",c=r.x+r.width/2-i.width/2,d=r.y+r.height/2-i.height/2,f=r[o]/2-i[o]/2,p;switch(l){case"top":p={x:c,y:r.y-i.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-i.width,y:d};break;default:p={x:r.x,y:r.y}}switch(xa(t)){case"start":p[a]-=f*(e&&u?-1:1);break;case"end":p[a]+=f*(e&&u?-1:1);break}return p}function qD(n,t){return A(this,null,function*(){var e;t===void 0&&(t={});let{x:r,y:i,platform:s,rects:a,elements:o,strategy:l}=n,{boundary:u="clippingAncestors",rootBoundary:c="viewport",elementContext:d="floating",altBoundary:f=!1,padding:p=0}=Ea(t,n),h=YD(p),v=o[f?d==="floating"?"reference":"floating":d],E=Os(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})),O=d==="floating"?{x:r,y:i,width:a.floating.width,height:a.floating.height}:a.reference,x=yield s.getOffsetParent==null?void 0:s.getOffsetParent(o.floating),q=(yield s.isElement==null?void 0:s.isElement(x))?(yield s.getScale==null?void 0:s.getScale(x))||{x:1,y:1}:{x:1,y:1},ee=Os(s.convertOffsetParentRelativeRectToViewportRelativeRect?yield s.convertOffsetParentRelativeRectToViewportRelativeRect({elements:o,rect:O,offsetParent:x,strategy:l}):O);return{top:(E.top-ee.top+h.top)/q.y,bottom:(ee.bottom-E.bottom+h.bottom)/q.y,left:(E.left-ee.left+h.left)/q.x,right:(ee.right-E.right+h.right)/q.x}})}var _U=50,WD=(n,t,e)=>A(null,null,function*(){let{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:a}=e,o=a.detectOverflow?a:pe(Y({},a),{detectOverflow:qD}),l=yield a.isRTL==null?void 0:a.isRTL(t),u=yield a.getElementRects({reference:n,floating:t,strategy:i}),{x:c,y:d}=UD(u,r,l),f=r,p=0,h={};for(let b=0;b<s.length;b++){let v=s[b];if(!v)continue;let{name:E,fn:O}=v,{x,y:q,data:ee,reset:V}=yield O({x:c,y:d,initialPlacement:r,placement:f,strategy:i,middlewareData:h,rects:u,platform:o,elements:{reference:n,floating:t}});c=x!=null?x:c,d=q!=null?q:d,h[E]=Y(Y({},h[E]),ee),V&&p<_U&&(p++,typeof V=="object"&&(V.placement&&(f=V.placement),V.rects&&(u=V.rects===!0?yield a.getElementRects({reference:n,floating:t,strategy:i}):V.rects),{x:c,y:d}=UD(u,f,l)),b=-1)}return{x:c,y:d,placement:f,strategy:i,middlewareData:h}});var jD=function(n){return n===void 0&&(n={}),{name:"flip",options:n,fn(e){return A(this,null,function*(){var r,i;let{placement:s,middlewareData:a,rects:o,initialPlacement:l,platform:u,elements:c}=e,H=Ea(n,e),{mainAxis:d=!0,crossAxis:f=!0,fallbackPlacements:p,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:b="none",flipAlignment:v=!0}=H,E=Ws(H,["mainAxis","crossAxis","fallbackPlacements","fallbackStrategy","fallbackAxisSideDirection","flipAlignment"]);if((r=a.arrow)!=null&&r.alignmentOffset)return{};let O=Ti(s),x=qr(l),q=Ti(l)===l,ee=yield u.isRTL==null?void 0:u.isRTL(c.floating),V=p||(q||!v?[Ol(l)]:FD(l)),j=b!=="none";!p&&j&&V.push(...LD(l,v,b,ee));let X=[l,...V],_e=yield u.detectOverflow(e,E),Pe=[],K=((i=a.flip)==null?void 0:i.overflows)||[];if(d&&Pe.push(_e[O]),f){let se=ND(s,o,ee);Pe.push(_e[se[0]],_e[se[1]])}if(K=[...K,{placement:s,overflows:Pe}],!Pe.every(se=>se<=0)){var B,P;let se=(((B=a.flip)==null?void 0:B.index)||0)+1,m=X[se];if(m&&(!(f==="alignment"?x!==qr(m):!1)||K.every(k=>qr(k.placement)===x?k.overflows[0]>0:!0)))return{data:{index:se,overflows:K},reset:{placement:m}};let T=(P=K.filter(S=>S.overflows[0]<=0).sort((S,k)=>S.overflows[1]-k.overflows[1])[0])==null?void 0:P.placement;if(!T)switch(h){case"bestFit":{var te;let S=(te=K.filter(k=>{if(j){let _=qr(k.placement);return _===x||_==="y"}return!0}).map(k=>[k.placement,k.overflows.filter(_=>_>0).reduce((_,C)=>_+C,0)]).sort((k,_)=>k[1]-_[1])[0])==null?void 0:te[0];S&&(T=S);break}case"initialPlacement":T=l;break}if(s!==T)return{reset:{placement:T}}}return{}})}}};var wU=new Set(["left","top"]);function DU(n,t){return A(this,null,function*(){let{placement:e,platform:r,elements:i}=n,s=yield r.isRTL==null?void 0:r.isRTL(i.floating),a=Ti(e),o=xa(e),l=qr(e)==="y",u=wU.has(a)?-1:1,c=s&&l?-1:1,d=Ea(t,n),{mainAxis:f,crossAxis:p,alignmentAxis:h}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return o&&typeof h=="number"&&(p=o==="end"?h*-1:h),l?{x:p*c,y:f*u}:{x:f*u,y:p*c}})}var $D=function(n){return n===void 0&&(n=0),{name:"offset",options:n,fn(e){return A(this,null,function*(){var r,i;let{x:s,y:a,placement:o,middlewareData:l}=e,u=yield DU(e,n);return o===((r=l.offset)==null?void 0:r.placement)&&(i=l.arrow)!=null&&i.alignmentOffset?{}:{x:s+u.x,y:a+u.y,data:pe(Y({},u),{placement:o})}})}}},HD=function(n){return n===void 0&&(n={}),{name:"shift",options:n,fn(e){return A(this,null,function*(){let{x:r,y:i,placement:s,platform:a}=e,O=Ea(n,e),{mainAxis:o=!0,crossAxis:l=!1,limiter:u={fn:x=>{let{x:q,y:ee}=x;return{x:q,y:ee}}}}=O,c=Ws(O,["mainAxis","crossAxis","limiter"]),d={x:r,y:i},f=yield a.detectOverflow(e,c),p=qr(Ti(s)),h=Sy(p),b=d[h],v=d[p];if(o){let x=h==="y"?"top":"left",q=h==="y"?"bottom":"right",ee=b+f[x],V=b-f[q];b=ky(ee,b,V)}if(l){let x=p==="y"?"top":"left",q=p==="y"?"bottom":"right",ee=v+f[x],V=v-f[q];v=ky(ee,v,V)}let E=u.fn(pe(Y({},e),{[h]:b,[p]:v}));return pe(Y({},E),{data:{x:E.x-r,y:E.y-i,enabled:{[h]:o,[p]:l}}})})}}};var BD=function(n){return n===void 0&&(n={}),{name:"size",options:n,fn(e){return A(this,null,function*(){var r,i;let{placement:s,rects:a,platform:o,elements:l}=e,K=Ea(n,e),{apply:u=()=>{}}=K,c=Ws(K,["apply"]),d=yield o.detectOverflow(e,c),f=Ti(s),p=xa(s),h=qr(s)==="y",{width:b,height:v}=a.floating,E,O;f==="top"||f==="bottom"?(E=f,O=p===((yield o.isRTL==null?void 0:o.isRTL(l.floating))?"start":"end")?"left":"right"):(O=f,E=p==="end"?"top":"bottom");let x=v-d.top-d.bottom,q=b-d.left-d.right,ee=xs(v-d[E],x),V=xs(b-d[O],q),j=!e.middlewareData.shift,X=ee,_e=V;if((r=e.middlewareData.shift)!=null&&r.enabled.x&&(_e=q),(i=e.middlewareData.shift)!=null&&i.enabled.y&&(X=x),j&&!p){let B=Sn(d.left,0),P=Sn(d.right,0),te=Sn(d.top,0),H=Sn(d.bottom,0);h?_e=b-2*(B!==0||P!==0?B+P:Sn(d.left,d.right)):X=v-2*(te!==0||H!==0?te+H:Sn(d.top,d.bottom))}yield u(pe(Y({},e),{availableWidth:_e,availableHeight:X}));let Pe=yield o.getDimensions(l.floating);return b!==Pe.width||v!==Pe.height?{reset:{rects:!0}}:{}})}}};function Wc(){return typeof window!="undefined"}function Cs(n){return zD(n)?(n.nodeName||"").toLowerCase():"#document"}function _n(n){var t;return(n==null||(t=n.ownerDocument)==null?void 0:t.defaultView)||window}function Wr(n){var t;return(t=(zD(n)?n.ownerDocument:n.document)||window.document)==null?void 0:t.documentElement}function zD(n){return Wc()?n instanceof Node||n instanceof _n(n).Node:!1}function tr(n){return Wc()?n instanceof Element||n instanceof _n(n).Element:!1}function jr(n){return Wc()?n instanceof HTMLElement||n instanceof _n(n).HTMLElement:!1}function GD(n){return!Wc()||typeof ShadowRoot=="undefined"?!1:n instanceof ShadowRoot||n instanceof _n(n).ShadowRoot}function Oa(n){let{overflow:t,overflowX:e,overflowY:r,display:i}=nr(n);return/auto|scroll|overlay|hidden|clip/.test(t+r+e)&&i!=="inline"&&i!=="contents"}function VD(n){return/^(table|td|th)$/.test(Cs(n))}function Cl(n){try{if(n.matches(":popover-open"))return!0}catch(t){}try{return n.matches(":modal")}catch(t){return!1}}var EU=/transform|translate|scale|rotate|perspective|filter/,xU=/paint|layout|strict|content/,Rs=n=>!!n&&n!=="none",Dy;function jc(n){let t=tr(n)?nr(n):n;return Rs(t.transform)||Rs(t.translate)||Rs(t.scale)||Rs(t.rotate)||Rs(t.perspective)||!$c()&&(Rs(t.backdropFilter)||Rs(t.filter))||EU.test(t.willChange||"")||xU.test(t.contain||"")}function KD(n){let t=vi(n);for(;jr(t)&&!Ms(t);){if(jc(t))return t;if(Cl(t))return null;t=vi(t)}return null}function $c(){return Dy==null&&(Dy=typeof CSS!="undefined"&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),Dy}function Ms(n){return/^(html|body|#document)$/.test(Cs(n))}function nr(n){return _n(n).getComputedStyle(n)}function Ml(n){return tr(n)?{scrollLeft:n.scrollLeft,scrollTop:n.scrollTop}:{scrollLeft:n.scrollX,scrollTop:n.scrollY}}function vi(n){if(Cs(n)==="html")return n;let t=n.assignedSlot||n.parentNode||GD(n)&&n.host||Wr(n);return GD(t)?t.host:t}function QD(n){let t=vi(n);return Ms(t)?n.ownerDocument?n.ownerDocument.body:n.body:jr(t)&&Oa(t)?t:QD(t)}function qc(n,t,e){var r;t===void 0&&(t=[]),e===void 0&&(e=!0);let i=QD(n),s=i===((r=n.ownerDocument)==null?void 0:r.body),a=_n(i);if(s){let o=Hc(a);return t.concat(a,a.visualViewport||[],Oa(i)?i:[],o&&e?qc(o):[])}else return t.concat(i,qc(i,[],e))}function Hc(n){return n.parent&&Object.getPrototypeOf(n.parent)?n.frameElement:null}function eE(n){let t=nr(n),e=parseFloat(t.width)||0,r=parseFloat(t.height)||0,i=jr(n),s=i?n.offsetWidth:e,a=i?n.offsetHeight:r,o=Rl(e)!==s||Rl(r)!==a;return o&&(e=s,r=a),{width:e,height:r,$:o}}function tE(n){return tr(n)?n:n.contextElement}function Ra(n){let t=tE(n);if(!jr(t))return Tr(1);let e=t.getBoundingClientRect(),{width:r,height:i,$:s}=eE(t),a=(s?Rl(e.width):e.width)/r,o=(s?Rl(e.height):e.height)/i;return(!a||!Number.isFinite(a))&&(a=1),(!o||!Number.isFinite(o))&&(o=1),{x:a,y:o}}var OU=Tr(0);function nE(n){let t=_n(n);return!$c()||!t.visualViewport?OU:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function RU(n,t,e){return t===void 0&&(t=!1),!e||t&&e!==_n(n)?!1:t}function Al(n,t,e,r){t===void 0&&(t=!1),e===void 0&&(e=!1);let i=n.getBoundingClientRect(),s=tE(n),a=Tr(1);t&&(r?tr(r)&&(a=Ra(r)):a=Ra(n));let o=RU(s,e,r)?nE(s):Tr(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=r&&tr(r)?_n(r):r,h=f,b=Hc(h);for(;b&&r&&p!==h;){let v=Ra(b),E=b.getBoundingClientRect(),O=nr(b),x=E.left+(b.clientLeft+parseFloat(O.paddingLeft))*v.x,q=E.top+(b.clientTop+parseFloat(O.paddingTop))*v.y;l*=v.x,u*=v.y,c*=v.x,d*=v.y,l+=x,u+=q,h=_n(b),b=Hc(h)}}return Os({width:c,height:d,x:l,y:u})}function Bc(n,t){let e=Ml(n).scrollLeft;return t?t.left+e:Al(Wr(n)).left+e}function rE(n,t){let e=n.getBoundingClientRect(),r=e.left+t.scrollLeft-Bc(n,e),i=e.top+t.scrollTop;return{x:r,y:i}}function CU(n){let{elements:t,rect:e,offsetParent:r,strategy:i}=n,s=i==="fixed",a=Wr(r),o=t?Cl(t.floating):!1;if(r===a||o&&s)return e;let l={scrollLeft:0,scrollTop:0},u=Tr(1),c=Tr(0),d=jr(r);if((d||!d&&!s)&&((Cs(r)!=="body"||Oa(a))&&(l=Ml(r)),d)){let p=Al(r);u=Ra(r),c.x=p.x+r.clientLeft,c.y=p.y+r.clientTop}let f=a&&!d&&!s?rE(a,l):Tr(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 MU(n){return Array.from(n.getClientRects())}function AU(n){let t=Wr(n),e=Ml(n),r=n.ownerDocument.body,i=Sn(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),s=Sn(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight),a=-e.scrollLeft+Bc(n),o=-e.scrollTop;return nr(r).direction==="rtl"&&(a+=Sn(t.clientWidth,r.clientWidth)-i),{width:i,height:s,x:a,y:o}}var ZD=25;function PU(n,t){let e=_n(n),r=Wr(n),i=e.visualViewport,s=r.clientWidth,a=r.clientHeight,o=0,l=0;if(i){s=i.width,a=i.height;let c=$c();(!c||c&&t==="fixed")&&(o=i.offsetLeft,l=i.offsetTop)}let u=Bc(r);if(u<=0){let c=r.ownerDocument,d=c.body,f=getComputedStyle(d),p=c.compatMode==="CSS1Compat"&&parseFloat(f.marginLeft)+parseFloat(f.marginRight)||0,h=Math.abs(r.clientWidth-d.clientWidth-p);h<=ZD&&(s-=h)}else u<=ZD&&(s+=u);return{width:s,height:a,x:o,y:l}}function IU(n,t){let e=Al(n,!0,t==="fixed"),r=e.top+n.clientTop,i=e.left+n.clientLeft,s=jr(n)?Ra(n):Tr(1),a=n.clientWidth*s.x,o=n.clientHeight*s.y,l=i*s.x,u=r*s.y;return{width:a,height:o,x:l,y:u}}function XD(n,t,e){let r;if(t==="viewport")r=PU(n,e);else if(t==="document")r=AU(Wr(n));else if(tr(t))r=IU(t,e);else{let i=nE(n);r={x:t.x-i.x,y:t.y-i.y,width:t.width,height:t.height}}return Os(r)}function iE(n,t){let e=vi(n);return e===t||!tr(e)||Ms(e)?!1:nr(e).position==="fixed"||iE(e,t)}function NU(n,t){let e=t.get(n);if(e)return e;let r=qc(n,[],!1).filter(o=>tr(o)&&Cs(o)!=="body"),i=null,s=nr(n).position==="fixed",a=s?vi(n):n;for(;tr(a)&&!Ms(a);){let o=nr(a),l=jc(a);!l&&o.position==="fixed"&&(i=null),(s?!l&&!i:!l&&o.position==="static"&&!!i&&(i.position==="absolute"||i.position==="fixed")||Oa(a)&&!l&&iE(n,a))?r=r.filter(c=>c!==a):i=o,a=vi(a)}return t.set(n,r),r}function FU(n){let{element:t,boundary:e,rootBoundary:r,strategy:i}=n,a=[...e==="clippingAncestors"?Cl(t)?[]:NU(t,this._c):[].concat(e),r],o=XD(t,a[0],i),l=o.top,u=o.right,c=o.bottom,d=o.left;for(let f=1;f<a.length;f++){let p=XD(t,a[f],i);l=Sn(p.top,l),u=xs(p.right,u),c=xs(p.bottom,c),d=Sn(p.left,d)}return{width:u-d,height:c-l,x:d,y:l}}function LU(n){let{width:t,height:e}=eE(n);return{width:t,height:e}}function YU(n,t,e){let r=jr(t),i=Wr(t),s=e==="fixed",a=Al(n,!0,s,t),o={scrollLeft:0,scrollTop:0},l=Tr(0);function u(){l.x=Bc(i)}if(r||!r&&!s)if((Cs(t)!=="body"||Oa(i))&&(o=Ml(t)),r){let p=Al(t,!0,s,t);l.x=p.x+t.clientLeft,l.y=p.y+t.clientTop}else i&&u();s&&!r&&i&&u();let c=i&&!r&&!s?rE(i,o):Tr(0),d=a.left+o.scrollLeft-l.x-c.x,f=a.top+o.scrollTop-l.y-c.y;return{x:d,y:f,width:a.width,height:a.height}}function Ey(n){return nr(n).position==="static"}function JD(n,t){if(!jr(n)||nr(n).position==="fixed")return null;if(t)return t(n);let e=n.offsetParent;return Wr(n)===e&&(e=e.ownerDocument.body),e}function sE(n,t){let e=_n(n);if(Cl(n))return e;if(!jr(n)){let i=vi(n);for(;i&&!Ms(i);){if(tr(i)&&!Ey(i))return i;i=vi(i)}return e}let r=JD(n,t);for(;r&&VD(r)&&Ey(r);)r=JD(r,t);return r&&Ms(r)&&Ey(r)&&!jc(r)?e:r||KD(n)||e}var UU=function(n){return A(this,null,function*(){let t=this.getOffsetParent||sE,e=this.getDimensions,r=yield e(n.floating);return{reference:YU(n.reference,yield t(n.floating),n.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}})};function qU(n){return nr(n).direction==="rtl"}var WU={convertOffsetParentRelativeRectToViewportRelativeRect:CU,getDocumentElement:Wr,getClippingRect:FU,getOffsetParent:sE,getElementRects:UU,getClientRects:MU,getDimensions:LU,getScale:Ra,isElement:tr,isRTL:qU};var xy=$D;var Oy=HD,aE=jD,oE=BD;var Ry=(n,t,e)=>{let r=new Map,i=Y({platform:WU},e),s=pe(Y({},i.platform),{_c:r});return WD(n,t,pe(Y({},i),{platform:s}))};Xg();function lE(n,t,e){let r=n.slice();return r[6]=t[e],r}function uE(n,t,e){let r=n.slice();r[41]=t[e],r[44]=e;let i=r[18](r[41].taskLocation.path);return r[42]=i,r}function cE(n){let t,e,r,i=n[11],s=[];for(let a=0;a<i.length;a+=1)s[a]=fE(uE(n,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);n[32](t),e||(r=Ne(t,"mouseleave",n[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=uE(a,i,l);s[l]?s[l].p(u,o):(s[l]=fE(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),yi(s,a),n[32](null),e=!1,r()}}}function dE(n){let t,e=n[42]+"",r,i,s;function a(...o){return n[29](n[42],...o)}return{c(){t=re("div"),r=je(e),W(t,"class","dependency-path")},m(o,l){ce(o,t,l),G(t,r),i||(s=Ne(t,"mouseenter",a),i=!0)},p(o,l){n=o,l[0]&2048&&e!==(e=n[42]+"")&&bn(r,e)},d(o){o&&le(t),i=!1,s()}}}function fE(n){let t,e,r,i=n[41].status.symbol+"",s,a,o=ys(n[41])+"",l,u,c,d,f,p;function h(...O){return n[28](n[41],...O)}let b=n[42]&&dE(n);function v(){return n[30](n[41])}function E(){return n[31](n[44])}return{c(){t=re("li"),e=re("div"),r=je("["),s=je(i),a=je("] "),l=je(o),c=he(),b&&b.c(),d=he(),W(e,"class",u=n[42]?"dependency-name-shared":"dependency-name"),bi(t,"selected",n[7]!==null&&n[44]===n[12])},m(O,x){ce(O,t,x),G(t,e),G(e,r),G(e,s),G(e,a),G(e,l),G(t,c),b&&b.m(t,null),G(t,d),f||(p=[Ne(e,"mouseenter",h),Ne(t,"mousedown",v),Ne(t,"mouseenter",E)],f=!0)},p(O,x){n=O,x[0]&2048&&i!==(i=n[41].status.symbol+"")&&bn(s,i),x[0]&2048&&o!==(o=ys(n[41])+"")&&bn(l,o),x[0]&2048&&u!==(u=n[42]?"dependency-name-shared":"dependency-name")&&W(e,"class",u),n[42]?b?b.p(n,x):(b=dE(n),b.c(),b.m(t,d)):b&&(b.d(1),b=null),x[0]&4224&&bi(t,"selected",n[7]!==null&&n[44]===n[12])},d(O){O&&le(t),b&&b.d(),f=!1,_t(p)}}}function pE(n){let t,e=n[0][n[2]],r=[];for(let i=0;i<e.length;i+=1)r[i]=mE(lE(n,e,i));return{c(){t=re("div");for(let i=0;i<r.length;i+=1)r[i].c();W(t,"class","task-dependencies-container results-dependency")},m(i,s){ce(i,t,s);for(let a=0;a<r.length;a+=1)r[a]&&r[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=lE(i,e,a);r[a]?r[a].p(o,s):(r[a]=mE(o),r[a].c(),r[a].m(t,null))}for(;a<r.length;a+=1)r[a].d(1);r.length=e.length}},d(i){i&&le(t),yi(r,i)}}}function mE(n){let t,e,r,i=n[6].status.symbol+"",s,a,o=ys(n[6])+"",l,u,c,d,f,p;function h(){return n[34](n[6])}function b(...v){return n[35](n[6],...v)}return{c(){t=re("div"),e=re("span"),r=je("["),s=je(i),a=je("] "),l=je(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),G(t,e),G(e,r),G(e,s),G(e,a),G(e,l),G(t,u),G(t,c),G(t,d),f||(p=[Ne(c,"click",h),Ne(t,"mouseenter",b)],f=!0)},p(v,E){n=v,E[0]&5&&i!==(i=n[6].status.symbol+"")&&bn(s,i),E[0]&5&&o!==(o=ys(n[6])+"")&&bn(l,o)},d(v){v&&le(t),f=!1,_t(p)}}}function jU(n){let t,e=Wt(n[3],n[4])+"",r,i,s,a,o,l,u,c,d,f=n[11]&&n[11].length!==0&&cE(n),p=n[0][n[2]].length!==0&&pE(n);return{c(){t=re("label"),r=he(),i=re("span"),s=re("input"),o=he(),f&&f.c(),l=he(),p&&p.c(),u=Ur(),W(t,"for",n[2]),W(s,"accesskey",n[4]),W(s,"id",n[1]),W(s,"class","tasks-modal-dependency-input"),W(s,"type","text"),W(s,"placeholder",n[5]),ws(()=>n[27].call(i))},m(h,b){ce(h,t,b),t.innerHTML=e,ce(h,r,b),ce(h,i,b),G(i,s),n[23](s),Tn(s,n[7]),a=CD(i,n[27].bind(i)),ce(h,o,b),f&&f.m(h,b),ce(h,l,b),p&&p.m(h,b),ce(h,u,b),c||(d=[Ne(s,"input",n[24]),Ne(s,"keydown",n[25]),Ne(s,"focus",n[17]),Ne(s,"blur",n[26])],c=!0)},p(h,b){b[0]&24&&e!==(e=Wt(h[3],h[4])+"")&&(t.innerHTML=e),b[0]&4&&W(t,"for",h[2]),b[0]&16&&W(s,"accesskey",h[4]),b[0]&2&&W(s,"id",h[1]),b[0]&32&&W(s,"placeholder",h[5]),b[0]&128&&s.value!==h[7]&&Tn(s,h[7]),h[11]&&h[11].length!==0?f?f.p(h,b):(f=cE(h),f.c(),f.m(l.parentNode,l)):f&&(f.d(1),f=null),h[0][h[2]].length!==0?p?p.p(h,b):(p=pE(h),p.c(),p.m(u.parentNode,u)):p&&(p.d(1),p=null)},i:qe,o:qe,d(h){h&&le(t),h&&le(r),h&&le(i),n[23](null),a(),h&&le(o),f&&f.d(h),h&&le(l),p&&p.d(h),h&&le(u),c=!1,_t(d)}}}function $U(n,t,e){let{task:r}=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,h=0,b,v=!1,E=!1,O,x;function q(w){e(0,i[l]=[...i[l],w],i),e(7,f=""),e(8,v=!1)}function ee(w){e(0,i[l]=i[l].filter($=>$!==w),i)}function V(w){var $;if(p!==null){switch(w.key){case"ArrowUp":w.preventDefault(),h&&h>0?e(12,h-=1):e(12,h=p.length-1);break;case"ArrowDown":w.preventDefault(),h&&h<p.length-1?e(12,h+=1):e(12,h=0);break;case"Enter":if(w.isComposing)return;h!==null?(w.preventDefault(),q(p[h]),e(12,h=null),e(8,v=!1)):a(w);break;default:e(12,h=0);break}h&&(($=x==null?void 0:x.getElementsByTagName("li")[h])===null||$===void 0||$.scrollIntoView({block:"nearest"}))}}function j(w){return!w&&!E?[]:(E=!1,wc(w,s,r,i.blockedBy,i.blocking))}function X(){e(8,v=!0),E=!0}function _e(w,$){!w||!$||Ry(w,$,{middleware:[xy(6),Oy(),aE(),oE({apply(){$&&Object.assign($.style,{width:`${b}px`})}})]}).then(({x:de,y:ye})=>{$.style.left=`${de}px`,$.style.top=`${ye}px`})}function Pe(w){return w===r.taskLocation.path?"":w}function K(w){return ys(w)}function B(w,$){let de=w.createDiv();de.addClasses(["tooltip","pop-up"]),de.innerText=$,Ry(w,de,{placement:"top",middleware:[xy(-18),Oy()]}).then(({x:ye,y:fe})=>{de.style.left=`${ye}px`,de.style.top=`${fe}px`}),w.addEventListener("mouseleave",()=>de.remove())}function P(w){ut[w?"unshift":"push"](()=>{O=w,e(9,O)})}function te(){f=this.value,e(7,f)}let H=w=>V(w),se=()=>e(8,v=!1);function m(){b=this.clientWidth,e(13,b)}let T=(w,$)=>B($.currentTarget,K(w)),S=(w,$)=>B($.currentTarget,w),k=w=>q(w),_=w=>e(12,h=w);function C(w){ut[w?"unshift":"push"](()=>{x=w,e(10,x)})}let I=()=>e(12,h=null),U=w=>ee(w),L=(w,$)=>B($.currentTarget,K(w));return n.$$set=w=>{"task"in w&&e(6,r=w.task),"editableTask"in w&&e(0,i=w.editableTask),"allTasks"in w&&e(21,s=w.allTasks),"_onDescriptionKeyDown"in w&&e(22,a=w._onDescriptionKeyDown),"id"in w&&e(1,o=w.id),"type"in w&&e(2,l=w.type),"labelText"in w&&e(3,u=w.labelText),"accesskey"in w&&e(4,c=w.accesskey),"placeholder"in w&&e(5,d=w.placeholder)},n.$$.update=()=>{n.$$.dirty[0]&1536&&_e(O,x),n.$$.dirty[0]&384&&e(11,p=v?j(f):null)},[i,o,l,u,c,d,r,f,v,O,x,p,h,b,q,ee,V,X,Pe,K,B,s,a,P,te,H,se,m,T,S,k,_,C,I,U,L]}var Cy=class extends Qt{constructor(t){super(),kn(this,t,$U,jU,Zt,{task:6,editableTask:0,allTasks:21,_onDescriptionKeyDown:22,id:1,type:2,labelText:3,accesskey:4,placeholder:5},null,[-1,-1])}},My=Cy;dn();os();_l();var Iy=require("obsidian");dn();vs();fy();var Pl,Ay,Py,HU=["md"];function Vc(){return fn.getLogger("tasks.File")}var hE=({metadataCache:n,vault:t,workspace:e})=>{Pl=n,Ay=t,Py=e},Un=e=>A(null,[e],function*({originalTask:n,newTasks:t}){if(Ay===void 0||Pl===void 0||Py===void 0){Gc("Tasks: cannot use File before initializing it.");return}Array.isArray(t)||(t=[t]);let r=Vc(),i="replaceTaskWithTasks()";Mc(r,i,n),Ac(r,i,t),yield yE({originalTask:n,newTasks:t,vault:Ay,metadataCache:Pl,workspace:Py,previousTries:0})});function Gc(n){console.error(n),new Iy.Notice(n,15e3)}function gE(n){console.warn(n),new Iy.Notice(n,1e4)}function BU(n){Vc().debug(n)}var Yi=class extends Error{},zc=class extends Error{},yE=a=>A(null,[a],function*({originalTask:n,newTasks:t,vault:e,metadataCache:r,workspace:i,previousTries:s}){let o=Vc();o.debug(`tryRepetitive after ${s} previous tries`);let l=()=>A(null,null,function*(){if(s>10){let c=`Tasks: Could not find the correct task line to update.

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

In this markdown file:
"${n.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.
`;Gc(c);return}let u=Math.min(Math.pow(10,s),100);o.debug(`timeout = ${u}`),setTimeout(()=>A(null,null,function*(){yield yE({originalTask:n,newTasks:t,vault:e,metadataCache:r,workspace:i,previousTries:s+1})}),u)});try{let[u,c,d]=yield bE(n,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 Yi){u.message&&gE(u.message),yield l();return}else if(u instanceof zc){yield l();return}else u instanceof Error&&Gc(u.message)}});function bE(n,t){return A(this,null,function*(){if(Pl===void 0)throw new Yi;let e=n.file.tFile||t.getFileByPath(n.path);if(!e)throw new Yi(`Tasks: No file found for task ${n.description}. Retrying ...`);if(!HU.includes(e.extension))throw new Error(`Tasks: Does not support files with the ${e.extension} file extension.`);let r=Pl.getFileCache(e);if(r==null||r===null)throw new Yi(`Tasks: No file cache found for file ${e.path}. Retrying ...`);let i=r.listItems;if(i===void 0||i.length===0)throw new Yi(`Tasks: No list items found in file cache of ${e.path}. Retrying ...`);let a=(yield t.read(e)).split(`
`),o=GU(n,a,i,BU);if(o===void 0)throw new zc;return[o,e,a]})}function Ny(n,t){return A(this,null,function*(){try{let[e,r,i]=yield bE(n,t);return[e,r]}catch(e){e instanceof Yi?e.message&&gE(e.message):e instanceof Error&&Gc(e.message)}})}function TE(n,t){return n<t.length}function GU(n,t,e,r){let i=zU(n,t);return i!==void 0||(i=VU(n,t),i!==void 0)?i:KU(n,t,e,r)}function zU(n,t){let e=n.taskLocation.lineNumber;if(TE(e,t)&&t[e]===n.originalMarkdown)return Vc().debug(`Found original markdown at original line number ${e}`),e}function VU(n,t){let e=[];for(let r=0;r<t.length;r++)t[r]===n.originalMarkdown&&e.push(r);if(e.length===1)return e[0]}function KU(n,t,e,r){let i,s=0;for(let a of e){let o=a.position.start.line;if(!TE(o,t))return;if(o<n.taskLocation.sectionStart||a.task===void 0)continue;let l=t[o];if(Ae.getInstance().includedIn(l)){if(s===n.taskLocation.sectionIndex){if(l===n.originalMarkdown)i=o;else{r(`Tasks: Unable to find task in file ${n.taskLocation.path}.
Expected task:
${n.originalMarkdown}
Found task:
${l}`);return}break}s++}}return i}ac();ms();bc();At();_c();In();var Kc=class n{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 r=Ae.getInstance().removeAsWordFrom(t.description),i=r!=t.description||!Ae.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 n({addGlobalFilterOnSave:i,originalBlocking:o,description:r,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 r=this.description.trim();this.addGlobalFilterOnSave&&(r=Ae.getInstance().prependTo(r));let i=as(this.startDate,this.forwardOnly),s=as(this.scheduledDate,this.forwardOnly),a=as(this.dueDate,this.forwardOnly),o=as(this.cancelledDate,this.forwardOnly),l=as(this.createdDate,this.forwardOnly),u=as(this.doneDate,this.forwardOnly),c=null;this.recurrenceRule&&(c=mi.fromText({recurrenceRuleText:this.recurrenceRule,occurrence:new li({startDate:i,scheduledDate:s,dueDate:a})}));let d=this.onCompletion,f=[];for(let O of this.blockedBy){let x=yield QU(O,e);f.push(x)}let p=t.id,h=[],b=[];(this.blocking.toString()!==this.originalBlocking.toString()||this.blocking.length!==0)&&(t.id===""&&(p=kl(e.filter(O=>O.id!=="").map(O=>O.id))),h=this.originalBlocking.filter(O=>!this.blocking.includes(O)),b=this.blocking.filter(O=>!this.originalBlocking.includes(O)));let v=new ke(pe(Y({},t),{description:r,status:t.status,priority:hr.priorityValue(this.priority),onCompletion:d,recurrence:c,startDate:i,scheduledDate:s,dueDate:a,doneDate:u,createdDate:l,cancelledDate:o,dependsOn:f.map(O=>O.id),id:p}));for(let O of h){let x=Qw(O,v);yield Un({originalTask:O,newTasks:x})}for(let O of b){let x=Kw(O,v);yield Un({originalTask:O,newTasks:x})}let E=this.inferTodaysDate(this.status.type,u,o);return v.handleNewStatusWithRecurrenceInUsersOrder(this.status,E)})}inferTodaysDate(t,e,r){return t==="DONE"&&e!==null?e:t==="CANCELLED"&&r!==null?r:window.moment()}parseAndValidateRecurrence(){var e;if(!this.recurrenceRule)return{parsedRecurrence:"<i>not recurring</>",isRecurrenceValid:!0};let t=(e=mi.fromText({recurrenceRuleText:this.recurrenceRule,occurrence:new li({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 QU(n,t){return A(this,null,function*(){if(n.id!=="")return n;let e=t.filter(i=>i.id!==""),r=Sc(n,e.map(i=>i.id));return yield Un({originalTask:n,newTasks:r}),r})}gt();function vE(n,t,e){let r=n.slice();return r[7]=t[e].value,r[8]=t[e].label,r[9]=t[e].symbol,r[10]=t[e].accessKey,r[11]=t[e].accessKeyIndex,r}function ZU(n){let t,e=n[8]+"",r;return{c(){t=re("span"),r=je(e)},m(i,s){ce(i,t,s),G(t,r)},p:qe,d(i){i&&le(t)}}}function XU(n){let t,e=n[8].substring(0,n[11])+"",r,i,s=n[8].substring(n[11],n[11]+1)+"",a,o,l=n[8].substring(n[11]+1)+"",u;return{c(){t=re("span"),r=je(e),i=re("span"),a=je(s),o=re("span"),u=je(l),W(i,"class","accesskey")},m(c,d){ce(c,t,d),G(t,r),ce(c,i,d),G(i,a),ce(c,o,d),G(o,u)},p:qe,d(c){c&&le(t),c&&le(i),c&&le(o)}}}function JU(n){let t,e=n[9]+"",r;return{c(){t=re("span"),r=je(e)},m(i,s){ce(i,t,s),G(t,r)},p:qe,d(i){i&&le(t)}}}function kE(n){let t,e,r,i,s,a,o,l,u=n[9]&&n[9].charCodeAt(0)>=256,c,d,f,p,h;function b(x,q){return x[1]?XU:ZU}let v=b(n,-1),E=v(n),O=u&&JU(n);return f=OD(n[5][0]),{c(){t=re("div"),e=re("input"),a=he(),o=re("label"),E.c(),l=he(),O&&O.c(),d=he(),W(e,"type","radio"),W(e,"id",r="priority-"+n[7]),e.__value=i=n[7],e.value=e.__value,W(e,"accesskey",s=n[2](n[10])),W(o,"for",c="priority-"+n[7]),W(t,"class","task-modal-priority-option-container"),f.p(e)},m(x,q){ce(x,t,q),G(t,e),e.checked=e.__value===n[0],G(t,a),G(t,o),E.m(o,null),G(o,l),O&&O.m(o,null),G(t,d),p||(h=Ne(e,"change",n[4]),p=!0)},p(x,q){q&4&&s!==(s=x[2](x[10]))&&W(e,"accesskey",s),q&1&&(e.checked=e.__value===x[0]),v===(v=b(x,q))&&E?E.p(x,q):(E.d(1),E=v(x),E&&(E.c(),E.m(o,l))),u&&O.p(x,q)},d(x){x&&le(t),E.d(),O&&O.d(),f.r(),p=!1,h()}}}function eq(n){let t,e,r,i,s,a=n[3],o=[];for(let l=0;l<a.length;l+=1)o[l]=kE(vE(n,a,l));return{c(){t=re("label"),e=je("Priority"),i=he();for(let l=0;l<o.length;l+=1)o[l].c();s=Ur(),W(t,"for",r="priority-"+n[0]),W(t,"id","priority")},m(l,u){ce(l,t,u),G(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&&r!==(r="priority-"+l[0])&&W(t,"for",r),u&15){a=l[3];let c;for(c=0;c<a.length;c+=1){let d=vE(l,a,c);o[c]?o[c].p(d,u):(o[c]=kE(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:qe,o:qe,d(l){l&&le(t),l&&le(i),yi(o,l),l&&le(s)}}}function tq(n,t,e){let r,{priority:i}=t,{withAccessKeys:s}=t,{prioritySymbols:a}=Nn.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 n.$$set=c=>{"priority"in c&&e(0,i=c.priority),"withAccessKeys"in c&&e(1,s=c.withAccessKeys)},n.$$.update=()=>{n.$$.dirty&2&&e(2,r=c=>s?c:null)},[i,s,r,o,u,l]}var Fy=class extends Qt{constructor(t){super(),kn(this,t,tq,eq,Zt,{priority:0,withAccessKeys:1})}},SE=Fy;gt();function nq(n){let t,e=Wt("Recurs",n[2])+"",r,i,s,a,o,l,u,c,d;return{c(){t=re("label"),r=he(),i=re("input"),s=he(),a=re("code"),o=je(n[4]),l=he(),u=new _a(!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",n[2]),bi(i,"tasks-modal-error",!n[1]),u.a=null,W(a,"class","tasks-modal-parsed-date")},m(f,p){ce(f,t,p),t.innerHTML=e,ce(f,r,p),ce(f,i,p),Tn(i,n[0].recurrenceRule),ce(f,s,p),ce(f,a,p),G(a,o),G(a,l),u.m(n[3],a),c||(d=Ne(i,"input",n[5]),c=!0)},p(f,[p]){p&4&&e!==(e=Wt("Recurs",f[2])+"")&&(t.innerHTML=e),p&4&&W(i,"accesskey",f[2]),p&1&&i.value!==f[0].recurrenceRule&&Tn(i,f[0].recurrenceRule),p&2&&bi(i,"tasks-modal-error",!f[1]),p&8&&u.p(f[3])},i:qe,o:qe,d(f){f&&le(t),f&&le(r),f&&le(i),f&&le(s),f&&le(a),c=!1,d()}}}function rq(n,t,e){let{editableTask:r}=t,{isRecurrenceValid:i}=t,{accesskey:s}=t,a,{recurrenceSymbol:o}=Nn.tasksPluginEmoji.taskSerializer.symbols;function l(){r.recurrenceRule=this.value,e(0,r)}return n.$$set=u=>{"editableTask"in u&&e(0,r=u.editableTask),"isRecurrenceValid"in u&&e(1,i=u.isRecurrenceValid),"accesskey"in u&&e(2,s=u.accesskey)},n.$$.update=()=>{n.$$.dirty&1&&e(3,{parsedRecurrence:a,isRecurrenceValid:i}=r.parseAndValidateRecurrence(),a,(e(1,i),e(0,r)))},[r,i,s,a,o,l]}var Ly=class extends Qt{constructor(t){super(),kn(this,t,rq,nq,Zt,{editableTask:0,isRecurrenceValid:1,accesskey:2})}},_E=Ly;function wE(n,t,e){let r=n.slice();return r[7]=t[e],r}function DE(n){let t,e=n[7].name+"",r,i,s=n[7].symbol+"",a,o,l;return{c(){t=re("option"),r=je(e),i=je(" ["),a=je(s),o=je("]"),t.__value=l=n[7].symbol,t.value=t.__value},m(u,c){ce(u,t,c),G(t,r),G(t,i),G(t,a),G(t,o)},p(u,c){c&1&&e!==(e=u[7].name+"")&&bn(r,e),c&1&&s!==(s=u[7].symbol+"")&&bn(a,s),c&1&&l!==(l=u[7].symbol)&&(t.__value=l,t.value=t.__value)},d(u){u&&le(t)}}}function iq(n){let t,e=Wt("Status",n[1])+"",r,i,s,a,o=n[0],l=[];for(let u=0;u<o.length;u+=1)l[u]=DE(wE(n,o,u));return{c(){t=re("label"),r=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",n[1]),n[2]===void 0&&ws(()=>n[6].call(i))},m(u,c){ce(u,t,c),t.innerHTML=e,ce(u,r,c),ce(u,i,c);for(let d=0;d<l.length;d+=1)l[d]&&l[d].m(i,null);by(i,n[2],!0),s||(a=[Ne(i,"change",n[6]),Ne(i,"change",n[3])],s=!0)},p(u,[c]){if(c&2&&e!==(e=Wt("Status",u[1])+"")&&(t.innerHTML=e),c&1){o=u[0];let d;for(d=0;d<o.length;d+=1){let f=wE(u,o,d);l[d]?l[d].p(f,c):(l[d]=DE(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&&by(i,u[2])},i:qe,o:qe,d(u){u&&le(t),u&&le(r),u&&le(i),yi(l,u),s=!1,_t(a)}}}function EE(n,t,e){let r=n==="";return t&&r?e.formatAsDate():!t&&!r?"":n}function sq(n,t,e){let{task:r}=t,{editableTask:i}=t,{statusOptions:s}=t,{accesskey:a}=t,o=r.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=r.handleNewStatus(c).pop();d&&(e(4,i.doneDate=EE(i.doneDate,c.isCompleted(),d.done),i),e(4,i.cancelledDate=EE(i.cancelledDate,c.isCancelled(),d.cancelled),i))};function u(){o=RD(this),e(2,o),e(0,s)}return n.$$set=c=>{"task"in c&&e(5,r=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,r,u]}var Yy=class extends Qt{constructor(t){super(),kn(this,t,sq,iq,Zt,{task:5,editableTask:4,statusOptions:0,accesskey:1})}},xE=Yy;function OE(n){let t,e,r,i,s,a;function o(u){n[32](u)}let l={withAccessKeys:n[11]};return n[3].priority!==void 0&&(l.priority=n[3].priority),e=new SE({props:l}),ut.push(()=>Jt(e,"priority",o)),{c(){t=re("section"),er(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),Yn(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]),!r&&c[0]&8&&(r=!0,d.priority=u[3].priority,Xt(()=>r=!1)),e.$set(d)},i(u){a||(ge(e.$$.fragment,u),a=!0)},o(u){Le(e.$$.fragment,u),a=!1},d(u){u&&le(t),vn(e),u&&le(i),u&&le(s)}}}function RE(n){let t,e,r;function i(a){n[33](a)}let s={editableTask:n[3],accesskey:n[16]("r")};return n[10]!==void 0&&(s.isRecurrenceValid=n[10]),t=new _E({props:s}),ut.push(()=>Jt(t,"isRecurrenceValid",i)),{c(){er(t.$$.fragment)},m(a,o){Yn(t,a,o),r=!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){r||(ge(t.$$.fragment,a),r=!0)},o(a){Le(t.$$.fragment,a),r=!1},d(a){vn(t,a)}}}function CE(n){let t,e,r,i;function s(l){n[34](l)}function a(l){n[35](l)}let o={id:"due",dateSymbol:n[19],forwardOnly:n[3].forwardOnly,accesskey:n[16]("d")};return n[3].dueDate!==void 0&&(o.date=n[3].dueDate),n[7]!==void 0&&(o.isDateValid=n[7]),t=new Es({props:o}),ut.push(()=>Jt(t,"date",s)),ut.push(()=>Jt(t,"isDateValid",a)),{c(){er(t.$$.fragment)},m(l,u){Yn(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)),!r&&u[0]&128&&(r=!0,c.isDateValid=l[7],Xt(()=>r=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Le(t.$$.fragment,l),i=!1},d(l){vn(t,l)}}}function ME(n){let t,e,r,i;function s(l){n[36](l)}function a(l){n[37](l)}let o={id:"scheduled",dateSymbol:n[18],forwardOnly:n[3].forwardOnly,accesskey:n[16]("s")};return n[3].scheduledDate!==void 0&&(o.date=n[3].scheduledDate),n[8]!==void 0&&(o.isDateValid=n[8]),t=new Es({props:o}),ut.push(()=>Jt(t,"date",s)),ut.push(()=>Jt(t,"isDateValid",a)),{c(){er(t.$$.fragment)},m(l,u){Yn(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)),!r&&u[0]&256&&(r=!0,c.isDateValid=l[8],Xt(()=>r=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Le(t.$$.fragment,l),i=!1},d(l){vn(t,l)}}}function AE(n){let t,e,r,i;function s(l){n[38](l)}function a(l){n[39](l)}let o={id:"start",dateSymbol:n[17],forwardOnly:n[3].forwardOnly,accesskey:n[16]("a")};return n[3].startDate!==void 0&&(o.date=n[3].startDate),n[9]!==void 0&&(o.isDateValid=n[9]),t=new Es({props:o}),ut.push(()=>Jt(t,"date",s)),ut.push(()=>Jt(t,"isDateValid",a)),{c(){er(t.$$.fragment)},m(l,u){Yn(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)),!r&&u[0]&512&&(r=!0,c.isDateValid=l[9],Xt(()=>r=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Le(t.$$.fragment,l),i=!1},d(l){vn(t,l)}}}function PE(n){let t,e,r=Wt("Only future dates:",n[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=n[16]("f")),W(t,"class","future-dates-only"),W(t,"id","only-future-dates")},m(u,c){ce(u,t,c),G(t,e),e.innerHTML=r,G(t,i),G(t,s),s.checked=n[3].forwardOnly,o||(l=Ne(s,"change",n[40]),o=!0)},p(u,c){c[0]&65536&&r!==(r=Wt("Only future dates:",u[16]("f"))+"")&&(e.innerHTML=r),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 IE(n){let t;return{c(){t=re("hr"),W(t,"id","line-after-happens-dates")},m(e,r){ce(e,t,r)},d(e){e&&le(t)}}}function aq(n){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,r){ce(e,t,r)},p:qe,i:qe,o:qe,d(e){e&&le(t)}}}function oq(n){let t,e,r,i=n[15].before_this&&NE(n),s=n[15].after_this&&FE(n);return{c(){i&&i.c(),t=he(),s&&s.c(),e=Ur()},m(a,o){i&&i.m(a,o),ce(a,t,o),s&&s.m(a,o),ce(a,e,o),r=!0},p(a,o){a[15].before_this?i?(i.p(a,o),o[0]&32768&&ge(i,1)):(i=NE(a),i.c(),ge(i,1),i.m(t.parentNode,t)):i&&(Fn(),Le(i,1,1,()=>{i=null}),Ln()),a[15].after_this?s?(s.p(a,o),o[0]&32768&&ge(s,1)):(s=FE(a),s.c(),ge(s,1),s.m(e.parentNode,e)):s&&(Fn(),Le(s,1,1,()=>{s=null}),Ln())},i(a){r||(ge(i),ge(s),r=!0)},o(a){Le(i),Le(s),r=!1},d(a){i&&i.d(a),a&&le(t),s&&s.d(a),a&&le(e)}}}function NE(n){let t,e;return t=new My({props:{id:"before_this",type:"blockedBy",labelText:"Before this",task:n[0],editableTask:n[3],allTasks:n[2],_onDescriptionKeyDown:n[24],accesskey:n[16]("b"),placeholder:"Search for tasks that the task being edited depends on..."}}),{c(){er(t.$$.fragment)},m(r,i){Yn(t,r,i),e=!0},p(r,i){let s={};i[0]&1&&(s.task=r[0]),i[0]&8&&(s.editableTask=r[3]),i[0]&4&&(s.allTasks=r[2]),i[0]&65536&&(s.accesskey=r[16]("b")),t.$set(s)},i(r){e||(ge(t.$$.fragment,r),e=!0)},o(r){Le(t.$$.fragment,r),e=!1},d(r){vn(t,r)}}}function FE(n){let t,e;return t=new My({props:{id:"after_this",type:"blocking",labelText:"After this",task:n[0],editableTask:n[3],allTasks:n[2],_onDescriptionKeyDown:n[24],accesskey:n[16]("e"),placeholder:"Search for tasks that depend on this task being done..."}}),{c(){er(t.$$.fragment)},m(r,i){Yn(t,r,i),e=!0},p(r,i){let s={};i[0]&1&&(s.task=r[0]),i[0]&8&&(s.editableTask=r[3]),i[0]&4&&(s.allTasks=r[2]),i[0]&65536&&(s.accesskey=r[16]("e")),t.$set(s)},i(r){e||(ge(t.$$.fragment,r),e=!0)},o(r){Le(t.$$.fragment,r),e=!1},d(r){vn(t,r)}}}function LE(n){let t;return{c(){t=re("hr"),W(t,"id","line-after-dependencies")},m(e,r){ce(e,t,r)},d(e){e&&le(t)}}}function YE(n){let t,e,r;function i(a){n[41](a)}let s={task:n[0],statusOptions:n[1],accesskey:n[16]("u")};return n[3]!==void 0&&(s.editableTask=n[3]),t=new xE({props:s}),ut.push(()=>Jt(t,"editableTask",i)),{c(){er(t.$$.fragment)},m(a,o){Yn(t,a,o),r=!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){r||(ge(t.$$.fragment,a),r=!0)},o(a){Le(t.$$.fragment,a),r=!1},d(a){vn(t,a)}}}function UE(n){let t,e,r,i;function s(l){n[42](l)}function a(l){n[43](l)}let o={id:"created",dateSymbol:n[21],forwardOnly:n[3].forwardOnly,accesskey:n[16]("c")};return n[3].createdDate!==void 0&&(o.date=n[3].createdDate),n[5]!==void 0&&(o.isDateValid=n[5]),t=new Es({props:o}),ut.push(()=>Jt(t,"date",s)),ut.push(()=>Jt(t,"isDateValid",a)),{c(){er(t.$$.fragment)},m(l,u){Yn(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)),!r&&u[0]&32&&(r=!0,c.isDateValid=l[5],Xt(()=>r=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Le(t.$$.fragment,l),i=!1},d(l){vn(t,l)}}}function qE(n){let t,e,r,i;function s(l){n[44](l)}function a(l){n[45](l)}let o={id:"done",dateSymbol:n[22],forwardOnly:n[3].forwardOnly,accesskey:n[16]("x")};return n[3].doneDate!==void 0&&(o.date=n[3].doneDate),n[6]!==void 0&&(o.isDateValid=n[6]),t=new Es({props:o}),ut.push(()=>Jt(t,"date",s)),ut.push(()=>Jt(t,"isDateValid",a)),{c(){er(t.$$.fragment)},m(l,u){Yn(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)),!r&&u[0]&64&&(r=!0,c.isDateValid=l[6],Xt(()=>r=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Le(t.$$.fragment,l),i=!1},d(l){vn(t,l)}}}function WE(n){let t,e,r,i;function s(l){n[46](l)}function a(l){n[47](l)}let o={id:"cancelled",dateSymbol:n[20],forwardOnly:n[3].forwardOnly,accesskey:n[16]("-")};return n[3].cancelledDate!==void 0&&(o.date=n[3].cancelledDate),n[4]!==void 0&&(o.isDateValid=n[4]),t=new Es({props:o}),ut.push(()=>Jt(t,"date",s)),ut.push(()=>Jt(t,"isDateValid",a)),{c(){er(t.$$.fragment)},m(l,u){Yn(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)),!r&&u[0]&16&&(r=!0,c.isDateValid=l[4],Xt(()=>r=!1)),t.$set(c)},i(l){i||(ge(t.$$.fragment,l),i=!0)},o(l){Le(t.$$.fragment,l),i=!1},d(l){vn(t,l)}}}function lq(n){let t,e,r,i=Wt("Description",n[16]("t"))+"",s,a,o,l,u,c,d,f,p,h,b,v,E,O,x,q,ee,V,j,X,_e,Pe,K,B,P,te,H,se,m,T,S,k=n[15].priority&&OE(n),_=n[15].recurrence&&RE(n),C=n[15].due&&CE(n),I=n[15].scheduled&&ME(n),U=n[15].start&&AE(n),L=(n[15].due||n[15].scheduled||n[15].start)&&PE(n),w=(n[15].due||n[15].scheduled||n[15].start)&&IE(n),$=[oq,aq],de=[];function ye(F,Ye){return F[2].length>0&&F[14]?0:1}O=ye(n,[-1,-1]),x=de[O]=$[O](n);let fe=(n[15].before_this||n[15].after_this)&&LE(n),Te=n[15].status&&YE(n),we=n[15].created&&UE(n),tt=n[15].done&&qE(n),nt=n[15].cancelled&&WE(n);return{c(){t=re("form"),e=re("section"),r=re("label"),s=he(),a=re("textarea"),l=he(),k&&k.c(),u=he(),c=re("section"),_&&_.c(),d=he(),C&&C.c(),f=he(),I&&I.c(),p=he(),U&&U.c(),h=he(),L&&L.c(),b=he(),w&&w.c(),v=he(),E=re("section"),x.c(),q=he(),fe&&fe.c(),ee=he(),V=re("section"),Te&&Te.c(),j=he(),we&&we.c(),X=he(),tt&&tt.c(),_e=he(),nt&&nt.c(),Pe=he(),K=re("section"),B=re("button"),P=je("Apply"),H=he(),se=re("button"),se.textContent="Cancel",W(r,"for","description"),W(a,"id","description"),W(a,"class","tasks-modal-description"),W(a,"placeholder","Take out the trash"),W(a,"accesskey",o=n[16]("t")),W(e,"class","tasks-modal-description-section"),W(c,"class","tasks-modal-dates-section"),W(E,"class","tasks-modal-dependencies-section"),W(V,"class","tasks-modal-dates-section"),B.disabled=te=!n[13],W(B,"type","submit"),W(B,"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),G(t,e),G(e,r),r.innerHTML=i,G(e,s),G(e,a),Tn(a,n[3].description),n[31](a),G(t,l),k&&k.m(t,null),G(t,u),G(t,c),_&&_.m(c,null),G(c,d),C&&C.m(c,null),G(c,f),I&&I.m(c,null),G(c,p),U&&U.m(c,null),G(c,h),L&&L.m(c,null),G(t,b),w&&w.m(t,null),G(t,v),G(t,E),de[O].m(E,null),G(t,q),fe&&fe.m(t,null),G(t,ee),G(t,V),Te&&Te.m(V,null),G(V,j),we&&we.m(V,null),G(V,X),tt&&tt.m(V,null),G(V,_e),nt&&nt.m(V,null),G(t,Pe),G(t,K),G(K,B),G(B,P),G(K,H),G(K,se),m=!0,T||(S=[Ne(a,"input",n[30]),Ne(a,"keydown",n[24]),Ne(a,"paste",n[25]),Ne(a,"drop",n[25]),Ne(se,"click",n[23]),Ne(t,"submit",xD(n[26]))],T=!0)},p(F,Ye){(!m||Ye[0]&65536)&&i!==(i=Wt("Description",F[16]("t"))+"")&&(r.innerHTML=i),(!m||Ye[0]&65536&&o!==(o=F[16]("t")))&&W(a,"accesskey",o),Ye[0]&8&&Tn(a,F[3].description),F[15].priority?k?(k.p(F,Ye),Ye[0]&32768&&ge(k,1)):(k=OE(F),k.c(),ge(k,1),k.m(t,u)):k&&(Fn(),Le(k,1,1,()=>{k=null}),Ln()),F[15].recurrence?_?(_.p(F,Ye),Ye[0]&32768&&ge(_,1)):(_=RE(F),_.c(),ge(_,1),_.m(c,d)):_&&(Fn(),Le(_,1,1,()=>{_=null}),Ln()),F[15].due?C?(C.p(F,Ye),Ye[0]&32768&&ge(C,1)):(C=CE(F),C.c(),ge(C,1),C.m(c,f)):C&&(Fn(),Le(C,1,1,()=>{C=null}),Ln()),F[15].scheduled?I?(I.p(F,Ye),Ye[0]&32768&&ge(I,1)):(I=ME(F),I.c(),ge(I,1),I.m(c,p)):I&&(Fn(),Le(I,1,1,()=>{I=null}),Ln()),F[15].start?U?(U.p(F,Ye),Ye[0]&32768&&ge(U,1)):(U=AE(F),U.c(),ge(U,1),U.m(c,h)):U&&(Fn(),Le(U,1,1,()=>{U=null}),Ln()),F[15].due||F[15].scheduled||F[15].start?L?L.p(F,Ye):(L=PE(F),L.c(),L.m(c,null)):L&&(L.d(1),L=null),F[15].due||F[15].scheduled||F[15].start?w||(w=IE(F),w.c(),w.m(t,v)):w&&(w.d(1),w=null);let jt=O;O=ye(F,Ye),O===jt?de[O].p(F,Ye):(Fn(),Le(de[jt],1,1,()=>{de[jt]=null}),Ln(),x=de[O],x?x.p(F,Ye):(x=de[O]=$[O](F),x.c()),ge(x,1),x.m(E,null)),F[15].before_this||F[15].after_this?fe||(fe=LE(F),fe.c(),fe.m(t,ee)):fe&&(fe.d(1),fe=null),F[15].status?Te?(Te.p(F,Ye),Ye[0]&32768&&ge(Te,1)):(Te=YE(F),Te.c(),ge(Te,1),Te.m(V,j)):Te&&(Fn(),Le(Te,1,1,()=>{Te=null}),Ln()),F[15].created?we?(we.p(F,Ye),Ye[0]&32768&&ge(we,1)):(we=UE(F),we.c(),ge(we,1),we.m(V,X)):we&&(Fn(),Le(we,1,1,()=>{we=null}),Ln()),F[15].done?tt?(tt.p(F,Ye),Ye[0]&32768&&ge(tt,1)):(tt=qE(F),tt.c(),ge(tt,1),tt.m(V,_e)):tt&&(Fn(),Le(tt,1,1,()=>{tt=null}),Ln()),F[15].cancelled?nt?(nt.p(F,Ye),Ye[0]&32768&&ge(nt,1)):(nt=WE(F),nt.c(),ge(nt,1),nt.m(V,null)):nt&&(Fn(),Le(nt,1,1,()=>{nt=null}),Ln()),(!m||Ye[0]&8192&&te!==(te=!F[13]))&&(B.disabled=te)},i(F){m||(ge(k),ge(_),ge(C),ge(I),ge(U),ge(x),ge(Te),ge(we),ge(tt),ge(nt),m=!0)},o(F){Le(k),Le(_),Le(C),Le(I),Le(U),Le(x),Le(Te),Le(we),Le(tt),Le(nt),m=!1},d(F){F&&le(t),n[31](null),k&&k.d(),_&&_.d(),C&&C.d(),I&&I.d(),U&&U.d(),L&&L.d(),w&&w.d(),de[O].d(),fe&&fe.d(),Te&&Te.d(),we&&we.d(),tt&&tt.d(),nt&&nt.d(),T=!1,_t(S)}}}function uq(n,t,e){let r,i,s;Yc(n,Ds,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:h,doneDateSymbol:b}=Nn.tasksPluginEmoji.taskSerializer.symbols,v,E=Kc.fromTask(a,u),O=!0,x=!0,q=!0,ee=!0,V=!0,j=!0,X=!0,_e=!0,Pe=!0,K=!0,B=!1;Ty(()=>{Ds.set(J());let{provideAccessKeys:F}=J();e(11,Pe=F),e(14,B=!0),setTimeout(()=>{v.focus()},10)});let P=()=>{o([])},te=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=()=>J_(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){ut[F?"unshift":"push"](()=>{v=F,e(12,v)})}function S(F){n.$$.not_equal(E.priority,F)&&(E.priority=F,e(3,E))}function k(F){_e=F,e(10,_e)}function _(F){n.$$.not_equal(E.dueDate,F)&&(E.dueDate=F,e(3,E))}function C(F){V=F,e(7,V)}function I(F){n.$$.not_equal(E.scheduledDate,F)&&(E.scheduledDate=F,e(3,E))}function U(F){j=F,e(8,j)}function L(F){n.$$.not_equal(E.startDate,F)&&(E.startDate=F,e(3,E))}function w(F){X=F,e(9,X)}function $(){E.forwardOnly=this.checked,e(3,E)}function de(F){E=F,e(3,E)}function ye(F){n.$$.not_equal(E.createdDate,F)&&(E.createdDate=F,e(3,E))}function fe(F){q=F,e(5,q)}function Te(F){n.$$.not_equal(E.doneDate,F)&&(E.doneDate=F,e(3,E))}function we(F){ee=F,e(6,ee)}function tt(F){n.$$.not_equal(E.cancelledDate,F)&&(E.cancelledDate=F,e(3,E))}function nt(F){x=F,e(4,x)}return n.$$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)},n.$$.update=()=>{n.$$.dirty[0]&2048&&e(16,r=F=>Pe?F:null),n.$$.dirty[0]&8&&e(28,O=E.description.trim()!==""),n.$$.dirty[0]&268437488&&e(13,K=V&&_e&&j&&X&&O&&x&&q&&ee),n.$$.dirty[0]&536870912&&e(15,i=Object.assign(Object.assign({},ga),s.isShownInEditModal))},[a,l,u,E,x,q,ee,V,j,X,_e,Pe,v,K,B,i,r,c,d,f,p,h,b,P,te,H,se,o,O,s,m,T,S,k,_,C,I,U,L,w,$,de,ye,fe,Te,we,tt,nt]}var Uy=class extends Qt{constructor(t){super(),kn(this,t,uq,lq,Zt,{task:0,onSubmit:27,statusOptions:1,allTasks:2},null,[-1,-1])}},jE=Uy;br();yr();var zE=require("obsidian");Oc();function $E(n,t,e){let r=n.slice();return r[8]=t[e],r}function HE(n){let t;return{c(){t=re("hr")},m(e,r){ce(e,t,r)},d(e){e&&le(t)}}}function BE(n){let t,e,r,i,s,a,o=n[4](n[8])+"",l,u,c=n[5].includes(n[8]),d,f,p,h=c&&HE(n);return{c(){t=re("label"),e=re("input"),s=he(),a=re("span"),l=je(o),u=he(),h&&h.c(),d=Ur(),W(e,"type","checkbox"),e.checked=r=n[1][n[8]],W(e,"id",i=n[8])},m(b,v){ce(b,t,v),G(t,e),G(t,s),G(t,a),G(a,l),ce(b,u,v),h&&h.m(b,v),ce(b,d,v),f||(p=Ne(e,"change",function(){Li(n[2](n[8]))&&n[2](n[8]).apply(this,arguments)}),f=!0)},p(b,v){n=b,v&2&&r!==(r=n[1][n[8]])&&(e.checked=r),v&2&&i!==(i=n[8])&&W(e,"id",i),v&2&&o!==(o=n[4](n[8])+"")&&bn(l,o),v&2&&(c=n[5].includes(n[8])),c?h||(h=HE(n),h.c(),h.m(d.parentNode,d)):h&&(h.d(1),h=null)},d(b){b&&le(t),b&&le(u),h&&h.d(b),b&&le(d),f=!1,p()}}}function cq(n){let t,e,r,i,s,a,o,l,u,c=Object.keys(n[1]),d=[];for(let f=0;f<c.length;f+=1)d[f]=BE($E(n,c,f));return{c(){t=re("div"),e=re("div");for(let f=0;f<d.length;f+=1)d[f].c();r=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),G(t,e);for(let h=0;h<d.length;h+=1)d[h]&&d[h].m(e,null);G(t,r),G(t,i),G(i,s),G(i,a),G(i,o),l||(u=[Ne(s,"click",n[3]),Ne(o,"click",function(){Li(n[0])&&n[0].apply(this,arguments)})],l=!0)},p(f,[p]){if(n=f,p&54){c=Object.keys(n[1]);let h;for(h=0;h<c.length;h+=1){let b=$E(n,c,h);d[h]?d[h].p(b,p):(d[h]=BE(b),d[h].c(),d[h].m(e,null))}for(;h<d.length;h+=1)d[h].d(1);d.length=c.length}},i:qe,o:qe,d(f){f&&le(t),yi(d,f),l=!1,_t(u)}}}function dq(n,t,e){let r;Yc(n,Ds,d=>e(7,r=d));let{onSave:i}=t,{onClose:s}=t,a=Object.assign(Object.assign({},ga),r.isShownInEditModal),o=d=>f=>{e(1,a[d]=f.target.checked,a)},l=()=>{Ds.set(Object.assign(Object.assign({},r),{isShownInEditModal:a})),i()},u=d=>d.charAt(0).toUpperCase()+d.slice(1).replace("_"," "),c=["priority","start","after_this"];return n.$$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 qy=class extends Qt{constructor(t){super(),kn(this,t,dq,cq,Zt,{onSave:6,onClose:0})}},GE=qy;var Qc=class extends zE.Modal{constructor({app:t,onSave:e}){super(t),this.onSave=e}onOpen(){this.titleEl.setText("Hide unused fields"),this.modalEl.addClass("tasks-options-modal-container");let{contentEl:t}=this;this.contentEl.style.paddingBottom="0",new GE({target:t,props:{onSave:()=>{this.onSave(),this.close()},onClose:()=>{this.onClose(),this.close()}}})}onClose(){let{contentEl:t}=this;t.empty()}};var $r=class extends KE.Modal{constructor({app:t,task:e,onSaveSettings:r,onSubmit:i,onCancel:s,allTasks:a}){super(t),this.task=e,this.allTasks=a,this.onSaveSettings=r,this.onSubmit=o=>{o.length>0?i(o):s&&s(),this.close()}}onOpen(){this.titleEl.setText("Create or edit Task"),this.modalEl.style.paddingBottom="0";let t=document.createElement("button");t.addClasses(["modal-close-button","mod-raised","clickable-icon"]),t.addClass("modal-option-button"),(0,VE.setIcon)(t,"settings"),t.onclick=()=>{new Qc({app:this.app,onSave:()=>{this.onSaveSettings()}}).open()},this.modalEl.appendChild(t);let{contentEl:e}=this;this.contentEl.style.paddingBottom="0";let r=this.getKnownStatusesAndCurrentTaskStatusIfNotKnown();new jE({target:e,props:{task:this.task,statusOptions:r,onSubmit:this.onSubmit,allTasks:this.allTasks}})}getKnownStatusesAndCurrentTaskStatusIfNotKnown(){let t=Xe.getInstance().registeredStatuses;return Xe.getInstance().bySymbol(this.task.status.symbol)===Oe.EMPTY&&t.push(this.task.status),t}onClose(){let{contentEl:t}=this;t.empty()}};Ni();yr();vc();At();Ni();br();gt();dn();ms();Zr();function fq(){let{setCreatedDate:n}=J();return n?window.moment():null}function pq(n){let{setCreatedDate:t}=J();if(!t||n.createdDate!==null)return!1;let e=n.description==="",r=!Ae.getInstance().isEmpty(),i=!Ae.getInstance().includedIn(n.description);return e||r&&i}var Ca=({line:n,path:t})=>{var f,p;let e=ke.parseTaskSignifiers(n,Kt.fromUnknownPosition(new ft(t)),qt.fromPath(t)),r=fq();if(e!==null)return pq(e)?new ke(pe(Y({},e),{createdDate:r})):e;let i=n.match(We.nonTaskRegex);if(i===null)return console.error("Tasks: Cannot create task on line:",n),new ke({status:Oe.TODO,description:"",taskLocation:Kt.fromUnknownPosition(new ft(t)),indentation:"",listMarker:"-",priority:"3",createdDate:r,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=Xe.getInstance().bySymbolOrCreate(o),u=i[5],c=n.match(We.blockLinkRegex),d=c!==null?c[0]:"";return d!==""&&(u=u.replace(We.blockLinkRegex,"")),new ke({status:l,description:u,taskLocation:Kt.fromUnknownPosition(new ft(t)),indentation:s,listMarker:a,blockLink:d,priority:"3",createdDate:r,startDate:null,scheduledDate:null,dueDate:null,doneDate:null,cancelledDate:null,recurrence:null,onCompletion:"",tags:[],originalMarkdown:"",scheduledDateIsInferred:!1,id:"",dependsOn:[]})};var QE=(n,t,e,r,i,s)=>{var p;if(n)return e instanceof Wy.MarkdownView;if(!(e instanceof Wy.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=Ca({line:u,path:a}),d=h=>{let b=qt.removeInferredStatusIfNeeded(c,h).map(v=>v.toFileLineString()).join(`
`);t.setLine(l,b)};new $r({app:r,task:c,onSaveSettings:s,onSubmit:d,allTasks:i}).open()};br();At();Zr();var jy=require("obsidian");var ZE=(n,t)=>{let e={line:0,ch:n.ch},r=Y(Y({},e),t.moveTo),i=t.text.split(`
`)[r.line].length;return{line:n.line+r.line,ch:Math.min(r.ch,i)}},Zc=n=>{function t(e,r,i){var f;if(e)return i instanceof jy.MarkdownView;if(!(i instanceof jy.MarkdownView))return;let s=(f=i.file)==null?void 0:f.path;if(s===void 0)return;let a=r.getCursor(),o=a.line,l=r.getLine(o),u=n(l,s);if(u===void 0)return;let c=u.text.length>0,d=o>=r.lineCount()-1;if(c||d)r.setLine(o,u.text);else{let p={line:o,ch:0},h={line:o+1,ch:0};r.replaceRange("",p,h)}r.setCursor(ZE(a,u))}return t};var $y=(n,t)=>{let e=ke.fromLine({line:n,taskLocation:Kt.fromUnknownPosition(new ft(t)),fallbackDate:null});if(e!==null){let r=e.toggleWithRecurrenceInUsersOrder().map(s=>s.toFileLineString()),i=r.length>0?r.length-1:0;return{text:r.join(`
`),moveTo:{line:i}}}else{let r=n.match(We.taskRegex);if(r!==null){let i=r[3],a=Xe.getInstance().bySymbol(i).nextStatusSymbol;return{text:n.replace(We.taskRegex,`$1$2 [${a}] $4`)}}else if(We.listItemRegex.test(n)){let i=n.replace(We.listItemRegex,"$1$2 [ ]");return{text:i,moveTo:{ch:i.length}}}else{let i=n.replace(We.indentationRegex,"$1- [ ] ");return{text:i,moveTo:{ch:i.length}}}}},XE=Zc($y);var db=require("obsidian");gt();var Ui=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 JE(n,t,e){let r=new Map([["backlink","hideBacklinks"],["edit button","hideEditButton"],["postpone button","hidePostponeButton"],["task count","hideTaskCount"],["toolbar","hideToolbar"],["tree","hideTree"],["urgency","hideUrgency"]]);for(let[i,s]of r.entries())if(t.startsWith(i))return n[s]=e,!0;return!1}ps();function As(n,t){let e=`Error: ${n}.
The error message was:
    `,r="";return t instanceof Error?r+=t:r+="Unknown error",`${e}"${r}"`}vs();var mq=Object.prototype.toString,Aa=Array.isArray||function(t){return mq.call(t)==="[object Array]"};function By(n){return typeof n=="function"}function hq(n){return Aa(n)?"array":typeof n}function Hy(n){return n.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g,"\\$&")}function e1(n,t){return n!=null&&typeof n=="object"&&t in n}function gq(n,t){return n!=null&&typeof n!="object"&&n.hasOwnProperty&&n.hasOwnProperty(t)}var yq=RegExp.prototype.test;function bq(n,t){return yq.call(n,t)}var Tq=/\S/;function vq(n){return!bq(Tq,n)}var kq={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#x2F;","`":"&#x60;","=":"&#x3D;"};function Sq(n){return String(n).replace(/[&<>"'`=\/]/g,function(e){return kq[e]})}var _q=/\s*/,wq=/\s+/,t1=/\s*=/,Dq=/\s*\}/,Eq=/#|\^|\/|>|\{|&|=|!/;function xq(n,t){if(!n)return[];var e=!1,r=[],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 h(X){if(typeof X=="string"&&(X=X.split(wq,2)),!Aa(X)||X.length!==2)throw new Error("Invalid tags: "+X);d=new RegExp(Hy(X[0])+"\\s*"),f=new RegExp("\\s*"+Hy(X[1])),p=new RegExp("\\s*"+Hy("}"+X[1]))}h(t||rr.tags);for(var b=new Nl(n),v,E,O,x,q,ee;!b.eos();){if(v=b.pos,O=b.scanUntil(d),O)for(var V=0,j=O.length;V<j;++V)x=O.charAt(V),vq(x)?(s.push(i.length),l+=x):(o=!0,e=!0,l+=" "),i.push(["text",x,v,v+1]),v+=1,x===`
`&&(c(),l="",u=0,e=!1);if(!b.scan(d))break;if(a=!0,E=b.scan(Eq)||"name",b.scan(_q),E==="="?(O=b.scanUntil(t1),b.scan(t1),b.scanUntil(f)):E==="{"?(O=b.scanUntil(p),b.scan(Dq),b.scanUntil(f),E="&"):O=b.scanUntil(f),!b.scan(f))throw new Error("Unclosed tag at "+b.pos);if(E==">"?q=[E,O,v,b.pos,l,u,e]:q=[E,O,v,b.pos],u++,i.push(q),E==="#"||E==="^")r.push(q);else if(E==="/"){if(ee=r.pop(),!ee)throw new Error('Unopened section "'+O+'" at '+v);if(ee[1]!==O)throw new Error('Unclosed section "'+ee[1]+'" at '+v)}else E==="name"||E==="{"||E==="&"?o=!0:E==="="&&h(O)}if(c(),ee=r.pop(),ee)throw new Error('Unclosed section "'+ee[1]+'" at '+b.pos);return Rq(Oq(i))}function Oq(n){for(var t=[],e,r,i=0,s=n.length;i<s;++i)e=n[i],e&&(e[0]==="text"&&r&&r[0]==="text"?(r[1]+=e[1],r[3]=e[3]):(t.push(e),r=e));return t}function Rq(n){for(var t=[],e=t,r=[],i,s,a=0,o=n.length;a<o;++a)switch(i=n[a],i[0]){case"#":case"^":e.push(i),r.push(i),e=i[4]=[];break;case"/":s=r.pop(),s[5]=i[2],e=r.length>0?r[r.length-1][4]:t;break;default:e.push(i)}return t}function Nl(n){this.string=n,this.tail=n,this.pos=0}Nl.prototype.eos=function(){return this.tail===""};Nl.prototype.scan=function(t){var e=this.tail.match(t);if(!e||e.index!==0)return"";var r=e[0];return this.tail=this.tail.substring(r.length),this.pos+=r.length,r};Nl.prototype.scanUntil=function(t){var e=this.tail.search(t),r;switch(e){case-1:r=this.tail,this.tail="";break;case 0:r="";break;default:r=this.tail.substring(0,e),this.tail=this.tail.substring(e)}return this.pos+=r.length,r};function Ma(n,t){this.view=n,this.cache={".":this.view},this.parent=t}Ma.prototype.push=function(t){return new Ma(t,this)};Ma.prototype.lookup=function(t){var e=this.cache,r;if(e.hasOwnProperty(t))r=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=e1(s,a[o])||gq(s,a[o])),s=s[a[o++]];else s=i.view[t],l=e1(i.view,t);if(l){r=s;break}i=i.parent}e[t]=r}return By(r)&&(r=r.call(this.view)),r};function pn(){this.templateCache={_cache:{},set:function(t,e){this._cache[t]=e},get:function(t){return this._cache[t]},clear:function(){this._cache={}}}}pn.prototype.clearCache=function(){typeof this.templateCache!="undefined"&&this.templateCache.clear()};pn.prototype.parse=function(t,e){var r=this.templateCache,i=t+":"+(e||rr.tags).join(":"),s=typeof r!="undefined",a=s?r.get(i):void 0;return a==null&&(a=xq(t,e),s&&r.set(i,a)),a};pn.prototype.render=function(t,e,r,i){var s=this.getConfigTags(i),a=this.parse(t,s),o=e instanceof Ma?e:new Ma(e,void 0);return this.renderTokens(a,o,r,t,i)};pn.prototype.renderTokens=function(t,e,r,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,r,i,s):l==="^"?u=this.renderInverted(o,e,r,i,s):l===">"?u=this.renderPartial(o,e,r,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};pn.prototype.renderSection=function(t,e,r,i,s){var a=this,o="",l=e.lookup(t[1]);function u(f){return a.render(f,e,r,s)}if(l){if(Aa(l))for(var c=0,d=l.length;c<d;++c)o+=this.renderTokens(t[4],e.push(l[c]),r,i,s);else if(typeof l=="object"||typeof l=="string"||typeof l=="number")o+=this.renderTokens(t[4],e.push(l),r,i,s);else if(By(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,r,i,s);return o}};pn.prototype.renderInverted=function(t,e,r,i,s){var a=e.lookup(t[1]);if(!a||Aa(a)&&a.length===0)return this.renderTokens(t[4],e,r,i,s)};pn.prototype.indentPartial=function(t,e,r){for(var i=e.replace(/[^ \t]/g,""),s=t.split(`
`),a=0;a<s.length;a++)s[a].length&&(a>0||!r)&&(s[a]=i+s[a]);return s.join(`
`)};pn.prototype.renderPartial=function(t,e,r,i){if(r){var s=this.getConfigTags(i),a=By(r)?r(t[1]):r[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,r,c,i)}}};pn.prototype.unescapedValue=function(t,e){var r=e.lookup(t[1]);if(r!=null)return r};pn.prototype.escapedValue=function(t,e,r){var i=this.getConfigEscape(r)||rr.escape,s=e.lookup(t[1]);if(s!=null)return typeof s=="number"&&i===rr.escape?String(s):i(s)};pn.prototype.rawValue=function(t){return t[1]};pn.prototype.getConfigTags=function(t){return Aa(t)?t:t&&typeof t=="object"?t.tags:void 0};pn.prototype.getConfigEscape=function(t){if(t&&typeof t=="object"&&!Aa(t))return t.escape};var rr={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(n){Il.templateCache=n},get templateCache(){return Il.templateCache}},Il=new pn;rr.clearCache=function(){return Il.clearCache()};rr.parse=function(t,e){return Il.parse(t,e)};rr.render=function(t,e,r,i){if(typeof t!="string")throw new TypeError('Invalid template! Template should be a "string" but "'+hq(t)+'" was given as the first argument for mustache#render(template, view, partials)');return Il.render(t,e,r,i)};rr.escape=Sq;rr.Scanner=Nl;rr.Context=Ma;rr.Writer=pn;var Gy=rr;var f1=js(s1());var a1="enableJsInTasksQueries";var en=class n{constructor(t){this.storage=t;this.value=this.loadValue()}static initialise(t){return n.instance=new n(t),n.instance}static getInstance(){if(!n.instance)throw new Error("EnableJsInTasksQueries has not been initialised.");return n.instance}get(){return this.value}set(t){this.value=t,this.storage.save(a1,t)}loadValue(){let t=this.storage.load(a1);return typeof t=="boolean"?t:!1}};var Ps=class n{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 r=new n(t);return r._queryComponent=e,r}static fromError(t,e){let r=new n(t);return r._error=e,r}};var Fl=class Fl extends Error{constructor(){super(Fl.helpMessage),this.name="JsInTasksQueriesDisabledError"}static message(){return Fl.helpMessage}};Fl.helpMessage=`JavaScript is now disabled in Tasks queries by default.
    This query uses JavaScript, for example via "filter by function", "sort by function", or "group by function".
    JavaScript can run inside Obsidian and access or modify vault contents, local files, or other system resources.
    Read the Tasks documentation page "JavaScript in Tasks Queries" before deciding whether to enable it:
    https://publish.obsidian.md/tasks/Scripting/JavaScript+in+Tasks+Queries`;var vr=Fl;var Ll=class extends Ps{};function Yl(n,t){if(!en.getInstance().get())throw new vr;try{let e=n.map(([s])=>s),r=t.includes("return")?t:`return ${t}`,i=t&&new Function(...e,r);return i instanceof Function?Ll.fromObject(t,i):Ll.fromError(t,`Problem parsing expression "${t}"`)}catch(e){return Ll.fromError(t,As(`Failed parsing expression "${t}"`,e))}}function Ul(n,t){if(!en.getInstance().get())throw new vr;let e=t.map(([r,i])=>i);return n(...e)}function Vy(n,t,e){try{return Ul(n,t)}catch(r){return As(`Failed calculating expression "${e}"`,r)}}function u1(n,t){let e=n.trim(),r=t.query.file;switch(e){case"query.file.path":return kr(r.path);case"query.file.pathWithoutExtension":return kr(r.pathWithoutExtension);case"query.file.root":return kr(r.root);case"query.file.folder":return kr(r.folder);case"query.file.filename":return kr(r.filename);case"query.file.filenameWithoutExtension":return kr(r.filenameWithoutExtension);case"query.file.outlinksInProperties":return kr(r.outlinksInProperties);case"query.file.outlinksInBody":return kr(r.outlinksInBody);case"query.file.outlinks":return kr(r.outlinks)}let i=l1(e,o1("query.file.property"));if(i!==null)return kr(r.property(i));let s=l1(e,o1("query.file.hasProperty"));return s!==null?kr(r.hasProperty(s)):Cq()}function kr(n){return{resolved:!0,value:n}}function Cq(){return{resolved:!1}}function o1(n){let t=n.replace(/\./g,String.raw`\.`);return new RegExp(String.raw`^${t}\((['"])([^'"]*)\1\)$`)}function l1(n,t){var r;let e=new RegExp(t).exec(n);return(r=e==null?void 0:e[2])!=null?r:null}function Ky(n,t){Gy.escape=function(e){return e};try{let e=Aq(n,t);return Gy.render(e,(0,f1.default)(t))}catch(e){let r="";throw e instanceof Error?r=`There was an error expanding one or more placeholders.

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

The problem is in:
    ${n}`,new Error(r)}}var Mq=new RegExp(["\\{\\{","(.*?)","\\}\\}"].join(""),"g");function Aq(n,t){return n.replace(Mq,(e,r)=>{if(Pq(t)){let a=u1(r,t);if(a.resolved){let o=a.value;if(o===null&&d1(r),o!==void 0)return c1(o)}}if(!en.getInstance().get()){if(Iq(r))return e;throw new vr}let i=Nq(t),s=Yl(i,r);if(s.isValid()){let a=Ul(s.queryComponent,i);if(a===null&&d1(r),a!==void 0)return c1(a)}return e})}function c1(n){return typeof n=="object"?JSON.stringify(n):String(n)}function Pq(n){var t;return((t=n==null?void 0:n.query)==null?void 0:t.file)!==void 0}function d1(n){throw new Error(`Invalid placeholder result 'null'.
    Check for missing file property in this expression:
        {{${n}}}`)}function Iq(n){return/^[A-Za-z_$][\w$]*(\.[A-Za-z_$][\w$]*)*$/.test(n.trim())}function Nq(n){return Object.entries(n)}gt();function Qy(n){return Zy(n,[])}function Zy(n,t){return{query:{file:n,allTasks:t,searchCache:{}},preset:Y({},J().presets)}}ay();gt();var Pa=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(r=>r!=="").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 r=[];if(t.limit!==void 0){let i=e(t.limit)+`.
`;r.push(this.indent(i))}if(t.taskGroupLimit!==void 0){let i=e(t.taskGroupLimit)+` per group (if any "group by" options are supplied).
`;r.push(this.indent(i))}return r.join(`
`)}explainDebugSettings(){let t="",{debugSettings:e}=J();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}};dn();var Je=class n{constructor(t,e=[],r=""){this.description=t,this.symbol=r,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 n("None of",t,"NOT")}static booleanXor(t){return new n("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 r=t+"  ";for(let i=0;i<this.children.length;i++)e+=`
${this.children[i].asString(r)}`;return e}static combineOrCreateExplanation(t,e,r){if(e.length===2){let i=e[0],s=e[1];if(i.symbol===r&&s.symbol==="")return i.children.push(s),i}return new n(t,e,r)}};var Ia=class{matchesAnyOf(t){return t.some(e=>this.matches(e))}};var Xc=class n extends Ia{constructor(t){super(),this.stringToFind=t}matches(t){return n.stringIncludesCaseInsensitive(t,this.stringToFind)}static stringIncludesCaseInsensitive(t,e){return t.toLocaleLowerCase().includes(e.toLocaleLowerCase())}explanation(t){return new Je(t)}};var Na=class n extends Ia{constructor(t){super(),this.regex=t}static validateAndConstruct(t){let e=/^\/(.+)\/([^/]*)$/,r=t.match(e);if(r!==null){let i=new RegExp(r[1],r[2]);return new n(i)}else return null}matches(t){return t.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(t){let r=Fq(t,"using regex: ",this.regexAsString());return new Je(r)}regexAsString(){let t=`'${this.regex.source}' with `;switch(this.regex.flags.length){case 0:t+="no flags";break;case 1:t+=`flag '${this.regex.flags}'`;break;default:t+=`flags '${this.regex.flags}'`;break}return t}};function Fq(n,t,e){var o;let r=n.match(/\//);if(!r)return"Error explaining instruction. Could not find a slash character";let i=2,s=((o=r.index)!=null?o:i)-i;return`${t.padEnd(s)}${e}`}var mn=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 r=this._rawInstruction.trim(),i=r.split(`
`).join(`
`+t),s=`${t}${i}`;return this._rawInstruction.includes(`
`)&&(s+=`
`+t),e(r,this._anyContinuationLinesRemoved),e(this._anyContinuationLinesRemoved,this._anyPlaceholdersExpanded),s}allLinesIdentical(){return this._rawInstruction===this._anyContinuationLinesRemoved&&this._rawInstruction===this._anyPlaceholdersExpanded}};var qi=class n{constructor(t,e,r,i){this._statement=new mn(t,t),this.property=e,this.comparator=n.maybeReverse(i,r)}setStatement(t){this._statement=t}get statement(){return this._statement}get instruction(){return this._statement.anyPlaceholdersExpanded}static maybeReverse(t,e){return t?n.makeReversedComparator(e):e}static makeReversedComparator(t){return(e,r,i)=>t(e,r,i)*-1}};Sl();var Wi=class{constructor(t,e,r,i){this._statement=new mn(t,t),this.property=e,this.grouper=r,this.reverse=i}setStatement(t){this._statement=t}get statement(){return this._statement}get instruction(){return this._statement.anyPlaceholdersExpanded}};var Qe=class n{canCreateFilterForLine(t){return n.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 Ii(this.fieldNameSingular())}supportsSorting(){return!1}createSorterFromLine(t){if(!this.supportsSorting())return null;let e=n.getMatch(this.sorterRegExp(),t);if(e===null)return null;let r=!!e[1];return this.createSorter(r)}sorterRegExp(){if(!this.supportsSorting())throw new 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 new Error(`comparator() unimplemented for ${this.fieldNameSingular()}`)}createSorter(t){return new qi(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=n.getMatch(this.grouperRegExp(),t);if(e===null)return null;let r=!!e[1];return this.createGrouper(r)}grouperRegExp(){if(!this.supportsGrouping())throw new 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 new Error(`grouper() unimplemented for ${this.fieldNameSingular()}`)}createGrouper(t){return new Wi(this.grouperInstruction(t),this.fieldNameSingular(),this.grouper(),t)}createNormalGrouper(){return this.createGrouper(!1)}createReverseGrouper(){return this.createGrouper(!0)}};var tn=class{constructor(t,e,r){this._statement=new mn(t,t),this.explanation=r,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 Je(this.instruction+" =>",[this.explanation])}onlyNeedsOneLineExplanation(){return this.explanation.asString("")===this.instruction}};var Ee=class n{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 n(Ps.fromObject(t.instruction,t))}static fromError(t,e){return new n(Ps.fromError(t,e))}};var et=class extends Qe{createFilterOrErrorMessage(t){let e=Qe.getMatch(this.filterRegExp(),t);if(e===null)return Ee.fromError(t,`do not understand query filter (${this.fieldName()})`);let r=e[1].toLowerCase(),i=e[2],s=null;if(r.includes("include"))s=new Xc(i);else if(r.includes("regex")){try{s=Na.validateAndConstruct(i)}catch(l){let u=As("Parsing regular expression",l)+`

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

${Na.helpMessage()}`)}if(s===null)return Ee.fromError(t,`do not understand query filter (${this.fieldName()})`);let a=r.match(/not/)!==null,o=new tn(t,this.getFilter(s,a),s.explanation(t));return Ee.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 r=>{let i=t.matches(this.value(r));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 Fa=class n extends et{fieldName(){return"description"}value(t){return Ae.getInstance().removeAsSubstringFrom(t.description)}supportsSorting(){return!0}comparator(){return(t,e)=>{let r=n.cleanDescription(t.description),i=n.cleanDescription(e.description);return r.localeCompare(i,void 0,{numeric:!0})}}static cleanDescription(t){t=Ae.getInstance().removeAsSubstringFrom(t);let e=/^\[\[?([^\]]*)]]?/,r=t.match(e);if(r!==null){let i=r[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 r=t.match(e);return r!==null&&(t=r[1]+t.replace(e,"")),t}};Mg();Ag();os();var Jc=class{findUnexpandedDateText(t){let e=["<%","YYYY-MM-DD"];for(let r of e)if(t.includes(r))return this.unexpandedDateTextMessage(r);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 ed=class{constructor(t,e){this._instruction=t,this._filter=e}canCreateFilterForLine(t){return t.toLocaleLowerCase()===this._instruction.toLocaleLowerCase()}createFilterOrErrorMessage(t){return this.canCreateFilterForLine(t)?Ee.fromFilter(new tn(t,this._filter,new Je(t))):Ee.fromError(t,`do not understand filter: ${t}`)}};var wn=class{constructor(){this._filters=[]}add(t,e){this._filters.push(new ed(t,e))}canCreateFilterForLine(t){return this._filters.some(e=>e.canCreateFilterForLine(t))}createFilterOrErrorMessage(t){for(let e of this._filters){let r=e.createFilterOrErrorMessage(t);if(r.isValid())return r}return Ee.fromError(t,`do not understand filter: ${t}`)}};var nn=class n extends Qe{constructor(t=null){super(),t!==null?this.filterInstructions=t:(this.filterInstructions=new wn,this.filterInstructions.add(`has ${this.fieldName()} date`,e=>this.date(e)!==null),this.filterInstructions.add(`no ${this.fieldName()} date`,e=>this.date(e)===null),this.filterInstructions.add(`${this.fieldName()} date is invalid`,e=>{let r=this.date(e);return r!==null&&!r.isValid()}))}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}createFilterOrErrorMessage(t){var d;let e=this.checkForUnexpandedTemplateText(t);if(e)return Ee.fromError(t,e);let r=this.filterInstructions.createFilterOrErrorMessage(t);if(r.isValid())return r;let i=Qe.getMatch(this.filterRegExp(),t);if(i===null)return Ee.fromError(t,"do not understand query filter ("+this.fieldName()+" date)");let s=i[1],a=(d=i[2])==null?void 0:d.toLowerCase(),o=i[3],l=oi.parseDateRange(o);if(!l.isValid()){let f=oi.parseDate(s);f.isValid()&&(l=new Kn(f,f))}if(!l.isValid())return Ee.fromError(t,"do not understand "+this.fieldName()+" date");let u=this.buildFilterFunction(a,l),c=n.buildExplanation(this.fieldNameForExplanation(),a,this.filterResultIfFieldMissing(),l);return Ee.fromFilter(new tn(t,u,c))}buildFilterFunction(t,e){let r;switch(t){case"before":r=i=>i?i.isBefore(e.start):this.filterResultIfFieldMissing();break;case"after":r=i=>i?i.isAfter(e.end):this.filterResultIfFieldMissing();break;case"on or before":case"in or before":r=i=>i?i.isSameOrBefore(e.end):this.filterResultIfFieldMissing();break;case"on or after":case"in or after":r=i=>i?i.isSameOrAfter(e.start):this.filterResultIfFieldMissing();break;default:r=i=>i?i.isSameOrAfter(e.start)&&i.isSameOrBefore(e.end):this.filterResultIfFieldMissing()}return this.getFilter(r)}getFilter(t){return e=>t(this.date(e))}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(t,e,r,i){let s=e,a="YYYY-MM-DD (dddd Do MMMM YYYY)",o;switch(e){case"before":case"on or after":o=i.start.format(a);break;case"after":case"on or before":o=i.end.format(a);break;case"in or before":s="on or before",o=i.end.format(a);break;case"in or after":s="on or after",o=i.start.format(a);break;default:if(!i.start.isSame(i.end)){let u=`${t} date is between:`,c=[new Je(`${i.start.format(a)} and`),new Je(`${i.end.format(a)} inclusive`)];return r&&c.push(new Je(`OR no ${t} date`)),new Je(u,c)}s="on",o=i.start.format(a);break}let l=`${t} date is ${s} ${o}`;return r&&(l+=` OR no ${t} date`),new Je(l)}fieldNameForExplanation(){return this.fieldName()}supportsSorting(){return!0}comparator(){return(t,e)=>Qn(this.date(t),this.date(e))}supportsGrouping(){return!0}grouper(){return t=>{let e=this.date(t);return e===null?["No "+this.fieldName()+" date"]:e.isValid()?[e.format("YYYY-MM-DD dddd")]:["%%0%% Invalid "+this.fieldName()+" date"]}}checkForUnexpandedTemplateText(t){return new Jc().findUnexpandedDateText(t)}};var td=class extends nn{fieldName(){return"created"}date(t){return t.createdDate}filterResultIfFieldMissing(){return!1}};var nd=class extends nn{fieldName(){return"done"}date(t){return t.doneDate}filterResultIfFieldMissing(){return!1}};var La=class extends nn{fieldName(){return"due"}date(t){return t.dueDate}filterResultIfFieldMissing(){return!1}};var ir=class extends Qe{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 rd=class extends ir{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 id(n,t){return[["task",n],["query",t?t.query:null]]}function p1(n,t,e){let r=id(n,e||null),i=Yl(r,t);return i.error?i.error:Vy(i.queryComponent,r,t)}var ql=class{constructor(t){this.line=t,this.functionOrError=Yl(id(null,null),t)}isValid(){return this.functionOrError.isValid()}get parseError(){return this.functionOrError.error}evaluate(t,e){if(!this.isValid())throw new Error(`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`);return Ul(this.functionOrError.queryComponent,id(t,e||null))}evaluateOrCatch(t,e){return this.isValid()?Vy(this.functionOrError.queryComponent,id(t,e),this.line):`Error: Cannot evaluate an expression which is not valid: "${this.line}" gave error: "${this.parseError}"`}};os();function Xy(n){if(n===null)return"null";let t=typeof n;return t==="object"?n.constructor.name:t}var sd=class extends Qe{createFilterOrErrorMessage(t){if(!en.getInstance().get())return Ee.fromError(t,vr.helpMessage);let e=Qe.getMatch(this.filterRegExp(),t);if(e===null)return Ee.fromError(t,"Unable to parse line");let r=e[1],i=new ql(r);return i.isValid()?Ee.fromFilter(new tn(t,Lq(i),new Je(t))):Ee.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=Qe.getMatch(this.sorterRegExp(),t);if(e===null)return null;if(!en.getInstance().get())throw new vr;let r=!!e[1],i=e[2],s=new ql(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 qi(t,this.fieldNameSingular(),a,r)}validateTaskSortKey(t){function e(r){throw new Error(`"${r}" 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 r=Xy(t),i=Xy(e),s=this.compareTaskSortKeysIfOptionalMoment(t,e,r,i);if(s!==void 0)return s;let a=this.compareTaskSortKeysIfEitherIsNull(t,e);if(a!==void 0)return a;if(r!==i)throw new Error(`Unable to compare two different sort key types '${r}' and '${i}' order`);if(r==="string")return t.localeCompare(e,void 0,{numeric:!0});if(r==="TasksDate")return Qn(t.moment,e.moment);if(r==="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 '${r}' and '${i}'`);return o}compareTaskSortKeysIfOptionalMoment(t,e,r,i){let s=r==="Moment",a=i==="Moment";if(s&&a||s&&e===null||a&&t===null)return Qn(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=Qe.getMatch(this.grouperRegExp(),t);if(e===null)return null;if(!en.getInstance().get())throw new vr;let r=!!e[1],i=e[2];return new Wi(t,"function",Uq(i),r)}grouperRegExp(){return new RegExp(`^group by ${this.fieldNameSingularEscaped()}( reverse)? (.*)`,"i")}grouper(){throw new Error("grouper() function not valid for FunctionField. Use createGrouperFromLine() instead.")}};function Lq(n){return(t,e)=>{let r=e.queryContext();return Yq(n,t,r)}}function Yq(n,t,e){let r=n.evaluate(t,e);if(typeof r=="boolean")return r;throw new Error(`filtering function must return true or false. This returned "${r}".`)}function Uq(n){return(t,e)=>{let r=e.queryContext();return qq(t,n,r)}}function qq(n,t,e){try{let r=p1(n,t,e);return Array.isArray(r)?r.map(s=>s.toString()):r===null?[]:typeof r=="number"&&!Number.isInteger(r)?[r.toFixed(5)]:[r.toString()]}catch(r){let i=`Error: Failed calculating expression "${t}". The error message was: `;return r instanceof Error?[i+r.message]:[i+"Unknown error"]}}var ad=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 Ya=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",""))]}};ms();var od=class od extends Qe{createFilterOrErrorMessage(t){var r;let e=Qe.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 Ee.fromError(t,"do not understand priority");let a=t,o;switch((r=e[3])==null?void 0:r.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 Ee.fromFilter(new tn(t,o,new Je(a)))}else return Ee.fromError(t,"do not understand query filter (priority)")}fieldName(){return"priority"}filterRegExp(){return od.priorityRegexp}supportsSorting(){return!0}comparator(){return(t,e)=>t.priority.localeCompare(e.priority)}supportsGrouping(){return!0}grouper(){return t=>[t.priorityNameGroupText]}};od.priorityRegexp=/^priority(\s+is)?(\s+(above|below|not))?(\s+(lowest|low|none|medium|high|highest))$/i;var Ua=od;var ld=class extends nn{fieldName(){return"scheduled"}date(t){return t.scheduledDate}filterResultIfFieldMissing(){return!1}};var ud=class extends nn{fieldName(){return"start"}fieldNameForFilterInstruction(){return"starts"}date(t){return t.startDate}filterResultIfFieldMissing(){return!0}};var cd=class extends nn{constructor(){let t=new wn;t.add("has happens date",e=>this.dates(e).some(r=>r!==null)),t.add("no happens date",e=>!this.dates(e).some(r=>r!==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(r=>t(r))}};var dd=class extends ir{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 fd=class n extends ir{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 r=n.oldStatusName(t),i=n.oldStatusName(e);return r<i?1:r>i?-1:0}}static oldStatusName(t){return t.isDone?"Done":"Todo"}supportsGrouping(){return!0}grouper(){return t=>[n.oldStatusName(t)]}};var pd=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 r=>{let i=t.matchesAnyOf(this.values(r));return e?!i:i}}createGrouper(t){return new Wi(this.grouperInstruction(t),this.fieldNamePlural(),this.grouper(),t)}grouperRegExp(){if(!this.supportsGrouping())throw new 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 md=class n extends pd{constructor(){super(),this.filterInstructions=new wn,this.filterInstructions.add(`has ${this.fieldNameSingular()}`,t=>this.values(t).length>0),this.filterInstructions.add(`has ${this.fieldNamePlural()}`,t=>this.values(t).length>0),this.filterInstructions.add(`no ${this.fieldNameSingular()}`,t=>this.values(t).length===0),this.filterInstructions.add(`no ${this.fieldNamePlural()}`,t=>this.values(t).length===0)}createFilterOrErrorMessage(t){let e=this.filterInstructions.createFilterOrErrorMessage(t);return e.isValid()?e:super.createFilterOrErrorMessage(t)}canCreateFilterForLine(t){return this.filterInstructions.canCreateFilterForLine(t)?!0:super.canCreateFilterForLine(t)}fieldNameSingular(){return"tag"}values(t){return t.tags}supportsSorting(){return!0}createSorterFromLine(t){let e=t.match(this.sorterRegExp());if(e===null)return null;let r=!!e[1],i=isNaN(+e[2])?1:+e[2],s=n.makeCompareByTagComparator(i);return new qi(t,this.fieldNameSingular(),s,r)}sorterRegExp(){return/^sort by tag( reverse)?[\s]*(\d+)?/i}comparator(){return n.makeCompareByTagComparator(1)}static makeCompareByTagComparator(t){return(e,r)=>{if(e.tags.length===0&&r.tags.length===0)return 0;if(e.tags.length===0)return 1;if(r.tags.length===0)return-1;let i=t-1;if(e.tags.length<t&&r.tags.length>=t)return 1;if(r.tags.length<t&&e.tags.length>=t)return-1;if(e.tags.length<t&&r.tags.length<t)return 0;let s=e.tags[i],a=r.tags[i];return s.localeCompare(a,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return t=>t.tags.length==0?["(No tags)"]:t.tags}};var x1=js(E1()),Fs=js(_r());Sl();function ji(n){return new RegExp("["+Ii(n)+"]").source}var lb=[["(",")"],["[","]"],["{","}"],['"','"']],jl=class n{constructor(t,e,r){this.openFilterChars=t,this.closeFilterChars=e,this.openAndCloseFilterChars=r,this.openFilter=ji(this.openFilterChars),this.closeFilter=ji(this.closeFilterChars)}static allSupportedDelimiters(){let t="",e="",r="";for(let[i,s]of lb)t+=i,e+=s,r+=n.openAndClosing(i,s);return new n(t,e,r)}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 lb)if(o===u&&l===c){let d=this.openAndClosing(u,c);return new n(u,c,d)}}let s="All filters in a Boolean instruction must be inside one of these pairs of delimiter characters: "+lb.map(([a,o])=>a+"..."+o).join(" or ")+". Combinations of those delimiters are no longer supported.";throw new Error(s)}static openAndClosing(t,e){let r=t;return e!=t&&(r+=e),r}};var Td=class n{static preprocessExpression(t,e){let r=n.splitLine(t,e);return n.getFiltersAndSimplifiedLine(r,e)}static splitLine(t,e){let r=new RegExp("("+e.closeFilter+"\\s*(?:AND|OR|AND +NOT|OR +NOT|XOR)\\s*"+e.openFilter+")"),i=t.split(r),s=new RegExp("(NOT\\s*"+e.openFilter+")"),a=i.flatMap(u=>u.split(s)).filter(u=>u!==""),o=new RegExp("(^"+ji(e.openFilterChars+" ")+"*)"),l=new RegExp("("+ji(e.closeFilterChars+" ")+"*$)");return a.flatMap(u=>u.split(o)).flatMap(u=>u.split(l)).filter(u=>u!=="")}static getFiltersAndSimplifiedLine(t,e){let r="",i=1,s={};t.forEach(u=>{if(!n.isAFilter(u,e))r+=`${u}`;else{let c=`f${i}`;s[c]=u,r+=c,i++}});let a=new RegExp(`(${e.closeFilter})([A-Z])`,"g");r=r.replace(a,"$1 $2");let o=new RegExp(`([A-Z])(${e.openFilter})`,"g");r=r.replace(o,"$1 $2");let l=e.openFilterChars;if(l!='"'&&l!="("){let u=new RegExp(ji(l),"g");r=r.replace(u,"(");let c=e.closeFilterChars,d=new RegExp(ji(c),"g");r=r.replace(d,")")}return{simplifiedLine:r,filters:s}}static isAFilter(t,e){let r=new RegExp("^"+ji(" "+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![r,i,s,a,/^(AND|OR|XOR|NOT)$/].some(l=>RegExp(l).exec(t))}};var vd=class extends Qe{constructor(){super();this.supportedOperators=["AND","OR","XOR","NOT"];this.subFields={};let e=jl.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 Ee.fromError(e,"empty line");let r;try{r=jl.fromInstructionLine(e)}catch(o){let l=o instanceof Error?o.message:"unknown error type";return Ee.fromError(e,this.helpMessageFromSimpleError(e,l))}let i=Td.preprocessExpression(e,r),s=i.simplifiedLine,a=i.filters;try{let o=(0,x1.parse)(s);for(let c of o)if(c.name===Fs.Tokens.IDENTIFIER&&c.value){let d=c.value.trim(),f=a[d];if(c.value=f,!(f in this.subFields)){let p=$l(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===Fs.Tokens.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 Ee.fromFilter(new tn(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,r,i){let s=l=>l==="true",a=l=>l?"true":"false",o=[];for(let l of r)if(l.name===Fs.Tokens.IDENTIFIER){if(l.value==null)throw new Error("null token value");let c=this.subFields[l.value.trim()].filterFunction(e,i);o.push(a(c))}else if(l.name===Fs.Tokens.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 new Error("Unsupported operator: "+l.value);else throw new Error("Unsupported token type: "+l);return s(o[0])}constructExplanation(e){let r=[];for(let i of e)if(i.name===Fs.Tokens.IDENTIFIER)this.explainExpression(i,r);else if(i.name===Fs.Tokens.OPERATOR)this.explainOperator(i,r);else throw new Error("Unsupported token type: "+i.name);return r[0]}explainExpression(e,r){if(e.value==null)throw new Error("null token value");let i=this.subFields[e.value.trim()],s=this.simulateExplainFilter(i);r.push(s)}simulateExplainFilter(e){return e.simulateExplainFilter()}explainOperator(e,r){if(e.value==="NOT"){let i=r.pop();r.push(Je.booleanNot([i]))}else if(e.value==="OR"){let i=r.pop(),s=r.pop();r.push(Je.booleanOr([s,i]))}else if(e.value==="AND"){let i=r.pop(),s=r.pop();r.push(Je.booleanAnd([s,i]))}else if(e.value==="XOR"){let i=r.pop(),s=r.pop();r.push(Je.booleanXor([s,i]))}else throw new Error("Unsupported operator: "+e.value)}helpMessage(e,r,i){let s=i.filters,a=this.stringifySubExpressionsForErrorMessage(s),l=`${this.helpMessageFromSimpleError(e,r)}

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 Ee.fromError(e,l)}stringifySubExpressionsForErrorMessage(e){return Object.entries(e).map(([r,i])=>`    '${r}': '${i}'
        => ${this.stringifySubExpressionStatus(i)}`).join(`
`)}stringifySubExpressionStatus(e){let r=$l(e);return r?r.error?`ERROR:
           ${r.error.split(`
`).map(s=>s.trim()).join(`
           `)}`:"OK":`ERROR:
           do not understand query`}helpMessageFromSimpleError(e,r){return`Could not interpret the following instruction as a Boolean combination:
    ${e}

The error message is:
    ${r}`}};var kd=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 za=class extends Qe{canCreateFilterForLine(t){return!1}createFilterOrErrorMessage(t){return Ee.fromError(t,"Filtering by urgency is not yet supported")}fieldName(){return"urgency"}filterRegExp(){throw new 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 Sd=class extends et{constructor(){super()}fieldName(){return"status.name"}value(t){return t.status.name}supportsSorting(){return!0}supportsGrouping(){return!0}};In();var Va=class n extends Qe{canCreateFilterForLine(t){let e=new RegExp(`^(?:${this.fieldNameSingularEscaped()})`,"i");return Qe.lineMatchesFilter(e,t)}createFilterOrErrorMessage(t){let e=Qe.getMatch(this.filterRegExp(),t);if(e===null)return this.helpMessage(t);let r=e[1].toLowerCase(),i=e[2],s=zt[i.toUpperCase()];if(!s)return this.helpMessage(t);let a;switch(r){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 Ee.fromFilter(new tn(t,a,new Je(t)))}filterRegExp(){return new RegExp(`^(?:${this.fieldNameSingularEscaped()}) (is|is not) ([^ ]+)$`,"i")}helpMessage(t){let e=Object.values(zt).filter(i=>i!=="EMPTY").join(" "),r=`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 Ee.fromError(t,r)}fieldName(){return"status.type"}value(t){return t.status.type}supportsSorting(){return!0}comparator(){return(t,e)=>{let r=n.groupName(t),i=n.groupName(e);return r.localeCompare(i,void 0,{numeric:!0})}}supportsGrouping(){return!0}grouper(){return t=>[n.groupName(t)]}static groupName(t){return t.status.typeGroupText}};var _d=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 wd=class extends et{fieldName(){return"folder"}value(t){return t.file.folder}supportsGrouping(){return!0}grouper(){return t=>[et.escapeMarkdownCharacters(this.value(t))]}};var Dd=class extends et{fieldName(){return"root"}value(t){return t.file.root}supportsGrouping(){return!0}grouper(){return t=>[et.escapeMarkdownCharacters(this.value(t))]}};var Ed=class extends et{fieldName(){return"backlink"}value(t){let e=t.getLinkText({isFilenameUnique:!0});return e===null?"Unknown Location":e}createFilterOrErrorMessage(t){return Ee.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 r=t.precedingHeader;return r===null?["[["+e+"]]"]:[`[[${e}#${r}|${e} > ${r}]]`]}}};var xd=class extends nn{fieldName(){return"cancelled"}date(t){return t.cancelledDate}filterResultIfFieldMissing(){return!1}};var Od=class extends ir{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 Rd=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 r=this.filterInstructions.createFilterOrErrorMessage(e);return r.isValid()?r:super.createFilterOrErrorMessage(e)}fieldName(){return"id"}value(e){return e.id}supportsSorting(){return!0}supportsGrouping(){return!0}};var Cd=class extends Qe{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 r=this.filterInstructions.createFilterOrErrorMessage(e);return r.isValid()?r:Ee.fromError(e,"Unknown instruction")}fieldName(){return"blocked by"}filterRegExp(){return null}};var Md=class extends ir{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},r=window.moment().format("Y-MM-DD");return e(r+" "+t.description)}};var ub=[()=>new Sd,()=>new Va,()=>new fd,()=>new dd,()=>new Ua,()=>new cd,()=>new xd,()=>new td,()=>new ud,()=>new ld,()=>new La,()=>new nd,()=>new Ya,()=>new wd,()=>new Dd,()=>new Ed,()=>new Fa,()=>new md,()=>new ad,()=>new rd,()=>new kd,()=>new za,()=>new _d,()=>new sd,()=>new Rd,()=>new Cd,()=>new Od,()=>new Md,()=>new vd];function $l(n){for(let t of ub){let e=t();if(e.canCreateFilterForLine(n))return e.createFilterOrErrorMessage(n)}return null}function O1(n){let t=/^sort by /i;if(n.match(t)===null)return null;for(let e of ub){let i=e().createSorterFromLine(n);if(i)return i}return null}function R1(n){let t=/^group by /i;if(n.match(t)===null)return null;for(let e of ub){let i=e().createGrouperFromLine(n);if(i)return i}return null}var Ad=class{constructor(t,e,r){this.nestingLevel=t,this.displayName=e,this.property=r}};var Pd=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 r=0;r<t.length;r++){let i=t[r];if(i!=this.lastHeadingAtLevel[r]){e.push(new Ad(r,i,this.groupers[r].property));for(let s=r;s<t.length;s++)this.lastHeadingAtLevel[s]="";this.lastHeadingAtLevel[r]=i}}return e}};var Id=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[r,i]of this.children)t.push(r),i.generateAllPaths(t).forEach((a,o)=>e.set(o,a)),t.pop();return e}};var Nd=class extends Id{},Fd=class{constructor(t,e,r){this.root=new Nd(e),this.buildGroupingTree(t,r)}buildGroupingTree(t,e){let r=[this.root];for(let i of t){let s=[];for(let a of r)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 Nd([]),a.children.set(u,c),s.push(c)),c.values.push(o)}}r=s}}generateTaskTreeStorage(){return this.root.generateAllPaths()}};var Ld=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){let r="#".repeat(Math.min(4+e.nestingLevel,6));t+=`${r} ${e.displayName}

`}return t+=this.tasksAsStringOfLines(),t}};var Ls=class{constructor(t,e,r){this._groups=new Array;this._totalTaskCount=0;this._totalTaskCount=e.length,this._groupers=t;let s=new Fd(t,e,r).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,r]of t){let i=new Ld(e,r);this.addTaskGroup(i)}}addTaskGroup(t){this._groups.push(t)}sortTaskGroups(){let t=(e,r)=>{let i=e.groups,s=r.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 Pd(t,this._groupers);for(let r of this._groups)r.setGroupHeadings(e.getHeadingsForTaskGroup(r.groups))}applyTaskLimit(t){this._groupers.length!==0&&(this._groups.forEach(e=>{e.applyTaskLimit(t)}),this.recalculateTotalTaskCount())}recalculateTotalTaskCount(){let t=[];this._groups.forEach(r=>{t=[...t,...r.tasks]});let e=[...new Set(t)];this._totalTaskCount=e.length}};var Ys=class n{constructor(t,e){this.tasksFile=t,this.allTasks=[...e],this._queryContext=this.tasksFile?Zy(this.tasksFile,this.allTasks):void 0}static fromAllTasks(t){return new n(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 C1(n){return`task${n!==1?"s":""}`}var Hl=class n{constructor(t,e,r){this.totalTasksCountBeforeLimit=0;this._searchErrorMessage=void 0;this.taskGroups=t,this.totalTasksCountBeforeLimit=e,this._tasksFile=r}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} ${C1(t)}`:`${t} of ${e} ${C1(e)}`}get groups(){return this.taskGroups.groups}static fromError(t){let e=new n(new Ls([],[],Ys.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 r of t.groupHeadings){let i="#".repeat(Math.min(4+r.nestingLevel,6));e+=`${i} ${r.displayName}

`}return e+=this.tasksAsStringOfLines(t.tasks),e}tasksAsStringOfLines(t){let e="";for(let r of t)e+=this.toFileLineString(r)+`
`;return e}toFileLineString(t){return`- [${t.status.symbol}] ${t.toString()}`}applyFilter(t){if(this._searchErrorMessage)return n.fromError(this._searchErrorMessage);let e=this.taskGroups.groups.flatMap(a=>a.tasks),r=new Ys(this._tasksFile,e),i=a=>t.filterFunction(a,r),s=[...new Set(e.filter(i))];return new n(new Ls(this.taskGroups.groupers,s,r),this.totalTasksCountBeforeLimit,this._tasksFile)}};function M1(n){return n.endsWith("\\")}function A1(n){return n.endsWith("\\\\")}function mW(n){return n.replace(/^[ \t]*/,"")}function hW(n){return n.replace(/[ \t]*\\$/,"")}function gW(n,t){let e=n;return t&&(e=mW(n)),A1(e)?e=e.slice(0,-1):M1(n)&&(e=hW(e)),e}function Yd(n){let t=[],e=!1,r="",i="",s=n+`
`;for(let a of s.split(`
`)){let o=gW(a,e);e?(r+=`
`+a,i+=" "+o):(r=a,i=o),A1(a)?e=!1:e=M1(a),e||(i.trim()!==""&&t.push(new mn(r,i)),r="",i="")}return t}function P1(n){return Yd(n).map(t=>t.anyContinuationLinesRemoved)}var Ud=class n{static by(t,e,r){let i=this.defaultSorters().map(a=>a.comparator),s=[];for(let a of t)s.push(a.comparator);return e.sort(n.makeCompositeComparator([...s,...i],r))}static defaultSorters(){return[new Va().createNormalSorter(),new za().createNormalSorter(),new La().createNormalSorter(),new Ua().createNormalSorter(),new Ya().createNormalSorter()]}static makeCompositeComparator(t,e){return(r,i)=>{for(let s of t){let a=s(r,i,e);if(a!==0)return a}return 0}}};var I1=0,wr=class n{constructor(t,e=void 0){this.statements=[];this._limit=void 0;this._taskGroupLimit=void 0;this._taskLayoutOptions=new Lr;this._queryLayoutOptions=new Ui;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=fn.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 r=Yd(t);for(let i of r){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 r=t.anyContinuationLinesRemoved;if(r.includes("{{")&&r.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:
${r}`,[t];if(this.commentRegexp.test(r))return[t];let s=r;if(e){let a=Qy(e),o="";try{let u=0;for(;s!==o&&u<10;)o=s,s=Ky(o,a),u++;s!==r&&(s=Yd(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 r=t.split(`
`).map(i=>i.trim()).filter(i=>i.length>0);return r.length===1?(e.recordExpandedPlaceholders(r[0]),[e]):r.map((i,s)=>{let a=`: statement ${s+1} after expansion of placeholder`,o=new mn(e.rawInstruction+a,e.anyContinuationLinesRemoved+a);return o.recordExpandedPlaceholders(i),o})}append(t){return this.source===""?t:t.source===""?this:new n(`${this.source}
${t.source}`,this.tasksFile)}explainQuery(){return new Pa().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=n.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 Ys(this.tasksFile,t),r;try{this.filters.forEach(l=>{r=l.statement,t=t.filter(u=>l.filterFunction(u,e))}),r=void 0;let{debugSettings:i}=J(),s=i.ignoreSortInstructions?t:Ud.by(this.sorting,t,e),a=s.slice(0,this.limit),o=new Ls(this.grouping,a,e);return this._taskGroupLimit!==void 0&&o.applyTaskLimit(this._taskGroupLimit),new Hl(o,s.length,this.tasksFile)}catch(i){let a=As("Search failed",i);return r&&(a=n.generateErrorMessage(r,a)),Hl.fromError(a)}}parseHideOptions(t){let e=t.anyPlaceholdersExpanded,r=e.match(this.hideOptionsRegexp);if(r===null)return;let i=r[1].toLowerCase()==="hide",s=r[2].toLowerCase();if(JE(this._queryLayoutOptions,s,i)){this.saveLayoutStatement(t);return}if(Bw(this._taskLayoutOptions,s,!i)){this.saveLayoutStatement(t);return}this.setError("do not understand hide/show option",new mn(e,e))}saveLayoutStatement(t){this.layoutStatements.push(t)}parseFilter(t,e){var i;let r=$l(t);return r!=null?(r.filter?(r.filter.setStatement(e),this._filters.push(r.filter)):this.setError((i=r.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 mn(t,t));return}let r=Number.parseInt(e[3],10);e[1]!==void 0?this._taskGroupLimit=r:this._limit=r}parseSortBy(t,e){let r=null;try{r=O1(t)}catch(i){let s=i instanceof Error?i.message:"Unknown error";return this.setError(s,e),!0}return r?(r.setStatement(e),this._sorting.push(r),!0):!1}parseGroupBy(t,e){let r;try{r=R1(t)}catch(i){let s=i instanceof Error?i.message:"Unknown error";return this.setError(s,e),!0}return r?(r.setStatement(e),this._grouping.push(r),!0):!1}parsePreset(t,e){let r=this.presetRegexp.exec(t);if(r){let i=r[1].trim(),{presets:s}=J(),a=s[i];if(!a){this.setError(sD(i,s),e);return}let o=P1(a);for(let l of o){let u=new mn(e.rawInstruction,e.anyContinuationLinesRemoved);if(u.recordExpandedPlaceholders(l),l.includes("{{")&&l.includes("}}")&&this.tasksFile){let c=Qy(this.tasksFile),d=Ky(l,c);u.recordExpandedPlaceholders(d)}this.parseLine(u)}}}generateQueryId(t){return I1+=1,I1.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 cb=[{name:"TQ_show_toolbar",type:"checkbox",display:"toolbar",handler:"showAndHide"},{name:"TQ_explain",type:"checkbox",handler:"instruction",trueValue:"explain",falseValue:""},{name:"TQ_short_mode",type:"checkbox",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"}],ki=class{source(t){return t?cb.map(r=>this.generateInstruction(t,r)).filter(r=>r!=="").join(`
`):""}generateInstruction(t,e){let r=t.hasProperty(e.name),i=t.property(e.name);switch(e.handler){case"instruction":return r&&(i?e.trueValue:e.falseValue)||"";case"showAndHide":return r&&(i?"show "+e.display:"hide "+e.display)||"";case"addValue":return r&&typeof i=="string"?i:""}}query(t){return new wr(this.source(t),t)}allPropertyNames(){return cb.map(t=>t.name)}allPropertyNamesSorted(){return this.allPropertyNames().sort((t,e)=>t.localeCompare(e))}propertyType(t){var e,r;return(r=(e=cb.find(i=>i.name===t))==null?void 0:e.type)!=null?r: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 N1(n,t){return A(this,null,function*(){yield n.fileManager.processFrontMatter(t,e=>{let r=new ki().allPropertyNamesSorted(),i=!1;r.forEach(s=>{s in e||(e[s]=null,i=!0)}),i?new db.Notice("Properties updated successfully."):new db.Notice("All supported properties are already present.")})})}var F1=require("obsidian");At();yr();ya();var fb=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 qd(n){let t=[],e=new St().coreStatuses.map(r=>r.symbol);for(let r of[!0,!1])for(let i of n.registeredStatuses)e.includes(i.symbol)===r&&t.push(new fb(i));return t}var yW=(n,t,e)=>{let r=ke.fromLine({line:n,taskLocation:Kt.fromUnknownPosition(new ft(t)),fallbackDate:null});if(r!==null){let i=r.handleNewStatusWithRecurrenceInUsersOrder(e).map(a=>a.toFileLineString()),s=i.length>0?i.length-1:0;return{text:i.join(`
`),moveTo:{line:s}}}},bW=n=>(t,e)=>{let r=yW(t,e,n);return r===void 0&&new F1.Notice("Cannot set status: line is not a task or does not match global filter"),r};function L1(n){let t=qd(n),e=[];for(let r of t){let i=r.newStatus,a={id:`set-status-symbol-to-${i.symbol===" "?"space":i.symbol}`,name:r.instructionDisplayName(),editorCheckCallback:Zc(bW(i))};e.push(a)}return e}var Wd=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:(r,i,s)=>QE(r,i,s,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:XE}),t.addCommand({id:"add-query-file-defaults-properties",name:"Add all Query File Defaults properties",icon:"settings",checkCallback:r=>{let i=this.app.workspace.getActiveFile();return!i||i.extension!=="md"?!1:(r||this.ensureQueryFileDefaultsFrontmatter(i).catch(console.error),!0)}});let e=L1(Xe.getInstance());for(let r of e)t.addCommand(r)}ensureQueryFileDefaultsFrontmatter(t){return A(this,null,function*(){let{app:e}=this;yield N1(e,t)})}};var Gr=class Gr{constructor(t=Gr.empty){this._source=t}static getInstance(){return Gr.instance||(Gr.instance=new Gr),Gr.instance}set(t){this._source=t}reset(){this._source=Gr.empty}query(t=void 0){let e=new wr(this._source,t);return e.removeIllegalGlobalQueryInstructions(),e}hasInstructions(){return this._source.trim()!==Gr.empty}};Gr.empty="";var or=Gr;vs();var jd=class{constructor({obsidianEvents:t}){this.logger=fn.getLogger("tasks.Events");this.obsidianEvents=t}onCacheUpdate(t){return this.logger.debug("TasksEvents.onCacheUpdate()"),this.obsidianEvents.on("obsidian-tasks-plugin:cache-update",t)}triggerCacheUpdate(t){this.logger.debug("TasksEvents.triggerCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:cache-update",t)}onRequestCacheUpdate(t){return this.logger.debug("TasksEvents.onRequestCacheUpdate()"),this.obsidianEvents.on("obsidian-tasks-plugin:request-cache-update",t)}triggerRequestCacheUpdate(t){this.logger.debug("TasksEvents.triggerRequestCacheUpdate()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:request-cache-update",t)}onReloadOpenSearchResults(t){return this.logger.debug("TasksEvents.onReloadOpenSearchResults()"),this.obsidianEvents.on("obsidian-tasks-plugin:reload-open-search-results",t)}triggerReloadOpenSearchResults(){this.logger.debug("TasksEvents.triggerReloadOpenSearchResults()"),this.obsidianEvents.trigger("obsidian-tasks-plugin:reload-open-search-results")}onReloadVault(t){return this.logger.debug("TasksEvents.onReloadVault()"),this.obsidianEvents.on("obsidian-tasks-plugin:reload-vault",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 ox=require("obsidian");dn();ps();At();var ax=require("obsidian");dn();gt();At();Ni();Cc();function Y1(n){for(let e of ke.allDateFields()){let r=n[e];if(r&&!r.isValid())return!1}let t=n.happensDates.some(e=>!!(e!=null&&e.isValid()));return!n.isDone&&t}function Ka(n){return n.dueDate?"dueDate":n.scheduledDate?"scheduledDate":n.startDate?"startDate":null}function pb(n,t,e,r){let i=n[t];return W1(i,n,t,e,r)}function U1(n,t,e,r){let i=window.moment();return W1(i,n,t,e,r)}function q1(n,t,e,r){return j1(n,t,null)}function W1(n,t,e,r,i){let s=new Ut(n).postpone(r,i);return j1(t,e,s)}function j1(n,t,e){let r=qt.removeInferredStatusIfNeeded(n,[new ke(pe(Y({},n),{[t]:e}))])[0];return{postponedDate:e,postponedTask:r}}function $1(n,t){if(n){let e=n==null?void 0:n.format("DD MMM YYYY");return`Task's ${t} changed to ${e}`}else return`Task's ${t} removed`}function H1(n,t,e){return`\u2139\uFE0F ${mb(n,t,e)} (right-click for more options)`}function mb(n,t,e){let r=Ka(n),i=n[r];return Qa(r,i,t,e)}function B1(n,t,e){let r=Ka(n),i=window.moment().startOf("day");return Qa(r,i,t,e)}function G1(n,t,e){let r=Ka(n);return hb(r,n)}function hb(n,t){return n==="scheduledDate"&&t.scheduledDateIsInferred?"Cannot remove inferred scheduled date":`Remove ${$d(n)}`}function TW(n){return Da(n.replace("Date",""))}function $d(n){return n.replace("Date"," date")}function Qa(n,t,e,r){let s=new Ut(t).postpone(r,e).format("ddd Do MMM"),a=e!=1?Math.abs(e):"a";if(t.isSameOrBefore(window.moment(),"day")){let l=TW(n);return(e>=0?`${l} in ${a} ${r}, on ${s}`:`${l} ${a} ${r} ago, on ${s}`).replace(" 1 day ago"," yesterday").replace(" in 0 days"," today").replace("in a day","tomorrow")}let o=$d(n);return e>=0?`Postpone ${o} by ${a} ${r}, to ${s}`:`Backdate ${o} by ${a} ${r}, to ${s}`}ps();br();At();Zr();function z1(n){return["startDate","scheduledDate","dueDate"].includes(n)}At();Cc();var Za=class{apply(t){throw new Error("MenuDividerInstruction.apply(): Method not implemented.")}instructionDisplayName(){return"---"}isCheckedForTask(t){return!1}};var $i=class{constructor(t,e,r){this.newDate=e,this.dateFieldToEdit=t,this.displayName=r!=null?r:`Set Date: ${this.newDate.toDateString()}`}apply(t){return this.isCheckedForTask(t)?[t]:[new ke(pe(Y({},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}},Dr=class extends $i{constructor(t,e,r,i){var l;let s=(l=e[t])!=null?l:window.moment(),a=Qa(t,s,r,i),o=new Ut(window.moment(s)).postpone(i,r).toDate();super(t,o,a)}},Bl=class{constructor(t,e){this.dateFieldToEdit=t,this.displayName=hb(t,e)}apply(t){let e=this.dateFieldToEdit==="scheduledDate"&&t.scheduledDateIsInferred;return t[this.dateFieldToEdit]===null||e?[t]:[new ke(pe(Y({},t),{[this.dateFieldToEdit]:null}))]}instructionDisplayName(){return this.displayName}isCheckedForTask(t){return!1}};function V1(n,t){return Q1(t,n,1)}function K1(n,t){return Q1(t,n,-1)}function Q1(n,t,e){let r=window.moment().startOf("day"),i=r.toDate(),s=new Ut(r.clone());return[new $i(t,i,Qa(t,r,0,"days")),new $i(t,s.postpone("day",e).toDate(),Qa(t,r,e,"day")),new Za,new Dr(t,n,e*2,"days"),new Dr(t,n,e*3,"days"),new Dr(t,n,e*4,"days"),new Dr(t,n,e*5,"days"),new Dr(t,n,e*6,"days"),new Za,new Dr(t,n,e,"week"),new Dr(t,n,e*2,"weeks"),new Dr(t,n,e*3,"weeks"),new Dr(t,n,e,"month"),new Za,new Bl(t,n)]}var Z1=require("obsidian");function zr(n,t){return A(this,null,function*(){yield Un({originalTask:n,newTasks:t})})}function Gl(n,t){n.preventDefault(),n.stopPropagation(),t.showAtPosition({x:n.clientX,y:n.clientY})}var Hi=class extends Z1.Menu{constructor(t){super(),this.taskSaver=t}addItemsForInstructions(t,e){for(let r of t)this.addItemForInstruction(e,r)}addItemForInstruction(t,e){e.instructionDisplayName()==="---"?this.addSeparator():this.addItem(r=>this.getMenuItemCallback(t,r,e))}getMenuItemCallback(t,e,r){e.setTitle(r.instructionDisplayName()).setChecked(r.isCheckedForTask(t)).onClick(()=>A(this,null,function*(){let i=r.apply(t);(i.length!==1||!Object.is(i[0],t))&&(yield this.taskSaver(t,i))}))}};var Hd=class extends Hi{constructor(t,e,r=zr){super(r);let i=z1(t)?V1(t,e):K1(t,e);this.addItemsForInstructions(i,e)}};var Bd=["onChange","onClose","onDayCreate","onDestroy","onKeyDown","onMonthChange","onOpen","onParseConfig","onReady","onValueUpdate","onYearChange","onPreCalendarPosition"],Bi={_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(n){return typeof console!="undefined"&&console.warn(n)},getWeek:function(n){var t=new Date(n.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 Gd={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(n){var t=n%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=Gd;var an=function(n,t){return t===void 0&&(t=2),("000"+n).slice(t*-1)},Dn=function(n){return n===!0?1:0};function gb(n,t){var e;return function(){var r=this,i=arguments;clearTimeout(e),e=setTimeout(function(){return n.apply(r,i)},t)}}var Vd=function(n){return n instanceof Array?n:[n]};function on(n,t,e){if(e===!0)return n.classList.add(t);n.classList.remove(t)}function Be(n,t,e){var r=window.document.createElement(n);return t=t||"",e=e||"",r.className=t,e!==void 0&&(r.textContent=e),r}function zl(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function yb(n,t){if(t(n))return n;if(n.parentNode)return yb(n.parentNode,t)}function Vl(n,t){var e=Be("div","numInputWrapper"),r=Be("input","numInput "+n),i=Be("span","arrowUp"),s=Be("span","arrowDown");if(navigator.userAgent.indexOf("MSIE 9.0")===-1?r.type="number":(r.type="text",r.pattern="\\d*"),t!==void 0)for(var a in t)r.setAttribute(a,t[a]);return e.appendChild(r),e.appendChild(i),e.appendChild(s),e}function En(n){try{if(typeof n.composedPath=="function"){var t=n.composedPath();return t[0]}return n.target}catch(e){return n.target}}var bb=function(){},Kl=function(n,t,e){return e.months[t?"shorthand":"longhand"][n]},X1={D:bb,F:function(n,t,e){n.setMonth(e.months.longhand.indexOf(t))},G:function(n,t){n.setHours((n.getHours()>=12?12:0)+parseFloat(t))},H:function(n,t){n.setHours(parseFloat(t))},J:function(n,t){n.setDate(parseFloat(t))},K:function(n,t,e){n.setHours(n.getHours()%12+12*Dn(new RegExp(e.amPM[1],"i").test(t)))},M:function(n,t,e){n.setMonth(e.months.shorthand.indexOf(t))},S:function(n,t){n.setSeconds(parseFloat(t))},U:function(n,t){return new Date(parseFloat(t)*1e3)},W:function(n,t,e){var r=parseInt(t),i=new Date(n.getFullYear(),0,2+(r-1)*7,0,0,0,0);return i.setDate(i.getDate()-i.getDay()+e.firstDayOfWeek),i},Y:function(n,t){n.setFullYear(parseFloat(t))},Z:function(n,t){return new Date(t)},d:function(n,t){n.setDate(parseFloat(t))},h:function(n,t){n.setHours((n.getHours()>=12?12:0)+parseFloat(t))},i:function(n,t){n.setMinutes(parseFloat(t))},j:function(n,t){n.setDate(parseFloat(t))},l:bb,m:function(n,t){n.setMonth(parseFloat(t)-1)},n:function(n,t){n.setMonth(parseFloat(t)-1)},s:function(n,t){n.setSeconds(parseFloat(t))},u:function(n,t){return new Date(parseFloat(t))},w:bb,y:function(n,t){n.setFullYear(2e3+parseFloat(t))}},Si={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})"},Xa={Z:function(n){return n.toISOString()},D:function(n,t,e){return t.weekdays.shorthand[Xa.w(n,t,e)]},F:function(n,t,e){return Kl(Xa.n(n,t,e)-1,!1,t)},G:function(n,t,e){return an(Xa.h(n,t,e))},H:function(n){return an(n.getHours())},J:function(n,t){return t.ordinal!==void 0?n.getDate()+t.ordinal(n.getDate()):n.getDate()},K:function(n,t){return t.amPM[Dn(n.getHours()>11)]},M:function(n,t){return Kl(n.getMonth(),!0,t)},S:function(n){return an(n.getSeconds())},U:function(n){return n.getTime()/1e3},W:function(n,t,e){return e.getWeek(n)},Y:function(n){return an(n.getFullYear(),4)},d:function(n){return an(n.getDate())},h:function(n){return n.getHours()%12?n.getHours()%12:12},i:function(n){return an(n.getMinutes())},j:function(n){return n.getDate()},l:function(n,t){return t.weekdays.longhand[n.getDay()]},m:function(n){return an(n.getMonth()+1)},n:function(n){return n.getMonth()+1},s:function(n){return n.getSeconds()},u:function(n){return n.getTime()},w:function(n){return n.getDay()},y:function(n){return String(n.getFullYear()).substring(2)}};var Tb=function(n){var t=n.config,e=t===void 0?Bi:t,r=n.l10n,i=r===void 0?Gd:r,s=n.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 Xa[d]&&p[f-1]!=="\\"?Xa[d](o,c,e):d!=="\\"?d:""}).join("")}},Kd=function(n){var t=n.config,e=t===void 0?Bi:t,r=n.l10n,i=r===void 0?Gd:r;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||Bi).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 h=void 0,b=[],v=0,E=0,O="";v<f.length;v++){var x=f[v],q=x==="\\",ee=f[v-1]==="\\"||q;if(Si[x]&&!ee){O+=Si[x];var V=new RegExp(O).exec(s);V&&(h=!0)&&b[x!=="Y"?"push":"unshift"]({fn:X1[x],val:V[++E]})}else q||(O+=".")}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 X=j.fn,_e=j.val;return c=X(c,_e,u)||c}),c=h?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 xn(n,t,e){return e===void 0&&(e=!0),e!==!1?new Date(n.getTime()).setHours(0,0,0,0)-new Date(t.getTime()).setHours(0,0,0,0):n.getTime()-t.getTime()}var J1=function(n,t,e){return n>Math.min(t,e)&&n<Math.max(t,e)},Qd=function(n,t,e){return n*3600+t*60+e},ex=function(n){var t=Math.floor(n/3600),e=(n-t*3600)/60;return[t,e,n-t*3600-e*60]},tx={DAY:864e5};function Zd(n){var t=n.defaultHour,e=n.defaultMinute,r=n.defaultSeconds;if(n.minDate!==void 0){var i=n.minDate.getHours(),s=n.minDate.getMinutes(),a=n.minDate.getSeconds();t<i&&(t=i),t===i&&e<s&&(e=s),t===i&&e===s&&r<a&&(r=n.minDate.getSeconds())}if(n.maxDate!==void 0){var o=n.maxDate.getHours(),l=n.maxDate.getMinutes();t=Math.min(t,o),t===o&&(e=Math.min(l,e)),t===o&&e===l&&(r=n.maxDate.getSeconds())}return{hours:t,minutes:e,seconds:r}}typeof Object.assign!="function"&&(Object.assign=function(n){for(var t=[],e=1;e<arguments.length;e++)t[e-1]=arguments[e];if(!n)throw TypeError("Cannot convert undefined or null to object");for(var r=function(o){o&&Object.keys(o).forEach(function(l){return n[l]=o[l]})},i=0,s=t;i<s.length;i++){var a=s[i];r(a)}return n});var ln=function(){return ln=Object.assign||function(n){for(var t,e=1,r=arguments.length;e<r;e++){t=arguments[e];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n},ln.apply(this,arguments)},nx=function(){for(var n=0,t=0,e=arguments.length;t<e;t++)n+=arguments[t].length;for(var r=Array(n),i=0,t=0;t<e;t++)for(var s=arguments[t],a=0,o=s.length;a<o;a++,i++)r[i]=s[a];return r},kW=300;function SW(n,t){var e={config:ln(ln({},Bi),vt.defaultConfig),l10n:zd};e.parseDate=Kd({config:e.config,l10n:e.l10n}),e._handlers=[],e.pluginElements=[],e.loadedPlugins=[],e._bind=b,e._setHoursFromDate=f,e._positionCalendar=Jl,e.changeMonth=_,e.changeYear=$,e.clear=C,e.close=I,e.onMouseOver=we,e._createElement=Be,e.createDay=V,e.destroy=U,e.isEnabled=de,e.jumpToDate=O,e.updateValue=Qr,e.open=nt,e.redraw=wb,e.set=Px,e.setDate=Ix,e.toggle=Yx;function r(){e.utils={getDaysInMonth:function(g,y){return g===void 0&&(g=e.currentMonth),y===void 0&&(y=e.currentYear),g===1&&(y%4===0&&y%100!==0||y%400===0)?29:e.l10n.daysInMonth[g]}}}function i(){e.element=e.input=n,e.isOpen=!1,Ye(),Pt(),Fx(),Nx(),r(),e.isMobile||ee(),E(),(e.selectedDates.length||e.config.noCalendar)&&(e.config.enableTime&&f(e.config.noCalendar?e.latestSelectedDateObj:void 0),Qr(!1)),o();var g=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);!e.isMobile&&g&&Jl(),ot("onReady")}function s(){var g;return((g=e.calendarContainer)===null||g===void 0?void 0:g.getRootNode()).activeElement||document.activeElement}function a(g){return g.bind(e)}function o(){var g=e.config;g.weekNumbers===!1&&g.showMonths===1||g.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)*g.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(g){if(e.selectedDates.length===0){var y=e.config.minDate===void 0||xn(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}g!==void 0&&g.type!=="blur"&&Wx(g);var N=e._input.value;d(),Qr(),e._input.value!==N&&e._debouncedChange()}function u(g,y){return g%12+12*Dn(y===e.l10n.amPM[1])}function c(g){switch(g%24){case 0:case 12:return 12;default:return g%12}}function d(){if(!(e.hourElement===void 0||e.minuteElement===void 0)){var g=(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&&(g=u(g,e.amPM.textContent));var N=e.config.minTime!==void 0||e.config.minDate&&e.minDateHasTime&&e.latestSelectedDateObj&&xn(e.latestSelectedDateObj,e.config.minDate,!0)===0,z=e.config.maxTime!==void 0||e.config.maxDate&&e.maxDateHasTime&&e.latestSelectedDateObj&&xn(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=Qd(e.config.minTime.getHours(),e.config.minTime.getMinutes(),e.config.minTime.getSeconds()),De=Qd(e.config.maxTime.getHours(),e.config.maxTime.getMinutes(),e.config.maxTime.getSeconds()),ue=Qd(g,y,D);if(ue>De&&ue<ne){var Ce=ex(ne);g=Ce[0],y=Ce[1],D=Ce[2]}}else{if(z){var ae=e.config.maxTime!==void 0?e.config.maxTime:e.config.maxDate;g=Math.min(g,ae.getHours()),g===ae.getHours()&&(y=Math.min(y,ae.getMinutes())),y===ae.getMinutes()&&(D=Math.min(D,ae.getSeconds()))}if(N){var be=e.config.minTime!==void 0?e.config.minTime:e.config.minDate;g=Math.max(g,be.getHours()),g===be.getHours()&&y<be.getMinutes()&&(y=be.getMinutes()),y===be.getMinutes()&&(D=Math.max(D,be.getSeconds()))}}p(g,y,D)}}function f(g){var y=g||e.latestSelectedDateObj;y&&y instanceof Date&&p(y.getHours(),y.getMinutes(),y.getSeconds())}function p(g,y,D){e.latestSelectedDateObj!==void 0&&e.latestSelectedDateObj.setHours(g%24,y,D||0,0),!(!e.hourElement||!e.minuteElement||e.isMobile)&&(e.hourElement.value=an(e.config.time_24hr?g:(12+g)%12+12*Dn(g%12===0)),e.minuteElement.value=an(y),e.amPM!==void 0&&(e.amPM.textContent=e.l10n.amPM[Dn(g>=12)]),e.secondElement!==void 0&&(e.secondElement.value=an(D)))}function h(g){var y=En(g),D=parseInt(y.value)+(g.delta||0);(D/1e3>1||g.key==="Enter"&&!/[^\d]/.test(D.toString()))&&$(D)}function b(g,y,D,N){if(y instanceof Array)return y.forEach(function(z){return b(g,z,D,N)});if(g instanceof Array)return g.forEach(function(z){return b(z,y,D,N)});g.addEventListener(y,D,N),e._handlers.push({remove:function(){return g.removeEventListener(y,D,N)}})}function v(){ot("onChange")}function E(){if(e.config.wrap&&["open","close","toggle","clear"].forEach(function(D){Array.prototype.forEach.call(e.element.querySelectorAll("[data-"+D+"]"),function(N){return b(N,"click",e[D])})}),e.isMobile){Lx();return}var g=gb(tt,50);if(e._debouncedChange=gb(v,kW),e.daysContainer&&!/iPhone|iPad|iPod/i.test(navigator.userAgent)&&b(e.daysContainer,"mouseover",function(D){e.config.mode==="range"&&we(En(D))}),b(e._input,"keydown",Te),e.calendarContainer!==void 0&&b(e.calendarContainer,"keydown",Te),!e.config.inline&&!e.config.static&&b(window,"resize",g),window.ontouchstart!==void 0?b(window.document,"touchstart",w):b(window.document,"mousedown",w),b(window.document,"focus",w,{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",qx),b(e.monthNav,["keyup","increment"],h),b(e.daysContainer,"click",Db)),e.timeContainer!==void 0&&e.minuteElement!==void 0&&e.hourElement!==void 0){var y=function(D){return En(D).select()};b(e.timeContainer,["increment"],l),b(e.timeContainer,"blur",l,{capture:!0}),b(e.timeContainer,"click",x),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 O(g,y){var D=g!==void 0?e.parseDate(g):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),N=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!==N&&(ot("onYearChange"),P()),y&&(e.currentYear!==N||e.currentMonth!==z)&&ot("onMonthChange"),e.redraw()}function x(g){var y=En(g);~y.className.indexOf("arrow")&&q(g,y.classList.contains("arrowUp")?1:-1)}function q(g,y,D){var N=g&&En(g),z=D||N&&N.parentNode&&N.parentNode.firstChild,ne=vf("increment");ne.delta=y,z&&z.dispatchEvent(ne)}function ee(){var g=window.document.createDocumentFragment();if(e.calendarContainer=Be("div","flatpickr-calendar"),e.calendarContainer.tabIndex=-1,!e.config.noCalendar){if(g.appendChild(se()),e.innerContainer=Be("div","flatpickr-innerContainer"),e.config.weekNumbers){var y=k(),D=y.weekWrapper,N=y.weekNumbers;e.innerContainer.appendChild(D),e.weekNumbers=N,e.weekWrapper=D}e.rContainer=Be("div","flatpickr-rContainer"),e.rContainer.appendChild(T()),e.daysContainer||(e.daysContainer=Be("div","flatpickr-days"),e.daysContainer.tabIndex=-1),B(),e.rContainer.appendChild(e.daysContainer),e.innerContainer.appendChild(e.rContainer),g.appendChild(e.innerContainer)}e.config.enableTime&&g.appendChild(m()),on(e.calendarContainer,"rangeMode",e.config.mode==="range"),on(e.calendarContainer,"animate",e.config.animate===!0),on(e.calendarContainer,"multiMonth",e.config.showMonths>1),e.calendarContainer.appendChild(g);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=Be("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 V(g,y,D,N){var z=de(y,!0),ne=Be("span",g,y.getDate().toString());return ne.dateObj=y,ne.$i=N,ne.setAttribute("aria-label",e.formatDate(y,e.config.ariaDateFormat)),g.indexOf("hidden")===-1&&xn(y,e.now)===0&&(e.todayDateElem=ne,ne.classList.add("today"),ne.setAttribute("aria-current","date")),z?(ne.tabIndex=-1,kf(y)&&(ne.classList.add("selected"),e.selectedDateElem=ne,e.config.mode==="range"&&(on(ne,"startRange",e.selectedDates[0]&&xn(y,e.selectedDates[0],!0)===0),on(ne,"endRange",e.selectedDates[1]&&xn(y,e.selectedDates[1],!0)===0),g==="nextMonthDay"&&ne.classList.add("inRange")))):ne.classList.add("flatpickr-disabled"),e.config.mode==="range"&&Ux(y)&&!kf(y)&&ne.classList.add("inRange"),e.weekNumbers&&e.config.showMonths===1&&g!=="prevMonthDay"&&N%7===6&&e.weekNumbers.insertAdjacentHTML("beforeend","<span class='flatpickr-day'>"+e.config.getWeek(y)+"</span>"),ot("onDayCreate",ne),ne}function j(g){g.focus(),e.config.mode==="range"&&we(g)}function X(g){for(var y=g>0?0:e.config.showMonths-1,D=g>0?e.config.showMonths:-1,N=y;N!=D;N+=g)for(var z=e.daysContainer.children[N],ne=g>0?0:z.children.length-1,De=g>0?z.children.length:-1,ue=ne;ue!=De;ue+=g){var Ce=z.children[ue];if(Ce.className.indexOf("hidden")===-1&&de(Ce.dateObj))return Ce}}function _e(g,y){for(var D=g.className.indexOf("Month")===-1?g.dateObj.getMonth():e.currentMonth,N=y>0?e.config.showMonths:-1,z=y>0?1:-1,ne=D-e.currentMonth;ne!=N;ne+=z)for(var De=e.daysContainer.children[ne],ue=D-e.currentMonth===ne?g.$i+y:y<0?De.children.length-1:0,Ce=De.children.length,ae=ue;ae>=0&&ae<Ce&&ae!=(y>0?Ce:-1);ae+=z){var be=De.children[ae];if(be.className.indexOf("hidden")===-1&&de(be.dateObj)&&Math.abs(g.$i-ae)>=Math.abs(y))return j(be)}e.changeMonth(z),Pe(X(z),0)}function Pe(g,y){var D=s(),N=ye(D||document.body),z=g!==void 0?g:N?D:e.selectedDateElem!==void 0&&ye(e.selectedDateElem)?e.selectedDateElem:e.todayDateElem!==void 0&&ye(e.todayDateElem)?e.todayDateElem:X(y>0?1:-1);z===void 0?e._input.focus():N?_e(z,y):j(z)}function K(g,y){for(var D=(new Date(g,y,1).getDay()-e.l10n.firstDayOfWeek+7)%7,N=e.utils.getDaysInMonth((y-1+12)%12,g),z=e.utils.getDaysInMonth(y,g),ne=window.document.createDocumentFragment(),De=e.config.showMonths>1,ue=De?"prevMonthDay hidden":"prevMonthDay",Ce=De?"nextMonthDay hidden":"nextMonthDay",ae=N+1-D,be=0;ae<=N;ae++,be++)ne.appendChild(V("flatpickr-day "+ue,new Date(g,y-1,ae),ae,be));for(ae=1;ae<=z;ae++,be++)ne.appendChild(V("flatpickr-day",new Date(g,y,ae),ae,be));for(var Ze=z+1;Ze<=42-D&&(e.config.showMonths===1||be%7!==0);Ze++,be++)ne.appendChild(V("flatpickr-day "+Ce,new Date(g,y+1,Ze%z),Ze,be));var xr=Be("div","dayContainer");return xr.appendChild(ne),xr}function B(){if(e.daysContainer!==void 0){zl(e.daysContainer),e.weekNumbers&&zl(e.weekNumbers);for(var g=document.createDocumentFragment(),y=0;y<e.config.showMonths;y++){var D=new Date(e.currentYear,e.currentMonth,1);D.setMonth(e.currentMonth+y),g.appendChild(K(D.getFullYear(),D.getMonth()))}e.daysContainer.appendChild(g),e.days=e.daysContainer.firstChild,e.config.mode==="range"&&e.selectedDates.length===1&&we()}}function P(){if(!(e.config.showMonths>1||e.config.monthSelectorType!=="dropdown")){var g=function(N){return e.config.minDate!==void 0&&e.currentYear===e.config.minDate.getFullYear()&&N<e.config.minDate.getMonth()?!1:!(e.config.maxDate!==void 0&&e.currentYear===e.config.maxDate.getFullYear()&&N>e.config.maxDate.getMonth())};e.monthsDropdownContainer.tabIndex=-1,e.monthsDropdownContainer.innerHTML="";for(var y=0;y<12;y++)if(g(y)){var D=Be("option","flatpickr-monthDropdown-month");D.value=new Date(e.currentYear,y).getMonth().toString(),D.textContent=Kl(y,e.config.shorthandCurrentMonth,e.l10n),D.tabIndex=-1,e.currentMonth===y&&(D.selected=!0),e.monthsDropdownContainer.appendChild(D)}}}function te(){var g=Be("div","flatpickr-month"),y=window.document.createDocumentFragment(),D;e.config.showMonths>1||e.config.monthSelectorType==="static"?D=Be("span","cur-month"):(e.monthsDropdownContainer=Be("select","flatpickr-monthDropdown-months"),e.monthsDropdownContainer.setAttribute("aria-label",e.l10n.monthAriaLabel),b(e.monthsDropdownContainer,"change",function(De){var ue=En(De),Ce=parseInt(ue.value,10);e.changeMonth(Ce-e.currentMonth),ot("onMonthChange")}),P(),D=e.monthsDropdownContainer);var N=Vl("cur-year",{tabindex:"-1"}),z=N.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=Be("div","flatpickr-current-month");return ne.appendChild(D),ne.appendChild(N),y.appendChild(ne),g.appendChild(y),{container:g,yearElement:z,monthElement:D}}function H(){zl(e.monthNav),e.monthNav.appendChild(e.prevMonthNav),e.config.showMonths&&(e.yearElements=[],e.monthElements=[]);for(var g=e.config.showMonths;g--;){var y=te();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=Be("div","flatpickr-months"),e.yearElements=[],e.monthElements=[],e.prevMonthNav=Be("span","flatpickr-prev-month"),e.prevMonthNav.innerHTML=e.config.prevArrow,e.nextMonthNav=Be("span","flatpickr-next-month"),e.nextMonthNav.innerHTML=e.config.nextArrow,H(),Object.defineProperty(e,"_hidePrevMonthArrow",{get:function(){return e.__hidePrevMonthArrow},set:function(g){e.__hidePrevMonthArrow!==g&&(on(e.prevMonthNav,"flatpickr-disabled",g),e.__hidePrevMonthArrow=g)}}),Object.defineProperty(e,"_hideNextMonthArrow",{get:function(){return e.__hideNextMonthArrow},set:function(g){e.__hideNextMonthArrow!==g&&(on(e.nextMonthNav,"flatpickr-disabled",g),e.__hideNextMonthArrow=g)}}),e.currentYearElement=e.yearElements[0],tu(),e.monthNav}function m(){e.calendarContainer.classList.add("hasTime"),e.config.noCalendar&&e.calendarContainer.classList.add("noCalendar");var g=Zd(e.config);e.timeContainer=Be("div","flatpickr-time"),e.timeContainer.tabIndex=-1;var y=Be("span","flatpickr-time-separator",":"),D=Vl("flatpickr-hour",{"aria-label":e.l10n.hourAriaLabel});e.hourElement=D.getElementsByTagName("input")[0];var N=Vl("flatpickr-minute",{"aria-label":e.l10n.minuteAriaLabel});if(e.minuteElement=N.getElementsByTagName("input")[0],e.hourElement.tabIndex=e.minuteElement.tabIndex=-1,e.hourElement.value=an(e.latestSelectedDateObj?e.latestSelectedDateObj.getHours():e.config.time_24hr?g.hours:c(g.hours)),e.minuteElement.value=an(e.latestSelectedDateObj?e.latestSelectedDateObj.getMinutes():g.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(N),e.config.time_24hr&&e.timeContainer.classList.add("time24hr"),e.config.enableSeconds){e.timeContainer.classList.add("hasSeconds");var z=Vl("flatpickr-second");e.secondElement=z.getElementsByTagName("input")[0],e.secondElement.value=an(e.latestSelectedDateObj?e.latestSelectedDateObj.getSeconds():g.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(Be("span","flatpickr-time-separator",":")),e.timeContainer.appendChild(z)}return e.config.time_24hr||(e.amPM=Be("span","flatpickr-am-pm",e.l10n.amPM[Dn((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?zl(e.weekdayContainer):e.weekdayContainer=Be("div","flatpickr-weekdays");for(var g=e.config.showMonths;g--;){var y=Be("div","flatpickr-weekdaycontainer");e.weekdayContainer.appendChild(y)}return S(),e.weekdayContainer}function S(){if(e.weekdayContainer){var g=e.l10n.firstDayOfWeek,y=nx(e.l10n.weekdays.shorthand);g>0&&g<y.length&&(y=nx(y.splice(g,y.length),y.splice(0,g)));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 g=Be("div","flatpickr-weekwrapper");g.appendChild(Be("span","flatpickr-weekday",e.l10n.weekAbbreviation));var y=Be("div","flatpickr-weeks");return g.appendChild(y),{weekWrapper:g,weekNumbers:y}}function _(g,y){y===void 0&&(y=!0);var D=y?g:g-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,ot("onYearChange"),P()),B(),ot("onMonthChange"),tu())}function C(g,y){if(g===void 0&&(g=!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),N=D.hours,z=D.minutes,ne=D.seconds;p(N,z,ne)}e.redraw(),g&&ot("onChange")}function I(){e.isOpen=!1,e.isMobile||(e.calendarContainer!==void 0&&e.calendarContainer.classList.remove("open"),e._input!==void 0&&e._input.classList.remove("active")),ot("onClose")}function U(){e.config!==void 0&&ot("onDestroy");for(var g=e._handlers.length;g--;)e._handlers[g].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(N){}})}function L(g){return e.calendarContainer.contains(g)}function w(g){if(e.isOpen&&!e.config.inline){var y=En(g),D=L(y),N=y===e.input||y===e.altInput||e.element.contains(y)||g.path&&g.path.indexOf&&(~g.path.indexOf(e.input)||~g.path.indexOf(e.altInput)),z=!N&&!D&&!L(g.relatedTarget),ne=!e.config.ignoredFocusElements.some(function(De){return De.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 $(g){if(!(!g||e.config.minDate&&g<e.config.minDate.getFullYear()||e.config.maxDate&&g>e.config.maxDate.getFullYear())){var y=g,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(),ot("onYearChange"),P())}}function de(g,y){var D;y===void 0&&(y=!0);var N=e.parseDate(g,void 0,y);if(e.config.minDate&&N&&xn(N,e.config.minDate,y!==void 0?y:!e.minDateHasTime)<0||e.config.maxDate&&N&&xn(N,e.config.maxDate,y!==void 0?y:!e.maxDateHasTime)>0)return!1;if(!e.config.enable&&e.config.disable.length===0)return!0;if(N===void 0)return!1;for(var z=!!e.config.enable,ne=(D=e.config.enable)!==null&&D!==void 0?D:e.config.disable,De=0,ue=void 0;De<ne.length;De++){if(ue=ne[De],typeof ue=="function"&&ue(N))return z;if(ue instanceof Date&&N!==void 0&&ue.getTime()===N.getTime())return z;if(typeof ue=="string"){var Ce=e.parseDate(ue,void 0,!0);return Ce&&Ce.getTime()===N.getTime()?z:!z}else if(typeof ue=="object"&&N!==void 0&&ue.from&&ue.to&&N.getTime()>=ue.from.getTime()&&N.getTime()<=ue.to.getTime())return z}return!z}function ye(g){return e.daysContainer!==void 0?g.className.indexOf("hidden")===-1&&g.className.indexOf("flatpickr-disabled")===-1&&e.daysContainer.contains(g):!1}function fe(g){var y=g.target===e._input,D=e._input.value.trimEnd()!==Sf();y&&D&&!(g.relatedTarget&&L(g.relatedTarget))&&e.setDate(e._input.value,!0,g.target===e.altInput?e.config.altFormat:e.config.dateFormat)}function Te(g){var y=En(g),D=e.config.wrap?n.contains(y):y===e._input,N=e.config.allowInput,z=e.isOpen&&(!N||!D),ne=e.config.inline&&D&&!N;if(g.keyCode===13&&D){if(N)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 De=!!e.timeContainer&&e.timeContainer.contains(y);switch(g.keyCode){case 13:De?(g.preventDefault(),l(),Tf()):Db(g);break;case 27:g.preventDefault(),Tf();break;case 8:case 46:D&&!e.config.allowInput&&(g.preventDefault(),e.clear());break;case 37:case 39:if(!De&&!D){g.preventDefault();var ue=s();if(e.daysContainer!==void 0&&(N===!1||ue&&ye(ue))){var Ce=g.keyCode===39?1:-1;g.ctrlKey?(g.stopPropagation(),_(Ce),Pe(X(1),0)):Pe(void 0,Ce)}}else e.hourElement&&e.hourElement.focus();break;case 38:case 40:g.preventDefault();var ae=g.keyCode===40?1:-1;e.daysContainer&&y.$i!==void 0||y===e.input||y===e.altInput?g.ctrlKey?(g.stopPropagation(),$(e.currentYear-ae),Pe(X(1),0)):De||Pe(void 0,ae*7):y===e.currentYearElement?$(e.currentYear-ae):e.config.enableTime&&(!De&&e.hourElement&&e.hourElement.focus(),l(g),e._debouncedChange());break;case 9:if(De){var be=[e.hourElement,e.minuteElement,e.secondElement,e.amPM].concat(e.pluginElements).filter(function(On){return On}),Ze=be.indexOf(y);if(Ze!==-1){var xr=be[Ze+(g.shiftKey?-1:1)];g.preventDefault(),(xr||e._input).focus()}}else!e.config.noCalendar&&e.daysContainer&&e.daysContainer.contains(y)&&g.shiftKey&&(g.preventDefault(),e._input.focus());break;default:break}}if(e.amPM!==void 0&&y===e.amPM)switch(g.key){case e.l10n.amPM[0].charAt(0):case e.l10n.amPM[0].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[0],d(),Qr();break;case e.l10n.amPM[1].charAt(0):case e.l10n.amPM[1].charAt(0).toLowerCase():e.amPM.textContent=e.l10n.amPM[1],d(),Qr();break}(D||L(y))&&ot("onKeyDown",g)}function we(g,y){if(y===void 0&&(y="flatpickr-day"),!(e.selectedDates.length!==1||g&&(!g.classList.contains(y)||g.classList.contains("flatpickr-disabled")))){for(var D=g?g.dateObj.getTime():e.days.firstElementChild.dateObj.getTime(),N=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()),De=!1,ue=0,Ce=0,ae=z;ae<ne;ae+=tx.DAY)de(new Date(ae),!0)||(De=De||ae>z&&ae<ne,ae<N&&(!ue||ae>ue)?ue=ae:ae>N&&(!Ce||ae<Ce)&&(Ce=ae));var be=Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+"+e.config.showMonths+") > ."+y));be.forEach(function(Ze){var xr=Ze.dateObj,On=xr.getTime(),so=ue>0&&On<ue||Ce>0&&On>Ce;if(so){Ze.classList.add("notAllowed"),["inRange","startRange","endRange"].forEach(function(qs){Ze.classList.remove(qs)});return}else if(De&&!so)return;["startRange","inRange","endRange","notAllowed"].forEach(function(qs){Ze.classList.remove(qs)}),g!==void 0&&(g.classList.add(D<=e.selectedDates[0].getTime()?"startRange":"endRange"),N<D&&On===N?Ze.classList.add("startRange"):N>D&&On===N&&Ze.classList.add("endRange"),On>=ue&&(Ce===0||On<=Ce)&&J1(On,N,D)&&Ze.classList.add("inRange"))})}}function tt(){e.isOpen&&!e.config.static&&!e.config.inline&&Jl()}function nt(g,y){if(y===void 0&&(y=e._positionElement),e.isMobile===!0){if(g){g.preventDefault();var D=En(g);D&&D.blur()}e.mobileInput!==void 0&&(e.mobileInput.focus(),e.mobileInput.click()),ot("onOpen");return}else if(e._input.disabled||e.config.inline)return;var N=e.isOpen;e.isOpen=!0,N||(e.calendarContainer.classList.add("open"),e._input.classList.add("active"),ot("onOpen"),Jl(y)),e.config.enableTime===!0&&e.config.noCalendar===!0&&e.config.allowInput===!1&&(g===void 0||!e.timeContainer.contains(g.relatedTarget))&&setTimeout(function(){return e.hourElement.select()},50)}function F(g){return function(y){var D=e.config["_"+g+"Date"]=e.parseDate(y,e.config.dateFormat),N=e.config["_"+(g==="min"?"max":"min")+"Date"];D!==void 0&&(e[g==="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&&g==="min"&&f(D),Qr()),e.daysContainer&&(wb(),D!==void 0?e.currentYearElement[g]=D.getFullYear().toString():e.currentYearElement.removeAttribute(g),e.currentYearElement.disabled=!!N&&D!==void 0&&N.getFullYear()===D.getFullYear())}}function Ye(){var g=["wrap","weekNumbers","allowInput","allowInvalidPreload","clickOpens","time_24hr","enableTime","noCalendar","altInput","shorthandCurrentMonth","inline","static","enableSeconds","disableMobile"],y=ln(ln({},JSON.parse(JSON.stringify(n.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=xb(be)}}),Object.defineProperty(e.config,"disable",{get:function(){return e.config._disable},set:function(be){e.config._disable=xb(be)}});var N=y.mode==="time";if(!y.dateFormat&&(y.enableTime||N)){var z=vt.defaultConfig.dateFormat||Bi.dateFormat;D.dateFormat=y.noCalendar||N?"H:i"+(y.enableSeconds?":S":""):z+" H:i"+(y.enableSeconds?":S":"")}if(y.altInput&&(y.enableTime||N)&&!y.altFormat){var ne=vt.defaultConfig.altFormat||Bi.altFormat;D.altFormat=y.noCalendar||N?"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 De=function(be){return function(Ze){e.config[be==="min"?"_minTime":"_maxTime"]=e.parseDate(Ze,"H:i:S")}};Object.defineProperty(e.config,"minTime",{get:function(){return e.config._minTime},set:De("min")}),Object.defineProperty(e.config,"maxTime",{get:function(){return e.config._maxTime},set:De("max")}),y.mode==="time"&&(e.config.noCalendar=!0,e.config.enableTime=!0),Object.assign(e.config,D,y);for(var ue=0;ue<g.length;ue++)e.config[g[ue]]=e.config[g[ue]]===!0||e.config[g[ue]]==="true";Bd.filter(function(be){return e.config[be]!==void 0}).forEach(function(be){e.config[be]=Vd(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 Ce=e.config.plugins[ue](e)||{};for(var ae in Ce)Bd.indexOf(ae)>-1?e.config[ae]=Vd(Ce[ae]).map(a).concat(e.config[ae]):typeof y[ae]=="undefined"&&(e.config[ae]=Ce[ae])}y.altInputClass||(e.config.altInputClass=jt().className+" "+e.config.altInputClass),ot("onParseConfig")}function jt(){return e.config.wrap?n.querySelector("[data-input]"):n}function Pt(){typeof e.config.locale!="object"&&typeof vt.l10ns[e.config.locale]=="undefined"&&e.config.errorHandler(new Error("flatpickr: invalid locale "+e.config.locale)),e.l10n=ln(ln({},vt.l10ns.default),typeof e.config.locale=="object"?e.config.locale:e.config.locale!=="default"?vt.l10ns[e.config.locale]:void 0),Si.D="("+e.l10n.weekdays.shorthand.join("|")+")",Si.l="("+e.l10n.weekdays.longhand.join("|")+")",Si.M="("+e.l10n.months.shorthand.join("|")+")",Si.F="("+e.l10n.months.longhand.join("|")+")",Si.K="("+e.l10n.amPM[0]+"|"+e.l10n.amPM[1]+"|"+e.l10n.amPM[0].toLowerCase()+"|"+e.l10n.amPM[1].toLowerCase()+")";var g=ln(ln({},t),JSON.parse(JSON.stringify(n.dataset||{})));g.time_24hr===void 0&&vt.defaultConfig.time_24hr===void 0&&(e.config.time_24hr=e.l10n.time_24hr),e.formatDate=Tb(e),e.parseDate=Kd({config:e.config,l10n:e.l10n})}function Jl(g){if(typeof e.config.position=="function")return void e.config.position(e,g);if(e.calendarContainer!==void 0){ot("onPreCalendarPosition");var y=g||e._positionElement,D=Array.prototype.reduce.call(e.calendarContainer.children,(function(Kx,Qx){return Kx+Qx.offsetHeight}),0),N=e.calendarContainer.offsetWidth,z=e.config.position.split(" "),ne=z[0],De=z.length>1?z[1]:null,ue=y.getBoundingClientRect(),Ce=window.innerHeight-ue.bottom,ae=ne==="above"||ne!=="below"&&Ce<D&&ue.top>D,be=window.pageYOffset+ue.top+(ae?-D-2:y.offsetHeight+2);if(on(e.calendarContainer,"arrowTop",!ae),on(e.calendarContainer,"arrowBottom",ae),!e.config.inline){var Ze=window.pageXOffset+ue.left,xr=!1,On=!1;De==="center"?(Ze-=(N-ue.width)/2,xr=!0):De==="right"&&(Ze-=N-ue.width,On=!0),on(e.calendarContainer,"arrowLeft",!xr&&!On),on(e.calendarContainer,"arrowCenter",xr),on(e.calendarContainer,"arrowRight",On);var so=window.document.body.offsetWidth-(window.pageXOffset+ue.right),qs=Ze+N>window.document.body.offsetWidth,jx=so+N>window.document.body.offsetWidth;if(on(e.calendarContainer,"rightMost",qs),!e.config.static)if(e.calendarContainer.style.top=be+"px",!qs)e.calendarContainer.style.left=Ze+"px",e.calendarContainer.style.right="auto";else if(!jx)e.calendarContainer.style.left="auto",e.calendarContainer.style.right=so+"px";else{var _f=Mx();if(_f===void 0)return;var $x=window.document.body.offsetWidth,Hx=Math.max(0,$x/2-N/2),Bx=".flatpickr-calendar.centerMost:before",Gx=".flatpickr-calendar.centerMost:after",zx=_f.cssRules.length,Vx="{left:"+ue.left+"px;right:auto;}";on(e.calendarContainer,"rightMost",!1),on(e.calendarContainer,"centerMost",!0),_f.insertRule(Bx+","+Gx+Vx,zx),e.calendarContainer.style.left=Hx+"px",e.calendarContainer.style.right="auto"}}}}function Mx(){for(var g=null,y=0;y<document.styleSheets.length;y++){var D=document.styleSheets[y];if(D.cssRules){try{D.cssRules}catch(N){continue}g=D;break}}return g!=null?g:Ax()}function Ax(){var g=document.createElement("style");return document.head.appendChild(g),g.sheet}function wb(){e.config.noCalendar||e.isMobile||(P(),tu(),B())}function Tf(){e._input.focus(),window.navigator.userAgent.indexOf("MSIE")!==-1||navigator.msMaxTouchPoints!==void 0?setTimeout(e.close,0):e.close()}function Db(g){g.preventDefault(),g.stopPropagation();var y=function(be){return be.classList&&be.classList.contains("flatpickr-day")&&!be.classList.contains("flatpickr-disabled")&&!be.classList.contains("notAllowed")},D=yb(En(g),y);if(D!==void 0){var N=D,z=e.latestSelectedDateObj=new Date(N.dateObj.getTime()),ne=(z.getMonth()<e.currentMonth||z.getMonth()>e.currentMonth+e.config.showMonths-1)&&e.config.mode!=="range";if(e.selectedDateElem=N,e.config.mode==="single")e.selectedDates=[z];else if(e.config.mode==="multiple"){var De=kf(z);De?e.selectedDates.splice(parseInt(De),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),xn(z,e.selectedDates[0],!0)!==0&&e.selectedDates.sort(function(be,Ze){return be.getTime()-Ze.getTime()}));if(d(),ne){var ue=e.currentYear!==z.getFullYear();e.currentYear=z.getFullYear(),e.currentMonth=z.getMonth(),ue&&(ot("onYearChange"),P()),ot("onMonthChange")}if(tu(),B(),Qr(),!ne&&e.config.mode!=="range"&&e.config.showMonths===1?j(N):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 Ce=e.config.mode==="single"&&!e.config.enableTime,ae=e.config.mode==="range"&&e.selectedDates.length===2&&!e.config.enableTime;(Ce||ae)&&Tf()}v()}}var eu={locale:[Pt,S],showMonths:[H,o,T],minDate:[O],maxDate:[O],positionElement:[Ob],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 Px(g,y){if(g!==null&&typeof g=="object"){Object.assign(e.config,g);for(var D in g)eu[D]!==void 0&&eu[D].forEach(function(N){return N()})}else e.config[g]=y,eu[g]!==void 0?eu[g].forEach(function(N){return N()}):Bd.indexOf(g)>-1&&(e.config[g]=Vd(y));e.redraw(),Qr(!0)}function Eb(g,y){var D=[];if(g instanceof Array)D=g.map(function(N){return e.parseDate(N,y)});else if(g instanceof Date||typeof g=="number")D=[e.parseDate(g,y)];else if(typeof g=="string")switch(e.config.mode){case"single":case"time":D=[e.parseDate(g,y)];break;case"multiple":D=g.split(e.config.conjunction).map(function(N){return e.parseDate(N,y)});break;case"range":D=g.split(e.l10n.rangeSeparator).map(function(N){return e.parseDate(N,y)});break;default:break}else e.config.errorHandler(new Error("Invalid date supplied: "+JSON.stringify(g)));e.selectedDates=e.config.allowInvalidPreload?D:D.filter(function(N){return N instanceof Date&&de(N,!1)}),e.config.mode==="range"&&e.selectedDates.sort(function(N,z){return N.getTime()-z.getTime()})}function Ix(g,y,D){if(y===void 0&&(y=!1),D===void 0&&(D=e.config.dateFormat),g!==0&&!g||g instanceof Array&&g.length===0)return e.clear(y);Eb(g,D),e.latestSelectedDateObj=e.selectedDates[e.selectedDates.length-1],e.redraw(),O(void 0,y),f(),e.selectedDates.length===0&&e.clear(!1),Qr(y),y&&ot("onChange")}function xb(g){return g.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 Nx(){e.selectedDates=[],e.now=e.parseDate(e.config.now)||new Date;var g=e.config.defaultDate||((e.input.nodeName==="INPUT"||e.input.nodeName==="TEXTAREA")&&e.input.placeholder&&e.input.value===e.input.placeholder?null:e.input.value);g&&Eb(g,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 Fx(){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=Be(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"),Ob()}function Ob(){e._positionElement=e.config.positionElement||e._input}function Lx(){var g=e.config.enableTime?e.config.noCalendar?"time":"datetime-local":"date";e.mobileInput=Be("input",e.input.className+" flatpickr-mobile"),e.mobileInput.tabIndex=1,e.mobileInput.type=g,e.mobileInput.disabled=e.input.disabled,e.mobileInput.required=e.input.required,e.mobileInput.placeholder=e.input.placeholder,e.mobileFormatStr=g==="datetime-local"?"Y-m-d\\TH:i:S":g==="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(En(y).value,!1,e.mobileFormatStr),ot("onChange"),ot("onClose")})}function Yx(g){if(e.isOpen===!0)return e.close();e.open(g)}function ot(g,y){if(e.config!==void 0){var D=e.config[g];if(D!==void 0&&D.length>0)for(var N=0;D[N]&&N<D.length;N++)D[N](e.selectedDates,e.input.value,e,y);g==="onChange"&&(e.input.dispatchEvent(vf("change")),e.input.dispatchEvent(vf("input")))}}function vf(g){var y=document.createEvent("Event");return y.initEvent(g,!0,!0),y}function kf(g){for(var y=0;y<e.selectedDates.length;y++){var D=e.selectedDates[y];if(D instanceof Date&&xn(D,g)===0)return""+y}return!1}function Ux(g){return e.config.mode!=="range"||e.selectedDates.length<2?!1:xn(g,e.selectedDates[0])>=0&&xn(g,e.selectedDates[1])<=0}function tu(){e.config.noCalendar||e.isMobile||!e.monthNav||(e.yearElements.forEach(function(g,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=Kl(D.getMonth(),e.config.shorthandCurrentMonth,e.l10n)+" ":e.monthsDropdownContainer.value=D.getMonth().toString(),g.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 Sf(g){var y=g||(e.config.altInput?e.config.altFormat:e.config.dateFormat);return e.selectedDates.map(function(D){return e.formatDate(D,y)}).filter(function(D,N,z){return e.config.mode!=="range"||e.config.enableTime||z.indexOf(D)===N}).join(e.config.mode!=="range"?e.config.conjunction:e.l10n.rangeSeparator)}function Qr(g){g===void 0&&(g=!0),e.mobileInput!==void 0&&e.mobileFormatStr&&(e.mobileInput.value=e.latestSelectedDateObj!==void 0?e.formatDate(e.latestSelectedDateObj,e.mobileFormatStr):""),e.input.value=Sf(e.config.dateFormat),e.altInput!==void 0&&(e.altInput.value=Sf(e.config.altFormat)),g!==!1&&ot("onValueUpdate")}function qx(g){var y=En(g),D=e.prevMonthNav.contains(y),N=e.nextMonthNav.contains(y);D||N?_(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 Wx(g){g.preventDefault();var y=g.type==="keydown",D=En(g),N=D;e.amPM!==void 0&&D===e.amPM&&(e.amPM.textContent=e.l10n.amPM[Dn(e.amPM.textContent===e.l10n.amPM[0])]);var z=parseFloat(N.getAttribute("min")),ne=parseFloat(N.getAttribute("max")),De=parseFloat(N.getAttribute("step")),ue=parseInt(N.value,10),Ce=g.delta||(y?g.which===38?1:-1:0),ae=ue+De*Ce;if(typeof N.value!="undefined"&&N.value.length===2){var be=N===e.hourElement,Ze=N===e.minuteElement;ae<z?(ae=ne+ae+Dn(!be)+(Dn(be)&&Dn(!e.amPM)),Ze&&q(void 0,-1,e.hourElement)):ae>ne&&(ae=N===e.hourElement?ae-ne-Dn(!e.amPM):z,Ze&&q(void 0,1,e.hourElement)),e.amPM&&be&&(De===1?ae+ue===23:Math.abs(ae-ue)>De)&&(e.amPM.textContent=e.l10n.amPM[Dn(e.amPM.textContent===e.l10n.amPM[0])]),N.value=an(ae)}}return i(),e}function Ja(n,t){for(var e=Array.prototype.slice.call(n).filter(function(a){return a instanceof HTMLElement}),r=[],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=SW(s,t||{}),r.push(s._flatpickr)}catch(a){console.error(a)}}return r.length===1?r[0]:r}typeof HTMLElement!="undefined"&&typeof HTMLCollection!="undefined"&&typeof NodeList!="undefined"&&(HTMLCollection.prototype.flatpickr=NodeList.prototype.flatpickr=function(n){return Ja(this,n)},HTMLElement.prototype.flatpickr=function(n){return Ja([this],n)});var vt=function(n,t){return typeof n=="string"?Ja(window.document.querySelectorAll(n),t):n instanceof Node?Ja([n],t):Ja(n,t)};vt.defaultConfig={};vt.l10ns={en:ln({},zd),default:ln({},zd)};vt.localize=function(n){vt.l10ns.default=ln(ln({},vt.l10ns.default),n)};vt.setDefaults=function(n){vt.defaultConfig=ln(ln({},vt.defaultConfig),n)};vt.parseDate=Kd({});vt.formatDate=Tb({});vt.compareDates=xn;typeof jQuery!="undefined"&&typeof jQuery.fn!="undefined"&&(jQuery.fn.flatpickr=function(n){return Ja(this,n)});Date.prototype.fp_incr=function(n){return new Date(this.getFullYear(),this.getMonth(),this.getDate()+(typeof n=="string"?parseInt(n,10):n))};typeof window!="undefined"&&(window.flatpickr=vt);var rx=vt;function sx(n,t,e,r){var a,o;let i=t[e];rx(n,{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(null,null,function*(){if(l.length>0){let d=l[0],f=new $i(e,d).apply(t);yield r(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",ix(d,c,t,r,"Clear",()=>new Bl(e,t).apply(t)),ix(d,c,t,r,"Today",()=>{let p=new Date;return new $i(e,p).apply(t)}),c.calendarContainer.appendChild(d)}}).open()}function ix(n,t,e,r,i,s){let a=document.createElement("button");a.type="button",a.textContent=i,a.classList.add("flatpickr-button"),a.addEventListener("click",()=>A(null,null,function*(){let o=s();yield r(e,o),t.destroy()})),n.appendChild(a)}var Xd=class extends Hi{constructor(t,e,r=zr){super(r);let i=qd(t);this.addItemsForInstructions(i,e)}};_l();var Jd=class{constructor(){this.data=_W}addDataAttribute(t,e,r){this.data[r].addDataAttribute(t,e,r)}addClassName(t,e){let r=this.data[e].className;t.classList.add(r)}},no=class no{constructor(t,e,r){if(t==="")throw new Error("Developer note: CSS class cannot be an empty string, please specify one.");this.className=t,this.attributeName=e,this.attributeValueCalculator=r}addDataAttribute(t,e,r){if(this.attributeName===no.noAttributeName)return;let i=this.attributeValueCalculator(r,e);i!==""&&(t.dataset[this.attributeName]=i)}};no.noAttributeName="",no.noAttributeValueCalculator=()=>"",no.dateAttributeCalculator=(t,e)=>{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+="far",c}let a=e[t];if(!Array.isArray(a)&&a instanceof window.moment){let o=s(a);if(o)return o}return""};var Gi=no;function eo(n){return new Gi(n,Gi.noAttributeName,Gi.noAttributeValueCalculator)}function to(n,t){return new Gi(n,t,Gi.dateAttributeCalculator)}var _W={createdDate:to("task-created","taskCreated"),dueDate:to("task-due","taskDue"),startDate:to("task-start","taskStart"),scheduledDate:to("task-scheduled","taskScheduled"),doneDate:to("task-done","taskDone"),cancelledDate:to("task-cancelled","taskCancelled"),priority:new Gi("task-priority","taskPriority",(n,t)=>hr.priorityNameUsingNormal(t.priority).toLocaleLowerCase()),description:eo("task-description"),recurrenceRule:eo("task-recurring"),onCompletion:eo("task-onCompletion"),dependsOn:eo("task-dependsOn"),id:eo("task-id"),blockLink:eo("task-block-link")};function Ve(n,t){let e=document.createElement(n);return t.appendChild(e),e}var zi=class n{static obsidianMarkdownRenderer(t,e,r,i,s){return A(this,null,function*(){s&&(yield ax.MarkdownRenderer.render(t,e,r,i,s))})}constructor({textRenderer:t=n.obsidianMarkdownRenderer,obsidianApp:e,obsidianComponent:r,taskLayoutOptions:i,queryLayoutOptions:s}){this.textRenderer=t,this.obsidianApp=e,this.obsidianComponent=r,this.taskLayoutOptions=i,this.queryLayoutOptions=s}renderTaskLine(a){return A(this,arguments,function*({li:t,task:e,taskIndex:r,isTaskInQueryFile:i,isFilenameUnique:s}){t.classList.add("task-list-item","plugin-tasks-list-item");let o=Ve("span",t);o.classList.add("tasks-list-text"),yield this.taskToHtml(e,o,t,i);let l=Ve("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();Un({originalTask:e,newTasks:d})}),l.addEventListener("contextmenu",c=>{Gl(c,new Xd(Xe.getInstance(),e))}),l.setAttribute("title","Right-click for options")),t.prepend(l),t.setAttribute("data-task",e.status.symbol.trim()),t.setAttribute("data-line",r.toString()),t.setAttribute("data-task-status-name",e.status.name),t.setAttribute("data-task-status-type",e.status.type),l.setAttribute("data-line",r.toString()),this.queryLayoutOptions.shortMode&&this.addTooltip(e,o,s)})}taskToHtml(t,e,r,i){return A(this,null,function*(){let s=new Jd,a=Nn.tasksPluginEmoji.taskSerializer;for(let o of this.taskLayoutOptions.shownComponents){let l=a.componentToString(t,this.queryLayoutOptions.shortMode,o);if(l){let u=Ve("span",e),c=Ve("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(r,t,o),ke.allDateFields().includes(o)){let d=o;u.addEventListener("click",f=>{f.preventDefault(),f.stopPropagation(),sx(u,t,d,zr)}),u.addEventListener("contextmenu",f=>{Gl(f,new Hd(d,t,zr))}),u.setAttribute("title",`Click to edit ${$d(d)}, Right-click for more options`)}}}for(let o of this.taskLayoutOptions.hiddenComponents)s.addDataAttribute(r,t,o);r.dataset.taskPriority===void 0&&s.addDataAttribute(r,t,"priority")})}renderComponentText(t,e,r,i,s){return A(this,null,function*(){if(r==="description")return yield this.renderDescription(i,t,s);t.textContent=e})}renderDescription(t,e,r){return A(this,null,function*(){let i=this.adjustRelativeLinksInDescription(t,r);i=Ae.getInstance().removeAsWordFromDependingOnSettings(i);let{debugSettings:s}=J();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 r=t.file.cachedMetadata.links;if(!r)return t.description;let i=r.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 r(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=r(a),l=i[s];o&&(l.dataset.tagName=o)}}}}addTooltip(t,e,r){let{recurrenceSymbol:i,startDateSymbol:s,createdDateSymbol:a,scheduledDateSymbol:o,dueDateSymbol:l,cancelledDateSymbol:u,doneDateSymbol:c}=Nn.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(We.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 h=t.getLinkText({isFilenameUnique:r});h&&p.createDiv().setText(`\u{1F517} ${h}`),e.addEventListener("mouseleave",()=>{p.remove()})})}renderListItem(t,e,r){return A(this,null,function*(){var a,o;if(e.statusCharacter){let l=Ve("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();Un({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",r.toString())}let i=Ve("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 ef=class{constructor({plugin:t,app:e}){this.markdownPostProcessor=this._markdownPostProcessor.bind(this);this.app=e,t.registerMarkdownPostProcessor((r,i)=>{t.app.workspace.onLayoutReady(()=>{this.markdownPostProcessor(r,i)})})}_markdownPostProcessor(t,e){return A(this,null,function*(){var p;let r=new ox.MarkdownRenderChild(t);e.addChild(r);let i=t.findAll(".task-list-item").filter(h=>{var E;let b=(E=h.textContent)==null?void 0:E.split(`
`);if(b===void 0)return!1;let v=null;for(let O=0;O<b.length;O=O+1)if(b[O]!==""){v=b[O];break}return v===null?!1:Ae.getInstance().includedIn(v)});if(i.length===0)return;let s=e.sourcePath,a=this.app.vault.getFileByPath(s)||void 0,o=new ft(s,{},a),l=e.getSectionInfo(t);if(l===null)return;let u=l.text.split(`
`),c=0,d=[];for(let h=l.lineStart;h<=l.lineEnd;h++){let b=u[h];if(b===void 0)continue;let v=null,E=ke.fromLine({line:b,taskLocation:new Kt(o,h,l.lineStart,c,v),fallbackDate:null});E!==null&&(d.push(E),c++)}let f=new zi({obsidianApp:this.app,obsidianComponent:r,taskLayoutOptions:new Lr,queryLayoutOptions:new Ui});for(let h=0;h<i.length;h++){let b=d[h],v=i[h];if(b===void 0||v===void 0)continue;let E=(p=v.getAttr("data-line"))!=null?p:"0",O=Number.parseInt(E,10),x=Ve("li",t);yield f.renderTaskLine({li:x,task:b,taskIndex:O,isTaskInQueryFile:!0});let q=v.childNodes;for(let j=0;j<q.length;j=j+1){let X=q[j],_e=X.nodeName.toLowerCase();_e==="div"?x.prepend(X):(_e==="ul"||_e==="ol")&&x.append(X)}let ee=v.querySelectorAll("[data-footnote-id]"),V=x.querySelectorAll("[data-footnote-id]");if(ee.length===V.length)for(let j=0;j<ee.length;j++)V[j].replaceWith(ee[j]);v.replaceWith(x)}})}};var lx=require("@codemirror/view"),ux=require("obsidian");At();var cx=()=>lx.ViewPlugin.fromClass(vb),vb=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 r=e.closest("ul.plugin-tasks-query-result, div.callout-content");if(r){if(r.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 ux.Notice(p,45e3)}return!1}let{state:i}=this.view,s=this.view.posAtDOM(e),a=i.doc.lineAt(s),o=ke.fromLine({line:a.text,taskLocation:Kt.fromUnknownPosition(new ft("")),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 Vi=require("obsidian"),px=require("obsidian");function dx(n,t,e,r=void 0){let i="";t.isEmpty()||(i+=`Only tasks containing the global filter '${t.get()}'.

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

${s.explainQuery(d)}`}let o=new wr(n,r),l=new ki().query(r);if(!(o.ignoreGlobalQuery||l.ignoreGlobalQuery)&&e.hasInstructions()){let c=e.query(r);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 tf(n,t,e){let i=new ki().query(e).append(new wr(n,e));return i.ignoreGlobalQuery?i:t.query(e).append(i)}Ni();var Vr=require("obsidian");gt();function Ql(n,t,e){t&&n.push(wW(e))}function wW(n){return`tasks-layout-hide-${n}`}var nf=class{constructor(t){t?this.queryLayoutOptions=t:this.queryLayoutOptions=new Ui}getHiddenClasses(){let t=[],e=[[this.queryLayoutOptions.hideUrgency,"urgency"],[this.queryLayoutOptions.hideBacklinks,"backlinks"],[this.queryLayoutOptions.hideEditButton,"edit-button"],[this.queryLayoutOptions.hidePostponeButton,"postpone-button"]];for(let[r,i]of e)Ql(t,r,i);return this.queryLayoutOptions.shortMode&&t.push("tasks-layout-short-mode"),t}};ps();var rf=class{constructor(t){t?this.taskLayoutOptions=t:this.taskLayoutOptions=new Lr}generateHiddenClasses(){let t=[];return this.taskLayoutOptions.toggleableComponents.forEach(e=>{Ql(t,!this.taskLayoutOptions.isShown(e),e)}),Ql(t,!this.taskLayoutOptions.areTagsShown(),"tags"),t}};var kb=require("obsidian");var Zl=class n extends Hi{constructor(t,e,r=zr){super(r);let i=(u,c,d,f,p,h)=>{var O;let b=!1,v=Ka(e);if(v){let{postponedDate:x}=h(e,v,d,f);(O=e[v])!=null&&O.isSame(x,"day")&&(b=!0)}let E=p(e,f,d);c.setChecked(b).setTitle(E).onClick(()=>n.postponeOnClickCallback(u,e,f,d,h,r))},s=B1,a=U1;this.addItem(u=>i(t,u,"days",0,s,a)),this.addItem(u=>i(t,u,"day",1,s,a)),this.addSeparator();let o=mb,l=pb;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,G1,q1))}static postponeOnClickCallback(o,l,u,c){return A(this,arguments,function*(t,e,r,i,s=pb,a=zr){var h;let d=Ka(e);if(d===null){let b="\u26A0\uFE0F Postponement requires a date: due, scheduled or start.";return new kb.Notice(b,1e4)}let{postponedDate:f,postponedTask:p}=s(e,d,i,r);(h=e[d])!=null&&h.isSame(f,"day")||(yield a(e,p),n.postponeSuccessCallback(t,d,f))})}static postponeSuccessCallback(t,e,r){t.style.pointerEvents="none";let i=$1(r,e);new kb.Notice(i,2e3)}};dn();At();var ro=class{constructor(t,e,r){this.addedListItems=new Set;this.source=t,this.tasksFile=e,this.query=r}get filePath(){return this.tasksFile.path}renderQuery(t,e){return A(this,null,function*(){this.beginRender();let i=this.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.query.queryLayoutOptions.explainQuery){let t=dx(this.source,Ae.getInstance(),or.getInstance(),this.tasksFile);this.renderExplanation(t)}}renderSearchResults(t){return A(this,null,function*(){this.renderSearchResultsHeader(t),yield this.addAllTaskGroups(t.taskGroups);let e=t.totalTasksCount;this.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.query.queryLayoutOptions.hideTree?yield this.addFlatTaskList(t):yield this.addTreeTaskList(t)}finally{this.endTaskList()}})}addFlatTaskList(t){return A(this,null,function*(){for(let[e,r]of t.entries())r instanceof ke&&(this.beginListItem(),yield this.addTask(r,e))})}addTreeTaskList(t){return A(this,null,function*(){for(let[e,r]of t.entries())this.alreadyAdded(r)||this.willBeAddedLater(r,t)||(this.beginListItem(),r instanceof ke?yield this.addTask(r,e):yield this.addListItem(r,e),yield this.addChildren(r.children),this.addedListItems.add(r))})}willBeAddedLater(t,e){let r=t.findClosestParentTask();return r?!!(!this.addedListItems.has(r)&&e.includes(r)):!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 sf=class extends ro{constructor(e,r,i,s,a,o,l,u){super(o,l,u);this.content=document.createElement("div");this.ulElementStack=[];this.lastLIElement=document.createElement("li");this.renderMarkdown=e,this.obsidianComponent=r,this.obsidianApp=i,this.htmlQueryRendererParameters=a,this.taskLineRenderer=new zi({textRenderer:s,obsidianApp:i,obsidianComponent:r,taskLayoutOptions:u.taskLayoutOptions,queryLayoutOptions:u.queryLayoutOptions})}beginRender(){}renderSearchResultsHeader(e){J().searchResults.taskCountLocation==="top"&&this.addTaskCount(e)}renderSearchResultsFooter(e){J().searchResults.taskCountLocation!=="top"&&this.addTaskCount(e)}renderErrorMessage(e){let r=Ve("div",this.content),i=Ve("pre",r);i.textContent=`Tasks query: ${e}`}renderLoadingMessage(){this.content.textContent="Loading Tasks ..."}renderExplanation(e){let r=Ve("pre",this.content);r.classList.add("plugin-tasks-query-explanation"),r.textContent=e}beginTaskList(){let r=this.ulElementStack.length===0?this.content:this.lastLIElement,i=Ve("ul",r);i.classList.add("contains-task-list","plugin-tasks-query-result",...new rf(this.query.taskLayoutOptions).generateHiddenClasses(),...new nf(this.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=Ve("li",e)}addListItem(e,r){return A(this,null,function*(){yield this.taskLineRenderer.renderListItem(this.lastLIElement,e,r)})}addTask(e,r){return A(this,null,function*(){let i=this.isFilenameUnique({task:e},this.htmlQueryRendererParameters.allMarkdownFiles()),s=this.lastLIElement;yield this.taskLineRenderer.renderTaskLine({li:s,task:e,taskIndex:r,isTaskInQueryFile:this.filePath===e.path,isFilenameUnique:i}),s.querySelectorAll("[data-footnote-id]").forEach(u=>u.remove());let o=Ve("span",s);o.classList.add("task-extras"),this.query.queryLayoutOptions.hideUrgency||this.addUrgency(o,e);let l=this.query.queryLayoutOptions.shortMode;this.query.queryLayoutOptions.hideBacklinks||this.addBacklinks(o,e,l,i),this.query.queryLayoutOptions.hideEditButton||this.addEditButton(o,e),!this.query.queryLayoutOptions.hidePostponeButton&&Y1(e)&&this.addPostponeButton(o,e,l),this.currentULElement().appendChild(s)})}addEditButton(e,r){let i=Ve("a",e);i.classList.add("tasks-edit"),i.title="Edit task",i.href="#",i.addEventListener("click",s=>this.htmlQueryRendererParameters.editTaskPencilClickHandler(s,r,this.htmlQueryRendererParameters.allTasks()))}addUrgency(e,r){let i=new Intl.NumberFormat().format(r.urgency),s=Ve("span",e);s.textContent=i,s.classList.add("tasks-urgency")}addGroupHeading(e){return A(this,null,function*(){let r="h6";e.nestingLevel===0?r="h4":e.nestingLevel===1&&(r="h5");let i=Ve(r,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.tasksFile.path,this.obsidianComponent)})}addBacklinks(e,r,i,s){var u;let a=Ve("span",e);a.classList.add("tasks-backlink"),i||a.append(" (");let o=Ve("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=r.getLinkText({isFilenameUnique:s}))!=null?u:"",o.text=l,o.addEventListener("click",c=>A(this,null,function*(){yield this.htmlQueryRendererParameters.backlinksClickHandler(c,r)})),o.addEventListener("mousedown",c=>A(this,null,function*(){yield this.htmlQueryRendererParameters.backlinksMousedownHandler(c,r)})),i||a.append(")")}addPostponeButton(e,r,i){let o=H1(r,1,"day"),l=Ve("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(),Zl.postponeOnClickCallback(l,r,1,"day")}),l.addEventListener("contextmenu",u=>A(null,null,function*(){Gl(u,new Zl(l,r))}))}addTaskCount(e){if(!this.query.queryLayoutOptions.hideTaskCount){let r=Ve("div",this.content);r.classList.add("task-count"),r.textContent=e.totalTasksCountDisplayText()}}isFilenameUnique({task:e},r){let i=e.path.match(/([^/]*)\..+$/i);if(i===null)return;let s=i[1];return r.filter(o=>{if(o.basename===s)return!0}).length<2}getGroupingAttribute(){let e=[];for(let r of this.query.grouping)e.push(r.property);return e.join(",")}currentULElement(){return this.ulElementStack[this.ulElementStack.length-1]}};var af=class extends ro{constructor(e,r,i){super(e,r,i);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){this.markdownLines.push(e)}beginTaskList(){this.taskIndentationLevel+=1}endTaskList(){this.taskIndentationLevel-=1,this.taskIndentationLevel===0&&this.addEmptyLine()}addEmptyLine(){this.markdownLines.push("")}beginListItem(){}addTask(e,r){return this.markdownLines.push(this.formatTask(e)),Promise.resolve()}formatTask(e){return`${this.listItemIndentation()}- [${e.status.symbol}] ${e.toString()}`}addListItem(e,r){return this.markdownLines.push(this.formatListItem(e)),Promise.resolve()}formatListItem(e){let r=e.statusCharacter?`[${e.statusCharacter}] `:"";return`${this.listItemIndentation()}- ${r}${e.description}`}listItemIndentation(){let e=Math.max(0,this.taskIndentationLevel-1);return"    ".repeat(e)}addGroupHeading(e){let r="#".repeat(Math.min(4+e.nestingLevel,6));return this.markdownLines.push(`${r} ${e.displayName}`),this.addEmptyLine(),Promise.resolve()}};var of=class{constructor(t,e,r,i,s,a,o,l){this._filterString="";this.source=e,this._tasksFile=r,this.queryResult=new wr("").applyQueryToTasks([]),this.filteredQueryResult=this.queryResult,t==="block-language-tasks"?(this.query=this.makeQueryFromSourceAndTasksFile(),this.queryType="tasks"):(this.query=this.makeQueryFromSourceAndTasksFile(),this.queryType="tasks"),this.renderMarkdown=i,this.obsidianComponent=s,this.obsidianApp=a,this.textRenderer=o,this.htmlQueryRendererParameters=l}get filterString(){return this._filterString}makeQueryFromSourceAndTasksFile(){return tf(this.source,or.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,r){return A(this,null,function*(){this.performSearch(e),this.addToolbar(r),yield this.renderQueryResult(t,this.filteredQueryResult,r)})}performSearch(t){let e=new ks(`Search: ${this.query.queryId} - ${this.filePath}`);e.start(),this.queryResult=this.query.applyQueryToTasks(t),this.filterResults(),e.finish()}renderQueryResult(t,e,r){return A(this,null,function*(){let i=new ks(`Render: ${this.query.queryId} - ${this.filePath}`);i.start();let s=new sf(this.renderMarkdown,this.obsidianComponent,this.obsidianApp,this.textRenderer,this.htmlQueryRendererParameters,this.source,this.tasksFile,this.query);s.content=r,yield s.renderQuery(t,e),i.finish()})}addToolbar(t){if(this.query.queryLayoutOptions.hideToolbar)return;let e=Ve("div",t);e.classList.add("plugin-tasks-toolbar"),this.addSearchBox(e,t),this.addCopyButton(e)}addSearchBox(t,e){let r=Ve("label",t);(0,Vr.setIcon)(r,"lucide-filter");let i=Ve("input",r);i.value=this._filterString,i.placeholder="Filter by description...",(0,Vr.setTooltip)(i,"Filter results");let s=()=>A(this,null,function*(){let a=i.value;yield this.applySearchBoxFilterAndRerender(a,e)});i.addEventListener("input",(0,Vr.debounce)(s,500,!0))}applySearchBoxFilterAndRerender(t,e){return A(this,null,function*(){for(this._filterString=t,this.filterResults();e.firstElementChild!==e.lastElementChild;){let r=e.lastChild;if(r===null)break;r.remove()}yield this.renderQueryResult("Warm",this.filteredQueryResult,e)})}filterResults(){let{filter:t,error:e}=new Fa().createFilterOrErrorMessage("description includes "+this._filterString);if(e){this.filteredQueryResult=this.queryResult;return}this.filteredQueryResult=this.queryResult.applyFilter(t)}addCopyButton(t){let e=Ve("button",t);(0,Vr.setIcon)(e,"lucide-copy"),(0,Vr.setTooltip)(e,"Copy results"),e.addEventListener("click",()=>A(this,null,function*(){let r=yield this.resultsAsMarkdown();yield navigator.clipboard.writeText(r),new Vr.Notice("Results copied to clipboard")}))}resultsAsMarkdown(){return A(this,null,function*(){let t=new af(this.source,this.tasksFile,this.query);return yield t.renderQuery("Warm",this.filteredQueryResult),t.markdown})}};var lf=class n{constructor({plugin:t,events:e}){this.addQueryRenderChild=this._addQueryRenderChild.bind(this);this.app=t.app,this.plugin=t,this.events=e,t.registerMarkdownCodeBlockProcessor("tasks",(r,i,s)=>{t.app.workspace.onLayoutReady(()=>{this.addQueryRenderChild(r,i,s)})})}_addQueryRenderChild(t,e,r){return A(this,null,function*(){let i=this.app,s=r.sourcePath,a=n.getTasksFile(i,s),o=new Sb({app:i,plugin:this.plugin,events:this.events,container:e,source:t,tasksFile:a});r.addChild(o),o.load()})}static getTasksFile(t,e){let r=t.vault.getFileByPath(e),i=null;return r&&(i=t.metadataCache.getFileCache(r)),new ft(e,i!=null?i:{})}},Sb=class extends Vi.MarkdownRenderChild{constructor({app:e,plugin:r,events:i,container:s,source:a,tasksFile:o}){super(s);this.isCacheChangedSinceLastRedraw=!1;this.observer=null;this.isRendering=!1;this.app=e,this.plugin=r,this.events=i,this.queryResultsRenderer=new of(this.containerEl.className,a,o,Vi.MarkdownRenderer.render,this,this.app,zi.obsidianMarkdownRenderer,{allTasks:()=>this.plugin.getTasks(),allMarkdownFiles:()=>this.app.vault.getMarkdownFiles(),backlinksClickHandler:EW(this.app),backlinksMousedownHandler:xW(this.app),editTaskPencilClickHandler:DW(this.app,()=>A(this,null,function*(){return yield this.plugin.saveSettings()}))}),this.queryResultsRenderer.query.debug("[render] QueryRenderChild.constructor() entered"),this.debouncedRenderFn=(0,Vi.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,r,i)=>{let s=e.path;s===this.queryResultsRenderer.filePath&&this.handleMetadataOrFilePathChange(s,i)})),this.registerEvent(this.app.vault.on("rename",(e,r)=>{if(r!==this.queryResultsRenderer.filePath)return;let i=null;e&&e instanceof Vi.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(r=>console.error(r))))}),this.observer.observe(this.containerEl))}handleMetadataOrFilePathChange(e,r){let i=this.queryResultsRenderer.tasksFile,s=new ft(e,r!=null?r:{}),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 r=new Date,i=e.getTime()-r.getTime();this.queryReloadTimeout=setTimeout(()=>{this.queryResultsRenderer.query=tf(this.queryResultsRenderer.source,or.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:r}){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(r,e),this.isCacheChangedSinceLastRedraw=!1,this.isRendering=!1}}))})}renderResults(e,r){return A(this,null,function*(){var s;let i=Ve("div",this.containerEl);yield this.queryResultsRenderer.render(e,r,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 DW(n,t){return function(r,i,s){r.preventDefault();let a=l=>A(null,null,function*(){yield Un({originalTask:i,newTasks:qt.removeInferredStatusIfNeeded(i,l)})});new $r({app:n,task:i,onSaveSettings:t,onSubmit:a,allTasks:s}).open()}}function EW(n){return function(e,r){return A(this,null,function*(){let i=yield Ny(r,n.vault);if(i){let[s,a]=i,o=n.workspace.getLeaf(px.Keymap.isModEvent(e));e.preventDefault(),yield o.openFile(a,{eState:{line:s}})}})}}function xW(n){return function(e,r){return A(this,null,function*(){if(e.button===1){e.preventDefault();let i=yield Ny(r,n.vault);if(i){let[s,a]=i;yield n.workspace.getLeaf("tab").openFile(a,{eState:{line:s}})}}})}}gt();var me=require("obsidian");In();br();yr();wi();ya();var uf=class{constructor(t){this._markdown="";this.columnNames=t,this.addTitleRow()}get markdown(){return this._markdown}addTitleRow(){let t="|",e="|";this.columnNames.forEach(r=>{t+=` ${r} |`,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(r=>{e+=` ${r} |`}),e}};wi();dn();In();yr();br();function mx(n,t){return n.findIndex(e=>e.symbol===t)}function _i(n){return n===""?n:"`"+(n!==" "?n:"space")+"`"}function OW(n,t){let e=Oe.getTypeForUnknownSymbol(n.symbol);if(n.type===e||e==="TODO"&&n.symbol!==" ")return;let r=_i(n.symbol),i=_i(e);t.push(R.t("reports.statusRegistry.messages.notConventionalType",{symbol:r,type:i}))}function RW(n,t,e){let r=t.nextStatusSymbol,i=mx(n,r);if(i===-1){let a=_i(r);e.push(R.t("reports.statusRegistry.messages.nextSymbolUnknown",{symbol:a}));return}if(t.type!=="DONE")return;let s=n[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=_i(s.type),l=[R.t("reports.statusRegistry.messages.wrongTypeAfterDone.line1",{nextType:o}),R.t("reports.statusRegistry.messages.wrongTypeAfterDone.line2"),R.t("reports.statusRegistry.messages.wrongTypeAfterDone.line3",{helpURL:a})].join("<br>");e.push(l)}}else e.push(R.t("reports.statusRegistry.messages.cannotFindNextStatus"))}function CW(n,t,e){let r=[];if(t.symbol===Oe.EMPTY.symbol)return r.push(R.t("reports.statusRegistry.messages.emptySymbol")),r;if(mx(n,t.symbol)!=e){let s=_i(t.symbol);return r.push(R.t("reports.statusRegistry.messages.duplicateSymbol",{symbol:s})),r}return OW(t,r),RW(n,t,r),r}function hx(n){let t=new uf([R.t("reports.statusRegistry.columnHeadings.statusSymbol"),R.t("reports.statusRegistry.columnHeadings.nextStatusSymbol"),R.t("reports.statusRegistry.columnHeadings.statusName"),R.t("reports.statusRegistry.columnHeadings.statusType"),R.t("reports.statusRegistry.columnHeadings.problems")]),e=St.allStatuses(n);return e.forEach((r,i)=>{t.addRow([_i(r.symbol),_i(r.nextStatusSymbol),r.name,_i(r.type),CW(e,r,i).join("<br>")])}),t.markdown}function gx(n){let t=new Xe;return St.applyToStatusRegistry(n,t),t.registeredStatuses.map((r,i)=>{let s=Ae.getInstance(),a=s.isEmpty()?"":s.get()+" ",o=`Sample task ${i+1}`,l=`status symbol=${_i(r.symbol)}`,u=`status name='${r.name}'`;return`- [${r.symbol}] ${a}${o}: ${l} ${u}`})}function yx(n,t,e,r){let s=hx(n),a=t.mermaidDiagram(!0),o=gx(n);return`# ${e}

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

${R.t("reports.statusRegistry.about.createdBy",{version:r})}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

${o.join(`
`)}

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

${R.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
\`\`\`
`}wi();function bx(){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 Tx(){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 vx(){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 kx(){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 Sx(){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 _x(){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 wx(){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 Dx(){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"]]}gt();dn();ya();var Er=require("obsidian");In();In();yr();br();var cf=class n{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,r,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=Oe.createFromImportedValue(t).configuration;return a.push(...this.validateSymbolTypeConventions(o)),a.push(...this.validate(o)),a}validateSymbol(t){return n.validateOneSymbol(t.symbol,"Task Status Symbol")}validateNextSymbol(t){return n.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],r=[];return e||r.push(`Status Type "${t}" is not a valid type`),e=="EMPTY"&&r.push('Status Type "EMPTY" is not permitted in user data'),r}validateSymbolTypeConventions(t){let e=[],r=t.symbol,i=new Xe,s=r==="X"?"x":r,a=i.bySymbol(s);return a.type!=="EMPTY"&&(t.nextStatusSymbol!==a.nextStatusSymbol&&e.push(`Next Status Symbol for symbol '${r}': '${t.nextStatusSymbol}' is inconsistent with convention '${a.nextStatusSymbol}'`),t.type!==a.type&&e.push(`Status Type for symbol '${r}': '${t.type}' is inconsistent with convention '${a.type}'`)),e}static validateOneSymbol(t,e){let r=[];return t.length===0&&r.push(`${e} cannot be empty.`),t.length>1&&r.push(`${e} ("${t}") must be a single character.`),r}};yr();wi();var Us=new cf,df=class n extends Er.Modal{constructor(e,r,i){super(e.app);this.plugin=e;this.saved=!1;this.error=!1;this.statusSymbol=r.symbol,this.statusName=r.name,this.statusNextSymbol=r.nextStatusSymbol,this.statusAvailableAsCommand=r.availableAsCommand,this.type=r.type,this.isCoreStatus=i}statusConfiguration(){return new bt(this.statusSymbol,this.statusName,this.statusNextSymbol,this.statusAvailableAsCommand,this.type)}display(){return A(this,null,function*(){let{contentEl:e}=this;e.empty();let r=e.createDiv(),i;new Er.Setting(r).setName(R.t("modals.customStatusModal.editStatusSymbol.name")).setDesc(R.t("modals.customStatusModal.editStatusSymbol.description")).addText(u=>{i=u,u.setValue(this.statusSymbol).onChange(c=>{this.statusSymbol=c,n.setValid(u,Us.validateSymbol(this.statusConfiguration()))})}).setDisabled(this.isCoreStatus).then(u=>{n.setValid(i,Us.validateSymbol(this.statusConfiguration()))});let s;new Er.Setting(r).setName(R.t("modals.customStatusModal.editStatusName.name")).setDesc(R.t("modals.customStatusModal.editStatusName.description")).addText(u=>{s=u,u.setValue(this.statusName).onChange(c=>{this.statusName=c,n.setValid(u,Us.validateName(this.statusConfiguration()))})}).then(u=>{n.setValid(s,Us.validateName(this.statusConfiguration()))});let a;new Er.Setting(r).setName(R.t("modals.customStatusModal.editNextStatusSymbol.name")).setDesc(R.t("modals.customStatusModal.editNextStatusSymbol.description")).addText(u=>{a=u,u.setValue(this.statusNextSymbol).onChange(c=>{this.statusNextSymbol=c,n.setValid(u,Us.validateNextSymbol(this.statusConfiguration()))})}).then(u=>{n.setValid(a,Us.validateNextSymbol(this.statusConfiguration()))}),new Er.Setting(r).setName(R.t("modals.customStatusModal.editStatusType.name")).setDesc(R.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=Oe.getTypeFromStatusTypeString(d)})}),Oe.tasksPluginCanCreateCommandsForStatuses()&&new Er.Setting(r).setName(R.t("modals.customStatusModal.editAvailableAsCommand.name")).setDesc(R.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 Er.Setting(o);l.addButton(u=>(u.setTooltip("Save").setIcon("checkmark").onClick(()=>A(this,null,function*(){let c=Us.validate(this.statusConfiguration());if(c.length>0){let d=c.join(`
`)+`

`+R.t("modals.customStatusModal.fixErrorsBeforeSaving");new Er.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,r){r.length===0?n.removeValidationError(e):n.setValidationError(e)}};var _b=require("obsidian");function Ex(n,t,e){if(t===e||!Object.prototype.hasOwnProperty.call(n,t))return Y({},n);let r={};for(let[i,s]of Object.entries(n))i===t?r[e]=s:r[i]=s;return r}var Xl=class{constructor(t,e,r){this.originalName=t,this.isValid=e,this.errorMessage=r}},ff=class{validateRenames(t){let e={};for(let[r,i]of Object.entries(t)){let s={};for(let[a,o]of Object.entries(t))a!==r&&(s[o]="");e[r]=this.validateRename(s,"",i)}return e}validateRename(t,e,r){if(!r||r.trim()==="")return new Xl(e,!1,"Preset name cannot be empty or all whitespace");for(let i of Object.keys(t))if(i!==e&&i.trim()===r.trim())return new Xl(e,!1,"A preset with this name already exists");return new Xl(e,!0,null)}addPreset(t){let e=this.generateUniqueKey(t),r=Y({},t);return r[e]="",{presets:r,newKey:e}}renamePreset(t,e,r){return!r||r.trim()===""||(r=r.trim(),this.wouldCreateDuplicateKey(t,e,r))?null:Ex(t,e,r)}deletePreset(t,e){let r=Y({},t);return delete r[e],r}updatePresetValue(t,e,r){let i=Y({},t);return i[e]=r,i}wouldCreateDuplicateKey(t,e,r){let i=r.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",r=1;for(;Object.prototype.hasOwnProperty.call(t,`${e}_${r}`);)r++;return`${e}_${r}`}reorderPreset(t,e,r){let i=Object.keys(t),s=i.indexOf(e);if(s===-1||r<0||r>=i.length)return null;if(s===r)return Y({},t);let a=[...i];a.splice(s,1),a.splice(r,0,e);let o={};for(let l of a)o[l]=t[l];return o}};wi();gt();var pf=class{constructor(t,e){this.presetsSettingsService=new ff;this.nameFields=new Map;this.plugin=t,this.events=e}renderPresetsSettings(t){let e=t.createDiv(),r=J(),i=()=>{e.empty(),this.nameFields.clear(),Object.entries(r.presets).forEach(([s,a])=>{this.renderPresetItem(e,r,s,a,i)})};i(),this.createAddNewPresetButton(t,r,i)}renderPresetItem(t,e,r,i,s){let a=t.createDiv({cls:"tasks-presets-wrapper"}),o=new _b.Setting(a);o.settingEl.addClass("tasks-presets-setting"),a.setAttribute("data-preset-key",r),o.addText(l=>{l.setPlaceholder("Name").setValue(r),l.inputEl.addClass("tasks-presets-key"),this.nameFields.set(r,{inputEl:l.inputEl,originalKey:r});let u=r;l.inputEl.addEventListener("input",d=>{u=d.target.value,this.validateAllInputs()});let c=()=>A(this,null,function*(){if(u&&u!==r){let d=this.presetsSettingsService.renamePreset(e.presets,r,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,r,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,r);yield this.savePresetsSettings(u,e,s)}))}),this.setupDragAndDrop(a,r,e,s),o.infoEl.remove()}setupDragAndDrop(t,e,r,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(r.presets,a,l);u&&(yield this.savePresetsSettings(u,r,i)),this.clearDropIndicators()}))}getTargetIndex(t,e){let r=J(),s=Object.keys(r.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 r=t.getBoundingClientRect(),i=r.top+r.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:r,originalKey:i})=>{t[i]=r.value});let e=this.presetsSettingsService.validateRenames(t);this.nameFields.forEach(({inputEl:r,originalKey:i})=>{var a;let s=e[i];s&&!s.isValid?(r.addClass("has-error"),r.title=(a=s.errorMessage)!=null?a:""):(r.removeClass("has-error"),r.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,r){new _b.Setting(t).addButton(i=>{i.setButtonText(R.t("settings.presets.buttons.addNewPreset")).setCta().onClick(()=>A(this,null,function*(){let{presets:s}=this.presetsSettingsService.addPreset(e.presets);yield this.savePresetsSettings(s,e,r)}))})}savePresetsSettings(t,e,r){return A(this,null,function*(){it({presets:t}),yield this.plugin.saveSettings(),e.presets=Y({},t),r&&r(),this.events.triggerReloadOpenSearchResults()})}};var at=class at extends me.PluginSettingTab{constructor({plugin:e,events:r}){super(e.app,e);this.customFunctions={insertTaskCoreStatusSettings:this.insertTaskCoreStatusSettings.bind(this),insertCustomTaskStatusSettings:this.insertCustomTaskStatusSettings.bind(this)};this.plugin=e,this.presetsSettingsUI=new pf(e,r),this.events=r}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 me.Setting(e).setName(R.t("settings.format.name")).setDesc(at.createFragmentWithHTML(`<p>${R.t("settings.format.description.line1")}</p><p>${R.t("settings.format.description.line2")}</p><p>${R.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(Nn))c.addOption(d,Nn[d].getDisplayName());c.setValue(J().taskFormat).onChange(d=>A(this,null,function*(){it({taskFormat:d}),yield this.plugin.saveSettings()}))}),new me.Setting(e).setName(R.t("settings.globalFilter.heading")).setHeading();let r=null;new me.Setting(e).setName(R.t("settings.globalFilter.filter.name")).setDesc(at.createFragmentWithHTML(`<p><b>${R.t("settings.globalFilter.filter.description.line1")}</b></p><p>${R.t("settings.globalFilter.filter.description.line2")}<p><p>${R.t("settings.globalFilter.filter.description.line3")}</br>${R.t("settings.globalFilter.filter.description.line4")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Global+Filter"))).addText(c=>{c.setPlaceholder(R.t("settings.globalFilter.filter.placeholder")).setValue(Ae.getInstance().get()).onChange((0,me.debounce)(d=>A(this,null,function*(){it({globalFilter:d}),Ae.getInstance().set(d),yield this.plugin.saveSettings(),Kr(r,d.length>0),this.events.triggerReloadVault()}),500,!0))}),r=new me.Setting(e).setName(R.t("settings.globalFilter.removeFilter.name")).setDesc(at.createFragmentWithHTML(`<p>${R.t("settings.globalFilter.removeFilter.description")}</p><p>${R.t("settings.changeRequiresRestart")}</p>`)).addToggle(c=>{let d=J();c.setValue(d.removeGlobalFilter).onChange(f=>A(this,null,function*(){it({removeGlobalFilter:f}),Ae.getInstance().setRemoveGlobalFilter(f),yield this.plugin.saveSettings()}))}),Kr(r,J().globalFilter.length>0),new me.Setting(e).setName(R.t("settings.globalQuery.heading")).setHeading(),PW(new me.Setting(e).setDesc(at.createFragmentWithHTML(`<p>${R.t("settings.globalQuery.query.description")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Queries/Global+Query"))).addTextArea(c=>{let d=J();c.inputEl.rows=4,c.setPlaceholder("# "+R.t("settings.globalQuery.query.placeholder")).setValue(d.globalQuery).onChange(f=>A(this,null,function*(){it({globalQuery:f}),or.getInstance().set(f),yield this.plugin.saveSettings(),this.events.triggerReloadOpenSearchResults()}))})),new me.Setting(e).setName(R.t("settings.searches.heading")).setHeading(),new me.Setting(e).setName(R.t("settings.searches.enableCustomSearches.name")).setDesc(at.createFragmentWithHTML(`<p>${R.t("settings.searches.enableCustomSearches.description.line1",{filterByFunction:"<code>filter by function</code>",sortByFunction:"<code>sort by function</code>",groupByFunction:"<code>group by function</code>"})}</p><p>${R.t("settings.searches.enableCustomSearches.description.line2")}</p><p><b>${R.t("settings.searches.enableCustomSearches.description.line3")}</b></p><p>${R.t("settings.searches.enableCustomSearches.description.line4")}</p>`)).addToggle(c=>{c.setValue(en.getInstance().get()).onChange(d=>A(this,null,function*(){en.getInstance().set(d),this.events.triggerReloadOpenSearchResults()}))}),new me.Setting(e).setName(R.t("settings.searchResults.heading")).setHeading(),new me.Setting(e).setName(R.t("settings.searchResults.taskCountLocation.name")).setDesc(R.t("settings.searchResults.taskCountLocation.description")).addDropdown(c=>{c.addOption("top",R.t("settings.searchResults.taskCountLocation.options.top")),c.addOption("bottom",R.t("settings.searchResults.taskCountLocation.options.bottom")),c.setValue(J().searchResults.taskCountLocation).onChange(d=>A(this,null,function*(){it({searchResults:{taskCountLocation:d}}),yield this.plugin.saveSettings(),this.events.triggerReloadOpenSearchResults()}))}),new me.Setting(e).setName(R.t("settings.presets.name")).setHeading().setDesc(at.createFragmentWithHTML("<p>"+R.t("settings.presets.line1",{name:"<code>name</code>",instruction1:"<code>preset name</code>",instruction2:"<code>{{preset.name}}</code>"})+"</p><p>"+R.t("settings.presets.line2")+"</p>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Queries/Presets"))),this.presetsSettingsUI.renderPresetsSettings(e),new me.Setting(e).setName(R.t("settings.statuses.heading")).setHeading();let{headingOpened:i}=J();[{text:R.t("settings.statuses.coreStatuses.heading"),level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"<p>"+R.t("settings.statuses.coreStatuses.description.line1")+"</p><p>"+R.t("settings.statuses.coreStatuses.description.line2")+"</p><p>"+R.t("settings.changeRequiresRestart")+"</p>"},settings:[{name:"",description:"",type:"function",initialValue:"",placeholder:"",settingName:"insertTaskCoreStatusSettings",featureFlag:"",notice:null}]},{text:R.t("settings.statuses.customStatuses.heading"),level:"h3",class:"",open:!0,notice:{class:"setting-item-description",text:null,html:"<p>"+R.t("settings.statuses.customStatuses.description.line1")+"</p><p>"+R.t("settings.statuses.customStatuses.description.line2")+"</p><p>"+R.t("settings.statuses.customStatuses.description.line3")+"</p><p>"+R.t("settings.changeRequiresRestart")+`</p><p></p><p><a href="https://publish.obsidian.md/tasks/Getting+Started/Statuses">${R.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 me.Setting(e).setName(R.t("settings.dates.heading")).setHeading(),new me.Setting(e).setName(R.t("settings.dates.createdDate.name")).setDesc(at.createFragmentWithHTML(R.t("settings.dates.createdDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Created+date"))).addToggle(c=>{let d=J();c.setValue(d.setCreatedDate).onChange(f=>A(this,null,function*(){it({setCreatedDate:f}),yield this.plugin.saveSettings()}))}),new me.Setting(e).setName(R.t("settings.dates.doneDate.name")).setDesc(at.createFragmentWithHTML(R.t("settings.dates.doneDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Done+date"))).addToggle(c=>{let d=J();c.setValue(d.setDoneDate).onChange(f=>A(this,null,function*(){it({setDoneDate:f}),yield this.plugin.saveSettings()}))}),new me.Setting(e).setName(R.t("settings.dates.cancelledDate.name")).setDesc(at.createFragmentWithHTML(R.t("settings.dates.cancelledDate.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Dates#Cancelled+date"))).addToggle(c=>{let d=J();c.setValue(d.setCancelledDate).onChange(f=>A(this,null,function*(){it({setCancelledDate:f}),yield this.plugin.saveSettings()}))}),new me.Setting(e).setName(R.t("settings.datesFromFileNames.heading")).setHeading();let a=null,o=null;new me.Setting(e).setName(R.t("settings.datesFromFileNames.scheduledDate.toggle.name")).setDesc(at.createFragmentWithHTML(R.t("settings.datesFromFileNames.scheduledDate.toggle.description.line1")+"</br>"+R.t("settings.datesFromFileNames.scheduledDate.toggle.description.line2")+"</br>"+R.t("settings.datesFromFileNames.scheduledDate.toggle.description.line3")+"</br>"+R.t("settings.datesFromFileNames.scheduledDate.toggle.description.line4")+`</br><p>${R.t("settings.changeRequiresRestart")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Use+Filename+as+Default+Date"))).addToggle(c=>{let d=J();c.setValue(d.useFilenameAsScheduledDate).onChange(f=>A(this,null,function*(){it({useFilenameAsScheduledDate:f}),Kr(a,f),Kr(o,f),yield this.plugin.saveSettings()}))}),a=new me.Setting(e).setName(R.t("settings.datesFromFileNames.scheduledDate.extraFormat.name")).setDesc(at.createFragmentWithHTML(R.t("settings.datesFromFileNames.scheduledDate.extraFormat.description.line1")+`</br><p>${R.t("settings.changeRequiresRestart")}</p><p><a href="https://momentjs.com/docs/#/displaying/format/">${R.t("settings.datesFromFileNames.scheduledDate.extraFormat.description.line2")}</a></p>`)).addText(c=>{let d=J();c.setPlaceholder(R.t("settings.datesFromFileNames.scheduledDate.extraFormat.placeholder")).setValue(d.filenameAsScheduledDateFormat).onChange(f=>A(this,null,function*(){it({filenameAsScheduledDateFormat:f}),yield this.plugin.saveSettings()}))}),o=new me.Setting(e).setName(R.t("settings.datesFromFileNames.scheduledDate.folders.name")).setDesc(at.createFragmentWithHTML(`<p>${R.t("settings.datesFromFileNames.scheduledDate.folders.description")}</p><p>${R.t("settings.changeRequiresRestart")}</p>`)).addText(c=>A(this,null,function*(){let d=J();yield this.plugin.saveSettings(),c.setValue(at.renderFolderArray(d.filenameAsDateFolders)).onChange(f=>A(this,null,function*(){let p=at.parseCommaSeparatedFolders(f);it({filenameAsDateFolders:p}),yield this.plugin.saveSettings()}))})),Kr(a,J().useFilenameAsScheduledDate),Kr(o,J().useFilenameAsScheduledDate),new me.Setting(e).setName(R.t("settings.recurringTasks.heading")).setHeading(),new me.Setting(e).setName(R.t("settings.recurringTasks.nextLine.name")).setDesc(at.createFragmentWithHTML(R.t("settings.recurringTasks.nextLine.description")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Recurring+Tasks"))).addToggle(c=>{let{recurrenceOnNextLine:d}=J();c.setValue(d).onChange(f=>A(this,null,function*(){it({recurrenceOnNextLine:f}),yield this.plugin.saveSettings()}))}),new me.Setting(e).setName(R.t("settings.recurringTasks.removeScheduledDate.name")).setDesc(at.createFragmentWithHTML(R.t("settings.recurringTasks.removeScheduledDate.description.line1")+"</br>"+R.t("settings.recurringTasks.removeScheduledDate.description.line2")+"</br>"+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Recurring+Tasks"))).addToggle(c=>{let{removeScheduledDateOnRecurrence:d}=J();c.setValue(d).onChange(f=>A(this,null,function*(){it({removeScheduledDateOnRecurrence:f}),yield this.plugin.saveSettings()}))}),new me.Setting(e).setName(R.t("settings.autoSuggest.heading")).setHeading();let l=null,u=null;new me.Setting(e).setName(R.t("settings.autoSuggest.toggle.name")).setDesc(at.createFragmentWithHTML(R.t("settings.autoSuggest.toggle.description")+`</br><p>${R.t("settings.changeRequiresRestart")}</p>`+this.seeTheDocumentation("https://publish.obsidian.md/tasks/Getting+Started/Auto-Suggest"))).addToggle(c=>{let d=J();c.setValue(d.autoSuggestInEditor).onChange(f=>A(this,null,function*(){it({autoSuggestInEditor:f}),yield this.plugin.saveSettings(),Kr(l,f),Kr(u,f)}))}),l=new me.Setting(e).setName(R.t("settings.autoSuggest.minLength.name")).setDesc(at.createFragmentWithHTML(`<p>${R.t("settings.autoSuggest.minLength.description")}</p><p>${R.t("settings.changeRequiresRestart")}</p>`)).addSlider(c=>{let d=J();c.setLimits(0,3,1).setValue(d.autoSuggestMinMatch).setDynamicTooltip().onChange(f=>A(this,null,function*(){it({autoSuggestMinMatch:f}),yield this.plugin.saveSettings()}))}),u=new me.Setting(e).setName(R.t("settings.autoSuggest.maxSuggestions.name")).setDesc(at.createFragmentWithHTML(`<p>${R.t("settings.autoSuggest.maxSuggestions.description")}</p><p>${R.t("settings.changeRequiresRestart")}</p>`)).addSlider(c=>{let d=J();c.setLimits(3,20,1).setValue(d.autoSuggestMaxItems).setDynamicTooltip().onChange(f=>A(this,null,function*(){it({autoSuggestMaxItems:f}),yield this.plugin.saveSettings()}))}),Kr(l,J().autoSuggestInEditor),Kr(u,J().autoSuggestInEditor),new me.Setting(e).setName(R.t("settings.dialogs.heading")).setHeading(),new me.Setting(e).setName(R.t("settings.dialogs.accessKeys.name")).setDesc(at.createFragmentWithHTML(R.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=J();c.setValue(d.provideAccessKeys).onChange(f=>A(this,null,function*(){it({provideAccessKeys:f}),yield this.plugin.saveSettings()}))})}seeTheDocumentation(e){return`<p><a href="${e}">${R.t("settings.seeTheDocumentation")}</a>.</p>`}addOneSettingsBlock(e,r,i){let s=e.createEl("details",{cls:"tasks-nested-settings",attr:Y({},r.open||i[r.text]?{open:!0}:{})});s.empty(),s.ontoggle=()=>{i[r.text]=s.open,it({headingOpened:i}),this.plugin.saveSettings()};let a=s.createEl("summary");return new me.Setting(a).setHeading().setName(r.text),a.createDiv("collapser").createDiv("handle"),r.notice!==null&&r.notice.html!==null&&new me.Setting(s).setDesc(at.createFragmentWithHTML(r.notice.html)),r.settings.forEach(o=>{var l;if(!(o.featureFlag!==""&&!cD(o.featureFlag))&&(o.type==="checkbox"?new me.Setting(s).setName(o.name).setDesc(o.description).addToggle(u=>{let c=J();c.generalSettings[o.settingName]||Ts(o.settingName,o.initialValue),u.setValue(c.generalSettings[o.settingName]).onChange(d=>A(this,null,function*(){Ts(o.settingName,d),yield this.plugin.saveSettings()}))}):o.type==="text"?new me.Setting(s).setName(o.name).setDesc(o.description).addText(u=>{let c=J();c.generalSettings[o.settingName]||Ts(o.settingName,o.initialValue);let d=f=>A(this,null,function*(){Ts(o.settingName,f),yield this.plugin.saveSettings()});u.setPlaceholder(o.placeholder.toString()).setValue(c.generalSettings[o.settingName].toString()).onChange((0,me.debounce)(d,500,!0))}):o.type==="textarea"?new me.Setting(s).setName(o.name).setDesc(o.description).addTextArea(u=>{let c=J();c.generalSettings[o.settingName]||Ts(o.settingName,o.initialValue);let d=f=>A(this,null,function*(){Ts(o.settingName,f),yield this.plugin.saveSettings()});u.setPlaceholder(o.placeholder.toString()).setValue(c.generalSettings[o.settingName].toString()).onChange((0,me.debounce)(d,500,!0)),u.inputEl.rows=8,u.inputEl.cols=40}):o.type==="function"&&this.customFunctions[o.settingName](s,this),o.notice!==null)){let u=s.createEl("p",{cls:o.notice.class,text:(l=o.notice.text)!=null?l:""});o.notice.html!==null&&u.append((0,me.sanitizeHTMLToDom)(o.notice.html))}}),s}static parseCommaSeparatedFolders(e){return e.split(",").map(r=>r.trim()).map(r=>r.replace(/^\/|\/$/g,"")).filter(r=>r!=="")}static renderFolderArray(e){return e.join(",")}insertTaskCoreStatusSettings(e,r){let{statusSettings:i}=J();i.coreStatuses.forEach(a=>{xx(e,a,i.coreStatuses,i,r,r.plugin,!0)}),new me.Setting(e).addButton(a=>{let o=R.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=Xe.getInstance(),p=yx(i,f,o,d),h=yield this.app.vault.create(c,p);yield this.app.workspace.getLeaf(!0).openFile(h)})),a.setTooltip(R.t("settings.statuses.coreStatuses.buttons.checkStatuses.tooltip"))}).infoEl.remove()}insertCustomTaskStatusSettings(e,r){let{statusSettings:i}=J();i.customStatuses.forEach(u=>{xx(e,u,i.customStatuses,i,r,r.plugin,!1)}),e.createEl("div"),new me.Setting(e).addButton(u=>{u.setButtonText(R.t("settings.statuses.customStatuses.buttons.addNewStatus.name")).setCta().onClick(()=>A(null,null,function*(){St.addStatus(i.customStatuses,new bt("","","",!1,"TODO")),yield io(i,r)}))}).infoEl.remove();let a=[[R.t("settings.statuses.collections.anuppuccinTheme"),bx()],[R.t("settings.statuses.collections.auraTheme"),Tx()],[R.t("settings.statuses.collections.borderTheme"),vx()],[R.t("settings.statuses.collections.ebullientworksTheme"),kx()],[R.t("settings.statuses.collections.itsThemeAndSlrvbCheckboxes"),Sx()],[R.t("settings.statuses.collections.minimalTheme"),wx()],[R.t("settings.statuses.collections.thingsTheme"),Dx()],[R.t("settings.statuses.collections.lytModeTheme"),_x()]];for(let[u,c]of a)new me.Setting(e).addButton(f=>{let p=R.t("settings.statuses.collections.buttons.addCollection.name",{themeName:u,numberOfStatuses:c.length});f.setButtonText(p).onClick(()=>A(null,null,function*(){yield AW(c,i,r)}))}).infoEl.remove();new me.Setting(e).addButton(u=>{u.setButtonText(R.t("settings.statuses.customStatuses.buttons.addAllUnknown.name")).setCta().onClick(()=>A(this,null,function*(){let d=this.plugin.getTasks().map(p=>p.status),f=Xe.getInstance().findUnknownStatuses(d);f.length!==0&&(f.forEach(p=>{St.addStatus(i.customStatuses,p)}),yield io(i,r))}))}).infoEl.remove(),new me.Setting(e).addButton(u=>{u.setButtonText(R.t("settings.statuses.customStatuses.buttons.resetCustomStatuses.name")).setWarning().onClick(()=>A(this,null,function*(){St.resetAllCustomStatuses(i),yield io(i,r)}))}).infoEl.remove()}};at.createFragmentWithHTML=e=>(0,me.sanitizeHTMLToDom)(e);var mf=at;function xx(n,t,e,r,i,s,a){let o=n.createEl("pre");o.addClass("row-for-status"),o.textContent=new Oe(t).previewText();let l=new me.Setting(n);l.infoEl.replaceWith(o),a||l.addExtraButton(u=>{u.setIcon("cross").setTooltip("Delete").onClick(()=>A(null,null,function*(){St.deleteStatus(e,t)&&(yield io(r,i))}))}),l.addExtraButton(u=>{u.setIcon("pencil").setTooltip("Edit").onClick(()=>A(null,null,function*(){let c=new df(s,t,a);c.onClose=()=>A(null,null,function*(){c.saved&&St.replaceStatus(e,t,c.statusConfiguration())&&(yield io(r,i))}),c.open()}))}),l.infoEl.remove()}function AW(n,t,e){return A(this,null,function*(){St.bulkAddStatusCollection(t,n).forEach(i=>{new me.Notice(i)}),yield io(t,e)})}function io(n,t){return A(this,null,function*(){it({statusSettings:n}),St.applyToStatusRegistry(n,Xe.getInstance()),yield t.saveSettings(!0)})}function PW(n){let{settingEl:t,infoEl:e,controlEl:r}=n,i=r.querySelector("textarea");i!==null&&(t.style.display="block",e.style.marginRight="0px",i.style.minWidth="-webkit-fill-available")}function Kr(n,t){n?n.setVisibility(t):console.warn("Setting has not be initialised. Can update visibility of setting UI - in setSettingVisibility")}br();vs();var Ki=require("obsidian");_c();gt();ry();function IW(n){console.error(n),new Ki.Notice(n+`

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

task line in editor: '${b}'

file: '${d.path}'
`;IW(v);return}t.context.editor.replaceRange(d.toFileLineString(),p,h)}else Un({originalTask:t.taskItDependsOn,newTasks:d})}let i=t.context.editor.getCursor(),s={line:i.line,ch:(c=t.insertAt)!=null?c:i.ch},a=t.insertSkip?{line:i.line,ch:s.ch+t.insertSkip}:void 0;t.context.editor.replaceRange(t.appendText,s,a),t.context.editor.setCursor({line:i.line,ch:s.ch+t.appendText.length});let o=this.getMarkdownFileInfo(t.context.editor);this.canSaveEdits(o)&&(yield o.save())})}};ya();var Ox=(n,t,e)=>{let r,i=new Promise((u,c)=>{r=u}),s=u=>{let c=u.map(d=>d.toFileLineString()).join(`
`);r(c)},a=()=>{r("")},o=Ca({line:"",path:""});return new $r({app:n,task:o,onSaveSettings:e,onSubmit:s,onCancel:a,allTasks:t}).open(),i};function Rx(n,t,e,r){let i,s=new Promise((c,d)=>{i=c}),a=c=>{let d=c.map(f=>f.toFileLineString()).join(`
`);i(d)},o=()=>{i("")},l=Ca({line:t!=null?t:"",path:""});return new $r({app:n,task:l,onSaveSettings:r,onSubmit:a,onCancel:o,allTasks:e}).open(),s}var Cx=n=>{let t=n.app,e=()=>A(null,null,function*(){return yield n.saveSettings()});return{createTaskLineModal:()=>Ox(t,n.getTasks(),e),editTaskLineModal:r=>Rx(t,r,n.getTasks(),e),executeToggleTaskDoneCommand:(r,i)=>$y(r,i).text}};dn();Nf();var gf=class{constructor(t){this.app=t}load(t){return this.app.loadLocalStorage(t)}save(t,e){this.app.saveLocalStorage(t,e)}};var yf=class extends bf.Plugin{get apiV1(){return Cx(this)}onload(){return A(this,null,function*(){yield mT(),fn.registerConsoleLogger(),dy("info",R.t("main.loadingPlugin",{name:this.manifest.name,version:this.manifest.version})),yield this.loadSettings(),en.initialise(new gf(this.app));let{loggingOptions:t}=J();fn.configure(t),Gs.getInstance().setGetFirstLinkpathDestFn((r,i)=>{let s=(0,bf.getLinkpath)(r.link),a=this.app.metadataCache.getFirstLinkpathDest(s,i);return a?a.path:null});let e=new jd({obsidianEvents:this.app.workspace});this.addSettingTab(new mf({plugin:this,events:e})),hE({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace}),yield this.loadTaskStatuses(),this.cache=new Ss({metadataCache:this.app.metadataCache,vault:this.app.vault,workspace:this.app.workspace,events:e}),this.inlineRenderer=new ef({plugin:this,app:this.app}),this.queryRenderer=new lf({plugin:this,events:e}),this.setObsidianPropertiesTypes(),this.registerEditorExtension(cx()),this.registerEditorSuggest(new hf(this.app,J(),this)),new Wd({plugin:this})})}loadTaskStatuses(){return A(this,null,function*(){let{statusSettings:t}=J();St.applyToStatusRegistry(t,Xe.getInstance())})}onunload(){var t;dy("info",R.t("main.unloadingPlugin",{name:this.manifest.name,version:this.manifest.version})),(t=this.cache)==null||t.unload()}loadSettings(){return A(this,null,function*(){let t=yield this.loadData();it(t),t=J(),Ae.getInstance().set(t.globalFilter),Ae.getInstance().setRemoveGlobalFilter(t.removeGlobalFilter),or.getInstance().set(t.globalQuery),yield this.loadTaskStatuses()})}saveSettings(){return A(this,null,function*(){yield this.saveData(J())})}getTasks(){return this.cache===void 0?[]:this.cache.getTasks()}getState(){return this.cache===void 0?"Cold":this.cache.getState()}setObsidianPropertiesTypes(){var t;try{let e=this.app.metadataTypeManager,r=e.getAllProperties(),i=new ki;for(let s of i.allPropertyNamesSorted()){let a=i.propertyType(s);((t=r[s])==null?void 0:t.type)!==a&&e.setType(s,a)}}catch(e){console.error("setObsidianPropertiesTypes error",e)}}};
/*! Bundled license information:

eventemitter2/lib/eventemitter2.js:
  (*!
   * EventEmitter2
   * https://github.com/hij1nx/EventEmitter2
   *
   * Copyright (c) 2013 hij1nx
   * Licensed under the MIT license.
   *)

mustache/mustache.mjs:
  (*!
   * mustache.js - Logic-less {{mustache}} templates with JavaScript
   * http://github.com/janl/mustache.js
   *)
*/

/* nosourcemap */