@kinetis/vector-ui 0.10.4 → 0.11.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +9 -2
- package/app/components/Vx/VersionBanner.vue +24 -0
- package/app/composables/useVectorSchema.ts +4 -1
- package/app/composables/useVectorVersion.ts +53 -0
- package/app/i18n/ar/shell.ts +8 -1
- package/app/i18n/de/shell.ts +8 -1
- package/app/i18n/en/shell.ts +8 -1
- package/app/i18n/es/shell.ts +8 -1
- package/app/i18n/fr/shell.ts +8 -1
- package/app/i18n/he/shell.ts +8 -1
- package/app/i18n/it/shell.ts +8 -1
- package/app/i18n/ja/shell.ts +8 -1
- package/app/i18n/ko/shell.ts +8 -1
- package/app/i18n/nl/shell.ts +8 -1
- package/app/i18n/pl/shell.ts +8 -1
- package/app/i18n/pt/shell.ts +8 -1
- package/app/i18n/pt-BR/shell.ts +8 -1
- package/app/i18n/ru/shell.ts +8 -1
- package/app/i18n/tr/shell.ts +8 -1
- package/app/i18n/uk/shell.ts +8 -1
- package/app/i18n/zh-Hans/shell.ts +8 -1
- package/app/layouts/vector.vue +1 -0
- package/app/types/vector.ts +2 -0
- package/dist/static/200.html +1 -0
- package/dist/static/404.html +1 -0
- package/dist/static/_nuxt/1Wg893CJ.js +2 -0
- package/dist/static/_nuxt/3cwKifVI.js +1 -0
- package/dist/static/_nuxt/69zFoWZ_.js +1 -0
- package/dist/static/_nuxt/6XZ9vj4j.js +1 -0
- package/dist/static/_nuxt/704AOQgv.js +1 -0
- package/dist/static/_nuxt/93QUVg9x.js +1 -0
- package/dist/static/_nuxt/B2iJ1o_3.js +1 -0
- package/dist/static/_nuxt/B2pW6ekA.js +1 -0
- package/dist/static/_nuxt/B4cVd0we.js +1 -0
- package/dist/static/_nuxt/B84pnpa0.js +1 -0
- package/dist/static/_nuxt/BBei3q3a.js +1 -0
- package/dist/static/_nuxt/BC_L7UUo.js +1 -0
- package/dist/static/_nuxt/BD9kIZPf.js +1 -0
- package/dist/static/_nuxt/BDLrTt6l.js +1 -0
- package/dist/static/_nuxt/BDNMzG2s.js +1 -0
- package/dist/static/_nuxt/BE_w8iyq.js +1 -0
- package/dist/static/_nuxt/BGE18wmh.js +1 -0
- package/dist/static/_nuxt/BHJ6uF5H.js +1 -0
- package/dist/static/_nuxt/BHadZK0s.js +1 -0
- package/dist/static/_nuxt/BIgwsxdM.js +2 -0
- package/dist/static/_nuxt/BKVNzrl4.js +1 -0
- package/dist/static/_nuxt/BKlyjday.js +1 -0
- package/dist/static/_nuxt/BMHE9eI3.js +1 -0
- package/dist/static/_nuxt/BQjkGx2Z.js +1 -0
- package/dist/static/_nuxt/BQpOsqaq.js +1 -0
- package/dist/static/_nuxt/BTiCUv4-.js +1 -0
- package/dist/static/_nuxt/BU5ZZxSI.js +1 -0
- package/dist/static/_nuxt/BW3xJdEx.js +1 -0
- package/dist/static/_nuxt/BX3vnbKN.js +1 -0
- package/dist/static/_nuxt/BX4Ngs0H.js +1 -0
- package/dist/static/_nuxt/BZZ1FAx7.js +1 -0
- package/dist/static/_nuxt/BaOEsdpg.js +1 -0
- package/dist/static/_nuxt/BeQ1SIR7.js +1 -0
- package/dist/static/_nuxt/BexbafaO.js +1 -0
- package/dist/static/_nuxt/BfJMvdNP.js +1 -0
- package/dist/static/_nuxt/BiGgsuAF.js +1 -0
- package/dist/static/_nuxt/Bj2vN0T9.js +10 -0
- package/dist/static/_nuxt/BmETWtxq.js +65 -0
- package/dist/static/_nuxt/BpAdDrzk.js +1 -0
- package/dist/static/_nuxt/BqDUx8zK.js +1 -0
- package/dist/static/_nuxt/BrAFYyUA.js +1 -0
- package/dist/static/_nuxt/BrZywLMU.js +1 -0
- package/dist/static/_nuxt/BsEAcWqN.js +1 -0
- package/dist/static/_nuxt/BsuNB234.js +1 -0
- package/dist/static/_nuxt/BuZABq4H.js +1 -0
- package/dist/static/_nuxt/BvHF-Z-c.js +1 -0
- package/dist/static/_nuxt/BxwA8VwS.js +1 -0
- package/dist/static/_nuxt/ByOYBmCq.js +1 -0
- package/dist/static/_nuxt/BybtooSc.js +1 -0
- package/dist/static/_nuxt/C-EQLWId.js +1 -0
- package/dist/static/_nuxt/C-ZArOUZ.js +1 -0
- package/dist/static/_nuxt/C0qu28Eu.js +1 -0
- package/dist/static/_nuxt/C6-lyaez.js +1 -0
- package/dist/static/_nuxt/C6NpYgVC.js +1 -0
- package/dist/static/_nuxt/C96C4owm.js +1 -0
- package/dist/static/_nuxt/C9s0nkkI.js +1 -0
- package/dist/static/_nuxt/CBH80FIv.js +1 -0
- package/dist/static/_nuxt/CBSym8If.js +1 -0
- package/dist/static/_nuxt/CClLW8E_.js +1 -0
- package/dist/static/_nuxt/CElnT3Ea.js +1 -0
- package/dist/static/_nuxt/CEwqGRFH.js +1 -0
- package/dist/static/_nuxt/CHZ0Ncxm.js +1 -0
- package/dist/static/_nuxt/CIJWDnwW.js +2 -0
- package/dist/static/_nuxt/CIM0ajR7.js +1 -0
- package/dist/static/_nuxt/CMwYQ92K.js +1 -0
- package/dist/static/_nuxt/CP1X_5v-.js +1 -0
- package/dist/static/_nuxt/CPKG-Ezw.js +1 -0
- package/dist/static/_nuxt/CPVoOeRV.js +1 -0
- package/dist/static/_nuxt/CUiMQC3Z.js +1 -0
- package/dist/static/_nuxt/CX8RCGtF.js +1 -0
- package/dist/static/_nuxt/CXziPYlW.js +1 -0
- package/dist/static/_nuxt/CYenBSuZ.js +1 -0
- package/dist/static/_nuxt/CZcQaOv1.js +1 -0
- package/dist/static/_nuxt/C_O5tpxy.js +1 -0
- package/dist/static/_nuxt/C_ix0rE_.js +1 -0
- package/dist/static/_nuxt/Ca3ZVEe7.js +1 -0
- package/dist/static/_nuxt/Ca_XXWNh.js +100 -0
- package/dist/static/_nuxt/CdblVAM1.js +1 -0
- package/dist/static/_nuxt/Cdoe66Zd.js +1 -0
- package/dist/static/_nuxt/CgjA3YY0.js +1 -0
- package/dist/static/_nuxt/CmLK_fgz.js +1 -0
- package/dist/static/_nuxt/CmNfIsu3.js +1 -0
- package/dist/static/_nuxt/CmjaJiRg.js +1 -0
- package/dist/static/_nuxt/CsxNfAL8.js +1 -0
- package/dist/static/_nuxt/Cszrg0h8.js +1 -0
- package/dist/static/_nuxt/CvYs9vdO.js +1 -0
- package/dist/static/_nuxt/CvbtZrze.js +1 -0
- package/dist/static/_nuxt/CwwYMGxb.js +1 -0
- package/dist/static/_nuxt/Cx1ACnK3.js +2 -0
- package/dist/static/_nuxt/Cy7gYmkN.js +67 -0
- package/dist/static/_nuxt/D-oBCPmo.js +1 -0
- package/dist/static/_nuxt/D2Fz9LRv.js +1 -0
- package/dist/static/_nuxt/DA90LVQc.js +1 -0
- package/dist/static/_nuxt/DDr5NNV1.js +1 -0
- package/dist/static/_nuxt/DE8nYAuE.js +1 -0
- package/dist/static/_nuxt/DIqqC1EB.js +1 -0
- package/dist/static/_nuxt/DJBZZkxI.js +1 -0
- package/dist/static/_nuxt/DKI3Cf8m.js +1 -0
- package/dist/static/_nuxt/DLGdZt4R.js +1 -0
- package/dist/static/_nuxt/DM8YsT9L.js +1 -0
- package/dist/static/_nuxt/DROTb0EW.js +1 -0
- package/dist/static/_nuxt/DS06smGS.js +1 -0
- package/dist/static/_nuxt/DTBUCbOt.js +1 -0
- package/dist/static/_nuxt/DVQyySRy.js +1 -0
- package/dist/static/_nuxt/DVRkMeDb.js +3 -0
- package/dist/static/_nuxt/DVr7GQVt.js +1 -0
- package/dist/static/_nuxt/DYAzCAVa.js +1 -0
- package/dist/static/_nuxt/DYuO8gvM.js +1 -0
- package/dist/static/_nuxt/DaDDSelo.js +1 -0
- package/dist/static/_nuxt/Dd3TSBVv.js +1 -0
- package/dist/static/_nuxt/DhF2C9iz.js +1 -0
- package/dist/static/_nuxt/Dialog.B6aT2GLZ.css +1 -0
- package/dist/static/_nuxt/DlN2nZBa.js +1 -0
- package/dist/static/_nuxt/DlidQ2Aq.js +1 -0
- package/dist/static/_nuxt/DmB3Fuvb.js +1 -0
- package/dist/static/_nuxt/DmXk1uzO.js +1 -0
- package/dist/static/_nuxt/DpBm5g9z.js +1 -0
- package/dist/static/_nuxt/DvuSvxCC.js +1 -0
- package/dist/static/_nuxt/Dz6TfzQ0.js +1 -0
- package/dist/static/_nuxt/Form.BfskSJ5D.css +1 -0
- package/dist/static/_nuxt/KeyValue.DF5lHbm2.css +1 -0
- package/dist/static/_nuxt/L-WHmHIv.js +1 -0
- package/dist/static/_nuxt/NeV2yZqu.js +1 -0
- package/dist/static/_nuxt/Notifications.BvaCltQH.css +1 -0
- package/dist/static/_nuxt/Number.-SYS74l4.css +1 -0
- package/dist/static/_nuxt/PLkDYH36.js +2 -0
- package/dist/static/_nuxt/Repeater.CLIPcHKX.css +1 -0
- package/dist/static/_nuxt/RichText.CldIBWau.css +1 -0
- package/dist/static/_nuxt/UDkDGLOZ.js +1 -0
- package/dist/static/_nuxt/VAvatar.DDw3_L_i.css +1 -0
- package/dist/static/_nuxt/VBreadcrumbs.wcEtvk8_.css +1 -0
- package/dist/static/_nuxt/VChip.DriYwOm3.css +1 -0
- package/dist/static/_nuxt/VContainer.ku9EbwM-.css +1 -0
- package/dist/static/_nuxt/VDialog.CZWf1yfq.css +1 -0
- package/dist/static/_nuxt/VDivider.DvkP_iX7.css +1 -0
- package/dist/static/_nuxt/VEmptyState.CUCeAAw2.css +1 -0
- package/dist/static/_nuxt/VFileInput.DPM4qn3r.css +1 -0
- package/dist/static/_nuxt/VIcon.DTxGzRyY.css +1 -0
- package/dist/static/_nuxt/VImg.DG7aP0kv.css +1 -0
- package/dist/static/_nuxt/VInput.BzI_hIki.css +1 -0
- package/dist/static/_nuxt/VList.-4d3zhl1.css +1 -0
- package/dist/static/_nuxt/VMenu.DCy1EQlK.css +1 -0
- package/dist/static/_nuxt/VOverlay.DObTzQ9r.css +1 -0
- package/dist/static/_nuxt/VProgressLinear.DJ_RCe6L.css +1 -0
- package/dist/static/_nuxt/VRow.CqfueTd7.css +1 -0
- package/dist/static/_nuxt/VSelect.CuBPwPXI.css +1 -0
- package/dist/static/_nuxt/VSelectionControl.DhiKR_Yu.css +1 -0
- package/dist/static/_nuxt/VSkeletonLoader.BXLoM9sb.css +1 -0
- package/dist/static/_nuxt/VSlideGroup.BEHBZMHn.css +1 -0
- package/dist/static/_nuxt/VSpacer.DfbUir7X.css +1 -0
- package/dist/static/_nuxt/VTabs.Bt5lJEqb.css +1 -0
- package/dist/static/_nuxt/XOH5_ek4.js +1 -0
- package/dist/static/_nuxt/_id_.DBl2xP4F.css +1 -0
- package/dist/static/_nuxt/_resource_.C0QgZA88.css +1 -0
- package/dist/static/_nuxt/autofocus.Dpzbb23r.css +1 -0
- package/dist/static/_nuxt/builds/latest.json +1 -0
- package/dist/static/_nuxt/builds/meta/9d91b9fa-6f5d-4be5-9c56-28ae67d7b2f9.json +1 -0
- package/dist/static/_nuxt/d01KSe8e.js +1 -0
- package/dist/static/_nuxt/e7XpxcTK.js +1 -0
- package/dist/static/_nuxt/entry.C1pc8lLu.css +1 -0
- package/dist/static/_nuxt/error-404.BxuWml28.css +1 -0
- package/dist/static/_nuxt/error-500.CAMGvsGG.css +1 -0
- package/dist/static/_nuxt/g4Mjoenv.js +1 -0
- package/dist/static/_nuxt/gXzQcNWB.js +1 -0
- package/dist/static/_nuxt/iWiuSxmQ.js +1 -0
- package/dist/static/_nuxt/jDoGFcUw.js +1 -0
- package/dist/static/_nuxt/materialdesignicons-webfont.B7mPwVP_.ttf +0 -0
- package/dist/static/_nuxt/materialdesignicons-webfont.CSr8KVlo.eot +0 -0
- package/dist/static/_nuxt/materialdesignicons-webfont.Dp5v-WZN.woff2 +0 -0
- package/dist/static/_nuxt/materialdesignicons-webfont.PXm3-2wK.woff +0 -0
- package/dist/static/_nuxt/qg2CqsMc.js +1 -0
- package/dist/static/_nuxt/rRvgHT1I.js +2 -0
- package/dist/static/_nuxt/ripple.BF-Re9AG.css +1 -0
- package/dist/static/_nuxt/saFSMwUn.js +1 -0
- package/dist/static/_nuxt/sfwOLBCo.js +1 -0
- package/dist/static/_nuxt/vector.Ib8iLFrj.css +1 -0
- package/dist/static/_nuxt/wYGZ1W5f.js +1 -0
- package/dist/static/_nuxt/wYohQiph.js +1 -0
- package/dist/static/_nuxt/zi3w18zk.js +1 -0
- package/dist/static/index.html +1 -0
- package/dist/static/jobs/index.html +1 -0
- package/dist/static/login/index.html +1 -0
- package/dist/static/settings/index.html +1 -0
- package/dist/static/vector-bundle.json +193 -0
- package/nuxt.config.ts +8 -0
- package/package.json +6 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Dz6TfzQ0.js","./C_O5tpxy.js","./CBSym8If.js","./DVRkMeDb.js","./BW3xJdEx.js","./CPKG-Ezw.js","./BDLrTt6l.js","./CClLW8E_.js","./DLGdZt4R.js","./Bj2vN0T9.js","./Cx1ACnK3.js","./BGE18wmh.js","./BaOEsdpg.js","./BD9kIZPf.js","./CX8RCGtF.js","./CvbtZrze.js","./CEwqGRFH.js","./B4cVd0we.js","./B2iJ1o_3.js","./CXziPYlW.js","./BeQ1SIR7.js","./BHJ6uF5H.js","./Cszrg0h8.js","./wYGZ1W5f.js","./BxwA8VwS.js","./BQpOsqaq.js","./DVQyySRy.js","./BqDUx8zK.js","./CUiMQC3Z.js","./CIM0ajR7.js","./BsuNB234.js","./C0qu28Eu.js","./704AOQgv.js","./BfJMvdNP.js","./CZcQaOv1.js","./DE8nYAuE.js","./BKlyjday.js","./wYohQiph.js","./CMwYQ92K.js","./DJBZZkxI.js","./BuZABq4H.js","./CmjaJiRg.js","./Dd3TSBVv.js","./BIgwsxdM.js","./DmB3Fuvb.js","./DYAzCAVa.js","./CYenBSuZ.js","./DA90LVQc.js","./rRvgHT1I.js","./CmLK_fgz.js","./d01KSe8e.js","./BTiCUv4-.js","./DTBUCbOt.js","./VIcon.DTxGzRyY.css","./ripple.BF-Re9AG.css","./VBreadcrumbs.wcEtvk8_.css","./VImg.DG7aP0kv.css","./VEmptyState.CUCeAAw2.css","./VAvatar.DDw3_L_i.css","./VDivider.DvkP_iX7.css","./VList.-4d3zhl1.css","./VOverlay.DObTzQ9r.css","./VMenu.DCy1EQlK.css","./VSlideGroup.BEHBZMHn.css","./VTabs.Bt5lJEqb.css","./VRow.CqfueTd7.css","./VSpacer.DfbUir7X.css","./Form.BfskSJ5D.css","./BQjkGx2Z.js","./L-WHmHIv.js","./VSkeletonLoader.BXLoM9sb.css","./DmXk1uzO.js","./BHadZK0s.js","./1Wg893CJ.js","./BsEAcWqN.js","./DKI3Cf8m.js","./CvYs9vdO.js","./BvHF-Z-c.js","./CgjA3YY0.js","./ByOYBmCq.js","./g4Mjoenv.js","./DIqqC1EB.js","./BKVNzrl4.js","./C-EQLWId.js","./Cy7gYmkN.js","./BE_w8iyq.js","./93QUVg9x.js","./PLkDYH36.js","./CHZ0Ncxm.js","./VInput.BzI_hIki.css","./VSelectionControl.DhiKR_Yu.css","./VChip.DriYwOm3.css","./VProgressLinear.DJ_RCe6L.css","./autofocus.Dpzbb23r.css","./VSelect.CuBPwPXI.css","./VDialog.CZWf1yfq.css","./Dialog.B6aT2GLZ.css","./_id_.DBl2xP4F.css","./CBH80FIv.js","./C-ZArOUZ.js","./CmNfIsu3.js","./CIJWDnwW.js","./BexbafaO.js","./DlidQ2Aq.js","./DDr5NNV1.js","./C96C4owm.js","./XOH5_ek4.js","./BDNMzG2s.js","./BiGgsuAF.js","./VFileInput.DPM4qn3r.css","./_resource_.C0QgZA88.css","./e7XpxcTK.js","./sfwOLBCo.js","./DYuO8gvM.js","./VContainer.ku9EbwM-.css","./iWiuSxmQ.js","./CdblVAM1.js","./BBei3q3a.js","./BU5ZZxSI.js","./DhF2C9iz.js","./Notifications.BvaCltQH.css","./DROTb0EW.js","./C_ix0rE_.js","./vector.Ib8iLFrj.css","./BrAFYyUA.js","./error-404.BxuWml28.css","./D2Fz9LRv.js","./error-500.CAMGvsGG.css"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{$ as e,A as t,K as n,L as r,Lt as i,M as a,N as o,Nt as s,Pt as c,Rt as l,S as u,St as d,Ut as f,V as p,Yt as m,_ as h,a as g,bt as _,c as v,ct as y,d as b,dt as x,et as S,g as C,h as w,ht as T,i as E,j as ee,k as te,lt as ne,m as re,o as ie,p as D,pt as ae,qt as oe,r as se,s as O,t as k,u as ce,v as le,wt as ue,x as de,xt as fe,zt as pe}from"./Bj2vN0T9.js";import{_ as me,a as he,b as ge,c as _e,d as ve,f as ye,g as be,h as xe,i as Se,l as Ce,m as A,n as we,o as Te,r as Ee,s as De,t as Oe,v as ke,x as Ae,y as je}from"./CBSym8If.js";import{$n as Me,B as Ne,Cn as Pe,D as j,E as Fe,En as Ie,H as Le,Ht as Re,J as ze,L as Be,O as Ve,On as M,Pt as He,St as Ue,Ut as We,Yt as Ge,Z as Ke,Zn as qe,_ as N,an as Je,b as Ye,ct as Xe,d as Ze,er as Qe,et as $e,fn as et,ft as tt,g as P,gn as nt,gt as rt,h as it,in as at,it as ot,k as st,l as ct,ln as lt,mt as ut,nt as dt,o as ft,ot as pt,pn as mt,qt as ht,rt as gt,s as _t,st as vt,tr as yt,tt as bt,un as xt,v as St,vn as Ct,vt as wt,wn as F,wt as Tt,xn as Et,y as Dt,yn as Ot,z as kt}from"./DVRkMeDb.js";import{a as At,i as jt,t as Mt,x as Nt}from"./Cx1ACnK3.js";import{A as Pt,C as Ft,D as It,E as Lt,M as Rt,O as zt,S as Bt,_ as Vt,a as Ht,b as Ut,c as Wt,d as Gt,f as Kt,g as qt,h as Jt,i as Yt,j as Xt,l as Zt,m as Qt,n as $t,o as en,p as tn,r as nn,s as rn,t as an,u as on,v as sn,w as cn,x as ln,y as un}from"./C_O5tpxy.js";import{n as dn,t as fn}from"./BW3xJdEx.js";import{i as pn,n as mn,o as hn,r as gn,s as _n,t as vn}from"./CPKG-Ezw.js";import{a as yn,c as bn,d as xn,f as Sn,h as Cn,i as wn,l as Tn,m as En,n as Dn,o as On,p as kn,r as An,s as jn,t as Mn,u as Nn}from"./1Wg893CJ.js";import{a as Pn,i as Fn,n as In,r as Ln,s as Rn,t as zn}from"./CEwqGRFH.js";import{t as Bn}from"./BqDUx8zK.js";import{n as Vn,t as Hn}from"./B2iJ1o_3.js";import{a as Un,i as Wn,r as Gn,t as Kn}from"./DVQyySRy.js";import{a as qn,i as Jn,n as Yn,o as Xn,r as Zn,s as Qn,t as $n}from"./BGE18wmh.js";import{A as er,B as tr,C as nr,D as rr,E as ir,F as ar,H as or,I as sr,L as cr,M as lr,N as ur,O as dr,P as fr,R as pr,S as mr,T as hr,U as gr,V as _r,W as vr,_ as yr,a as br,c as xr,d as Sr,f as Cr,g as wr,h as Tr,i as Er,j as I,k as Dr,l as Or,m as kr,n as Ar,o as jr,p as Mr,r as Nr,s as Pr,t as Fr,u as Ir,v as Lr,w as Rr,y as zr,z as Br}from"./BTiCUv4-.js";import{n as Vr,r as Hr,t as Ur}from"./BDLrTt6l.js";import{t as Wr}from"./BuZABq4H.js";import{i as Gr}from"./CUiMQC3Z.js";import{t as Kr}from"./BfJMvdNP.js";import{n as qr,r as Jr,t as Yr}from"./BaOEsdpg.js";import{t as Xr}from"./BeQ1SIR7.js";import{n as Zr,t as Qr}from"./BD9kIZPf.js";import{n as $r,t as ei}from"./CX8RCGtF.js";import{t as ti}from"./Cszrg0h8.js";import{a as ni,i as ri,n as ii,r as ai,t as oi}from"./CIM0ajR7.js";import{a as si,c as ci,l as li,o as ui,r as di,s as fi,t as pi,u as mi}from"./CvbtZrze.js";import{n as hi,r as gi,t as _i}from"./BKVNzrl4.js";import{t as vi}from"./DIqqC1EB.js";import{n as yi,r as bi,t as xi}from"./g4Mjoenv.js";import{n as Si,t as Ci}from"./BsEAcWqN.js";import{t as wi}from"./C0qu28Eu.js";import{n as Ti,t as Ei}from"./DKI3Cf8m.js";import{i as Di,n as Oi,o as ki,r as Ai,s as ji,t as Mi}from"./CvYs9vdO.js";import{r as Ni}from"./DmB3Fuvb.js";import{t as Pi}from"./wYohQiph.js";import{t as Fi}from"./BvHF-Z-c.js";import{a as Ii,i as Li}from"./DJBZZkxI.js";import{a as Ri,r as zi,t as Bi}from"./wYGZ1W5f.js";import{t as Vi}from"./704AOQgv.js";import{a as Hi,i as Ui,n as Wi,o as Gi,r as Ki,t as qi}from"./ByOYBmCq.js";import{n as Ji,t as Yi}from"./CgjA3YY0.js";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),t.credentials=e.crossOrigin===`use-credentials`?`include`:e.crossOrigin===`anonymous`?`omit`:`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})(),`global`in globalThis||(globalThis.global=globalThis);function Xi(e=Be()){let t=e;t&&!t.sp&&(t.sp=[])}var Zi=Ae({docsBase:je,reporters:ge});function Qi(e,t){return t&&typeof e==`function`&&(e.key=t),e}var $i=/\\/g,ea=/</g,ta=/"/g,na=/%\w+(?:\.\w+)?/g,ra=`%separator`;function ia(e,t,n=!1){let r;if(t===`s`||t===`pageTitle`)r=e.pageTitle;else if(t.includes(`.`)){let n=t.indexOf(`.`);r=e[t.substring(0,n)]?.[t.substring(n+1)]}else r=e[t];if(r!==void 0){let e=String(typeof r==`number`?r:r||``);return n?e.replace($i,`\\\\`).replace(ea,`\\u003C`).replace(ta,`\\"`):e}}function aa(e,t,n,r=!1){if(typeof e!=`string`||!e.includes(`%`))return e;let i=e;try{i=decodeURI(e)}catch{}let a=i.match(na);if(!a)return e;let o=e.includes(ra);return e=e.replace(na,e=>{if(e===ra||!a.includes(e))return e;let n=ia(t,e.slice(1),r);return n===void 0?e:n}).trim(),o&&(e=e.split(ra).map(e=>e.trim()).filter(e=>e!==``).join(n?` ${n} `:` `)),e}var oa=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,sa=e=>e.includes(`:key`)?e:e.split(`:`).join(`:key:`),ca=Qi({key:`aliasSorting`,hooks:{"tags:resolve":e=>{let t=!1;for(let n of e.tags){let r=n.tagPriority;if(!r)continue;let i=String(r);if(i.startsWith(`before:`)){let r=sa(i.slice(7)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p-1,t=!0)}else if(i.startsWith(`after:`)){let r=sa(i.slice(6)),a=e.tagMap.get(r);a&&(typeof a.tagPriority==`number`&&(n.tagPriority=a.tagPriority),n._p=a._p+1,t=!0)}}t&&(e.tags=e.tags.sort(oa))}}}),la=Qi({key:`deprecations`,hooks:{"entries:normalize":({tags:e})=>{for(let t of e)t.props.children&&(t.innerHTML=t.props.children,delete t.props.children),t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),`body`in t.props&&(t.props.body&&(t.tagPosition=`bodyClose`),delete t.props.body),t.props.renderPriority!=null&&(t.tagPriority=t.props.renderPriority,delete t.props.renderPriority)}}});function ua(e){return typeof e?.then==`function`}var da=256;function fa(e,t){if(t===e.length)return;if(t===da){let n=Array(e.length),r=!1;for(;t<e.length;t++){let i=ma(e[t]);n[t]=i,r||=ua(i)}return r?n:void 0}let n=ma(e[t]);if(ua(n)){let r=Array(e.length);r[t]=n;for(let n=t+1;n<e.length;n++)r[n]=ma(e[n]);return r}let r=fa(e,t+1);return r&&(r[t]=n),r}function pa(e,t,n){if(n===t.length)return;if(n===da){let r=Array(t.length),i=!1;for(;n<t.length;n++){let a=ma(e[t[n]]);r[n]=a,i||=ua(a)}return i?r:void 0}let r=ma(e[t[n]]);if(ua(r)){let i=Array(t.length);i[n]=r;for(let r=n+1;r<t.length;r++)i[r]=ma(e[t[r]]);return i}let i=pa(e,t,n+1);return i&&(i[n]=r),i}function ma(e){if(typeof e==`function`)return e;if(ua(e))return Promise.resolve(e).then(ma);if(Array.isArray(e)){let t=fa(e,0);return t?Promise.all(t):e}if(e?.constructor===Object){let t=Object.keys(e),n=pa(e,t,0);if(n)return Promise.all(n).then(e=>Object.fromEntries(t.map((t,n)=>[t,e[n]])))}return e}var ha=Qi(e=>{let t=new WeakMap;return{key:`promises`,hooks:{"entries:resolve":n=>{for(let r=n.entries.length-1;r>=0;r--){let i=n.entries[r],a=i.input;if(t.get(i)===a){n.entries.splice(r,1);continue}let o=ma(a);ua(o)?(t.set(i,a),n.entries.splice(r,1),Promise.resolve(o).then(n=>{t.get(i)===a&&(t.delete(i),i.input=n,delete i._tags,e.invalidate?.())},()=>{t.get(i)===a&&t.delete(i)})):t.delete(i)}}}}},`promises`),ga={meta:`content`,link:`href`,htmlAttrs:`lang`},_a=[`innerHTML`,`textContent`];function va(e,t,n,r=!1){return typeof e==`string`&&e.includes(`%`)?aa(e,t,n,r):e}var ya=Qi(e=>({key:`template-params`,hooks:{"tags:resolve":({tagMap:t,tags:n})=>{let r=t.get(`templateParams`)?.props||{},i=r.separator||`|`;delete r.separator,r.pageTitle=va(r.pageTitle||e._title||``,r,i);for(let e of n){if(e.processTemplateParams===!1)continue;let t=ga[e.tag];if(t&&typeof e.props[t]==`string`)e.props[t]=va(e.props[t],r,i);else if(e.processTemplateParams||e.tag===`titleTemplate`||e.tag===`title`)for(let t of _a)typeof e[t]==`string`&&(e[t]=va(e[t],r,i,e.tag===`script`&&typeof e.props.type==`string`&&e.props.type.endsWith(`json`)))}e._templateParams=r,e._separator=i},"tags:afterResolve":({tagMap:t})=>{let n=t.get(`title`);n?.textContent&&n.processTemplateParams!==!1&&(n.textContent=va(n.textContent,e._templateParams,e._separator))}}}),`template-params`),ba=new Set([`link`,`style`,`script`,`noscript`]),xa=new Set([`title`,`titleTemplate`,`script`,`style`,`noscript`]),Sa=new Set([`base`,`meta`,`link`,`style`,`script`,`noscript`]),Ca=new Set([`title`,`base`,`htmlAttrs`,`bodyAttrs`,`meta`,`link`,`style`,`script`,`noscript`]),wa=new Set([`base`,`title`,`titleTemplate`,`bodyAttrs`,`htmlAttrs`,`templateParams`]),Ta=new Set([`key`,`tagPosition`,`tagPriority`,`tagDuplicateStrategy`,`innerHTML`,`textContent`,`processTemplateParams`]),Ea=new Set([`templateParams`,`htmlAttrs`,`bodyAttrs`]),Da=new Set([`theme-color`,`google-site-verification`,`author`,`og:locale:alternate`,`og:image`,`og:video`,`og:audio`,`article:author`,`article:tag`,`book:author`,`book:tag`,`twitter:image`]),Oa={critical:-8,high:-1,low:2},ka=e=>typeof e==`number`?Number.isFinite(e):e;function Aa(e){return e===`__proto__`||e===`constructor`||e===`prototype`}function ja(e){let t=new me;for(let n in e||{})t.hook(n,e[n]);return t}function Ma(e,t,n){if(e.hooks?._hooks?.[t]?.length)return e.hooks?.callHook(t,n)}var Na=/^(?:viewport|description|keywords|robots)$/,Pa=[`name`,`property`,`http-equiv`];function Fa(e){let t=e.indexOf(`:`);if(t===-1)return!1;let n=e.slice(t+1);return Da.has(n)||n.startsWith(`og:image:`)||n.startsWith(`og:video:`)||n.startsWith(`og:audio:`)||n.startsWith(`twitter:image:`)}function Ia(e){let{props:t,tag:n,key:r}=e;if(wa.has(n))return n;if(n===`link`){if(t.rel===`canonical`)return`canonical`;if(t.rel===`alternate`&&t.hreflang)return`alternate:${t.hreflang}`}if(t.charset)return`charset`;if(n===`meta`)for(let e of Pa){let n=t[e];if(n!==void 0)return`meta:${n}${(typeof n!=`string`||!n.includes(`:`))&&!Na.test(n)&&r?`:key:${r}`:``}`}return r?`${n}:key:${r}`:t.id?`${n}:id:${t.id}`:n===`link`&&t.rel&&t.href?`link:${t.rel}:${t.href}`:xa.has(n)&&(e.textContent||e.innerHTML)?`${n}:content:${e.textContent||e.innerHTML}`:void 0}function La(e){let t=e._h||e._d||e.textContent||e.innerHTML;if(t)return String(t);let n=Object.keys(e.props).sort(),r=`${e.tag}:`,i=``;for(let t of n)r+=`${i}${t}:${String(e.props[t])}`,i=`,`;return r}function Ra(e,t,n){if(n===`_resolver`)return e;typeof e==`function`&&(!n||n!==`titleTemplate`&&!n.startsWith(`on`))&&(e=e());let r=t?t(n,e):e;if(Array.isArray(r)){let e;for(let n=0;n<r.length;n++){let i=Ra(r[n],t);e?e[n]=i:i!==r[n]&&(e=r.slice(0,n),e[n]=i)}return e||r}if(r?.constructor===Object){let e;for(let n in r){let i=Aa(n),a=i?void 0:Ra(r[n],t,n);if(!e&&(i||a!==r[n])){e={};for(let t in r){if(t===n)break;e[t]=r[t]}}e&&!i&&(e[n]=a)}return e||r}return r}var za=/[\s"'<>/=\x00-\x1F\x7F]/;function Ba(e,t){let n=e===`style`,r=n?new Map:new Set,i=e=>{if(e){if(n){let t=e.indexOf(`:`);t>0&&r.set(e.slice(0,t).trim(),e.slice(t+1).trim())}else e.split(` `).forEach(e=>e&&r.add(e))}};if(typeof t==`string`)(n?t.split(`;`):[t]).forEach(i);else if(Array.isArray(t))t.forEach(i);else if(t&&typeof t==`object`)for(let e in t){let a=t[e];a&&a!==`false`&&(n?r.set(e.trim(),String(a)):i(e))}return r}function Va(e,t){if(e.props=e.props||{},!t)return e;if(e.tag===`templateParams`)return e.props=t,e;let n=Sa.has(e.tag)||e.tag===`htmlAttrs`||e.tag===`bodyAttrs`;for(let r in t){if(Aa(r))continue;let i=r.startsWith(`data-`),a=n&&!Ta.has(r),o=a&&!i?r.toLowerCase():r;if(a&&(!o||za.test(o)))continue;let s=t[r];if(s===null)e.props[o]=null;else if(r===`class`||r===`style`)e.props[r]=Ba(r,s);else if(Ta.has(r)){if((r===`textContent`||r===`innerHTML`)&&typeof s==`object`){let n=t.type||`application/json`;(n.endsWith(`json`)||n===`speculationrules`||n===`importmap`)&&(e.props.type=n,e[r]=JSON.stringify(s))}else e[r]=s}else if(s!==void 0){let t=String(s),n=e.tag===`meta`&&o===`content`;e.props[o]=t===`true`||t===``?i||n?t:!0:!s&&i&&t===`false`?`false`:s}}return e}function Ha(e,t){let n;return t.length&&(n=(e,n)=>{for(let r=0;r<t.length;r++)n=t[r](e,n);return n},e=n(void 0,e)),Ra(e,n)}function Ua(e,t){let n=Va({tag:e,props:{}},typeof t==`object`&&typeof t!=`function`?t:{[e===`script`||e===`noscript`||e===`style`?`innerHTML`:`textContent`]:t});if(n.key&&ba.has(n.tag)&&(n.props[`data-hid`]=n._h=n.key),n.tag===`script`&&typeof n.innerHTML==`object`&&(n.innerHTML=JSON.stringify(n.innerHTML),n.props.type=n.props.type||`application/json`),Array.isArray(n.props.content)){let e=[];for(let t of n.props.content)e.push({...n,props:{...n.props,content:t}});return e}return n}function Wa(e,t){if(Array.isArray(t))for(let n of t)e.push(n);else e.push(t)}function Ga(e,t){if(!e)return[];typeof e==`function`&&(e=e()),e=Ha(e,t);let n=[];for(let t in e){let r=e[t];if(r!==void 0){if(Array.isArray(r))for(let e of r)Wa(n,Ua(t,e));else Wa(n,Ua(t,r))}}return n}var Ka=/</g,qa=/<\/script/g,Ja=(e,t)=>e._w===t._w?e._p-t._p:e._w-t._w,Ya=()=>100;function Xa(e){for(let t in e)return!1;return!0}var Za=/^tags:|:render/;function Qa(e,t){let n=(t[`entries:resolve`]?.length||0)+(t[`entries:normalize`]?.length||0);if(e._h!==n){e._h=n;for(let t of e.entries.values())delete t._tags}}function $a(e){for(let t=0;t<e.length;t++){let n=e[t],r={...n.props};r.class instanceof Set&&(r.class=new Set(r.class)),r.style instanceof Map&&(r.style=new Map(r.style)),e[t]={...n,props:r}}}function eo(e,t){let n=e.tags,r=0;for(let t of e.tagMap.values())if(Array.isArray(t))for(let e of t)n[r++]=e;else n[r++]=t;n.length=r,t&&n.sort(Ja)}function to(e){let t=!1;for(let n of e.tags.sort(Ja)){let r=n._d||La(n);if(!r)continue;let i=e.tagMap.get(r);if(!i)e.tagMap.set(r,n);else if((n.tagDuplicateStrategy||(Ea.has(n.tag)?`merge`:null)||(n.key&&n.key===i.key?`merge`:null))===`merge`){let t={...i.props};for(let e in n.props)t[e]=e===`style`?new Map([...i.props.style||new Map,...n.props[e]]):e===`class`?new Set([...i.props.class||[],...n.props[e]]):n.props[e];e.tagMap.set(r,{...n,props:t})}else n._p>>10==i._p>>10&&n.tag===`meta`&&Fa(r)?(e.tagMap.set(r,Object.assign([...Array.isArray(i)?i:[i],n],n)),t=!0):(n._w===i._w?n._p>i._p:n._w<i._w)&&e.tagMap.set(r,n)}return t}function no(e,t){let n=e.tagMap.get(`title`),r=e.tagMap.get(`titleTemplate`);if(t._title=n?.textContent,!r)return;let i=r.textContent;if(t._titleTemplate=i,!i)return;let a=typeof i==`function`?i(n?.textContent):i;typeof a==`string`&&!t.plugins.has(`template-params`)&&(a=a.replace(`%s`,n?.textContent||``)),n?a===null?e.tagMap.delete(`title`):e.tagMap.set(`title`,{...n,textContent:a}):e.tagMap.set(`titleTemplate`,{...r,tag:`title`,textContent:a})}function ro(e){let t=0;for(let n of e){let{innerHTML:r,tag:i,props:a}=n;if(Ca.has(i)&&(!Xa(a)||ka(r)||ka(n.textContent))&&(i!==`meta`||ka(a.content)||a[`http-equiv`]||a.charset)){if(i===`script`&&(r||n.textContent)){let e=String(a.type),t=e.endsWith(`json`)||e===`importmap`||e===`speculationrules`,i=e=>t?(typeof e==`string`?e:JSON.stringify(e)).replace(Ka,`\\u003C`):typeof e==`string`?e.replace(qa,`<\\/script`):e;n={...n},r&&(n.innerHTML=i(r)),n.textContent&&(n.textContent=i(n.textContent)),n._d=Ia(n)}e[t++]=n}}return e.length=t,e}function io(e,t){let n=t?.tagWeight??e.resolvedOptions._tagWeight??Ya,r={tagMap:new Map,tags:[]},i=e.hooks?._hooks||{};Qa(e,i);for(let t of e.entries.values())t._pending!==void 0&&(t.input=t._pending,delete t._pending,delete t._tags,delete t._precomputedTags);let a;(i[`entries:resolve`]?.length||i[`entries:normalize`]?.length)&&(a=[...e.entries.values()],i[`entries:resolve`]?.length&&Ma(e,`entries:resolve`,{entries:a,...r})),Qa(e,i);for(let t of a||e.entries.values()){let a=t._tags;if(!a){if(t._precomputedTags&&n===e.resolvedOptions._tagWeight&&!i[`entries:normalize`]?.length&&!i[`entries:resolve`]?.length&&(!t.options||Xa(t.options)))a=t._precomputedTags;else{if(a=Ga(t.input,e.resolvedOptions.propResolvers||[]),t.options&&!Xa(t.options))for(let e of a)Object.assign(e,t.options);if(i[`entries:normalize`]?.length){let n={tags:a,entry:t};Ma(e,`entries:normalize`,n),a=n.tags}for(let e=0;e<a.length;e++){let r=a[e];r._w=n(r),r._p=(t._i<<10)+e,r._d=Ia(r),r._d||(r._h=La(r))}t._tags=a}}r.tags.push(...a)}for(let e in i)if(i[e]?.length&&Za.test(e)){$a(r.tags);break}let o=to(r);return no(r,e),eo(r,o),Ma(e,`tags:beforeResolve`,r),Ma(e,`tags:resolve`,r),Ma(e,`tags:afterResolve`,r),ro(r.tags)}var ao=`usehead`;function oo(){if(Le()){let e=ze(ao);if(e)return e}throw Error(`useHead() was called without provide context, ensure you call it through the setup() function.`)}function so(e){return{install(t){t.config.globalProperties.$unhead=e,t.config.globalProperties.$head=e,t.provide(ao,e)}}.install}var co=Object.assign((e,t)=>xt(t)?Ie(t):t,{_static:!0});function lo(e,t={}){let n=t.head||oo();return n.ssr?n.push(e||{},t):uo(n,e,t)}function uo(e,t,n={}){let r=Je();if(r&&!r.active)return{patch(){},dispose(){},_i:-1};let i=Ct(!1);if(n.onRendered&&r){let e=n.onRendered;n={...n,onRendered:t=>r.run(()=>e(t))}}let a;return We(()=>{let r=i.value?{}:Ra(t,co);a?a.patch(r):a=e.push(r,n)}),Be()?(ot(()=>{a.dispose()}),pt(()=>{i.value=!0}),dt(()=>{i.value=!1})):r&&mt(()=>a.dispose()),a}function fo(e,t){if(typeof t==`function`&&t.key&&e.plugins.has(t.key))return;let n=typeof t==`function`?t(e):t,r=n.key||String(e.plugins.size+1);if(!e.plugins.get(r)){e.plugins.set(r,n);for(let t in n.hooks||{})e.hooks?.hook(t,n.hooks[t])}}function po(e,t={}){let n=!t.document,r=new Map,i={_entryCount:1,_h:0,plugins:new Map,resolvedOptions:t,ssr:n,entries:r,hooks:void 0,render:()=>e(i),use:e=>fo(i,e),push(e,t){let a=t?._index??i._entryCount++,o=t?{...t}:{};delete o.head,delete o.onRendered,delete o._index;let s={_i:a,input:e,options:o};return r.set(a,s),{_i:a,dispose(){r.delete(a)},patch(e){n?(s.input=e,delete s._tags):s._pending=e,r.has(a)||r.set(a,s)}}}};return t.init?.forEach(e=>e&&i.push(e)),i}function mo(e){let t=e||De();return t.ssrContext?.head||t.runWithContext(()=>{if(Le()){let e=ze(`usehead`);if(!e)throw Zi.NUXT_E6001();return e}})}function ho(e,t={}){return lo(e,{head:t.head||mo(t.nuxt),...t})}var go=Ae({docsBase:je,reporters:ge}),_o=Ae({docsBase:je,reporters:ge}),vo=()=>({}),yo=`modulepreload`,bo=function(e,t){return new URL(e,t).href},xo={},So=function(e){return e.pathname.endsWith(`.css`)},Co=function(e,t,n){if(t in e)return e[t];let r=n();if(!r){e[t]=void 0;return}let i=r.then(()=>{e[t]=void 0},n=>{throw e[t]=void 0,n});return e[t]=i,i},wo=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e,i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}function s(e){return import.meta.resolve?new URL(import.meta.resolve(e)):new URL(e,import.meta.url)}r=o(t.map(t=>{t=bo(t,n);let r=s(t),i=So(r);return Co(xo,r.href,()=>{if(e===void 0){e={all:new Set,styles:new Set};let t=document.getElementsByTagName(`link`);for(let n=t.length-1;n>=0;n--){let r=t[n];e.all.add(r.href),r.rel===`stylesheet`&&e.styles.add(r.href)}}if((i?e.styles:e.all).has(r.href))return;let t=document.createElement(`link`);if(t.rel=i?`stylesheet`:yo,i||(t.as=`script`),t.crossOrigin=``,t.href=r.href,a&&t.setAttribute(`nonce`,a),document.head.appendChild(t),i)return new Promise((e,n)=>{t.addEventListener(`load`,e),t.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${r}`)))})})}).filter(e=>e!==void 0))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},To=hn;function Eo(e){return vo(e)}var Do;function Oo(){let e;return e=To(_n(`builds/meta/${_e().app.buildId}.json`),{responseType:`json`}).then(e=>{if(!e||typeof e!=`object`||!Array.isArray(e.prerendered))throw _o.NUXT_E5004();return e}),Do=e,e.catch(t=>{Do===e&&(Do=void 0),_o.NUXT_E5002({cause:t})}),e}function ko(){return Do||Oo()}function Ao(e){let t=typeof e==`string`?e:e.path;try{return Eo(t)}catch(e){return _o.NUXT_E5003({path:t,cause:e}),{}}}function jo(e,t){De()._payloadRevivers[e]=t}var Mo=he(()=>{jo(`skipHydrate`,e=>void 0)}),No={collapse:`mdi-chevron-up`,complete:`mdi-check`,cancel:`mdi-close-circle`,close:`mdi-close`,delete:`mdi-close-circle`,clear:`mdi-close-circle`,success:`mdi-check-circle`,info:`mdi-information`,warning:`mdi-alert-circle`,error:`mdi-close-circle`,prev:`mdi-chevron-left`,next:`mdi-chevron-right`,checkboxOn:`mdi-checkbox-marked`,checkboxOff:`mdi-checkbox-blank-outline`,checkboxIndeterminate:`mdi-minus-box`,delimiter:`mdi-circle`,sortAsc:`mdi-arrow-up`,sortDesc:`mdi-arrow-down`,expand:`mdi-chevron-down`,menu:`mdi-menu`,subgroup:`mdi-menu-down`,dropdown:`mdi-menu-down`,radioOn:`mdi-radiobox-marked`,radioOff:`mdi-radiobox-blank`,edit:`mdi-pencil`,ratingEmpty:`mdi-star-outline`,ratingFull:`mdi-star`,ratingHalf:`mdi-star-half-full`,loading:`mdi-cached`,first:`mdi-page-first`,last:`mdi-page-last`,unfold:`mdi-unfold-more-horizontal`,file:`mdi-paperclip`,plus:`mdi-plus`,minus:`mdi-minus`,calendar:`mdi-calendar`,treeviewCollapse:`mdi-menu-down`,treeviewExpand:`mdi-menu-right`,tableGroupCollapse:`mdi-chevron-down`,tableGroupExpand:`mdi-chevron-right`,eyeDropper:`mdi-eyedropper`,upload:`mdi-cloud-upload`,color:`mdi-palette`,command:`mdi-apple-keyboard-command`,ctrl:`mdi-apple-keyboard-control`,space:`mdi-keyboard-space`,shift:`mdi-apple-keyboard-shift`,alt:`mdi-apple-keyboard-option`,enter:`mdi-keyboard-return`,arrowup:`mdi-arrow-up`,arrowdown:`mdi-arrow-down`,arrowleft:`mdi-arrow-left`,arrowright:`mdi-arrow-right`,backspace:`mdi-backspace`,play:`mdi-play`,pause:`mdi-pause`,fullscreen:`mdi-fullscreen`,fullscreenExit:`mdi-fullscreen-exit`,volumeHigh:`mdi-volume-high`,volumeMedium:`mdi-volume-medium`,volumeLow:`mdi-volume-low`,volumeOff:`mdi-volume-variant-off`,search:`mdi-magnify`},Po={component:e=>Ne(Xn,{...e,class:`mdi`})};function Fo(){return{defaultSet:`mdi`,aliases:No,sets:{mdi:Po}}}function Io(e){{let t=Fo();if(t?.defaultSet===`custom`)return;e.icons=t}}var Lo=Se({name:`vuetify:icons:plugin`,order:-25,parallel:!0,setup(e){e.hook(`vuetify:configuration`,({vuetifyOptions:e})=>{Io(e)})}});function Ro(e,t){t.push(Ce),e.vueApp.use(t);let n=!0,r=()=>{n=!1,t.render()};t.hooks?.hook(`dom:beforeRender`,e=>{e.shouldRender=!n}),e.hooks.hook(`page:start`,()=>{n=!0}),e.hooks.hook(`page:finish`,()=>{e.isHydrating||r()}),e.hooks.hook(`app:error`,r),e.hooks.hook(`app:suspense:resolve`,r);let i=t.push.bind(t);t.push=((t,n)=>{let r=i(t,n),a=r.dispose.bind(r);return r.dispose=()=>{let t=e[`~transitionPromise`];t?t.finally(a):a()},r})}function zo(e,t,n){let r=e.push,i=e;i.ssr=!1,i.hooks=t,i.dirty=!!i.dirty,i.use=e=>fo(i,e),i.render=()=>n(i);function a(){t.callHook(`entries:updated`,i),i._b||i.render()}return i.invalidate=()=>{for(let e of i.entries.values())delete e._tags;i.dirty=!0,a()},i.push=(n,o)=>{let s=o?.onRendered?t.hook(`dom:rendered`,o.onRendered):void 0,c=r(n,o),l=e.entries.get(c._i);return l&&(l._o=n),i.dirty=!0,a(),{_i:c._i,patch(e){c.patch(e),i.dirty=!0,a()},dispose(){s?.(),e.entries.has(c._i)&&(c.dispose(),i.invalidate())}}},i}var Bo=/\s+/;function Vo(e={}){return t=>Wo(t,e)}function Ho(e){for(let t of e.entries.values())if(t._pending!==void 0)return!0;return!1}function Uo(e,t){let n={_d:t,_t:t.title,_e:new Map([[`htmlAttrs`,t.documentElement],[`bodyAttrs`,t.body]]),_p:{},_s:{},_l:new Map};for(let t of e.entries.values())if(t._o!==void 0){let e=t._o;for(let t of[`bodyAttrs`,`htmlAttrs`]){let r=e[t]?.class;if(typeof r==`string`){let e=n._e.get(t);for(let i of r.split(Bo))i&&(n._p[`${t}:attr:class:${i}`]=()=>e.classList.remove(i))}}}return n}function Wo(e,t={}){let n=t.document||e.resolvedOptions.document,r=e._dom;if(!n||e._du||r&&r._d===n&&!e.dirty&&!Ho(e))return!1;let i=n.defaultView;e._du=!0;let a=!1;try{let o=function(e,t,n){d._s[e]=!n&&f[e]||t,delete f[e]},s=function(e,t,n,r,i,a){let s=`${e}:event:${t}`,c=d._l.get(s);if(c&&c[0]===a&&c[1]===n&&c[2]===r){o(s,c[4]);return}c?.[4]();let l=`data-${t}`,u=(e=>r.call(i,e)),f=()=>{a.removeEventListener(n,u),i.getAttribute(l)===``&&i.removeAttribute(l),d._l.get(s)?.[3]===u&&d._l.delete(s)};a.addEventListener(n,u),d._l.set(s,[a,n,r,u,f]),i.setAttribute(l,``),o(s,f,!0)},c=function({id:e,$el:t,tag:n}){if(d._e.set(e,t),!n.tag.endsWith(`Attrs`)){let r=n.textContent;r!=null&&r!==``&&(r!==t.textContent&&(t.textContent=r),o(`${e}:text`,()=>{t.textContent===r&&(t.textContent=``)},!0));let i=n.innerHTML;i!=null&&i!==``&&(i!==t.innerHTML&&(t.innerHTML=i),o(`${e}:html`,()=>{t.innerHTML===i&&(t.innerHTML=``)},!0));let a=`${e}:el`;o(a,f[a]||(()=>{t?.remove(),d._e.delete(e)}))}for(let r in n.props){let a=n.props[r];if(r[0]===`o`&&r[1]===`n`&&typeof a==`function`){let o=r.slice(2);t?.dataset?.[`${r}fired`]&&a.call(t,new((i?.Event)||Event)(o)),s(e,r,o,a,t,n.tag===`bodyAttrs`&&i?i:t);continue}let c=`${e}:attr:${r}`;if(r===`class`&&a)for(let e of a){let n=`${c}:${e}`;o(n,f[n]||(()=>t.classList.remove(e))),t.classList.contains(e)||t.classList.add(e)}else if(r===`style`&&a)for(let[e,n]of a){let r=`${c}:${e}`;o(r,f[r]||(()=>t.style.removeProperty(e))),t.style.setProperty(e,n)}else a!==!1&&a!==null&&(t.getAttribute(r)!==a&&t.setAttribute(r,a===!0?``:String(a)),o(c,f[c]||(()=>t.removeAttribute(r))))}},l={shouldRender:!0,tags:[]};if(Ma(e,`dom:beforeRender`,l),!l.shouldRender)return!1;let u=r;if(u?._d!==n){if(u){for(let e in u._s)u._s[e]();for(let e in u._p)u._p[e]();u._s=u._p={},u._e.clear(),u._l.clear()}u=void 0}u?u._p=u._s:u=Uo(e,n),u._s={};let d=u,f=d._p,p=[],m={};e.dirty=!1;let h=io(e,t.tagWeight?{tagWeight:t.tagWeight}:void 0),g=[],_={};for(let e of h){let t=_[e._d]||0,r=(t?`${e._d}:${t}`:e._d)||e._h,i={tag:e,id:r,shouldRender:!0};e.tag===`meta`&&e._d&&Fa(e._d)&&(_[e._d]=t+1),g.push(i),e.tag===`title`?(n.title=e.textContent,o(`title:`,()=>n.title=d._t)):(i.$el=d._e.get(r),i.$el?c(i):Sa.has(e.tag)&&p.push(i))}if(p.length){let e=new Set(d._e.values());for(let t of[...n.body.children,...n.head.children]){let n=t.tagName.toLowerCase();if(!Sa.has(n)||e.has(t))continue;let r={innerHTML:t.innerHTML};for(let e of t.getAttributeNames())r[e]=t.getAttribute(e);let i=Va({tag:n,props:{}},r);i.key=t.getAttribute(`data-hid`)||void 0;let a=Ia(i)||La(i),o=a,s=1;for(;d._e.has(o);)o=`${a}:${s++}`;d._e.set(o,t)}}for(let e of p){let t=d._e.get(e.id);e.$el=t||n.createElement(e.tag.tag),c(e),t||(m[e.tag.tagPosition||`head`]??=n.createDocumentFragment()).appendChild(e.$el)}m.head&&n.head.appendChild(m.head),m.bodyOpen&&n.body.insertBefore(m.bodyOpen,n.body.firstChild),m.bodyClose&&n.body.appendChild(m.bodyClose);for(let e in f)f[e]();e._dom=d,a=!0,Ma(e,`dom:rendered`,{renders:g})}catch(t){throw e.dirty=!0,t}finally{e._du=!1}return a&&(e.dirty||Ho(e))&&Wo(e,t),a}var Go=e=>typeof e.tagPriority==`number`?e.tagPriority:100+(Oa[e.tagPriority]||0);function Ko(e={}){e.document=e.document||(typeof window<`u`?document:void 0);let t=e.render||Vo({document:e.document}),n=zo(po(t,{document:e.document,propResolvers:e.propResolvers,_tagWeight:Go,init:[]}),ja(e.hooks),t);return e.plugins?.forEach(e=>n.use(e)),e.init?.forEach(e=>e&&n.push(e)),n}function qo(e={}){let t=Vo(),n,r=0;return n=Ko({render:()=>{let e=++r;setTimeout(()=>{e===r&&t(n)},0)},...e}),n.install=so(n),n}var Jo={disableDefaults:!0,plugins:[la,ha,ya,ca]},Yo=Se({name:`nuxt:head`,enforce:`pre`,setup(e){Ro(e,qo(Jo))}}),Xo=/(:\w+)\([^)]+\)/g,Zo=/(:\w+)[?+*]/g,Qo=/:\w+/g,$o=(e,t)=>t.path.replace(Xo,`$1`).replace(Zo,`$1`).replace(Qo,t=>e.params[t.slice(1)]?.toString()||``),es=(e,t)=>{let n=e.route.matched.find(t=>t.components?.default===e.Component.type),r=t??n?.meta.key??(n&&$o(e.route,n));return typeof r==`function`?r(e.route):r},ts=(e,t)=>({default:()=>e?Ne(_t,e===!0?{}:e,t):t});function ns(e){return Array.isArray(e)?e:[e]}var rs=()=>location.protocol+`//`+location.host;function is(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),dr(n,``)}return dr(n,e)+r+i}function as(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=is(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:`pop`,direction:u?u>0?`forward`:`back`:``})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){let{history:e}=window;e.state&&e.replaceState(I({},e.state,{scroll:Ar()}),``)}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),{pauseListeners:c,listen:l,destroy:d}}function ss(e,t,n,r=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:null}}function cs(e){let{history:t,location:n}=window,r={value:is(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:rs()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){let o=I({},t.state,ss(i.value.back,e,i.value.forward,!0),n,{position:i.value.position});a(e,o,!0),Cr(o.position,!0),r.value=e}function s(e,n){let o=I({},i.value,t.state,{forward:e,scroll:Ar()});a(o.current,o,!0),a(e,I({},ss(r.value,e,null),{position:o.position+1},n),!1),Cr(o.position),r.value=e}return{location:r,state:i,push:s,replace:o}}function ls(e){e=Lr(e);let t=cs(e),n=as(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=I({location:``,base:e,go:r,createHref:Nr.bind(null,e)},t,n);return Object.defineProperty(i,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,"state",{enumerable:!0,get:()=>t.state.value}),i}var us={type:0,value:``},ds=/[a-zA-Z0-9_]/;function fs(e){if(!e)return[[]];if(e===`/`)return[[us]];if(!ur(e))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=0,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===0?a.push({type:0,value:l}):n===1||n===2||n===3?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:1,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;)switch(c=e[s++],n){case 0:c===`\\`?(r=n,n=4):c===`/`?(l&&d(),o()):c===`:`?(d(),n=1):f();break;case 4:f(),n=r;break;case 1:c===`(`?n=2:ds.test(c)?f():(d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case 2:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=3:u+=c;break;case 3:d(),n=0,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`)}return n===2&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var ps=`[^/]+?`,ms={sensitive:!1,strict:!1,start:!0,end:!0},hs=/[.+*?^${}()[\]/\\]/g;function gs(e,t){let n=I({},ms,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[90];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=40+(n.sensitive?.25:0);if(o.type===0)r||(i+=`/`),i+=o.value.replace(hs,`\\$&`),s+=40;else if(o.type===1){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||ps;if(u!==ps){s+=10;try{RegExp(`(${u})`)}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=20,c&&(s+=-8),n&&(s+=-20),u===`.*`&&(s+=-50)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=.7000000000000001}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===0)n+=e.value;else if(e.type===1){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(fr(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=fr(c)?c.join(`/`):c;if(!l){if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`)}n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function _s(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function vs(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=_s(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(ys(r))return 1;if(ys(i))return-1}return i.length-r.length}function ys(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var bs={strict:!1,end:!0,sensitive:!1};function xs(e,t,n){let r=gs(fs(e.path),n),i=I(r,{record:e,parent:t,children:[],alias:[]});return t&&!i.record.aliasOf==!t.record.aliasOf&&t.children.push(i),i}function Ss(e,t){let n=[],r=new Map;t=cr(bs,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=ws(e);s.aliasOf=r&&r.record;let l=cr(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(ws(I({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&!ur(u)){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=xs(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Es(d)&&o(e.name)),As(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:pr}function o(e){if(kr(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Os(e,n);n.splice(t,0,e),e.record.name&&!Es(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw lr(1,{location:e});s=i.record.name,a=I(Cs(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&Cs(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name,i.keys.forEach(e=>{e.optional&&!a[e.name]&&delete a[e.name]}));else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw lr(1,{location:e,currentLocation:t});s=i.record.name,a=I({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Ds(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function Cs(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function ws(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ts(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:`components`in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Ts(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Es(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Ds(e){return e.reduce((e,t)=>I(e,t.meta),{})}function Os(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;vs(e,t[i])<0?r=i:n=i+1}let i=ks(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function ks(e){let t=e;for(;t=t.parent;)if(As(t)&&vs(e,t)===0)return t}function As({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function js(e){let t=ze(tr),n=ze(Br),r=P(()=>{let n=M(e.to);return t.resolve(n)}),i=P(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(yr.bind(null,i));if(o>-1)return o;let s=Is(e[t-2]);return t>1&&Is(i)===s&&a[a.length-1].path!==s?a.findIndex(yr.bind(null,e[t-2])):o}),a=P(()=>i.value>-1&&Fs(n.params,r.value.params)),o=P(()=>i.value>-1&&i.value===n.matched.length-1&&wr(n.params,r.value.params));function s(n={}){if(Ps(n)){let n=t[M(e.replace)?`replace`:`push`](M(e.to)).catch(pr);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:P(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function Ms(e){return e.length===1?e[0]:e}var Ns=st({name:`RouterLink`,compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:`page`},viewTransition:Boolean},useLink:js,setup(e,{slots:t}){let n=nt(js(e)),{options:r}=ze(tr),i=P(()=>({[Ls(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[Ls(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&Ms(t.default(n));return e.custom?r:Ne(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function Ps(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&(e.button===void 0||e.button===0)){if(e.currentTarget&&e.currentTarget.getAttribute){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Fs(e,t){for(let n in t){let r=t[n],i=e[n];if(fr(r)){if(!fr(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}else if(r!==i)return!1}return!0}function Is(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var Ls=(e,t,n)=>e??t??n,Rs=st({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=ze(_r),i=P(()=>e.route||r.value),a=ze(vr,0),o=P(()=>{let e=M(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=P(()=>i.value.matched[o.value]);rt(vr,P(()=>o.value+1)),rt(sr,s),rt(_r,i);let c=new Set;rt(or,c);let l=Ct(),u=Fr,{app:d}=Be().appContext;return Re(()=>[l.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!yr(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,f=o&&o.components[a];if(!f)return zs(n.default,{Component:f,route:r});let p=o.props[a],m=p?p===!0?r.params:typeof p==`function`?p(r):p:null,h=e=>{e.component.isUnmounted&&(o.instances[a]=null)},g=e=>bt(()=>{if(u===r||i.value!==r||e.el.getRootNode()!==d._container.getRootNode())return;let t=u;u=r;for(let e of c)e(r,t)}),_=Ne(f,I({},m,t,{onVnodeUnmounted:h,onVnodeMounted:g,onVnodeUpdated:g,ref:l}));return zs(n.default,{Component:_,route:r})||_}}});function zs(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var Bs=Rs;function Vs(e){let t=e.matcher||Ss(e.routes,e),n=e.parseQuery||mr,r=e.stringifyQuery||ir,i=e.history,a=Dr(),o=Dr(),s=Dr(),c=Et(Fr),l=Et(0),u=Fr;Mr&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let d=er.bind(null,e=>``+e),f=er.bind(null,jr),p=er.bind(null,Er);function m(e,n){let r,i;kr(e)?(r=t.getRecordMatcher(e),i=n):i=e;let a=t.addRoute(i,r);return l.value++,()=>{a(),l.value++}}function h(e){let n=t.getRecordMatcher(e);n&&(t.removeRoute(n),l.value++)}function g(){t.clearRoutes(),l.value++}function _(){return t.getRoutes().map(e=>e.record)}function v(e){return!!t.getRecordMatcher(e)}function y(e,a){if(l.value,typeof e==`string`){a||=e.startsWith(`/`)?Fr:c.value;let r=nr(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return I(r,o,{params:p(o.params),redirectedFrom:void 0,href:s})}a=I({},a||(e.path!=null&&e.path.startsWith(`/`)&&!(`name`in e&&e.name)?Fr:c.value));let o;if(e.path!=null)o=I({},e,{path:nr(n,e.path,a.path).path});else{let t=I({},e.params);for(let e in t)t[e]??delete t[e];o=I({},e,{params:f(t)}),a.params=f(a.params)}let s=t.resolve(o,a),u=e.hash||``;s.params=d(p(s.params));let m=rr(r,I({},e,{hash:br(u),path:s.path})),h=i.createHref(m);return I({fullPath:m,hash:u,query:r===ir?zr(e.query):e.query||{}},s,{redirectedFrom:void 0,href:h})}function b(e){return typeof e==`string`?nr(n,e,c.value.path):I({},e)}function x(e,t){if(u!==e)return lr(8,{from:t,to:e})}function S(e){return T(e)}function C(e){return S(I(b(e),{replace:!0}))}function w(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=b(i):{path:i},i.params={}),I({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function T(e,t){let n=u=y(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,l=w(n,i);if(l)return T(I(b(l),{state:typeof l==`object`?I({},a,l.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Tr(r,i,n)&&(f=lr(16,{to:d,from:i}),le(i,i,!0,!1)),(f?Promise.resolve(f):te(d,i)).catch(e=>ar(e)?ar(e,2)?e:ce(e):O(e,d,i)).then(e=>{if(e){if(ar(e,2))return T(I({replace:s},b(e.to),{state:typeof e.to==`object`?I({},a,e.to.state):a,force:o}),t||d)}else e=re(d,i,!0,s,a);return ne(d,i,e),e})}function E(e,t){let n=x(e,t);return n?Promise.reject(n):Promise.resolve()}function ee(e){let t=fe.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function te(e,t){let n,[r,i,s]=Pr(e,t);n=xr(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(Sr(r,e,t))});let c=E.bind(null,e,t);return n.push(c),me(n).then(()=>{n=[];for(let r of a.list())n.push(Sr(r,e,t));return n.push(c),me(n)}).then(()=>{n=xr(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(Sr(r,e,t))});return n.push(c),me(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter){if(fr(r.beforeEnter))for(let i of r.beforeEnter)n.push(Sr(i,e,t));else n.push(Sr(r.beforeEnter,e,t))}return n.push(c),me(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=xr(s,`beforeRouteEnter`,e,t,ee),n.push(c),me(n))).then(()=>{n=[];for(let r of o.list())n.push(Sr(r,e,t));return n.push(c),me(n)}).catch(e=>ar(e,8)?e:Promise.reject(e))}function ne(e,t,n){s.list().forEach(r=>ee(()=>r(e,t,n)))}function re(e,t,n,r,a){let o=x(e,t);if(o)return o;let s=t===Fr,l=Mr?history.state:{};n&&(r||s?i.replace(e.fullPath,I({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,le(e,t,n,s),ce()}let ie;function D(){ie||=i.listen((e,t,n)=>{if(!pe.listening)return;let r=y(e),a=w(r,pe.currentRoute.value);if(a){T(I(a,{replace:!0,force:!0}),r).catch(pr);return}u=r;let o=c.value;Mr&&n.delta&&Rr(Ir(o.fullPath,n.delta)),te(r,o).catch(e=>ar(e,12)?e:ar(e,2)?(T(I(b(e.to),{force:!0}),r).then(e=>{ar(e,20)&&!n.delta&&n.type===`pop`&&i.go(-1,!1)}).catch(pr),Promise.reject()):(n.delta&&i.go(-n.delta,!1),O(e,r,o))).then(e=>{e||=re(r,o,!1),e&&(n.delta&&!ar(e,8)?i.go(-n.delta,!1):n.type===`pop`&&ar(e,20)&&i.go(-1,!1)),ne(r,o,e)}).catch(pr)})}let ae=Dr(),oe=Dr(),se;function O(e,t,n){ce(e);let r=oe.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function k(){return se&&c.value!==Fr?Promise.resolve():new Promise((e,t)=>{ae.add([e,t])})}function ce(e){return se||(se=!e,D(),ae.list().forEach(([t,n])=>e?n(e):t()),ae.reset()),e}function le(t,n,r,i){let{scrollBehavior:a}=e;if(!Mr||!a)return Promise.resolve();let o=!r&&Or(Ir(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return bt().then(()=>a(t,n,o)).then(e=>t===c.value&&e&&hr(e)).catch(e=>t===c.value&&O(e,t,n))}let ue=e=>i.go(e),de,fe=new Set,pe={currentRoute:c,listening:!0,addRoute:m,removeRoute:h,clearRoutes:g,hasRoute:v,getRoutes:_,resolve:y,options:e,push:S,replace:C,go:ue,back:()=>ue(-1),forward:()=>ue(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:oe.add,isReady:k,install(e){e.component(`RouterLink`,Ns),e.component(`RouterView`,Bs),e.config.globalProperties.$router=pe,Object.defineProperty(e.config.globalProperties,"$route",{enumerable:!0,get:()=>M(c)}),Mr&&!de&&c.value===Fr&&(de=!0,S(i.location).catch(e=>{}));let t={};for(let e in Fr)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(tr,pe),e.provide(Br,Ot(t)),e.provide(_r,c);let n=e.unmount;fe.add(e),e.unmount=function(){fe.delete(e),fe.size<1&&(u=Fr,ie&&ie(),ie=null,c.value=Fr,de=!1,se=!1),n()}}};function me(e){return e.reduce((e,t)=>e.then(()=>ee(t)),Promise.resolve())}return pe}var Hs=(e,t)=>({default:()=>e?Ne(Mt,e===!0?{}:e,t):t.default?.()}),Us=/(:\w+)\([^)]+\)/g,Ws=/(:\w+)[?+*]/g,Gs=/:\w+/g;function Ks(e){let t=e?.meta.key??e.path.replace(Us,`$1`).replace(Ws,`$1`).replace(Gs,t=>e.params[t.slice(1)]?.toString()||``);return typeof t==`function`?t(e):t}function qs(e,t){return e===t||t===Fr?!1:Ks(e)!==Ks(t)||!e.matched.every((e,n)=>e.components&&e.components.default===t.matched[n]?.components?.default)}var Js=/^[a-z][a-z0-9-]*$/i;function Ys(e,t){return e&&Js.test(e)?e:t}function Xs(e){return Array.isArray(e)?e:[e]}function Zs(e){let t=[];for(let n of e)n&&t.push({...n,onAfterLeave:n.onAfterLeave?Xs(n.onAfterLeave):void 0,onBeforeLeave:n.onBeforeLeave?Xs(n.onBeforeLeave):void 0});return fn(...t)}function Qs(e){e[`~transitionPromise`]||=new Promise(t=>{e[`~transitionFinish`]=t})}function $s(e){e[`~transitionFinish`]?.(),delete e[`~transitionFinish`],delete e[`~transitionPromise`]}var ec={scrollBehavior(e,t,n){let r=De(),i=Gt(),a=i.options?.scrollBehaviorType??`auto`;return e.path.replace(/\/$/,``)===t.path.replace(/\/$/,``)?t.hash&&!e.hash?n??{left:0,top:0}:e.hash?{el:e.hash,top:tc(e.hash),behavior:a}:!1:(typeof e.meta.scrollToTop==`function`?e.meta.scrollToTop(e,t):e.meta.scrollToTop)===!1?!1:t===Fr?nc(e,t,n,a):new Promise(o=>{let s=()=>{requestAnimationFrame(()=>{i.currentRoute.value.fullPath===e.fullPath?o(nc(e,t,n,a)):o(!1)})};r.hooks.hookOnce(`page:loading:end`,()=>{let e=r[`~transitionPromise`];e?e.then(s):s()})})}};function tc(e){try{let t=document.querySelector(e);if(t)return(Number.parseFloat(getComputedStyle(t).scrollMarginTop)||0)+(Number.parseFloat(getComputedStyle(document.documentElement).scrollPaddingTop)||0)}catch{}return 0}function nc(e,t,n,r){return n||(e.hash?{el:e.hash,top:tc(e.hash),behavior:qs(e,t)?r:`instant`}:{left:0,top:0})}var rc={hashMode:!1,scrollBehaviorType:`auto`,sensitive:!1,...ec},ic=[en(async e=>{if(!e.meta?.validate)return;let t=await Promise.resolve(e.meta.validate(e));if(t!==!0)return Ut({fatal:!0,status:t&&(t.status||t.statusCode)||404,statusText:t&&(t.statusText||t.statusMessage)||`Page Not Found: ${e.fullPath}`,data:{path:e.fullPath}})}),en(e=>{let t=Ao({path:e.path});if(t.redirect){let n=t.redirect.includes(`#`)?t.redirect:t.redirect+e.hash;return qt(n)?(window.location.href=n,!1):n}})],ac={"vector-auth":()=>wo(()=>import(`./Dz6TfzQ0.js`),__vite__mapDeps([0,1,2,3,4,5,6]),import.meta.url)},oc={layout:`vector`,key:e=>e.fullPath},sc={layout:`vector`,key:e=>e.fullPath},cc={layout:`vector`,key:e=>e.fullPath},lc={layout:`vector`,key:e=>e.fullPath},uc={layout:`vector`,key:e=>e.fullPath},dc={layout:`vector`,key:e=>e.fullPath},fc={layout:`vector`,key:e=>e.fullPath},pc={layout:`vector`},mc={layout:`default`},hc={layout:`vector`},gc={layout:`vector`},_c=[{name:`r-resource-create`,path:`/r/:resource()/create`,meta:{...oc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./CClLW8E_.js`),__vite__mapDeps([7,3,1,2,4,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,6,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67]),import.meta.url)},{name:`r-resource-id-edit`,path:`/r/:resource()/:id()/edit`,meta:{...sc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./BQjkGx2Z.js`),__vite__mapDeps([68,3,1,2,4,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,6,69,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,70]),import.meta.url)},{name:`r-resource-id`,path:`/r/:resource()/:id()`,meta:{...cc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./DmXk1uzO.js`),__vite__mapDeps([71,9,3,10,1,2,4,5,6,16,17,72,73,18,25,26,27,11,28,12,13,14,21,29,15,30,31,20,22,32,40,33,34,35,36,23,37,74,75,76,44,77,39,78,79,80,81,82,83,42,43,45,84,85,86,41,48,8,19,24,38,46,47,69,87,52,88,49,54,53,56,58,59,60,61,62,89,90,63,91,92,93,94,95,66,65,96,55,57,64,67,70,97]),import.meta.url)},{name:`d-name`,path:`/d/:name()`,meta:{...lc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./CBH80FIv.js`),__vite__mapDeps([98,3,1,2,4,99,11,9,10,41,12,23,100,101,73,16,17,18,25,26,27,28,13,14,21,29,15,30,31,20,22,32,40,33,34,35,36,37,74,75,76,44,77,39,78,79,80,81,82,49,53,65,54,56,58,59,60,61,62,89,90,63,91,92,93,94]),import.meta.url)},{name:`jobs-id`,path:`/jobs/:id()`,meta:{...uc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./BexbafaO.js`),__vite__mapDeps([102,3,1,2,4,81,9,10,16,17,40,14,82,77,18,11,28,12,29,15,31,20,13,21,22,39,36,23,8,69,49,103,45,92,54,53,56,58,63,91,55,70]),import.meta.url)},{name:`p-name`,path:`/p/:name()`,meta:{...dc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./DDr5NNV1.js`),__vite__mapDeps([104,3,1,2,4,11,9,10,81,16,17,40,14,82,19,12,20,13,21,22,23,49,53,92,56,57]),import.meta.url)},{name:`r-resource`,path:`/r/:resource()`,meta:{...fc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./C96C4owm.js`),__vite__mapDeps([105,3,10,1,2,4,73,9,16,17,18,25,26,27,11,28,12,13,14,21,29,15,30,31,20,22,32,40,33,34,35,36,23,37,74,75,76,44,77,39,78,79,80,81,82,72,83,42,43,45,84,85,86,6,41,48,51,19,106,107,108,47,87,52,101,100,49,54,53,56,58,59,60,61,62,89,90,63,91,92,93,94,95,66,65,96,57,109,110]),import.meta.url)},{name:`jobs`,path:`/jobs`,meta:{...pc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./e7XpxcTK.js`),__vite__mapDeps([111,3,10,1,2,4,77,9,16,17,18,11,28,12,14,29,15,31,20,13,21,22,39,36,40,23,47,49,103,45,54,53,56,58,63,91]),import.meta.url)},{name:`login`,path:`/login`,meta:mc||{},component:()=>wo(()=>import(`./sfwOLBCo.js`),__vite__mapDeps([112,3,10,1,2,4,5,6,78,9,16,17,22,76,11,28,12,13,21,44,37,79,34,36,14,80,81,40,82,113,41,23,43,85,49,53,89,92,93,114,65]),import.meta.url)},{name:`settings`,path:`/settings`,meta:{...hc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./iWiuSxmQ.js`),__vite__mapDeps([115,3,10,32,9,38,16,17,34,36,25,12,21,15,18,30,37,39,11,40,28,23,42,27,19,20,13,14,22,43,44,100,2,49,86,6,41,48,59,54,53,63,64,66,56,57,65]),import.meta.url)},{name:`index`,path:`/`,meta:{...gc||{},middleware:`vector-auth`},component:()=>wo(()=>import(`./CdblVAM1.js`),__vite__mapDeps([116,3,99,11,9,10,41,12,23,100,2,101,73,16,17,18,25,26,27,28,13,14,21,29,15,30,31,20,22,32,40,33,34,35,36,37,74,75,76,44,77,39,78,79,80,81,82,49,53,65,54,56,58,59,60,61,62,89,90,63,91,92,93,94]),import.meta.url)}],vc=/\/(?=$|[?#])/;function yc(e,t,n){let{pathname:r,search:i,hash:a}=t,o=e.indexOf(`#`);if(o>-1){let t=a.includes(e.slice(o))?e.slice(o).length:1,n=a.slice(t);return n[0]!==`/`&&(n=`/`+n),Xt(n,``)}let s=Xt(r,e),c=!n||Ft(s,n)?s:n;return c+(c.includes(`?`)?``:i)+a}var bc=Se({name:`nuxt:router`,enforce:`pre`,async setup(e){let t=_e().app.baseURL,n=rc.history?.(t)??ls(t),r=rc.routes?await rc.routes(_c)??_c:_c,i,a=Vs({...rc,scrollBehavior:(e,t,n)=>{if(t===Fr)i=n;else if(rc.scrollBehavior){if(a.options.scrollBehavior=rc.scrollBehavior,`scrollRestoration`in window.history){let e=a.beforeEach(()=>{e(),window.history.scrollRestoration=`manual`})}return rc.scrollBehavior(e,Fr,i||n)}},history:n,routes:r});`scrollRestoration`in window.history&&(window.history.scrollRestoration=`auto`),e.vueApp.use(a);let o=Et(a.currentRoute.value);a.afterEach((e,t)=>{o.value=t}),Object.defineProperty(e.vueApp.config.globalProperties,"previousRoute",{get:()=>o.value});let s=yc(t,window.location,e.payload.path),c=Xt(window.location.pathname,t),l=Et(a.currentRoute.value),u=()=>{l.value=a.currentRoute.value};a.afterEach((e,t)=>{let n=e.matched.at(-1)?.components?.default,r=t.matched.at(-1)?.components?.default;n===r?es({route:e,Component:{type:n}})===es({route:t,Component:{type:r}})&&u():e.matched.length<t.matched.length&&e.matched.every((e,n)=>e.components?.default===t.matched[n]?.components?.default)&&u()});let d={sync:u};for(let e in l.value)Object.defineProperty(d,e,{get:()=>l.value[e],enumerable:!0});e._route=Ot(d),e._middleware||={global:[],named:{}};let f=Ht();a.afterEach(async(t,n,r)=>{delete e._processingMiddleware,!e.isHydrating&&f.value&&await e.runWithContext(nn),r&&await e.callHook(`page:loading:end`)}),a.onError(async()=>{delete e._processingMiddleware,await e.callHook(`page:loading:end`)});try{await a.isReady()}catch(t){await $t(e,t)}let p=s===a.currentRoute.value.fullPath?a.currentRoute.value:a.resolve(s),m=a.currentRoute.value.fullPath,h=e.isHydrating&&e.payload.prerenderedAt&&e.payload.path&&s.replace(vc,``)!==e.payload.path.replace(vc,``)&&Ft(a.currentRoute.value.path,e.payload.path);u();function g(r){!e.isHydrating&&r.fullPath!==yc(t,window.location)&&n.push(r.fullPath)}a.beforeEach(t=>{if(!e.isHydrating&&vo(t.path).noScripts)return window.location.assign(a.resolve(t.fullPath).href),!1}),a.beforeResolve(e=>{if(e.matched.length||Ft(e.path,c))return;let n=new URL(zt(e.fullPath,t),window.location.href);if(n.origin===window.location.origin)return window.location.assign(n),!1});let _=e.payload.state._layout;return a.beforeEach(async(t,n)=>{await e.callHook(`page:loading:start`),t.meta=nt(t.meta),e.isHydrating&&_&&!lt(t.meta.layout)&&(t.meta.layout=_),e._processingMiddleware=!0;{let r=new Set([...ic,...e._middleware.global]);for(let e of t.matched){let t=e.meta.middleware;if(t)for(let e of ns(t))r.add(e)}let i=Ao({path:t.path});if(i.appMiddleware)for(let e in i.appMiddleware)i.appMiddleware[e]?r.add(e):r.delete(e);for(let i of r){let r=typeof i==`string`?e._middleware.named[i]||await ac[i]?.().then(e=>e.default||e):i;if(!r)throw Kt.NUXT_E2004({entry:String(i),validMiddleware:void 0});try{let i=await e.runWithContext(()=>r(t,n));if(!e.payload.serverRendered&&e.isHydrating&&(i===!1||i instanceof Error)){let t=i||Ut({status:404,statusText:`Page Not Found: ${s}`});return await e.runWithContext(()=>Yt(t)),!1}if(i===!0)continue;if(i===!1)return i;if(i)return ln(i)&&i.fatal&&(await e.runWithContext(()=>Yt(i)),g(t)),i}catch(n){let r=Ut(n);return r.fatal&&(await e.runWithContext(()=>Yt(r)),g(t)),r}}}}),a.afterEach(t=>{if(t.matched.length===0&&!f.value)return e.runWithContext(()=>Yt(Ut({status:404,fatal:!1,statusText:`Page not found: ${t.fullPath}`,data:{path:t.fullPath}})))}),e.hooks.hookOnce(`app:created`,async()=>{try{if(`name`in p&&(p.name=void 0),a.currentRoute.value.fullPath===m){if(h){let t=a.resolve(e.payload.path);`name`in t&&(t.name=void 0),await a.replace({...t,force:!0});let n=()=>{e[`~restoreDeferredRoute`]&&(e[`~restoreDeferredRoute`]=void 0,a.currentRoute.value=a.resolve(s),u(),a.replace({...p,force:!0}).catch(()=>{}))};e[`~restoreDeferredRoute`]=n,e.hooks.hookOnce(`app:suspense:resolve`,n)}else await a.replace({...p,force:!0})}a.options.scrollBehavior=rc.scrollBehavior}catch(t){await $t(e,t)}}),{provide:{router:a}}}}),xc=Ee({vector:{brand:{title:`Vector`},basePath:``,fields:{},inputs:{},commandPalette:!0,widgets:{},usersResource:null,locale:`en`,idleMinutes:30,messages:{},pages:{}}}),Sc=dn(xc,{nuxt:{}});function Cc(){let e=De();return e._appConfig||=nt(Sc),e._appConfig}var wc=new Map,Tc;function Ec(e){e!==Tc&&(Tc=e,wc.clear(),jc=null,Mc=null)}var Dc=new Map;function Oc(e){Dc.clear();for(let[t,n]of Object.entries(e))Dc.set(t,n)}function kc(e){return e?Dc.get(e.toUpperCase())??2:2}function Ac(e,t){let n=kc(t),r=`${t}:${n}`,i=wc.get(r);return i||(i=new Intl.NumberFormat(Tc,{style:`currency`,currency:t,minimumFractionDigits:n,maximumFractionDigits:n}),wc.set(r,i)),i.format(e/10**n)}var jc=null,Mc=null;function Nc(e){return jc??=new Intl.DateTimeFormat(Tc,{dateStyle:`medium`,timeStyle:`short`}),jc.format(new Date(e))}function Pc(e){let[t,n,r]=e.slice(0,10).split(`-`).map(Number);return Mc??=new Intl.DateTimeFormat(Tc,{dateStyle:`medium`}),Mc.format(new Date(t,n-1,r))}function Fc(e,t){return new Intl.NumberFormat(Tc,t===void 0?{}:{minimumFractionDigits:t,maximumFractionDigits:t}).format(e)}function Ic(e,t){let n=e.props&&!Array.isArray(e.props)?e.props:{};if(typeof n.currency==`string`)return n.currency;if(typeof n.currencyField!=`string`)return null;let r=n.currencyField.split(`.`).reduce((e,t)=>e&&typeof e==`object`?e[t]:void 0,t);return typeof r==`string`&&r!==``?r:null}var Lc=new Map;function Rc(e,t=Tc){let n=t??``,r=Lc.get(n);if(!r){try{r=new Intl.DisplayNames(t?[t]:void 0,{type:`currency`})}catch{return e}Lc.set(n,r)}let i=r.of(e);return i&&i!==e?`${e} · ${i}`:e}var zc=typeof window<`u`,Bc=(e,t=!1)=>t?Symbol.for(e):Symbol(e),Vc=(e,t,n)=>Hc({l:e,k:t,s:n}),Hc=e=>JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`).replace(/\u0027/g,`\\u0027`),Uc=e=>typeof e==`number`&&isFinite(e),Wc=e=>il(e)===`[object Date]`,Gc=e=>il(e)===`[object RegExp]`,Kc=e=>H(e)&&Object.keys(e).length===0,qc=Object.assign,Jc=Object.create,L=(e=null)=>Jc(e),Yc,Xc=()=>Yc||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:L(),Zc=Object.prototype.hasOwnProperty;function Qc(e,t){return Zc.call(e,t)}function $c(e,t){let n=e[t];return Qc(e,t)?n:void 0}function el(e){return Qc(Object.prototype,e)}var R=Array.isArray,tl=e=>typeof e==`function`,z=e=>typeof e==`string`,B=e=>typeof e==`boolean`,V=e=>typeof e==`object`&&!!e,nl=e=>V(e)&&tl(e.then)&&tl(e.catch),rl=Object.prototype.toString,il=e=>rl.call(e),H=e=>il(e)===`[object Object]`,al=e=>e==null?``:R(e)||H(e)&&e.toString===rl?JSON.stringify(e,null,2):String(e);function ol(e,t=``){return e.reduce((e,n,r)=>r===0?e+n:e+t+n,``)}function sl(e,t){typeof console<`u`&&(console.warn(`[intlify] `+e),t&&console.warn(t.stack))}function cl(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/\//g,`/`).replace(/=/g,`=`)}function ll(e){return e.replace(/&(?![a-z0-9#]{2,6};)/gi,`&`).replace(/"/g,`"`).replace(/'/g,`'`).replace(/</g,`<`).replace(/>/g,`>`)}var ul=/^javascript:/i,dl=/^(?:href|src|action|formaction)$/i,fl=/&#(?:x([0-9a-f]+)|(\d+));?/gi,pl=/&(?:Tab|NewLine);/g,ml=/:?/gi,hl=/[\u0000-\u0020\u007f-\u009f]/g,gl=/(?:^|[\s"'<>/])on\w+\s*=\s*["']?[^"'>]+["']?/i,_l=/(^|[\s"'<>/])on(\w+\s*=)/gi,vl=/(?:^|[\s"'<>/])srcdoc\s*=/i,yl=/(^|[\s"'<>/])s(rcdoc\s*=)/gi,bl=/(^|[\s"'<>/])((?:href|src|action|formaction)\s*=\s*)([^\s"'=<>`]+)/gi;function xl(e,t,n){let r=t||n;if(!r)return e;let i=Number.parseInt(r,t?16:10);return i<=127?String.fromCharCode(i):e}function Sl(e){let t=e.replace(fl,xl).replace(pl,``).replace(ml,`:`).replace(hl,``);return ul.test(t)}function Cl(e){let t=/url\s*\(/gi,n=``,r=0,i;for(;(i=t.exec(e))!==null;){let a=i.index,o=t.lastIndex-1,s=o+1,c=1,l=null;for(;s<e.length;s++){let t=e[s];if(l)t===l&&(l=null);else if(t===`"`||t===`'`)l=t;else if(t===`(`)c++;else if(t===`)`&&(c--,c===0))break}if(c!==0)break;let u=e.slice(o+1,s).trim(),d=u.startsWith(`"`)&&u.endsWith(`"`)||u.startsWith(`'`)&&u.endsWith(`'`)?u.slice(1,-1).trim():u;n+=e.slice(r,a),n+=Sl(d)?`url(about:blank)`:e.slice(a,s+1),r=s+1}return n+e.slice(r)}function wl(e,t){return dl.test(e)&&Sl(t)?`about:blank`:ll(e.toLowerCase()===`style`?Cl(t):t)}function Tl(e){return e=e.replace(/([\w:-]+)\s*=\s*"([^"]*)"/g,(e,t,n)=>`${t}="${wl(t,n)}"`),e=e.replace(/([\w:-]+)\s*=\s*'([^']*)'/g,(e,t,n)=>`${t}='${wl(t,n)}'`),gl.test(e)&&(e=e.replace(_l,`$1on$2`)),vl.test(e)&&(e=e.replace(yl,`$1s$2`)),e=e.replace(bl,(e,t,n,r)=>Sl(r)?`${t}${n}about:blank`:e),e}var El=e=>!V(e)||R(e);function Dl(e,t){if(El(e)||El(t)||t===Object.prototype)throw Error(`Invalid value`);let n=[{src:e,des:t}];for(;n.length;){let{src:e,des:t}=n.pop();Object.keys(e).forEach(r=>{if(r===`__proto__`)return;let i=e[r];if(R(i)){let e=[];e.length=i.length,t[r]=e,n.push({src:i,des:e})}else V(i)?((!V(t[r])||R(t[r]))&&(t[r]=L()),n.push({src:i,des:t[r]})):t[r]=i})}}function Ol(e,t,n){return{line:e,column:t,offset:n}}function kl(e,t,n){let r={start:e,end:t};return n!=null&&(r.source=n),r}var U={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16};U.EXPECTED_TOKEN,U.INVALID_TOKEN_IN_PLACEHOLDER,U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,U.UNKNOWN_ESCAPE_SEQUENCE,U.INVALID_UNICODE_ESCAPE_SEQUENCE,U.UNBALANCED_CLOSING_BRACE,U.UNTERMINATED_CLOSING_BRACE,U.EMPTY_PLACEHOLDER,U.NOT_ALLOW_NEST_PLACEHOLDER,U.INVALID_LINKED_FORMAT,U.MUST_HAVE_MESSAGES_IN_PLURAL,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,U.UNEXPECTED_EMPTY_LINKED_KEY,U.UNEXPECTED_LEXICAL_ANALYSIS,U.UNHANDLED_CODEGEN_NODE_TYPE,U.UNHANDLED_MINIFIER_NODE_TYPE;function Al(e,t,n={}){let{domain:r,messages:i,args:a}=n,o=SyntaxError(String(e));return o.code=e,t&&(o.location=t),o.domain=r,o}function jl(e){throw e}var Ml=` `,Nl=`\r`,Pl=`
|
|
3
|
+
`,Fl=`\u2028`,Il=`\u2029`;function Ll(e){let t=e,n=0,r=1,i=1,a=0,o=e=>t[e]===Nl&&t[e+1]===Pl,s=e=>t[e]===Pl,c=e=>t[e]===Il,l=e=>t[e]===Fl,u=e=>o(e)||s(e)||c(e)||l(e),d=()=>n,f=()=>r,p=()=>i,m=()=>a,h=e=>o(e)||c(e)||l(e)?Pl:t[e],g=()=>h(n),_=()=>h(n+a);function v(){return a=0,u(n)&&(r++,i=0),o(n)&&n++,n++,i++,t[n]}function y(){return o(n+a)&&a++,a++,t[n+a]}function b(){n=0,r=1,i=1,a=0}function x(e=0){a=e}function S(){let e=n+a;for(;e!==n;)v();a=0}return{index:d,line:f,column:p,peekOffset:m,charAt:h,currentChar:g,currentPeek:_,next:v,peek:y,reset:b,resetPeek:x,skipToPeek:S}}var Rl=void 0,zl=`'`,Bl=`tokenizer`;function Vl(e,t={}){let n=t.location!==!1,r=Ll(e),i=()=>r.index(),a=()=>Ol(r.line(),r.column(),r.index()),o=a(),s=i(),c={currentType:13,offset:s,startLoc:o,endLoc:o,lastType:13,lastOffset:s,lastStartLoc:o,lastEndLoc:o,braceNest:0,inLinked:!1,text:``},l=()=>c,{onError:u}=t;function d(e,t,r,...i){let a=l();if(t.column+=r,t.offset+=r,u){let r=Al(e,n?kl(a.startLoc,t):null,{domain:Bl,args:i});u(r)}}function f(e,t,r){e.endLoc=a(),e.currentType=t;let i={type:t};return n&&(i.loc=kl(e.startLoc,e.endLoc)),r!=null&&(i.value=r),i}let p=e=>f(e,13);function m(e,t){return e.currentChar()===t?(e.next(),t):(d(U.EXPECTED_TOKEN,a(),0,t),``)}function h(e){let t=``;for(;e.currentPeek()===Ml||e.currentPeek()===Pl;)t+=e.currentPeek(),e.peek();return t}function g(e){let t=h(e);return e.skipToPeek(),t}function _(e){if(e===Rl)return!1;let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t===95}function v(e){if(e===Rl)return!1;let t=e.charCodeAt(0);return t>=48&&t<=57}function y(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function b(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=v(e.currentPeek()===`-`?e.peek():e.currentPeek());return e.resetPeek(),r}function x(e,t){let{currentType:n}=t;if(n!==2)return!1;h(e);let r=e.currentPeek()===zl;return e.resetPeek(),r}function S(e,t){let{currentType:n}=t;if(n!==7)return!1;h(e);let r=e.currentPeek()===`.`;return e.resetPeek(),r}function C(e,t){let{currentType:n}=t;if(n!==8)return!1;h(e);let r=_(e.currentPeek());return e.resetPeek(),r}function w(e,t){let{currentType:n}=t;if(n!==7&&n!==11)return!1;h(e);let r=e.currentPeek()===`:`;return e.resetPeek(),r}function T(e,t){let{currentType:n}=t;if(n!==9)return!1;let r=()=>{let t=e.currentPeek();return t===`{`?_(e.peek()):t===`@`||t===`|`||t===`:`||t===`.`||t===Ml||!t?!1:t===Pl?(e.peek(),r()):ee(e,!1)},i=r();return e.resetPeek(),i}function E(e){h(e);let t=e.currentPeek()===`|`;return e.resetPeek(),t}function ee(e,t=!0){let n=(t=!1,r=``)=>{let i=e.currentPeek();return i===`{`||i===`@`||!i?t:i===`|`?r!==Ml&&r!==Pl:i===Ml?(e.peek(),n(!0,Ml)):i!==Pl||(e.peek(),n(!0,Pl))},r=n();return t&&e.resetPeek(),r}function te(e,t){let n=e.currentChar();if(n!==Rl)return t(n)?(e.next(),n):null}function ne(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36}function re(e){return te(e,ne)}function ie(e){let t=e.charCodeAt(0);return t>=97&&t<=122||t>=65&&t<=90||t>=48&&t<=57||t===95||t===36||t===45}function D(e){return te(e,ie)}function ae(e){let t=e.charCodeAt(0);return t>=48&&t<=57}function oe(e){return te(e,ae)}function se(e){let t=e.charCodeAt(0);return t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102}function O(e){return te(e,se)}function k(e){let t=``,n=``;for(;t=oe(e);)n+=t;return n}function ce(e){let t=``;for(;;){let n=e.currentChar();if(n===`\\`){let r=e.peek();r===`{`||r===`}`||r===`@`||r===`|`||r===`\\`?(t+=n+r,e.next(),e.next()):(e.resetPeek(),t+=n,e.next())}else if(n===`{`||n===`}`||n===`@`||n===`|`||!n)break;else if(n===Ml||n===Pl){if(ee(e))t+=n,e.next();else if(E(e))break;else t+=n,e.next()}else t+=n,e.next()}return t}function le(e){g(e);let t=``,n=``;for(;t=D(e);)n+=t;let r=e.currentChar();if(r&&r!==`}`&&r!==Rl&&r!==Ml&&r!==Pl&&r!==` `){let t=ge(e);return d(U.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n+t),n+t}return e.currentChar()===Rl&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),n}function ue(e){g(e);let t=``;return e.currentChar()===`-`?(e.next(),t+=`-${k(e)}`):t+=k(e),e.currentChar()===Rl&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),t}function de(e){return e!==zl&&e!==Pl}function fe(e){g(e),m(e,`'`);let t=``,n=``;for(;t=te(e,de);)n+=t===`\\`?pe(e):t;let r=e.currentChar();return r===Pl||r===Rl?(d(U.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,a(),0),r===Pl&&(e.next(),m(e,`'`)),n):(m(e,`'`),n)}function pe(e){let t=e.currentChar();switch(t){case`\\`:case`'`:return e.next(),`\\${t}`;case`u`:return me(e,t,4);case`U`:return me(e,t,6);default:return d(U.UNKNOWN_ESCAPE_SEQUENCE,a(),0,t),``}}function me(e,t,n){m(e,t);let r=``;for(let i=0;i<n;i++){let n=O(e);if(!n){d(U.INVALID_UNICODE_ESCAPE_SEQUENCE,a(),0,`\\${t}${r}${e.currentChar()}`);break}r+=n}return`\\${t}${r}`}function he(e){return e!==`{`&&e!==`}`&&e!==Ml&&e!==Pl}function ge(e){g(e);let t=``,n=``;for(;t=te(e,he);)n+=t;return n}function _e(e){let t=``,n=``;for(;t=re(e);)n+=t;return n}function ve(e){let t=n=>{let r=e.currentChar();return r===`{`||r===`@`||r===`|`||r===`(`||r===`)`||!r||r===Ml?n:(n+=r,e.next(),t(n))};return t(``)}function ye(e){g(e);let t=m(e,`|`);return g(e),t}function be(e,t){let n=null;switch(e.currentChar()){case`{`:return t.braceNest>=1&&d(U.NOT_ALLOW_NEST_PLACEHOLDER,a(),0),e.next(),n=f(t,2,`{`),g(e),t.braceNest++,n;case`}`:return t.braceNest>0&&t.currentType===2&&d(U.EMPTY_PLACEHOLDER,a(),0),e.next(),n=f(t,3,`}`),t.braceNest--,t.braceNest>0&&g(e),t.inLinked&&t.braceNest===0&&(t.inLinked=!1),n;case`@`:return t.braceNest>0&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),n=xe(e,t)||p(t),t.braceNest=0,n;default:{let r=!0,i=!0,o=!0;if(E(e))return t.braceNest>0&&d(U.UNTERMINATED_CLOSING_BRACE,a(),0),n=f(t,1,ye(e)),t.braceNest=0,t.inLinked=!1,n;if(t.braceNest>0&&(t.currentType===4||t.currentType===5||t.currentType===6))return d(U.UNTERMINATED_CLOSING_BRACE,a(),0),t.braceNest=0,Se(e,t);if(r=y(e,t))return n=f(t,4,le(e)),g(e),n;if(i=b(e,t))return n=f(t,5,ue(e)),g(e),n;if(o=x(e,t))return n=f(t,6,fe(e)),g(e),n;if(!r&&!i&&!o)return n=f(t,12,ge(e)),d(U.INVALID_TOKEN_IN_PLACEHOLDER,a(),0,n.value),g(e),n;break}}return n}function xe(e,t){let{currentType:n}=t,r=null,i=e.currentChar();switch((n===7||n===8||n===11||n===9)&&(i===Pl||i===Ml)&&d(U.INVALID_LINKED_FORMAT,a(),0),i){case`@`:return e.next(),r=f(t,7,`@`),t.inLinked=!0,r;case`.`:return g(e),e.next(),f(t,8,`.`);case`:`:return g(e),e.next(),f(t,9,`:`);default:return E(e)?(r=f(t,1,ye(e)),t.braceNest=0,t.inLinked=!1,r):S(e,t)||w(e,t)?(g(e),xe(e,t)):C(e,t)?(g(e),f(t,11,_e(e))):T(e,t)?(g(e),i===`{`?be(e,t)||r:f(t,10,ve(e))):(n===7&&d(U.INVALID_LINKED_FORMAT,a(),0),t.braceNest=0,t.inLinked=!1,Se(e,t))}}function Se(e,t){let n={type:13};if(t.braceNest>0)return be(e,t)||p(t);if(t.inLinked)return xe(e,t)||p(t);switch(e.currentChar()){case`{`:return be(e,t)||p(t);case`}`:return d(U.UNBALANCED_CLOSING_BRACE,a(),0),e.next(),f(t,3,`}`);case`@`:return xe(e,t)||p(t);default:if(E(e))return n=f(t,1,ye(e)),t.braceNest=0,t.inLinked=!1,n;if(ee(e))return f(t,0,ce(e))}return n}function Ce(){let{currentType:e,offset:t,startLoc:n,endLoc:o}=c;return c.lastType=e,c.lastOffset=t,c.lastStartLoc=n,c.lastEndLoc=o,c.offset=i(),c.startLoc=a(),r.currentChar()===Rl?f(c,13):Se(r,c)}return{nextToken:Ce,currentOffset:i,currentPosition:a,context:l}}var Hl=`parser`,Ul=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g,Wl=/\\([\\@{}|])/g;function Gl(e,t){return t}function Kl(e,t,n){switch(e){case`\\\\`:return`\\`;case`\\'`:return`'`;default:{let e=parseInt(t||n,16);return e<=55295||e>=57344?String.fromCodePoint(e):`�`}}}function ql(e={}){let t=e.location!==!1,{onError:n}=e;function r(e,r,i,a,...o){let s=e.currentPosition();if(s.offset+=a,s.column+=a,n){let e=Al(r,t?kl(i,s):null,{domain:Hl,args:o});n(e)}}function i(e,n,r){let i={type:e};return t&&(i.start=n,i.end=n,i.loc={start:r,end:r}),i}function a(e,n,r,i){t&&(e.end=n,e.loc&&(e.loc.end=r))}function o(e,t){let n=e.context(),r=i(3,n.offset,n.startLoc);return r.value=t.replace(Wl,Gl),a(r,e.currentOffset(),e.currentPosition()),r}function s(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(5,n,r);return o.index=parseInt(t,10),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function c(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(4,n,r);return o.key=t,e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function l(e,t){let{lastOffset:n,lastStartLoc:r}=e.context(),o=i(9,n,r);return o.value=t.replace(Ul,Kl),e.nextToken(),a(o,e.currentOffset(),e.currentPosition()),o}function u(e){let t=e.nextToken(),n=e.context(),{lastOffset:o,lastStartLoc:s}=n,c=i(8,o,s);return t.type===11?(t.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,n.lastStartLoc,0,Jl(t)),c.value=t.value||``,a(c,e.currentOffset(),e.currentPosition()),{node:c}):(r(e,U.UNEXPECTED_EMPTY_LINKED_MODIFIER,n.lastStartLoc,0),c.value=``,a(c,o,s),{nextConsumeToken:t,node:c})}function d(e,t){let n=e.context(),r=i(7,n.offset,n.startLoc);return r.value=t,a(r,e.currentOffset(),e.currentPosition()),r}function f(e){let t=e.context(),n=i(6,t.offset,t.startLoc),o=e.nextToken();if(o.type===8){let t=u(e);n.modifier=t.node,o=t.nextConsumeToken||e.nextToken()}switch(o.type!==9&&r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(o)),o=e.nextToken(),o.type===2&&(o=e.nextToken()),o.type){case 10:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(o)),n.key=d(e,o.value||``);break;case 4:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(o)),n.key=c(e,o.value||``);break;case 5:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(o)),n.key=s(e,o.value||``);break;case 6:o.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(o)),n.key=l(e,o.value||``);break;default:{r(e,U.UNEXPECTED_EMPTY_LINKED_KEY,t.lastStartLoc,0);let s=e.context(),c=i(7,s.offset,s.startLoc);return c.value=``,a(c,s.offset,s.startLoc),n.key=c,a(n,s.offset,s.startLoc),{nextConsumeToken:o,node:n}}}return a(n,e.currentOffset(),e.currentPosition()),{node:n}}function p(e){let t=e.context(),n=i(2,t.currentType===1?e.currentOffset():t.offset,t.currentType===1?t.endLoc:t.startLoc);n.items=[];let u=null;do{let i=u||e.nextToken();switch(u=null,i.type){case 0:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(i)),n.items.push(o(e,i.value||``));break;case 5:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(i)),n.items.push(s(e,i.value||``));break;case 4:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(i)),n.items.push(c(e,i.value||``));break;case 6:i.value??r(e,U.UNEXPECTED_LEXICAL_ANALYSIS,t.lastStartLoc,0,Jl(i)),n.items.push(l(e,i.value||``));break;case 7:{let t=f(e);n.items.push(t.node),u=t.nextConsumeToken||null;break}}}while(t.currentType!==13&&t.currentType!==1);return a(n,t.currentType===1?t.lastOffset:e.currentOffset(),t.currentType===1?t.lastEndLoc:e.currentPosition()),n}function m(e,t,n,o){let s=e.context(),c=o.items.length===0,l=i(1,t,n);l.cases=[],l.cases.push(o);do{let t=p(e);c||=t.items.length===0,l.cases.push(t)}while(s.currentType!==13);return c&&r(e,U.MUST_HAVE_MESSAGES_IN_PLURAL,n,0),a(l,e.currentOffset(),e.currentPosition()),l}function h(e){let t=e.context(),{offset:n,startLoc:r}=t,i=p(e);return t.currentType===13?i:m(e,n,r,i)}function g(n){let o=Vl(n,qc({},e)),s=o.context(),c=i(0,s.offset,s.startLoc);return t&&c.loc&&(c.loc.source=n),c.body=h(o),e.onCacheKey&&(c.cacheKey=e.onCacheKey(n)),s.currentType!==13&&r(o,U.UNEXPECTED_LEXICAL_ANALYSIS,s.lastStartLoc,0,n[s.offset]||``),a(c,o.currentOffset(),o.currentPosition()),c}return{parse:g}}function Jl(e){if(e.type===13)return`EOF`;let t=(e.value||``).replace(/\r?\n/gu,`\\n`);return t.length>10?t.slice(0,9)+`…`:t}function Yl(e,t={}){let n={ast:e,helpers:new Set};return{context:()=>n,helper:e=>(n.helpers.add(e),e)}}function Xl(e,t){for(let n=0;n<e.length;n++)Zl(e[n],t)}function Zl(e,t){switch(e.type){case 1:Xl(e.cases,t),t.helper(`plural`);break;case 2:Xl(e.items,t);break;case 6:Zl(e.key,t),t.helper(`linked`),t.helper(`type`);break;case 5:t.helper(`interpolate`),t.helper(`list`);break;case 4:t.helper(`interpolate`),t.helper(`named`)}}function Ql(e,t={}){let n=Yl(e);n.helper(`normalize`),e.body&&Zl(e.body,n);let r=n.context();e.helpers=Array.from(r.helpers)}function $l(e){let t=e.body;return t.type===2?eu(t):t.cases.forEach(e=>eu(e)),e}function eu(e){if(e.items.length===1){let t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{let t=[];for(let n=0;n<e.items.length;n++){let r=e.items[n];if(r.type!==3&&r.type!==9||r.value==null)break;t.push(r.value)}if(t.length===e.items.length){e.static=ol(t);for(let t=0;t<e.items.length;t++){let n=e.items[t];(n.type===3||n.type===9)&&delete n.value}}}}function tu(e){switch(e.t=e.type,e.type){case 0:{let t=e;tu(t.body),t.b=t.body,delete t.body;break}case 1:{let t=e,n=t.cases;for(let e=0;e<n.length;e++)tu(n[e]);t.c=n,delete t.cases;break}case 2:{let t=e,n=t.items;for(let e=0;e<n.length;e++)tu(n[e]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{let t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{let t=e;tu(t.key),t.k=t.key,delete t.key,t.modifier&&(tu(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{let t=e;t.i=t.index,delete t.index;break}case 4:{let t=e;t.k=t.key,delete t.key;break}}delete e.type}function nu(e,t){let{filename:n,breakLineCode:r,needIndent:i}=t,a=t.location!==!1,o={filename:n,code:``,column:1,line:1,offset:0,map:void 0,breakLineCode:r,needIndent:i,indentLevel:0};a&&e.loc&&(o.source=e.loc.source);let s=()=>o;function c(e,t){o.code+=e}function l(e,t=!0){let n=t?r:``;c(i?n+` `.repeat(e):n)}function u(e=!0){let t=++o.indentLevel;e&&l(t)}function d(e=!0){let t=--o.indentLevel;e&&l(t)}function f(){l(o.indentLevel)}return{context:s,push:c,indent:u,deindent:d,newline:f,helper:e=>`_${e}`,needIndent:()=>o.needIndent}}function ru(e,t){let{helper:n}=e;e.push(`${n(`linked`)}(`),su(e,t.key),t.modifier?(e.push(`, `),su(e,t.modifier),e.push(`, _type`)):e.push(`, undefined, _type`),e.push(`)`)}function iu(e,t){let{helper:n,needIndent:r}=e;e.push(`${n(`normalize`)}([`),e.indent(r());let i=t.items.length;for(let n=0;n<i&&(su(e,t.items[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}function au(e,t){let{helper:n,needIndent:r}=e;if(t.cases.length>1){e.push(`${n(`plural`)}([`),e.indent(r());let i=t.cases.length;for(let n=0;n<i&&(su(e,t.cases[n]),n!==i-1);n++)e.push(`, `);e.deindent(r()),e.push(`])`)}}function ou(e,t){t.body?su(e,t.body):e.push(`null`)}function su(e,t){let{helper:n}=e;switch(t.type){case 0:ou(e,t);break;case 1:au(e,t);break;case 2:iu(e,t);break;case 6:ru(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n(`interpolate`)}(${n(`list`)}(${t.index}))`,t);break;case 4:e.push(`${n(`interpolate`)}(${n(`named`)}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t)}}var cu=(e,t={})=>{let n=z(t.mode)?t.mode:`normal`,r=z(t.filename)?t.filename:`message.intl`;t.sourceMap;let i=t.breakLineCode==null?n===`arrow`?`;`:`
|
|
4
|
+
`:t.breakLineCode,a=t.needIndent?t.needIndent:n!==`arrow`,o=e.helpers||[],s=nu(e,{filename:r,breakLineCode:i,needIndent:a});s.push(n===`normal`?`function __msg__ (ctx) {`:`(ctx) => {`),s.indent(a),o.length>0&&(s.push(`const { ${ol(o.map(e=>`${e}: _${e}`),`, `)} } = ctx`),s.newline()),s.push(`return `),su(s,e),s.deindent(a),s.push(`}`),delete e.helpers;let{code:c,map:l}=s.context();return{ast:e,code:c,map:l?l.toJSON():void 0}};function lu(e,t={}){let n=qc({},t),r=!!n.jit,i=!!n.minify,a=n.optimize==null||n.optimize,o=ql(n).parse(e);return r?(a&&$l(o),i&&tu(o),{ast:o,code:``}):(Ql(o,n),cu(o,n))}function uu(){typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Xc().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Xc().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function du(e){return V(e)&&xu(e)===0&&(Qc(e,`b`)||Qc(e,`body`))}var fu=[`b`,`body`];function pu(e){return Ou(e,fu)}var mu=[`c`,`cases`];function hu(e){return Ou(e,mu,[])}var gu=[`s`,`static`];function _u(e){return Ou(e,gu)}var vu=[`i`,`items`];function yu(e){return Ou(e,vu,[])}var bu=[`t`,`type`];function xu(e){return Ou(e,bu)}var Su=[`v`,`value`];function Cu(e,t){let n=Ou(e,Su);if(n!=null)return n;throw Au(t)}var wu=[`m`,`modifier`];function Tu(e){return Ou(e,wu)}var Eu=[`k`,`key`];function Du(e){let t=Ou(e,Eu);if(t)return t;throw Au(6)}function Ou(e,t,n){for(let n=0;n<t.length;n++){let r=t[n];if(Qc(e,r)&&e[r]!=null)return e[r]}return n}var ku=[...fu,...mu,...gu,...vu,...Eu,...wu,...Su,...bu];function Au(e){return Error(`unhandled node type: ${e}`)}function ju(e){return t=>Mu(t,e)}function Mu(e,t){let n=pu(t);if(n==null)throw Au(0);if(xu(n)===1){let t=hu(n);return e.plural(t.reduce((t,n)=>[...t,Nu(e,n)],[]))}return Nu(e,n)}function Nu(e,t){let n=_u(t);if(n!=null)return e.type===`text`?n:e.normalize([n]);{let n=yu(t).reduce((t,n)=>[...t,Pu(e,n)],[]);return e.normalize(n)}}function Pu(e,t){let n=xu(t);switch(n){case 3:return Cu(t,n);case 9:return Cu(t,n);case 4:{let r=t;if(Qc(r,`k`)&&r.k)return e.interpolate(e.named(r.k));if(Qc(r,`key`)&&r.key)return e.interpolate(e.named(r.key));throw Au(n)}case 5:{let r=t;if(Qc(r,`i`)&&Uc(r.i))return e.interpolate(e.list(r.i));if(Qc(r,`index`)&&Uc(r.index))return e.interpolate(e.list(r.index));throw Au(n)}case 6:{let n=t,r=Tu(n),i=Du(n);return e.linked(Pu(e,i),r?Pu(e,r):void 0,e.type)}case 7:return Cu(t,n);case 8:return Cu(t,n);default:throw Error(`unhandled node on format message part: ${n}`)}}var Fu=e=>e,Iu=L();function Lu(e,t={}){let n=!1,r=t.onError||jl;return t.onError=e=>{n=!0,r(e)},{...lu(e,t),detectError:n}}function Ru(e,t){if(!__INTLIFY_DROP_MESSAGE_COMPILER__&&z(e)){B(t.warnHtmlMessage)&&t.warnHtmlMessage;let n=(t.onCacheKey||Fu)(e),r=Iu[n];if(r)return r;let{ast:i,detectError:a}=Lu(e,{...t,location:!1,jit:!0}),o=ju(i);return a?o:Iu[n]=o}{let t=e.cacheKey;return t?Iu[t]||(Iu[t]=ju(e)):ju(e)}}var zu=null;function Bu(e){zu=e}function Vu(e,t,n){zu&&zu.emit(`i18n:init`,{timestamp:Date.now(),i18n:e,version:t,meta:n})}var Hu=Uu(`function:translate`);function Uu(e){return t=>zu&&zu.emit(e,t)}var Wu={INVALID_ARGUMENT:17,INVALID_DATE_ARGUMENT:18,INVALID_ISO_DATE_ARGUMENT:19,NOT_SUPPORT_NON_STRING_MESSAGE:20,NOT_SUPPORT_LOCALE_PROMISE_VALUE:21,NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:22,NOT_SUPPORT_LOCALE_TYPE:23};function Gu(e){return Al(e,null,void 0)}Wu.INVALID_ARGUMENT,Wu.INVALID_DATE_ARGUMENT,Wu.INVALID_ISO_DATE_ARGUMENT,Wu.NOT_SUPPORT_NON_STRING_MESSAGE,Wu.NOT_SUPPORT_LOCALE_PROMISE_VALUE,Wu.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION,Wu.NOT_SUPPORT_LOCALE_TYPE;function Ku(e,t){return t.locale==null?Ju(e.locale):Ju(t.locale)}var qu;function Ju(e){if(z(e))return e;if(tl(e)){if(e.resolvedOnce&&qu!=null)return qu;if(e.constructor.name===`Function`){let t=e();if(nl(t))throw Gu(Wu.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return qu=t}throw Gu(Wu.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}throw Gu(Wu.NOT_SUPPORT_LOCALE_TYPE)}function Yu(e,t,n){return[...new Set([n,...R(t)?t:V(t)?Object.keys(t).filter(e=>e!=="default"):z(t)?[t]:[n]])]}function Xu(e,t,n){let r=z(n)?n:fd,i=e,a;V(t)?(i.__localeChainObjectCache||=new WeakMap,a=i.__localeChainObjectCache.get(t),a||(a=new Map,i.__localeChainObjectCache.set(t,a))):(i.__localeChainCache||=new Map,a=i.__localeChainCache.get(t),a||(a=new Map,i.__localeChainCache.set(t,a)));let o=a.get(r);if(o)return o;let s=[],c=[n];for(;R(c);)c=Zu(s,c,t);let l=R(t)||!H(t)?t:t.default?t.default:null;return c=z(l)?[l]:l,R(c)&&Zu(s,c,!1),a.set(r,s),s}function Zu(e,t,n){let r=!0;for(let i=0;i<t.length&&B(r);i++){let a=t[i];z(a)&&(r=Qu(e,t[i],n))}return r}function Qu(e,t,n){let r,i=t.split(`-`);do r=$u(e,i.join(`-`),n),i.splice(-1,1);while(i.length&&r===!0);return r}function $u(e,t,n){let r=!1;if(!e.includes(t)&&(r=!0,t)){r=t[t.length-1]!==`!`;let i=t.replace(/!/g,``);e.push(i),(R(n)||H(n))&&n[i]&&(r=n[i])}return r}var ed=[];ed[0]={w:[0],i:[3,0],"[":[4],o:[7]},ed[1]={w:[1],".":[2],"[":[4],o:[7]},ed[2]={w:[2],i:[3,0],0:[3,0]},ed[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]},ed[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]},ed[5]={"'":[4,0],o:8,l:[5,0]},ed[6]={'"':[4,0],o:8,l:[6,0]};var td=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function nd(e){return td.test(e)}function rd(e){let t=e.charCodeAt(0);return t===e.charCodeAt(e.length-1)&&(t===34||t===39)?e.slice(1,-1):e}function id(e){if(e==null)return`o`;switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return`i`;case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return`w`}return`i`}function ad(e){let t=e.trim();return e.charAt(0)===`0`&&isNaN(parseInt(e))?!1:nd(t)?rd(t):`*`+t}function od(e){let t=[],n=-1,r=0,i=0,a,o,s,c,l,u,d,f=[];f[0]=()=>{o===void 0?o=s:o+=s},f[1]=()=>{o!==void 0&&(t.push(o),o=void 0)},f[2]=()=>{f[0](),i++},f[3]=()=>{if(i>0)i--,r=4,f[0]();else{if(i=0,o===void 0||(o=ad(o),o===!1))return!1;f[1]()}};function p(){let t=e[n+1];if(r===5&&t===`'`||r===6&&t===`"`)return n++,s=`\\`+t,f[0](),!0}for(;r!==null;)if(n++,a=e[n],!(a===`\\`&&p())){if(c=id(a),d=ed[r],l=d[c]||d.l||8,l===8||(r=l[0],l[1]!==void 0&&(u=f[l[1]],u&&(s=a,u()===!1))))return;if(r===7)return t}}var sd=new Map;function cd(e,t){return V(e)?e[t]:null}function ld(e,t){if(!V(e))return null;let n=sd.get(t);if(n||(n=od(t),n&&sd.set(t,n)),!n)return null;let r=n.length,i=e,a=0;for(;a<r;){let e=n[a];if(ku.includes(e)&&du(i)||!V(i)||!Qc(i,e))return null;let t=i[e];if(t===void 0||tl(i))return null;i=t,a++}return i}var ud={NOT_FOUND_KEY:1,FALLBACK_TO_TRANSLATE:2,CANNOT_FORMAT_NUMBER:3,FALLBACK_TO_NUMBER_FORMAT:4,CANNOT_FORMAT_DATE:5,FALLBACK_TO_DATE_FORMAT:6,EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:7,INVALID_NUMBER_ARGUMENT:8,INVALID_DATE_ARGUMENT:9};ud.NOT_FOUND_KEY,ud.FALLBACK_TO_TRANSLATE,ud.CANNOT_FORMAT_NUMBER,ud.FALLBACK_TO_NUMBER_FORMAT,ud.CANNOT_FORMAT_DATE,ud.FALLBACK_TO_DATE_FORMAT,ud.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER,ud.INVALID_NUMBER_ARGUMENT,ud.INVALID_DATE_ARGUMENT;var dd=`11.4.14`,fd=`en-US`,pd=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function md(){return{upper:(e,t)=>t===`text`&&z(e)?e.toUpperCase():t===`vnode`&&V(e)&&`__v_isVNode`in e?e.children.toUpperCase():e,lower:(e,t)=>t===`text`&&z(e)?e.toLowerCase():t===`vnode`&&V(e)&&`__v_isVNode`in e?e.children.toLowerCase():e,capitalize:(e,t)=>t===`text`&&z(e)?pd(e):t===`vnode`&&V(e)&&`__v_isVNode`in e?pd(e.children):e}}var hd;function gd(e){hd=e}var _d;function vd(e){_d=e}var yd;function bd(e){yd=e}var xd=null,Sd=()=>xd,Cd=null,wd=e=>{Cd=e},Td=()=>Cd,Ed=0;function Dd(e={}){let t=tl(e.onWarn)?e.onWarn:sl,n=z(e.version)?e.version:dd,r=z(e.locale)||tl(e.locale)?e.locale:fd,i=tl(r)?fd:r,a=R(e.fallbackLocale)||H(e.fallbackLocale)||z(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:i,o=H(e.messages)?e.messages:Od(i),s=H(e.datetimeFormats)?e.datetimeFormats:Od(i),c=H(e.numberFormats)?e.numberFormats:Od(i),l=qc(L(),e.modifiers,md()),u=e.pluralRules||L(),d=tl(e.missing)?e.missing:null,f=B(e.missingWarn)||Gc(e.missingWarn)?e.missingWarn:!0,p=B(e.fallbackWarn)||Gc(e.fallbackWarn)?e.fallbackWarn:!0,m=!!e.fallbackFormat,h=!!e.unresolving,g=tl(e.postTranslation)?e.postTranslation:null,_=H(e.processor)?e.processor:null,v=!B(e.warnHtmlMessage)||e.warnHtmlMessage,y=!!e.escapeParameter,b=tl(e.messageCompiler)?e.messageCompiler:hd,x=tl(e.messageResolver)?e.messageResolver:_d||cd,S=tl(e.localeFallbacker)?e.localeFallbacker:yd||Yu,C=V(e.fallbackContext)?e.fallbackContext:void 0,w=e,T=V(w.__datetimeFormatters)?w.__datetimeFormatters:new Map,E=V(w.__numberFormatters)?w.__numberFormatters:new Map,ee=V(w.__meta)?w.__meta:{};Ed++;let te={version:n,cid:Ed,locale:r,fallbackLocale:a,messages:o,modifiers:l,pluralRules:u,missing:d,missingWarn:f,fallbackWarn:p,fallbackFormat:m,unresolving:h,postTranslation:g,processor:_,warnHtmlMessage:v,escapeParameter:y,messageCompiler:b,messageResolver:x,localeFallbacker:S,fallbackContext:C,onWarn:t,__meta:ee};return te.datetimeFormats=s,te.numberFormats=c,te.__datetimeFormatters=T,te.__numberFormatters=E,__INTLIFY_PROD_DEVTOOLS__&&Vu(te,n,ee),te}var Od=e=>({[e]:L()});function kd(e,t,n,r,i){let{missing:a,onWarn:o}=e;if(a!==null){let r=a(e,n,t,i);return z(r)?r:t}return t}function Ad(e,t){let n=e;V(t)?n.__localeChainObjectCache?.delete(t):n.__localeChainCache?.delete(t)}function jd(e,t,n){Ad(e,n),e.fallbackContext&&Ad(e.fallbackContext,n),e.localeFallbacker(e,n,t)}function Md(e,t){return e!==t&&e.split(`-`)[0]===t.split(`-`)[0]}function Nd(e,t){let n=t.indexOf(e);if(n===-1)return!1;for(let r=n+1;r<t.length;r++)if(Md(e,t[r]))return!0;return!1}function Pd(e,t,n,r,i,a,o){let{fallbackLocale:s,localeFallbacker:c,onWarn:l}=e,u=c(e,s,n);for(let n=0;n<u.length;n++){let a=u[n],s=(r[a]||{})[t];if(H(s)&&z(a))return a;kd(e,t,a,i,o)}return null}function Fd(e,t,n){let r=`${e}__${t}`;return H(n)&&!Kc(n)&&(r=`${r}__${JSON.stringify(n)}`),r}function Id(e,t,n){for(let r in n){let n=`${t}__${r}`;for(let t of e.keys())(t===n||t.startsWith(`${n}__`))&&e.delete(t)}}function Ld(e,t,n,r){let[,i,a,o]=e,s=n;return z(i)?t.key=i:H(i)&&Object.keys(i).forEach(e=>{r.includes(e)?s[e]=i[e]:t[e]=i[e]}),z(a)?t.locale=a:H(a)&&(s=a),H(o)&&(s=o),s}var Rd=typeof Intl<`u`;Rd&&Intl.DateTimeFormat,Rd&&Intl.NumberFormat;function zd(e,...t){let{datetimeFormats:n,unresolving:r,onWarn:i}=e,{__datetimeFormatters:a}=e;if(!z(t[0])&&!Wc(t[0])&&!Uc(t[0]))return``;let[o,s,c,l]=Vd(...t),u=B(c.missingWarn)?c.missingWarn:e.missingWarn,d=B(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=!!c.part,p=Ku(e,c);if(!z(o)||o===``){let e=new Intl.DateTimeFormat(p.replace(/!/g,``),l);return f?e.formatToParts(s):e.format(s)}let m=Pd(e,o,p,n,u,d,`datetime format`);if(!z(m))return r?-1:o;let h=n[m][o],g=Fd(m,o,l),_=a.get(g);return _||(_=new Intl.DateTimeFormat(m,qc({},h,l)),a.set(g,_)),f?_.formatToParts(s):_.format(s)}var Bd=[`localeMatcher`,`weekday`,`era`,`year`,`month`,`day`,`hour`,`minute`,`second`,`timeZoneName`,`formatMatcher`,`hour12`,`timeZone`,`dateStyle`,`timeStyle`,`calendar`,`dayPeriod`,`numberingSystem`,`hourCycle`,`fractionalSecondDigits`];function Vd(...e){let[t]=e,n=L(),r=L(),i;if(z(t)){let e=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!e)throw Gu(Wu.INVALID_ISO_DATE_ARGUMENT);let n=e[3]?e[3].trim().startsWith(`T`)?`${e[1].trim()}${e[3].trim()}`:`${e[1].trim()}T${e[3].trim()}`:e[1].trim();i=new Date(n);try{i.toISOString()}catch{throw Gu(Wu.INVALID_ISO_DATE_ARGUMENT)}}else if(Wc(t)){if(isNaN(t.getTime()))throw Gu(Wu.INVALID_DATE_ARGUMENT);i=t}else if(Uc(t))i=t;else throw Gu(Wu.INVALID_ARGUMENT);let a=Ld(e,n,r,Bd);return[n.key||``,i,n,a]}function Hd(e,t,n){Id(e.__datetimeFormatters,t,n)}function Ud(e,...t){let{numberFormats:n,unresolving:r,onWarn:i}=e,{__numberFormatters:a}=e;if(!Uc(t[0]))return``;let[o,s,c,l]=Gd(...t),u=B(c.missingWarn)?c.missingWarn:e.missingWarn,d=B(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,f=!!c.part,p=Ku(e,c);if(!z(o)||o===``){let e=new Intl.NumberFormat(p.replace(/!/g,``),l);return f?e.formatToParts(s):e.format(s)}let m=Pd(e,o,p,n,u,d,`number format`);if(!z(m))return r?-1:o;let h=n[m][o],g=Fd(m,o,l),_=a.get(g);return _||(_=new Intl.NumberFormat(m,qc({},h,l)),a.set(g,_)),f?_.formatToParts(s):_.format(s)}var Wd=[`localeMatcher`,`style`,`currency`,`currencyDisplay`,`currencySign`,`useGrouping`,`minimumIntegerDigits`,`minimumFractionDigits`,`maximumFractionDigits`,`minimumSignificantDigits`,`maximumSignificantDigits`,`compactDisplay`,`notation`,`signDisplay`,`unit`,`unitDisplay`,`roundingMode`,`roundingPriority`,`roundingIncrement`,`trailingZeroDisplay`];function Gd(...e){let[t]=e,n=L(),r=L();if(!Uc(t))throw Gu(Wu.INVALID_ARGUMENT);let i=t,a=Ld(e,n,r,Wd);return[n.key||``,i,n,a]}function Kd(e,t,n){Id(e.__numberFormatters,t,n)}var qd=e=>e,Jd=e=>``,Yd=`text`,Xd=e=>e.length===0?``:ol(e),Zd=al;function Qd(e,t){return e=Math.abs(e),t===2?e===1?0:1:Math.min(e,2)}function $d(e){let t=Uc(e.pluralIndex)?e.pluralIndex:-1;return Uc(e.named?.count)?e.named.count:Uc(e.named?.n)?e.named.n:t}function ef(e={}){let t=e.locale,n=$d(e),r=z(t)&&tl(e.pluralRules?.[t])?e.pluralRules[t]:Qd,i=r===Qd?void 0:Qd,a=e=>e[r(n,e.length,i)],o=e.list||[],s=e=>o[e],c=e.named||L();Uc(e.pluralIndex)&&(c.count||=e.pluralIndex,c.n||=e.pluralIndex);let l=e=>c[e];function u(t,n){return(tl(e.messages)?e.messages(t,!!n):V(e.messages)?e.messages[t]:!1)||(e.parent?e.parent.message(t):Jd)}let d=t=>e.modifiers?e.modifiers[t]:qd,f=tl(e.processor?.normalize)?e.processor.normalize:Xd,p=tl(e.processor?.interpolate)?e.processor.interpolate:Zd,m={list:s,named:l,plural:a,linked:(e,...t)=>{let[n,r]=t,i=`text`,a=``;t.length===1?V(n)?(a=n.modifier||a,i=n.type||i):z(n)&&(a=n||a):t.length===2&&(z(n)&&(a=n||a),z(r)&&(i=r||i));let o=u(e,!0)(m),s=o===``||o===void 0?e:o,c=i===`vnode`&&R(s)&&a?s[0]:s;return a?d(a)(c,i):c},message:u,type:z(e.processor?.type)?e.processor.type:Yd,interpolate:p,normalize:f,values:qc(L(),o,c)};return m}var tf=()=>``,nf=e=>tl(e),rf=e=>z(e)||du(e)||nf(e);function af(e,...t){let{fallbackFormat:n,postTranslation:r,unresolving:i,messageCompiler:a,fallbackLocale:o,messages:s}=e,[c,l]=uf(...t),u=B(l.missingWarn)?l.missingWarn:e.missingWarn,d=B(l.fallbackWarn)?l.fallbackWarn:e.fallbackWarn,f=B(l.escapeParameter)?l.escapeParameter:e.escapeParameter,p=!!l.resolvedMessage,m=z(l.default)||B(l.default)?B(l.default)?a?c:()=>c:l.default:n?a?c:()=>c:null,h=n||m!=null&&(z(m)||tl(m)),g=Ku(e,l);f&&of(l);let[_,v,y]=p?[c,g,s[g]||L()]:sf(e,c,g,o,d,u),b=_,x=c;if(!p&&!rf(b)&&h&&(b=m,x=b),!p&&(!rf(b)||!z(v)))return i?-1:c;let S=!1,C=nf(b)?b:cf(e,c,v,b,x,()=>{S=!0});if(S)return b;let w=lf(e,C,ef(ff(e,v,y,l))),T=r?r(w,c):w;if(f&&z(T)&&(T=Tl(T)),__INTLIFY_PROD_DEVTOOLS__){let t={timestamp:Date.now(),key:z(c)?c:nf(b)?b.key:``,locale:v||(nf(b)?b.locale:``),format:z(b)?b:nf(b)?b.source:``,message:T};t.meta=qc({},e.__meta,Sd()||{}),Hu(t)}return T}function of(e){if(R(e.list)&&(e.list=e.list.map(e=>z(e)?cl(e):e)),V(e.named)){let t=e.named,n=L();for(let e of Object.keys(t)){let r=t[e];n[e]=z(r)?cl(r):r}e.named=n}}function sf(e,t,n,r,i,a){let{messages:o,onWarn:s,messageResolver:c,localeFallbacker:l}=e,u=l(e,r,n),d=L(),f,p=null;for(let n=0;n<u.length&&(f=u[n],d=o[f]||L(),(p=c(d,t))===null&&(p=d[t]),!rf(p));n++)if(!Nd(f,u)){let n=kd(e,t,f,a,`translate`);n!==t&&(p=n)}return[p,f,d]}function cf(e,t,n,r,i,a){let{messageCompiler:o,warnHtmlMessage:s}=e;if(nf(r)){let e=r;return e.locale=e.locale||n,e.key=e.key||t,e}if(o==null){let e=(()=>r);return e.locale=n,e.key=t,e}let c=o(r,df(e,n,i,r,s,a));return c.locale=n,c.key=t,c.source=r,c}function lf(e,t,n){return t(n)}function uf(...e){let[t,n,r]=e,i=L();if(!z(t)&&!Uc(t)&&!nf(t)&&!du(t))throw Gu(Wu.INVALID_ARGUMENT);let a=Uc(t)?String(t):(nf(t),t);return Uc(n)?i.plural=n:z(n)?i.default=n:H(n)&&!Kc(n)?i.named=n:R(n)&&(i.list=n),Uc(r)?i.plural=r:z(r)?i.default=r:H(r)&&qc(i,r),[a,i]}function df(e,t,n,r,i,a){return{locale:t,key:n,warnHtmlMessage:i,onError:e=>{throw a&&a(e),e},onCacheKey:e=>Vc(t,n,e)}}function ff(e,t,n,r){let{modifiers:i,pluralRules:a,messageResolver:o,fallbackLocale:s,fallbackWarn:c,missingWarn:l,fallbackContext:u}=e,d={locale:t,modifiers:i,pluralRules:a,messages:(r,i)=>{let a=o(n,r);if(a==null&&(u||i)){let[n,,i]=sf(u||e,r,t,s,c,l);a=n??o(i,r)}if(z(a)||du(a)){let n=!1,i=cf(e,r,t,a,r,()=>{n=!0});return n?tf:i}return nf(a)?a:tf}};return e.processor&&(d.processor=e.processor),r.list&&(d.list=r.list),r.named&&(d.named=r.named),Uc(r.plural)&&(d.pluralIndex=r.plural),d}uu();var pf=`11.4.14`;function mf(){typeof __VUE_I18N_FULL_INSTALL__!=`boolean`&&(Xc().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!=`boolean`&&(Xc().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!=`boolean`&&(Xc().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!=`boolean`&&(Xc().__INTLIFY_PROD_DEVTOOLS__=!1)}var W={UNEXPECTED_RETURN_TYPE:24,INVALID_ARGUMENT:25,MUST_BE_CALL_SETUP_TOP:26,NOT_INSTALLED:27,REQUIRED_VALUE:28,INVALID_VALUE:29,CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:30,NOT_INSTALLED_WITH_PROVIDE:31,UNEXPECTED_ERROR:32,NOT_COMPATIBLE_LEGACY_VUE_I18N:33,NOT_AVAILABLE_COMPOSITION_IN_LEGACY:34};function hf(e,...t){return Al(e,null,void 0)}W.UNEXPECTED_RETURN_TYPE,W.INVALID_ARGUMENT,W.MUST_BE_CALL_SETUP_TOP,W.NOT_INSTALLED,W.UNEXPECTED_ERROR,W.REQUIRED_VALUE,W.INVALID_VALUE,W.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN,W.NOT_INSTALLED_WITH_PROVIDE,W.NOT_COMPATIBLE_LEGACY_VUE_I18N,W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY;var gf=Bc(`__translateVNode`),_f=Bc(`__datetimeParts`),vf=Bc(`__numberParts`),yf=Bc(`__setPluralRules`);Bc(`__intlifyMeta`);var bf=Bc(`__injectWithOption`),xf=Bc(`__dispose`),Sf={FALLBACK_TO_ROOT:10,NOT_FOUND_PARENT_SCOPE:11,IGNORE_OBJ_FLATTEN:12,DEPRECATE_LEGACY_MODE:13,DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE:14,DUPLICATE_USE_I18N_CALLING:15,IGNORE_UNSAFE_LOCALE:16};Sf.FALLBACK_TO_ROOT,Sf.NOT_FOUND_PARENT_SCOPE,Sf.IGNORE_OBJ_FLATTEN,Sf.DEPRECATE_LEGACY_MODE,Sf.DEPRECATE_TRANSLATE_CUSTOME_DIRECTIVE,Sf.DUPLICATE_USE_I18N_CALLING,Sf.IGNORE_UNSAFE_LOCALE;var Cf=null;{let e=Xc().__VUE_INSTANCE_SETTERS__;R(e)&&e.push(e=>{Cf=e})}function wf(e){return!!el(e)}function Tf(e){if(!V(e)||du(e))return e;for(let t in e)if(Qc(e,t)){if(!t.includes(`.`))V(e[t])&&Tf(e[t]);else{let n=t.split(`.`),r=n.length-1,i=e,a=!1;for(let e=0;e<r;e++){if(n[e]===`__proto__`)throw Error(`unsafe key: ${n[e]}`);if(n[e]in i||(i[n[e]]=L()),!V(i[n[e]])){a=!0;break}i=i[n[e]]}if(a||(du(i)?ku.includes(n[r])||delete e[t]:(i[n[r]]=e[t],delete e[t])),!du(i)){let e=i[n[r]];V(e)&&Tf(e)}}}return e}function Ef(e,t){let{messages:n,__i18n:r,messageResolver:i,flatJson:a}=t,o=H(n)?n:R(r)?L():{[e]:L()};if(R(r)&&r.forEach(e=>{if(`locale`in e&&`resource`in e){let{locale:t,resource:n}=e;if(t){if(wf(t))return;o[t]=$c(o,t)||L(),Dl(n,o[t])}else Dl(n,o)}else z(e)&&Dl(JSON.parse(e),o)}),i==null&&a)for(let e in o)Qc(o,e)&&Tf(o[e]);return o}function Df(e){return e.type}function Of(e,t,n){let r=V(t.messages)?t.messages:L();`__i18nGlobal`in n&&(r=Ef(e.locale.value,{messages:r,__i18n:n.__i18nGlobal}));let i=Object.keys(r);if(i.length&&i.forEach(t=>{e.mergeLocaleMessage(t,r[t])}),V(t.datetimeFormats)){let n=Object.keys(t.datetimeFormats);n.length&&n.forEach(n=>{e.mergeDateTimeFormat(n,t.datetimeFormats[n])})}if(V(t.numberFormats)){let n=Object.keys(t.numberFormats);n.length&&n.forEach(n=>{e.mergeNumberFormat(n,t.numberFormats[n])})}}function kf(e){return j(Ze,null,e,0)}function Af(){return Cf??Be()}var jf=()=>[],Mf=()=>!1,Nf=0;function Pf(e){return((t,n,r,i)=>e(n,r,Af()||void 0,i))}function Ff(e={}){let{__root:t,__injectWithOption:n}=e,r=t===void 0,i=e.flatJson,a=zc?Ct:Et,o=!B(e.inheritLocale)||e.inheritLocale,s=a(t&&o?t.locale.value:z(e.locale)?e.locale:fd),c=a(t&&o?t.fallbackLocale.value:z(e.fallbackLocale)||R(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:s.value),l=a(Ef(s.value,e)),u=a(H(e.datetimeFormats)?e.datetimeFormats:{[s.value]:{}}),d=a(H(e.numberFormats)?e.numberFormats:{[s.value]:{}}),f=t?t.missingWarn:B(e.missingWarn)||Gc(e.missingWarn)?e.missingWarn:!0,p=t?t.fallbackWarn:B(e.fallbackWarn)||Gc(e.fallbackWarn)?e.fallbackWarn:!0,m=t?t.fallbackRoot:!B(e.fallbackRoot)||e.fallbackRoot,h=!!e.fallbackFormat,g=tl(e.missing)?e.missing:null,_=tl(e.missing)?Pf(e.missing):null,v=tl(e.postTranslation)?e.postTranslation:null,y=t?t.warnHtmlMessage:!B(e.warnHtmlMessage)||e.warnHtmlMessage,b=!!e.escapeParameter,x=t?t.modifiers:H(e.modifiers)?e.modifiers:{},S=e.pluralRules||t&&t.pluralRules,C;C=(()=>{r&&wd(null);let t={version:pf,locale:s.value,fallbackLocale:c.value,messages:l.value,modifiers:x,pluralRules:S,missing:_===null?void 0:_,missingWarn:f,fallbackWarn:p,fallbackFormat:h,unresolving:!0,postTranslation:v===null?void 0:v,warnHtmlMessage:y,escapeParameter:b,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:`vue`}};t.datetimeFormats=u.value,t.numberFormats=d.value;let n=Dd(t);return r&&wd(n),n})(),jd(C,s.value,c.value);function w(){return[s.value,c.value,l.value,u.value,d.value]}let T=P({get:()=>s.value,set:e=>{C.locale=e,s.value=e}});function E(e){r||(C.fallbackContext=Td());try{return e()}finally{r||(C.fallbackContext=void 0)}}function ee(e){E(()=>jd(C,s.value,e))}let te=P({get:()=>c.value,set:e=>{c.value=e,C.fallbackLocale=c.value,ee(c.value)}}),ne=P(()=>l.value),re=P(()=>u.value),ie=P(()=>d.value);function D(){return tl(v)?v:null}function ae(e){v=e,C.postTranslation=e}function oe(){return g}function se(e){e!==null&&(_=Pf(e)),g=e,C.missing=_}let O=(e,n,r,i,a,o)=>{w();let s;try{__INTLIFY_PROD_DEVTOOLS__,s=E(()=>e(C))}finally{__INTLIFY_PROD_DEVTOOLS__}if(r!==`translate exists`&&Uc(s)&&s===-1||r===`translate exists`&&!s){let[e,r]=n();return t&&m?i(t):a(e)}if(o(s))return s;throw hf(W.UNEXPECTED_RETURN_TYPE)};function k(...e){return O(t=>Reflect.apply(af,null,[t,...e]),()=>uf(...e),`translate`,t=>Reflect.apply(t.t,t,[...e]),e=>e,e=>z(e))}function ce(...e){let[t,n,r]=e;if(r&&!V(r))throw hf(W.INVALID_ARGUMENT);return k(t,n,qc({resolvedMessage:!0},r||{}))}function le(...e){return O(t=>Reflect.apply(zd,null,[t,...e]),()=>Vd(...e),`datetime format`,t=>Reflect.apply(t.d,t,[...e]),()=>``,e=>z(e)||R(e))}function ue(...e){return O(t=>Reflect.apply(Ud,null,[t,...e]),()=>Gd(...e),`number format`,t=>Reflect.apply(t.n,t,[...e]),()=>``,e=>z(e)||R(e))}function de(e){return e.map(e=>z(e)||Uc(e)||B(e)?kf(String(e)):e)}let fe={normalize:de,interpolate:e=>e,type:`vnode`};function pe(...e){return O(t=>{let n,r=t;try{r.processor=fe,n=Reflect.apply(af,null,[r,...e])}finally{r.processor=null}return n},()=>uf(...e),`translate`,t=>t[gf](...e),e=>[kf(e)],e=>R(e))}function me(...e){return O(t=>Reflect.apply(Ud,null,[t,...e]),()=>Gd(...e),`number format`,t=>t[vf](...e),jf,e=>z(e)||R(e))}function he(...e){return O(t=>Reflect.apply(zd,null,[t,...e]),()=>Vd(...e),`datetime format`,t=>t[_f](...e),jf,e=>z(e)||R(e))}function ge(e){S=e,C.pluralRules=S}function _e(e,t){return O(()=>{if(!e)return!1;let n=z(t)?t:s.value,r=z(t)?[n]:Xu(C,c.value,n);for(let t=0;t<r.length;t++){let n=be(r[t]),i=C.messageResolver(n,e);if(i===null&&(i=n[e]),rf(i))return!0}return!1},()=>[e],`translate exists`,n=>Reflect.apply(n.te,n,[e,t]),Mf,e=>B(e))}function ve(e){let t=null,n=Xu(C,c.value,s.value);for(let r=0;r<n.length;r++){let i=$c(l.value,n[r])||{},a=C.messageResolver(i,e);if(a!=null){t=a;break}}return t}function ye(e){return ve(e)??(t&&t.tm(e)||{})}function be(e){return $c(l.value,e)||{}}function xe(e,t){wf(e)||(i&&Tf(t),l.value[e]=t,C.messages=l.value)}function Se(e,t){wf(e)||(l.value[e]=$c(l.value,e)||{},i&&Tf(t),Dl(t,l.value[e]),C.messages=l.value)}function Ce(e){return $c(u.value,e)||{}}function A(e,t){wf(e)||(u.value[e]=t,C.datetimeFormats=u.value,Hd(C,e,t))}function we(e,t){wf(e)||(u.value[e]=qc($c(u.value,e)||{},t),C.datetimeFormats=u.value,Hd(C,e,t))}function Te(e){return $c(d.value,e)||{}}function Ee(e,t){wf(e)||(d.value[e]=t,C.numberFormats=d.value,Kd(C,e,t))}function De(e,t){wf(e)||(d.value[e]=qc($c(d.value,e)||{},t),C.numberFormats=d.value,Kd(C,e,t))}Nf++,Re(c,()=>ee(c.value),{deep:!0,flush:`sync`}),t&&zc&&(Re(t.locale,e=>{o&&(s.value=e,C.locale=e,jd(C,s.value,c.value))}),Re(t.fallbackLocale,e=>{o&&(c.value=e,C.fallbackLocale=c.value,jd(C,s.value,c.value))}));let Oe={id:Nf,locale:T,fallbackLocale:te,get inheritLocale(){return o},set inheritLocale(e){o=e,e&&t&&(T.value=t.locale.value,te.value=t.fallbackLocale.value)},get availableLocales(){return Object.keys(l.value).sort()},messages:ne,get modifiers(){return x},get pluralRules(){return S||{}},get isGlobal(){return r},get missingWarn(){return f},set missingWarn(e){f=e,C.missingWarn=f},get fallbackWarn(){return p},set fallbackWarn(e){p=e,C.fallbackWarn=p},get fallbackRoot(){return m},set fallbackRoot(e){m=e},get fallbackFormat(){return h},set fallbackFormat(e){h=e,C.fallbackFormat=h},get warnHtmlMessage(){return y},set warnHtmlMessage(e){y=e,C.warnHtmlMessage=e},get escapeParameter(){return b},set escapeParameter(e){b=e,C.escapeParameter=e},t:k,getLocaleMessage:be,setLocaleMessage:xe,mergeLocaleMessage:Se,getPostTranslationHandler:D,setPostTranslationHandler:ae,getMissingHandler:oe,setMissingHandler:se,[yf]:ge};return Oe.datetimeFormats=re,Oe.numberFormats=ie,Oe.rt=ce,Oe.te=_e,Oe.tm=ye,Oe.d=le,Oe.n=ue,Oe.getDateTimeFormat=Ce,Oe.setDateTimeFormat=A,Oe.mergeDateTimeFormat=we,Oe.getNumberFormat=Te,Oe.setNumberFormat=Ee,Oe.mergeNumberFormat=De,Oe[bf]=n,Oe[gf]=pe,Oe[_f]=he,Oe[vf]=me,Oe}function If(e){let t=z(e.locale)?e.locale:fd,n=z(e.fallbackLocale)||R(e.fallbackLocale)||H(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,r=tl(e.missing)?e.missing:void 0,i=B(e.silentTranslationWarn)||Gc(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,a=B(e.silentFallbackWarn)||Gc(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,o=!B(e.fallbackRoot)||e.fallbackRoot,s=!!e.formatFallbackMessages,c=H(e.modifiers)?e.modifiers:{},l=e.pluralizationRules,u=tl(e.postTranslation)?e.postTranslation:void 0,d=!z(e.warnHtmlInMessage)||e.warnHtmlInMessage!==`off`,f=!!e.escapeParameterHtml,p=!B(e.sync)||e.sync,m=e.messages;if(H(e.sharedMessages)){let t=e.sharedMessages;m=Object.keys(t).reduce((e,n)=>(wf(n)||qc($c(e,n)||(e[n]={}),t[n]),e),m||{})}let{__i18n:h,__root:g,__injectWithOption:_}=e,v=e.datetimeFormats,y=e.numberFormats,b=e.flatJson;return{locale:t,fallbackLocale:n,messages:m,flatJson:b,datetimeFormats:v,numberFormats:y,missing:r,missingWarn:i,fallbackWarn:a,fallbackRoot:o,fallbackFormat:s,modifiers:c,pluralRules:l,postTranslation:u,warnHtmlMessage:d,escapeParameter:f,messageResolver:e.messageResolver,inheritLocale:p,__i18n:h,__root:g,__injectWithOption:_}}function Lf(e={}){let t=Ff(If(e)),{__extender:n}=e,r={id:t.id,get locale(){return t.locale.value},set locale(e){t.locale.value=e},get fallbackLocale(){return t.fallbackLocale.value},set fallbackLocale(e){t.fallbackLocale.value=e},get messages(){return t.messages.value},get datetimeFormats(){return t.datetimeFormats.value},get numberFormats(){return t.numberFormats.value},get availableLocales(){return t.availableLocales},get missing(){return t.getMissingHandler()},set missing(e){t.setMissingHandler(e)},get silentTranslationWarn(){return B(t.missingWarn)?!t.missingWarn:t.missingWarn},set silentTranslationWarn(e){t.missingWarn=B(e)?!e:e},get silentFallbackWarn(){return B(t.fallbackWarn)?!t.fallbackWarn:t.fallbackWarn},set silentFallbackWarn(e){t.fallbackWarn=B(e)?!e:e},get modifiers(){return t.modifiers},get formatFallbackMessages(){return t.fallbackFormat},set formatFallbackMessages(e){t.fallbackFormat=e},get postTranslation(){return t.getPostTranslationHandler()},set postTranslation(e){t.setPostTranslationHandler(e)},get sync(){return t.inheritLocale},set sync(e){t.inheritLocale=e},get warnHtmlInMessage(){return t.warnHtmlMessage?`warn`:`off`},set warnHtmlInMessage(e){t.warnHtmlMessage=e!==`off`},get escapeParameterHtml(){return t.escapeParameter},set escapeParameterHtml(e){t.escapeParameter=e},get pluralizationRules(){return t.pluralRules||{}},__composer:t,t(...e){return Reflect.apply(t.t,t,[...e])},rt(...e){return Reflect.apply(t.rt,t,[...e])},te(e,n){return t.te(e,n)},tm(e){return t.tm(e)},getLocaleMessage(e){return t.getLocaleMessage(e)},setLocaleMessage(e,n){t.setLocaleMessage(e,n)},mergeLocaleMessage(e,n){t.mergeLocaleMessage(e,n)},d(...e){return Reflect.apply(t.d,t,[...e])},getDateTimeFormat(e){return t.getDateTimeFormat(e)},setDateTimeFormat(e,n){t.setDateTimeFormat(e,n)},mergeDateTimeFormat(e,n){t.mergeDateTimeFormat(e,n)},n(...e){return Reflect.apply(t.n,t,[...e])},getNumberFormat(e){return t.getNumberFormat(e)},setNumberFormat(e,n){t.setNumberFormat(e,n)},mergeNumberFormat(e,n){t.mergeNumberFormat(e,n)}};return r.__extender=n,r}function Rf(e,t,n){return{beforeCreate(){let r=Af();if(!r)throw hf(W.UNEXPECTED_ERROR);let i=this.$options;if(i.i18n){let r=i.i18n;if(i.__i18n&&(r.__i18n=i.__i18n),r.__root=t,this===this.$root)this.$i18n=zf(e,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Lf(r);let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else if(i.__i18n){if(this===this.$root)this.$i18n=zf(e,i);else{this.$i18n=Lf({__i18n:i.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});let e=this.$i18n;e.__extender&&(e.__disposer=e.__extender(this.$i18n))}}else this.$i18n=e;i.__i18nGlobal&&Of(t,i,i),this.$t=(...e)=>this.$i18n.t(...e),this.$rt=(...e)=>this.$i18n.rt(...e),this.$te=(e,t)=>this.$i18n.te(e,t),this.$d=(...e)=>this.$i18n.d(...e),this.$n=(...e)=>this.$i18n.n(...e),this.$tm=e=>this.$i18n.tm(e),n.__setInstance(r,this.$i18n)},mounted(){},unmounted(){let e=Af();if(!e)throw hf(W.UNEXPECTED_ERROR);let t=this.$i18n;t&&(delete this.$t,delete this.$rt,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,t?.__disposer&&(t.__disposer(),delete t.__disposer,delete t.__extender),n.__deleteInstance(e),delete this.$i18n)}}}function zf(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[yf](t.pluralizationRules||e.pluralizationRules);let n=Ef(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(t=>e.mergeLocaleMessage(t,n[t])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(n=>e.mergeDateTimeFormat(n,t.datetimeFormats[n])),t.numberFormats&&Object.keys(t.numberFormats).forEach(n=>e.mergeNumberFormat(n,t.numberFormats[n])),e}var Bf={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e===`parent`||e===`global`,default:`parent`},i18n:{type:Object}};function Vf({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((e,t)=>[...e,...t.type===ft?t.children:[t]],[]):t.reduce((t,n)=>{let r=e[n];return r&&(t[n]=r()),t},L())}function Hf(){return ft}var Uf=st({name:`i18n-t`,props:qc({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Uc(e)||!isNaN(e)}},Bf),setup(e,t){let{slots:n,attrs:r}=t,i=e.i18n||ep({useScope:e.scope,__useComponent:!0});return()=>{let a=()=>{let r=Object.keys(n).filter(e=>e[0]!==`_`),a=L();e.locale&&(a.locale=e.locale),e.plural!==void 0&&(a.plural=z(e.plural)?+e.plural:e.plural);let o=Vf(t,r);return i[gf](e.keypath,o,a)},o=qc(L(),r),s=z(e.tag)||V(e.tag)?e.tag:Hf();return V(s)?Ne(s,o,{default:a}):Ne(s,o,a())}}});function Wf(e){return R(e)&&!z(e[0])}function Gf(e,t,n,r){let{slots:i,attrs:a}=t;return()=>{let t=()=>{let t={part:!0},a=L();e.locale&&(t.locale=e.locale),z(e.format)?t.key=e.format:V(e.format)&&(z(e.format.key)&&(t.key=e.format.key),a=Object.keys(e.format).reduce((t,r)=>n.includes(r)?qc(L(),t,{[r]:e.format[r]}):t,L()));let o=r(e.value,t,a),s=[t.key];return R(o)?s=o.map((e,t)=>{let n=i[e.type],r=n?n({[e.type]:e.value,index:t,parts:o}):[e.value];return Wf(r)&&(r[0].key=`${e.type}-${t}`),r}):z(o)&&(s=[o]),s},o=qc(L(),a),s=z(e.tag)||V(e.tag)?e.tag:Hf();return V(s)?Ne(s,o,{default:t}):Ne(s,o,t())}}var Kf=st({name:`i18n-n`,props:qc({value:{type:Number,required:!0},format:{type:[String,Object]}},Bf),setup(e,t){let n=e.i18n||ep({useScope:e.scope,__useComponent:!0});return Gf(e,t,Wd,(...e)=>n[vf](...e))}});function qf(e,t){let n=e;if(e.mode===`composition`)return n.__getInstance(t)||e.global;{let r=n.__getInstance(t);return r==null?e.global.__composer:r.__composer}}function Jf(e){let t=t=>{let{instance:n,value:r}=t;if(!n||!n.$)throw hf(W.UNEXPECTED_ERROR);let i=qf(e,n.$),a=Yf(r);return[Reflect.apply(i.t,i,[...Xf(a)]),i]};return{created:(e,n)=>{let[r,i]=t(n);zc&&(e.__i18nWatcher=Re(i.locale,()=>{n.instance&&n.instance.$forceUpdate()})),e.__composer=i,e.textContent=r},unmounted:e=>{zc&&e.__i18nWatcher&&(e.__i18nWatcher(),e.__i18nWatcher=void 0,delete e.__i18nWatcher),e.__composer&&(e.__composer=void 0,delete e.__composer)},beforeUpdate:(e,{value:t})=>{if(e.__composer){let n=e.__composer,r=Yf(t);e.textContent=Reflect.apply(n.t,n,[...Xf(r)])}},getSSRProps:e=>{let[n]=t(e);return{textContent:n}}}}function Yf(e){if(z(e))return{path:e};if(H(e)){if(!(`path`in e))throw hf(W.REQUIRED_VALUE,`path`);return e}throw hf(W.INVALID_VALUE)}function Xf(e){let{path:t,locale:n,args:r,choice:i,plural:a}=e,o={},s=r||{};return z(n)&&(o.locale=n),Uc(i)&&(o.plural=i),Uc(a)&&(o.plural=a),[t,s,o]}function Zf(e,t,...n){let r=H(n[0])?n[0]:{};(!B(r.globalInstall)||r.globalInstall)&&([Uf.name,`I18nT`].forEach(t=>e.component(t,Uf)),[Kf.name,`I18nN`].forEach(t=>e.component(t,Kf)),[dp.name,`I18nD`].forEach(t=>e.component(t,dp))),e.directive(`t`,Jf(t))}var Qf=Bc(`global-vue-i18n`);function $f(e={}){let t=__VUE_I18N_LEGACY_API__&&B(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,n=!B(e.globalInjection)||e.globalInjection,r=new Map,[i,a]=tp(e,t),o=Bc(``);function s(e){return r.get(e)||null}function c(e,t){r.set(e,t)}function l(e){r.delete(e)}let u={get mode(){return __VUE_I18N_LEGACY_API__&&t?`legacy`:`composition`},async install(e,...r){if(e.__VUE_I18N_SYMBOL__=o,e.provide(e.__VUE_I18N_SYMBOL__,u),H(r[0])){let e=r[0];u.__composerExtend=e.__composerExtend,u.__vueI18nExtend=e.__vueI18nExtend}let i=null;!t&&n&&(i=up(e,u.global)),__VUE_I18N_FULL_INSTALL__&&Zf(e,u,...r),__VUE_I18N_LEGACY_API__&&t&&e.mixin(Rf(a,a.__composer,u));let s=e.unmount;e.unmount=()=>{i&&i(),u.dispose(),s()}},get global(){return a},dispose(){i.stop()},__instances:r,__getInstance:s,__setInstance:c,__deleteInstance:l};return u}function ep(e={}){let t=Af();if(t==null)throw hf(W.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw hf(W.NOT_INSTALLED);let n=np(t),r=ip(n),i=Df(t),a=rp(e,i);if(a===`global`)return Of(r,e,i),r;if(a===`parent`){let i=ap(n,t,e.__useComponent);return i??=r,i}if(a===`isolated`){if(n.mode!==`composition`)throw hf(W.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);let i=n,a=qc({},e);a.__root=ap(n,t)||r;let o=Ff(a);return i.__composerExtend&&(o[xf]=i.__composerExtend(o)),Je()&&mt(()=>{let e=o[xf];e&&(e(),delete o[xf])}),o}let o=n,s=o.__getInstance(t);if(s==null){let n=qc({},e);`__i18n`in i&&(n.__i18n=i.__i18n),r&&(n.__root=r),s=Ff(n),o.__composerExtend&&(s[xf]=o.__composerExtend(s)),sp(o,t,s),o.__setInstance(t,s)}return s}function tp(e,t){let n=at(),r=__VUE_I18N_LEGACY_API__&&t?n.run(()=>Lf(e)):n.run(()=>Ff(e));if(r==null)throw hf(W.UNEXPECTED_ERROR);return[n,r]}function np(e){let t=ze(e.isCE?Qf:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw hf(e.isCE?W.NOT_INSTALLED_WITH_PROVIDE:W.UNEXPECTED_ERROR);return t}function rp(e,t){return Kc(e)?`__i18n`in t?`local`:`global`:e.useScope?e.useScope:`local`}function ip(e){return e.mode===`composition`?e.global:e.global.__composer}function ap(e,t,n=!1){let r=null,i=t.root,a=op(t,n);for(;a!=null;){let t=e;if(e.mode===`composition`)r=t.__getInstance(a);else if(__VUE_I18N_LEGACY_API__){let e=t.__getInstance(a);e!=null&&(r=e.__composer,n&&r&&!r[bf]&&(r=null))}if(r!=null||i===a)break;a=a.parent}return r}function op(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function sp(e,t,n){Xe(()=>{},t),tt(()=>{let r=n;e.__deleteInstance(t);let i=r[xf];i&&(i(),delete r[xf])},t)}var cp=[`locale`,`fallbackLocale`,`availableLocales`],lp=[`t`,`rt`,`d`,`n`,`tm`,`te`];function up(e,t){let n=Object.create(null);return cp.forEach(e=>{let r=Object.getOwnPropertyDescriptor(t,e);if(!r)throw hf(W.UNEXPECTED_ERROR);let i=xt(r.value)?{get(){return r.value.value},set(e){r.value.value=e}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,e,i)}),e.config.globalProperties.$i18n=n,lp.forEach(n=>{let r=Object.getOwnPropertyDescriptor(t,n);if(!r||!r.value)throw hf(W.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${n}`,r)}),()=>{delete e.config.globalProperties.$i18n,lp.forEach(t=>{delete e.config.globalProperties[`$${t}`]})}}var dp=st({name:`i18n-d`,props:qc({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bf),setup(e,t){let n=e.i18n||ep({useScope:e.scope,__useComponent:!0});return Gf(e,t,Bd,(...e)=>n[_f](...e))}});if(mf(),gd(Ru),vd(ld),bd(Xu),__INTLIFY_PROD_DEVTOOLS__){let e=Xc();e.__INTLIFY__=!0,Bu(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}var fp={en:{common:{save:`Save`,cancel:`Cancel`,create:`Create`,edit:`Edit`,delete:`Delete`,deleteForever:`Delete forever`,restore:`Restore`,close:`Close`,apply:`Apply`,remove:`Remove`,search:`Search`,loading:`Loading…`,required:`Required`,none:`—`,yes:`Yes`,no:`No`,download:`Download`,actions:`Actions`,confirm:`Confirm`,serverRejected:`The server rejected the request.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Admin`,account:`Account`,signOut:`Sign out`,toggleNavigation:`Toggle navigation`,toggleTheme:`Toggle theme`,language:`Language: {name}`,languageFailed:`The language could not be saved: {error}`,unsupportedDescriptor:`The API publishes descriptor version {version}; this admin reads version {supported}. {remedy}`,version:{mismatch:`This admin UI is version {current}; kinetis/vector expects {expected}.`,dismiss:`Dismiss`,hostedRemedy:`Run vendor/bin/kinetis vector:install-ui on the server, then restart the workers.`,layeredRemedy:`Upgrade {package} to {version} and rebuild.`,layeredRemedyAny:`Install the {package} release this kinetis/vector expects and rebuild.`},nav:{main:`Main`,dashboard:`Dashboard`,jobs:`Jobs`,settings:`Settings`,pages:`Pages`,badge:`{count} {label}`},page:{unknown:`Unknown page`,loading:`Loading the page`},impersonation:{actingAs:`You are acting as {name}.`,anotherUser:`another user`,stop:`Stop impersonating`,noAccess:`{name} has no access to the admin, so there is nothing to see as them. Impersonation was stopped.`,noToken:`The application answered without a token or a reload, so nothing changed.`,ended:`Your impersonation ran out, so you are back in your own account.`},palette:{placeholder:`Search records and resources…`,records:`Records`,resources:`Resources`,noMatch:`No records match`},inbox:{title:`Notifications`,markAllRead:`Mark all read`,empty:`Nothing yet`},login:{pageTitle:`Sign in · {brand}`,subtitle:`Sign in to the admin`,email:`E-mail`,password:`Password`,submit:`Sign in`,invalidEmail:`Enter a valid e-mail address`,welcome:`Welcome back, {name}.`,signedOutIdle:`You were signed out after {minutes} minutes of inactivity. Sign in again to continue where you left off.`,impersonationEnded:`Your impersonation ran out and your own session could not be renewed. Sign in again to continue.`},home:{title:`Dashboard`}},list:{field:`Field`,search:`Search {label}…`,noSearch:`No searchable fields`,noGrouping:`No grouping`,groupBy:`Group by`,groupHeader:`{label}:`,expandGroup:`Expand group`,collapseGroup:`Collapse group`,trash:{label:`Trash`,active:`Active`,only:`Trash`,with:`Active and trash`},exportCsv:`Export CSV`,importCsv:`Import CSV`,exportQueued:`The export is large and was queued; you are notified when it is ready.`,exportPrepared:`The export is being prepared; you are notified when it is ready.`,export:`Export`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nothing matches`,empty:`No {label} yet`,summary:{sum:`Sum`,avg:`Average`,min:`Min`,max:`Max`,count:`Count`},operation:{deleteTitle:`Delete {count} {noun}?`,restoreTitle:`Restore {count} {noun}?`,forceDeleteTitle:`Delete {count} {noun} forever?`,deleteAllTitle:`Delete all matching {noun}?`,restoreAllTitle:`Restore all matching {noun}?`,forceDeleteAllTitle:`Delete all matching {noun} forever?`,toTrash:`They move to the trash and can be restored.`,irreversible:`This cannot be undone.`,restored:`{count} {noun} restored.`,deleted:`{count} {noun} deleted.`},bulk:{allMatching:`All {total} matching`,allMatchingUncounted:`All matching records`,selected:`{count} selected`,selectAllMatching:`Select all {total} matching`,selectAllMatchingUncounted:`Select all matching records`,onlyChecked:`Only checked rows`,clearSelection:`Clear selection`},bulkEdit:{everyMatching:`every matching {noun} ({count})`,everyMatchingUncounted:`every matching {noun}`,some:`{count} {noun}`,title:`Edit {subject}`,fieldsToChange:`Fields to change`,fieldsHint:`Only the fields you pick are written; every other value stays as it is.`,applyTo:`Apply to {count}`,applyToAll:`Apply to all matching`,updated:`{count} {noun} updated.`},columns:{title:`Columns`,moveUp:`Move up`,moveDown:`Move down`,reset:`Reset`},filter:{add:`Add filter`,condition:`Condition`,value:`Value`,from:`From`,to:`To`,commaSeparated:`Comma-separated`,clear:`Clear`,yes:`yes`,no:`no`,and:`and`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Any of`,anyOfGroup:`Any of, group {n}`,alternative:`Alternative {n}`,or:`or`,orCondition:`or…`,addAnyOf:`Add “any of”`,addToAlternative:`Add a condition to alternative {n}`,removeGroup:`Remove group {n}`,advanced:`Advanced condition`,operators:{eq:`is`,ne:`is not`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`is any of`,nin:`is none of`,like:`contains`,nlike:`does not contain`,between:`is between`,null:`is empty`,nnull:`is not empty`}},views:{menu:`Views`,allRecords:`All records`,default:`Default`,updateWithCurrent:`Update view with the current list`,delete:`Delete view`,deleteTitle:`Delete view “{name}”?`,saveCurrent:`Save current as view…`,saveTitle:`Save view`,updateTitle:`Update “{name}”`,name:`Name`,share:`Share with every admin`,openWith:`Open this resource with this view`,openWithForEveryone:`Open it this way for everyone without a default of their own`,shareFirst:`Share the view to make it everyone’s default.`,everyoneDefault:`Default for everyone`,saved:`View “{name}” saved.`},import:{title:`Import {label}`,file:`CSV file`,analyse:`Analyse`,instructions:"{rows} rows. Map each column to a field, or leave it unmapped to skip it. A `manyToMany` column takes identifiers separated by `{pipe}`.",csvColumn:`CSV column`,sample:`Sample`,skip:`— skip —`,start:`Import {rows} rows`,queued:`Import of {rows} rows queued.`,mode:`Rows`,modes:{create:`Create new records`,update:`Update existing records`,upsert:`Update or create`},key:`Match rows by`,noKey:`Map a column to the key or a unique field first.`,modeHelp:{update:`Each row updates the record whose value matches; a row that matches none goes to the failed-rows file.`,upsert:`Each row updates the record whose value matches, or creates one when none does.`}},pager:{page:`Page {page}`},page:{create:`New {noun}`,unknown:`Unknown resource`,unknownText:`Nothing is registered as “{slug}”.`},inline:{editLabel:`Edit {label}`,pending:`{count} unsaved change | {count} unsaved changes`,save:`Save changes`,discard:`Discard`,saved:`One record saved. | {count} records saved.`,conflict:`A record changed since the list loaded. Reload it and edit again.`,leaveTitle:`Discard {count} unsaved change? | Discard {count} unsaved changes?`,leaveText:`Leaving the list drops the edits you have not saved.`}},record:{unknownResource:`Unknown resource`,new:`New`,newTitle:`New {label}`,editTitle:`Edit {title}`,createNotAllowed:`This resource does not allow creating records here.`,editNotAllowed:`You may not edit this record.`,saved:`{label} saved.`,duplicate:`Duplicate`,copyOf:`A copy of “{title}”. Values that must be unique, and files, start empty.`,variants:{menu:`More ways to save`,saveContinue:`Save and continue editing`,createContinue:`Create and continue editing`,createAnother:`Create and add another`},leave:{title:`Discard your changes?`,text:`Leaving this page drops the changes you have not saved.`,discard:`Discard`},inTrash:`In the trash`,deleteTitle:`Delete {noun} “{title}”?`,deleteForeverTitle:`Delete forever {noun} “{title}”?`,deleteSoftText:`It moves to the trash and can be restored.`,deleteHardText:`This cannot be undone.`,trashed:`{label} moved to the trash.`,deleted:`{label} deleted.`,restored:`{label} restored.`,impersonate:{action:`Impersonate`,title:`Act as “{title}”?`,text:`You see and do what they can, and every change is logged as theirs, with you as the impersonator.`,started:`You are now acting as {title}.`},audit:{title:`History`,byUser:`by user {actor}`,impersonatedBy:`(as impersonated by {impersonator})`,empty:`No recorded changes.`,revert:`Revert`,revertLabel:`Revert this change`,revertTitle:`Revert this change?`,revertText:`Puts back the earlier value of {fields}. The revert is recorded in the history too.`,reverted:`Change reverted.`},panel:{attach:`Attach`,attachTitle:`Attach {label}`,attachCount:`Attach {count}`,attached:`{count} {label} attached.`,records:`records`,record:`record`,empty:`No {label} yet.`,detach:`Detach`,detachLabel:`Detach {title}`,detachTitle:`Detach “{title}”?`,detachText:`It stays a {target}; only its link to this {owner} is removed.`,detached:`{title} detached.`}},actions:{runOn:`Run {action} on {subject}?`,subjectAll:`every matching {label} ({count})`,subjectAllUncounted:`every matching {label}`,subjectCount:`{count} {label}`,done:`{label} done.`,declined:`The action declined.`,redirectRefused:`The action asked to open a page outside the admin; it was not opened.`,downloadStarted:`Download started.`,queued:`{label} was queued.`},dashboard:{title:`Dashboard`,range:`Range`,loading:`Loading`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nothing in this range.`},progress:{of:`of {target}`,label:`Progress`},stat:{previous:`vs {value} before`},table:{empty:`Nothing to show.`,seeAll:`See all`},trend:{total:`Total {value}`}},jobs:{title:`Jobs`,heading:`Background jobs`,columns:{job:`Job`,resource:`Resource`,status:`Status`,progress:`Progress`,started:`Started`},empty:`No jobs yet. Large exports, imports and queued actions appear here.`,kind:{action:`action`,export:`export`,import:`import`},status:{queued:`queued`,running:`running`,done:`done`,failed:`failed`,stalled:`stalled`},detail:{pageTitle:`Job #{id}`,fallbackTitle:`Job`,started:`started {date}`,finished:`finished {date}`,progress:`Job progress`,processed:`{processed} processed`,processedOfTotal:`{processed} of {total} processed`,download:`Download {file}`,file:`file`}},settings:{pageTitle:`Settings`,heading:`Settings`,empty:{title:`No settings`,text:`Nothing is registered for this account to manage.`},saved:`{label} saved.`},fields:{cell:{loading:`Loading {label}`},keyValue:{key:`Key`,value:`Value`,entry:`Entry {n}`,add:`Add entry`,remove:`Remove entry {n}`,more:`+{count} more`,repeated:`Used more than once: {keys}. The last one is kept.`},repeater:{add:`Add {label}`,remove:`Remove {label} {n}`,row:`{label} {n}`,count:`{count} of at most {max}`,unavailable:`You may not see these rows.`},relation:{placeholder:`Type to search`,dependsFirst:`Choose {label} first`},upload:{storageKey:`The storage key of the file.`,tooLarge:`The file is larger than {size} MB.`,rejected:`The file {message}`,uploaded:`Uploaded {name} ({size} KB)`,theFile:`the file`,upTo:`up to {size} MB`,preview:`{label} preview`,remove:`Remove {label}`},richtext:{toolbar:`{label} formatting`,bold:`Bold`,italic:`Italic`,underline:`Underline`,strike:`Strikethrough`,code:`Code`,heading:`Heading {level}`,bulletList:`Bulleted list`,orderedList:`Numbered list`,blockquote:`Quote`,codeBlock:`Code block`,horizontalRule:`Divider`,link:`Link`,linkUrl:`Link address`,linkRefused:`Use an http(s), mailto or relative link`,insertTable:`Insert table`,addRow:`Add row`,addColumn:`Add column`,deleteRow:`Delete row`,deleteColumn:`Delete column`,deleteTable:`Delete table`,image:`Insert image`,undo:`Undo`,redo:`Redo`,source:`Source`,visual:`Visual`,sourceOf:`{label} source`},rules:{maxLength:`At most {max} characters`,minLength:`At least {min} characters`,email:`Enter a valid e-mail address`,url:`Enter a valid URL`,greaterThan:`Must be greater than {limit}`,greaterThanOrEqual:`Must be at least {limit}`,lessThan:`Must be less than {limit}`,lessThanOrEqual:`Must be at most {limit}`,invalidFormat:`Invalid format`,notAllowed:`Not an allowed value`}}},de:{common:{save:`Speichern`,cancel:`Abbrechen`,create:`Anlegen`,edit:`Bearbeiten`,delete:`Löschen`,deleteForever:`Endgültig löschen`,restore:`Wiederherstellen`,close:`Schließen`,apply:`Anwenden`,remove:`Entfernen`,search:`Suchen`,loading:`Wird geladen…`,required:`Erforderlich`,none:`—`,yes:`Ja`,no:`Nein`,download:`Herunterladen`,actions:`Aktionen`,confirm:`Bestätigen`,serverRejected:`Der Server hat die Anfrage abgelehnt.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Admin`,account:`Konto`,signOut:`Abmelden`,toggleNavigation:`Navigation ein-/ausblenden`,toggleTheme:`Design wechseln`,language:`Sprache: {name}`,languageFailed:`Die Sprache konnte nicht gespeichert werden: {error}`,unsupportedDescriptor:`Die API veröffentlicht die Deskriptor-Version {version}; dieser Admin liest Version {supported}. {remedy}`,version:{mismatch:`Diese Admin-Oberfläche ist Version {current}; kinetis/vector erwartet {expected}.`,dismiss:`Ausblenden`,hostedRemedy:`Führen Sie vendor/bin/kinetis vector:install-ui auf dem Server aus und starten Sie die Worker neu.`,layeredRemedy:`Aktualisieren Sie {package} auf {version} und bauen Sie neu.`,layeredRemedyAny:`Installieren Sie die von diesem kinetis/vector erwartete Version von {package} und bauen Sie neu.`},nav:{main:`Hauptmenü`,dashboard:`Dashboard`,jobs:`Jobs`,settings:`Einstellungen`,pages:`Seiten`,badge:`{count} {label}`},page:{unknown:`Unbekannte Seite`,loading:`Seite wird geladen`},impersonation:{actingAs:`Sie handeln als {name}.`,anotherUser:`ein anderer Benutzer`,stop:`Identitätswechsel beenden`,noAccess:`{name} hat keinen Zugriff auf den Admin, daher gibt es in dieser Rolle nichts zu sehen. Der Identitätswechsel wurde beendet.`,noToken:`Die Anwendung hat weder ein Token noch ein Neuladen geliefert, daher wurde nichts geändert.`,ended:`Ihre Identitätsübernahme ist abgelaufen; Sie sind wieder in Ihrem eigenen Konto.`},palette:{placeholder:`Datensätze und Ressourcen suchen…`,records:`Datensätze`,resources:`Ressourcen`,noMatch:`Keine passenden Datensätze`},inbox:{title:`Benachrichtigungen`,markAllRead:`Alle als gelesen markieren`,empty:`Noch nichts`},login:{pageTitle:`Anmelden · {brand}`,subtitle:`Beim Admin anmelden`,email:`E-Mail`,password:`Passwort`,submit:`Anmelden`,invalidEmail:`Geben Sie eine gültige E-Mail-Adresse ein`,welcome:`Willkommen zurück, {name}.`,signedOutIdle:`Sie wurden nach {minutes} Minuten ohne Aktivität abgemeldet. Melden Sie sich erneut an, um dort weiterzumachen, wo Sie aufgehört haben.`,impersonationEnded:`Ihre Identitätsübernahme ist abgelaufen, und Ihre eigene Sitzung konnte nicht erneuert werden. Melden Sie sich erneut an, um fortzufahren.`},home:{title:`Dashboard`}},list:{field:`Feld`,search:`{label} durchsuchen…`,noSearch:`Keine durchsuchbaren Felder`,noGrouping:`Keine Gruppierung`,groupBy:`Gruppieren nach`,groupHeader:`{label}:`,expandGroup:`Gruppe aufklappen`,collapseGroup:`Gruppe zuklappen`,trash:{label:`Papierkorb`,active:`Aktiv`,only:`Papierkorb`,with:`Aktiv und Papierkorb`},exportCsv:`CSV exportieren`,importCsv:`CSV importieren`,exportQueued:`Der Export ist umfangreich und wurde in die Warteschlange gestellt; Sie werden benachrichtigt, sobald er bereit ist.`,exportPrepared:`Der Export wird vorbereitet; Sie werden benachrichtigt, sobald er bereit ist.`,export:`Exportieren`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Keine Treffer`,empty:`Noch keine {label}`,summary:{sum:`Summe`,avg:`Durchschnitt`,min:`Min.`,max:`Max.`,count:`Anzahl`},operation:{deleteTitle:`{count} {noun} löschen?`,restoreTitle:`{count} {noun} wiederherstellen?`,forceDeleteTitle:`{count} {noun} endgültig löschen?`,deleteAllTitle:`Alle passenden {noun} löschen?`,restoreAllTitle:`Alle passenden {noun} wiederherstellen?`,forceDeleteAllTitle:`Alle passenden {noun} endgültig löschen?`,toTrash:`Sie werden in den Papierkorb verschoben und können wiederhergestellt werden.`,irreversible:`Dies kann nicht rückgängig gemacht werden.`,restored:`{count} {noun} wiederhergestellt.`,deleted:`{count} {noun} gelöscht.`},bulk:{allMatching:`Alle {total} Treffer`,allMatchingUncounted:`Alle Treffer`,selected:`{count} ausgewählt`,selectAllMatching:`Alle {total} Treffer auswählen`,selectAllMatchingUncounted:`Alle Treffer auswählen`,onlyChecked:`Nur markierte Zeilen`,clearSelection:`Auswahl aufheben`},bulkEdit:{everyMatching:`alle passenden {noun} ({count})`,everyMatchingUncounted:`alle passenden {noun}`,some:`{count} {noun}`,title:`{subject} bearbeiten`,fieldsToChange:`Zu ändernde Felder`,fieldsHint:`Nur die ausgewählten Felder werden geschrieben; alle anderen Werte bleiben unverändert.`,applyTo:`Auf {count} anwenden`,applyToAll:`Auf alle Treffer anwenden`,updated:`{count} {noun} aktualisiert.`},columns:{title:`Spalten`,moveUp:`Nach oben`,moveDown:`Nach unten`,reset:`Zurücksetzen`},filter:{add:`Filter hinzufügen`,condition:`Bedingung`,value:`Wert`,from:`Von`,to:`Bis`,commaSeparated:`Kommagetrennt`,clear:`Leeren`,yes:`ja`,no:`nein`,and:`und`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Eines von`,anyOfGroup:`Eines von, Gruppe {n}`,alternative:`Alternative {n}`,or:`oder`,orCondition:`oder…`,addAnyOf:`„Eines von“ hinzufügen`,addToAlternative:`Bedingung zu Alternative {n} hinzufügen`,removeGroup:`Gruppe {n} entfernen`,advanced:`Erweiterte Bedingung`,operators:{eq:`ist`,ne:`ist nicht`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`ist eines von`,nin:`ist keines von`,like:`enthält`,nlike:`enthält nicht`,between:`liegt zwischen`,null:`ist leer`,nnull:`ist nicht leer`}},views:{menu:`Ansichten`,allRecords:`Alle Datensätze`,default:`Standard`,updateWithCurrent:`Ansicht mit der aktuellen Liste aktualisieren`,delete:`Ansicht löschen`,deleteTitle:`Ansicht „{name}“ löschen?`,saveCurrent:`Aktuelle Liste als Ansicht speichern…`,saveTitle:`Ansicht speichern`,updateTitle:`„{name}“ aktualisieren`,name:`Name`,share:`Mit allen Admins teilen`,openWith:`Diese Ressource mit dieser Ansicht öffnen`,openWithForEveryone:`Für alle ohne eigene Standardansicht so öffnen`,shareFirst:`Teilen Sie die Ansicht, um sie zur Standardansicht für alle zu machen.`,everyoneDefault:`Standard für alle`,saved:`Ansicht „{name}“ gespeichert.`},import:{title:`{label} importieren`,file:`CSV-Datei`,analyse:`Analysieren`,instructions:"{rows} Zeilen. Ordnen Sie jede Spalte einem Feld zu, oder lassen Sie sie unzugeordnet, um sie zu überspringen. Eine `manyToMany`-Spalte nimmt durch `{pipe}` getrennte Kennungen auf.",csvColumn:`CSV-Spalte`,sample:`Beispiel`,skip:`— überspringen —`,start:`{rows} Zeilen importieren`,queued:`Import von {rows} Zeilen in die Warteschlange gestellt.`,mode:`Zeilen`,modes:{create:`Neue Datensätze anlegen`,update:`Bestehende Datensätze aktualisieren`,upsert:`Aktualisieren oder anlegen`},key:`Zeilen abgleichen über`,noKey:`Ordnen Sie zuerst eine Spalte dem Schlüssel oder einem eindeutigen Feld zu.`,modeHelp:{update:`Jede Zeile aktualisiert den Datensatz mit dem passenden Wert; eine Zeile ohne Treffer landet in der Datei der fehlgeschlagenen Zeilen.`,upsert:`Jede Zeile aktualisiert den Datensatz mit dem passenden Wert oder legt einen neuen an, wenn es keinen gibt.`}},pager:{page:`Seite {page}`},page:{create:`{noun} anlegen`,unknown:`Unbekannte Ressource`,unknownText:`Unter „{slug}“ ist nichts registriert.`},inline:{editLabel:`{label} bearbeiten`,pending:`{count} ungespeicherte Änderung | {count} ungespeicherte Änderungen`,save:`Änderungen speichern`,discard:`Verwerfen`,saved:`Ein Datensatz gespeichert. | {count} Datensätze gespeichert.`,conflict:`Ein Datensatz wurde seit dem Laden der Liste geändert. Laden Sie ihn neu und bearbeiten Sie ihn erneut.`,leaveTitle:`{count} ungespeicherte Änderung verwerfen? | {count} ungespeicherte Änderungen verwerfen?`,leaveText:`Wenn Sie die Liste verlassen, gehen nicht gespeicherte Änderungen verloren.`}},record:{unknownResource:`Unbekannte Ressource`,new:`Neu`,newTitle:`{label} anlegen`,editTitle:`{title} bearbeiten`,createNotAllowed:`Diese Ressource erlaubt hier keine neuen Datensätze.`,editNotAllowed:`Sie dürfen diesen Datensatz nicht bearbeiten.`,saved:`{label} gespeichert.`,duplicate:`Duplizieren`,copyOf:`Eine Kopie von „{title}“. Werte, die eindeutig sein müssen, und Dateien sind zunächst leer.`,variants:{menu:`Weitere Speicheroptionen`,saveContinue:`Speichern und weiter bearbeiten`,createContinue:`Anlegen und weiter bearbeiten`,createAnother:`Anlegen und weiteren hinzufügen`},leave:{title:`Änderungen verwerfen?`,text:`Wenn Sie diese Seite verlassen, gehen nicht gespeicherte Änderungen verloren.`,discard:`Verwerfen`},inTrash:`Im Papierkorb`,deleteTitle:`{noun} „{title}“ löschen?`,deleteForeverTitle:`{noun} „{title}“ endgültig löschen?`,deleteSoftText:`Der Datensatz wird in den Papierkorb verschoben und kann wiederhergestellt werden.`,deleteHardText:`Dies kann nicht rückgängig gemacht werden.`,trashed:`{label} in den Papierkorb verschoben.`,deleted:`{label} gelöscht.`,restored:`{label} wiederhergestellt.`,impersonate:{action:`Identität wechseln`,title:`Als „{title}“ handeln?`,text:`Sie sehen und tun, was diese Person kann; jede Änderung wird in ihrem Namen protokolliert, mit Ihnen als ausführender Person.`,started:`Sie handeln jetzt als {title}.`},audit:{title:`Verlauf`,byUser:`von Benutzer {actor}`,impersonatedBy:`(ausgeführt von {impersonator})`,empty:`Keine aufgezeichneten Änderungen.`,revert:`Zurücksetzen`,revertLabel:`Diese Änderung zurücksetzen`,revertTitle:`Diese Änderung zurücksetzen?`,revertText:`Stellt den früheren Wert von {fields} wieder her. Das Zurücksetzen wird ebenfalls im Verlauf festgehalten.`,reverted:`Änderung zurückgesetzt.`},panel:{attach:`Verknüpfen`,attachTitle:`{label} verknüpfen`,attachCount:`{count} verknüpfen`,attached:`{count} {label} verknüpft.`,records:`Datensätze`,record:`Datensatz`,empty:`Noch keine {label}.`,detach:`Verknüpfung lösen`,detachLabel:`Verknüpfung von {title} lösen`,detachTitle:`Verknüpfung von „{title}“ lösen?`,detachText:`Der Datensatz bleibt als {target} erhalten; nur die Verknüpfung zu {owner} wird entfernt.`,detached:`Verknüpfung von {title} gelöst.`}},actions:{runOn:`{action} für {subject} ausführen?`,subjectAll:`alle passenden {label} ({count})`,subjectAllUncounted:`alle passenden {label}`,subjectCount:`{count} {label}`,done:`{label} abgeschlossen.`,declined:`Die Aktion wurde abgelehnt.`,redirectRefused:`Die Aktion wollte eine Seite außerhalb des Admin-Bereichs öffnen; sie wurde nicht geöffnet.`,downloadStarted:`Download gestartet.`,queued:`{label} wurde in die Warteschlange gestellt.`},dashboard:{title:`Dashboard`,range:`Zeitraum`,loading:`Wird geladen`,percent:`{value} %`,duration:{minutes:`{value} Min.`,hours:`{value} Std.`},partition:{empty:`Nichts in diesem Zeitraum.`},progress:{of:`von {target}`,label:`Fortschritt`},stat:{previous:`ggü. {value} zuvor`},table:{empty:`Nichts anzuzeigen.`,seeAll:`Alle anzeigen`},trend:{total:`Gesamt {value}`}},jobs:{title:`Jobs`,heading:`Hintergrundjobs`,columns:{job:`Job`,resource:`Ressource`,status:`Status`,progress:`Fortschritt`,started:`Gestartet`},empty:`Noch keine Jobs. Große Exporte, Importe und Aktionen in der Warteschlange erscheinen hier.`,kind:{action:`Aktion`,export:`Export`,import:`Import`},status:{queued:`in Warteschlange`,running:`läuft`,done:`abgeschlossen`,failed:`fehlgeschlagen`,stalled:`hängend`},detail:{pageTitle:`Job #{id}`,fallbackTitle:`Job`,started:`gestartet {date}`,finished:`beendet {date}`,progress:`Jobfortschritt`,processed:`{processed} verarbeitet`,processedOfTotal:`{processed} von {total} verarbeitet`,download:`{file} herunterladen`,file:`Datei`}},settings:{pageTitle:`Einstellungen`,heading:`Einstellungen`,empty:{title:`Keine Einstellungen`,text:`Für dieses Konto ist nichts zur Verwaltung registriert.`},saved:`{label} gespeichert.`},fields:{cell:{loading:`{label} wird geladen`},keyValue:{key:`Schlüssel`,value:`Wert`,entry:`Eintrag {n}`,add:`Eintrag hinzufügen`,remove:`Eintrag {n} entfernen`,more:`+{count} weitere`,repeated:`Mehrfach verwendet: {keys}. Der letzte wird beibehalten.`},repeater:{add:`{label} hinzufügen`,remove:`{label} {n} entfernen`,row:`{label} {n}`,count:`{count} von höchstens {max}`,unavailable:`Sie dürfen diese Zeilen nicht sehen.`},relation:{placeholder:`Zum Suchen tippen`,dependsFirst:`Wählen Sie zuerst {label}`},upload:{storageKey:`Der Speicherschlüssel der Datei.`,tooLarge:`Die Datei ist größer als {size} MB.`,rejected:`Die Datei {message}`,uploaded:`{name} hochgeladen ({size} KB)`,theFile:`die Datei`,upTo:`bis zu {size} MB`,preview:`Vorschau von {label}`,remove:`{label} entfernen`},richtext:{toolbar:`Formatierung für {label}`,bold:`Fett`,italic:`Kursiv`,underline:`Unterstrichen`,strike:`Durchgestrichen`,code:`Code`,heading:`Überschrift {level}`,bulletList:`Aufzählung`,orderedList:`Nummerierte Liste`,blockquote:`Zitat`,codeBlock:`Codeblock`,horizontalRule:`Trennlinie`,link:`Link`,linkUrl:`Linkadresse`,linkRefused:`Verwenden Sie einen http(s)-, mailto- oder relativen Link`,insertTable:`Tabelle einfügen`,addRow:`Zeile hinzufügen`,addColumn:`Spalte hinzufügen`,deleteRow:`Zeile löschen`,deleteColumn:`Spalte löschen`,deleteTable:`Tabelle löschen`,image:`Bild einfügen`,undo:`Rückgängig`,redo:`Wiederholen`,source:`Quelltext`,visual:`Visuell`,sourceOf:`Quelltext von {label}`},rules:{maxLength:`Höchstens {max} Zeichen`,minLength:`Mindestens {min} Zeichen`,email:`Geben Sie eine gültige E-Mail-Adresse ein`,url:`Geben Sie eine gültige URL ein`,greaterThan:`Muss größer als {limit} sein`,greaterThanOrEqual:`Muss mindestens {limit} sein`,lessThan:`Muss kleiner als {limit} sein`,lessThanOrEqual:`Muss höchstens {limit} sein`,invalidFormat:`Ungültiges Format`,notAllowed:`Kein zulässiger Wert`}}},fr:{common:{save:`Enregistrer`,cancel:`Annuler`,create:`Créer`,edit:`Modifier`,delete:`Supprimer`,deleteForever:`Supprimer définitivement`,restore:`Restaurer`,close:`Fermer`,apply:`Appliquer`,remove:`Retirer`,search:`Rechercher`,loading:`Chargement…`,required:`Obligatoire`,none:`—`,yes:`Oui`,no:`Non`,download:`Télécharger`,actions:`Actions`,confirm:`Confirmer`,serverRejected:`Le serveur a rejeté la requête.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administration`,account:`Compte`,signOut:`Se déconnecter`,toggleNavigation:`Afficher/masquer la navigation`,toggleTheme:`Changer de thème`,language:`Langue : {name}`,languageFailed:`La langue n’a pas pu être enregistrée : {error}`,unsupportedDescriptor:`L’API publie la version {version} du descripteur ; cette administration lit la version {supported}. {remedy}`,version:{mismatch:`Cette interface d’administration est en version {current} ; kinetis/vector attend {expected}.`,dismiss:`Masquer`,hostedRemedy:`Exécutez vendor/bin/kinetis vector:install-ui sur le serveur, puis redémarrez les workers.`,layeredRemedy:`Mettez {package} à jour vers {version} et recompilez.`,layeredRemedyAny:`Installez la version de {package} attendue par ce kinetis/vector et recompilez.`},nav:{main:`Principal`,dashboard:`Tableau de bord`,jobs:`Tâches`,settings:`Paramètres`,pages:`Pages`,badge:`{count} {label}`},page:{unknown:`Page inconnue`,loading:`Chargement de la page`},impersonation:{actingAs:`Vous agissez en tant que {name}.`,anotherUser:`un autre utilisateur`,stop:`Reprendre votre identité`,noAccess:`{name} n’a pas accès à l’administration, il n’y a donc rien à voir en son nom. L’action en son nom a été arrêtée.`,noToken:`L’application a répondu sans jeton ni rechargement, rien n’a donc changé.`,ended:`Votre usurpation d’identité a expiré : vous êtes de retour dans votre propre compte.`},palette:{placeholder:`Rechercher des enregistrements et des ressources…`,records:`Enregistrements`,resources:`Ressources`,noMatch:`Aucun enregistrement ne correspond`},inbox:{title:`Notifications`,markAllRead:`Tout marquer comme lu`,empty:`Rien pour l’instant`},login:{pageTitle:`Connexion · {brand}`,subtitle:`Connectez-vous à l’administration`,email:`E-mail`,password:`Mot de passe`,submit:`Se connecter`,invalidEmail:`Saisissez une adresse e-mail valide`,welcome:`Ravi de vous revoir, {name}.`,signedOutIdle:`Vous avez été déconnecté après {minutes} minutes d’inactivité. Reconnectez-vous pour reprendre où vous en étiez.`,impersonationEnded:`Votre usurpation d’identité a expiré et votre propre session n’a pas pu être renouvelée. Reconnectez-vous pour continuer.`},home:{title:`Tableau de bord`}},list:{field:`Champ`,search:`Rechercher {label}…`,noSearch:`Aucun champ de recherche`,noGrouping:`Aucun regroupement`,groupBy:`Regrouper par`,groupHeader:`{label} :`,expandGroup:`Développer le groupe`,collapseGroup:`Réduire le groupe`,trash:{label:`Corbeille`,active:`Actifs`,only:`Corbeille`,with:`Actifs et corbeille`},exportCsv:`Exporter en CSV`,importCsv:`Importer un CSV`,exportQueued:`L’export est volumineux et a été mis en file d’attente ; vous serez averti lorsqu’il sera prêt.`,exportPrepared:`L’export est en cours de préparation ; vous serez averti lorsqu’il sera prêt.`,export:`Exporter`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Aucun résultat`,empty:`Aucun {label} pour l’instant`,summary:{sum:`Somme`,avg:`Moyenne`,min:`Min`,max:`Max`,count:`Nombre`},operation:{deleteTitle:`Supprimer {count} {noun} ?`,restoreTitle:`Restaurer {count} {noun} ?`,forceDeleteTitle:`Supprimer définitivement {count} {noun} ?`,deleteAllTitle:`Supprimer tous les {noun} correspondants ?`,restoreAllTitle:`Restaurer tous les {noun} correspondants ?`,forceDeleteAllTitle:`Supprimer définitivement tous les {noun} correspondants ?`,toTrash:`Ils sont placés dans la corbeille et peuvent être restaurés.`,irreversible:`Cette action est irréversible.`,restored:`{count} {noun} restauré(s).`,deleted:`{count} {noun} supprimé(s).`},bulk:{allMatching:`Les {total} correspondants`,allMatchingUncounted:`Tous les enregistrements correspondants`,selected:`{count} sélectionné(s)`,selectAllMatching:`Sélectionner les {total} correspondants`,selectAllMatchingUncounted:`Sélectionner tous les enregistrements correspondants`,onlyChecked:`Seulement les lignes cochées`,clearSelection:`Effacer la sélection`},bulkEdit:{everyMatching:`tous les {noun} correspondants ({count})`,everyMatchingUncounted:`tous les {noun} correspondants`,some:`{count} {noun}`,title:`Modifier {subject}`,fieldsToChange:`Champs à modifier`,fieldsHint:`Seuls les champs choisis sont écrits ; toutes les autres valeurs restent inchangées.`,applyTo:`Appliquer à {count}`,applyToAll:`Appliquer à tous les correspondants`,updated:`{count} {noun} mis à jour.`},columns:{title:`Colonnes`,moveUp:`Monter`,moveDown:`Descendre`,reset:`Réinitialiser`},filter:{add:`Ajouter un filtre`,condition:`Condition`,value:`Valeur`,from:`De`,to:`À`,commaSeparated:`Séparés par des virgules`,clear:`Effacer`,yes:`oui`,no:`non`,and:`et`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`L’un de`,anyOfGroup:`L’un de, groupe {n}`,alternative:`Alternative {n}`,or:`ou`,orCondition:`ou…`,addAnyOf:`Ajouter « l’un de »`,addToAlternative:`Ajouter une condition à l’alternative {n}`,removeGroup:`Retirer le groupe {n}`,advanced:`Condition avancée`,operators:{eq:`est`,ne:`n’est pas`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`est l’un de`,nin:`n’est aucun de`,like:`contient`,nlike:`ne contient pas`,between:`est entre`,null:`est vide`,nnull:`n’est pas vide`}},views:{menu:`Vues`,allRecords:`Tous les enregistrements`,default:`Par défaut`,updateWithCurrent:`Mettre à jour la vue avec la liste actuelle`,delete:`Supprimer la vue`,deleteTitle:`Supprimer la vue « {name} » ?`,saveCurrent:`Enregistrer comme vue…`,saveTitle:`Enregistrer la vue`,updateTitle:`Mettre à jour « {name} »`,name:`Nom`,share:`Partager avec tous les administrateurs`,openWith:`Ouvrir cette ressource avec cette vue`,openWithForEveryone:`L’ouvrir ainsi pour tous ceux qui n’ont pas leur propre vue par défaut`,shareFirst:`Partagez la vue pour en faire la vue par défaut de tous.`,everyoneDefault:`Par défaut pour tous`,saved:`Vue « {name} » enregistrée.`},import:{title:`Importer {label}`,file:`Fichier CSV`,analyse:`Analyser`,instructions:"{rows} lignes. Associez chaque colonne à un champ, ou laissez-la non associée pour l’ignorer. Une colonne `manyToMany` accepte des identifiants séparés par `{pipe}`.",csvColumn:`Colonne CSV`,sample:`Exemple`,skip:`— ignorer —`,start:`Importer {rows} lignes`,queued:`Import de {rows} lignes mis en file d’attente.`,mode:`Lignes`,modes:{create:`Créer de nouveaux enregistrements`,update:`Mettre à jour les enregistrements existants`,upsert:`Mettre à jour ou créer`},key:`Associer les lignes par`,noKey:`Associez d’abord une colonne à la clé ou à un champ unique.`,modeHelp:{update:`Chaque ligne met à jour l’enregistrement dont la valeur correspond ; une ligne sans correspondance va dans le fichier des lignes en échec.`,upsert:`Chaque ligne met à jour l’enregistrement dont la valeur correspond, ou en crée un s’il n’y en a aucun.`}},pager:{page:`Page {page}`},page:{create:`Nouveau {noun}`,unknown:`Ressource inconnue`,unknownText:`Rien n’est enregistré sous « {slug} ».`},inline:{editLabel:`Modifier {label}`,pending:`{count} modification non enregistrée | {count} modifications non enregistrées`,save:`Enregistrer les modifications`,discard:`Abandonner`,saved:`Un enregistrement sauvegardé. | {count} enregistrements sauvegardés.`,conflict:`Un enregistrement a changé depuis le chargement de la liste. Rechargez-la et modifiez à nouveau.`,leaveTitle:`Abandonner {count} modification non enregistrée ? | Abandonner {count} modifications non enregistrées ?`,leaveText:`Quitter la liste abandonne les modifications non enregistrées.`}},record:{unknownResource:`Ressource inconnue`,new:`Nouveau`,newTitle:`Nouveau : {label}`,editTitle:`Modifier {title}`,createNotAllowed:`Cette ressource ne permet pas de créer des enregistrements ici.`,editNotAllowed:`Vous ne pouvez pas modifier cet enregistrement.`,saved:`{label} enregistré.`,duplicate:`Dupliquer`,copyOf:`Une copie de « {title} ». Les valeurs qui doivent être uniques, ainsi que les fichiers, commencent vides.`,variants:{menu:`Autres façons d’enregistrer`,saveContinue:`Enregistrer et continuer la modification`,createContinue:`Créer et continuer la modification`,createAnother:`Créer et en ajouter un autre`},leave:{title:`Abandonner vos modifications ?`,text:`Quitter cette page abandonne les modifications non enregistrées.`,discard:`Abandonner`},inTrash:`Dans la corbeille`,deleteTitle:`Supprimer {noun} « {title} » ?`,deleteForeverTitle:`Supprimer définitivement {noun} « {title} » ?`,deleteSoftText:`Il est placé dans la corbeille et peut être restauré.`,deleteHardText:`Cette action est irréversible.`,trashed:`{label} placé dans la corbeille.`,deleted:`{label} supprimé.`,restored:`{label} restauré.`,impersonate:{action:`Agir en tant que`,title:`Agir en tant que « {title} » ?`,text:`Vous voyez et faites ce que cette personne peut faire, et chaque modification est journalisée en son nom, en précisant que vous agissiez pour cette personne.`,started:`Vous agissez désormais en tant que {title}.`},audit:{title:`Historique`,byUser:`par l’utilisateur {actor}`,impersonatedBy:`(par {impersonator}, agissant en son nom)`,empty:`Aucune modification enregistrée.`,revert:`Rétablir`,revertLabel:`Rétablir la valeur précédente`,revertTitle:`Rétablir la valeur précédente ?`,revertText:`Rétablit la valeur précédente de {fields}. Le rétablissement est également enregistré dans l’historique.`,reverted:`Valeur précédente rétablie.`},panel:{attach:`Associer`,attachTitle:`Associer {label}`,attachCount:`Associer {count}`,attached:`{count} {label} associé(s).`,records:`enregistrements`,record:`enregistrement`,empty:`Aucun {label} pour l’instant.`,detach:`Dissocier`,detachLabel:`Dissocier {title}`,detachTitle:`Dissocier « {title} » ?`,detachText:`Il reste un {target} ; seul son lien avec ce {owner} est supprimé.`,detached:`{title} dissocié.`}},actions:{runOn:`Exécuter {action} sur {subject} ?`,subjectAll:`tous les {label} correspondants ({count})`,subjectAllUncounted:`tous les {label} correspondants`,subjectCount:`{count} {label}`,done:`{label} terminé.`,declined:`L’action a été refusée.`,redirectRefused:`L’action demandait d’ouvrir une page hors de l’administration ; elle n’a pas été ouverte.`,downloadStarted:`Téléchargement lancé.`,queued:`{label} a été mis en file d’attente.`},dashboard:{title:`Tableau de bord`,range:`Période`,loading:`Chargement`,percent:`{value} %`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Rien sur cette période.`},progress:{of:`sur {target}`,label:`Progression`},stat:{previous:`contre {value} auparavant`},table:{empty:`Rien à afficher.`,seeAll:`Tout voir`},trend:{total:`Total {value}`}},jobs:{title:`Tâches`,heading:`Tâches en arrière-plan`,columns:{job:`Tâche`,resource:`Ressource`,status:`Statut`,progress:`Progression`,started:`Démarrée`},empty:`Aucune tâche pour l’instant. Les exports volumineux, les imports et les actions en file d’attente apparaissent ici.`,kind:{action:`action`,export:`export`,import:`import`},status:{queued:`en attente`,running:`en cours`,done:`terminée`,failed:`échouée`,stalled:`bloquée`},detail:{pageTitle:`Tâche n° {id}`,fallbackTitle:`Tâche`,started:`démarrée le {date}`,finished:`terminée le {date}`,progress:`Progression de la tâche`,processed:`{processed} traités`,processedOfTotal:`{processed} sur {total} traités`,download:`Télécharger {file}`,file:`le fichier`}},settings:{pageTitle:`Paramètres`,heading:`Paramètres`,empty:{title:`Aucun paramètre`,text:`Rien n’est enregistré pour que ce compte puisse le gérer.`},saved:`{label} enregistré.`},fields:{cell:{loading:`Chargement de {label}`},keyValue:{key:`Clé`,value:`Valeur`,entry:`Entrée {n}`,add:`Ajouter une entrée`,remove:`Retirer l’entrée {n}`,more:`+{count} de plus`,repeated:`Utilisé plus d’une fois : {keys}. La dernière occurrence est conservée.`},repeater:{add:`Ajouter {label}`,remove:`Retirer {label} {n}`,row:`{label} {n}`,count:`{count} sur {max} au maximum`,unavailable:`Vous ne pouvez pas voir ces lignes.`},relation:{placeholder:`Saisissez pour rechercher`,dependsFirst:`Choisissez d’abord {label}`},upload:{storageKey:`La clé de stockage du fichier.`,tooLarge:`Le fichier dépasse {size} Mo.`,rejected:`Le fichier {message}`,uploaded:`{name} envoyé ({size} Ko)`,theFile:`le fichier`,upTo:`jusqu’à {size} Mo`,preview:`Aperçu de {label}`,remove:`Retirer {label}`},richtext:{toolbar:`Mise en forme de {label}`,bold:`Gras`,italic:`Italique`,underline:`Souligné`,strike:`Barré`,code:`Code`,heading:`Titre {level}`,bulletList:`Liste à puces`,orderedList:`Liste numérotée`,blockquote:`Citation`,codeBlock:`Bloc de code`,horizontalRule:`Séparateur`,link:`Lien`,linkUrl:`Adresse du lien`,linkRefused:`Utilisez un lien http(s), mailto ou relatif`,insertTable:`Insérer un tableau`,addRow:`Ajouter une ligne`,addColumn:`Ajouter une colonne`,deleteRow:`Supprimer la ligne`,deleteColumn:`Supprimer la colonne`,deleteTable:`Supprimer le tableau`,image:`Insérer une image`,undo:`Annuler`,redo:`Rétablir`,source:`Source`,visual:`Visuel`,sourceOf:`Source de {label}`},rules:{maxLength:`{max} caractères au maximum`,minLength:`{min} caractères au minimum`,email:`Saisissez une adresse e-mail valide`,url:`Saisissez une URL valide`,greaterThan:`Doit être supérieur à {limit}`,greaterThanOrEqual:`Doit être au moins {limit}`,lessThan:`Doit être inférieur à {limit}`,lessThanOrEqual:`Doit être au plus {limit}`,invalidFormat:`Format non valide`,notAllowed:`Valeur non autorisée`}}},nl:{common:{save:`Opslaan`,cancel:`Annuleren`,create:`Aanmaken`,edit:`Bewerken`,delete:`Verwijderen`,deleteForever:`Definitief verwijderen`,restore:`Herstellen`,close:`Sluiten`,apply:`Toepassen`,remove:`Verwijderen`,search:`Zoeken`,loading:`Laden…`,required:`Verplicht`,none:`—`,yes:`Ja`,no:`Nee`,download:`Downloaden`,actions:`Acties`,confirm:`Bevestigen`,serverRejected:`De server heeft het verzoek geweigerd.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Beheer`,account:`Account`,signOut:`Afmelden`,toggleNavigation:`Navigatie in-/uitschakelen`,toggleTheme:`Thema wisselen`,language:`Taal: {name}`,languageFailed:`De taal kon niet worden opgeslagen: {error}`,unsupportedDescriptor:`De API publiceert descriptorversie {version}; deze beheeromgeving leest versie {supported}. {remedy}`,version:{mismatch:`Deze beheeromgeving is versie {current}; kinetis/vector verwacht {expected}.`,dismiss:`Sluiten`,hostedRemedy:`Voer vendor/bin/kinetis vector:install-ui uit op de server en herstart de workers.`,layeredRemedy:`Werk {package} bij naar {version} en bouw opnieuw.`,layeredRemedyAny:`Installeer de versie van {package} die deze kinetis/vector verwacht en bouw opnieuw.`},nav:{main:`Hoofdmenu`,dashboard:`Dashboard`,jobs:`Taken`,settings:`Instellingen`,pages:`Pagina’s`,badge:`{count} {label}`},page:{unknown:`Onbekende pagina`,loading:`De pagina wordt geladen`},impersonation:{actingAs:`U handelt als {name}.`,anotherUser:`een andere gebruiker`,stop:`Terug naar uw eigen account`,noAccess:`{name} heeft geen toegang tot het beheer, dus er is niets te zien namens deze gebruiker. Het handelen als deze gebruiker is gestopt.`,noToken:`De applicatie antwoordde zonder token of herlaadopdracht, dus er is niets gewijzigd.`,ended:`Uw imitatie is verlopen; u bent weer in uw eigen account.`},palette:{placeholder:`Records en resources zoeken…`,records:`Records`,resources:`Resources`,noMatch:`Geen overeenkomende records`},inbox:{title:`Meldingen`,markAllRead:`Alles als gelezen markeren`,empty:`Nog niets`},login:{pageTitle:`Aanmelden · {brand}`,subtitle:`Meld u aan bij het beheer`,email:`E-mail`,password:`Wachtwoord`,submit:`Aanmelden`,invalidEmail:`Voer een geldig e-mailadres in`,welcome:`Welkom terug, {name}.`,signedOutIdle:`U bent na {minutes} minuten zonder activiteit afgemeld. Meld u opnieuw aan om verder te gaan waar u gebleven was.`,impersonationEnded:`Uw imitatie is verlopen en uw eigen sessie kon niet worden vernieuwd. Meld u opnieuw aan om verder te gaan.`},home:{title:`Dashboard`}},list:{field:`Veld`,search:`{label} zoeken…`,noSearch:`Geen doorzoekbare velden`,noGrouping:`Geen groepering`,groupBy:`Groeperen op`,groupHeader:`{label}:`,expandGroup:`Groep uitvouwen`,collapseGroup:`Groep samenvouwen`,trash:{label:`Prullenbak`,active:`Actief`,only:`Prullenbak`,with:`Actief en prullenbak`},exportCsv:`CSV exporteren`,importCsv:`CSV importeren`,exportQueued:`De export is groot en staat in de wachtrij; u krijgt een melding zodra deze klaar is.`,exportPrepared:`De export wordt voorbereid; u krijgt een melding zodra deze klaar is.`,export:`Exporteren`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Geen resultaten`,empty:`Nog geen {label}`,summary:{sum:`Som`,avg:`Gemiddelde`,min:`Min`,max:`Max`,count:`Aantal`},operation:{deleteTitle:`{count} {noun} verwijderen?`,restoreTitle:`{count} {noun} herstellen?`,forceDeleteTitle:`{count} {noun} definitief verwijderen?`,deleteAllTitle:`Alle overeenkomende {noun} verwijderen?`,restoreAllTitle:`Alle overeenkomende {noun} herstellen?`,forceDeleteAllTitle:`Alle overeenkomende {noun} definitief verwijderen?`,toTrash:`Ze worden naar de prullenbak verplaatst en kunnen worden hersteld.`,irreversible:`Dit kan niet ongedaan worden gemaakt.`,restored:`{count} {noun} hersteld.`,deleted:`{count} {noun} verwijderd.`},bulk:{allMatching:`Alle {total} overeenkomende`,allMatchingUncounted:`Alle overeenkomende records`,selected:`{count} geselecteerd`,selectAllMatching:`Alle {total} overeenkomende selecteren`,selectAllMatchingUncounted:`Alle overeenkomende records selecteren`,onlyChecked:`Alleen aangevinkte rijen`,clearSelection:`Selectie wissen`},bulkEdit:{everyMatching:`alle overeenkomende {noun} ({count})`,everyMatchingUncounted:`alle overeenkomende {noun}`,some:`{count} {noun}`,title:`{subject} bewerken`,fieldsToChange:`Te wijzigen velden`,fieldsHint:`Alleen de gekozen velden worden opgeslagen; alle andere waarden blijven ongewijzigd.`,applyTo:`Toepassen op {count}`,applyToAll:`Toepassen op alle overeenkomende`,updated:`{count} {noun} bijgewerkt.`},columns:{title:`Kolommen`,moveUp:`Omhoog`,moveDown:`Omlaag`,reset:`Standaard herstellen`},filter:{add:`Filter toevoegen`,condition:`Voorwaarde`,value:`Waarde`,from:`Van`,to:`Tot`,commaSeparated:`Kommagescheiden`,clear:`Wissen`,yes:`ja`,no:`nee`,and:`en`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Een van`,anyOfGroup:`Een van, groep {n}`,alternative:`Alternatief {n}`,or:`of`,orCondition:`of…`,addAnyOf:`“Een van” toevoegen`,addToAlternative:`Voorwaarde toevoegen aan alternatief {n}`,removeGroup:`Groep {n} verwijderen`,advanced:`Geavanceerde voorwaarde`,operators:{eq:`is`,ne:`is niet`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`is een van`,nin:`is geen van`,like:`bevat`,nlike:`bevat niet`,between:`ligt tussen`,null:`is leeg`,nnull:`is niet leeg`}},views:{menu:`Weergaven`,allRecords:`Alle records`,default:`Standaard`,updateWithCurrent:`Weergave bijwerken met de huidige lijst`,delete:`Weergave verwijderen`,deleteTitle:`Weergave “{name}” verwijderen?`,saveCurrent:`Huidige opslaan als weergave…`,saveTitle:`Weergave opslaan`,updateTitle:`“{name}” bijwerken`,name:`Naam`,share:`Delen met alle beheerders`,openWith:`Deze resource met deze weergave openen`,openWithForEveryone:`Zo openen voor iedereen zonder eigen standaardweergave`,shareFirst:`Deel de weergave om deze voor iedereen de standaard te maken.`,everyoneDefault:`Standaard voor iedereen`,saved:`Weergave “{name}” opgeslagen.`},import:{title:`{label} importeren`,file:`CSV-bestand`,analyse:`Analyseren`,instructions:"{rows} rijen. Koppel elke kolom aan een veld, of laat deze ongekoppeld om hem over te slaan. Een `manyToMany`-kolom accepteert ID’s gescheiden door `{pipe}`.",csvColumn:`CSV-kolom`,sample:`Voorbeeld`,skip:`— overslaan —`,start:`{rows} rijen importeren`,queued:`Import van {rows} rijen in de wachtrij geplaatst.`,mode:`Rijen`,modes:{create:`Nieuwe records aanmaken`,update:`Bestaande records bijwerken`,upsert:`Bijwerken of aanmaken`},key:`Rijen koppelen op`,noKey:`Koppel eerst een kolom aan de sleutel of een uniek veld.`,modeHelp:{update:`Elke rij werkt het record bij waarvan de waarde overeenkomt; een rij zonder overeenkomst gaat naar het bestand met mislukte rijen.`,upsert:`Elke rij werkt het record bij waarvan de waarde overeenkomt, of maakt er een aan als er geen overeenkomt.`}},pager:{page:`Pagina {page}`},page:{create:`Nieuw: {noun}`,unknown:`Onbekende resource`,unknownText:`Er is niets geregistreerd als “{slug}”.`},inline:{editLabel:`{label} bewerken`,pending:`{count} niet-opgeslagen wijziging | {count} niet-opgeslagen wijzigingen`,save:`Wijzigingen opslaan`,discard:`Verwerpen`,saved:`Eén record opgeslagen. | {count} records opgeslagen.`,conflict:`Een record is gewijzigd sinds de lijst is geladen. Laad het opnieuw en bewerk het nogmaals.`,leaveTitle:`{count} niet-opgeslagen wijziging verwerpen? | {count} niet-opgeslagen wijzigingen verwerpen?`,leaveText:`Als u de lijst verlaat, gaan de niet-opgeslagen bewerkingen verloren.`}},record:{unknownResource:`Onbekende resource`,new:`Nieuw`,newTitle:`Nieuw: {label}`,editTitle:`{title} bewerken`,createNotAllowed:`Deze resource staat het aanmaken van records hier niet toe.`,editNotAllowed:`U mag dit record niet bewerken.`,saved:`{label} opgeslagen.`,duplicate:`Dupliceren`,copyOf:`Een kopie van “{title}”. Waarden die uniek moeten zijn en bestanden beginnen leeg.`,variants:{menu:`Meer opslagopties`,saveContinue:`Opslaan en verder bewerken`,createContinue:`Aanmaken en verder bewerken`,createAnother:`Aanmaken en nog een toevoegen`},leave:{title:`Wijzigingen verwerpen?`,text:`Als u deze pagina verlaat, gaan de niet-opgeslagen wijzigingen verloren.`,discard:`Verwerpen`},inTrash:`In de prullenbak`,deleteTitle:`{noun} “{title}” verwijderen?`,deleteForeverTitle:`{noun} “{title}” definitief verwijderen?`,deleteSoftText:`Het wordt naar de prullenbak verplaatst en kan worden hersteld.`,deleteHardText:`Dit kan niet ongedaan worden gemaakt.`,trashed:`{label} naar de prullenbak verplaatst.`,deleted:`{label} verwijderd.`,restored:`{label} hersteld.`,impersonate:{action:`Inloggen als`,title:`Handelen als “{title}”?`,text:`U ziet en doet wat deze gebruiker kan, en elke wijziging wordt op diens naam vastgelegd, met de vermelding dat u namens deze gebruiker handelde.`,started:`U handelt nu als {title}.`},audit:{title:`Geschiedenis`,byUser:`door gebruiker {actor}`,impersonatedBy:`(uitgevoerd door {impersonator})`,empty:`Geen vastgelegde wijzigingen.`,revert:`Terugdraaien`,revertLabel:`Deze wijziging terugdraaien`,revertTitle:`Deze wijziging terugdraaien?`,revertText:`Zet de eerdere waarde van {fields} terug. Het terugdraaien wordt ook in de geschiedenis vastgelegd.`,reverted:`Wijziging teruggedraaid.`},panel:{attach:`Koppelen`,attachTitle:`{label} koppelen`,attachCount:`{count} koppelen`,attached:`{count} {label} gekoppeld.`,records:`records`,record:`record`,empty:`Nog geen {label}.`,detach:`Ontkoppelen`,detachLabel:`{title} ontkoppelen`,detachTitle:`“{title}” ontkoppelen?`,detachText:`Het blijft een {target}; alleen de koppeling met deze {owner} wordt verwijderd.`,detached:`{title} ontkoppeld.`}},actions:{runOn:`{action} uitvoeren op {subject}?`,subjectAll:`alle overeenkomende {label} ({count})`,subjectAllUncounted:`alle overeenkomende {label}`,subjectCount:`{count} {label}`,done:`{label} voltooid.`,declined:`De actie is geweigerd.`,redirectRefused:`De actie vroeg een pagina buiten de beheeromgeving te openen; die is niet geopend.`,downloadStarted:`Download gestart.`,queued:`{label} is in de wachtrij geplaatst.`},dashboard:{title:`Dashboard`,range:`Periode`,loading:`Laden`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} u`},partition:{empty:`Niets in deze periode.`},progress:{of:`van {target}`,label:`Voortgang`},stat:{previous:`vs. {value} eerder`},table:{empty:`Niets om te tonen.`,seeAll:`Alles bekijken`},trend:{total:`Totaal {value}`}},jobs:{title:`Taken`,heading:`Achtergrondtaken`,columns:{job:`Taak`,resource:`Resource`,status:`Status`,progress:`Voortgang`,started:`Gestart`},empty:`Nog geen taken. Grote exports, imports en acties in de wachtrij verschijnen hier.`,kind:{action:`actie`,export:`export`,import:`import`},status:{queued:`in wachtrij`,running:`bezig`,done:`voltooid`,failed:`mislukt`,stalled:`vastgelopen`},detail:{pageTitle:`Taak #{id}`,fallbackTitle:`Taak`,started:`gestart {date}`,finished:`voltooid {date}`,progress:`Voortgang van de taak`,processed:`{processed} verwerkt`,processedOfTotal:`{processed} van {total} verwerkt`,download:`{file} downloaden`,file:`bestand`}},settings:{pageTitle:`Instellingen`,heading:`Instellingen`,empty:{title:`Geen instellingen`,text:`Er is niets geregistreerd dat dit account kan beheren.`},saved:`{label} opgeslagen.`},fields:{cell:{loading:`{label} laden`},keyValue:{key:`Sleutel`,value:`Waarde`,entry:`Item {n}`,add:`Item toevoegen`,remove:`Item {n} verwijderen`,more:`+{count} meer`,repeated:`Meer dan eens gebruikt: {keys}. De laatste wordt behouden.`},repeater:{add:`{label} toevoegen`,remove:`{label} {n} verwijderen`,row:`{label} {n}`,count:`{count} van maximaal {max}`,unavailable:`U mag deze rijen niet zien.`},relation:{placeholder:`Typ om te zoeken`,dependsFirst:`Kies eerst {label}`},upload:{storageKey:`De opslagsleutel van het bestand.`,tooLarge:`Het bestand is groter dan {size} MB.`,rejected:`Het bestand {message}`,uploaded:`{name} geüpload ({size} KB)`,theFile:`het bestand`,upTo:`tot {size} MB`,preview:`Voorbeeld van {label}`,remove:`{label} verwijderen`},richtext:{toolbar:`Opmaak van {label}`,bold:`Vet`,italic:`Cursief`,underline:`Onderstrepen`,strike:`Doorhalen`,code:`Code`,heading:`Kop {level}`,bulletList:`Lijst met opsommingstekens`,orderedList:`Genummerde lijst`,blockquote:`Citaat`,codeBlock:`Codeblok`,horizontalRule:`Scheidingslijn`,link:`Link`,linkUrl:`Linkadres`,linkRefused:`Gebruik een http(s)-, mailto- of relatieve link`,insertTable:`Tabel invoegen`,addRow:`Rij toevoegen`,addColumn:`Kolom toevoegen`,deleteRow:`Rij verwijderen`,deleteColumn:`Kolom verwijderen`,deleteTable:`Tabel verwijderen`,image:`Afbeelding invoegen`,undo:`Ongedaan maken`,redo:`Opnieuw`,source:`Bron`,visual:`Visueel`,sourceOf:`Bron van {label}`},rules:{maxLength:`Maximaal {max} tekens`,minLength:`Minimaal {min} tekens`,email:`Voer een geldig e-mailadres in`,url:`Voer een geldige URL in`,greaterThan:`Moet groter zijn dan {limit}`,greaterThanOrEqual:`Moet minimaal {limit} zijn`,lessThan:`Moet kleiner zijn dan {limit}`,lessThanOrEqual:`Moet maximaal {limit} zijn`,invalidFormat:`Ongeldige notatie`,notAllowed:`Geen toegestane waarde`}}},it:{common:{save:`Salva`,cancel:`Annulla`,create:`Crea`,edit:`Modifica`,delete:`Elimina`,deleteForever:`Elimina definitivamente`,restore:`Ripristina`,close:`Chiudi`,apply:`Applica`,remove:`Rimuovi`,search:`Cerca`,loading:`Caricamento…`,required:`Obbligatorio`,none:`—`,yes:`Sì`,no:`No`,download:`Scarica`,actions:`Azioni`,confirm:`Conferma`,serverRejected:`Il server ha rifiutato la richiesta.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Amministrazione`,account:`Account`,signOut:`Esci`,toggleNavigation:`Mostra/nascondi navigazione`,toggleTheme:`Cambia tema`,language:`Lingua: {name}`,languageFailed:`Impossibile salvare la lingua: {error}`,unsupportedDescriptor:`L’API pubblica la versione {version} del descrittore; questo pannello legge la versione {supported}. {remedy}`,version:{mismatch:`Questa interfaccia di amministrazione è la versione {current}; kinetis/vector si aspetta {expected}.`,dismiss:`Chiudi`,hostedRemedy:`Esegui vendor/bin/kinetis vector:install-ui sul server, poi riavvia i worker.`,layeredRemedy:`Aggiorna {package} alla versione {version} e ricompila.`,layeredRemedyAny:`Installa la versione di {package} attesa da questo kinetis/vector e ricompila.`},nav:{main:`Principale`,dashboard:`Dashboard`,jobs:`Job`,settings:`Impostazioni`,pages:`Pagine`,badge:`{count} {label}`},page:{unknown:`Pagina sconosciuta`,loading:`Caricamento della pagina`},impersonation:{actingAs:`Stai agendo come {name}.`,anotherUser:`un altro utente`,stop:`Termina impersonazione`,noAccess:`{name} non ha accesso all’amministrazione, quindi non c’è nulla da vedere al suo posto. L’impersonazione è stata interrotta.`,noToken:`L’applicazione ha risposto senza un token né un ricaricamento, quindi non è cambiato nulla.`,ended:`L’impersonificazione è scaduta: sei di nuovo nel tuo account.`},palette:{placeholder:`Cerca record e risorse…`,records:`Record`,resources:`Risorse`,noMatch:`Nessun record corrispondente`},inbox:{title:`Notifiche`,markAllRead:`Segna tutte come lette`,empty:`Ancora niente`},login:{pageTitle:`Accedi · {brand}`,subtitle:`Accedi all’amministrazione`,email:`E-mail`,password:`Password`,submit:`Accedi`,invalidEmail:`Inserisci un indirizzo e-mail valido`,welcome:`Ti diamo il bentornato, {name}.`,signedOutIdle:`Sei stato disconnesso dopo {minutes} minuti di inattività. Accedi di nuovo per riprendere da dove eri rimasto.`,impersonationEnded:`L’impersonificazione è scaduta e non è stato possibile rinnovare la tua sessione. Accedi di nuovo per continuare.`},home:{title:`Dashboard`}},list:{field:`Campo`,search:`Cerca {label}…`,noSearch:`Nessun campo ricercabile`,noGrouping:`Nessun raggruppamento`,groupBy:`Raggruppa per`,groupHeader:`{label}:`,expandGroup:`Espandi gruppo`,collapseGroup:`Comprimi gruppo`,trash:{label:`Cestino`,active:`Attivi`,only:`Cestino`,with:`Attivi e cestino`},exportCsv:`Esporta CSV`,importCsv:`Importa CSV`,exportQueued:`L’esportazione è di grandi dimensioni ed è stata messa in coda; riceverai una notifica quando sarà pronta.`,exportPrepared:`L’esportazione è in preparazione; riceverai una notifica quando sarà pronta.`,export:`Esporta`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nessun risultato`,empty:`Ancora nessun {label}`,summary:{sum:`Somma`,avg:`Media`,min:`Min`,max:`Max`,count:`Conteggio`},operation:{deleteTitle:`Eliminare {count} {noun}?`,restoreTitle:`Ripristinare {count} {noun}?`,forceDeleteTitle:`Eliminare definitivamente {count} {noun}?`,deleteAllTitle:`Eliminare tutti i {noun} corrispondenti?`,restoreAllTitle:`Ripristinare tutti i {noun} corrispondenti?`,forceDeleteAllTitle:`Eliminare definitivamente tutti i {noun} corrispondenti?`,toTrash:`Vengono spostati nel cestino e possono essere ripristinati.`,irreversible:`L’operazione non può essere annullata.`,restored:`{count} {noun} ripristinati.`,deleted:`{count} {noun} eliminati.`},bulk:{allMatching:`Tutti i {total} corrispondenti`,allMatchingUncounted:`Tutti i record corrispondenti`,selected:`{count} selezionati`,selectAllMatching:`Seleziona tutti i {total} corrispondenti`,selectAllMatchingUncounted:`Seleziona tutti i record corrispondenti`,onlyChecked:`Solo le righe selezionate`,clearSelection:`Annulla selezione`},bulkEdit:{everyMatching:`tutti i {noun} corrispondenti ({count})`,everyMatchingUncounted:`tutti i {noun} corrispondenti`,some:`{count} {noun}`,title:`Modifica {subject}`,fieldsToChange:`Campi da modificare`,fieldsHint:`Vengono scritti solo i campi scelti; tutti gli altri valori restano invariati.`,applyTo:`Applica a {count}`,applyToAll:`Applica a tutti i corrispondenti`,updated:`{count} {noun} aggiornati.`},columns:{title:`Colonne`,moveUp:`Sposta su`,moveDown:`Sposta giù`,reset:`Ripristina`},filter:{add:`Aggiungi filtro`,condition:`Condizione`,value:`Valore`,from:`Da`,to:`A`,commaSeparated:`Separati da virgola`,clear:`Cancella`,yes:`sì`,no:`no`,and:`e`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Uno qualsiasi di`,anyOfGroup:`Uno qualsiasi di, gruppo {n}`,alternative:`Alternativa {n}`,or:`o`,orCondition:`o…`,addAnyOf:`Aggiungi “uno qualsiasi di”`,addToAlternative:`Aggiungi una condizione all’alternativa {n}`,removeGroup:`Rimuovi gruppo {n}`,advanced:`Condizione avanzata`,operators:{eq:`è`,ne:`non è`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`è uno di`,nin:`non è nessuno di`,like:`contiene`,nlike:`non contiene`,between:`è compreso tra`,null:`è vuoto`,nnull:`non è vuoto`}},views:{menu:`Viste`,allRecords:`Tutti i record`,default:`Predefinita`,updateWithCurrent:`Aggiorna la vista con l’elenco corrente`,delete:`Elimina vista`,deleteTitle:`Eliminare la vista “{name}”?`,saveCurrent:`Salva come vista…`,saveTitle:`Salva vista`,updateTitle:`Aggiorna “{name}”`,name:`Nome`,share:`Condividi con tutti gli amministratori`,openWith:`Apri questa risorsa con questa vista`,openWithForEveryone:`Aprila così per chiunque non abbia una vista predefinita propria`,shareFirst:`Condividi la vista per renderla predefinita per tutti.`,everyoneDefault:`Predefinita per tutti`,saved:`Vista “{name}” salvata.`},import:{title:`Importa {label}`,file:`File CSV`,analyse:`Analizza`,instructions:"{rows} righe. Associa ogni colonna a un campo, oppure lasciala non associata per ignorarla. Una colonna `manyToMany` accetta identificatori separati da `{pipe}`.",csvColumn:`Colonna CSV`,sample:`Esempio`,skip:`— ignora —`,start:`Importa {rows} righe`,queued:`Importazione di {rows} righe in coda.`,mode:`Righe`,modes:{create:`Crea nuovi record`,update:`Aggiorna record esistenti`,upsert:`Aggiorna o crea`},key:`Associa le righe per`,noKey:`Associa prima una colonna alla chiave o a un campo univoco.`,modeHelp:{update:`Ogni riga aggiorna il record con il valore corrispondente; una riga senza corrispondenze finisce nel file delle righe non riuscite.`,upsert:`Ogni riga aggiorna il record con il valore corrispondente, oppure ne crea uno se non ce ne sono.`}},pager:{page:`Pagina {page}`},page:{create:`Nuovo {noun}`,unknown:`Risorsa sconosciuta`,unknownText:`Nulla è registrato come “{slug}”.`},inline:{editLabel:`Modifica {label}`,pending:`{count} modifica non salvata | {count} modifiche non salvate`,save:`Salva modifiche`,discard:`Scarta`,saved:`Un record salvato. | {count} record salvati.`,conflict:`Un record è cambiato dopo il caricamento dell’elenco. Ricaricalo e modificalo di nuovo.`,leaveTitle:`Scartare {count} modifica non salvata? | Scartare {count} modifiche non salvate?`,leaveText:`Uscendo dall’elenco perderai le modifiche non salvate.`}},record:{unknownResource:`Risorsa sconosciuta`,new:`Nuovo`,newTitle:`Nuovo {label}`,editTitle:`Modifica {title}`,createNotAllowed:`Questa risorsa non consente di creare record qui.`,editNotAllowed:`Non puoi modificare questo record.`,saved:`{label} salvato.`,duplicate:`Duplica`,copyOf:`Una copia di “{title}”. I valori che devono essere univoci e i file partono vuoti.`,variants:{menu:`Altri modi di salvare`,saveContinue:`Salva e continua a modificare`,createContinue:`Crea e continua a modificare`,createAnother:`Crea e aggiungine un altro`},leave:{title:`Scartare le modifiche?`,text:`Uscendo da questa pagina perderai le modifiche non salvate.`,discard:`Scarta`},inTrash:`Nel cestino`,deleteTitle:`Eliminare {noun} “{title}”?`,deleteForeverTitle:`Eliminare definitivamente {noun} “{title}”?`,deleteSoftText:`Viene spostato nel cestino e può essere ripristinato.`,deleteHardText:`L’operazione non può essere annullata.`,trashed:`{label} spostato nel cestino.`,deleted:`{label} eliminato.`,restored:`{label} ripristinato.`,impersonate:{action:`Impersona`,title:`Agire come “{title}”?`,text:`Vedi e fai ciò che può fare questo utente, e ogni modifica viene registrata a suo nome, con te come impersonatore.`,started:`Ora stai agendo come {title}.`},audit:{title:`Cronologia`,byUser:`dall’utente {actor}`,impersonatedBy:`(impersonato da {impersonator})`,empty:`Nessuna modifica registrata.`,revert:`Ripristina`,revertLabel:`Ripristina il valore precedente`,revertTitle:`Ripristinare il valore precedente?`,revertText:`Ripristina il valore precedente di {fields}. Anche il ripristino viene registrato nella cronologia.`,reverted:`Valore precedente ripristinato.`},panel:{attach:`Collega`,attachTitle:`Collega {label}`,attachCount:`Collega {count}`,attached:`{count} {label} collegati.`,records:`record`,record:`record`,empty:`Ancora nessun {label}.`,detach:`Scollega`,detachLabel:`Scollega {title}`,detachTitle:`Scollegare “{title}”?`,detachText:`Resta un {target}; viene rimosso solo il suo collegamento a questo {owner}.`,detached:`{title} scollegato.`}},actions:{runOn:`Eseguire {action} su {subject}?`,subjectAll:`tutti i {label} corrispondenti ({count})`,subjectAllUncounted:`tutti i {label} corrispondenti`,subjectCount:`{count} {label}`,done:`{label} completato.`,declined:`L’azione è stata rifiutata.`,redirectRefused:`L’azione chiedeva di aprire una pagina esterna al pannello; non è stata aperta.`,downloadStarted:`Download avviato.`,queued:`{label} è stato messo in coda.`},dashboard:{title:`Dashboard`,range:`Intervallo`,loading:`Caricamento`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nessun dato in questo intervallo.`},progress:{of:`di {target}`,label:`Avanzamento`},stat:{previous:`rispetto a {value} prima`},table:{empty:`Niente da mostrare.`,seeAll:`Vedi tutto`},trend:{total:`Totale {value}`}},jobs:{title:`Job`,heading:`Job in background`,columns:{job:`Job`,resource:`Risorsa`,status:`Stato`,progress:`Avanzamento`,started:`Avviato`},empty:`Ancora nessun job. Qui compaiono le esportazioni e importazioni di grandi dimensioni e le azioni in coda.`,kind:{action:`azione`,export:`esportazione`,import:`importazione`},status:{queued:`in coda`,running:`in esecuzione`,done:`completato`,failed:`non riuscito`,stalled:`bloccata`},detail:{pageTitle:`Job #{id}`,fallbackTitle:`Job`,started:`avviato {date}`,finished:`terminato {date}`,progress:`Avanzamento del job`,processed:`{processed} elaborati`,processedOfTotal:`{processed} di {total} elaborati`,download:`Scarica {file}`,file:`file`}},settings:{pageTitle:`Impostazioni`,heading:`Impostazioni`,empty:{title:`Nessuna impostazione`,text:`Non c’è nulla di registrato che questo account possa gestire.`},saved:`{label} salvato.`},fields:{cell:{loading:`Caricamento di {label}`},keyValue:{key:`Chiave`,value:`Valore`,entry:`Voce {n}`,add:`Aggiungi voce`,remove:`Rimuovi voce {n}`,more:`+{count} altri`,repeated:`Usate più di una volta: {keys}. Viene mantenuta l’ultima.`},repeater:{add:`Aggiungi {label}`,remove:`Rimuovi {label} {n}`,row:`{label} {n}`,count:`{count} su un massimo di {max}`,unavailable:`Non puoi vedere queste righe.`},relation:{placeholder:`Digita per cercare`,dependsFirst:`Scegli prima {label}`},upload:{storageKey:`La chiave di archiviazione del file.`,tooLarge:`Il file supera {size} MB.`,rejected:`Il file {message}`,uploaded:`Caricato {name} ({size} KB)`,theFile:`il file`,upTo:`fino a {size} MB`,preview:`Anteprima di {label}`,remove:`Rimuovi {label}`},richtext:{toolbar:`Formattazione di {label}`,bold:`Grassetto`,italic:`Corsivo`,underline:`Sottolineato`,strike:`Barrato`,code:`Codice`,heading:`Titolo {level}`,bulletList:`Elenco puntato`,orderedList:`Elenco numerato`,blockquote:`Citazione`,codeBlock:`Blocco di codice`,horizontalRule:`Separatore`,link:`Link`,linkUrl:`Indirizzo del link`,linkRefused:`Usa un link http(s), mailto o relativo`,insertTable:`Inserisci tabella`,addRow:`Aggiungi riga`,addColumn:`Aggiungi colonna`,deleteRow:`Elimina riga`,deleteColumn:`Elimina colonna`,deleteTable:`Elimina tabella`,image:`Inserisci immagine`,undo:`Annulla`,redo:`Ripeti`,source:`Sorgente`,visual:`Visuale`,sourceOf:`Sorgente di {label}`},rules:{maxLength:`Al massimo {max} caratteri`,minLength:`Almeno {min} caratteri`,email:`Inserisci un indirizzo e-mail valido`,url:`Inserisci un URL valido`,greaterThan:`Deve essere maggiore di {limit}`,greaterThanOrEqual:`Deve essere almeno {limit}`,lessThan:`Deve essere minore di {limit}`,lessThanOrEqual:`Deve essere al massimo {limit}`,invalidFormat:`Formato non valido`,notAllowed:`Valore non consentito`}}},es:{common:{save:`Guardar`,cancel:`Cancelar`,create:`Crear`,edit:`Editar`,delete:`Eliminar`,deleteForever:`Eliminar definitivamente`,restore:`Restaurar`,close:`Cerrar`,apply:`Aplicar`,remove:`Quitar`,search:`Buscar`,loading:`Cargando…`,required:`Obligatorio`,none:`—`,yes:`Sí`,no:`No`,download:`Descargar`,actions:`Acciones`,confirm:`Confirmar`,serverRejected:`El servidor rechazó la solicitud.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administración`,account:`Cuenta`,signOut:`Cerrar sesión`,toggleNavigation:`Mostrar u ocultar la navegación`,toggleTheme:`Cambiar tema`,language:`Idioma: {name}`,languageFailed:`No se pudo guardar el idioma: {error}`,unsupportedDescriptor:`La API publica la versión {version} del descriptor; este panel lee la versión {supported}. {remedy}`,version:{mismatch:`Esta interfaz de administración es la versión {current}; kinetis/vector espera {expected}.`,dismiss:`Descartar`,hostedRemedy:`Ejecute vendor/bin/kinetis vector:install-ui en el servidor y reinicie los workers.`,layeredRemedy:`Actualice {package} a {version} y vuelva a compilar.`,layeredRemedyAny:`Instale la versión de {package} que espera este kinetis/vector y vuelva a compilar.`},nav:{main:`Principal`,dashboard:`Panel`,jobs:`Tareas`,settings:`Configuración`,pages:`Páginas`,badge:`{count} {label}`},page:{unknown:`Página desconocida`,loading:`Cargando la página`},impersonation:{actingAs:`Está actuando como {name}.`,anotherUser:`otro usuario`,stop:`Dejar de actuar como otro usuario`,noAccess:`{name} no tiene acceso a la administración, así que no hay nada que ver en su nombre. Se dejó de actuar en su nombre.`,noToken:`La aplicación respondió sin un token ni una recarga, así que no cambió nada.`,ended:`Tu suplantación ha caducado, así que vuelves a estar en tu propia cuenta.`},palette:{placeholder:`Buscar registros y recursos…`,records:`Registros`,resources:`Recursos`,noMatch:`Ningún registro coincide`},inbox:{title:`Notificaciones`,markAllRead:`Marcar todo como leído`,empty:`Aún no hay nada`},login:{pageTitle:`Iniciar sesión · {brand}`,subtitle:`Inicie sesión en la administración`,email:`Correo electrónico`,password:`Contraseña`,submit:`Iniciar sesión`,invalidEmail:`Introduzca una dirección de correo electrónico válida`,welcome:`Hola de nuevo, {name}.`,signedOutIdle:`Se cerró la sesión tras {minutes} minutos de inactividad. Inicie sesión de nuevo para continuar donde lo dejó.`,impersonationEnded:`Tu suplantación ha caducado y no se pudo renovar tu propia sesión. Inicia sesión de nuevo para continuar.`},home:{title:`Panel`}},list:{field:`Campo`,search:`Buscar {label}…`,noSearch:`No hay campos en los que buscar`,noGrouping:`Sin agrupar`,groupBy:`Agrupar por`,groupHeader:`{label}:`,expandGroup:`Expandir grupo`,collapseGroup:`Contraer grupo`,trash:{label:`Papelera`,active:`Activos`,only:`Papelera`,with:`Activos y papelera`},exportCsv:`Exportar CSV`,importCsv:`Importar CSV`,exportQueued:`La exportación es grande y se puso en cola; recibirá un aviso cuando esté lista.`,exportPrepared:`La exportación se está preparando; recibirá un aviso cuando esté lista.`,export:`Exportar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Sin coincidencias`,empty:`Aún no hay {label}`,summary:{sum:`Suma`,avg:`Media`,min:`Mín.`,max:`Máx.`,count:`Recuento`},operation:{deleteTitle:`¿Eliminar {count} {noun}?`,restoreTitle:`¿Restaurar {count} {noun}?`,forceDeleteTitle:`¿Eliminar definitivamente {count} {noun}?`,deleteAllTitle:`¿Eliminar todos los {noun} coincidentes?`,restoreAllTitle:`¿Restaurar todos los {noun} coincidentes?`,forceDeleteAllTitle:`¿Eliminar definitivamente todos los {noun} coincidentes?`,toTrash:`Se mueven a la papelera y se pueden restaurar.`,irreversible:`Esta acción no se puede deshacer.`,restored:`Restaurados: {count} {noun}.`,deleted:`Eliminados: {count} {noun}.`},bulk:{allMatching:`Los {total} coincidentes`,allMatchingUncounted:`Todos los registros coincidentes`,selected:`{count} seleccionados`,selectAllMatching:`Seleccionar los {total} coincidentes`,selectAllMatchingUncounted:`Seleccionar todos los registros coincidentes`,onlyChecked:`Solo las filas marcadas`,clearSelection:`Borrar selección`},bulkEdit:{everyMatching:`todos los {noun} coincidentes ({count})`,everyMatchingUncounted:`todos los {noun} coincidentes`,some:`{count} {noun}`,title:`Editar {subject}`,fieldsToChange:`Campos que cambiar`,fieldsHint:`Solo se escriben los campos que elija; el resto de valores no cambia.`,applyTo:`Aplicar a {count}`,applyToAll:`Aplicar a todos los coincidentes`,updated:`Actualizados: {count} {noun}.`},columns:{title:`Columnas`,moveUp:`Subir`,moveDown:`Bajar`,reset:`Restablecer`},filter:{add:`Añadir filtro`,condition:`Condición`,value:`Valor`,from:`Desde`,to:`Hasta`,commaSeparated:`Separados por comas`,clear:`Borrar`,yes:`sí`,no:`no`,and:`y`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Cualquiera de`,anyOfGroup:`Cualquiera de, grupo {n}`,alternative:`Alternativa {n}`,or:`o`,orCondition:`o…`,addAnyOf:`Añadir “cualquiera de”`,addToAlternative:`Añadir una condición a la alternativa {n}`,removeGroup:`Quitar grupo {n}`,advanced:`Condición avanzada`,operators:{eq:`es`,ne:`no es`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`es uno de`,nin:`no es ninguno de`,like:`contiene`,nlike:`no contiene`,between:`está entre`,null:`está vacío`,nnull:`no está vacío`}},views:{menu:`Vistas`,allRecords:`Todos los registros`,default:`Predeterminada`,updateWithCurrent:`Actualizar la vista con la lista actual`,delete:`Eliminar vista`,deleteTitle:`¿Eliminar la vista “{name}”?`,saveCurrent:`Guardar la actual como vista…`,saveTitle:`Guardar vista`,updateTitle:`Actualizar “{name}”`,name:`Nombre`,share:`Compartir con todos los administradores`,openWith:`Abrir este recurso con esta vista`,openWithForEveryone:`Abrirlo así para todos los que no tengan una vista predeterminada propia`,shareFirst:`Comparta la vista para que sea la predeterminada de todos.`,everyoneDefault:`Predeterminada para todos`,saved:`Vista “{name}” guardada.`},import:{title:`Importar {label}`,file:`Archivo CSV`,analyse:`Analizar`,instructions:"{rows} filas. Asigne cada columna a un campo o déjela sin asignar para omitirla. Una columna `manyToMany` admite identificadores separados por `{pipe}`.",csvColumn:`Columna CSV`,sample:`Ejemplo`,skip:`— omitir —`,start:`Importar {rows} filas`,queued:`Importación de {rows} filas en cola.`,mode:`Filas`,modes:{create:`Crear registros nuevos`,update:`Actualizar registros existentes`,upsert:`Actualizar o crear`},key:`Hacer coincidir las filas por`,noKey:`Asigne primero una columna a la clave o a un campo único.`,modeHelp:{update:`Cada fila actualiza el registro cuyo valor coincide; una fila que no coincide con ninguno va al archivo de filas fallidas.`,upsert:`Cada fila actualiza el registro cuyo valor coincide, o crea uno cuando no hay ninguno.`}},pager:{page:`Página {page}`},page:{create:`Crear {noun}`,unknown:`Recurso desconocido`,unknownText:`No hay nada registrado como “{slug}”.`},inline:{editLabel:`Editar {label}`,pending:`{count} cambio sin guardar | {count} cambios sin guardar`,save:`Guardar cambios`,discard:`Descartar`,saved:`Se guardó un registro. | Se guardaron {count} registros.`,conflict:`Un registro cambió desde que se cargó la lista. Vuelva a cargarlo y edítelo de nuevo.`,leaveTitle:`¿Descartar {count} cambio sin guardar? | ¿Descartar {count} cambios sin guardar?`,leaveText:`Al salir de la lista se pierden las modificaciones no guardadas.`}},record:{unknownResource:`Recurso desconocido`,new:`Nuevo`,newTitle:`Crear {label}`,editTitle:`Editar {title}`,createNotAllowed:`Este recurso no permite crear registros aquí.`,editNotAllowed:`No puede editar este registro.`,saved:`Se guardó {label}.`,duplicate:`Duplicar`,copyOf:`Una copia de “{title}”. Los valores que deben ser únicos y los archivos empiezan vacíos.`,variants:{menu:`Más formas de guardar`,saveContinue:`Guardar y seguir editando`,createContinue:`Crear y seguir editando`,createAnother:`Crear y añadir otro`},leave:{title:`¿Descartar los cambios?`,text:`Al salir de esta página se pierden los cambios no guardados.`,discard:`Descartar`},inTrash:`En la papelera`,deleteTitle:`¿Eliminar {noun} “{title}”?`,deleteForeverTitle:`¿Eliminar definitivamente {noun} “{title}”?`,deleteSoftText:`Se mueve a la papelera y se puede restaurar.`,deleteHardText:`Esta acción no se puede deshacer.`,trashed:`Se movió {label} a la papelera.`,deleted:`Se eliminó {label}.`,restored:`Se restauró {label}.`,impersonate:{action:`Actuar como`,title:`¿Actuar como “{title}”?`,text:`Verá y hará lo que esa persona puede hacer, y cada cambio se registrará como suyo, indicando que usted actuaba en su nombre.`,started:`Ahora actúa como {title}.`},audit:{title:`Historial`,byUser:`por el usuario {actor}`,impersonatedBy:`(actuando en su nombre: {impersonator})`,empty:`No hay cambios registrados.`,revert:`Revertir`,revertLabel:`Revertir este cambio`,revertTitle:`¿Revertir este cambio?`,revertText:`Restaura el valor anterior de {fields}. La reversión también queda registrada en el historial.`,reverted:`Cambio revertido.`},panel:{attach:`Vincular`,attachTitle:`Vincular {label}`,attachCount:`Vincular {count}`,attached:`Vinculados: {count} {label}.`,records:`registros`,record:`registro`,empty:`Aún no hay {label}.`,detach:`Desvincular`,detachLabel:`Desvincular {title}`,detachTitle:`¿Desvincular “{title}”?`,detachText:`Se conserva como {target}; solo se quita su vínculo con {owner}.`,detached:`Se desvinculó {title}.`}},actions:{runOn:`¿Ejecutar {action} en {subject}?`,subjectAll:`todos los {label} coincidentes ({count})`,subjectAllUncounted:`todos los {label} coincidentes`,subjectCount:`{count} {label}`,done:`Se completó {label}.`,declined:`La acción se rechazó.`,redirectRefused:`La acción pidió abrir una página fuera del panel; no se ha abierto.`,downloadStarted:`Descarga iniciada.`,queued:`{label} se puso en cola.`},dashboard:{title:`Panel`,range:`Periodo`,loading:`Cargando`,percent:`{value} %`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`No hay nada en este periodo.`},progress:{of:`de {target}`,label:`Progreso`},stat:{previous:`frente a {value} antes`},table:{empty:`No hay nada que mostrar.`,seeAll:`Ver todo`},trend:{total:`Total {value}`}},jobs:{title:`Tareas`,heading:`Tareas en segundo plano`,columns:{job:`Tarea`,resource:`Recurso`,status:`Estado`,progress:`Progreso`,started:`Inicio`},empty:`Aún no hay tareas. Aquí aparecen las exportaciones e importaciones grandes y las acciones en cola.`,kind:{action:`acción`,export:`exportación`,import:`importación`},status:{queued:`en cola`,running:`en curso`,done:`completada`,failed:`fallida`,stalled:`bloqueada`},detail:{pageTitle:`Tarea #{id}`,fallbackTitle:`Tarea`,started:`inicio: {date}`,finished:`fin: {date}`,progress:`Progreso de la tarea`,processed:`{processed} procesados`,processedOfTotal:`{processed} de {total} procesados`,download:`Descargar {file}`,file:`archivo`}},settings:{pageTitle:`Configuración`,heading:`Configuración`,empty:{title:`Sin configuración`,text:`No hay nada registrado que esta cuenta pueda gestionar.`},saved:`Se guardó {label}.`},fields:{cell:{loading:`Cargando {label}`},keyValue:{key:`Clave`,value:`Valor`,entry:`Entrada {n}`,add:`Añadir entrada`,remove:`Quitar entrada {n}`,more:`+{count} más`,repeated:`Se usa más de una vez: {keys}. Se conserva la última.`},repeater:{add:`Añadir {label}`,remove:`Quitar {label} {n}`,row:`{label} {n}`,count:`{count} de {max} como máximo`,unavailable:`No tiene permiso para ver estas filas.`},relation:{placeholder:`Escriba para buscar`,dependsFirst:`Elija primero {label}`},upload:{storageKey:`La clave de almacenamiento del archivo.`,tooLarge:`El archivo supera los {size} MB.`,rejected:`El archivo {message}`,uploaded:`Se subió {name} ({size} KB)`,theFile:`el archivo`,upTo:`hasta {size} MB`,preview:`Vista previa de {label}`,remove:`Quitar {label}`},richtext:{toolbar:`Formato de {label}`,bold:`Negrita`,italic:`Cursiva`,underline:`Subrayado`,strike:`Tachado`,code:`Código`,heading:`Título {level}`,bulletList:`Lista con viñetas`,orderedList:`Lista numerada`,blockquote:`Cita`,codeBlock:`Bloque de código`,horizontalRule:`Separador`,link:`Enlace`,linkUrl:`Dirección del enlace`,linkRefused:`Use un enlace http(s), mailto o relativo`,insertTable:`Insertar tabla`,addRow:`Añadir fila`,addColumn:`Añadir columna`,deleteRow:`Eliminar fila`,deleteColumn:`Eliminar columna`,deleteTable:`Eliminar tabla`,image:`Insertar imagen`,undo:`Deshacer`,redo:`Rehacer`,source:`Código fuente`,visual:`Visual`,sourceOf:`Código fuente de {label}`},rules:{maxLength:`Como máximo {max} caracteres`,minLength:`Al menos {min} caracteres`,email:`Introduzca una dirección de correo electrónico válida`,url:`Introduzca una URL válida`,greaterThan:`Debe ser mayor que {limit}`,greaterThanOrEqual:`Debe ser como mínimo {limit}`,lessThan:`Debe ser menor que {limit}`,lessThanOrEqual:`Debe ser como máximo {limit}`,invalidFormat:`Formato no válido`,notAllowed:`Valor no permitido`}}},pt:{common:{save:`Guardar`,cancel:`Cancelar`,create:`Criar`,edit:`Editar`,delete:`Eliminar`,deleteForever:`Eliminar definitivamente`,restore:`Restaurar`,close:`Fechar`,apply:`Aplicar`,remove:`Remover`,search:`Pesquisar`,loading:`A carregar…`,required:`Obrigatório`,none:`—`,yes:`Sim`,no:`Não`,download:`Transferir`,actions:`Ações`,confirm:`Confirmar`,serverRejected:`O servidor rejeitou o pedido.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administração`,account:`Conta`,signOut:`Terminar sessão`,toggleNavigation:`Alternar navegação`,toggleTheme:`Alternar tema`,language:`Idioma: {name}`,languageFailed:`Não foi possível guardar o idioma: {error}`,unsupportedDescriptor:`A API publica a versão {version} do descritor; este painel lê a versão {supported}. {remedy}`,version:{mismatch:`Este painel está na versão {current}; o kinetis/vector espera {expected}.`,dismiss:`Dispensar`,hostedRemedy:`Execute vendor/bin/kinetis vector:install-ui no servidor e reinicie os workers.`,layeredRemedy:`Atualize {package} para {version} e volte a compilar.`,layeredRemedyAny:`Instale a versão de {package} que este kinetis/vector espera e volte a compilar.`},nav:{main:`Principal`,dashboard:`Painel`,jobs:`Tarefas`,settings:`Definições`,pages:`Páginas`,badge:`{count} {label}`},page:{unknown:`Página desconhecida`,loading:`A carregar a página`},impersonation:{actingAs:`Está a agir como {name}.`,anotherUser:`outro utilizador`,stop:`Parar de personificar`,noAccess:`{name} não tem acesso à administração, por isso não há nada para ver em seu nome. A personificação foi interrompida.`,noToken:`A aplicação respondeu sem um token nem um recarregamento, por isso nada mudou.`,ended:`A sua personificação expirou, por isso voltou à sua própria conta.`},palette:{placeholder:`Pesquisar registos e recursos…`,records:`Registos`,resources:`Recursos`,noMatch:`Nenhum registo corresponde`},inbox:{title:`Notificações`,markAllRead:`Marcar tudo como lido`,empty:`Ainda nada`},login:{pageTitle:`Iniciar sessão · {brand}`,subtitle:`Inicie sessão na administração`,email:`E-mail`,password:`Palavra-passe`,submit:`Iniciar sessão`,invalidEmail:`Insira um endereço de e-mail válido`,welcome:`Bem-vindo de volta, {name}.`,signedOutIdle:`A sessão terminou após {minutes} minutos de inatividade. Inicie sessão novamente para continuar onde estava.`,impersonationEnded:`A sua personificação expirou e não foi possível renovar a sua própria sessão. Inicie sessão novamente para continuar.`},home:{title:`Painel`}},list:{field:`Campo`,search:`Pesquisar {label}…`,noSearch:`Sem campos pesquisáveis`,noGrouping:`Sem agrupamento`,groupBy:`Agrupar por`,groupHeader:`{label}:`,expandGroup:`Expandir grupo`,collapseGroup:`Recolher grupo`,trash:{label:`Lixo`,active:`Ativos`,only:`Lixo`,with:`Ativos e lixo`},exportCsv:`Exportar CSV`,importCsv:`Importar CSV`,exportQueued:`A exportação é grande e foi colocada na fila; será notificado quando estiver pronta.`,exportPrepared:`A exportação está a ser preparada; será notificado quando estiver pronta.`,export:`Exportar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nenhum resultado`,empty:`Ainda não há {label}`,summary:{sum:`Soma`,avg:`Média`,min:`Mín.`,max:`Máx.`,count:`Contagem`},operation:{deleteTitle:`Eliminar {count} {noun}?`,restoreTitle:`Restaurar {count} {noun}?`,forceDeleteTitle:`Eliminar definitivamente {count} {noun}?`,deleteAllTitle:`Eliminar todos os {noun} correspondentes?`,restoreAllTitle:`Restaurar todos os {noun} correspondentes?`,forceDeleteAllTitle:`Eliminar definitivamente todos os {noun} correspondentes?`,toTrash:`São movidos para o lixo e podem ser restaurados.`,irreversible:`Esta ação não pode ser anulada.`,restored:`{count} {noun} restaurados.`,deleted:`{count} {noun} eliminados.`},bulk:{allMatching:`Todos os {total} correspondentes`,allMatchingUncounted:`Todos os registos correspondentes`,selected:`{count} selecionados`,selectAllMatching:`Selecionar todos os {total} correspondentes`,selectAllMatchingUncounted:`Selecionar todos os registos correspondentes`,onlyChecked:`Apenas as linhas marcadas`,clearSelection:`Limpar seleção`},bulkEdit:{everyMatching:`todos os {noun} correspondentes ({count})`,everyMatchingUncounted:`todos os {noun} correspondentes`,some:`{count} {noun}`,title:`Editar {subject}`,fieldsToChange:`Campos a alterar`,fieldsHint:`Só são gravados os campos que escolher; todos os outros valores ficam como estão.`,applyTo:`Aplicar a {count}`,applyToAll:`Aplicar a todos os correspondentes`,updated:`{count} {noun} atualizados.`},columns:{title:`Colunas`,moveUp:`Mover para cima`,moveDown:`Mover para baixo`,reset:`Repor`},filter:{add:`Adicionar filtro`,condition:`Condição`,value:`Valor`,from:`De`,to:`Até`,commaSeparated:`Separados por vírgulas`,clear:`Limpar`,yes:`sim`,no:`não`,and:`e`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Qualquer um de`,anyOfGroup:`Qualquer um de, grupo {n}`,alternative:`Alternativa {n}`,or:`ou`,orCondition:`ou…`,addAnyOf:`Adicionar “qualquer um de”`,addToAlternative:`Adicionar uma condição à alternativa {n}`,removeGroup:`Remover grupo {n}`,advanced:`Condição avançada`,operators:{eq:`é`,ne:`não é`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`é um de`,nin:`não é nenhum de`,like:`contém`,nlike:`não contém`,between:`está entre`,null:`está vazio`,nnull:`não está vazio`}},views:{menu:`Vistas`,allRecords:`Todos os registos`,default:`Predefinida`,updateWithCurrent:`Atualizar a vista com a lista atual`,delete:`Eliminar vista`,deleteTitle:`Eliminar a vista “{name}”?`,saveCurrent:`Guardar a atual como vista…`,saveTitle:`Guardar vista`,updateTitle:`Atualizar “{name}”`,name:`Nome`,share:`Partilhar com todos os administradores`,openWith:`Abrir este recurso com esta vista`,openWithForEveryone:`Abri-lo assim para todos os que não tenham uma predefinição própria`,shareFirst:`Partilhe a vista para a tornar a predefinição de todos.`,everyoneDefault:`Predefinida para todos`,saved:`Vista “{name}” guardada.`},import:{title:`Importar {label}`,file:`Ficheiro CSV`,analyse:`Analisar`,instructions:"{rows} linhas. Associe cada coluna a um campo, ou deixe-a sem associação para a ignorar. Uma coluna `manyToMany` aceita identificadores separados por `{pipe}`.",csvColumn:`Coluna CSV`,sample:`Exemplo`,skip:`— ignorar —`,start:`Importar {rows} linhas`,queued:`Importação de {rows} linhas colocada na fila.`,mode:`Linhas`,modes:{create:`Criar novos registos`,update:`Atualizar registos existentes`,upsert:`Atualizar ou criar`},key:`Associar linhas por`,noKey:`Associe primeiro uma coluna à chave ou a um campo único.`,modeHelp:{update:`Cada linha atualiza o registo cujo valor corresponde; uma linha sem correspondência vai para o ficheiro de linhas com falha.`,upsert:`Cada linha atualiza o registo cujo valor corresponde, ou cria um quando não há nenhum.`}},pager:{page:`Página {page}`},page:{create:`Novo {noun}`,unknown:`Recurso desconhecido`,unknownText:`Nada está registado como “{slug}”.`},inline:{editLabel:`Editar {label}`,pending:`{count} alteração não guardada | {count} alterações não guardadas`,save:`Guardar alterações`,discard:`Descartar`,saved:`Um registo guardado. | {count} registos guardados.`,conflict:`Um registo foi alterado desde que a lista foi carregada. Recarregue-o e edite novamente.`,leaveTitle:`Descartar {count} alteração não guardada? | Descartar {count} alterações não guardadas?`,leaveText:`Sair da lista descarta as edições que não guardou.`}},record:{unknownResource:`Recurso desconhecido`,new:`Novo`,newTitle:`Novo {label}`,editTitle:`Editar {title}`,createNotAllowed:`Este recurso não permite criar registos aqui.`,editNotAllowed:`Não tem permissão para editar este registo.`,saved:`{label} guardado.`,duplicate:`Duplicar`,copyOf:`Uma cópia de “{title}”. Os valores que têm de ser únicos, e os ficheiros, começam vazios.`,variants:{menu:`Mais formas de guardar`,saveContinue:`Guardar e continuar a editar`,createContinue:`Criar e continuar a editar`,createAnother:`Criar e adicionar outro`},leave:{title:`Descartar as alterações?`,text:`Sair desta página descarta as alterações que não guardou.`,discard:`Descartar`},inTrash:`No lixo`,deleteTitle:`Eliminar {noun} “{title}”?`,deleteForeverTitle:`Eliminar definitivamente {noun} “{title}”?`,deleteSoftText:`É movido para o lixo e pode ser restaurado.`,deleteHardText:`Esta ação não pode ser anulada.`,trashed:`{label} movido para o lixo.`,deleted:`{label} eliminado.`,restored:`{label} restaurado.`,impersonate:{action:`Personificar`,title:`Agir como “{title}”?`,text:`Vê e faz o que essa pessoa pode, e cada alteração fica registada em nome dela, consigo como personificador.`,started:`Está agora a agir como {title}.`},audit:{title:`Histórico`,byUser:`pelo utilizador {actor}`,impersonatedBy:`(personificado por {impersonator})`,empty:`Sem alterações registadas.`,revert:`Reverter`,revertLabel:`Reverter esta alteração`,revertTitle:`Reverter esta alteração?`,revertText:`Repõe o valor anterior de {fields}. A reversão também fica registada no histórico.`,reverted:`Alteração revertida.`},panel:{attach:`Associar`,attachTitle:`Associar {label}`,attachCount:`Associar {count}`,attached:`{count} {label} associados.`,records:`registos`,record:`registo`,empty:`Ainda não há {label}.`,detach:`Desassociar`,detachLabel:`Desassociar {title}`,detachTitle:`Desassociar “{title}”?`,detachText:`Continua a ser um {target}; só é removida a sua ligação a este {owner}.`,detached:`{title} desassociado.`}},actions:{runOn:`Executar {action} em {subject}?`,subjectAll:`todos os {label} correspondentes ({count})`,subjectAllUncounted:`todos os {label} correspondentes`,subjectCount:`{count} {label}`,done:`{label}: concluído.`,declined:`A ação foi recusada.`,redirectRefused:`A ação pediu para abrir uma página fora do painel; não foi aberta.`,downloadStarted:`Transferência iniciada.`,queued:`{label}: colocado na fila.`},dashboard:{title:`Painel`,range:`Período`,loading:`A carregar`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nada neste período.`},progress:{of:`de {target}`,label:`Progresso`},stat:{previous:`vs. {value} antes`},table:{empty:`Nada a mostrar.`,seeAll:`Ver tudo`},trend:{total:`Total {value}`}},jobs:{title:`Tarefas`,heading:`Tarefas em segundo plano`,columns:{job:`Tarefa`,resource:`Recurso`,status:`Estado`,progress:`Progresso`,started:`Iniciada`},empty:`Ainda não há tarefas. As exportações e importações grandes e as ações em fila aparecem aqui.`,kind:{action:`ação`,export:`exportação`,import:`importação`},status:{queued:`em fila`,running:`em execução`,done:`concluída`,failed:`com falha`,stalled:`bloqueada`},detail:{pageTitle:`Tarefa #{id}`,fallbackTitle:`Tarefa`,started:`iniciada em {date}`,finished:`concluída em {date}`,progress:`Progresso da tarefa`,processed:`{processed} processados`,processedOfTotal:`{processed} de {total} processados`,download:`Download de {file}`,file:`ficheiro`}},settings:{pageTitle:`Definições`,heading:`Definições`,empty:{title:`Sem definições`,text:`Não há nada registado que esta conta possa gerir.`},saved:`{label} guardado.`},fields:{cell:{loading:`A carregar {label}`},keyValue:{key:`Chave`,value:`Valor`,entry:`Entrada {n}`,add:`Adicionar entrada`,remove:`Remover entrada {n}`,more:`+{count} mais`,repeated:`Usado mais de uma vez: {keys}. É mantido o último.`},repeater:{add:`Adicionar {label}`,remove:`Remover {label} {n}`,row:`{label} {n}`,count:`{count} de no máximo {max}`,unavailable:`Não tem permissão para ver estas linhas.`},relation:{placeholder:`Escreva para pesquisar`,dependsFirst:`Escolha primeiro {label}`},upload:{storageKey:`A chave de armazenamento do ficheiro.`,tooLarge:`O ficheiro excede {size} MB.`,rejected:`O ficheiro {message}`,uploaded:`Carregado: {name} ({size} KB)`,theFile:`o ficheiro`,upTo:`até {size} MB`,preview:`Pré-visualização de {label}`,remove:`Remover {label}`},richtext:{toolbar:`Formatação de {label}`,bold:`Negrito`,italic:`Itálico`,underline:`Sublinhado`,strike:`Riscado`,code:`Código`,heading:`Título {level}`,bulletList:`Lista com marcadores`,orderedList:`Lista numerada`,blockquote:`Citação`,codeBlock:`Bloco de código`,horizontalRule:`Linha divisória`,link:`Link`,linkUrl:`Endereço do link`,linkRefused:`Use um link http(s), mailto ou relativo`,insertTable:`Inserir tabela`,addRow:`Adicionar linha`,addColumn:`Adicionar coluna`,deleteRow:`Eliminar linha`,deleteColumn:`Eliminar coluna`,deleteTable:`Eliminar tabela`,image:`Inserir imagem`,undo:`Desfazer`,redo:`Refazer`,source:`Código-fonte`,visual:`Visual`,sourceOf:`Código-fonte de {label}`},rules:{maxLength:`No máximo {max} caracteres`,minLength:`Pelo menos {min} caracteres`,email:`Insira um endereço de e-mail válido`,url:`Insira um URL válido`,greaterThan:`Tem de ser maior que {limit}`,greaterThanOrEqual:`Tem de ser pelo menos {limit}`,lessThan:`Tem de ser menor que {limit}`,lessThanOrEqual:`Tem de ser no máximo {limit}`,invalidFormat:`Formato inválido`,notAllowed:`Valor não permitido`}}},"pt-BR":{common:{save:`Salvar`,cancel:`Cancelar`,create:`Criar`,edit:`Editar`,delete:`Excluir`,deleteForever:`Excluir permanentemente`,restore:`Restaurar`,close:`Fechar`,apply:`Aplicar`,remove:`Remover`,search:`Pesquisar`,loading:`Carregando…`,required:`Obrigatório`,none:`—`,yes:`Sim`,no:`Não`,download:`Baixar`,actions:`Ações`,confirm:`Confirmar`,serverRejected:`O servidor recusou a solicitação.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administração`,account:`Conta`,signOut:`Sair`,toggleNavigation:`Alternar navegação`,toggleTheme:`Alternar tema`,language:`Idioma: {name}`,languageFailed:`Não foi possível salvar o idioma: {error}`,unsupportedDescriptor:`A API publica a versão {version} do descritor; este painel lê a versão {supported}. {remedy}`,version:{mismatch:`Este painel está na versão {current}; o kinetis/vector espera {expected}.`,dismiss:`Dispensar`,hostedRemedy:`Execute vendor/bin/kinetis vector:install-ui no servidor e reinicie os workers.`,layeredRemedy:`Atualize {package} para {version} e recompile.`,layeredRemedyAny:`Instale a versão de {package} que este kinetis/vector espera e recompile.`},nav:{main:`Principal`,dashboard:`Painel`,jobs:`Tarefas`,settings:`Configurações`,pages:`Páginas`,badge:`{count} {label}`},page:{unknown:`Página desconhecida`,loading:`Carregando a página`},impersonation:{actingAs:`Você está agindo como {name}.`,anotherUser:`outro usuário`,stop:`Parar de personificar`,noAccess:`{name} não tem acesso à administração, então não há nada para ver como essa pessoa. A personificação foi interrompida.`,noToken:`O aplicativo respondeu sem um token nem um recarregamento, então nada mudou.`,ended:`Sua personificação expirou, então você voltou para a sua própria conta.`},palette:{placeholder:`Pesquisar registros e recursos…`,records:`Registros`,resources:`Recursos`,noMatch:`Nenhum registro corresponde`},inbox:{title:`Notificações`,markAllRead:`Marcar tudo como lido`,empty:`Nada ainda`},login:{pageTitle:`Entrar · {brand}`,subtitle:`Entre na administração`,email:`E-mail`,password:`Senha`,submit:`Entrar`,invalidEmail:`Digite um endereço de e-mail válido`,welcome:`Bem-vindo de volta, {name}.`,signedOutIdle:`Você foi desconectado após {minutes} minutos de inatividade. Entre novamente para continuar de onde parou.`,impersonationEnded:`Sua personificação expirou e não foi possível renovar a sua própria sessão. Entre novamente para continuar.`},home:{title:`Painel`}},list:{field:`Campo`,search:`Pesquisar {label}…`,noSearch:`Nenhum campo pesquisável`,noGrouping:`Sem agrupamento`,groupBy:`Agrupar por`,groupHeader:`{label}:`,expandGroup:`Expandir grupo`,collapseGroup:`Recolher grupo`,trash:{label:`Lixeira`,active:`Ativos`,only:`Lixeira`,with:`Ativos e lixeira`},exportCsv:`Exportar CSV`,importCsv:`Importar CSV`,exportQueued:`A exportação é grande e foi adicionada à fila; você será notificado quando estiver pronta.`,exportPrepared:`A exportação está sendo preparada; você será notificado quando estiver pronta.`,export:`Exportar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Nenhum resultado`,empty:`Ainda não há {label}`,summary:{sum:`Soma`,avg:`Média`,min:`Mín.`,max:`Máx.`,count:`Contagem`},operation:{deleteTitle:`Excluir {count} {noun}?`,restoreTitle:`Restaurar {count} {noun}?`,forceDeleteTitle:`Excluir permanentemente {count} {noun}?`,deleteAllTitle:`Excluir todos os {noun} correspondentes?`,restoreAllTitle:`Restaurar todos os {noun} correspondentes?`,forceDeleteAllTitle:`Excluir permanentemente todos os {noun} correspondentes?`,toTrash:`Eles vão para a lixeira e podem ser restaurados.`,irreversible:`Esta ação não pode ser desfeita.`,restored:`{count} {noun} restaurados.`,deleted:`{count} {noun} excluídos.`},bulk:{allMatching:`Todos os {total} correspondentes`,allMatchingUncounted:`Todos os registros correspondentes`,selected:`{count} selecionados`,selectAllMatching:`Selecionar todos os {total} correspondentes`,selectAllMatchingUncounted:`Selecionar todos os registros correspondentes`,onlyChecked:`Somente as linhas marcadas`,clearSelection:`Limpar seleção`},bulkEdit:{everyMatching:`todos os {noun} correspondentes ({count})`,everyMatchingUncounted:`todos os {noun} correspondentes`,some:`{count} {noun}`,title:`Editar {subject}`,fieldsToChange:`Campos a alterar`,fieldsHint:`Somente os campos que você escolher são gravados; todos os outros valores permanecem como estão.`,applyTo:`Aplicar a {count}`,applyToAll:`Aplicar a todos os correspondentes`,updated:`{count} {noun} atualizados.`},columns:{title:`Colunas`,moveUp:`Mover para cima`,moveDown:`Mover para baixo`,reset:`Redefinir`},filter:{add:`Adicionar filtro`,condition:`Condição`,value:`Valor`,from:`De`,to:`Até`,commaSeparated:`Separados por vírgula`,clear:`Limpar`,yes:`sim`,no:`não`,and:`e`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Qualquer um de`,anyOfGroup:`Qualquer um de, grupo {n}`,alternative:`Alternativa {n}`,or:`ou`,orCondition:`ou…`,addAnyOf:`Adicionar “qualquer um de”`,addToAlternative:`Adicionar uma condição à alternativa {n}`,removeGroup:`Remover grupo {n}`,advanced:`Condição avançada`,operators:{eq:`é`,ne:`não é`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`é um de`,nin:`não é nenhum de`,like:`contém`,nlike:`não contém`,between:`está entre`,null:`está vazio`,nnull:`não está vazio`}},views:{menu:`Visualizações`,allRecords:`Todos os registros`,default:`Padrão`,updateWithCurrent:`Atualizar a visualização com a lista atual`,delete:`Excluir visualização`,deleteTitle:`Excluir a visualização “{name}”?`,saveCurrent:`Salvar a atual como visualização…`,saveTitle:`Salvar visualização`,updateTitle:`Atualizar “{name}”`,name:`Nome`,share:`Compartilhar com todos os administradores`,openWith:`Abrir este recurso com esta visualização`,openWithForEveryone:`Abrir assim para todos que não tenham um padrão próprio`,shareFirst:`Compartilhe a visualização para torná-la o padrão de todos.`,everyoneDefault:`Padrão para todos`,saved:`Visualização “{name}” salva.`},import:{title:`Importar {label}`,file:`Arquivo CSV`,analyse:`Analisar`,instructions:"{rows} linhas. Mapeie cada coluna para um campo ou deixe-a sem mapeamento para ignorá-la. Uma coluna `manyToMany` aceita identificadores separados por `{pipe}`.",csvColumn:`Coluna CSV`,sample:`Amostra`,skip:`— ignorar —`,start:`Importar {rows} linhas`,queued:`Importação de {rows} linhas adicionada à fila.`,mode:`Linhas`,modes:{create:`Criar novos registros`,update:`Atualizar registros existentes`,upsert:`Atualizar ou criar`},key:`Corresponder linhas por`,noKey:`Primeiro mapeie uma coluna para a chave ou para um campo único.`,modeHelp:{update:`Cada linha atualiza o registro cujo valor corresponde; uma linha sem correspondência vai para o arquivo de linhas com falha.`,upsert:`Cada linha atualiza o registro cujo valor corresponde, ou cria um quando não há nenhum.`}},pager:{page:`Página {page}`},page:{create:`Novo {noun}`,unknown:`Recurso desconhecido`,unknownText:`Nada está registrado como “{slug}”.`},inline:{editLabel:`Editar {label}`,pending:`{count} alteração não salva | {count} alterações não salvas`,save:`Salvar alterações`,discard:`Descartar`,saved:`Um registro salvo. | {count} registros salvos.`,conflict:`Um registro foi alterado desde que a lista foi carregada. Recarregue-o e edite novamente.`,leaveTitle:`Descartar {count} alteração não salva? | Descartar {count} alterações não salvas?`,leaveText:`Sair da lista descarta as edições que você não salvou.`}},record:{unknownResource:`Recurso desconhecido`,new:`Novo`,newTitle:`Novo {label}`,editTitle:`Editar {title}`,createNotAllowed:`Este recurso não permite criar registros aqui.`,editNotAllowed:`Você não tem permissão para editar este registro.`,saved:`{label} salvo.`,duplicate:`Duplicar`,copyOf:`Uma cópia de “{title}”. Valores que devem ser únicos, e arquivos, começam vazios.`,variants:{menu:`Mais opções para salvar`,saveContinue:`Salvar e continuar editando`,createContinue:`Criar e continuar editando`,createAnother:`Criar e adicionar outro`},leave:{title:`Descartar suas alterações?`,text:`Sair desta página descarta as alterações que você não salvou.`,discard:`Descartar`},inTrash:`Na lixeira`,deleteTitle:`Excluir {noun} “{title}”?`,deleteForeverTitle:`Excluir permanentemente {noun} “{title}”?`,deleteSoftText:`Ele vai para a lixeira e pode ser restaurado.`,deleteHardText:`Esta ação não pode ser desfeita.`,trashed:`{label} movido para a lixeira.`,deleted:`{label} excluído.`,restored:`{label} restaurado.`,impersonate:{action:`Personificar`,title:`Agir como “{title}”?`,text:`Você vê e faz o que essa pessoa pode, e cada alteração é registrada em nome dela, com você como personificador.`,started:`Agora você está agindo como {title}.`},audit:{title:`Histórico`,byUser:`pelo usuário {actor}`,impersonatedBy:`(personificado por {impersonator})`,empty:`Nenhuma alteração registrada.`,revert:`Reverter`,revertLabel:`Reverter esta alteração`,revertTitle:`Reverter esta alteração?`,revertText:`Restaura o valor anterior de {fields}. A reversão também fica registrada no histórico.`,reverted:`Alteração revertida.`},panel:{attach:`Vincular`,attachTitle:`Vincular {label}`,attachCount:`Vincular {count}`,attached:`{count} {label} vinculados.`,records:`registros`,record:`registro`,empty:`Ainda não há {label}.`,detach:`Desvincular`,detachLabel:`Desvincular {title}`,detachTitle:`Desvincular “{title}”?`,detachText:`Continua sendo um {target}; apenas o vínculo com este {owner} é removido.`,detached:`{title} desvinculado.`}},actions:{runOn:`Executar {action} em {subject}?`,subjectAll:`todos os {label} correspondentes ({count})`,subjectAllUncounted:`todos os {label} correspondentes`,subjectCount:`{count} {label}`,done:`{label}: concluído.`,declined:`A ação foi recusada.`,redirectRefused:`A ação pediu para abrir uma página fora do painel; ela não foi aberta.`,downloadStarted:`Download iniciado.`,queued:`{label}: adicionado à fila.`},dashboard:{title:`Painel`,range:`Período`,loading:`Carregando`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} h`},partition:{empty:`Nada neste período.`},progress:{of:`de {target}`,label:`Progresso`},stat:{previous:`vs. {value} antes`},table:{empty:`Nada para mostrar.`,seeAll:`Ver tudo`},trend:{total:`Total {value}`}},jobs:{title:`Tarefas`,heading:`Tarefas em segundo plano`,columns:{job:`Tarefa`,resource:`Recurso`,status:`Status`,progress:`Progresso`,started:`Iniciada`},empty:`Nenhuma tarefa ainda. Exportações e importações grandes e ações na fila aparecem aqui.`,kind:{action:`ação`,export:`exportação`,import:`importação`},status:{queued:`na fila`,running:`em execução`,done:`concluída`,failed:`falhou`,stalled:`travada`},detail:{pageTitle:`Tarefa #{id}`,fallbackTitle:`Tarefa`,started:`iniciada em {date}`,finished:`concluída em {date}`,progress:`Progresso da tarefa`,processed:`{processed} processados`,processedOfTotal:`{processed} de {total} processados`,download:`Baixar {file}`,file:`arquivo`}},settings:{pageTitle:`Configurações`,heading:`Configurações`,empty:{title:`Nenhuma configuração`,text:`Não há nada registrado para esta conta gerenciar.`},saved:`{label} salvo.`},fields:{cell:{loading:`Carregando {label}`},keyValue:{key:`Chave`,value:`Valor`,entry:`Entrada {n}`,add:`Adicionar entrada`,remove:`Remover entrada {n}`,more:`+{count} a mais`,repeated:`Usado mais de uma vez: {keys}. O último é mantido.`},repeater:{add:`Adicionar {label}`,remove:`Remover {label} {n}`,row:`{label} {n}`,count:`{count} de no máximo {max}`,unavailable:`Você não tem permissão para ver estas linhas.`},relation:{placeholder:`Digite para pesquisar`,dependsFirst:`Escolha {label} primeiro`},upload:{storageKey:`A chave de armazenamento do arquivo.`,tooLarge:`O arquivo tem mais de {size} MB.`,rejected:`O arquivo {message}`,uploaded:`Enviado: {name} ({size} KB)`,theFile:`o arquivo`,upTo:`até {size} MB`,preview:`Visualização de {label}`,remove:`Remover {label}`},richtext:{toolbar:`Formatação de {label}`,bold:`Negrito`,italic:`Itálico`,underline:`Sublinhado`,strike:`Tachado`,code:`Código`,heading:`Título {level}`,bulletList:`Lista com marcadores`,orderedList:`Lista numerada`,blockquote:`Citação`,codeBlock:`Bloco de código`,horizontalRule:`Divisor`,link:`Link`,linkUrl:`Endereço do link`,linkRefused:`Use um link http(s), mailto ou relativo`,insertTable:`Inserir tabela`,addRow:`Adicionar linha`,addColumn:`Adicionar coluna`,deleteRow:`Excluir linha`,deleteColumn:`Excluir coluna`,deleteTable:`Excluir tabela`,image:`Inserir imagem`,undo:`Desfazer`,redo:`Refazer`,source:`Código-fonte`,visual:`Visual`,sourceOf:`Código-fonte de {label}`},rules:{maxLength:`No máximo {max} caracteres`,minLength:`No mínimo {min} caracteres`,email:`Digite um endereço de e-mail válido`,url:`Digite uma URL válida`,greaterThan:`Deve ser maior que {limit}`,greaterThanOrEqual:`Deve ser no mínimo {limit}`,lessThan:`Deve ser menor que {limit}`,lessThanOrEqual:`Deve ser no máximo {limit}`,invalidFormat:`Formato inválido`,notAllowed:`Valor não permitido`}}},pl:{common:{save:`Zapisz`,cancel:`Anuluj`,create:`Utwórz`,edit:`Edytuj`,delete:`Usuń`,deleteForever:`Usuń trwale`,restore:`Przywróć`,close:`Zamknij`,apply:`Zastosuj`,remove:`Usuń`,search:`Szukaj`,loading:`Ładowanie…`,required:`Wymagane`,none:`—`,yes:`Tak`,no:`Nie`,download:`Pobierz`,actions:`Akcje`,confirm:`Potwierdź`,serverRejected:`Serwer odrzucił żądanie.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Administracja`,account:`Konto`,signOut:`Wyloguj`,toggleNavigation:`Przełącz nawigację`,toggleTheme:`Przełącz motyw`,language:`Język: {name}`,languageFailed:`Nie udało się zapisać języka: {error}`,unsupportedDescriptor:`API publikuje deskryptor w wersji {version}; ten panel odczytuje wersję {supported}. {remedy}`,version:{mismatch:`Ten panel ma wersję {current}; kinetis/vector oczekuje {expected}.`,dismiss:`Zamknij`,hostedRemedy:`Uruchom vendor/bin/kinetis vector:install-ui na serwerze, a następnie zrestartuj workery.`,layeredRemedy:`Zaktualizuj {package} do wersji {version} i zbuduj ponownie.`,layeredRemedyAny:`Zainstaluj wydanie {package}, którego oczekuje ten kinetis/vector, i zbuduj ponownie.`},nav:{main:`Główne`,dashboard:`Pulpit`,jobs:`Zadania`,settings:`Ustawienia`,pages:`Strony`,badge:`{count} {label}`},page:{unknown:`Nieznana strona`,loading:`Ładowanie strony`},impersonation:{actingAs:`Działasz jako {name}.`,anotherUser:`inny użytkownik`,stop:`Wróć do swojego konta`,noAccess:`{name} nie ma dostępu do panelu administracyjnego, więc nie ma nic do wyświetlenia w jego imieniu. Działanie jako ten użytkownik zostało zakończone.`,noToken:`Aplikacja odpowiedziała bez tokenu i bez przeładowania, więc nic się nie zmieniło.`,ended:`Podszywanie się wygasło, więc wróciłeś na własne konto.`},palette:{placeholder:`Szukaj rekordów i zasobów…`,records:`Rekordy`,resources:`Zasoby`,noMatch:`Brak pasujących rekordów`},inbox:{title:`Powiadomienia`,markAllRead:`Oznacz wszystkie jako przeczytane`,empty:`Na razie nic`},login:{pageTitle:`Logowanie · {brand}`,subtitle:`Zaloguj się do panelu administracyjnego`,email:`E-mail`,password:`Hasło`,submit:`Zaloguj się`,invalidEmail:`Podaj prawidłowy adres e-mail`,welcome:`Witaj ponownie, {name}.`,signedOutIdle:`Sesja została zakończona po {minutes} minutach bezczynności. Zaloguj się ponownie, aby wrócić do przerwanej pracy.`,impersonationEnded:`Podszywanie się wygasło i nie udało się odnowić Twojej sesji. Zaloguj się ponownie, aby kontynuować.`},home:{title:`Pulpit`}},list:{field:`Pole`,search:`Szukaj: {label}…`,noSearch:`Brak pól do wyszukiwania`,noGrouping:`Bez grupowania`,groupBy:`Grupuj według`,groupHeader:`{label}:`,expandGroup:`Rozwiń grupę`,collapseGroup:`Zwiń grupę`,trash:{label:`Kosz`,active:`Aktywne`,only:`Kosz`,with:`Aktywne i kosz`},exportCsv:`Eksportuj CSV`,importCsv:`Importuj CSV`,exportQueued:`Eksport jest duży i trafił do kolejki; otrzymasz powiadomienie, gdy będzie gotowy.`,exportPrepared:`Eksport jest przygotowywany; otrzymasz powiadomienie, gdy będzie gotowy.`,export:`Eksportuj`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Brak wyników`,empty:`Brak: {label}`,summary:{sum:`Suma`,avg:`Średnia`,min:`Min.`,max:`Maks.`,count:`Liczba`},operation:{deleteTitle:`Usunąć {count} {noun}?`,restoreTitle:`Przywrócić {count} {noun}?`,forceDeleteTitle:`Trwale usunąć {count} {noun}?`,deleteAllTitle:`Usunąć wszystkie pasujące: {noun}?`,restoreAllTitle:`Przywrócić wszystkie pasujące: {noun}?`,forceDeleteAllTitle:`Trwale usunąć wszystkie pasujące: {noun}?`,toTrash:`Zostaną przeniesione do kosza i można je przywrócić.`,irreversible:`Tej operacji nie można cofnąć.`,restored:`Przywrócono: {count} {noun}.`,deleted:`Usunięto: {count} {noun}.`},bulk:{allMatching:`Wszystkie pasujące ({total})`,allMatchingUncounted:`Wszystkie pasujące rekordy`,selected:`Zaznaczono: {count}`,selectAllMatching:`Zaznacz wszystkie pasujące ({total})`,selectAllMatchingUncounted:`Zaznacz wszystkie pasujące rekordy`,onlyChecked:`Tylko zaznaczone wiersze`,clearSelection:`Wyczyść zaznaczenie`},bulkEdit:{everyMatching:`wszystkie pasujące: {noun} ({count})`,everyMatchingUncounted:`wszystkie pasujące: {noun}`,some:`{count} {noun}`,title:`Edytuj: {subject}`,fieldsToChange:`Pola do zmiany`,fieldsHint:`Zapisywane są tylko wybrane pola; pozostałe wartości nie zmieniają się.`,applyTo:`Zastosuj do {count}`,applyToAll:`Zastosuj do wszystkich pasujących`,updated:`Zaktualizowano: {count} {noun}.`},columns:{title:`Kolumny`,moveUp:`Przesuń w górę`,moveDown:`Przesuń w dół`,reset:`Resetuj`},filter:{add:`Dodaj filtr`,condition:`Warunek`,value:`Wartość`,from:`Od`,to:`Do`,commaSeparated:`Oddzielone przecinkami`,clear:`Wyczyść`,yes:`tak`,no:`nie`,and:`i`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Dowolny z`,anyOfGroup:`Dowolny z, grupa {n}`,alternative:`Alternatywa {n}`,or:`lub`,orCondition:`lub…`,addAnyOf:`Dodaj „dowolny z”`,addToAlternative:`Dodaj warunek do alternatywy {n}`,removeGroup:`Usuń grupę {n}`,advanced:`Warunek zaawansowany`,operators:{eq:`jest`,ne:`nie jest`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`jest jednym z`,nin:`nie jest żadnym z`,like:`zawiera`,nlike:`nie zawiera`,between:`jest między`,null:`jest puste`,nnull:`nie jest puste`}},views:{menu:`Widoki`,allRecords:`Wszystkie rekordy`,default:`Domyślny`,updateWithCurrent:`Zaktualizuj widok bieżącą listą`,delete:`Usuń widok`,deleteTitle:`Usunąć widok „{name}”?`,saveCurrent:`Zapisz bieżący jako widok…`,saveTitle:`Zapisz widok`,updateTitle:`Zaktualizuj „{name}”`,name:`Nazwa`,share:`Udostępnij wszystkim administratorom`,openWith:`Otwieraj ten zasób w tym widoku`,openWithForEveryone:`Otwieraj go tak dla wszystkich, którzy nie mają własnego domyślnego`,shareFirst:`Udostępnij widok, aby ustawić go jako domyślny dla wszystkich.`,everyoneDefault:`Domyślny dla wszystkich`,saved:`Zapisano widok „{name}”.`},import:{title:`Import: {label}`,file:`Plik CSV`,analyse:`Analizuj`,instructions:"Wiersze: {rows}. Przypisz każdą kolumnę do pola albo pozostaw nieprzypisaną, aby ją pominąć. Kolumna `manyToMany` przyjmuje identyfikatory oddzielone znakiem `{pipe}`.",csvColumn:`Kolumna CSV`,sample:`Przykład`,skip:`— pomiń —`,start:`Importuj wiersze: {rows}`,queued:`Import wierszy ({rows}) dodano do kolejki.`,mode:`Wiersze`,modes:{create:`Utwórz nowe rekordy`,update:`Zaktualizuj istniejące rekordy`,upsert:`Zaktualizuj lub utwórz`},key:`Dopasuj wiersze według`,noKey:`Najpierw przypisz kolumnę do klucza lub pola unikalnego.`,modeHelp:{update:`Każdy wiersz aktualizuje rekord o pasującej wartości; wiersz bez dopasowania trafia do pliku błędnych wierszy.`,upsert:`Każdy wiersz aktualizuje rekord o pasującej wartości lub tworzy nowy, gdy żaden nie pasuje.`}},pager:{page:`Strona {page}`},page:{create:`Nowy: {noun}`,unknown:`Nieznany zasób`,unknownText:`Nic nie jest zarejestrowane jako „{slug}”.`},inline:{editLabel:`Edytuj: {label}`,pending:`{count} niezapisana zmiana | {count} niezapisane zmiany | {count} niezapisanych zmian`,save:`Zapisz zmiany`,discard:`Odrzuć`,saved:`Zapisano {count} rekord. | Zapisano {count} rekordy. | Zapisano {count} rekordów.`,conflict:`Rekord zmienił się od załadowania listy. Załaduj ją ponownie i edytuj jeszcze raz.`,leaveTitle:`Odrzucić {count} niezapisaną zmianę? | Odrzucić {count} niezapisane zmiany? | Odrzucić {count} niezapisanych zmian?`,leaveText:`Opuszczenie listy odrzuci niezapisane zmiany.`}},record:{unknownResource:`Nieznany zasób`,new:`Nowy`,newTitle:`Nowy: {label}`,editTitle:`Edytuj: {title}`,createNotAllowed:`Ten zasób nie pozwala tutaj tworzyć rekordów.`,editNotAllowed:`Nie możesz edytować tego rekordu.`,saved:`{label}: zapisano.`,duplicate:`Duplikuj`,copyOf:`Kopia „{title}”. Wartości, które muszą być unikalne, oraz pliki są puste.`,variants:{menu:`Więcej opcji zapisu`,saveContinue:`Zapisz i kontynuuj edycję`,createContinue:`Utwórz i kontynuuj edycję`,createAnother:`Utwórz i dodaj kolejny`},leave:{title:`Odrzucić zmiany?`,text:`Opuszczenie tej strony odrzuci niezapisane zmiany.`,discard:`Odrzuć`},inTrash:`W koszu`,deleteTitle:`Usunąć {noun} „{title}”?`,deleteForeverTitle:`Trwale usunąć {noun} „{title}”?`,deleteSoftText:`Zostanie przeniesiony do kosza i można go przywrócić.`,deleteHardText:`Tej operacji nie można cofnąć.`,trashed:`{label}: przeniesiono do kosza.`,deleted:`{label}: usunięto.`,restored:`{label}: przywrócono.`,impersonate:{action:`Działaj jako`,title:`Działać jako „{title}”?`,text:`Widzisz i robisz to, co ten użytkownik, a każda zmiana jest zapisywana jako jego, z Tobą jako osobą działającą w jego imieniu.`,started:`Działasz teraz jako {title}.`},audit:{title:`Historia`,byUser:`przez użytkownika {actor}`,impersonatedBy:`(działał w jego imieniu: {impersonator})`,empty:`Brak zarejestrowanych zmian.`,revert:`Cofnij`,revertLabel:`Cofnij tę zmianę`,revertTitle:`Cofnąć tę zmianę?`,revertText:`Przywraca wcześniejszą wartość pól: {fields}. Cofnięcie również zostaje zapisane w historii.`,reverted:`Zmianę cofnięto.`},panel:{attach:`Dołącz`,attachTitle:`Dołącz: {label}`,attachCount:`Dołącz {count}`,attached:`Dołączono: {count} {label}.`,records:`rekordy`,record:`rekord`,empty:`Brak: {label}.`,detach:`Odłącz`,detachLabel:`Odłącz {title}`,detachTitle:`Odłączyć „{title}”?`,detachText:`Pozostaje jako {target}; usuwane jest tylko jego powiązanie z: {owner}.`,detached:`Odłączono {title}.`}},actions:{runOn:`Wykonać {action} dla: {subject}?`,subjectAll:`wszystkie pasujące: {label} ({count})`,subjectAllUncounted:`wszystkie pasujące: {label}`,subjectCount:`{count} {label}`,done:`{label}: gotowe.`,declined:`Akcja została odrzucona.`,redirectRefused:`Akcja chciała otworzyć stronę spoza panelu; nie została otwarta.`,downloadStarted:`Rozpoczęto pobieranie.`,queued:`{label}: dodano do kolejki.`},dashboard:{title:`Pulpit`,range:`Zakres`,loading:`Ładowanie`,percent:`{value}%`,duration:{minutes:`{value} min`,hours:`{value} godz.`},partition:{empty:`Brak danych w tym zakresie.`},progress:{of:`z {target}`,label:`Postęp`},stat:{previous:`wobec {value} wcześniej`},table:{empty:`Brak danych do wyświetlenia.`,seeAll:`Zobacz wszystko`},trend:{total:`Łącznie {value}`}},jobs:{title:`Zadania`,heading:`Zadania w tle`,columns:{job:`Zadanie`,resource:`Zasób`,status:`Status`,progress:`Postęp`,started:`Rozpoczęto`},empty:`Brak zadań. Pojawią się tu duże eksporty, importy i akcje w kolejce.`,kind:{action:`akcja`,export:`eksport`,import:`import`},status:{queued:`w kolejce`,running:`w toku`,done:`gotowe`,failed:`niepowodzenie`,stalled:`zawieszone`},detail:{pageTitle:`Zadanie #{id}`,fallbackTitle:`Zadanie`,started:`rozpoczęto {date}`,finished:`zakończono {date}`,progress:`Postęp zadania`,processed:`Przetworzono: {processed}`,processedOfTotal:`Przetworzono {processed} z {total}`,download:`Pobierz {file}`,file:`plik`}},settings:{pageTitle:`Ustawienia`,heading:`Ustawienia`,empty:{title:`Brak ustawień`,text:`Dla tego konta nie zarejestrowano niczego do zarządzania.`},saved:`{label}: zapisano.`},fields:{cell:{loading:`Ładowanie: {label}`},keyValue:{key:`Klucz`,value:`Wartość`,entry:`Wpis {n}`,add:`Dodaj wpis`,remove:`Usuń wpis {n}`,more:`+{count} więcej`,repeated:`Użyte więcej niż raz: {keys}. Zachowywany jest ostatni.`},repeater:{add:`Dodaj: {label}`,remove:`Usuń: {label} {n}`,row:`{label} {n}`,count:`{count} z maksymalnie {max}`,unavailable:`Nie masz dostępu do tych wierszy.`},relation:{placeholder:`Wpisz, aby wyszukać`,dependsFirst:`Najpierw wybierz: {label}`},upload:{storageKey:`Klucz pliku w magazynie.`,tooLarge:`Plik jest większy niż {size} MB.`,rejected:`Plik {message}`,uploaded:`Przesłano {name} ({size} KB)`,theFile:`plik`,upTo:`maks. {size} MB`,preview:`Podgląd: {label}`,remove:`Usuń: {label}`},richtext:{toolbar:`Formatowanie: {label}`,bold:`Pogrubienie`,italic:`Kursywa`,underline:`Podkreślenie`,strike:`Przekreślenie`,code:`Kod`,heading:`Nagłówek {level}`,bulletList:`Lista punktowana`,orderedList:`Lista numerowana`,blockquote:`Cytat`,codeBlock:`Blok kodu`,horizontalRule:`Separator`,link:`Link`,linkUrl:`Adres linku`,linkRefused:`Użyj linku http(s), mailto lub względnego`,insertTable:`Wstaw tabelę`,addRow:`Dodaj wiersz`,addColumn:`Dodaj kolumnę`,deleteRow:`Usuń wiersz`,deleteColumn:`Usuń kolumnę`,deleteTable:`Usuń tabelę`,image:`Wstaw obraz`,undo:`Cofnij`,redo:`Ponów`,source:`Źródło`,visual:`Wizualny`,sourceOf:`Źródło: {label}`},rules:{maxLength:`Maksymalnie {max} znaków`,minLength:`Co najmniej {min} znaków`,email:`Podaj prawidłowy adres e-mail`,url:`Podaj prawidłowy URL`,greaterThan:`Musi być większe niż {limit}`,greaterThanOrEqual:`Musi wynosić co najmniej {limit}`,lessThan:`Musi być mniejsze niż {limit}`,lessThanOrEqual:`Musi wynosić co najwyżej {limit}`,invalidFormat:`Nieprawidłowy format`,notAllowed:`Niedozwolona wartość`}}},tr:{common:{save:`Kaydet`,cancel:`İptal`,create:`Oluştur`,edit:`Düzenle`,delete:`Sil`,deleteForever:`Kalıcı olarak sil`,restore:`Geri yükle`,close:`Kapat`,apply:`Uygula`,remove:`Kaldır`,search:`Ara`,loading:`Yükleniyor…`,required:`Zorunlu`,none:`—`,yes:`Evet`,no:`Hayır`,download:`İndir`,actions:`Eylemler`,confirm:`Onayla`,serverRejected:`Sunucu isteği reddetti.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Yönetim`,account:`Hesap`,signOut:`Oturumu kapat`,toggleNavigation:`Gezinmeyi aç/kapat`,toggleTheme:`Temayı değiştir`,language:`Dil: {name}`,languageFailed:`Dil kaydedilemedi: {error}`,unsupportedDescriptor:`API, tanımlayıcı sürümü {version} yayımlıyor; bu yönetim paneli sürüm {supported} okuyor. {remedy}`,version:{mismatch:`Bu yönetim paneli {current} sürümünde; kinetis/vector {expected} bekliyor.`,dismiss:`Kapat`,hostedRemedy:`Sunucuda vendor/bin/kinetis vector:install-ui komutunu çalıştırın ve worker’ları yeniden başlatın.`,layeredRemedy:`{package} paketini {version} sürümüne yükseltin ve yeniden derleyin.`,layeredRemedyAny:`Bu kinetis/vector’un beklediği {package} sürümünü yükleyin ve yeniden derleyin.`},nav:{main:`Ana`,dashboard:`Pano`,jobs:`İşler`,settings:`Ayarlar`,pages:`Sayfalar`,badge:`{count} {label}`},page:{unknown:`Bilinmeyen sayfa`,loading:`Sayfa yükleniyor`},impersonation:{actingAs:`Şu anda {name} olarak işlem yapıyorsunuz.`,anotherUser:`başka bir kullanıcı`,stop:`Kimliğine bürünmeyi bitir`,noAccess:`{name} yönetim paneline erişemiyor, bu yüzden onun gözünden görülecek bir şey yok. Kimliğine bürünme sonlandırıldı.`,noToken:`Uygulama belirteç veya yeniden yükleme olmadan yanıt verdi; hiçbir şey değişmedi.`,ended:`Kimliğe bürünme süresi doldu; kendi hesabınıza geri döndünüz.`},palette:{placeholder:`Kayıt ve kaynak ara…`,records:`Kayıtlar`,resources:`Kaynaklar`,noMatch:`Eşleşen kayıt yok`},inbox:{title:`Bildirimler`,markAllRead:`Tümünü okundu işaretle`,empty:`Henüz bir şey yok`},login:{pageTitle:`Oturum aç · {brand}`,subtitle:`Yönetim paneline oturum açın`,email:`E-posta`,password:`Parola`,submit:`Oturum aç`,invalidEmail:`Geçerli bir e-posta adresi girin`,welcome:`Tekrar hoş geldiniz, {name}.`,signedOutIdle:`{minutes} dakika boyunca işlem yapılmadığı için oturumunuz kapatıldı. Kaldığınız yerden devam etmek için yeniden giriş yapın.`,impersonationEnded:`Kimliğe bürünme süresi doldu ve kendi oturumunuz yenilenemedi. Devam etmek için yeniden oturum açın.`},home:{title:`Pano`}},list:{field:`Alan`,search:`{label} içinde ara…`,noSearch:`Aranabilir alan yok`,noGrouping:`Gruplama yok`,groupBy:`Grupla`,groupHeader:`{label}:`,expandGroup:`Grubu genişlet`,collapseGroup:`Grubu daralt`,trash:{label:`Çöp kutusu`,active:`Etkin`,only:`Çöp kutusu`,with:`Etkin ve çöp kutusu`},exportCsv:`CSV dışa aktar`,importCsv:`CSV içe aktar`,exportQueued:`Dışa aktarma büyük olduğu için kuyruğa alındı; hazır olduğunda bildirim alacaksınız.`,exportPrepared:`Dışa aktarma hazırlanıyor; hazır olduğunda bildirim alacaksınız.`,export:`Dışa aktar`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Eşleşen bir şey yok`,empty:`Henüz {label} yok`,summary:{sum:`Toplam`,avg:`Ortalama`,min:`En düşük`,max:`En yüksek`,count:`Sayı`},operation:{deleteTitle:`{count} {noun} silinsin mi?`,restoreTitle:`{count} {noun} geri yüklensin mi?`,forceDeleteTitle:`{count} {noun} kalıcı olarak silinsin mi?`,deleteAllTitle:`Eşleşen tüm {noun} silinsin mi?`,restoreAllTitle:`Eşleşen tüm {noun} geri yüklensin mi?`,forceDeleteAllTitle:`Eşleşen tüm {noun} kalıcı olarak silinsin mi?`,toTrash:`Çöp kutusuna taşınırlar ve geri yüklenebilirler.`,irreversible:`Bu işlem geri alınamaz.`,restored:`{count} {noun} geri yüklendi.`,deleted:`{count} {noun} silindi.`},bulk:{allMatching:`Eşleşen tüm kayıtlar: {total}`,allMatchingUncounted:`Eşleşen tüm kayıtlar`,selected:`{count} seçili`,selectAllMatching:`Eşleşen tüm kayıtları seç: {total}`,selectAllMatchingUncounted:`Eşleşen tüm kayıtları seç`,onlyChecked:`Yalnızca işaretli satırlar`,clearSelection:`Seçimi temizle`},bulkEdit:{everyMatching:`eşleşen her {noun} ({count})`,everyMatchingUncounted:`eşleşen her {noun}`,some:`{count} {noun}`,title:`Düzenle: {subject}`,fieldsToChange:`Değiştirilecek alanlar`,fieldsHint:`Yalnızca seçtiğiniz alanlar yazılır; diğer tüm değerler olduğu gibi kalır.`,applyTo:`Uygula ({count})`,applyToAll:`Eşleşen tümüne uygula`,updated:`{count} {noun} güncellendi.`},columns:{title:`Sütunlar`,moveUp:`Yukarı taşı`,moveDown:`Aşağı taşı`,reset:`Sıfırla`},filter:{add:`Filtre ekle`,condition:`Koşul`,value:`Değer`,from:`Başlangıç`,to:`Bitiş`,commaSeparated:`Virgülle ayrılmış`,clear:`Temizle`,yes:`evet`,no:`hayır`,and:`ve`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Herhangi biri`,anyOfGroup:`Herhangi biri, grup {n}`,alternative:`Alternatif {n}`,or:`veya`,orCondition:`veya…`,addAnyOf:`“Herhangi biri” ekle`,addToAlternative:`{n}. alternatife koşul ekle`,removeGroup:`{n}. grubu kaldır`,advanced:`Gelişmiş koşul`,operators:{eq:`eşittir`,ne:`eşit değildir`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`şunlardan biri`,nin:`şunlardan hiçbiri`,like:`içerir`,nlike:`içermez`,between:`arasında`,null:`boş`,nnull:`boş değil`}},views:{menu:`Görünümler`,allRecords:`Tüm kayıtlar`,default:`Varsayılan`,updateWithCurrent:`Görünümü mevcut listeyle güncelle`,delete:`Görünümü sil`,deleteTitle:`“{name}” görünümü silinsin mi?`,saveCurrent:`Mevcut durumu görünüm olarak kaydet…`,saveTitle:`Görünümü kaydet`,updateTitle:`“{name}” görünümünü güncelle`,name:`Ad`,share:`Tüm yöneticilerle paylaş`,openWith:`Bu kaynağı bu görünümle aç`,openWithForEveryone:`Kendi varsayılanı olmayan herkes için bu şekilde aç`,shareFirst:`Herkesin varsayılanı yapmak için görünümü paylaşın.`,everyoneDefault:`Herkes için varsayılan`,saved:`“{name}” görünümü kaydedildi.`},import:{title:`İçe aktar: {label}`,file:`CSV dosyası`,analyse:`Analiz et`,instructions:"{rows} satır. Her sütunu bir alanla eşleyin ya da atlamak için eşlenmemiş bırakın. Bir `manyToMany` sütunu, `{pipe}` ile ayrılmış tanımlayıcılar alır.",csvColumn:`CSV sütunu`,sample:`Örnek`,skip:`— atla —`,start:`{rows} satırı içe aktar`,queued:`{rows} satırın içe aktarımı kuyruğa alındı.`,mode:`Satırlar`,modes:{create:`Yeni kayıtlar oluştur`,update:`Mevcut kayıtları güncelle`,upsert:`Güncelle veya oluştur`},key:`Satırları eşleştirme ölçütü`,noKey:`Önce bir sütunu anahtara veya benzersiz bir alana eşleyin.`,modeHelp:{update:`Her satır, değeri eşleşen kaydı günceller; hiçbir kayıtla eşleşmeyen satır, başarısız satırlar dosyasına gider.`,upsert:`Her satır, değeri eşleşen kaydı günceller ya da eşleşen yoksa yeni bir kayıt oluşturur.`}},pager:{page:`Sayfa {page}`},page:{create:`Yeni {noun}`,unknown:`Bilinmeyen kaynak`,unknownText:`“{slug}” olarak kayıtlı bir şey yok.`},inline:{editLabel:`Düzenle: {label}`,pending:`{count} kaydedilmemiş değişiklik | {count} kaydedilmemiş değişiklik`,save:`Değişiklikleri kaydet`,discard:`Değişiklikleri at`,saved:`Bir kayıt kaydedildi. | {count} kayıt kaydedildi.`,conflict:`Liste yüklendikten sonra bir kayıt değişti. Yeniden yükleyip tekrar düzenleyin.`,leaveTitle:`Kaydedilmemiş {count} değişiklik atılsın mı? | Kaydedilmemiş {count} değişiklik atılsın mı?`,leaveText:`Listeden ayrılırsanız kaydetmediğiniz düzenlemeler kaybolur.`}},record:{unknownResource:`Bilinmeyen kaynak`,new:`Yeni`,newTitle:`Yeni {label}`,editTitle:`Düzenle: {title}`,createNotAllowed:`Bu kaynak burada kayıt oluşturmaya izin vermiyor.`,editNotAllowed:`Bu kaydı düzenleyemezsiniz.`,saved:`{label} kaydedildi.`,duplicate:`Çoğalt`,copyOf:`“{title}” kaydının bir kopyası. Benzersiz olması gereken değerler ve dosyalar boş başlar.`,variants:{menu:`Diğer kaydetme seçenekleri`,saveContinue:`Kaydet ve düzenlemeye devam et`,createContinue:`Oluştur ve düzenlemeye devam et`,createAnother:`Oluştur ve yenisini ekle`},leave:{title:`Değişiklikleriniz atılsın mı?`,text:`Bu sayfadan ayrılırsanız kaydetmediğiniz değişiklikler kaybolur.`,discard:`Değişiklikleri at`},inTrash:`Çöp kutusunda`,deleteTitle:`{noun} “{title}” silinsin mi?`,deleteForeverTitle:`{noun} “{title}” kalıcı olarak silinsin mi?`,deleteSoftText:`Çöp kutusuna taşınır ve geri yüklenebilir.`,deleteHardText:`Bu işlem geri alınamaz.`,trashed:`{label} çöp kutusuna taşındı.`,deleted:`{label} silindi.`,restored:`{label} geri yüklendi.`,impersonate:{action:`Kimliğine bürün`,title:`“{title}” olarak işlem yapılsın mı?`,text:`Onun görebildiklerini görür, yapabildiklerini yaparsınız; her değişiklik onun adına, kimliğine bürünen olarak siz belirtilerek kaydedilir.`,started:`Artık {title} olarak işlem yapıyorsunuz.`},audit:{title:`Geçmiş`,byUser:`kullanıcı: {actor}`,impersonatedBy:`(kimliğine bürünen: {impersonator})`,empty:`Kayıtlı değişiklik yok.`,revert:`Geri al`,revertLabel:`Bu değişikliği geri al`,revertTitle:`Bu değişiklik geri alınsın mı?`,revertText:`Şu alanların önceki değerini geri getirir: {fields}. Geri alma işlemi de geçmişe kaydedilir.`,reverted:`Değişiklik geri alındı.`},panel:{attach:`İlişkilendir`,attachTitle:`İlişkilendir: {label}`,attachCount:`İlişkilendir ({count})`,attached:`{count} {label} ilişkilendirildi.`,records:`kayıt`,record:`kayıt`,empty:`Henüz {label} yok.`,detach:`Ayır`,detachLabel:`Ayır: {title}`,detachTitle:`“{title}” ayrılsın mı?`,detachText:`Bir {target} olarak kalır; yalnızca bu {owner} ile bağlantısı kaldırılır.`,detached:`{title} ayrıldı.`}},actions:{runOn:`{subject} için {action} çalıştırılsın mı?`,subjectAll:`eşleşen her {label} ({count})`,subjectAllUncounted:`eşleşen her {label}`,subjectCount:`{count} {label}`,done:`{label} tamamlandı.`,declined:`Eylem reddedildi.`,redirectRefused:`Eylem, yönetim paneli dışında bir sayfa açmak istedi; sayfa açılmadı.`,downloadStarted:`İndirme başladı.`,queued:`{label} kuyruğa alındı.`},dashboard:{title:`Pano`,range:`Aralık`,loading:`Yükleniyor`,percent:`%{value}`,duration:{minutes:`{value} dk`,hours:`{value} sa`},partition:{empty:`Bu aralıkta veri yok.`},progress:{of:`/ {target}`,label:`İlerleme`},stat:{previous:`önceki: {value}`},table:{empty:`Gösterilecek bir şey yok.`,seeAll:`Tümünü gör`},trend:{total:`Toplam {value}`}},jobs:{title:`İşler`,heading:`Arka plan işleri`,columns:{job:`İş`,resource:`Kaynak`,status:`Durum`,progress:`İlerleme`,started:`Başlangıç`},empty:`Henüz iş yok. Büyük dışa aktarmalar, içe aktarmalar ve kuyruğa alınan eylemler burada görünür.`,kind:{action:`eylem`,export:`dışa aktarma`,import:`içe aktarma`},status:{queued:`kuyrukta`,running:`çalışıyor`,done:`tamamlandı`,failed:`başarısız`,stalled:`takıldı`},detail:{pageTitle:`İş #{id}`,fallbackTitle:`İş`,started:`başlangıç: {date}`,finished:`bitiş: {date}`,progress:`İş ilerlemesi`,processed:`{processed} işlendi`,processedOfTotal:`{processed} / {total} işlendi`,download:`İndir: {file}`,file:`dosya`}},settings:{pageTitle:`Ayarlar`,heading:`Ayarlar`,empty:{title:`Ayar yok`,text:`Bu hesabın yönetebileceği kayıtlı bir şey yok.`},saved:`{label} kaydedildi.`},fields:{cell:{loading:`{label} yükleniyor`},keyValue:{key:`Anahtar`,value:`Değer`,entry:`Girdi {n}`,add:`Girdi ekle`,remove:`{n}. girdiyi kaldır`,more:`+{count} daha`,repeated:`Birden fazla kez kullanıldı: {keys}. Sonuncusu korunur.`},repeater:{add:`{label} ekle`,remove:`{label} {n} kaldır`,row:`{label} {n}`,count:`{count} / en fazla {max}`,unavailable:`Bu satırları göremezsiniz.`},relation:{placeholder:`Aramak için yazın`,dependsFirst:`Önce {label} seçin`},upload:{storageKey:`Dosyanın depolama anahtarı.`,tooLarge:`Dosya {size} MB sınırından büyük.`,rejected:`Dosya: {message}`,uploaded:`{name} yüklendi ({size} KB)`,theFile:`dosya`,upTo:`en fazla {size} MB`,preview:`{label} önizlemesi`,remove:`{label} kaldır`},richtext:{toolbar:`{label} biçimlendirme`,bold:`Kalın`,italic:`İtalik`,underline:`Altı çizili`,strike:`Üstü çizili`,code:`Kod`,heading:`Başlık {level}`,bulletList:`Madde işaretli liste`,orderedList:`Numaralı liste`,blockquote:`Alıntı`,codeBlock:`Kod bloğu`,horizontalRule:`Ayırıcı`,link:`Bağlantı`,linkUrl:`Bağlantı adresi`,linkRefused:`http(s), mailto veya göreli bir bağlantı kullanın`,insertTable:`Tablo ekle`,addRow:`Satır ekle`,addColumn:`Sütun ekle`,deleteRow:`Satırı sil`,deleteColumn:`Sütunu sil`,deleteTable:`Tabloyu sil`,image:`Resim ekle`,undo:`Geri al`,redo:`Yinele`,source:`Kaynak`,visual:`Görsel`,sourceOf:`{label} kaynağı`},rules:{maxLength:`En fazla {max} karakter`,minLength:`En az {min} karakter`,email:`Geçerli bir e-posta adresi girin`,url:`Geçerli bir URL girin`,greaterThan:`{limit} değerinden büyük olmalı`,greaterThanOrEqual:`En az {limit} olmalı`,lessThan:`{limit} değerinden küçük olmalı`,lessThanOrEqual:`En fazla {limit} olmalı`,invalidFormat:`Geçersiz biçim`,notAllowed:`İzin verilen bir değer değil`}}},ru:{common:{save:`Сохранить`,cancel:`Отмена`,create:`Создать`,edit:`Изменить`,delete:`Удалить`,deleteForever:`Удалить навсегда`,restore:`Восстановить`,close:`Закрыть`,apply:`Применить`,remove:`Убрать`,search:`Поиск`,loading:`Загрузка…`,required:`Обязательно`,none:`—`,yes:`Да`,no:`Нет`,download:`Скачать`,actions:`Действия`,confirm:`Подтвердить`,serverRejected:`Сервер отклонил запрос.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Админ-панель`,account:`Учётная запись`,signOut:`Выйти`,toggleNavigation:`Показать или скрыть навигацию`,toggleTheme:`Сменить тему`,language:`Язык: {name}`,languageFailed:`Не удалось сохранить язык: {error}`,unsupportedDescriptor:`API публикует дескриптор версии {version}, а эта панель читает версию {supported}. {remedy}`,version:{mismatch:`Эта панель имеет версию {current}, а kinetis/vector ожидает {expected}.`,dismiss:`Скрыть`,hostedRemedy:`Выполните vendor/bin/kinetis vector:install-ui на сервере и перезапустите воркеры.`,layeredRemedy:`Обновите {package} до {version} и пересоберите.`,layeredRemedyAny:`Установите выпуск {package}, который ожидает этот kinetis/vector, и пересоберите.`},nav:{main:`Главное`,dashboard:`Панель управления`,jobs:`Задачи`,settings:`Настройки`,pages:`Страницы`,badge:`{label}: {count}`},page:{unknown:`Неизвестная страница`,loading:`Загрузка страницы`},impersonation:{actingAs:`Вы действуете от имени {name}.`,anotherUser:`другого пользователя`,stop:`Прекратить действовать от чужого имени`,noAccess:`У {name} нет доступа к админ-панели, поэтому от этого имени нечего показать. Действие от чужого имени прекращено.`,noToken:`Приложение ответило без токена и без перезагрузки, поэтому ничего не изменилось.`,ended:`Срок работы от имени другого пользователя истёк, вы снова в своей учётной записи.`},palette:{placeholder:`Поиск записей и ресурсов…`,records:`Записи`,resources:`Ресурсы`,noMatch:`Нет подходящих записей`},inbox:{title:`Уведомления`,markAllRead:`Отметить все как прочитанные`,empty:`Пока ничего нет`},login:{pageTitle:`Вход · {brand}`,subtitle:`Вход в админ-панель`,email:`Эл. почта`,password:`Пароль`,submit:`Войти`,invalidEmail:`Введите корректный адрес электронной почты`,welcome:`С возвращением, {name}.`,signedOutIdle:`Сеанс завершён после {minutes} минут бездействия. Войдите снова, чтобы продолжить с того же места.`,impersonationEnded:`Срок работы от имени другого пользователя истёк, а ваш собственный сеанс не удалось продлить. Войдите снова, чтобы продолжить.`},home:{title:`Панель управления`}},list:{field:`Поле`,search:`Поиск: {label}…`,noSearch:`Нет полей для поиска`,noGrouping:`Без группировки`,groupBy:`Группировать по`,groupHeader:`{label}:`,expandGroup:`Развернуть группу`,collapseGroup:`Свернуть группу`,trash:{label:`Корзина`,active:`Активные`,only:`Корзина`,with:`Активные и корзина`},exportCsv:`Экспорт в CSV`,importCsv:`Импорт из CSV`,exportQueued:`Экспорт большой и поставлен в очередь; вы получите уведомление, когда он будет готов.`,exportPrepared:`Экспорт готовится; вы получите уведомление, когда он будет готов.`,export:`Экспорт`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Ничего не найдено`,empty:`Пока нет записей ({label})`,summary:{sum:`Сумма`,avg:`Среднее`,min:`Мин.`,max:`Макс.`,count:`Количество`},operation:{deleteTitle:`Удалить {noun} ({count})?`,restoreTitle:`Восстановить {noun} ({count})?`,forceDeleteTitle:`Удалить {noun} ({count}) навсегда?`,deleteAllTitle:`Удалить все подходящие {noun}?`,restoreAllTitle:`Восстановить все подходящие {noun}?`,forceDeleteAllTitle:`Удалить все подходящие {noun} навсегда?`,toTrash:`Записи будут перемещены в корзину и могут быть восстановлены.`,irreversible:`Это действие нельзя отменить.`,restored:`{noun}: восстановлено {count}.`,deleted:`{noun}: удалено {count}.`},bulk:{allMatching:`Все подходящие ({total})`,allMatchingUncounted:`Все подходящие записи`,selected:`Выбрано: {count}`,selectAllMatching:`Выбрать все подходящие ({total})`,selectAllMatchingUncounted:`Выбрать все подходящие записи`,onlyChecked:`Только отмеченные строки`,clearSelection:`Снять выделение`},bulkEdit:{everyMatching:`все подходящие {noun} ({count})`,everyMatchingUncounted:`все подходящие {noun}`,some:`{noun} ({count})`,title:`Изменить: {subject}`,fieldsToChange:`Изменяемые поля`,fieldsHint:`Записываются только выбранные поля; все остальные значения остаются без изменений.`,applyTo:`Применить к {count}`,applyToAll:`Применить ко всем подходящим`,updated:`{noun}: обновлено {count}.`},columns:{title:`Столбцы`,moveUp:`Переместить вверх`,moveDown:`Переместить вниз`,reset:`Сбросить`},filter:{add:`Добавить фильтр`,condition:`Условие`,value:`Значение`,from:`С`,to:`По`,commaSeparated:`Через запятую`,clear:`Очистить`,yes:`да`,no:`нет`,and:`и`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Любое из`,anyOfGroup:`Любое из, группа {n}`,alternative:`Вариант {n}`,or:`или`,orCondition:`или…`,addAnyOf:`Добавить «любое из»`,addToAlternative:`Добавить условие к варианту {n}`,removeGroup:`Удалить группу {n}`,advanced:`Расширенное условие`,operators:{eq:`равно`,ne:`не равно`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`любое из`,nin:`ни одно из`,like:`содержит`,nlike:`не содержит`,between:`между`,null:`пусто`,nnull:`не пусто`}},views:{menu:`Представления`,allRecords:`Все записи`,default:`По умолчанию`,updateWithCurrent:`Обновить представление текущим списком`,delete:`Удалить представление`,deleteTitle:`Удалить представление «{name}»?`,saveCurrent:`Сохранить текущее как представление…`,saveTitle:`Сохранить представление`,updateTitle:`Обновить «{name}»`,name:`Название`,share:`Открыть доступ всем администраторам`,openWith:`Открывать этот ресурс с этим представлением`,openWithForEveryone:`Открывать так для всех, у кого нет собственного представления по умолчанию`,shareFirst:`Откройте общий доступ к представлению, чтобы сделать его представлением по умолчанию для всех.`,everyoneDefault:`По умолчанию для всех`,saved:`Представление «{name}» сохранено.`},import:{title:`Импорт: {label}`,file:`Файл CSV`,analyse:`Анализировать`,instructions:"Строк: {rows}. Сопоставьте каждый столбец с полем или оставьте его несопоставленным, чтобы пропустить. Столбец `manyToMany` принимает идентификаторы, разделённые символом `{pipe}`.",csvColumn:`Столбец CSV`,sample:`Пример`,skip:`— пропустить —`,start:`Импортировать строки: {rows}`,queued:`Импорт строк ({rows}) поставлен в очередь.`,mode:`Строки`,modes:{create:`Создать новые записи`,update:`Обновить существующие записи`,upsert:`Обновить или создать`},key:`Сопоставлять строки по`,noKey:`Сначала сопоставьте столбец с ключом или уникальным полем.`,modeHelp:{update:`Каждая строка обновляет запись с совпадающим значением; строка без совпадений попадает в файл строк с ошибками.`,upsert:`Каждая строка обновляет запись с совпадающим значением или создаёт новую, если совпадений нет.`}},pager:{page:`Страница {page}`},page:{create:`Создать: {noun}`,unknown:`Неизвестный ресурс`,unknownText:`Под именем «{slug}» ничего не зарегистрировано.`},inline:{editLabel:`Изменить: {label}`,pending:`{count} несохранённое изменение | {count} несохранённых изменения | {count} несохранённых изменений`,save:`Сохранить изменения`,discard:`Не сохранять`,saved:`{count} запись сохранена. | {count} записи сохранены. | {count} записей сохранено.`,conflict:`Запись изменилась после загрузки списка. Обновите его и внесите изменения снова.`,leaveTitle:`Отменить {count} несохранённое изменение? | Отменить {count} несохранённых изменения? | Отменить {count} несохранённых изменений?`,leaveText:`Если покинуть список, несохранённые изменения будут потеряны.`}},record:{unknownResource:`Неизвестный ресурс`,new:`Создать`,newTitle:`Новая запись: {label}`,editTitle:`Изменение: {title}`,createNotAllowed:`Этот ресурс не позволяет создавать записи здесь.`,editNotAllowed:`Вам нельзя изменять эту запись.`,saved:`{label}: сохранено.`,duplicate:`Дублировать`,copyOf:`Копия «{title}». Уникальные значения и файлы изначально пусты.`,variants:{menu:`Другие способы сохранения`,saveContinue:`Сохранить и продолжить редактирование`,createContinue:`Создать и продолжить редактирование`,createAnother:`Создать и добавить ещё`},leave:{title:`Отменить изменения?`,text:`Если покинуть эту страницу, несохранённые изменения будут потеряны.`,discard:`Не сохранять`},inTrash:`В корзине`,deleteTitle:`Удалить «{title}» ({noun})?`,deleteForeverTitle:`Удалить навсегда «{title}» ({noun})?`,deleteSoftText:`Запись будет перемещена в корзину и может быть восстановлена.`,deleteHardText:`Это действие нельзя отменить.`,trashed:`{label}: перемещено в корзину.`,deleted:`{label}: удалено.`,restored:`{label}: восстановлено.`,impersonate:{action:`Войти от имени`,title:`Действовать от имени «{title}»?`,text:`Вы видите и делаете то же, что и этот пользователь, а каждое изменение записывается от его имени с указанием вас как действующего от его имени.`,started:`Теперь вы действуете от имени {title}.`},audit:{title:`История`,byUser:`пользователем {actor}`,impersonatedBy:`(от его имени действовал {impersonator})`,empty:`Изменений не зафиксировано.`,revert:`Откатить`,revertLabel:`Откатить это изменение`,revertTitle:`Откатить это изменение?`,revertText:`Возвращает прежнее значение полей: {fields}. Откат также записывается в историю.`,reverted:`Изменение откачено.`},panel:{attach:`Привязать`,attachTitle:`Привязать: {label}`,attachCount:`Привязать ({count})`,attached:`{label}: привязано {count}.`,records:`записи`,record:`запись`,empty:`Пока нет записей ({label}).`,detach:`Отвязать`,detachLabel:`Отвязать {title}`,detachTitle:`Отвязать «{title}»?`,detachText:`Объект «{target}» сохраняется; удаляется только его связь с «{owner}».`,detached:`{title}: отвязано.`}},actions:{runOn:`Выполнить {action}: {subject}?`,subjectAll:`все подходящие {label} ({count})`,subjectAllUncounted:`все подходящие {label}`,subjectCount:`{label} ({count})`,done:`{label}: выполнено.`,declined:`Действие отклонено.`,redirectRefused:`Действие пыталось открыть страницу вне панели; она не открыта.`,downloadStarted:`Загрузка началась.`,queued:`{label}: поставлено в очередь.`},dashboard:{title:`Панель управления`,range:`Период`,loading:`Загрузка`,percent:`{value}%`,duration:{minutes:`{value} мин`,hours:`{value} ч`},partition:{empty:`За этот период ничего нет.`},progress:{of:`из {target}`,label:`Прогресс`},stat:{previous:`против {value} ранее`},table:{empty:`Нечего показать.`,seeAll:`Показать все`},trend:{total:`Всего {value}`}},jobs:{title:`Задачи`,heading:`Фоновые задачи`,columns:{job:`Задача`,resource:`Ресурс`,status:`Статус`,progress:`Прогресс`,started:`Начало`},empty:`Задач пока нет. Здесь появляются крупные экспорты, импорты и действия в очереди.`,kind:{action:`действие`,export:`экспорт`,import:`импорт`},status:{queued:`в очереди`,running:`выполняется`,done:`готово`,failed:`ошибка`,stalled:`зависла`},detail:{pageTitle:`Задача #{id}`,fallbackTitle:`Задача`,started:`начата {date}`,finished:`завершена {date}`,progress:`Ход выполнения задачи`,processed:`Обработано: {processed}`,processedOfTotal:`Обработано {processed} из {total}`,download:`Скачать {file}`,file:`файл`}},settings:{pageTitle:`Настройки`,heading:`Настройки`,empty:{title:`Нет настроек`,text:`Для этой учётной записи нет настроек, которыми можно управлять.`},saved:`{label}: сохранено.`},fields:{cell:{loading:`Загрузка: {label}`},keyValue:{key:`Ключ`,value:`Значение`,entry:`Запись {n}`,add:`Добавить запись`,remove:`Удалить запись {n}`,more:`ещё {count}`,repeated:`Используются более одного раза: {keys}. Сохраняется последнее значение.`},repeater:{add:`Добавить: {label}`,remove:`Удалить: {label} {n}`,row:`{label} {n}`,count:`{count} из максимум {max}`,unavailable:`У вас нет доступа к этим строкам.`},relation:{placeholder:`Введите текст для поиска`,dependsFirst:`Сначала выберите: {label}`},upload:{storageKey:`Ключ файла в хранилище.`,tooLarge:`Размер файла превышает {size} МБ.`,rejected:`Файл: {message}`,uploaded:`Загружено: {name} ({size} КБ)`,theFile:`файл`,upTo:`до {size} МБ`,preview:`Предпросмотр: {label}`,remove:`Удалить: {label}`},richtext:{toolbar:`Форматирование: {label}`,bold:`Полужирный`,italic:`Курсив`,underline:`Подчёркнутый`,strike:`Зачёркнутый`,code:`Код`,heading:`Заголовок {level}`,bulletList:`Маркированный список`,orderedList:`Нумерованный список`,blockquote:`Цитата`,codeBlock:`Блок кода`,horizontalRule:`Разделитель`,link:`Ссылка`,linkUrl:`Адрес ссылки`,linkRefused:`Используйте ссылку http(s), mailto или относительную ссылку`,insertTable:`Вставить таблицу`,addRow:`Добавить строку`,addColumn:`Добавить столбец`,deleteRow:`Удалить строку`,deleteColumn:`Удалить столбец`,deleteTable:`Удалить таблицу`,image:`Вставить изображение`,undo:`Отменить`,redo:`Повторить`,source:`Исходный код`,visual:`Визуальный`,sourceOf:`Исходный код: {label}`},rules:{maxLength:`Максимум символов: {max}`,minLength:`Минимум символов: {min}`,email:`Введите корректный адрес электронной почты`,url:`Введите корректный URL`,greaterThan:`Должно быть больше {limit}`,greaterThanOrEqual:`Должно быть не меньше {limit}`,lessThan:`Должно быть меньше {limit}`,lessThanOrEqual:`Должно быть не больше {limit}`,invalidFormat:`Неверный формат`,notAllowed:`Недопустимое значение`}}},uk:{common:{save:`Зберегти`,cancel:`Скасувати`,create:`Створити`,edit:`Редагувати`,delete:`Видалити`,deleteForever:`Видалити назавжди`,restore:`Відновити`,close:`Закрити`,apply:`Застосувати`,remove:`Прибрати`,search:`Пошук`,loading:`Завантаження…`,required:`Обов’язкове`,none:`—`,yes:`Так`,no:`Ні`,download:`Завантажити`,actions:`Дії`,confirm:`Підтвердити`,serverRejected:`Сервер відхилив запит.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`Адмінпанель`,account:`Обліковий запис`,signOut:`Вийти`,toggleNavigation:`Перемкнути навігацію`,toggleTheme:`Перемкнути тему`,language:`Мова: {name}`,languageFailed:`Не вдалося зберегти мову: {error}`,unsupportedDescriptor:`API публікує дескриптор версії {version}, а ця панель читає версію {supported}. {remedy}`,version:{mismatch:`Ця панель має версію {current}, а kinetis/vector очікує {expected}.`,dismiss:`Сховати`,hostedRemedy:`Виконайте vendor/bin/kinetis vector:install-ui на сервері й перезапустіть воркери.`,layeredRemedy:`Оновіть {package} до {version} і перезберіть.`,layeredRemedyAny:`Установіть випуск {package}, який очікує цей kinetis/vector, і перезберіть.`},nav:{main:`Головне`,dashboard:`Панель керування`,jobs:`Завдання`,settings:`Налаштування`,pages:`Сторінки`,badge:`{count} {label}`},page:{unknown:`Невідома сторінка`,loading:`Завантаження сторінки`},impersonation:{actingAs:`Ви дієте від імені {name}.`,anotherUser:`іншого користувача`,stop:`Повернутися до свого облікового запису`,noAccess:`{name} не має доступу до адмінпанелі, тож від цього імені нічого не видно. Дію від імені користувача припинено.`,noToken:`Застосунок відповів без токена й без перезавантаження, тож нічого не змінилося.`,ended:`Термін роботи від імені іншого користувача сплив, ви знову у своєму обліковому записі.`},palette:{placeholder:`Пошук записів і ресурсів…`,records:`Записи`,resources:`Ресурси`,noMatch:`Немає відповідних записів`},inbox:{title:`Сповіщення`,markAllRead:`Позначити все як прочитане`,empty:`Поки що нічого немає`},login:{pageTitle:`Вхід · {brand}`,subtitle:`Увійдіть до адмінпанелі`,email:`Електронна пошта`,password:`Пароль`,submit:`Увійти`,invalidEmail:`Введіть дійсну адресу електронної пошти`,welcome:`З поверненням, {name}.`,signedOutIdle:`Сеанс завершено після {minutes} хвилин бездіяльності. Увійдіть знову, щоб продовжити з того самого місця.`,impersonationEnded:`Термін роботи від імені іншого користувача сплив, а ваш власний сеанс не вдалося продовжити. Увійдіть знову, щоб продовжити.`},home:{title:`Панель керування`}},list:{field:`Поле`,search:`Пошук: {label}…`,noSearch:`Немає полів для пошуку`,noGrouping:`Без групування`,groupBy:`Групувати за`,groupHeader:`{label}:`,expandGroup:`Розгорнути групу`,collapseGroup:`Згорнути групу`,trash:{label:`Кошик`,active:`Активні`,only:`Кошик`,with:`Активні й кошик`},exportCsv:`Експорт CSV`,importCsv:`Імпорт CSV`,exportQueued:`Експорт великий, тому його додано до черги; ви отримаєте сповіщення, коли він буде готовий.`,exportPrepared:`Експорт готується; ви отримаєте сповіщення, коли він буде готовий.`,export:`Експорт`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`Нічого не знайдено`,empty:`Поки що немає записів: {label}`,summary:{sum:`Сума`,avg:`Середнє`,min:`Мін.`,max:`Макс.`,count:`Кількість`},operation:{deleteTitle:`Видалити {noun} ({count})?`,restoreTitle:`Відновити {noun} ({count})?`,forceDeleteTitle:`Видалити {noun} ({count}) назавжди?`,deleteAllTitle:`Видалити всі відповідні {noun}?`,restoreAllTitle:`Відновити всі відповідні {noun}?`,forceDeleteAllTitle:`Видалити всі відповідні {noun} назавжди?`,toTrash:`Їх буде переміщено до кошика, звідки їх можна відновити.`,irreversible:`Цю дію неможливо скасувати.`,restored:`{noun}: відновлено {count}.`,deleted:`{noun}: видалено {count}.`},bulk:{allMatching:`Усі відповідні: {total}`,allMatchingUncounted:`Усі відповідні записи`,selected:`Вибрано: {count}`,selectAllMatching:`Вибрати всі відповідні ({total})`,selectAllMatchingUncounted:`Вибрати всі відповідні записи`,onlyChecked:`Лише позначені рядки`,clearSelection:`Скасувати вибір`},bulkEdit:{everyMatching:`усі відповідні {noun} ({count})`,everyMatchingUncounted:`усі відповідні {noun}`,some:`{noun} ({count})`,title:`Редагувати {subject}`,fieldsToChange:`Поля для зміни`,fieldsHint:`Записуються лише вибрані поля; усі інші значення залишаються без змін.`,applyTo:`Застосувати до {count}`,applyToAll:`Застосувати до всіх відповідних`,updated:`{noun}: оновлено {count}.`},columns:{title:`Стовпці`,moveUp:`Перемістити вгору`,moveDown:`Перемістити вниз`,reset:`Скинути`},filter:{add:`Додати фільтр`,condition:`Умова`,value:`Значення`,from:`Від`,to:`До`,commaSeparated:`Через кому`,clear:`Очистити`,yes:`так`,no:`ні`,and:`і`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`Будь-яка з`,anyOfGroup:`Будь-яка з, група {n}`,alternative:`Варіант {n}`,or:`або`,orCondition:`або…`,addAnyOf:`Додати «будь-яка з»`,addToAlternative:`Додати умову до варіанта {n}`,removeGroup:`Видалити групу {n}`,advanced:`Розширена умова`,operators:{eq:`дорівнює`,ne:`не дорівнює`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`є одним із`,nin:`не є жодним із`,like:`містить`,nlike:`не містить`,between:`у межах`,null:`порожнє`,nnull:`не порожнє`}},views:{menu:`Подання`,allRecords:`Усі записи`,default:`Типове`,updateWithCurrent:`Оновити подання поточним списком`,delete:`Видалити подання`,deleteTitle:`Видалити подання «{name}»?`,saveCurrent:`Зберегти поточне як подання…`,saveTitle:`Зберегти подання`,updateTitle:`Оновити «{name}»`,name:`Назва`,share:`Поділитися з усіма адміністраторами`,openWith:`Відкривати цей ресурс із цим поданням`,openWithForEveryone:`Відкривати так для всіх, хто не має власного типового подання`,shareFirst:`Поділіться поданням, щоб зробити його типовим для всіх.`,everyoneDefault:`Типове для всіх`,saved:`Подання «{name}» збережено.`},import:{title:`Імпорт: {label}`,file:`Файл CSV`,analyse:`Проаналізувати`,instructions:"Рядків: {rows}. Зіставте кожен стовпець із полем або залиште його без зіставлення, щоб пропустити. Стовпець `manyToMany` приймає ідентифікатори, розділені символом `{pipe}`.",csvColumn:`Стовпець CSV`,sample:`Приклад`,skip:`— пропустити —`,start:`Імпортувати рядки: {rows}`,queued:`Імпорт рядків ({rows}) додано до черги.`,mode:`Рядки`,modes:{create:`Створювати нові записи`,update:`Оновлювати наявні записи`,upsert:`Оновлювати або створювати`},key:`Зіставляти рядки за`,noKey:`Спершу зіставте стовпець із ключем або унікальним полем.`,modeHelp:{update:`Кожен рядок оновлює запис із відповідним значенням; рядок без відповідника потрапляє до файлу з невдалими рядками.`,upsert:`Кожен рядок оновлює запис із відповідним значенням або створює новий, якщо такого немає.`}},pager:{page:`Сторінка {page}`},page:{create:`Створити: {noun}`,unknown:`Невідомий ресурс`,unknownText:`Під назвою «{slug}» нічого не зареєстровано.`},inline:{editLabel:`Редагувати {label}`,pending:`{count} незбережена зміна | {count} незбережені зміни | {count} незбережених змін`,save:`Зберегти зміни`,discard:`Відкинути`,saved:`{count} запис збережено. | {count} записи збережено. | {count} записів збережено.`,conflict:`Запис змінився після завантаження списку. Перезавантажте його й відредагуйте знову.`,leaveTitle:`Відкинути {count} незбережену зміну? | Відкинути {count} незбережені зміни? | Відкинути {count} незбережених змін?`,leaveText:`Якщо залишити список, незбережені зміни буде втрачено.`}},record:{unknownResource:`Невідомий ресурс`,new:`Новий`,newTitle:`Новий запис: {label}`,editTitle:`Редагування: {title}`,createNotAllowed:`Цей ресурс не дозволяє створювати записи тут.`,editNotAllowed:`Ви не можете редагувати цей запис.`,saved:`{label}: збережено.`,duplicate:`Дублювати`,copyOf:`Копія «{title}». Значення, які мають бути унікальними, і файли спочатку порожні.`,variants:{menu:`Інші способи збереження`,saveContinue:`Зберегти й продовжити редагування`,createContinue:`Створити й продовжити редагування`,createAnother:`Створити й додати ще`},leave:{title:`Відкинути зміни?`,text:`Якщо залишити цю сторінку, незбережені зміни буде втрачено.`,discard:`Відкинути`},inTrash:`У кошику`,deleteTitle:`Видалити {noun} «{title}»?`,deleteForeverTitle:`Видалити назавжди {noun} «{title}»?`,deleteSoftText:`Запис буде переміщено до кошика, звідки його можна відновити.`,deleteHardText:`Цю дію неможливо скасувати.`,trashed:`{label}: переміщено до кошика.`,deleted:`{label}: видалено.`,restored:`{label}: відновлено.`,impersonate:{action:`Увійти від імені`,title:`Діяти від імені «{title}»?`,text:`Ви бачите й робите те саме, що й цей користувач, а кожна зміна записується на нього із зазначенням вас як того, хто діяв від його імені.`,started:`Тепер ви дієте від імені {title}.`},audit:{title:`Історія`,byUser:`користувачем {actor}`,impersonatedBy:`(від його імені діяв {impersonator})`,empty:`Змін не зафіксовано.`,revert:`Відкотити`,revertLabel:`Відкотити цю зміну`,revertTitle:`Відкотити цю зміну?`,revertText:`Повертає попереднє значення: {fields}. Відкат також записується в історію.`,reverted:`Зміну відкочено.`},panel:{attach:`Прикріпити`,attachTitle:`Прикріпити: {label}`,attachCount:`Прикріпити ({count})`,attached:`Прикріплено: {count} {label}.`,records:`записи`,record:`запис`,empty:`Поки що немає записів: {label}.`,detach:`Від’єднати`,detachLabel:`Від’єднати {title}`,detachTitle:`Від’єднати «{title}»?`,detachText:`Сам запис ({target}) залишається; вилучається лише його зв’язок із цим записом ({owner}).`,detached:`{title}: від’єднано.`}},actions:{runOn:`Виконати {action} для {subject}?`,subjectAll:`усіх відповідних записів ({label}: {count})`,subjectAllUncounted:`усіх відповідних записів ({label})`,subjectCount:`{count} {label}`,done:`{label}: виконано.`,declined:`Дію відхилено.`,redirectRefused:`Дія намагалася відкрити сторінку поза панеллю; її не відкрито.`,downloadStarted:`Завантаження розпочато.`,queued:`{label}: додано до черги.`},dashboard:{title:`Панель керування`,range:`Період`,loading:`Завантаження`,percent:`{value}%`,duration:{minutes:`{value} хв`,hours:`{value} год`},partition:{empty:`За цей період нічого немає.`},progress:{of:`з {target}`,label:`Прогрес`},stat:{previous:`проти {value} раніше`},table:{empty:`Немає даних для показу.`,seeAll:`Переглянути все`},trend:{total:`Усього {value}`}},jobs:{title:`Завдання`,heading:`Фонові завдання`,columns:{job:`Завдання`,resource:`Ресурс`,status:`Статус`,progress:`Прогрес`,started:`Розпочато`},empty:`Завдань ще немає. Тут з’являються великі експорти, імпорти й дії в черзі.`,kind:{action:`дія`,export:`експорт`,import:`імпорт`},status:{queued:`у черзі`,running:`виконується`,done:`виконано`,failed:`помилка`,stalled:`зависло`},detail:{pageTitle:`Завдання #{id}`,fallbackTitle:`Завдання`,started:`розпочато {date}`,finished:`завершено {date}`,progress:`Прогрес завдання`,processed:`Оброблено: {processed}`,processedOfTotal:`Оброблено {processed} з {total}`,download:`Завантажити {file}`,file:`файл`}},settings:{pageTitle:`Налаштування`,heading:`Налаштування`,empty:{title:`Немає налаштувань`,text:`Для цього облікового запису немає налаштувань, якими можна керувати.`},saved:`{label}: збережено.`},fields:{cell:{loading:`Завантаження: {label}`},keyValue:{key:`Ключ`,value:`Значення`,entry:`Запис {n}`,add:`Додати запис`,remove:`Видалити запис {n}`,more:`ще +{count}`,repeated:`Використано більше одного разу: {keys}. Зберігається останнє.`},repeater:{add:`Додати {label}`,remove:`Видалити {label} {n}`,row:`{label} {n}`,count:`{count} з {max} можливих`,unavailable:`Ви не можете переглядати ці рядки.`},relation:{placeholder:`Почніть вводити для пошуку`,dependsFirst:`Спершу виберіть {label}`},upload:{storageKey:`Ключ файлу у сховищі.`,tooLarge:`Файл більший за {size} МБ.`,rejected:`Файл {message}`,uploaded:`Завантажено {name} ({size} КБ)`,theFile:`файл`,upTo:`до {size} МБ`,preview:`Попередній перегляд: {label}`,remove:`Видалити {label}`},richtext:{toolbar:`Форматування: {label}`,bold:`Жирний`,italic:`Курсив`,underline:`Підкреслений`,strike:`Закреслений`,code:`Код`,heading:`Заголовок {level}`,bulletList:`Маркований список`,orderedList:`Нумерований список`,blockquote:`Цитата`,codeBlock:`Блок коду`,horizontalRule:`Роздільник`,link:`Посилання`,linkUrl:`Адреса посилання`,linkRefused:`Використовуйте посилання http(s), mailto або відносне`,insertTable:`Вставити таблицю`,addRow:`Додати рядок`,addColumn:`Додати стовпець`,deleteRow:`Видалити рядок`,deleteColumn:`Видалити стовпець`,deleteTable:`Видалити таблицю`,image:`Вставити зображення`,undo:`Скасувати`,redo:`Повторити`,source:`Вихідний код`,visual:`Візуальний`,sourceOf:`Вихідний код: {label}`},rules:{maxLength:`Максимум символів: {max}`,minLength:`Мінімум символів: {min}`,email:`Введіть дійсну адресу електронної пошти`,url:`Введіть дійсну URL-адресу`,greaterThan:`Має бути більше за {limit}`,greaterThanOrEqual:`Має бути не менше {limit}`,lessThan:`Має бути менше за {limit}`,lessThanOrEqual:`Має бути не більше {limit}`,invalidFormat:`Неправильний формат`,notAllowed:`Недопустиме значення`}}},he:{common:{save:`שמירה`,cancel:`ביטול`,create:`יצירה`,edit:`עריכה`,delete:`מחיקה`,deleteForever:`מחיקה לצמיתות`,restore:`שחזור`,close:`סגירה`,apply:`החלה`,remove:`הסרה`,search:`חיפוש`,loading:`טוען…`,required:`שדה חובה`,none:`—`,yes:`כן`,no:`לא`,download:`הורדה`,actions:`פעולות`,confirm:`אישור`,serverRejected:`השרת דחה את הבקשה.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`ניהול`,account:`חשבון`,signOut:`התנתקות`,toggleNavigation:`הצגה או הסתרה של הניווט`,toggleTheme:`החלפת ערכת נושא`,language:`שפה: {name}`,languageFailed:`לא ניתן לשמור את השפה: {error}`,unsupportedDescriptor:`ה-API מפרסם את גרסה {version} של המתאר; ממשק הניהול הזה קורא את גרסה {supported}. {remedy}`,version:{mismatch:`ממשק הניהול הזה הוא בגרסה {current}; kinetis/vector מצפה לגרסה {expected}.`,dismiss:`סגירה`,hostedRemedy:`הריצו vendor/bin/kinetis vector:install-ui בשרת והפעילו מחדש את ה-workers.`,layeredRemedy:`שדרגו את {package} לגרסה {version} ובנו מחדש.`,layeredRemedyAny:`התקינו את גרסת {package} ש-kinetis/vector הזה מצפה לה ובנו מחדש.`},nav:{main:`ראשי`,dashboard:`לוח בקרה`,jobs:`משימות`,settings:`הגדרות`,pages:`דפים`,badge:`{count} {label}`},page:{unknown:`דף לא מוכר`,loading:`טוען את הדף`},impersonation:{actingAs:`הפעולות שלך מתבצעות כעת בשם {name}.`,anotherUser:`משתמש אחר`,stop:`הפסקת ההתחזות`,noAccess:`ל־{name} אין גישה לממשק הניהול, כך שאין מה להציג בשם משתמש זה. ההתחזות הופסקה.`,noToken:`האפליקציה השיבה בלי אסימון ובלי טעינה מחדש, ולכן דבר לא השתנה.`,ended:`תוקף ההתחזות פג, ולכן חזרת לחשבון שלך.`},palette:{placeholder:`חיפוש רשומות ומשאבים…`,records:`רשומות`,resources:`משאבים`,noMatch:`אין רשומות תואמות`},inbox:{title:`התראות`,markAllRead:`סימון הכול כנקרא`,empty:`אין עדיין התראות`},login:{pageTitle:`התחברות · {brand}`,subtitle:`התחברות לממשק הניהול`,email:`דוא״ל`,password:`סיסמה`,submit:`התחברות`,invalidEmail:`יש להזין כתובת דוא״ל תקינה`,welcome:`שמחים לראות אותך שוב, {name}.`,signedOutIdle:`יצאת מהמערכת לאחר {minutes} דקות ללא פעילות. יש להיכנס שוב כדי להמשיך מאותו מקום.`,impersonationEnded:`תוקף ההתחזות פג ולא ניתן היה לחדש את ההפעלה שלך. התחבר מחדש כדי להמשיך.`},home:{title:`לוח בקרה`}},list:{field:`שדה`,search:`חיפוש {label}…`,noSearch:`אין שדות לחיפוש`,noGrouping:`ללא קיבוץ`,groupBy:`קיבוץ לפי`,groupHeader:`{label}:`,expandGroup:`הרחבת הקבוצה`,collapseGroup:`כיווץ הקבוצה`,trash:{label:`סל מחזור`,active:`פעילות`,only:`סל מחזור`,with:`פעילות וסל מחזור`},exportCsv:`ייצוא CSV`,importCsv:`ייבוא CSV`,exportQueued:`הייצוא גדול ולכן נוסף לתור; תישלח התראה כשיהיה מוכן.`,exportPrepared:`הייצוא בהכנה; תישלח התראה כשיהיה מוכן.`,export:`ייצוא`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`אין תוצאות תואמות`,empty:`אין עדיין {label}`,summary:{sum:`סכום`,avg:`ממוצע`,min:`מינימום`,max:`מקסימום`,count:`ספירה`},operation:{deleteTitle:`למחוק {count} {noun}?`,restoreTitle:`לשחזר {count} {noun}?`,forceDeleteTitle:`למחוק לצמיתות {count} {noun}?`,deleteAllTitle:`למחוק את כל הרשומות התואמות מסוג {noun}?`,restoreAllTitle:`לשחזר את כל הרשומות התואמות מסוג {noun}?`,forceDeleteAllTitle:`למחוק לצמיתות את כל הרשומות התואמות מסוג {noun}?`,toTrash:`הרשומות יועברו לסל המחזור וניתן יהיה לשחזר אותן.`,irreversible:`לא ניתן לבטל פעולה זו.`,restored:`שוחזרו: {count} {noun}.`,deleted:`נמחקו: {count} {noun}.`},bulk:{allMatching:`כל {total} הרשומות התואמות`,allMatchingUncounted:`כל הרשומות התואמות`,selected:`{count} נבחרו`,selectAllMatching:`בחירת כל {total} הרשומות התואמות`,selectAllMatchingUncounted:`בחירת כל הרשומות התואמות`,onlyChecked:`רק השורות המסומנות`,clearSelection:`ניקוי הבחירה`},bulkEdit:{everyMatching:`כל הרשומות התואמות מסוג {noun} ({count})`,everyMatchingUncounted:`כל הרשומות התואמות מסוג {noun}`,some:`{count} {noun}`,title:`עריכת {subject}`,fieldsToChange:`שדות לשינוי`,fieldsHint:`ייכתבו רק השדות שנבחרו; כל שאר הערכים יישארו כפי שהם.`,applyTo:`החלה על {count}`,applyToAll:`החלה על כל הרשומות התואמות`,updated:`עודכנו: {count} {noun}.`},columns:{title:`עמודות`,moveUp:`הזזה למעלה`,moveDown:`הזזה למטה`,reset:`איפוס`},filter:{add:`הוספת מסנן`,condition:`תנאי`,value:`ערך`,from:`מ־`,to:`עד`,commaSeparated:`מופרד בפסיקים`,clear:`ניקוי`,yes:`כן`,no:`לא`,and:`וגם`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`אחד מאלה`,anyOfGroup:`אחד מאלה, קבוצה {n}`,alternative:`חלופה {n}`,or:`או`,orCondition:`או…`,addAnyOf:`הוספת "אחד מאלה"`,addToAlternative:`הוספת תנאי לחלופה {n}`,removeGroup:`הסרת קבוצה {n}`,advanced:`תנאי מתקדם`,operators:{eq:`הוא`,ne:`אינו`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`הוא אחד מתוך`,nin:`אינו אף אחד מתוך`,like:`מכיל`,nlike:`אינו מכיל`,between:`בין`,null:`ריק`,nnull:`אינו ריק`}},views:{menu:`תצוגות`,allRecords:`כל הרשומות`,default:`ברירת מחדל`,updateWithCurrent:`עדכון התצוגה לפי הרשימה הנוכחית`,delete:`מחיקת התצוגה`,deleteTitle:`למחוק את התצוגה "{name}"?`,saveCurrent:`שמירת הרשימה הנוכחית כתצוגה…`,saveTitle:`שמירת תצוגה`,updateTitle:`עדכון "{name}"`,name:`שם`,share:`שיתוף עם כל מנהלי המערכת`,openWith:`פתיחת משאב זה בתצוגה זו`,openWithForEveryone:`פתיחה בתצוגה זו לכל מי שלא הגדיר ברירת מחדל משלו`,shareFirst:`יש לשתף את התצוגה כדי להגדיר אותה כברירת מחדל לכולם.`,everyoneDefault:`ברירת מחדל לכולם`,saved:`התצוגה "{name}" נשמרה.`},import:{title:`ייבוא {label}`,file:`קובץ CSV`,analyse:`ניתוח`,instructions:"{rows} שורות. יש למפות כל עמודה לשדה, או להשאיר אותה ללא מיפוי כדי לדלג עליה. עמודת `manyToMany` מקבלת מזהים המופרדים ב־`{pipe}`.",csvColumn:`עמודת CSV`,sample:`דוגמה`,skip:`— דילוג —`,start:`ייבוא {rows} שורות`,queued:`ייבוא של {rows} שורות נוסף לתור.`,mode:`שורות`,modes:{create:`יצירת רשומות חדשות`,update:`עדכון רשומות קיימות`,upsert:`עדכון או יצירה`},key:`התאמת שורות לפי`,noKey:`יש קודם למפות עמודה למפתח או לשדה ייחודי.`,modeHelp:{update:`כל שורה מעדכנת את הרשומה שהערך שלה תואם; שורה שאינה תואמת אף רשומה עוברת לקובץ השורות שנכשלו.`,upsert:`כל שורה מעדכנת את הרשומה שהערך שלה תואם, או יוצרת רשומה חדשה כשאין התאמה.`}},pager:{page:`עמוד {page}`},page:{create:`יצירת {noun}`,unknown:`משאב לא מוכר`,unknownText:`לא רשום דבר בשם "{slug}".`},inline:{editLabel:`עריכת {label}`,pending:`שינוי אחד שלא נשמר | שני שינויים שלא נשמרו | {count} שינויים שלא נשמרו`,save:`שמירת השינויים`,discard:`ביטול השינויים`,saved:`רשומה אחת נשמרה. | שתי רשומות נשמרו. | {count} רשומות נשמרו.`,conflict:`רשומה השתנתה מאז שהרשימה נטענה. יש לטעון אותה מחדש ולערוך שוב.`,leaveTitle:`לבטל שינוי אחד שלא נשמר? | לבטל שני שינויים שלא נשמרו? | לבטל {count} שינויים שלא נשמרו?`,leaveText:`יציאה מהרשימה תבטל את העריכות שלא נשמרו.`}},record:{unknownResource:`משאב לא מוכר`,new:`חדש`,newTitle:`יצירת {label}`,editTitle:`עריכת {title}`,createNotAllowed:`משאב זה אינו מאפשר ליצור כאן רשומות.`,editNotAllowed:`אין לך הרשאה לערוך רשומה זו.`,saved:`הרשומה מסוג {label} נשמרה.`,duplicate:`שכפול`,copyOf:`עותק של "{title}". ערכים שחייבים להיות ייחודיים, וכן קבצים, מתחילים ריקים.`,variants:{menu:`אפשרויות שמירה נוספות`,saveContinue:`שמירה והמשך עריכה`,createContinue:`יצירה והמשך עריכה`,createAnother:`יצירה והוספת רשומה נוספת`},leave:{title:`לבטל את השינויים?`,text:`יציאה מדף זה תבטל את השינויים שלא נשמרו.`,discard:`ביטול השינויים`},inTrash:`בסל המחזור`,deleteTitle:`למחוק את "{title}" ({noun})?`,deleteForeverTitle:`למחוק לצמיתות את "{title}" ({noun})?`,deleteSoftText:`הרשומה תועבר לסל המחזור וניתן יהיה לשחזר אותה.`,deleteHardText:`לא ניתן לבטל פעולה זו.`,trashed:`הרשומה מסוג {label} הועברה לסל המחזור.`,deleted:`הרשומה מסוג {label} נמחקה.`,restored:`הרשומה מסוג {label} שוחזרה.`,impersonate:{action:`התחזות`,title:`לפעול בשם "{title}"?`,text:`ניתן לראות ולעשות כל מה שמשתמש זה יכול, וכל שינוי יתועד בשמו, בציון שמך כמתחזה.`,started:`הפעולות שלך מתבצעות כעת בשם {title}.`},audit:{title:`היסטוריה`,byUser:`על ידי המשתמש {actor}`,impersonatedBy:`(בהתחזות על ידי {impersonator})`,empty:`אין שינויים מתועדים.`,revert:`החזרה`,revertLabel:`החזרת שינוי זה`,revertTitle:`להחזיר את השינוי?`,revertText:`מחזיר את הערך הקודם של {fields}. גם ההחזרה מתועדת בהיסטוריה.`,reverted:`השינוי הוחזר.`},panel:{attach:`צירוף`,attachTitle:`צירוף {label}`,attachCount:`צירוף {count}`,attached:`צורפו: {count} {label}.`,records:`רשומות`,record:`רשומה`,empty:`אין עדיין {label}.`,detach:`ניתוק`,detachLabel:`ניתוק {title}`,detachTitle:`לנתק את "{title}"?`,detachText:`הרשומה ({target}) נשארת; מוסר רק הקישור שלה לרשומה הנוכחית מסוג {owner}.`,detached:`הקישור אל {title} הוסר.`}},actions:{runOn:`להריץ את {action} על {subject}?`,subjectAll:`כל הרשומות התואמות מסוג {label} ({count})`,subjectAllUncounted:`כל הרשומות התואמות מסוג {label}`,subjectCount:`{count} {label}`,done:`הפעולה "{label}" הושלמה.`,declined:`הפעולה נדחתה.`,redirectRefused:`הפעולה ביקשה לפתוח דף מחוץ לממשק הניהול, והוא לא נפתח.`,downloadStarted:`ההורדה החלה.`,queued:`הפעולה "{label}" נוספה לתור.`},dashboard:{title:`לוח בקרה`,range:`טווח`,loading:`טוען`,percent:`{value}%`,duration:{minutes:`{value} דק׳`,hours:`{value} שע׳`},partition:{empty:`אין נתונים בטווח זה.`},progress:{of:`מתוך {target}`,label:`התקדמות`},stat:{previous:`לעומת {value} קודם לכן`},table:{empty:`אין מה להציג.`,seeAll:`הצגת הכול`},trend:{total:`סה״כ {value}`}},jobs:{title:`משימות`,heading:`משימות רקע`,columns:{job:`משימה`,resource:`משאב`,status:`סטטוס`,progress:`התקדמות`,started:`התחלה`},empty:`אין עדיין משימות. ייצואים וייבואים גדולים ופעולות שנוספו לתור מופיעים כאן.`,kind:{action:`פעולה`,export:`ייצוא`,import:`ייבוא`},status:{queued:`בתור`,running:`בריצה`,done:`הושלמה`,failed:`נכשלה`,stalled:`תקועה`},detail:{pageTitle:`משימה #{id}`,fallbackTitle:`משימה`,started:`החלה: {date}`,finished:`הסתיימה: {date}`,progress:`התקדמות המשימה`,processed:`{processed} עובדו`,processedOfTotal:`{processed} מתוך {total} עובדו`,download:`הורדת {file}`,file:`קובץ`}},settings:{pageTitle:`הגדרות`,heading:`הגדרות`,empty:{title:`אין הגדרות`,text:`לא רשומות הגדרות שחשבון זה יכול לנהל.`},saved:`הגדרות {label} נשמרו.`},fields:{cell:{loading:`טוען את {label}`},keyValue:{key:`מפתח`,value:`ערך`,entry:`פריט {n}`,add:`הוספת פריט`,remove:`הסרת פריט {n}`,more:`+{count} נוספים`,repeated:`בשימוש יותר מפעם אחת: {keys}. נשמר האחרון.`},repeater:{add:`הוספת {label}`,remove:`הסרת {label} {n}`,row:`{label} {n}`,count:`{count} מתוך {max} לכל היותר`,unavailable:`אין לך הרשאה לראות שורות אלה.`},relation:{placeholder:`יש להקליד כדי לחפש`,dependsFirst:`יש לבחור קודם {label}`},upload:{storageKey:`מפתח האחסון של הקובץ.`,tooLarge:`הקובץ גדול מ־{size} MB.`,rejected:`הקובץ {message}`,uploaded:`הקובץ {name} הועלה ({size} KB)`,theFile:`הקובץ`,upTo:`עד {size} MB`,preview:`תצוגה מקדימה של {label}`,remove:`הסרת {label}`},richtext:{toolbar:`עיצוב {label}`,bold:`מודגש`,italic:`נטוי`,underline:`קו תחתון`,strike:`קו חוצה`,code:`קוד`,heading:`כותרת {level}`,bulletList:`רשימת תבליטים`,orderedList:`רשימה ממוספרת`,blockquote:`ציטוט`,codeBlock:`בלוק קוד`,horizontalRule:`קו מפריד`,link:`קישור`,linkUrl:`כתובת הקישור`,linkRefused:`יש להשתמש בקישור מסוג http(s), mailto או בקישור יחסי`,insertTable:`הוספת טבלה`,addRow:`הוספת שורה`,addColumn:`הוספת עמודה`,deleteRow:`מחיקת שורה`,deleteColumn:`מחיקת עמודה`,deleteTable:`מחיקת טבלה`,image:`הוספת תמונה`,undo:`ביטול פעולה`,redo:`ביצוע מחדש`,source:`קוד מקור`,visual:`חזותי`,sourceOf:`קוד המקור של {label}`},rules:{maxLength:`עד {max} תווים`,minLength:`לפחות {min} תווים`,email:`יש להזין כתובת דוא״ל תקינה`,url:`יש להזין URL תקין`,greaterThan:`הערך חייב להיות גדול מ־{limit}`,greaterThanOrEqual:`הערך חייב להיות לפחות {limit}`,lessThan:`הערך חייב להיות קטן מ־{limit}`,lessThanOrEqual:`הערך חייב להיות לכל היותר {limit}`,invalidFormat:`תבנית לא תקינה`,notAllowed:`ערך לא מותר`}}},ar:{common:{save:`حفظ`,cancel:`إلغاء`,create:`إنشاء`,edit:`تعديل`,delete:`حذف`,deleteForever:`حذف نهائي`,restore:`استعادة`,close:`إغلاق`,apply:`تطبيق`,remove:`إزالة`,search:`بحث`,loading:`جارٍ التحميل…`,required:`مطلوب`,none:`—`,yes:`نعم`,no:`لا`,download:`تنزيل`,actions:`الإجراءات`,confirm:`تأكيد`,serverRejected:`رفض الخادم الطلب.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`الإدارة`,account:`الحساب`,signOut:`تسجيل الخروج`,toggleNavigation:`إظهار التنقل أو إخفاؤه`,toggleTheme:`تبديل السمة`,language:`اللغة: {name}`,languageFailed:`تعذّر حفظ اللغة: {error}`,unsupportedDescriptor:`تنشر الواجهة البرمجية الإصدار {version} من الواصف، وهذه الإدارة تقرأ الإصدار {supported}. {remedy}`,version:{mismatch:`إصدار واجهة الإدارة هذه {current}، بينما يتوقع kinetis/vector الإصدار {expected}.`,dismiss:`إخفاء`,hostedRemedy:`شغّل vendor/bin/kinetis vector:install-ui على الخادم، ثم أعد تشغيل العمّال.`,layeredRemedy:`رقِّ {package} إلى الإصدار {version} وأعد البناء.`,layeredRemedyAny:`ثبّت إصدار {package} الذي يتوقعه kinetis/vector هذا وأعد البناء.`},nav:{main:`الرئيسية`,dashboard:`لوحة المعلومات`,jobs:`المهام`,settings:`الإعدادات`,pages:`الصفحات`,badge:`{count} {label}`},page:{unknown:`صفحة غير معروفة`,loading:`جارٍ تحميل الصفحة`},impersonation:{actingAs:`أنت تتصرف باسم {name}.`,anotherUser:`مستخدم آخر`,stop:`إنهاء التصرف باسم مستخدم آخر`,noAccess:`ليس لدى {name} صلاحية الوصول إلى لوحة الإدارة، لذا لا يوجد ما يمكن رؤيته باسمه. تم إنهاء التصرف باسمه.`,noToken:`استجاب التطبيق دون رمز مميز أو إعادة تحميل، لذا لم يتغير شيء.`,ended:`انتهت مدة انتحال الهوية، فعدت إلى حسابك الخاص.`},palette:{placeholder:`البحث في السجلات والموارد…`,records:`السجلات`,resources:`الموارد`,noMatch:`لا توجد سجلات مطابقة`},inbox:{title:`الإشعارات`,markAllRead:`تعليم الكل كمقروء`,empty:`لا شيء بعد`},login:{pageTitle:`تسجيل الدخول · {brand}`,subtitle:`تسجيل الدخول إلى لوحة الإدارة`,email:`البريد الإلكتروني`,password:`كلمة المرور`,submit:`تسجيل الدخول`,invalidEmail:`يُرجى إدخال عنوان بريد إلكتروني صالح`,welcome:`مرحبًا بعودتك، {name}.`,signedOutIdle:`تم تسجيل خروجك بعد {minutes} دقيقة من عدم النشاط. سجّل الدخول مجددًا للمتابعة من حيث توقفت.`,impersonationEnded:`انتهت مدة انتحال الهوية وتعذّر تجديد جلستك الخاصة. سجّل الدخول مجددًا للمتابعة.`},home:{title:`لوحة المعلومات`}},list:{field:`الحقل`,search:`بحث في {label}…`,noSearch:`لا توجد حقول قابلة للبحث`,noGrouping:`بلا تجميع`,groupBy:`تجميع حسب`,groupHeader:`{label}:`,expandGroup:`توسيع المجموعة`,collapseGroup:`طي المجموعة`,trash:{label:`سلة المهملات`,active:`النشطة`,only:`سلة المهملات`,with:`النشطة وسلة المهملات`},exportCsv:`تصدير CSV`,importCsv:`استيراد CSV`,exportQueued:`التصدير كبير فأُضيف إلى قائمة الانتظار؛ سيصلك إشعار عند جاهزيته.`,exportPrepared:`يجري إعداد التصدير؛ سيصلك إشعار عند جاهزيته.`,export:`تصدير`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`لا توجد نتائج مطابقة`,empty:`لا توجد {label} بعد`,summary:{sum:`المجموع`,avg:`المتوسط`,min:`الأدنى`,max:`الأقصى`,count:`العدد`},operation:{deleteTitle:`حذف {count} {noun}؟`,restoreTitle:`استعادة {count} {noun}؟`,forceDeleteTitle:`حذف {count} {noun} نهائيًا؟`,deleteAllTitle:`حذف جميع {noun} المطابقة؟`,restoreAllTitle:`استعادة جميع {noun} المطابقة؟`,forceDeleteAllTitle:`حذف جميع {noun} المطابقة نهائيًا؟`,toTrash:`تُنقل إلى سلة المهملات ويمكن استعادتها.`,irreversible:`لا يمكن التراجع عن هذا الإجراء.`,restored:`تمت استعادة {count} {noun}.`,deleted:`تم حذف {count} {noun}.`},bulk:{allMatching:`جميع العناصر المطابقة ({total})`,allMatchingUncounted:`جميع السجلات المطابقة`,selected:`المحدد: {count}`,selectAllMatching:`تحديد جميع العناصر المطابقة ({total})`,selectAllMatchingUncounted:`تحديد جميع السجلات المطابقة`,onlyChecked:`الصفوف المحددة فقط`,clearSelection:`مسح التحديد`},bulkEdit:{everyMatching:`جميع {noun} المطابقة ({count})`,everyMatchingUncounted:`جميع {noun} المطابقة`,some:`{count} {noun}`,title:`تعديل {subject}`,fieldsToChange:`الحقول المراد تغييرها`,fieldsHint:`تُكتب الحقول المختارة فقط؛ وتبقى كل القيم الأخرى كما هي.`,applyTo:`تطبيق على {count}`,applyToAll:`تطبيق على جميع العناصر المطابقة`,updated:`تم تحديث {count} {noun}.`},columns:{title:`الأعمدة`,moveUp:`نقل لأعلى`,moveDown:`نقل لأسفل`,reset:`إعادة تعيين`},filter:{add:`إضافة عامل تصفية`,condition:`الشرط`,value:`القيمة`,from:`من`,to:`إلى`,commaSeparated:`مفصولة بفواصل`,clear:`مسح`,yes:`نعم`,no:`لا`,and:`و`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`أيٌّ من`,anyOfGroup:`أيٌّ من، المجموعة {n}`,alternative:`البديل {n}`,or:`أو`,orCondition:`أو…`,addAnyOf:`إضافة «أيٌّ من»`,addToAlternative:`إضافة شرط إلى البديل {n}`,removeGroup:`إزالة المجموعة {n}`,advanced:`شرط متقدم`,operators:{eq:`يساوي`,ne:`لا يساوي`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`أيٌّ من`,nin:`ليس أيًّا من`,like:`يحتوي على`,nlike:`لا يحتوي على`,between:`بين`,null:`فارغ`,nnull:`غير فارغ`}},views:{menu:`طرق العرض`,allRecords:`جميع السجلات`,default:`الافتراضية`,updateWithCurrent:`تحديث طريقة العرض بالقائمة الحالية`,delete:`حذف طريقة العرض`,deleteTitle:`حذف طريقة العرض «{name}»؟`,saveCurrent:`حفظ الحالية كطريقة عرض…`,saveTitle:`حفظ طريقة العرض`,updateTitle:`تحديث «{name}»`,name:`الاسم`,share:`مشاركة مع جميع المسؤولين`,openWith:`فتح هذا المورد بطريقة العرض هذه`,openWithForEveryone:`فتحه بهذه الطريقة لكل من ليست لديه طريقة عرض افتراضية خاصة به`,shareFirst:`تجب مشاركة طريقة العرض لجعلها الافتراضية للجميع.`,everyoneDefault:`الافتراضية للجميع`,saved:`تم حفظ طريقة العرض «{name}».`},import:{title:`استيراد {label}`,file:`ملف CSV`,analyse:`تحليل`,instructions:"عدد الصفوف: {rows}. يمكن ربط كل عمود بحقل، أو تركه دون ربط لتخطيه. يقبل عمود `manyToMany` معرّفات مفصولة بـ `{pipe}`.",csvColumn:`عمود CSV`,sample:`عيّنة`,skip:`— تخطٍّ —`,start:`استيراد الصفوف ({rows})`,queued:`أُضيف استيراد الصفوف ({rows}) إلى قائمة الانتظار.`,mode:`الصفوف`,modes:{create:`إنشاء سجلات جديدة`,update:`تحديث السجلات الموجودة`,upsert:`تحديث أو إنشاء`},key:`مطابقة الصفوف حسب`,noKey:`يجب أولًا ربط عمود بالمفتاح أو بحقل فريد.`,modeHelp:{update:`يحدّث كل صف السجل الذي تطابق قيمته؛ والصف الذي لا يطابق أي سجل يُنقل إلى ملف الصفوف الفاشلة.`,upsert:`يحدّث كل صف السجل الذي تطابق قيمته، أو ينشئ سجلًا جديدًا إذا لم يطابق أي سجل.`}},pager:{page:`الصفحة {page}`},page:{create:`إنشاء {noun}`,unknown:`مورد غير معروف`,unknownText:`لا يوجد شيء مسجّل باسم «{slug}».`},inline:{editLabel:`تعديل {label}`,pending:`لا توجد تغييرات غير محفوظة | تغيير واحد غير محفوظ | تغييران غير محفوظين | {count} تغييرات غير محفوظة | {count} تغييرًا غير محفوظ | {count} تغيير غير محفوظ`,save:`حفظ التغييرات`,discard:`تجاهل`,saved:`لم يُحفظ أي سجل. | تم حفظ سجل واحد. | تم حفظ سجلين. | تم حفظ {count} سجلات. | تم حفظ {count} سجلًا. | تم حفظ {count} سجل.`,conflict:`تغيّر أحد السجلات منذ تحميل القائمة. يجب إعادة تحميله وتعديله مجددًا.`,leaveTitle:`تجاهل التغييرات غير المحفوظة؟ | تجاهل تغيير واحد غير محفوظ؟ | تجاهل تغييرين غير محفوظين؟ | تجاهل {count} تغييرات غير محفوظة؟ | تجاهل {count} تغييرًا غير محفوظ؟ | تجاهل {count} تغيير غير محفوظ؟`,leaveText:`تؤدي مغادرة القائمة إلى فقدان التعديلات غير المحفوظة.`}},record:{unknownResource:`مورد غير معروف`,new:`جديد`,newTitle:`إنشاء {label}`,editTitle:`تعديل {title}`,createNotAllowed:`لا يسمح هذا المورد بإنشاء سجلات هنا.`,editNotAllowed:`لا يُسمح لك بتعديل هذا السجل.`,saved:`تم حفظ {label}.`,duplicate:`تكرار`,copyOf:`نسخة من «{title}». القيم التي يجب أن تكون فريدة والملفات تبدأ فارغة.`,variants:{menu:`طرق حفظ أخرى`,saveContinue:`حفظ ومتابعة التعديل`,createContinue:`إنشاء ومتابعة التعديل`,createAnother:`إنشاء وإضافة آخر`},leave:{title:`تجاهل التغييرات؟`,text:`تؤدي مغادرة هذه الصفحة إلى فقدان التغييرات غير المحفوظة.`,discard:`تجاهل`},inTrash:`في سلة المهملات`,deleteTitle:`حذف {noun} «{title}»؟`,deleteForeverTitle:`حذف {noun} «{title}» نهائيًا؟`,deleteSoftText:`يُنقل إلى سلة المهملات ويمكن استعادته.`,deleteHardText:`لا يمكن التراجع عن هذا الإجراء.`,trashed:`نُقل {label} إلى سلة المهملات.`,deleted:`تم حذف {label}.`,restored:`تمت استعادة {label}.`,impersonate:{action:`التصرف باسم المستخدم`,title:`التصرف باسم «{title}»؟`,text:`سترى وتفعل ما يمكن لهذا المستخدم فعله، ويُسجَّل كل تغيير باسمه، مع الإشارة إلى أنك من تصرّف باسمه.`,started:`أنت الآن تتصرف باسم {title}.`},audit:{title:`سجل التغييرات`,byUser:`بواسطة المستخدم {actor}`,impersonatedBy:`(نيابةً عنه: {impersonator})`,empty:`لا توجد تغييرات مسجّلة.`,revert:`إرجاع`,revertLabel:`إرجاع هذا التغيير`,revertTitle:`إرجاع هذا التغيير؟`,revertText:`يعيد القيمة السابقة لـ {fields}. ويُسجَّل الإرجاع في سجل التغييرات أيضًا.`,reverted:`تم إرجاع التغيير.`},panel:{attach:`ربط`,attachTitle:`ربط {label}`,attachCount:`ربط {count}`,attached:`تم ربط {count} {label}.`,records:`سجلات`,record:`سجل`,empty:`لا توجد {label} بعد.`,detach:`فك الربط`,detachLabel:`فك ربط {title}`,detachTitle:`فك ربط «{title}»؟`,detachText:`يبقى {target}؛ ولا يُزال سوى ارتباطه بهذا {owner}.`,detached:`تم فك ربط {title}.`}},actions:{runOn:`تنفيذ {action} على {subject}؟`,subjectAll:`جميع {label} المطابقة ({count})`,subjectAllUncounted:`جميع {label} المطابقة`,subjectCount:`{count} {label}`,done:`تم تنفيذ {label}.`,declined:`رُفض الإجراء.`,redirectRefused:`طلب الإجراء فتح صفحة خارج لوحة الإدارة، ولم تُفتح.`,downloadStarted:`بدأ التنزيل.`,queued:`أُضيف {label} إلى قائمة الانتظار.`},dashboard:{title:`لوحة المعلومات`,range:`النطاق`,loading:`جارٍ التحميل`,percent:`{value}%`,duration:{minutes:`{value} دقيقة`,hours:`{value} ساعة`},partition:{empty:`لا شيء في هذا النطاق.`},progress:{of:`من {target}`,label:`التقدم`},stat:{previous:`مقابل {value} سابقًا`},table:{empty:`لا شيء لعرضه.`,seeAll:`عرض الكل`},trend:{total:`الإجمالي {value}`}},jobs:{title:`المهام`,heading:`مهام الخلفية`,columns:{job:`المهمة`,resource:`المورد`,status:`الحالة`,progress:`التقدم`,started:`وقت البدء`},empty:`لا توجد مهام بعد. تظهر هنا عمليات التصدير والاستيراد الكبيرة والإجراءات الموضوعة في قائمة الانتظار.`,kind:{action:`إجراء`,export:`تصدير`,import:`استيراد`},status:{queued:`في قائمة الانتظار`,running:`قيد التشغيل`,done:`مكتملة`,failed:`فاشلة`,stalled:`متوقفة`},detail:{pageTitle:`المهمة #{id}`,fallbackTitle:`مهمة`,started:`بدأت {date}`,finished:`انتهت {date}`,progress:`تقدم المهمة`,processed:`تمت معالجة {processed}`,processedOfTotal:`تمت معالجة {processed} من {total}`,download:`تنزيل {file}`,file:`الملف`}},settings:{pageTitle:`الإعدادات`,heading:`الإعدادات`,empty:{title:`لا توجد إعدادات`,text:`لا يوجد شيء مسجّل لإدارته في هذا الحساب.`},saved:`تم حفظ {label}.`},fields:{cell:{loading:`جارٍ تحميل {label}`},keyValue:{key:`المفتاح`,value:`القيمة`,entry:`الإدخال {n}`,add:`إضافة إدخال`,remove:`إزالة الإدخال {n}`,more:`+{count} أخرى`,repeated:`مستخدم أكثر من مرة: {keys}. يُحتفظ بالأخير.`},repeater:{add:`إضافة {label}`,remove:`إزالة {label} {n}`,row:`{label} {n}`,count:`{count} من {max} كحد أقصى`,unavailable:`لا يمكنك رؤية هذه الصفوف.`},relation:{placeholder:`اكتب للبحث`,dependsFirst:`يُرجى اختيار {label} أولًا`},upload:{storageKey:`مفتاح تخزين الملف.`,tooLarge:`حجم الملف أكبر من {size} ميغابايت.`,rejected:`الملف {message}`,uploaded:`تم رفع {name} ({size} كيلوبايت)`,theFile:`الملف`,upTo:`حتى {size} ميغابايت`,preview:`معاينة {label}`,remove:`إزالة {label}`},richtext:{toolbar:`تنسيق {label}`,bold:`غامق`,italic:`مائل`,underline:`تسطير`,strike:`يتوسطه خط`,code:`تعليمات برمجية`,heading:`عنوان {level}`,bulletList:`قائمة نقطية`,orderedList:`قائمة مرقمة`,blockquote:`اقتباس`,codeBlock:`كتلة تعليمات برمجية`,horizontalRule:`فاصل`,link:`رابط`,linkUrl:`عنوان الرابط`,linkRefused:`يُرجى استخدام رابط http(s) أو mailto أو رابط نسبي`,insertTable:`إدراج جدول`,addRow:`إضافة صف`,addColumn:`إضافة عمود`,deleteRow:`حذف الصف`,deleteColumn:`حذف العمود`,deleteTable:`حذف الجدول`,image:`إدراج صورة`,undo:`تراجع`,redo:`إعادة`,source:`المصدر`,visual:`مرئي`,sourceOf:`مصدر {label}`},rules:{maxLength:`بحد أقصى {max} من الأحرف`,minLength:`بحد أدنى {min} من الأحرف`,email:`يُرجى إدخال عنوان بريد إلكتروني صالح`,url:`يُرجى إدخال عنوان URL صالح`,greaterThan:`يجب أن تكون القيمة أكبر من {limit}`,greaterThanOrEqual:`يجب ألا تقل القيمة عن {limit}`,lessThan:`يجب أن تكون القيمة أقل من {limit}`,lessThanOrEqual:`يجب ألا تزيد القيمة على {limit}`,invalidFormat:`تنسيق غير صالح`,notAllowed:`قيمة غير مسموح بها`}}},ko:{common:{save:`저장`,cancel:`취소`,create:`생성`,edit:`편집`,delete:`삭제`,deleteForever:`영구 삭제`,restore:`복원`,close:`닫기`,apply:`적용`,remove:`제거`,search:`검색`,loading:`불러오는 중…`,required:`필수`,none:`—`,yes:`예`,no:`아니요`,download:`다운로드`,actions:`액션`,confirm:`확인`,serverRejected:`서버가 요청을 거부했습니다.`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`관리자`,account:`계정`,signOut:`로그아웃`,toggleNavigation:`탐색 메뉴 전환`,toggleTheme:`테마 전환`,language:`언어: {name}`,languageFailed:`언어를 저장할 수 없습니다: {error}`,unsupportedDescriptor:`API가 디스크립터 버전 {version}을(를) 게시하지만 이 관리자는 버전 {supported}을(를) 읽습니다. {remedy}`,version:{mismatch:`이 관리자 UI는 버전 {current}이지만 kinetis/vector는 {expected}을(를) 기대합니다.`,dismiss:`닫기`,hostedRemedy:`서버에서 vendor/bin/kinetis vector:install-ui를 실행한 뒤 워커를 다시 시작하세요.`,layeredRemedy:`{package}을(를) {version}(으)로 업그레이드하고 다시 빌드하세요.`,layeredRemedyAny:`이 kinetis/vector가 기대하는 {package} 릴리스를 설치하고 다시 빌드하세요.`},nav:{main:`메인`,dashboard:`대시보드`,jobs:`작업`,settings:`설정`,pages:`페이지`,badge:`{label} {count}개`},page:{unknown:`알 수 없는 페이지`,loading:`페이지를 불러오는 중`},impersonation:{actingAs:`{name} 계정으로 작업하고 있습니다.`,anotherUser:`다른 사용자`,stop:`대리 로그인 종료`,noAccess:`{name} 계정은 관리자 화면에 접근할 수 없어 해당 사용자로 볼 수 있는 내용이 없습니다. 대리 로그인이 종료되었습니다.`,noToken:`애플리케이션이 토큰이나 새로고침 없이 응답하여 아무것도 변경되지 않았습니다.`,ended:`대리 접속이 만료되어 본인 계정으로 돌아왔습니다.`},palette:{placeholder:`레코드 및 리소스 검색…`,records:`레코드`,resources:`리소스`,noMatch:`일치하는 레코드가 없습니다`},inbox:{title:`알림`,markAllRead:`모두 읽음으로 표시`,empty:`아직 알림이 없습니다`},login:{pageTitle:`로그인 · {brand}`,subtitle:`관리자 화면에 로그인`,email:`이메일`,password:`비밀번호`,submit:`로그인`,invalidEmail:`올바른 이메일 주소를 입력하세요`,welcome:`{name}님, 다시 오신 것을 환영합니다.`,signedOutIdle:`{minutes}분 동안 활동이 없어 로그아웃되었습니다. 다시 로그인하면 중단한 곳에서 계속할 수 있습니다.`,impersonationEnded:`대리 접속이 만료되었고 본인 세션을 갱신할 수 없었습니다. 계속하려면 다시 로그인하세요.`},home:{title:`대시보드`}},list:{field:`필드`,search:`{label} 검색…`,noSearch:`검색 가능한 필드 없음`,noGrouping:`그룹 없음`,groupBy:`그룹 기준`,groupHeader:`{label}:`,expandGroup:`그룹 펼치기`,collapseGroup:`그룹 접기`,trash:{label:`휴지통`,active:`활성`,only:`휴지통`,with:`활성 및 휴지통`},exportCsv:`CSV 내보내기`,importCsv:`CSV 가져오기`,exportQueued:`내보낼 데이터가 많아 대기열에 추가되었습니다. 준비되면 알려 드립니다.`,exportPrepared:`내보내기를 준비하고 있습니다. 준비되면 알려 드립니다.`,export:`내보내기`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`일치하는 항목 없음`,empty:`아직 {label} 항목이 없습니다`,summary:{sum:`합계`,avg:`평균`,min:`최소`,max:`최대`,count:`개수`},operation:{deleteTitle:`{noun} {count}개를 삭제하시겠습니까?`,restoreTitle:`{noun} {count}개를 복원하시겠습니까?`,forceDeleteTitle:`{noun} {count}개를 영구 삭제하시겠습니까?`,deleteAllTitle:`일치하는 {noun} 모두를 삭제하시겠습니까?`,restoreAllTitle:`일치하는 {noun} 모두를 복원하시겠습니까?`,forceDeleteAllTitle:`일치하는 {noun} 모두를 영구 삭제하시겠습니까?`,toTrash:`휴지통으로 이동되며 복원할 수 있습니다.`,irreversible:`이 작업은 되돌릴 수 없습니다.`,restored:`{noun} {count}개를 복원했습니다.`,deleted:`{noun} {count}개를 삭제했습니다.`},bulk:{allMatching:`일치하는 {total}개 모두`,allMatchingUncounted:`일치하는 모든 레코드`,selected:`{count}개 선택됨`,selectAllMatching:`일치하는 {total}개 모두 선택`,selectAllMatchingUncounted:`일치하는 모든 레코드 선택`,onlyChecked:`선택한 행만`,clearSelection:`선택 해제`},bulkEdit:{everyMatching:`일치하는 모든 {noun} ({count})`,everyMatchingUncounted:`일치하는 모든 {noun}`,some:`{noun} {count}개`,title:`{subject} 편집`,fieldsToChange:`변경할 필드`,fieldsHint:`선택한 필드만 저장되며, 다른 값은 모두 그대로 유지됩니다.`,applyTo:`{count}개에 적용`,applyToAll:`일치하는 모든 항목에 적용`,updated:`{noun} {count}개를 업데이트했습니다.`},columns:{title:`열`,moveUp:`위로 이동`,moveDown:`아래로 이동`,reset:`초기화`},filter:{add:`필터 추가`,condition:`조건`,value:`값`,from:`시작`,to:`끝`,commaSeparated:`쉼표로 구분`,clear:`지우기`,yes:`예`,no:`아니요`,and:`그리고`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`다음 중 하나`,anyOfGroup:`다음 중 하나, 그룹 {n}`,alternative:`대안 {n}`,or:`또는`,orCondition:`또는…`,addAnyOf:`“다음 중 하나” 추가`,addToAlternative:`대안 {n}에 조건 추가`,removeGroup:`그룹 {n} 제거`,advanced:`고급 조건`,operators:{eq:`같음`,ne:`같지 않음`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`다음 중 하나임`,nin:`다음 중 어느 것도 아님`,like:`포함`,nlike:`포함하지 않음`,between:`범위 내`,null:`비어 있음`,nnull:`비어 있지 않음`}},views:{menu:`보기`,allRecords:`모든 레코드`,default:`기본값`,updateWithCurrent:`현재 목록으로 보기 업데이트`,delete:`보기 삭제`,deleteTitle:`“{name}” 보기를 삭제하시겠습니까?`,saveCurrent:`현재 상태를 보기로 저장…`,saveTitle:`보기 저장`,updateTitle:`“{name}” 업데이트`,name:`이름`,share:`모든 관리자와 공유`,openWith:`이 리소스를 이 보기로 열기`,openWithForEveryone:`자체 기본값이 없는 모든 사용자에게 이 방식으로 열기`,shareFirst:`모든 사용자의 기본값으로 지정하려면 먼저 보기를 공유하세요.`,everyoneDefault:`모든 사용자의 기본값`,saved:`“{name}” 보기를 저장했습니다.`},import:{title:`{label} 가져오기`,file:`CSV 파일`,analyse:`분석`,instructions:"{rows}개 행. 각 열을 필드에 매핑하거나, 건너뛰려면 매핑하지 않은 상태로 두세요. `manyToMany` 열에는 `{pipe}` 기호로 구분된 식별자를 입력합니다.",csvColumn:`CSV 열`,sample:`샘플`,skip:`— 건너뛰기 —`,start:`{rows}개 행 가져오기`,queued:`{rows}개 행 가져오기가 대기열에 추가되었습니다.`,mode:`행`,modes:{create:`새 레코드 생성`,update:`기존 레코드 업데이트`,upsert:`업데이트 또는 생성`},key:`행 일치 기준`,noKey:`먼저 열을 키 또는 고유 필드에 매핑하세요.`,modeHelp:{update:`각 행은 값이 일치하는 레코드를 업데이트합니다. 일치하는 레코드가 없는 행은 실패한 행 파일로 이동합니다.`,upsert:`각 행은 값이 일치하는 레코드를 업데이트하거나, 일치하는 레코드가 없으면 새로 만듭니다.`}},pager:{page:`{page}페이지`},page:{create:`새 {noun}`,unknown:`알 수 없는 리소스`,unknownText:`“{slug}” 이름으로 등록된 항목이 없습니다.`},inline:{editLabel:`{label} 편집`,pending:`저장되지 않은 변경 사항 {count}개`,save:`변경 사항 저장`,discard:`버리기`,saved:`레코드 {count}개를 저장했습니다.`,conflict:`목록을 불러온 후 레코드가 변경되었습니다. 다시 불러온 후 편집하세요.`,leaveTitle:`저장되지 않은 변경 사항 {count}개를 버리시겠습니까?`,leaveText:`목록을 떠나면 저장하지 않은 편집 내용이 사라집니다.`}},record:{unknownResource:`알 수 없는 리소스`,new:`새로 만들기`,newTitle:`새 {label}`,editTitle:`{title} 편집`,createNotAllowed:`이 리소스에서는 여기서 레코드를 만들 수 없습니다.`,editNotAllowed:`이 레코드를 편집할 권한이 없습니다.`,saved:`{label}을(를) 저장했습니다.`,duplicate:`복제`,copyOf:`“{title}”의 사본입니다. 고유해야 하는 값과 파일은 비어 있는 상태로 시작합니다.`,variants:{menu:`다른 저장 방법`,saveContinue:`저장 후 계속 편집`,createContinue:`생성 후 계속 편집`,createAnother:`생성 후 새로 추가`},leave:{title:`변경 사항을 버리시겠습니까?`,text:`이 페이지를 떠나면 저장하지 않은 변경 사항이 사라집니다.`,discard:`버리기`},inTrash:`휴지통에 있음`,deleteTitle:`{noun} “{title}”을(를) 삭제하시겠습니까?`,deleteForeverTitle:`{noun} “{title}”을(를) 영구 삭제하시겠습니까?`,deleteSoftText:`휴지통으로 이동되며 복원할 수 있습니다.`,deleteHardText:`이 작업은 되돌릴 수 없습니다.`,trashed:`{label}을(를) 휴지통으로 이동했습니다.`,deleted:`{label}을(를) 삭제했습니다.`,restored:`{label}을(를) 복원했습니다.`,impersonate:{action:`대리 로그인`,title:`“{title}” 계정으로 작업하시겠습니까?`,text:`해당 사용자가 할 수 있는 것을 보고 수행하게 되며, 모든 변경 사항은 해당 사용자의 것으로 기록되고 본인은 대리 사용자로 함께 기록됩니다.`,started:`이제 {title} 계정으로 작업하고 있습니다.`},audit:{title:`변경 기록`,byUser:`사용자 {actor}`,impersonatedBy:`({impersonator}의 대리 작업)`,empty:`기록된 변경 사항이 없습니다.`,revert:`되돌리기`,revertLabel:`이 변경 되돌리기`,revertTitle:`이 변경을 되돌리시겠습니까?`,revertText:`{fields}의 이전 값을 복원합니다. 되돌린 내용도 기록에 남습니다.`,reverted:`변경을 되돌렸습니다.`},panel:{attach:`연결`,attachTitle:`{label} 연결`,attachCount:`{count}개 연결`,attached:`{label} {count}개를 연결했습니다.`,records:`레코드`,record:`레코드`,empty:`아직 {label} 항목이 없습니다.`,detach:`연결 해제`,detachLabel:`{title} 연결 해제`,detachTitle:`“{title}” 연결을 해제하시겠습니까?`,detachText:`{target} 레코드는 그대로 유지되며, 이 {owner}과(와)의 연결만 제거됩니다.`,detached:`{title} 연결을 해제했습니다.`}},actions:{runOn:`{subject}에 대해 {action}을(를) 실행하시겠습니까?`,subjectAll:`일치하는 모든 {label} ({count})`,subjectAllUncounted:`일치하는 모든 {label}`,subjectCount:`{label} {count}개`,done:`{label} 작업을 완료했습니다.`,declined:`액션이 거부되었습니다.`,redirectRefused:`액션이 관리자 밖의 페이지를 열려고 해서 열지 않았습니다.`,downloadStarted:`다운로드가 시작되었습니다.`,queued:`{label} 작업이 대기열에 추가되었습니다.`},dashboard:{title:`대시보드`,range:`기간`,loading:`불러오는 중`,percent:`{value}%`,duration:{minutes:`{value}분`,hours:`{value}시간`},partition:{empty:`이 기간에는 데이터가 없습니다.`},progress:{of:`/ {target}`,label:`진행률`},stat:{previous:`이전 {value} 대비`},table:{empty:`표시할 항목이 없습니다.`,seeAll:`모두 보기`},trend:{total:`합계 {value}`}},jobs:{title:`작업`,heading:`백그라운드 작업`,columns:{job:`작업`,resource:`리소스`,status:`상태`,progress:`진행률`,started:`시작 시간`},empty:`아직 작업이 없습니다. 대용량 내보내기, 가져오기 및 대기열에 추가된 액션이 여기에 표시됩니다.`,kind:{action:`액션`,export:`내보내기`,import:`가져오기`},status:{queued:`대기 중`,running:`실행 중`,done:`완료`,failed:`실패`,stalled:`중단됨`},detail:{pageTitle:`작업 #{id}`,fallbackTitle:`작업`,started:`{date} 시작`,finished:`{date} 완료`,progress:`작업 진행률`,processed:`{processed}건 처리됨`,processedOfTotal:`{total}건 중 {processed}건 처리됨`,download:`{file} 다운로드`,file:`파일`}},settings:{pageTitle:`설정`,heading:`설정`,empty:{title:`설정 없음`,text:`이 계정에서 관리할 항목이 등록되어 있지 않습니다.`},saved:`{label}을(를) 저장했습니다.`},fields:{cell:{loading:`{label} 불러오는 중`},keyValue:{key:`키`,value:`값`,entry:`항목 {n}`,add:`항목 추가`,remove:`항목 {n} 제거`,more:`+{count}개 더 보기`,repeated:`두 번 이상 사용됨: {keys}. 마지막 항목이 유지됩니다.`},repeater:{add:`{label} 추가`,remove:`{label} {n} 제거`,row:`{label} {n}`,count:`{count} / 최대 {max}`,unavailable:`이 행을 볼 수 있는 권한이 없습니다.`},relation:{placeholder:`입력하여 검색`,dependsFirst:`먼저 {label} 항목을 선택하세요`},upload:{storageKey:`파일의 저장소 키입니다.`,tooLarge:`파일 크기가 {size} MB를 초과합니다.`,rejected:`파일 오류: {message}`,uploaded:`{name} 업로드됨 ({size} KB)`,theFile:`파일`,upTo:`최대 {size} MB`,preview:`{label} 미리보기`,remove:`{label} 제거`},richtext:{toolbar:`{label} 서식`,bold:`굵게`,italic:`기울임꼴`,underline:`밑줄`,strike:`취소선`,code:`코드`,heading:`제목 {level}`,bulletList:`글머리 기호 목록`,orderedList:`번호 매기기 목록`,blockquote:`인용`,codeBlock:`코드 블록`,horizontalRule:`구분선`,link:`링크`,linkUrl:`링크 주소`,linkRefused:`http(s), mailto 또는 상대 링크를 사용하세요`,insertTable:`표 삽입`,addRow:`행 추가`,addColumn:`열 추가`,deleteRow:`행 삭제`,deleteColumn:`열 삭제`,deleteTable:`표 삭제`,image:`이미지 삽입`,undo:`실행 취소`,redo:`다시 실행`,source:`소스`,visual:`비주얼`,sourceOf:`{label} 소스`},rules:{maxLength:`최대 {max}자`,minLength:`최소 {min}자`,email:`올바른 이메일 주소를 입력하세요`,url:`올바른 URL을 입력하세요`,greaterThan:`{limit}보다 커야 합니다`,greaterThanOrEqual:`{limit} 이상이어야 합니다`,lessThan:`{limit}보다 작아야 합니다`,lessThanOrEqual:`{limit} 이하여야 합니다`,invalidFormat:`잘못된 형식`,notAllowed:`허용되지 않는 값`}}},ja:{common:{save:`保存`,cancel:`キャンセル`,create:`作成`,edit:`編集`,delete:`削除`,deleteForever:`完全に削除`,restore:`復元`,close:`閉じる`,apply:`適用`,remove:`削除`,search:`検索`,loading:`読み込み中…`,required:`必須`,none:`—`,yes:`はい`,no:`いいえ`,download:`ダウンロード`,actions:`アクション`,confirm:`確認`,serverRejected:`サーバーがリクエストを拒否しました。`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`管理画面`,account:`アカウント`,signOut:`ログアウト`,toggleNavigation:`ナビゲーションの切り替え`,toggleTheme:`テーマの切り替え`,language:`言語:{name}`,languageFailed:`言語を保存できませんでした:{error}`,unsupportedDescriptor:`API はディスクリプタのバージョン {version} を公開していますが、この管理画面が読めるのはバージョン {supported} です。{remedy}`,version:{mismatch:`この管理画面のバージョンは {current} ですが、kinetis/vector は {expected} を想定しています。`,dismiss:`閉じる`,hostedRemedy:`サーバーで vendor/bin/kinetis vector:install-ui を実行し、ワーカーを再起動してください。`,layeredRemedy:`{package} を {version} にアップグレードして再ビルドしてください。`,layeredRemedyAny:`この kinetis/vector が想定する {package} のリリースをインストールして再ビルドしてください。`},nav:{main:`メイン`,dashboard:`ダッシュボード`,jobs:`ジョブ`,settings:`設定`,pages:`ページ`,badge:`{count} {label}`},page:{unknown:`不明なページ`,loading:`ページを読み込み中`},impersonation:{actingAs:`{name} として操作しています。`,anotherUser:`別のユーザー`,stop:`代理操作を終了`,noAccess:`{name} は管理画面へのアクセス権がないため、表示できる内容がありません。代理操作を終了しました。`,noToken:`アプリケーションがトークンも再読み込みも返さなかったため、何も変更されていません。`,ended:`なりすましの有効期限が切れたため、ご自身のアカウントに戻りました。`},palette:{placeholder:`レコードとリソースを検索…`,records:`レコード`,resources:`リソース`,noMatch:`一致するレコードがありません`},inbox:{title:`通知`,markAllRead:`すべて既読にする`,empty:`まだ何もありません`},login:{pageTitle:`ログイン · {brand}`,subtitle:`管理画面にログイン`,email:`メールアドレス`,password:`パスワード`,submit:`ログイン`,invalidEmail:`有効なメールアドレスを入力してください`,welcome:`おかえりなさい、{name} さん。`,signedOutIdle:`{minutes} 分間操作がなかったためサインアウトしました。もう一度サインインすると、続きから再開できます。`,impersonationEnded:`なりすましの有効期限が切れ、ご自身のセッションを更新できませんでした。続けるには再度サインインしてください。`},home:{title:`ダッシュボード`}},list:{field:`フィールド`,search:`{label} を検索…`,noSearch:`検索可能なフィールドがありません`,noGrouping:`グループ化なし`,groupBy:`グループ化`,groupHeader:`{label}:`,expandGroup:`グループを展開`,collapseGroup:`グループを折りたたむ`,trash:{label:`ゴミ箱`,active:`有効`,only:`ゴミ箱`,with:`有効とゴミ箱`},exportCsv:`CSV をエクスポート`,importCsv:`CSV をインポート`,exportQueued:`エクスポートのデータ量が多いため、キューに追加しました。準備ができたら通知されます。`,exportPrepared:`エクスポートを準備しています。準備ができたら通知されます。`,export:`エクスポート`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`一致する項目がありません`,empty:`{label} はまだありません`,summary:{sum:`合計`,avg:`平均`,min:`最小`,max:`最大`,count:`件数`},operation:{deleteTitle:`{count} 件の{noun}を削除しますか?`,restoreTitle:`{count} 件の{noun}を復元しますか?`,forceDeleteTitle:`{count} 件の{noun}を完全に削除しますか?`,deleteAllTitle:`一致するすべての{noun}を削除しますか?`,restoreAllTitle:`一致するすべての{noun}を復元しますか?`,forceDeleteAllTitle:`一致するすべての{noun}を完全に削除しますか?`,toTrash:`ゴミ箱に移動され、後で復元できます。`,irreversible:`この操作は元に戻せません。`,restored:`{count} 件の{noun}を復元しました。`,deleted:`{count} 件の{noun}を削除しました。`},bulk:{allMatching:`一致する全 {total} 件`,allMatchingUncounted:`一致するすべてのレコード`,selected:`{count} 件選択中`,selectAllMatching:`一致する全 {total} 件を選択`,selectAllMatchingUncounted:`一致するすべてのレコードを選択`,onlyChecked:`チェックした行のみ`,clearSelection:`選択を解除`},bulkEdit:{everyMatching:`条件に一致するすべての{noun}({count})`,everyMatchingUncounted:`条件に一致するすべての{noun}`,some:`{count} 件の{noun}`,title:`{subject}を編集`,fieldsToChange:`変更するフィールド`,fieldsHint:`選択したフィールドのみが書き込まれ、その他の値はそのまま保持されます。`,applyTo:`{count} 件に適用`,applyToAll:`一致するすべてに適用`,updated:`{count} 件の{noun}を更新しました。`},columns:{title:`列`,moveUp:`上へ移動`,moveDown:`下へ移動`,reset:`リセット`},filter:{add:`フィルターを追加`,condition:`条件`,value:`値`,from:`開始`,to:`終了`,commaSeparated:`カンマ区切り`,clear:`クリア`,yes:`はい`,no:`いいえ`,and:`かつ`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`いずれか`,anyOfGroup:`いずれか、グループ {n}`,alternative:`候補 {n}`,or:`または`,orCondition:`または…`,addAnyOf:`「いずれか」を追加`,addToAlternative:`候補 {n} に条件を追加`,removeGroup:`グループ {n} を削除`,advanced:`詳細条件`,operators:{eq:`等しい`,ne:`等しくない`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`いずれかに一致`,nin:`いずれにも一致しない`,like:`含む`,nlike:`含まない`,between:`範囲内`,null:`空`,nnull:`空ではない`}},views:{menu:`ビュー`,allRecords:`すべてのレコード`,default:`デフォルト`,updateWithCurrent:`現在のリストでビューを更新`,delete:`ビューを削除`,deleteTitle:`ビュー「{name}」を削除しますか?`,saveCurrent:`現在の表示をビューとして保存…`,saveTitle:`ビューを保存`,updateTitle:`「{name}」を更新`,name:`名前`,share:`すべての管理者と共有`,openWith:`このリソースをこのビューで開く`,openWithForEveryone:`独自のデフォルトを持たないすべてのユーザーに対してこの表示で開く`,shareFirst:`ビューを全員のデフォルトにするには、先に共有してください。`,everyoneDefault:`全員のデフォルト`,saved:`ビュー「{name}」を保存しました。`},import:{title:`{label} をインポート`,file:`CSV ファイル`,analyse:`分析`,instructions:"{rows} 行。各列をフィールドに割り当てるか、割り当てずにスキップしてください。`manyToMany` 列には `{pipe}` で区切った識別子を指定します。",csvColumn:`CSV の列`,sample:`サンプル`,skip:`— スキップ —`,start:`{rows} 行をインポート`,queued:`{rows} 行のインポートをキューに追加しました。`,mode:`行`,modes:{create:`新しいレコードを作成`,update:`既存のレコードを更新`,upsert:`更新または作成`},key:`行の照合キー`,noKey:`先にキーまたは一意のフィールドに列を割り当ててください。`,modeHelp:{update:`各行は値が一致するレコードを更新します。一致しない行は失敗行ファイルに出力されます。`,upsert:`各行は値が一致するレコードを更新し、一致しない場合は新しいレコードを作成します。`}},pager:{page:`{page} ページ`},page:{create:`新規{noun}`,unknown:`不明なリソース`,unknownText:`「{slug}」として登録されているものはありません。`},inline:{editLabel:`{label} を編集`,pending:`未保存の変更 {count} 件`,save:`変更を保存`,discard:`破棄`,saved:`{count} 件のレコードを保存しました。`,conflict:`リストの読み込み後にレコードが変更されました。再読み込みしてから編集し直してください。`,leaveTitle:`未保存の変更 {count} 件を破棄しますか?`,leaveText:`リストを離れると、保存していない編集内容は失われます。`}},record:{unknownResource:`不明なリソース`,new:`新規`,newTitle:`新規{label}`,editTitle:`{title} を編集`,createNotAllowed:`このリソースではここでレコードを作成できません。`,editNotAllowed:`このレコードを編集する権限がありません。`,saved:`{label} を保存しました。`,duplicate:`複製`,copyOf:`「{title}」のコピーです。一意である必要がある値とファイルは空の状態で始まります。`,variants:{menu:`その他の保存方法`,saveContinue:`保存して編集を続ける`,createContinue:`作成して編集を続ける`,createAnother:`作成してもう 1 件追加`},leave:{title:`変更を破棄しますか?`,text:`このページを離れると、保存していない変更は失われます。`,discard:`破棄`},inTrash:`ゴミ箱内`,deleteTitle:`{noun}「{title}」を削除しますか?`,deleteForeverTitle:`{noun}「{title}」を完全に削除しますか?`,deleteSoftText:`ゴミ箱に移動され、後で復元できます。`,deleteHardText:`この操作は元に戻せません。`,trashed:`{label} をゴミ箱に移動しました。`,deleted:`{label} を削除しました。`,restored:`{label} を復元しました。`,impersonate:{action:`代理操作`,title:`「{title}」として操作しますか?`,text:`そのユーザーが閲覧・操作できる範囲で操作でき、すべての変更はそのユーザーによるものとして記録され、あなたが代理操作者として併記されます。`,started:`{title} として操作しています。`},audit:{title:`履歴`,byUser:`ユーザー {actor} による`,impersonatedBy:`({impersonator} が代理操作)`,empty:`記録された変更はありません。`,revert:`元に戻す`,revertLabel:`この変更を元に戻す`,revertTitle:`この変更を元に戻しますか?`,revertText:`{fields} を以前の値に戻します。この取り消しも履歴に記録されます。`,reverted:`変更を元に戻しました。`},panel:{attach:`関連付け`,attachTitle:`{label} を関連付け`,attachCount:`{count} 件を関連付け`,attached:`{count} 件の{label}を関連付けました。`,records:`レコード`,record:`レコード`,empty:`{label} はまだありません。`,detach:`関連付けを解除`,detachLabel:`{title} の関連付けを解除`,detachTitle:`「{title}」の関連付けを解除しますか?`,detachText:`{target} としては残り、この{owner}とのリンクのみが削除されます。`,detached:`{title} の関連付けを解除しました。`}},actions:{runOn:`{subject} に対して {action} を実行しますか?`,subjectAll:`条件に一致するすべての{label}({count})`,subjectAllUncounted:`条件に一致するすべての{label}`,subjectCount:`{count} 件の{label}`,done:`{label} が完了しました。`,declined:`アクションは拒否されました。`,redirectRefused:`アクションが管理画面外のページを開こうとしたため、開きませんでした。`,downloadStarted:`ダウンロードを開始しました。`,queued:`{label} をキューに追加しました。`},dashboard:{title:`ダッシュボード`,range:`期間`,loading:`読み込み中`,percent:`{value}%`,duration:{minutes:`{value} 分`,hours:`{value} 時間`},partition:{empty:`この期間にはデータがありません。`},progress:{of:`/ {target}`,label:`進捗`},stat:{previous:`前期間 {value}`},table:{empty:`表示する項目がありません。`,seeAll:`すべて表示`},trend:{total:`合計 {value}`}},jobs:{title:`ジョブ`,heading:`バックグラウンドジョブ`,columns:{job:`ジョブ`,resource:`リソース`,status:`ステータス`,progress:`進捗`,started:`開始日時`},empty:`ジョブはまだありません。大規模なエクスポート、インポート、キューに追加されたアクションがここに表示されます。`,kind:{action:`アクション`,export:`エクスポート`,import:`インポート`},status:{queued:`待機中`,running:`実行中`,done:`完了`,failed:`失敗`,stalled:`停滞`},detail:{pageTitle:`ジョブ #{id}`,fallbackTitle:`ジョブ`,started:`{date} に開始`,finished:`{date} に終了`,progress:`ジョブの進捗`,processed:`{processed} 件処理済み`,processedOfTotal:`{total} 件中 {processed} 件処理済み`,download:`{file} をダウンロード`,file:`ファイル`}},settings:{pageTitle:`設定`,heading:`設定`,empty:{title:`設定はありません`,text:`このアカウントで管理できる設定は登録されていません。`},saved:`{label} を保存しました。`},fields:{cell:{loading:`{label} を読み込み中`},keyValue:{key:`キー`,value:`値`,entry:`エントリー {n}`,add:`エントリーを追加`,remove:`エントリー {n} を削除`,more:`他 {count} 件`,repeated:`複数回使用されています:{keys}。最後のものが保持されます。`},repeater:{add:`{label} を追加`,remove:`{label} {n} を削除`,row:`{label} {n}`,count:`{count} / 最大 {max}`,unavailable:`これらの行を表示する権限がありません。`},relation:{placeholder:`入力して検索`,dependsFirst:`先に {label} を選択してください`},upload:{storageKey:`ファイルのストレージキー。`,tooLarge:`ファイルが {size} MB を超えています。`,rejected:`ファイル:{message}`,uploaded:`{name}({size} KB)をアップロードしました`,theFile:`ファイル`,upTo:`最大 {size} MB`,preview:`{label} のプレビュー`,remove:`{label} を削除`},richtext:{toolbar:`{label} の書式設定`,bold:`太字`,italic:`斜体`,underline:`下線`,strike:`取り消し線`,code:`コード`,heading:`見出し {level}`,bulletList:`箇条書き`,orderedList:`番号付きリスト`,blockquote:`引用`,codeBlock:`コードブロック`,horizontalRule:`区切り線`,link:`リンク`,linkUrl:`リンク先`,linkRefused:`http(s)、mailto、または相対リンクを使用してください`,insertTable:`表を挿入`,addRow:`行を追加`,addColumn:`列を追加`,deleteRow:`行を削除`,deleteColumn:`列を削除`,deleteTable:`表を削除`,image:`画像を挿入`,undo:`元に戻す`,redo:`やり直す`,source:`ソース`,visual:`ビジュアル`,sourceOf:`{label} のソース`},rules:{maxLength:`{max} 文字以内で入力してください`,minLength:`{min} 文字以上で入力してください`,email:`有効なメールアドレスを入力してください`,url:`有効な URL を入力してください`,greaterThan:`{limit} より大きい値にしてください`,greaterThanOrEqual:`{limit} 以上にしてください`,lessThan:`{limit} より小さい値にしてください`,lessThanOrEqual:`{limit} 以下にしてください`,invalidFormat:`形式が正しくありません`,notAllowed:`許可されていない値です`}}},"zh-Hans":{common:{save:`保存`,cancel:`取消`,create:`创建`,edit:`编辑`,delete:`删除`,deleteForever:`永久删除`,restore:`恢复`,close:`关闭`,apply:`应用`,remove:`移除`,search:`搜索`,loading:`加载中…`,required:`必填`,none:`—`,yes:`是`,no:`否`,download:`下载`,actions:`操作`,confirm:`确认`,serverRejected:`服务器拒绝了该请求。`},shell:{titleTemplate:`{title} · {brand}`,brandSubtitle:`管理后台`,account:`账户`,signOut:`退出登录`,toggleNavigation:`切换导航`,toggleTheme:`切换主题`,language:`语言:{name}`,languageFailed:`无法保存语言:{error}`,unsupportedDescriptor:`API 发布的描述符版本为 {version},而此管理界面读取版本 {supported}。{remedy}`,version:{mismatch:`此管理界面的版本为 {current},而 kinetis/vector 需要 {expected}。`,dismiss:`关闭`,hostedRemedy:`请在服务器上运行 vendor/bin/kinetis vector:install-ui,然后重启 worker。`,layeredRemedy:`请将 {package} 升级到 {version} 并重新构建。`,layeredRemedyAny:`请安装此 kinetis/vector 所需的 {package} 版本并重新构建。`},nav:{main:`主菜单`,dashboard:`仪表盘`,jobs:`任务`,settings:`设置`,pages:`页面`,badge:`{count} 个{label}`},page:{unknown:`未知页面`,loading:`正在加载页面`},impersonation:{actingAs:`你正在以 {name} 的身份操作。`,anotherUser:`其他用户`,stop:`停止模拟登录`,noAccess:`{name} 无权访问管理后台,因此无法以其身份查看任何内容。模拟登录已停止。`,noToken:`应用返回的响应中既没有令牌也没有重新加载,因此未做任何更改。`,ended:`模拟身份已过期,你已回到自己的账户。`},palette:{placeholder:`搜索记录和资源…`,records:`记录`,resources:`资源`,noMatch:`没有匹配的记录`},inbox:{title:`通知`,markAllRead:`全部标为已读`,empty:`暂无内容`},login:{pageTitle:`登录 · {brand}`,subtitle:`登录管理后台`,email:`电子邮件`,password:`密码`,submit:`登录`,invalidEmail:`请输入有效的电子邮件地址`,welcome:`欢迎回来,{name}。`,signedOutIdle:`由于 {minutes} 分钟内没有操作,你已被登出。重新登录即可从上次离开的地方继续。`,impersonationEnded:`模拟身份已过期,且无法续期你自己的会话。请重新登录以继续。`},home:{title:`仪表盘`}},list:{field:`字段`,search:`搜索{label}…`,noSearch:`没有可搜索的字段`,noGrouping:`不分组`,groupBy:`分组依据`,groupHeader:`{label}:`,expandGroup:`展开分组`,collapseGroup:`折叠分组`,trash:{label:`回收站`,active:`正常`,only:`回收站`,with:`正常和回收站`},exportCsv:`导出 CSV`,importCsv:`导入 CSV`,exportQueued:`导出数据量较大,已加入队列;完成后会通知你。`,exportPrepared:`正在准备导出;完成后会通知你。`,export:`导出`,exportFormats:{csv:`CSV`,xlsx:`Excel (XLSX)`},nothingMatches:`没有匹配项`,empty:`暂无{label}`,summary:{sum:`合计`,avg:`平均值`,min:`最小值`,max:`最大值`,count:`计数`},operation:{deleteTitle:`删除 {count} 个{noun}?`,restoreTitle:`恢复 {count} 个{noun}?`,forceDeleteTitle:`永久删除 {count} 个{noun}?`,deleteAllTitle:`删除所有匹配的{noun}?`,restoreAllTitle:`恢复所有匹配的{noun}?`,forceDeleteAllTitle:`永久删除所有匹配的{noun}?`,toTrash:`它们将移至回收站,可以恢复。`,irreversible:`此操作无法撤销。`,restored:`已恢复 {count} 个{noun}。`,deleted:`已删除 {count} 个{noun}。`},bulk:{allMatching:`全部 {total} 个匹配项`,allMatchingUncounted:`所有匹配的记录`,selected:`已选择 {count} 个`,selectAllMatching:`选择全部 {total} 个匹配项`,selectAllMatchingUncounted:`选择所有匹配的记录`,onlyChecked:`仅勾选的行`,clearSelection:`清除选择`},bulkEdit:{everyMatching:`所有匹配的{noun}({count})`,everyMatchingUncounted:`所有匹配的{noun}`,some:`{count} 个{noun}`,title:`编辑{subject}`,fieldsToChange:`要更改的字段`,fieldsHint:`只写入你选择的字段;其他值保持不变。`,applyTo:`应用到 {count} 个`,applyToAll:`应用到所有匹配项`,updated:`已更新 {count} 个{noun}。`},columns:{title:`列`,moveUp:`上移`,moveDown:`下移`,reset:`重置`},filter:{add:`添加筛选`,condition:`条件`,value:`值`,from:`从`,to:`至`,commaSeparated:`以逗号分隔`,clear:`清除`,yes:`是`,no:`否`,and:`且`,chip:`{field} {operator} {value}`,chipNoValue:`{field} {operator}`,anyOf:`任一满足`,anyOfGroup:`任一满足,第 {n} 组`,alternative:`备选 {n}`,or:`或`,orCondition:`或…`,addAnyOf:`添加“任一满足”`,addToAlternative:`向备选 {n} 添加条件`,removeGroup:`移除第 {n} 组`,advanced:`高级条件`,operators:{eq:`等于`,ne:`不等于`,lt:`<`,lte:`≤`,gt:`>`,gte:`≥`,in:`属于任一`,nin:`不属于任一`,like:`包含`,nlike:`不包含`,between:`介于`,null:`为空`,nnull:`不为空`}},views:{menu:`视图`,allRecords:`所有记录`,default:`默认`,updateWithCurrent:`用当前列表更新视图`,delete:`删除视图`,deleteTitle:`删除视图“{name}”?`,saveCurrent:`将当前保存为视图…`,saveTitle:`保存视图`,updateTitle:`更新“{name}”`,name:`名称`,share:`与所有管理员共享`,openWith:`使用此视图打开该资源`,openWithForEveryone:`对所有未设置个人默认视图的人都以此方式打开`,shareFirst:`共享该视图后才能将其设为所有人的默认视图。`,everyoneDefault:`所有人的默认视图`,saved:`视图“{name}”已保存。`},import:{title:`导入{label}`,file:`CSV 文件`,analyse:`分析`,instructions:"共 {rows} 行。将每一列映射到一个字段,或不映射以跳过该列。`manyToMany` 列接受以 `{pipe}` 分隔的标识符。",csvColumn:`CSV 列`,sample:`示例`,skip:`— 跳过 —`,start:`导入 {rows} 行`,queued:`已将 {rows} 行的导入加入队列。`,mode:`行`,modes:{create:`创建新记录`,update:`更新现有记录`,upsert:`更新或创建`},key:`行匹配依据`,noKey:`请先将一列映射到主键或唯一字段。`,modeHelp:{update:`每一行更新值匹配的记录;没有匹配记录的行会写入失败行文件。`,upsert:`每一行更新值匹配的记录;没有匹配时则新建一条记录。`}},pager:{page:`第 {page} 页`},page:{create:`新建{noun}`,unknown:`未知资源`,unknownText:`没有注册为“{slug}”的内容。`},inline:{editLabel:`编辑{label}`,pending:`{count} 项未保存的更改`,save:`保存更改`,discard:`放弃`,saved:`已保存 {count} 条记录。`,conflict:`自列表加载以来有记录已更改。请重新加载后再编辑。`,leaveTitle:`放弃 {count} 项未保存的更改?`,leaveText:`离开列表将丢弃你尚未保存的编辑。`}},record:{unknownResource:`未知资源`,new:`新建`,newTitle:`新建{label}`,editTitle:`编辑{title}`,createNotAllowed:`此资源不允许在此处创建记录。`,editNotAllowed:`你无权编辑此记录。`,saved:`{label}已保存。`,duplicate:`复制`,copyOf:`“{title}”的副本。必须唯一的值和文件初始为空。`,variants:{menu:`更多保存方式`,saveContinue:`保存并继续编辑`,createContinue:`创建并继续编辑`,createAnother:`创建并继续添加`},leave:{title:`放弃你的更改?`,text:`离开此页面将丢弃你尚未保存的更改。`,discard:`放弃`},inTrash:`在回收站中`,deleteTitle:`删除{noun}“{title}”?`,deleteForeverTitle:`永久删除{noun}“{title}”?`,deleteSoftText:`它将移至回收站,可以恢复。`,deleteHardText:`此操作无法撤销。`,trashed:`{label}已移至回收站。`,deleted:`{label}已删除。`,restored:`{label}已恢复。`,impersonate:{action:`模拟登录`,title:`以“{title}”的身份操作?`,text:`你将看到并执行对方权限内的操作,每项更改都会记录为对方所做,并注明你是模拟登录者。`,started:`你现在正以 {title} 的身份操作。`},audit:{title:`历史记录`,byUser:`由用户 {actor}`,impersonatedBy:`(由 {impersonator} 模拟登录)`,empty:`没有已记录的更改。`,revert:`还原`,revertLabel:`还原此更改`,revertTitle:`还原此更改?`,revertText:`恢复 {fields} 的先前值。此次还原也会记录在历史记录中。`,reverted:`更改已还原。`},panel:{attach:`关联`,attachTitle:`关联{label}`,attachCount:`关联 {count} 个`,attached:`已关联 {count} 个{label}。`,records:`记录`,record:`记录`,empty:`暂无{label}。`,detach:`取消关联`,detachLabel:`取消关联{title}`,detachTitle:`取消关联“{title}”?`,detachText:`它仍是一个{target};只会移除它与此{owner}的关联。`,detached:`已取消关联{title}。`}},actions:{runOn:`对{subject}执行{action}?`,subjectAll:`所有匹配的{label}({count})`,subjectAllUncounted:`所有匹配的{label}`,subjectCount:`{count} 个{label}`,done:`{label}已完成。`,declined:`该操作已被拒绝。`,redirectRefused:`该操作要求打开管理后台之外的页面,未予打开。`,downloadStarted:`已开始下载。`,queued:`{label}已加入队列。`},dashboard:{title:`仪表盘`,range:`时间范围`,loading:`加载中`,percent:`{value}%`,duration:{minutes:`{value} 分钟`,hours:`{value} 小时`},partition:{empty:`此范围内没有数据。`},progress:{of:`/ {target}`,label:`进度`},stat:{previous:`之前为 {value}`},table:{empty:`暂无内容。`,seeAll:`查看全部`},trend:{total:`合计 {value}`}},jobs:{title:`任务`,heading:`后台任务`,columns:{job:`任务`,resource:`资源`,status:`状态`,progress:`进度`,started:`开始时间`},empty:`暂无任务。大型导出、导入和排队的操作会显示在这里。`,kind:{action:`操作`,export:`导出`,import:`导入`},status:{queued:`排队中`,running:`运行中`,done:`已完成`,failed:`失败`,stalled:`停滞`},detail:{pageTitle:`任务 #{id}`,fallbackTitle:`任务`,started:`开始于 {date}`,finished:`完成于 {date}`,progress:`任务进度`,processed:`已处理 {processed} 条`,processedOfTotal:`已处理 {processed} / {total} 条`,download:`下载{file}`,file:`文件`}},settings:{pageTitle:`设置`,heading:`设置`,empty:{title:`没有设置`,text:`此账户没有可管理的设置。`},saved:`{label}已保存。`},fields:{cell:{loading:`正在加载{label}`},keyValue:{key:`键`,value:`值`,entry:`条目 {n}`,add:`添加条目`,remove:`移除条目 {n}`,more:`另外 +{count} 项`,repeated:`重复使用:{keys}。将保留最后一个。`},repeater:{add:`添加{label}`,remove:`移除{label} {n}`,row:`{label} {n}`,count:`{count} / 最多 {max}`,unavailable:`你无权查看这些行。`},relation:{placeholder:`输入以搜索`,dependsFirst:`请先选择{label}`},upload:{storageKey:`文件的存储键。`,tooLarge:`文件大于 {size} MB。`,rejected:`文件{message}`,uploaded:`已上传 {name}({size} KB)`,theFile:`该文件`,upTo:`最大 {size} MB`,preview:`{label}预览`,remove:`移除{label}`},richtext:{toolbar:`{label}格式`,bold:`粗体`,italic:`斜体`,underline:`下划线`,strike:`删除线`,code:`代码`,heading:`标题 {level}`,bulletList:`项目符号列表`,orderedList:`编号列表`,blockquote:`引用`,codeBlock:`代码块`,horizontalRule:`分隔线`,link:`链接`,linkUrl:`链接地址`,linkRefused:`请使用 http(s)、mailto 或相对链接`,insertTable:`插入表格`,addRow:`添加行`,addColumn:`添加列`,deleteRow:`删除行`,deleteColumn:`删除列`,deleteTable:`删除表格`,image:`插入图片`,undo:`撤销`,redo:`重做`,source:`源码`,visual:`可视化`,sourceOf:`{label}源码`},rules:{maxLength:`最多 {max} 个字符`,minLength:`至少 {min} 个字符`,email:`请输入有效的电子邮件地址`,url:`请输入有效的 URL`,greaterThan:`必须大于 {limit}`,greaterThanOrEqual:`必须至少为 {limit}`,lessThan:`必须小于 {limit}`,lessThanOrEqual:`必须最多为 {limit}`,invalidFormat:`格式无效`,notAllowed:`不是允许的值`}}}},pp=[`ar`,`fa`,`he`,`ur`,`yi`];function mp(e){return pp.includes(e.split(`-`)[0].toLowerCase())}function hp(e){return e.replace(/-([a-z])/gi,(e,t)=>t.toUpperCase())}function gp(e,t){let n=hp(e);if(t[n])return n;let r=e.split(`-`)[0];return t[r]?r:`en`}function _p(e){return mp(e)?`rtl`:`ltr`}function vp(e,t,n){try{let r=new Intl.DisplayNames([t],{type:`language`}).of(e);return r&&r!==e&&r.toLocaleLowerCase(t)!==n?.toLocaleLowerCase(t)?r:null}catch{return null}}var yp=[`zero`,`one`,`two`,`few`,`many`,`other`],bp=[...Array.from({length:1001},(e,t)=>t),1e4,1e5],xp=new Map;function Sp(e){let t=xp.get(e);if(!t){let n;try{n=new Intl.PluralRules(e)}catch{n=new Intl.PluralRules(`en`)}let r=new Set(bp.map(e=>n.select(e)));t=yp.filter(e=>r.has(e)),xp.set(e,t)}return t}function Cp(e){return(t,n)=>{let r=Sp(e);if(n===r.length){let i;try{i=new Intl.PluralRules(e).select(t)}catch{i=`other`}let a=r.indexOf(i);return a>=0?a:r.includes(`other`)?r.indexOf(`other`):n-1}return n===2?Math.abs(t)===1?0:1:Math.min(Math.max(n-1,0),Math.abs(t)===1?0:n-1)}}var wp=Se({name:`vector-i18n`,enforce:`pre`,setup(e){let t=Cc(),n=window.__VECTOR__?.locale,r=null;try{r=window.localStorage.getItem(`vector.locale`)}catch{}let i=n||r||t.vector.locale||`en`,a=[...new Set([...Object.keys(fp),...Object.keys(t.vector.messages??{}),i])],o=$f({legacy:!1,locale:i,fallbackLocale:`en`,messages:{...fp},pluralRules:Object.fromEntries(a.map(e=>[e,Cp(e)])),missingWarn:!1,fallbackWarn:!1});for(let[e,n]of Object.entries(t.vector.messages??{}))o.global.mergeLocaleMessage(e,n);e.vueApp.use(o);let s=o;return Ur(s),Ec(i),document.documentElement.lang=i,document.documentElement.dir=mp(i)?`rtl`:`ltr`,e.hook(`vuetify:before-create`,async({vuetifyOptions:e})=>{let t=await wo(()=>import(`./BBei3q3a.js`),__vite__mapDeps([117,17]),import.meta.url),n=Object.fromEntries(Object.entries(t).filter(([,e])=>e&&typeof e==`object`&&!Array.isArray(e))),r=gp(i,n);e.locale={...typeof e.locale==`object`?e.locale:{},locale:r,fallback:`en`,messages:n,rtl:Object.fromEntries(pp.map(e=>[e,!0]))}}),{provide:{vectorI18n:s}}}}),Tp=globalThis.requestIdleCallback||(e=>{let t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Ep=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Dp=e=>{let t=De();t.isHydrating?t.hooks.hookOnce(`app:suspense:resolve`,()=>{Tp(()=>e())}):Tp(()=>e())},Op=Se(()=>{let e=Gt();Dp(()=>{e.beforeResolve(async()=>{await new Promise(e=>{setTimeout(e,100),requestAnimationFrame(()=>{setTimeout(e,0)})})})})}),kp=Se(e=>{let t;async function n(){let r;try{r=await ko()}catch(e){let t=e;if(!(`status`in t&&(t.status===404||t.status===403)))throw t}t&&clearTimeout(t),t=setTimeout(n,xe);try{let n=await hn(_n(`builds/latest.json`)+`?${Date.now()}`);n.id!==r?.id&&(e.hooks.callHook(`app:manifest:update`,n),t&&clearTimeout(t))}catch{}}Dp(()=>{t=setTimeout(n,xe)})});function Ap(e={}){let t=e.path||window.location.pathname,n=new URL(t,window.location.href);if(n.host!==window.location.host)throw Kt.NUXT_E2010({path:t});if(n.protocol&&cn(n.protocol))throw Kt.NUXT_E2002({toPath:t,protocol:n.protocol});let r={};try{r=JSON.parse(sessionStorage.getItem(`nuxt:reload`)||`{}`)}catch{}if(e.force||r?.path!==t||r?.expires<Date.now()){try{sessionStorage.setItem(`nuxt:reload`,JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem(`nuxt:reload:state`,JSON.stringify({state:De().payload.state}))}catch{}window.location.pathname===t?window.location.reload():window.location.href=t}}var jp=Se({name:`nuxt:chunk-reload-crawler`,setup(e){let t=!0;e.hooks.hookOnce(`app:suspense:resolve`,()=>{t=!1}),e.hook(`app:chunkError`,()=>{t&&Vt(navigator.userAgent)&&Ap()})}}),Mp=Se({name:`nuxt:chunk-reload`,setup(e){let t=Gt(),n=_e(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook(`app:chunkError`,({error:e})=>{r.add(e)});function i(e){Ap({path:Lt(n.app.baseURL,e.fullPath),persistState:!0})}e.hook(`app:manifest:update`,()=>{t.beforeResolve(i)}),t.onError((e,t)=>{r.has(e)&&i(t)})}}),Np=/2g/;function Pp(){let e=navigator.connection;return!e||!e.saveData&&!Np.test(e.effectiveType||``)}function Fp(e){let{pathname:t,search:n}=new URL(e,window.location.href);return t+n}function Ip(e){if(e?.__asyncLoader&&!e.__asyncResolved)return e.__asyncLoader()}function Lp(e){return Promise.all(e.map(e=>{let t=e.components?.default;return typeof t==`function`?Promise.resolve(t()).catch(()=>{}):void 0}))}function Rp(e,t){let{fullPath:n,path:r,matched:i}=t.resolve(e);if(!i.length)return;let a=Te()?._prefetch;a?a.schedule({key:`route:${r}`,priority:`route`,scope:`navigation`,group:Fp(n),run:e=>e.aborted?void 0:Lp(i)}):Lp(i)}var zp=(...e)=>e.find(e=>e!==void 0);function Bp(e){let t=e.componentName||`NuxtLink`;function n(e){return typeof e==`string`&&e.startsWith(`#`)}function r(t,n,r){let i=r??e.trailingSlash;if(!t||i!==`append`&&i!==`remove`)return t;if(typeof t==`string`)return Hp(t,i);let a=`path`in t&&t.path!==void 0?t.path:n(t).path;return{...t,name:void 0,path:Hp(a,i)}}function i(t){let i=Gt(),a=_e(),o=i.options?.history?.createHref??(e=>Lt(a.app.baseURL,e)),s=P(()=>!!M(t.target)&&M(t.target)!==`_self`),c=P(()=>{let e=M(t.to)||M(t.href)||``;return typeof e==`string`&&qt(e)}),l=P(()=>{if(M(t.external))return!0;let e=M(t.to)||M(t.href)||``;return typeof e==`object`?!1:e===``||c.value}),u=P(()=>{let e=M(t.to)||M(t.href)||``;return l.value?e:r(e,i.resolve,M(t.trailingSlash))}),d=P(()=>{let r=M(t.trailingSlash)??e.trailingSlash;if(!u.value||c.value||n(u.value)){let e=u.value;return typeof e==`string`?un(e):e}if(l.value){let e=typeof u.value==`object`&&`path`in u.value?Zt(u.value):u.value,t=typeof e==`object`?i.resolve(e).href:e,n=typeof t==`string`?un(t):t;return n===null?null:Hp(n,r)}return typeof u.value==`object`?i.resolve(u.value)?.href??null:Hp(sn(u.value)?o(u.value):i.resolve(u.value).href,r)});return{to:u,hasTarget:s,isAbsoluteUrl:c,isExternal:l,href:d,async navigate(e){d.value!==null&&await Wt(d.value,{replace:M(t.replace),external:l.value||s.value})}}}function a(e){let t=Gt(),n=i(e),r=Ue(`RouterLink`),a=r&&typeof r!=`string`?r.useLink:void 0,o=n.isExternal.value?void 0:a?.({...e,to:n.to,viewTransition:M(e.viewTransition)});return{...n,isActive:o?.isActive??P(()=>n.to.value===t.currentRoute.value.path),isExactActive:o?.isExactActive??P(()=>n.to.value===t.currentRoute.value.path),route:o?.route??P(()=>t.resolve(n.to.value))}}return st({name:t,props:{to:{type:[String,Object],required:!1},href:{type:[String,Object],required:!1},target:{type:String,required:!1},rel:{type:String,required:!1},noRel:{type:Boolean,default:void 0,required:!1},prefetch:{type:Boolean,default:void 0,required:!1},prefetchOn:{type:[String,Object],required:!1},noPrefetch:{type:Boolean,default:void 0,required:!1},activeClass:{type:String,required:!1},exactActiveClass:{type:String,required:!1},prefetchedClass:{type:String,required:!1},replace:{type:Boolean,default:void 0,required:!1},ariaCurrentValue:{type:String,required:!1},external:{type:Boolean,default:void 0,required:!1},custom:{type:Boolean,default:void 0,required:!1},trailingSlash:{type:String,required:!1}},useLink:a,setup(t,{slots:r}){let a=Gt(),o=Ue(`RouterLink`),{to:s,href:c,navigate:l,isExternal:u,hasTarget:d,isAbsoluteUrl:f}=i(t),p=Et(!1),m=Ct(null),h=e=>{m.value=t.custom?e?.$el?.nextElementSibling:e?.$el};function g(n){return typeof t.prefetchOn==`string`?t.prefetchOn===n:t.prefetchOn?.[n]??e.prefetchOn?.[n]}function _(){return!!((t.prefetch??e.prefetch)!==!1&&t.noPrefetch!==!0&&t.target!==`_blank`&&Pp())}function v(e){return!!(!p.value&&g(e)&&_())}function y(){let e=typeof s.value==`string`?s.value:u.value?Zt(s.value):a.resolve(s.value).fullPath;return u.value?new URL(e,window.location.href).href:e}function b(){p.value?u.value||De()._prefetch?.promote(Fp(y())):g(`interaction`)&&x()}async function x(e=De()){if(p.value||c.value===null)return;p.value=!0;let t=y();await Promise.all([e.hooks.callHook(`link:prefetch`,t)?.catch(()=>{}),!u.value&&!d.value&&Rp(s.value,a)])}if(!t.custom&&v(`visibility`)){let e=De(),t,n=null;Xe(()=>{let r=Up();Dp(()=>{t=Tp(()=>{m?.value?.tagName&&(n=r.observe(m.value,async()=>{n?.(),n=null,await x(e)}))})})}),ot(()=>{t&&Ep(t),n?.(),n=null})}return()=>{let i=t.target||null,y=zp(t.noRel?``:t.rel,e.externalRelAttribute,f.value||d.value?`noopener noreferrer`:``)||null,S=e=>({navigate:l,get route(){if(!c.value)return;let e=new URL(c.value,window.location.href);return{path:e.pathname,fullPath:e.pathname,get query(){return It(e.search)},hash:e.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:c.value}},rel:y,target:i,isExternal:u.value||d.value,isActive:!1,isExactActive:!1,...e,href:typeof e?.href==`string`?un(e.href):c.value,prefetch:x,prefetched:p.value,shouldPrefetch:v});if(!u.value&&!d.value&&!n(s.value)){let n={ref:h,to:s.value,activeClass:t.activeClass||e.activeClass,exactActiveClass:t.exactActiveClass||e.exactActiveClass,replace:t.replace,ariaCurrentValue:t.ariaCurrentValue,custom:t.custom};return t.custom||((g(`interaction`)||p.value)&&_()&&(n.onPointerenter=b,n.onFocus=b,n.onPointerdown=b),p.value&&(n.class=t.prefetchedClass||e.prefetchedClass),n.rel=t.rel||void 0),Ne(o,n,t.custom&&r.default?{default:e=>r.default(S(e))}:r.default)}return t.custom?r.default?r.default(S()):null:Ne(`a`,{ref:m,href:c.value||null,rel:y,target:i,onClick:async e=>{if(!(u.value||d.value)){e.preventDefault();try{let e=rn(c.value??``);return await(t.replace?a.replace(e):a.push(e))}finally{if(n(s.value)){let e=s.value.slice(1),t=e;try{t=decodeURIComponent(e)}catch{}document.getElementById(t)?.focus()}}}}},r.default?.())}}})}var Vp=Bp(A);function Hp(e,t){if(t!==`append`&&t!==`remove`)return e;let n=t===`append`?Pt:Rt;return Bt(e)&&!e.startsWith(`http`)?e:n(e,!0)}function Up(){let e=De();if(e._observer)return e._observer;let t=null,n=new Map;return e._observer={observe:(e,r)=>(t||=new IntersectionObserver(e=>{for(let t of e){let e=n.get(t.target);(t.isIntersecting||t.intersectionRatio>0)&&e&&e()}}),n.set(e,r),t.observe(e),()=>{n.delete(e),t?.unobserve(e),n.size===0&&(t?.disconnect(),t=null)})}}var Wp=Se({name:`nuxt:island-link-navigation`,setup(e){}}),Gp=`0123456789abcdef`;Array.from({length:256},(e,t)=>Gp.charAt(t>>4)+Gp.charAt(t&15));function Kp(e,t={}){let n,r=!1,i=[],a,o,s=(t,n)=>{let i=qp(e,t,n);return a=i,i.finally(()=>{if(a=void 0,o&&!r){let e=o;o=void 0,s(t,e)}}),i};return function(...e){return o=e,a||new Promise(a=>{let c=t.leading&&!r;r||(r=!0,wt(()=>{r=!1;let a=o??e;o=void 0;let c=t.leading?n:s(this,a);for(let e of i)e(c);i=[]})),c?(n=s(this,e),a(n)):i.push(a)})}}async function qp(e,t,n){return await e.apply(t,n)}st({name:`ServerPlaceholder`,render(){return Ye(`div`)}});var Jp=Symbol.for(`nuxt:client-only`);st({name:`ClientOnly`,inheritAttrs:!1,props:[`fallback`,`placeholder`,`placeholderTag`,`fallbackTag`],setup(e,{slots:t,attrs:n}){let r=Et(!1);Xe(()=>{r.value=!0});let i=Be();return i&&(i._nuxtClientOnly=!0),rt(Jp,!0),()=>{if(r.value){let e=t.default?.();return e&&e.length===1?[it(e[0],n)]:e}let i=t.fallback||t.placeholder;if(i)return Ne(i);let a=e.fallback||e.placeholder||``,o=Ys(e.fallbackTag||e.placeholderTag,`span`);return Ye(o,n,a)}}});var Yp=Ae({docsBase:je,reporters:ge});function Xp(e={}){{function t(...t){let n=typeof t[t.length-1]==`string`?t.pop():void 0;$p(t[0],t[1])&&t.unshift(n);let[r,i,a={}]=t,o=!1,s=xt(r)||typeof r==`function`,c=s?P(()=>Ie(r)):{value:r};if(!c.value||typeof c.value!=`string`)throw Yp.NUXT_E3008();if(typeof i!=`function`)throw Yp.NUXT_E3009();let l=typeof e==`function`,u=De(),d=l?e(a):e;if(!l)for(let e in d)d[e]!==void 0&&a[e]===void 0&&(a[e]=d[e]);if(a.server??=!0,a.default??=rm,a.getCachedData??=im,a.lazy??=!1,a.immediate??=!0,a.deep??=ye.deep,a.dedupe??=`cancel`,a.enabled??=!0,l)for(let e in d)d[e]!==void 0&&(a[e]=d[e]);u._asyncData[c.value];function f(){let e={cause:`initial`,dedupe:a.dedupe},t=u._asyncData[c.value];return t?._init?u._asyncDataPromises[c.value]&&(e.cachedData=t._initialCachedData):(e.cachedData=a.getCachedData(c.value,u,{cause:`initial`}),u._asyncData[c.value]=nm(u,c.value,i,a,e.cachedData),u._asyncData[c.value]._initialCachedData=e.cachedData),()=>u._asyncData[c.value].execute(e)}let p=f(),m=u._asyncData[c.value];m._deps++;let h=a.server!==!1&&u.payload.serverRendered,g=()=>!1;{let e=Be(),t=!!e||g();if(h&&a.immediate&&Xi(),e&&!e._nuxtOnBeforeMountCbs){e._nuxtOnBeforeMountCbs=[];let t=e._nuxtOnBeforeMountCbs;gt(()=>{t.forEach(e=>{e()}),t.splice(0,t.length)}),tt(()=>t.splice(0,t.length))}let n=t&&(e?._nuxtClientOnly||ze(Jp,!1)),r=c.value in u.payload.data;h&&u.isHydrating&&(m.error.value||m.data.value!==void 0&&(r||m._initialCachedData!==void 0))?m.status.value=m.error.value?`error`:`success`:t&&(!n&&u.payload.serverRendered&&u.isHydrating&&(!h||r)||a.lazy)&&a.immediate?e?e._nuxtOnBeforeMountCbs.push(p):gt(()=>{p()}):a.immediate&&m.status.value!==`success`&&p();function l(e){let t=u._asyncData[e];t?._deps&&(t._deps--,t._deps===0&&t?._off())}let d=Je(),f=()=>{},_=s?Re(c,(e,t)=>{if((e||t)&&e!==t){o=!0;let n=u._asyncData[t]?.data.value!==void 0,r=u._asyncDataPromises[t]!==void 0,s={cause:`initial`,dedupe:a.dedupe};if(!u._asyncData[e]?._init){let r=a.getCachedData(e,u,{cause:`initial`});s.cachedData=r;let o=t&&n&&r===void 0?u._asyncData[t].data.value:r;u._asyncData[e]=nm(u,e,i,a,o),u._asyncData[e]._initialCachedData=r}u._asyncData[e]._deps++,t&&l(t),a._keyTriggersExecute!==!1&&(a.immediate||n||r)&&u._asyncData[e].execute(s),wt(()=>{o=!1})}},{flush:`sync`}):f,v=a.watch?Re(a.watch,()=>{o||u._asyncData[c.value]?._execute({cause:`watch`,dedupe:a.dedupe})}):f,y=xt(a.enabled)||typeof a.enabled==`function`?Re(()=>Ie(a.enabled),e=>{let t=u._asyncData[c.value];!e&&t&&u._asyncDataPromises[c.value]&&(t._abortController?.abort(new DOMException("AsyncData request cancelled by `enabled: false`",`AbortError`)),t._abortController=void 0,delete u._asyncDataPromises[c.value],t.status.value=`idle`)}):f;d&&mt(()=>{_(),v(),y(),l(c.value)})}let _={data:Qp(()=>u._asyncData[c.value]?.data,!a.deep),pending:Qp(()=>u._asyncData[c.value]?.pending),status:Qp(()=>u._asyncData[c.value]?.status),error:Qp(()=>u._asyncData[c.value]?.error),refresh:(...e)=>u._asyncData[c.value]?._init?u._asyncData[c.value].execute(...e):f()(),execute:(...e)=>_.refresh(...e),clear:()=>{let e=u._asyncData[c.value];if(e?._abortController)try{e._abortController.abort(new DOMException(`AsyncData aborted by user.`,`AbortError`))}finally{e._abortController=void 0}em(u,c.value)}},v=Promise.resolve(a.lazy?void 0:u._asyncDataPromises[c.value]).then(()=>_);return Object.assign(v,_),Object.defineProperties(v,{then:{enumerable:!0,value:v.then.bind(v)},catch:{enumerable:!0,value:v.catch.bind(v)},finally:{enumerable:!0,value:v.finally.bind(v)}}),v}return t}}var Zp=Xp();function Qp(e,t=!1){let n=P({get(){return e()?.value},set(t){let n=e();n&&(n.value=t)}});return t&&(n.__v_isShallow=!0),n}function $p(e,t){return!(typeof e==`string`||typeof e==`object`&&e||typeof e==`function`&&typeof t==`function`)}function em(e,t){delete e.payload.data[t],delete e.payload._errors[t],e._asyncData[t]&&(e._asyncData[t].data.value=M(e._asyncData[t]._default()),e._asyncData[t].error.value=void 0,e._asyncData[t].status.value=`idle`,e._asyncData[t]._initialCachedData=void 0),delete e._asyncDataPromises[t]}function tm(e,t){let n={};for(let r of t)n[r]=e[r];return n}function nm(e,t,n,r,i){e.payload._errors[t]??=void 0;let a=r.getCachedData!==im,o=n,s=r.deep?Ct:Et,c=i!==void 0,l=e.hook(`app:data:refresh`,async e=>{(!e||e.includes(t))&&await u.execute({cause:`refresh:hook`})}),u={data:s(c?i:r.default()),pending:P(()=>u.status.value===`pending`),error:F(e.payload._errors,t),status:Et(`idle`),execute:(...n)=>{let[i,a=void 0]=n,s=i&&a===void 0&&typeof i==`object`?i:{};if(e._asyncDataPromises[t]&&(s.dedupe??r.dedupe)===`defer`)return e._asyncDataPromises[t];{let n=`cachedData`in s?s.cachedData:r.getCachedData(t,e,{cause:s.cause??`refresh:manual`});if(n!==void 0)return r.serialize!==!1&&(e.payload.data[t]=n),u.data.value=n,u.error.value=void 0,u.status.value=`success`,Promise.resolve(n)}if(Ie(r.enabled)===!1)return Promise.resolve(u.data.value);u._abortController&&u._abortController.abort(new DOMException(`AsyncData request cancelled by deduplication`,`AbortError`)),u._abortController=new AbortController,u.status.value=`pending`;let c=new AbortController,l=new Promise((t,n)=>{try{let i=s.timeout??r.timeout,a=am([u._abortController?.signal,s?.signal],c.signal,i);if(a.aborted){let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`));return}a.addEventListener(`abort`,()=>{let e=a.reason;n(e instanceof Error?e:new DOMException(String(e??`Aborted`),`AbortError`))},{once:!0,signal:c.signal});let l={signal:a},d=()=>Promise.resolve(o(e,l));if(r.middleware?.length)for(let e=r.middleware.length-1;e>=0;e--){let t=r.middleware[e],n=d;d=()=>Promise.resolve(t(n,l))}return d().then(t,n)}catch(e){n(e)}}).then(async n=>{if(e._asyncDataPromises[t]!==l)return;let i=n;r.transform&&(i=await r.transform(n)),r.pick&&(i=tm(i,r.pick)),r.serialize!==!1&&(e.payload.data[t]=i),u.data.value=i,u.error.value=void 0,u.status.value=`success`}).catch(n=>{if(e._asyncDataPromises[t]!==l||u._abortController?.signal.aborted)return e._asyncDataPromises[t];if(typeof DOMException<`u`&&n instanceof DOMException&&n.name===`AbortError`)return u.status.value=`idle`,e._asyncDataPromises[t];u.error.value=Ut(n),u.data.value=M(r.default()),u.status.value=`error`}).finally(()=>{c.abort(),e._asyncDataPromises[t]===l&&delete e._asyncDataPromises[t]});return e._asyncDataPromises[t]=l,e._asyncDataPromises[t]},_execute:Kp((...e)=>u.execute(...e)),_default:r.default,_deps:0,_init:!0,_hash:void 0,_off:()=>{l(),e._asyncData[t]===u&&(e._asyncData[t]?._init&&(e._asyncData[t]._init=!1),e._asyncDataPromises[t]&&(u._abortController?.abort(new DOMException(`AsyncData request cancelled by unmount`,`AbortError`)),delete e._asyncDataPromises[t],u.status.value===`pending`&&(u.status.value=`idle`)),a||bt(()=>{e._asyncData[t]?._init||(em(e,t),u.execute=()=>Promise.resolve())}))}};return u}var rm=()=>void 0,im=(e,t,n)=>{if(t.isHydrating)return t.payload.data[e];if(n.cause!==`refresh:manual`&&n.cause!==`refresh:hook`)return t.static.data[e]};function am(e,t,n){let r=e.filter(e=>!!e);if(typeof n==`number`&&n>=0){let e=AbortSignal.timeout?.(n);e&&r.push(e)}if(AbortSignal.any)return AbortSignal.any(r);let i=new AbortController;for(let e of r)if(e.aborted){let t=e.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(t)}catch{i.abort()}return i.signal}let a=()=>{let e=r.find(e=>e.aborted)?.reason??new DOMException(`Aborted`,`AbortError`);try{i.abort(e)}catch{i.abort()}};for(let e of r)e.addEventListener?.(`abort`,a,{once:!0,signal:t});return i.signal}var om=`$s`;function sm(...e){let t=typeof e[e.length-1]==`string`?e.pop():void 0;typeof e[0]!=`string`&&e.unshift(t);let[n,r]=e;if(!n||typeof n!=`string`)throw go.NUXT_E7009({key:n});if(r!==void 0&&typeof r!=`function`)throw go.NUXT_E7007({type:typeof r});let i=om+n,a=De(),o=F(a.payload.state,i);if(r&&(a._state[i]??={_default:r}),o.value===void 0&&r){let e=r();if(xt(e))return a.payload.state[i]=e,o;o.value=e}return o}globalThis.cookieStore;function cm(e){return vo(e)}function lm(e,t){return M(t)??e?.meta.layout??cm(e?.path??`/`).appLayout??`default`}var um=Se({name:`pinia`,setup(e){let t=gn();return e.vueApp.use(t),pn(t),e.payload&&e.payload.pinia&&(t.state.value=e.payload.pinia),{provide:{pinia:t}}},hooks:{"app:rendered"(){let e=De();e.payload.pinia=Pe(e.$pinia).state.value,pn(void 0)}}}),dm=Se({name:`nuxt:global-components`}),fm={default:Ve(()=>wo(()=>import(`./BU5ZZxSI.js`).then(e=>e.default||e),__vite__mapDeps([118,3,119,9,10,16,17,35,34,18,36,25,13,21,15,23,11,40,12,14,29,30,81,82,74,31,20,22,37,107,54,61,53,92,56,58,120]),import.meta.url)),vector:Ve(()=>wo(()=>import(`./DROTb0EW.js`).then(e=>e.default||e),__vite__mapDeps([121,9,3,10,1,2,4,5,6,16,17,35,34,18,36,25,13,21,15,23,26,27,11,28,12,14,29,30,31,20,22,32,119,40,81,82,74,37,33,77,39,78,76,44,79,80,83,113,42,122,108,47,46,85,52,100,88,54,61,53,56,58,59,60,92,120,62,63,91,89,93,95,114,66,123]),import.meta.url))},pm=[`route`,`payload`,`island`,`hint`],mm=12,hm={route:8,payload:8,island:4,hint:8};function gm(e={}){let t={...hm,...e.concurrency},n=e.total??mm,r=e.canPrefetch,i=e.defer,a={route:[],payload:[],island:[],hint:[]},o=pm.map(e=>a[e]),s=new WeakSet,c=new Map,l={route:0,payload:0,island:0,hint:0},u=0,d=new Map,f=new AbortController,p=new AbortController;p.abort();function m(e){c.get(e.key)===e&&c.delete(e.key)}function h(e){m(e),Promise.resolve().then(()=>e.run(p.signal,!1)).catch(()=>{})}function g(){if(!r||r())for(;u<n;){let e=pm.find(e=>a[e].length&&l[e]<t[e]);if(!e)return;let n=a[e].shift();_(n,s.delete(n))}}function _(e,t){let n=e.scope===`app`?f:new AbortController;e.scope===`navigation`&&d.set(e,n),l[e.priority]++,u++;let r=!1,a=()=>{r||(r=!0,l[e.priority]--,u--,d.delete(e),m(e),g())};n.signal.addEventListener(`abort`,a,{once:!0});let o=()=>Promise.resolve().then(()=>e.run(n.signal,t)).then(a,a);i?i(o,t,e.priority):o()}let v=(e,t)=>t!==void 0&&e.group===t&&e.priority!==`hint`;return{schedule(e){let t=[];for(let n of Array.isArray(e)?e:[e])c.has(n.key)?h(n):(c.set(n.key,n),t.push(n));for(let e=t.length-1;e>=0;e--)a[t[e].priority].unshift(t[e]);g()},promote(e){for(let t of o){let n=[],r=[];for(let i of t)i.group===e&&s.add(i),(i.group===e?n:r).push(i);t.length=0,t.push(...n,...r)}g()},reset(e){for(let t of o)for(let n=t.length-1;n>=0;n--){let r=t[n];r.scope===`navigation`&&!v(r,e)&&(t.splice(n,1),h(r))}for(let[t,n]of[...d])v(t,e)||n.abort();g()},resume:g}}var _m=1e3;function vm(e,t,n){if(t||n===`route`)return e();let r=globalThis.scheduler;r?.postTask?r.postTask(e,{priority:`background`}).catch(()=>{}):Tp(e,{timeout:_m})}function ym(e=De()){if(e._prefetch)return e._prefetch;let t=!1,n=gm({canPrefetch:()=>Pp()&&!t&&document.visibilityState!==`hidden`,defer:vm});e._prefetch=n,navigator.connection?.addEventListener?.(`change`,()=>n.resume()),document.addEventListener(`visibilitychange`,()=>n.resume());let r=e.$router;return r.beforeEach(()=>{t=!0}),r.afterEach(e=>{t=!1,n.reset(Fp(e.fullPath))}),r.onError(()=>{t=!1,n.resume()}),n}var bm=Se({name:`nuxt:prefetch`,setup(e){let t=Gt();e.hooks.hook(`app:mounted`,()=>{t.beforeEach(async e=>{let t=e?.meta?.layout;typeof t==`string`&&t in fm&&await Ip(fm[t])})});let{schedule:n}=ym(e);e.hooks.hook(`link:prefetch`,async e=>{if(Bt(e))return;let r=t.resolve(e);if(!r)return;let i=r.meta.layout,a=ns(r.meta.middleware).filter(e=>typeof e==`string`);n({key:`route:chunks:${e}`,priority:`route`,scope:`navigation`,group:Fp(e),run:e=>{if(e.aborted)return;let t=[];for(let e of a){let n=ac[e];typeof n==`function`&&t.push(n())}return typeof i==`string`&&i in fm&&t.push(Ip(fm[i])),Promise.all(t).catch(()=>{})}})})}}),xm=Se(()=>({provide:nt({ssrClientHints:{firstRequest:!1,prefersColorSchemeAvailable:!1,prefersReducedMotionAvailable:!1,viewportHeightAvailable:!1,viewportWidthAvailable:!1}})})),Sm=Se(e=>{e.hook(`vuetify:before-create`,({vuetifyOptions:e})=>{let t=window.__VECTOR__?.cspNonce;t&&(e.theme={...typeof e.theme==`object`?e.theme:{},cspNonce:t})})});function Cm(){let e=sm(`vector.ext.cells`,()=>Ot(new Map)),t=sm(`vector.ext.inputs`,()=>Ot(new Map)),n=sm(`vector.ext.widgets`,()=>Ot(new Map)),r=sm(`vector.ext.pages`,()=>Ot(new Map)),i=sm(`vector.ext.richText`,()=>Ot(new Map)),a=sm(`vector.ext.ready`,()=>!1);return{cells:e.value,inputs:t.value,widgets:n.value,pages:r.value,richText:i.value,ready:a}}function wm(){let e=Cc(),{pages:t}=Cm();return P(()=>({...e.vector.pages,...Object.fromEntries(t.entries())}))}function Tm(){let e=Pm(),t=sm(`vector.preferences`,()=>null);async function n(){return t.value===null&&(t.value=(await e(`/vector/preferences`)).data),t.value}function r(e){return t.value?.[e]}async function i(n){t.value=(await e(`/vector/preferences`,{method:`PUT`,body:n})).data}function a(){t.value=null}return{preferences:t,load:n,get:r,put:i,clear:a}}function Em(){let e=sm(`vector.notifications`,()=>[]);function t(t,n=`info`,r){e.value.push({text:t,color:n,timeout:r})}return{queue:e,notify:t,success:e=>t(e,`success`),error:e=>t(e,`error`,6e3)}}var Dm=`vector.uiVersion.dismissed`,Om=`@kinetis/vector-ui`;function km(e,t){return t?Hr(`shell.version.hostedRemedy`):e===null?Hr(`shell.version.layeredRemedyAny`,{package:Om}):Hr(`shell.version.layeredRemedy`,{package:Om,version:e})}function Am(){let{schema:e}=Mm(),t=String(_e().public.vector.uiVersion??``),n=P(()=>e.value?.ui?.expected??null),r=P(()=>`${t}→${n.value}`),i=sm(Dm,()=>sessionStorage.getItem(Dm)),a=P(()=>n.value!==null&&n.value!==t),o=P(()=>a.value&&i.value!==r.value),{hosted:s}=mn(),c=P(()=>km(n.value,s));function l(){i.value=r.value,sessionStorage.setItem(Dm,r.value)}return{current:t,expected:n,mismatch:a,visible:o,remedy:c,dismiss:l}}var jm=0;function Mm(){let e=sm(`vector.schema`,()=>null),t=sm(`vector.schema.loading`,()=>!1),n=Pm();async function r(r=!1){if(e.value&&!r)return Oc(e.value.minorUnits??{}),e.value;t.value=!0;let i=++jm,{hosted:a}=mn();try{let t=await n(`/vector/schema`);if(t?.version!==4)throw Error(Hr(`shell.unsupportedDescriptor`,{version:String(t?.version),supported:4,remedy:km(t?.ui?.expected??null,a)}));return i===jm&&(e.value=t,Oc(t.minorUnits??{})),t}finally{i===jm&&(t.value=!1)}}function i(){e.value=null}function a(t){return e.value?.resources[t]}return{schema:e,loading:t,load:r,clear:i,resource:a,menu:P(()=>(e.value?.menu??[]).map(t=>({label:t.label,items:t.resources.map(t=>e.value.resources[t]).filter(e=>e!==void 0)})))}}var Nm=null;function Pm(){let e=_e(),t=Cc(),n=mn(),r=vn(),i=Gt();return hn.create({baseURL:n.hosted?n.apiBase??``:e.public.vector.apiBase,credentials:n.hosted?`same-origin`:`omit`,async onRequest({options:e}){if(n.hosted){let t=String(e.method??`GET`).toUpperCase();n.csrfToken&&![`GET`,`HEAD`,`OPTIONS`].includes(t)&&e.headers.set(`X-CSRF-Token`,n.csrfToken)}else{let t=await r.fresh();t!==null&&(Nm=null),Object.assign(e,{vectorToken:t,vectorUser:r.user===null?null:String(r.user.id)}),t&&e.headers.set(`Authorization`,`Bearer ${t}`)}},async onResponseError({response:e,options:t}){let i=t,o=r.token!==i.vectorToken,s=o&&r.token!==null&&r.user!==null&&String(r.user.id)===i.vectorUser;if(e.status===401&&!n.hosted&&!i.vectorRenewed&&(s||!o&&r.canRefresh&&await r.refresh()))i.vectorRenewed=!0,t.retry=1,t.retryStatusCodes=[401];else if(e.status===401){if(n.hosted&&n.loginUrl){window.location.assign(n.loginUrl);return}if(Nm!==null&&Nm.token===i.vectorToken){await Nm.done;return}if(o&&r.token!==null)return;Nm={token:i.vectorToken,done:a()},await Nm.done}}});async function a(){let e=r.impersonating,n=t.vector.basePath||``;try{if(e&&await r.resume()){sm(`vector.impersonator`).value=null,Tm().clear(),Em().notify(Hr(`shell.impersonation.ended`)),await Mm().load(!0).catch(()=>void 0),await Wt(n||`/`);return}r.clear();let t=i.currentRoute.value.fullPath,a=t.startsWith(`${n}/login`)?{}:{redirect:t};await Wt({path:`${n}/login`,query:e?{...a,reason:`impersonation`}:a})}catch{}}}function Fm(e){let t=e,n=t?.data;if(n&&typeof n==`object`){if(typeof n.error==`string`)return n.error;if(typeof n.detail==`string`)return n.detail;if(typeof n.title==`string`)return n.title}return typeof t?.message==`string`?t.message:String(e)}var Im=Object.defineProperty,Lm=(e,t)=>{let n={};for(var r in e)Im(n,r,{get:e[r],enumerable:!0});return t||Im(n,Symbol.toStringTag,{value:`Module`}),n};function Rm(e){this.content=e}Rm.prototype={constructor:Rm,find:function(e){for(var t=0;t<this.content.length;t+=2)if(this.content[t]===e)return t;return-1},get:function(e){var t=this.find(e);return t==-1?void 0:this.content[t+1]},update:function(e,t,n){var r=n&&n!=e?this.remove(n):this,i=r.find(e),a=r.content.slice();return i==-1?a.push(n||e,t):(a[i+1]=t,n&&(a[i]=n)),new Rm(a)},remove:function(e){var t=this.find(e);if(t==-1)return this;var n=this.content.slice();return n.splice(t,2),new Rm(n)},addToStart:function(e,t){return new Rm([e,t].concat(this.remove(e).content))},addToEnd:function(e,t){var n=this.remove(e).content.slice();return n.push(e,t),new Rm(n)},addBefore:function(e,t,n){var r=this.remove(t),i=r.content.slice(),a=r.find(e);return i.splice(a==-1?i.length:a,0,t,n),new Rm(i)},forEach:function(e){for(var t=0;t<this.content.length;t+=2)e(this.content[t],this.content[t+1])},prepend:function(e){return e=Rm.from(e),e.size?new Rm(e.content.concat(this.subtract(e).content)):this},append:function(e){return e=Rm.from(e),e.size?new Rm(this.subtract(e).content.concat(e.content)):this},subtract:function(e){var t=this;e=Rm.from(e);for(var n=0;n<e.content.length;n+=2)t=t.remove(e.content[n]);return t},toObject:function(){var e={};return this.forEach(function(t,n){e[t]=n}),e},get size(){return this.content.length>>1}},Rm.from=function(e){if(e instanceof Rm)return e;var t=[];if(e)for(var n in e)t.push(n,e[n]);return new Rm(t)};function zm(e,t,n){for(let r=0;;r++){if(r==e.childCount||r==t.childCount)return e.childCount==t.childCount?null:n;let i=e.child(r),a=t.child(r);if(i==a)n+=i.nodeSize;else{if(!i.sameMarkup(a))return n;if(i.isText&&i.text!=a.text){let e=i.text,t=a.text,r=0;for(;e[r]==t[r];r++)n++;return r&&r<e.length&&r<t.length&&Hm(e.charCodeAt(r-1))&&Vm(e.charCodeAt(r))&&n--,n}if(i.content.size||a.content.size){let e=zm(i.content,a.content,n+1);if(e!=null)return e}n+=i.nodeSize}}}function Bm(e,t,n,r){for(let i=e.childCount,a=t.childCount;;){if(i==0||a==0)return i==a?null:{a:n,b:r};let o=e.child(--i),s=t.child(--a),c=o.nodeSize;if(o==s)n-=c,r-=c;else{if(!o.sameMarkup(s))return{a:n,b:r};if(o.isText&&o.text!=s.text){let e=o.text,t=s.text,i=e.length,a=t.length;for(;i>0&&a>0&&e[i-1]==t[a-1];)i--,a--,n--,r--;return i&&a&&i<e.length&&Hm(e.charCodeAt(i-1))&&Vm(e.charCodeAt(i))&&(n++,r++),{a:n,b:r}}if(o.content.size||s.content.size){let e=Bm(o.content,s.content,n-1,r-1);if(e)return e}n-=c,r-=c}}}function Vm(e){return e>=56320&&e<57344}function Hm(e){return e>=55296&&e<56320}var G=class e{constructor(e,t){if(this.content=e,this.size=t||0,t==null)for(let t=0;t<e.length;t++)this.size+=e[t].nodeSize}nodesBetween(e,t,n,r=0,i){for(let a=0,o=0;o<t;a++){let s=this.content[a],c=o+s.nodeSize;if(c>e&&n(s,r+o,i||null,a)!==!1&&s.content.size){let i=o+1;s.nodesBetween(Math.max(0,e-i),Math.min(s.content.size,t-i),n,r+i)}o=c}}descendants(e){this.nodesBetween(0,this.size,e)}textBetween(e,t,n,r){let i=``,a=!0;return this.nodesBetween(e,t,(o,s)=>{let c=o.isText?o.text.slice(Math.max(e,s)-s,t-s):o.isLeaf?r?typeof r==`function`?r(o):r:o.type.spec.leafText?o.type.spec.leafText(o):``:``;o.isBlock&&(o.isLeaf&&c||o.isTextblock)&&n&&(a?a=!1:i+=n),i+=c},0),i}append(t){if(!t.size)return this;if(!this.size)return t;let n=this.lastChild,r=t.firstChild,i=this.content.slice(),a=0;for(n.isText&&n.sameMarkup(r)&&(i[i.length-1]=n.withText(n.text+r.text),a=1);a<t.content.length;a++)i.push(t.content[a]);return new e(i,this.size+t.size)}cut(t,n=this.size){if(t==0&&n==this.size)return this;let r=[],i=0;if(n>t)for(let e=0,a=0;a<n;e++){let o=this.content[e],s=a+o.nodeSize;s>t&&((a<t||s>n)&&(o=o.isText?o.cut(Math.max(0,t-a),Math.min(o.text.length,n-a)):o.cut(Math.max(0,t-a-1),Math.min(o.content.size,n-a-1))),r.push(o),i+=o.nodeSize),a=s}return new e(r,i)}cutByIndex(t,n){return t==n?e.empty:t==0&&n==this.content.length?this:new e(this.content.slice(t,n))}replaceChild(t,n){let r=this.content[t];if(r==n)return this;let i=this.content.slice(),a=this.size+n.nodeSize-r.nodeSize;return i[t]=n,new e(i,a)}addToStart(t){return new e([t].concat(this.content),this.size+t.nodeSize)}addToEnd(t){return new e(this.content.concat(t),this.size+t.nodeSize)}eq(e){if(this.content.length!=e.content.length)return!1;for(let t=0;t<this.content.length;t++)if(!this.content[t].eq(e.content[t]))return!1;return!0}get firstChild(){return this.content.length?this.content[0]:null}get lastChild(){return this.content.length?this.content[this.content.length-1]:null}get childCount(){return this.content.length}child(e){let t=this.content[e];if(!t)throw RangeError(`Index `+e+` out of range for `+this);return t}maybeChild(e){return this.content[e]||null}forEach(e){for(let t=0,n=0;t<this.content.length;t++){let r=this.content[t];e(r,n,t),n+=r.nodeSize}}findDiffStart(e,t=0){return zm(this,e,t)}findDiffEnd(e,t=this.size,n=e.size){return Bm(this,e,t,n)}findIndex(e){if(e==0)return Wm(0,e);if(e==this.size)return Wm(this.content.length,e);if(e>this.size||e<0)throw RangeError(`Position ${e} outside of fragment (${this})`);for(let t=0,n=0;;t++){let r=this.child(t),i=n+r.nodeSize;if(i>=e)return i==e?Wm(t+1,i):Wm(t,n);n=i}}toString(){return`<`+this.toStringInner()+`>`}toStringInner(){return this.content.join(`, `)}toJSON(){return this.content.length?this.content.map(e=>e.toJSON()):null}static fromJSON(t,n){if(!n)return e.empty;if(!Array.isArray(n))throw RangeError(`Invalid input for Fragment.fromJSON`);return e.fromArray(n.map(t.nodeFromJSON))}static fromArray(t){if(!t.length)return e.empty;let n,r=0;for(let e=0;e<t.length;e++){let i=t[e];r+=i.nodeSize,e&&i.isText&&t[e-1].sameMarkup(i)?(n||=t.slice(0,e),n[n.length-1]=i.withText(n[n.length-1].text+i.text)):n&&n.push(i)}return new e(n||t,r)}static from(t){if(!t)return e.empty;if(t instanceof e)return t;if(Array.isArray(t))return this.fromArray(t);if(t.attrs)return new e([t],t.nodeSize);throw RangeError(`Can not convert `+t+` to a Fragment`+(t.nodesBetween?` (looks like multiple versions of prosemirror-model were loaded)`:``))}};G.empty=new G([],0);var Um={index:0,offset:0};function Wm(e,t){return Um.index=e,Um.offset=t,Um}function Gm(e,t){if(e===t)return!0;if(!(e&&typeof e==`object`)||!(t&&typeof t==`object`))return!1;let n=Array.isArray(e);if(Array.isArray(t)!=n)return!1;if(n){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!Gm(e[n],t[n]))return!1}else{for(let n in e)if(!(n in t)||!Gm(e[n],t[n]))return!1;for(let n in t)if(!(n in e))return!1}return!0}var K=class e{constructor(e,t){this.type=e,this.attrs=t}addToSet(e){let t,n=!1;for(let r=0;r<e.length;r++){let i=e[r];if(this.eq(i))return e;if(this.type.excludes(i.type))t||=e.slice(0,r);else if(i.type.excludes(this.type))return e;else!n&&i.type.rank>this.type.rank&&(t||=e.slice(0,r),t.push(this),n=!0),t&&t.push(i)}return t||=e.slice(),n||t.push(this),t}removeFromSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return e.slice(0,t).concat(e.slice(t+1));return e}isInSet(e){for(let t=0;t<e.length;t++)if(this.eq(e[t]))return!0;return!1}eq(e){return this==e||this.type==e.type&&Gm(this.attrs,e.attrs)}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return e}static fromJSON(e,t){if(!t)throw RangeError(`Invalid input for Mark.fromJSON`);let n=e.marks[t.type];if(!n)throw RangeError(`There is no mark type ${t.type} in this schema`);return n.create(t.attrs)}static sameSet(e,t){if(e==t)return!0;if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].eq(t[n]))return!1;return!0}static setFrom(t){if(!t||Array.isArray(t)&&t.length==0)return e.none;if(t instanceof e)return[t];let n=t.slice();return n.sort((e,t)=>e.type.rank-t.type.rank),n}};K.none=[];var Km=class extends Error{},q=class e{constructor(e,t,n){this.content=e,this.openStart=t,this.openEnd=n}get size(){return this.content.size-this.openStart-this.openEnd}insertAt(t,n){let r=Jm(this.content,t+this.openStart,n,this.openStart+1,this.openEnd+1);return r&&new e(r,this.openStart,this.openEnd)}removeBetween(t,n){return new e(qm(this.content,t+this.openStart,n+this.openStart),this.openStart,this.openEnd)}eq(e){return this.content.eq(e.content)&&this.openStart==e.openStart&&this.openEnd==e.openEnd}toString(){return this.content+`(`+this.openStart+`,`+this.openEnd+`)`}toJSON(){if(!this.content.size)return null;let e={content:this.content.toJSON()};return this.openStart>0&&(e.openStart=this.openStart),this.openEnd>0&&(e.openEnd=this.openEnd),e}static fromJSON(t,n){if(!n)return e.empty;let r=n.openStart||0,i=n.openEnd||0;if(typeof r!=`number`||typeof i!=`number`)throw RangeError(`Invalid input for Slice.fromJSON`);return new e(G.fromJSON(t,n.content),r,i)}static maxOpen(t,n=!0){let r=0,i=0;for(let e=t.firstChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.firstChild)r++;for(let e=t.lastChild;e&&!e.isLeaf&&(n||!e.type.spec.isolating);e=e.lastChild)i++;return new e(t,r,i)}};q.empty=new q(G.empty,0,0);function qm(e,t,n){let{index:r,offset:i}=e.findIndex(t),a=e.maybeChild(r),{index:o,offset:s}=e.findIndex(n);if(i==t||a.isText){if(s!=n&&!e.child(o).isText)throw RangeError(`Removing non-flat range`);return e.cut(0,t).append(e.cut(n))}if(r!=o)throw RangeError(`Removing non-flat range`);return e.replaceChild(r,a.copy(qm(a.content,t-i-1,n-i-1)))}function Jm(e,t,n,r,i,a){let{index:o,offset:s}=e.findIndex(t),c=e.maybeChild(o);if(s==t||c.isText)return a&&r<=0&&i<=0&&!a.canReplace(o,o,n)?null:e.cut(0,t).append(n).append(e.cut(t));let l=Jm(c.content,t-s-1,n,o==0?r-1:0,o==e.childCount-1?i-1:0,c);return l&&e.replaceChild(o,c.copy(l))}function Ym(e,t,n){if(n.openStart>e.depth)throw new Km(`Inserted content deeper than insertion position`);if(e.depth-n.openStart!=t.depth-n.openEnd)throw new Km(`Inconsistent open depths`);return Xm(e,t,n,0)}function Xm(e,t,n,r){let i=e.index(r),a=e.node(r);if(i==t.index(r)&&r<e.depth-n.openStart){let o=Xm(e,t,n,r+1);return a.copy(a.content.replaceChild(i,o))}if(!n.content.size)return th(a,rh(e,t,r));if(!n.openStart&&!n.openEnd&&e.depth==r&&t.depth==r){let r=e.parent,i=r.content;return th(r,i.cut(0,e.parentOffset).append(n.content).append(i.cut(t.parentOffset)))}{let{start:i,end:o}=ih(n,e);return th(a,nh(e,i,o,t,r))}}function Zm(e,t){if(!t.type.compatibleContent(e.type))throw new Km(`Cannot join `+t.type.name+` onto `+e.type.name)}function Qm(e,t,n){let r=e.node(n);return Zm(r,t.node(n)),r}function $m(e,t){let n=t.length-1;n>=0&&e.isText&&e.sameMarkup(t[n])?t[n]=e.withText(t[n].text+e.text):t.push(e)}function eh(e,t,n,r){let i=(t||e).node(n),a=0,o=t?t.index(n):i.childCount;e&&(a=e.index(n),e.depth>n?a++:e.textOffset&&($m(e.nodeAfter,r),a++));for(let e=a;e<o;e++)$m(i.child(e),r);t&&t.depth==n&&t.textOffset&&$m(t.nodeBefore,r)}function th(e,t){if(!e.type.validContent(t))throw new Km(`Invalid content for node `+e.type.name);return e.copy(t)}function nh(e,t,n,r,i){let a=e.depth>i&&Qm(e,t,i+1),o=r.depth>i&&Qm(n,r,i+1),s=[];return eh(null,e,i,s),a&&o&&t.index(i)==n.index(i)?(Zm(a,o),$m(th(a,nh(e,t,n,r,i+1)),s)):(a&&$m(th(a,rh(e,t,i+1)),s),eh(t,n,i,s),o&&$m(th(o,rh(n,r,i+1)),s)),eh(r,null,i,s),new G(s)}function rh(e,t,n){let r=[];return eh(null,e,n,r),e.depth>n&&$m(th(Qm(e,t,n+1),rh(e,t,n+1)),r),eh(t,null,n,r),new G(r)}function ih(e,t){let n=t.depth-e.openStart,r=t.node(n).copy(e.content);for(let e=n-1;e>=0;e--)r=t.node(e).copy(G.from(r));return{start:r.resolveNoCache(e.openStart+n),end:r.resolveNoCache(r.content.size-e.openEnd-n)}}var ah=class e{constructor(e,t,n){this.pos=e,this.path=t,this.parentOffset=n,this.depth=t.length/3-1}resolveDepth(e){return e==null?this.depth:e<0?this.depth+e:e}get parent(){return this.node(this.depth)}get doc(){return this.node(0)}node(e){return this.path[this.resolveDepth(e)*3]}index(e){return this.path[this.resolveDepth(e)*3+1]}indexAfter(e){return e=this.resolveDepth(e),this.index(e)+(e==this.depth&&!this.textOffset?0:1)}start(e){return e=this.resolveDepth(e),e==0?0:this.path[e*3-1]+1}end(e){return e=this.resolveDepth(e),this.start(e)+this.node(e).content.size}before(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position before the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]}after(e){if(e=this.resolveDepth(e),!e)throw RangeError(`There is no position after the top-level node`);return e==this.depth+1?this.pos:this.path[e*3-1]+this.path[e*3].nodeSize}get textOffset(){return this.pos-this.path[this.path.length-1]}get nodeAfter(){let e=this.parent,t=this.index(this.depth);if(t==e.childCount)return null;let n=this.pos-this.path[this.path.length-1],r=e.child(t);return n?e.child(t).cut(n):r}get nodeBefore(){let e=this.index(this.depth),t=this.pos-this.path[this.path.length-1];return t?this.parent.child(e).cut(0,t):e==0?null:this.parent.child(e-1)}posAtIndex(e,t){t=this.resolveDepth(t);let n=this.path[t*3],r=t==0?0:this.path[t*3-1]+1;for(let t=0;t<e;t++)r+=n.child(t).nodeSize;return r}marks(){let e=this.parent,t=this.index();if(e.content.size==0)return K.none;if(this.textOffset)return e.child(t).marks;let n=e.maybeChild(t-1),r=e.maybeChild(t);if(!n){let e=n;n=r,r=e}let i=n.marks;for(var a=0;a<i.length;a++)i[a].type.spec.inclusive===!1&&(!r||!i[a].isInSet(r.marks))&&(i=i[a--].removeFromSet(i));return i}marksAcross(e){let t=this.parent.maybeChild(this.index());if(!t||!t.isInline)return null;let n=t.marks,r=e.parent.maybeChild(e.index());for(var i=0;i<n.length;i++)n[i].type.spec.inclusive===!1&&(!r||!n[i].isInSet(r.marks))&&(n=n[i--].removeFromSet(n));return n}sharedDepth(e){for(let t=this.depth;t>0;t--)if(this.start(t)<=e&&this.end(t)>=e)return t;return 0}blockRange(e=this,t){if(e.pos<this.pos)return e.blockRange(this);for(let n=this.depth-(this.parent.inlineContent||this.pos==e.pos?1:0);n>=0;n--)if(e.pos<=this.end(n)&&(!t||t(this.node(n))))return new lh(this,e,n);return null}sameParent(e){return this.pos-this.parentOffset==e.pos-e.parentOffset}max(e){return e.pos>this.pos?e:this}min(e){return e.pos<this.pos?e:this}toString(){let e=``;for(let t=1;t<=this.depth;t++)e+=(e?`/`:``)+this.node(t).type.name+`_`+this.index(t-1);return e+`:`+this.parentOffset}static resolve(t,n){if(!(n>=0&&n<=t.content.size))throw RangeError(`Position `+n+` out of range`);let r=[],i=0,a=n;for(let e=t;;){let{index:t,offset:n}=e.content.findIndex(a),o=a-n;if(r.push(e,t,i+n),!o||(e=e.child(t),e.isText))break;a=o-1,i+=n+1}return new e(n,r,a)}static resolveCached(t,n){let r=ch.get(t);if(r)for(let e=0;e<r.elts.length;e++){let t=r.elts[e];if(t.pos==n)return t}else ch.set(t,r=new oh);let i=r.elts[r.i]=e.resolve(t,n);return r.i=(r.i+1)%sh,i}},oh=class{constructor(){this.elts=[],this.i=0}},sh=12,ch=new WeakMap,lh=class{constructor(e,t,n){this.$from=e,this.$to=t,this.depth=n}get start(){return this.$from.before(this.depth+1)}get end(){return this.$to.after(this.depth+1)}get parent(){return this.$from.node(this.depth)}get startIndex(){return this.$from.index(this.depth)}get endIndex(){return this.$to.indexAfter(this.depth)}},uh=Object.create(null),dh=class e{constructor(e,t,n,r=K.none){this.type=e,this.attrs=t,this.marks=r,this.content=n||G.empty}get children(){return this.content.content}get nodeSize(){return this.isLeaf?1:2+this.content.size}get childCount(){return this.content.childCount}child(e){return this.content.child(e)}maybeChild(e){return this.content.maybeChild(e)}forEach(e){this.content.forEach(e)}nodesBetween(e,t,n,r=0){this.content.nodesBetween(e,t,n,r,this)}descendants(e){this.nodesBetween(0,this.content.size,e)}get textContent(){return this.isLeaf&&this.type.spec.leafText?this.type.spec.leafText(this):this.textBetween(0,this.content.size,``)}textBetween(e,t,n,r){return this.content.textBetween(e,t,n,r)}get firstChild(){return this.content.firstChild}get lastChild(){return this.content.lastChild}eq(e){return this==e||this.sameMarkup(e)&&this.content.eq(e.content)}sameMarkup(e){return this.hasMarkup(e.type,e.attrs,e.marks)}hasMarkup(e,t,n){return this.type==e&&Gm(this.attrs,t||e.defaultAttrs||uh)&&K.sameSet(this.marks,n||K.none)}copy(t=null){return t==this.content?this:new e(this.type,this.attrs,t,this.marks)}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.content,t)}cut(e,t=this.content.size){return e==0&&t==this.content.size?this:this.copy(this.content.cut(e,t))}slice(e,t=this.content.size,n=!1){if(e==t)return q.empty;let r=this.resolve(e),i=this.resolve(t),a=n?0:r.sharedDepth(t),o=r.start(a);return new q(r.node(a).content.cut(r.pos-o,i.pos-o),r.depth-a,i.depth-a)}replace(e,t,n){return Ym(this.resolve(e),this.resolve(t),n)}nodeAt(e){for(let t=this;;){let{index:n,offset:r}=t.content.findIndex(e);if(t=t.maybeChild(n),!t)return null;if(r==e||t.isText)return t;e-=r+1}}childAfter(e){let{index:t,offset:n}=this.content.findIndex(e);return{node:this.content.maybeChild(t),index:t,offset:n}}childBefore(e){if(e==0)return{node:null,index:0,offset:0};let{index:t,offset:n}=this.content.findIndex(e);if(n<e)return{node:this.content.child(t),index:t,offset:n};let r=this.content.child(t-1);return{node:r,index:t-1,offset:n-r.nodeSize}}resolve(e){return ah.resolveCached(this,e)}resolveNoCache(e){return ah.resolve(this,e)}rangeHasMark(e,t,n){let r=!1;return t>e&&this.nodesBetween(e,t,e=>(n.isInSet(e.marks)&&(r=!0),!r)),r}get isBlock(){return this.type.isBlock}get isTextblock(){return this.type.isTextblock}get inlineContent(){return this.type.inlineContent}get isInline(){return this.type.isInline}get isText(){return this.type.isText}get isLeaf(){return this.type.isLeaf}get isAtom(){return this.type.isAtom}toString(){if(this.type.spec.toDebugString)return this.type.spec.toDebugString(this);let e=this.type.name;return this.content.size&&(e+=`(`+this.content.toStringInner()+`)`),ph(this.marks,e)}contentMatchAt(e){let t=this.type.contentMatch.matchFragment(this.content,0,e);if(!t)throw Error(`Called contentMatchAt on a node with invalid content`);return t}canReplace(e,t,n=G.empty,r=0,i=n.childCount){let a=this.contentMatchAt(e).matchFragment(n,r,i),o=a&&a.matchFragment(this.content,t);if(!o||!o.validEnd)return!1;for(let e=r;e<i;e++)if(!this.type.allowsMarks(n.child(e).marks))return!1;return!0}canReplaceWith(e,t,n,r){if(r&&!this.type.allowsMarks(r))return!1;let i=this.contentMatchAt(e).matchType(n),a=i&&i.matchFragment(this.content,t);return a?a.validEnd:!1}canAppend(e){return e.content.size?this.canReplace(this.childCount,this.childCount,e.content):this.type.compatibleContent(e.type)}check(){this.type.checkContent(this.content),mh(this.type.attrs,this.attrs,`node`,this.type.name);let e=K.none;for(let t=0;t<this.marks.length;t++){let n=this.marks[t];mh(n.type.attrs,n.attrs,`mark`,n.type.name),e=n.addToSet(e)}if(!K.sameSet(e,this.marks))throw RangeError(`Invalid collection of marks for node ${this.type.name}: ${this.marks.map(e=>e.type.name)}`);this.content.forEach(e=>e.check())}toJSON(){let e={type:this.type.name};for(let t in this.attrs){e.attrs=this.attrs;break}return this.content.size&&(e.content=this.content.toJSON()),this.marks.length&&(e.marks=this.marks.map(e=>e.toJSON())),e}static fromJSON(e,t){if(!t)throw RangeError(`Invalid input for Node.fromJSON`);let n;if(t.marks){if(!Array.isArray(t.marks))throw RangeError(`Invalid mark data for Node.fromJSON`);n=t.marks.map(e.markFromJSON)}if(t.type==`text`){if(typeof t.text!=`string`)throw RangeError(`Invalid text node in JSON`);return e.text(t.text,n)}let r=G.fromJSON(e,t.content);return e.nodeType(t.type).create(t.attrs,r,n)}};dh.prototype.text=void 0;var fh=class e extends dh{constructor(e,t,n,r){if(super(e,t,null,r),!n)throw RangeError(`Empty text nodes are not allowed`);this.text=n}toString(){return this.type.spec.toDebugString?this.type.spec.toDebugString(this):ph(this.marks,JSON.stringify(this.text))}get textContent(){return this.text}textBetween(e,t){return this.text.slice(e,t)}get nodeSize(){return this.text.length}mark(t){return t==this.marks?this:new e(this.type,this.attrs,this.text,t)}withText(t){return t==this.text?this:new e(this.type,this.attrs,t,this.marks)}cut(e=0,t=this.text.length){return e==0&&t==this.text.length?this:this.withText(this.text.slice(e,t))}eq(e){return this.sameMarkup(e)&&this.text==e.text}toJSON(){let e=super.toJSON();return e.text=this.text,e}};function ph(e,t){for(let n=e.length-1;n>=0;n--)t=e[n].type.name+`(`+t+`)`;return t}function mh(e,t,n,r){for(let i in t)if(!(i in e))throw RangeError(`Unsupported attribute ${i} for ${n} of type ${r}`);for(let n in e)e[n].validate&&e[n].validate(t[n])}var hh=class e{constructor(e){this.validEnd=e,this.next=[],this.wrapCache=[]}static parse(t,n){let r=new gh(t,n);if(r.next==null)return e.empty;let i=_h(r);r.next&&r.err(`Unexpected trailing text`);let a=Dh(wh(i));return Oh(a,r),a}matchType(e){for(let t=0;t<this.next.length;t++)if(this.next[t].type==e)return this.next[t].next;return null}matchFragment(e,t=0,n=e.childCount){let r=this;for(let i=t;r&&i<n;i++)r=r.matchType(e.child(i).type);return r}get inlineContent(){return this.next.length!=0&&this.next[0].type.isInline}get defaultType(){for(let e=0;e<this.next.length;e++){let{type:t}=this.next[e];if(!(t.isText||t.hasRequiredAttrs()))return t}return null}compatible(e){for(let t=0;t<this.next.length;t++)for(let n=0;n<e.next.length;n++)if(this.next[t].type==e.next[n].type)return!0;return!1}fillBefore(e,t=!1,n=0){let r=[this];function i(a,o){let s=a.matchFragment(e,n);if(s&&(!t||s.validEnd))return G.from(o.map(e=>e.createAndFill()));for(let e=0;e<a.next.length;e++){let{type:t,next:n}=a.next[e];if(!(t.isText||t.hasRequiredAttrs())&&r.indexOf(n)==-1){r.push(n);let e=i(n,o.concat(t));if(e)return e}}return null}return i(this,[])}findWrapping(e){for(let t=0;t<this.wrapCache.length;t+=2)if(this.wrapCache[t]==e)return this.wrapCache[t+1];let t=this.computeWrapping(e);return this.wrapCache.push(e,t),t}computeWrapping(e){let t=Object.create(null),n=[{match:this,type:null,via:null}];for(;n.length;){let r=n.shift(),i=r.match;if(i.matchType(e)){let e=[];for(let t=r;t.type;t=t.via)e.push(t.type);return e.reverse()}for(let e=0;e<i.next.length;e++){let{type:a,next:o}=i.next[e];!a.isLeaf&&!a.hasRequiredAttrs()&&!(a.name in t)&&(!r.type||o.validEnd)&&(n.push({match:a.contentMatch,type:a,via:r}),t[a.name]=!0)}}return null}get edgeCount(){return this.next.length}edge(e){if(e>=this.next.length)throw RangeError(`There's no ${e}th edge in this content match`);return this.next[e]}toString(){let e=[];function t(n){e.push(n);for(let r=0;r<n.next.length;r++)e.indexOf(n.next[r].next)==-1&&t(n.next[r].next)}return t(this),e.map((t,n)=>{let r=n+(t.validEnd?`*`:` `)+` `;for(let n=0;n<t.next.length;n++)r+=(n?`, `:``)+t.next[n].type.name+`->`+e.indexOf(t.next[n].next);return r}).join(`
|
|
5
|
+
`)}};hh.empty=new hh(!0);var gh=class{constructor(e,t){this.string=e,this.nodeTypes=t,this.inline=null,this.pos=0,this.tokens=e.split(/\s*(?=\b|\W|$)/),this.tokens[this.tokens.length-1]==``&&this.tokens.pop(),this.tokens[0]==``&&this.tokens.shift()}get next(){return this.tokens[this.pos]}eat(e){return this.next==e&&(this.pos++||!0)}err(e){throw SyntaxError(e+` (in content expression '`+this.string+`')`)}};function _h(e){let t=[];do t.push(vh(e));while(e.eat(`|`));return t.length==1?t[0]:{type:`choice`,exprs:t}}function vh(e){let t=[];do t.push(yh(e));while(e.next&&e.next!=`)`&&e.next!=`|`);return t.length==1?t[0]:{type:`seq`,exprs:t}}function yh(e){let t=Ch(e);for(;;)if(e.eat(`+`))t={type:`plus`,expr:t};else if(e.eat(`*`))t={type:`star`,expr:t};else if(e.eat(`?`))t={type:`opt`,expr:t};else if(e.eat(`{`))t=xh(e,t);else break;return t}function bh(e){/\D/.test(e.next)&&e.err(`Expected number, got '`+e.next+`'`);let t=Number(e.next);return e.pos++,t}function xh(e,t){let n=bh(e),r=n;return e.eat(`,`)&&(r=e.next==`}`?-1:bh(e)),e.eat(`}`)||e.err(`Unclosed braced range`),{type:`range`,min:n,max:r,expr:t}}function Sh(e,t){let n=e.nodeTypes,r=n[t];if(r)return[r];let i=[];for(let e in n){let r=n[e];r.isInGroup(t)&&i.push(r)}return i.length==0&&e.err(`No node type or group '`+t+`' found`),i}function Ch(e){if(e.eat(`(`)){let t=_h(e);return e.eat(`)`)||e.err(`Missing closing paren`),t}if(/\W/.test(e.next))e.err(`Unexpected token '`+e.next+`'`);else{let t=Sh(e,e.next).map(t=>(e.inline==null?e.inline=t.isInline:e.inline!=t.isInline&&e.err(`Mixing inline and block content`),{type:`name`,value:t}));return e.pos++,t.length==1?t[0]:{type:`choice`,exprs:t}}}function wh(e){let t=[[]];return i(a(e,0),n()),t;function n(){return t.push([])-1}function r(e,n,r){let i={term:r,to:n};return t[e].push(i),i}function i(e,t){e.forEach(e=>e.to=t)}function a(e,t){if(e.type==`choice`)return e.exprs.reduce((e,n)=>e.concat(a(n,t)),[]);if(e.type==`seq`)for(let r=0;;r++){let o=a(e.exprs[r],t);if(r==e.exprs.length-1)return o;i(o,t=n())}else if(e.type==`star`){let o=n();return r(t,o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`plus`){let o=n();return i(a(e.expr,t),o),i(a(e.expr,o),o),[r(o)]}else if(e.type==`opt`)return[r(t)].concat(a(e.expr,t));else if(e.type==`range`){let o=t;for(let t=0;t<e.min;t++){let t=n();i(a(e.expr,o),t),o=t}if(e.max==-1)i(a(e.expr,o),o);else for(let t=e.min;t<e.max;t++){let t=n();r(o,t),i(a(e.expr,o),t),o=t}return[r(o)]}else if(e.type==`name`)return[r(t,void 0,e.value)];else throw Error(`Unknown expr type`)}}function Th(e,t){return t-e}function Eh(e,t){let n=[];return r(t),n.sort(Th);function r(t){let i=e[t];if(i.length==1&&!i[0].term)return r(i[0].to);n.push(t);for(let e=0;e<i.length;e++){let{term:t,to:a}=i[e];!t&&n.indexOf(a)==-1&&r(a)}}}function Dh(e){let t=Object.create(null);return n(Eh(e,0));function n(r){let i=[];r.forEach(t=>{e[t].forEach(({term:t,to:n})=>{if(!t)return;let r;for(let e=0;e<i.length;e++)i[e][0]==t&&(r=i[e][1]);Eh(e,n).forEach(e=>{r||i.push([t,r=[]]),r.indexOf(e)==-1&&r.push(e)})})});let a=t[r.join(`,`)]=new hh(r.indexOf(e.length-1)>-1);for(let e=0;e<i.length;e++){let r=i[e][1].sort(Th);a.next.push({type:i[e][0],next:t[r.join(`,`)]||n(r)})}return a}}function Oh(e,t){for(let n=0,r=[e];n<r.length;n++){let e=r[n],i=!e.validEnd,a=[];for(let t=0;t<e.next.length;t++){let{type:n,next:o}=e.next[t];a.push(n.name),i&&!(n.isText||n.hasRequiredAttrs())&&(i=!1),r.indexOf(o)==-1&&r.push(o)}i&&t.err(`Only non-generatable nodes (`+a.join(`, `)+`) in a required position (see https://prosemirror.net/docs/guide/#generatable)`)}}function kh(e){let t=Object.create(null);for(let n in e){let r=e[n];if(!r.hasDefault)return null;t[n]=r.default}return t}function Ah(e,t){let n=Object.create(null);for(let r in e){let i=e[r],a=t&&t[r];if(a===void 0){if(i.hasDefault)a=i.default;else throw RangeError(`No value supplied for attribute `+r)}else i.validate&&i.validate(a);n[r]=a}return n}function jh(e,t){let n=Object.create(null);if(t)for(let r in t)n[r]=new Ph(e,r,t[r]);return n}var Mh=class e{constructor(e,t,n){this.name=e,this.schema=t,this.spec=n,this.markSet=null,this.groups=n.group?n.group.split(` `):[],this.attrs=jh(e,n.attrs),this.defaultAttrs=kh(this.attrs),this.contentMatch=null,this.inlineContent=null,this.isBlock=!(n.inline||e==`text`),this.isText=e==`text`}get isInline(){return!this.isBlock}get isTextblock(){return this.isBlock&&this.inlineContent}get isLeaf(){return this.contentMatch==hh.empty}get isAtom(){return this.isLeaf||!!this.spec.atom}isInGroup(e){return this.groups.indexOf(e)>-1}get whitespace(){return this.spec.whitespace||(this.spec.code?`pre`:`normal`)}hasRequiredAttrs(){for(let e in this.attrs)if(this.attrs[e].isRequired)return!0;return!1}compatibleContent(e){return this==e||this.contentMatch.compatible(e.contentMatch)}computeAttrs(e){return!e&&this.defaultAttrs?this.defaultAttrs:Ah(this.attrs,e)}create(e=null,t,n){if(this.isText)throw Error(`NodeType.create can't construct text nodes`);return new dh(this,this.computeAttrs(e),G.from(t),K.setFrom(n))}createChecked(e=null,t,n){return t=G.from(t),this.checkContent(t),new dh(this,this.computeAttrs(e),t,K.setFrom(n))}createAndFill(e=null,t,n){if(e=this.computeAttrs(e),t=G.from(t),t.size){let e=this.contentMatch.fillBefore(t);if(!e)return null;t=e.append(t)}let r=this.contentMatch.matchFragment(t),i=r&&r.fillBefore(G.empty,!0);return i?new dh(this,e,t.append(i),K.setFrom(n)):null}validContent(e){let t=this.contentMatch.matchFragment(e);if(!t||!t.validEnd)return!1;for(let t=0;t<e.childCount;t++)if(!this.allowsMarks(e.child(t).marks))return!1;return!0}checkContent(e){if(!this.validContent(e))throw RangeError(`Invalid content for node ${this.name}: ${e.toString().slice(0,50)}`)}checkAttrs(e){}allowsMarkType(e){return this.markSet==null||this.markSet.indexOf(e)>-1}allowsMarks(e){if(this.markSet==null)return!0;for(let t=0;t<e.length;t++)if(!this.allowsMarkType(e[t].type))return!1;return!0}allowedMarks(e){if(this.markSet==null)return e;let t;for(let n=0;n<e.length;n++)this.allowsMarkType(e[n].type)?t&&t.push(e[n]):t||=e.slice(0,n);return t?t.length?t:K.none:e}static compile(t,n){let r=Object.create(null);t.forEach((t,i)=>r[t]=new e(t,n,i));let i=n.spec.topNode||`doc`;if(!r[i])throw RangeError(`Schema is missing its top node type ('`+i+`')`);if(!r.text)throw RangeError(`Every schema needs a 'text' type`);for(let e in r.text.attrs)throw RangeError(`The text node type should not have attributes`);return r}};function Nh(e,t,n){let r=n.split(`|`);return n=>{let i=n===null?`null`:typeof n;if(r.indexOf(i)<0)throw RangeError(`Expected value of type ${r} for attribute ${t} on type ${e}, got ${i}`)}}var Ph=class{constructor(e,t,n){this.hasDefault=Object.prototype.hasOwnProperty.call(n,`default`),this.default=n.default,this.validate=typeof n.validate==`string`?Nh(e,t,n.validate):n.validate}get isRequired(){return!this.hasDefault}},Fh=class e{constructor(e,t,n,r){this.name=e,this.rank=t,this.schema=n,this.spec=r,this.attrs=jh(e,r.attrs),this.excluded=null;let i=kh(this.attrs);this.instance=i?new K(this,i):null}create(e=null){return!e&&this.instance?this.instance:new K(this,Ah(this.attrs,e))}static compile(t,n){let r=Object.create(null),i=0;return t.forEach((t,a)=>r[t]=new e(t,i++,n,a)),r}removeFromSet(e){for(var t=0;t<e.length;t++)e[t].type==this&&(e=e.slice(0,t).concat(e.slice(t+1)),t--);return e}isInSet(e){for(let t=0;t<e.length;t++)if(e[t].type==this)return e[t]}excludes(e){return this.excluded.indexOf(e)>-1}},Ih=class{constructor(e){this.linebreakReplacement=null,this.cached=Object.create(null);let t=this.spec={};for(let n in e)t[n]=e[n];t.nodes=Rm.from(e.nodes),t.marks=Rm.from(e.marks||{}),this.nodes=Mh.compile(this.spec.nodes,this),this.marks=Fh.compile(this.spec.marks,this);let n=Object.create(null);for(let e in this.nodes){if(e in this.marks)throw RangeError(e+` can not be both a node and a mark`);let t=this.nodes[e],r=t.spec.content||``,i=t.spec.marks;if(t.contentMatch=n[r]||(n[r]=hh.parse(r,this.nodes)),t.inlineContent=t.contentMatch.inlineContent,t.spec.linebreakReplacement){if(this.linebreakReplacement)throw RangeError(`Multiple linebreak nodes defined`);if(!t.isInline||!t.isLeaf)throw RangeError(`Linebreak replacement nodes must be inline leaf nodes`);this.linebreakReplacement=t}t.markSet=i==`_`?null:i?Lh(this,i.split(` `)):i==``||!t.inlineContent?[]:null}for(let e in this.marks){let t=this.marks[e],n=t.spec.excludes;t.excluded=n==null?[t]:n==``?[]:Lh(this,n.split(` `))}this.nodeFromJSON=e=>dh.fromJSON(this,e),this.markFromJSON=e=>K.fromJSON(this,e),this.topNodeType=this.nodes[this.spec.topNode||`doc`],this.cached.wrappings=Object.create(null)}node(e,t=null,n,r){if(typeof e==`string`)e=this.nodeType(e);else if(!(e instanceof Mh))throw RangeError(`Invalid node type: `+e);else if(e.schema!=this)throw RangeError(`Node type from different schema used (`+e.name+`)`);return e.createChecked(t,n,r)}text(e,t){let n=this.nodes.text;return new fh(n,n.defaultAttrs,e,K.setFrom(t))}mark(e,t){return typeof e==`string`&&(e=this.marks[e]),e.create(t)}nodeType(e){let t=this.nodes[e];if(!t)throw RangeError(`Unknown node type: `+e);return t}};function Lh(e,t){let n=[];for(let r=0;r<t.length;r++){let i=t[r],a=e.marks[i],o=a;if(a)n.push(a);else for(let t in e.marks){let r=e.marks[t];(i==`_`||r.spec.group&&r.spec.group.split(` `).indexOf(i)>-1)&&n.push(o=r)}if(!o)throw SyntaxError(`Unknown mark type: '`+t[r]+`'`)}return n}function Rh(e){return e.tag!=null}function zh(e){return e.style!=null}var Bh=class e{constructor(e,t){this.schema=e,this.rules=t,this.tags=[],this.styles=[];let n=this.matchedStyles=[];t.forEach(e=>{if(Rh(e))this.tags.push(e);else if(zh(e)){let t=/[^=]*/.exec(e.style)[0];n.indexOf(t)<0&&n.push(t),this.styles.push(e)}}),this.normalizeLists=!this.tags.some(t=>{if(!/^(ul|ol)\b/.test(t.tag)||!t.node)return!1;let n=e.nodes[t.node];return n.contentMatch.matchType(n)})}parse(e,t={}){let n=new Yh(this,t,!1);return n.addAll(e,K.none,t.from,t.to),n.finish()}parseSlice(e,t={}){let n=new Yh(this,t,!0);return n.addAll(e,K.none,t.from,t.to),q.maxOpen(n.finish())}matchTag(e,t,n){for(let r=n?this.tags.indexOf(n)+1:0;r<this.tags.length;r++){let n=this.tags[r];if(Zh(e,n.tag)&&(n.namespace===void 0||e.namespaceURI==n.namespace)&&(!n.context||t.matchesContext(n.context))){if(n.getAttrs){let t=n.getAttrs(e);if(t===!1)continue;n.attrs=t||void 0}return n}}}matchStyle(e,t,n,r){for(let i=r?this.styles.indexOf(r)+1:0;i<this.styles.length;i++){let r=this.styles[i],a=r.style;if(!(a.indexOf(e)!=0||r.context&&!n.matchesContext(r.context)||a.length>e.length&&(a.charCodeAt(e.length)!=61||a.slice(e.length+1)!=t))){if(r.getAttrs){let e=r.getAttrs(t);if(e===!1)continue;r.attrs=e||void 0}return r}}}static schemaRules(e){let t=[];function n(e){let n=e.priority==null?50:e.priority,r=0;for(;r<t.length;r++){let e=t[r];if((e.priority==null?50:e.priority)<n)break}t.splice(r,0,e)}for(let t in e.marks){let r=e.marks[t].spec.parseDOM;r&&r.forEach(e=>{n(e=Qh(e)),e.mark||e.ignore||e.clearMark||(e.mark=t)})}for(let t in e.nodes){let r=e.nodes[t].spec.parseDOM;r&&r.forEach(e=>{n(e=Qh(e)),e.node||e.ignore||e.mark||(e.node=t)})}return t}static fromSchema(t){return t.cached.domParser||(t.cached.domParser=new e(t,e.schemaRules(t)))}},Vh={address:!0,article:!0,aside:!0,blockquote:!0,body:!0,canvas:!0,dd:!0,div:!0,dl:!0,fieldset:!0,figcaption:!0,figure:!0,footer:!0,form:!0,h1:!0,h2:!0,h3:!0,h4:!0,h5:!0,h6:!0,header:!0,hgroup:!0,hr:!0,li:!0,noscript:!0,ol:!0,output:!0,p:!0,pre:!0,section:!0,table:!0,tfoot:!0,ul:!0},Hh={head:!0,noscript:!0,object:!0,script:!0,style:!0,title:!0},Uh={ol:!0,ul:!0},Wh=1,Gh=2,Kh=4;function qh(e,t,n){return t==null?e&&e.whitespace==`pre`?3:n&-5:(t?Wh:0)|(t===`full`?Gh:0)}var Jh=class{constructor(e,t,n,r,i,a){this.type=e,this.attrs=t,this.marks=n,this.solid=r,this.options=a,this.content=[],this.activeMarks=K.none,this.match=i||(a&Kh?null:e.contentMatch)}findWrapping(e){if(!this.match){if(!this.type)return[];let t=this.type.contentMatch.fillBefore(G.from(e));if(t)this.match=this.type.contentMatch.matchFragment(t);else{let t=this.type.contentMatch,n;return(n=t.findWrapping(e.type))?(this.match=t,n):null}}return this.match.findWrapping(e.type)}finish(e){if(!(this.options&Wh)){let e=this.content[this.content.length-1],t;if(e&&e.isText&&(t=/[ \t\r\n\u000c]+$/.exec(e.text))){let n=e;e.text.length==t[0].length?this.content.pop():this.content[this.content.length-1]=n.withText(n.text.slice(0,n.text.length-t[0].length))}}let t=G.from(this.content);return!e&&this.match&&(t=t.append(this.match.fillBefore(G.empty,!0))),this.type?this.type.create(this.attrs,t,this.marks):t}inlineContext(e){return this.type?this.type.inlineContent:this.content.length?this.content[0].isInline:e.parentNode&&!Vh.hasOwnProperty(e.parentNode.nodeName.toLowerCase())}},Yh=class{constructor(e,t,n){this.parser=e,this.options=t,this.isOpen=n,this.open=0,this.localPreserveWS=!1;let r=t.topNode,i,a=qh(null,t.preserveWhitespace,0)|(n?Kh:0);i=r?new Jh(r.type,r.attrs,K.none,!0,t.topMatch||r.type.contentMatch,a):n?new Jh(null,null,K.none,!0,null,a):new Jh(e.schema.topNodeType,null,K.none,!0,null,a),this.nodes=[i],this.find=t.findPositions,this.needsBlock=!1}get top(){return this.nodes[this.open]}addDOM(e,t){e.nodeType==3?this.addTextNode(e,t):e.nodeType==1&&this.addElement(e,t)}addTextNode(e,t){let n=e.nodeValue,r=this.top,i=r.options&Gh?`full`:this.localPreserveWS||(r.options&Wh)>0,{schema:a}=this.parser;if(i===`full`||r.inlineContext(e)||/[^ \t\r\n\u000c]/.test(n)){if(!i){if(n=n.replace(/[ \t\r\n\u000c]+/g,` `),/^[ \t\r\n\u000c]/.test(n)&&this.open==this.nodes.length-1){let t=r.content[r.content.length-1],i=e.previousSibling;(!t||i&&i.nodeName==`BR`||t.isText&&/[ \t\r\n\u000c]$/.test(t.text))&&(n=n.slice(1))}}else if(i===`full`)n=n.replace(/\r\n?/g,`
|
|
6
|
+
`);else if(a.linebreakReplacement&&/[\r\n]/.test(n)&&this.top.findWrapping(a.linebreakReplacement.create())){let e=n.split(/\r?\n|\r/);for(let n=0;n<e.length;n++)n&&this.insertNode(a.linebreakReplacement.create(),t,!0),e[n]&&this.insertNode(a.text(e[n]),t,!/\S/.test(e[n]));n=``}else n=n.replace(/\r?\n|\r/g,` `);n&&this.insertNode(a.text(n),t,!/\S/.test(n)),this.findInText(e)}else this.findInside(e)}addElement(e,t,n){let r=this.localPreserveWS,i=this.top;(e.tagName==`PRE`||/pre/.test(e.style&&e.style.whiteSpace))&&(this.localPreserveWS=!0);let a=e.nodeName.toLowerCase(),o;Uh.hasOwnProperty(a)&&this.parser.normalizeLists&&Xh(e);let s=this.options.ruleFromNode&&this.options.ruleFromNode(e)||(o=this.parser.matchTag(e,this,n));out:if(s?s.ignore:Hh.hasOwnProperty(a))this.findInside(e),this.ignoreFallback(e,t);else if(!s||s.skip||s.closeParent){s&&s.closeParent?this.open=Math.max(0,this.open-1):s&&s.skip.nodeType&&(e=s.skip);let n,r=this.needsBlock;if(Vh.hasOwnProperty(a))i.content.length&&i.content[0].isInline&&this.open&&(this.open--,i=this.top),n=!0,i.type||(this.needsBlock=!0);else if(!e.firstChild){this.leafFallback(e,t);break out}let o=s&&s.skip?t:this.readStyles(e,t);o&&this.addAll(e,o),n&&this.sync(i),this.needsBlock=r}else{let n=this.readStyles(e,t);n&&this.addElementByRule(e,s,n,s.consuming===!1?o:void 0)}this.localPreserveWS=r}leafFallback(e,t){e.nodeName==`BR`&&this.top.type&&this.top.type.inlineContent&&this.addTextNode(e.ownerDocument.createTextNode(`
|
|
7
|
+
`),t)}ignoreFallback(e,t){e.nodeName==`BR`&&(!this.top.type||!this.top.type.inlineContent)&&this.findPlace(this.parser.schema.text(`-`),t,!0)}readStyles(e,t){let n=e.style;if(n&&n.length)for(let e=0;e<this.parser.matchedStyles.length;e++){let r=this.parser.matchedStyles[e],i=n.getPropertyValue(r);if(i)for(let e;;){let n=this.parser.matchStyle(r,i,this,e);if(!n)break;if(n.ignore)return null;if(t=n.clearMark?t.filter(e=>!n.clearMark(e)):t.concat(this.parser.schema.marks[n.mark].create(n.attrs)),n.consuming===!1)e=n;else break}}return t}addElementByRule(e,t,n,r){let i,a;if(t.node){if(a=this.parser.schema.nodes[t.node],a.isLeaf)this.insertNode(a.create(t.attrs),n,e.nodeName==`BR`)||this.leafFallback(e,n);else{let e=this.enter(a,t.attrs||null,n,t.preserveWhitespace);e&&(i=!0,n=e)}}else{let e=this.parser.schema.marks[t.mark];n=n.concat(e.create(t.attrs))}let o=this.top;if(a&&a.isLeaf)this.findInside(e);else if(r)this.addElement(e,n,r);else if(t.getContent)this.findInside(e),t.getContent(e,this.parser.schema).forEach(e=>this.insertNode(e,n,!1));else{let r=e;typeof t.contentElement==`string`?r=e.querySelector(t.contentElement):typeof t.contentElement==`function`?r=t.contentElement(e):t.contentElement&&(r=t.contentElement),this.findAround(e,r,!0),this.addAll(r,n),this.findAround(e,r,!1)}i&&this.sync(o)&&this.open--}addAll(e,t,n,r){let i=n||0;for(let a=n?e.childNodes[n]:e.firstChild,o=r==null?null:e.childNodes[r];a!=o;a=a.nextSibling,++i)this.findAtPoint(e,i),this.addDOM(a,t);this.findAtPoint(e,i)}findPlace(e,t,n){let r,i;for(let t=this.open,a=0;t>=0;t--){let o=this.nodes[t],s=o.findWrapping(e);if(s&&(!r||r.length>s.length+a)&&(r=s,i=o,!s.length))break;if(o.solid){if(n)break;a+=2}}if(!r)return null;this.sync(i);for(let e=0;e<r.length;e++)t=this.enterInner(r[e],null,t,!1);return t}insertNode(e,t,n){if(e.isInline&&this.needsBlock&&!this.top.type){let e=this.textblockFromContext();e&&(t=this.enterInner(e,null,t))}let r=this.findPlace(e,t,n);if(r){this.closeExtra();let t=this.top;t.match&&=t.match.matchType(e.type);let n=K.none;for(let i of r.concat(e.marks))(t.type?t.type.allowsMarkType(i.type):$h(i.type,e.type))&&(n=i.addToSet(n));return t.content.push(e.mark(n)),!0}return!1}enter(e,t,n,r){let i=this.findPlace(e.create(t),n,!1);return i&&=this.enterInner(e,t,n,!0,r),i}enterInner(e,t,n,r=!1,i){this.closeExtra();let a=this.top;a.match=a.match&&a.match.matchType(e);let o=qh(e,i,a.options);a.options&Kh&&a.content.length==0&&(o|=Kh);let s=K.none;return n=n.filter(t=>!(a.type?a.type.allowsMarkType(t.type):$h(t.type,e))||(s=t.addToSet(s),!1)),this.nodes.push(new Jh(e,t,s,r,null,o)),this.open++,n}closeExtra(e=!1){let t=this.nodes.length-1;if(t>this.open){for(;t>this.open;t--)this.nodes[t-1].content.push(this.nodes[t].finish(e));this.nodes.length=this.open+1}}finish(){return this.open=0,this.closeExtra(this.isOpen),this.nodes[0].finish(!!(this.isOpen||this.options.topOpen))}sync(e){for(let t=this.open;t>=0;t--)if(this.nodes[t]==e)return this.open=t,!0;else this.localPreserveWS&&(this.nodes[t].options|=Wh);return!1}get currentPos(){this.closeExtra();let e=0;for(let t=this.open;t>=0;t--){let n=this.nodes[t].content;for(let t=n.length-1;t>=0;t--)e+=n[t].nodeSize;t&&e++}return e}findAtPoint(e,t){if(this.find)for(let n=0;n<this.find.length;n++)this.find[n].node==e&&this.find[n].offset==t&&(this.find[n].pos=this.currentPos)}findInside(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].pos==null&&e.nodeType==1&&e.contains(this.find[t].node)&&(this.find[t].pos=this.currentPos)}findAround(e,t,n){if(e!=t&&this.find)for(let r=0;r<this.find.length;r++)this.find[r].pos==null&&e.nodeType==1&&e.contains(this.find[r].node)&&t.compareDocumentPosition(this.find[r].node)&(n?2:4)&&(this.find[r].pos=this.currentPos)}findInText(e){if(this.find)for(let t=0;t<this.find.length;t++)this.find[t].node==e&&(this.find[t].pos=this.currentPos-(e.nodeValue.length-this.find[t].offset))}matchesContext(e){if(e.indexOf(`|`)>-1)return e.split(/\s*\|\s*/).some(this.matchesContext,this);let t=e.split(`/`),n=this.options.context,r=!this.isOpen&&(!n||n.parent.type==this.nodes[0].type),i=-(n?n.depth+1:0)+ +!r,a=(e,o)=>{for(;e>=0;e--){let s=t[e];if(s==``){if(e==t.length-1||e==0)continue;for(;o>=i;o--)if(a(e-1,o))return!0;return!1}{let e=o>0||o==0&&r?this.nodes[o].type:n&&o>=i?n.node(o-i).type:null;if(!e||e.name!=s&&!e.isInGroup(s))return!1;o--}}return!0};return a(t.length-1,this.open)}textblockFromContext(){let e=this.options.context;if(e)for(let t=e.depth;t>=0;t--){let n=e.node(t).contentMatchAt(e.indexAfter(t)).defaultType;if(n&&n.isTextblock&&n.defaultAttrs)return n}for(let e in this.parser.schema.nodes){let t=this.parser.schema.nodes[e];if(t.isTextblock&&t.defaultAttrs)return t}}};function Xh(e){for(let t=e.firstChild,n=null;t;t=t.nextSibling){let e=t.nodeType==1?t.nodeName.toLowerCase():null;e&&Uh.hasOwnProperty(e)&&n?(n.appendChild(t),t=n):e==`li`?n=t:e&&(n=null)}}function Zh(e,t){return(e.matches||e.msMatchesSelector||e.webkitMatchesSelector||e.mozMatchesSelector).call(e,t)}function Qh(e){let t={};for(let n in e)t[n]=e[n];return t}function $h(e,t){let n=t.schema.nodes;for(let r in n){let i=n[r];if(!i.allowsMarkType(e))continue;let a=[],o=e=>{a.push(e);for(let n=0;n<e.edgeCount;n++){let{type:r,next:i}=e.edge(n);if(r==t||a.indexOf(i)<0&&o(i))return!0}};if(o(i.contentMatch))return!0}}var eg=class e{constructor(e,t){this.nodes=e,this.marks=t}serializeFragment(e,t={},n){n||=ng(t).createDocumentFragment();let r=n,i=[];return e.forEach(e=>{if(i.length||e.marks.length){let n=0,a=0;for(;n<i.length&&a<e.marks.length;){let t=e.marks[a];if(!this.marks[t.type.name])a++;else{if(!t.eq(i[n][0])||t.type.spec.spanning===!1)break;n++,a++}}for(;n<i.length;)r=i.pop()[1];for(;a<e.marks.length;){let n=e.marks[a++],o=this.serializeMark(n,e.isInline,t);o&&(i.push([n,r]),r.appendChild(o.dom),r=o.contentDOM||o.dom)}}r.appendChild(this.serializeNodeInner(e,t))}),n}serializeNodeInner(e,t){if(e.isText)return ng(t).createTextNode(e.text);let{dom:n,contentDOM:r}=og(ng(t),this.nodes[e.type.name](e),null,e.attrs);if(r){if(e.isLeaf)throw RangeError(`Content hole not allowed in a leaf node spec`);this.serializeFragment(e.content,t,r)}return n}serializeNode(e,t={}){let n=this.serializeNodeInner(e,t);for(let r=e.marks.length-1;r>=0;r--){let i=this.serializeMark(e.marks[r],e.isInline,t);i&&((i.contentDOM||i.dom).appendChild(n),n=i.dom)}return n}serializeMark(e,t,n={}){let r=this.marks[e.type.name];return r&&og(ng(n),r(e,t),null,e.attrs)}static renderSpec(e,t,n=null,r){return typeof t==`string`?{dom:e.createTextNode(t)}:og(e,t,n,r)}static fromSchema(t){return t.cached.domSerializer||(t.cached.domSerializer=new e(this.nodesFromSchema(t),this.marksFromSchema(t)))}static nodesFromSchema(e){let t=tg(e.nodes);return t.text||=e=>e.text,t}static marksFromSchema(e){return tg(e.marks)}};function tg(e){let t={};for(let n in e){let r=e[n].spec.toDOM;r&&(t[n]=r)}return t}function ng(e){return e.document||window.document}var rg=new WeakMap;function ig(e){let t=rg.get(e);return t===void 0&&rg.set(e,t=ag(e)),t}function ag(e){let t=null;function n(e){if(e&&typeof e==`object`){if(Array.isArray(e)){if(typeof e[0]==`string`)t||=[],t.push(e);else for(let t=0;t<e.length;t++)n(e[t])}else for(let t in e)n(e[t])}}return n(e),t}function og(e,t,n,r){if(t.nodeType==1)return{dom:t};if(t.dom&&t.dom.nodeType==1)return t;let i=t[0],a;if(typeof i!=`string`)throw RangeError(`Invalid array passed to renderSpec`);if(r&&(a=ig(r))&&a.indexOf(t)>-1)throw RangeError(`Using an array from an attribute object as a DOM spec. This may be an attempted cross site scripting attack.`);let o=i.indexOf(` `);o>0&&(n=i.slice(0,o),i=i.slice(o+1));let s,c=n?e.createElementNS(n,i):e.createElement(i),l=t[1],u=1;if(l&&typeof l==`object`&&l.nodeType==null&&!Array.isArray(l)){u=2;for(let e in l)if(l[e]!=null){let t=e.indexOf(` `);t>0?c.setAttributeNS(e.slice(0,t),e.slice(t+1),l[e]):e==`style`&&c.style?c.style.cssText=l[e]:c.setAttribute(e,l[e])}}for(let i=u;i<t.length;i++){let a=t[i];if(a===0){if(i<t.length-1||i>u)throw RangeError(`Content hole must be the only child of its parent node`);return{dom:c,contentDOM:c}}if(typeof a==`string`)c.appendChild(e.createTextNode(a));else{let{dom:t,contentDOM:i}=og(e,a,n,r);if(c.appendChild(t),i){if(s)throw RangeError(`Multiple content holes`);s=i}}}return{dom:c,contentDOM:s}}var sg=65535,cg=2**16;function lg(e,t){return e+t*cg}function ug(e){return e&sg}function dg(e){return(e-(e&sg))/cg}var fg=1,pg=2,mg=4,hg=8,gg=class{constructor(e,t,n){this.pos=e,this.delInfo=t,this.recover=n}get deleted(){return(this.delInfo&hg)>0}get deletedBefore(){return(this.delInfo&5)>0}get deletedAfter(){return(this.delInfo&6)>0}get deletedAcross(){return(this.delInfo&mg)>0}},_g=class e{constructor(t,n=!1){if(this.ranges=t,this.inverted=n,!t.length&&e.empty)return e.empty}recover(e){let t=0,n=ug(e);if(!this.inverted)for(let e=0;e<n;e++)t+=this.ranges[e*3+2]-this.ranges[e*3+1];return this.ranges[n*3]+t+dg(e)}mapResult(e,t=1){return this._map(e,t,!1)}map(e,t=1){return this._map(e,t,!0)}_map(e,t,n){let r=0,i=this.inverted?2:1,a=this.inverted?1:2;for(let o=0;o<this.ranges.length;o+=3){let s=this.ranges[o]-(this.inverted?r:0);if(s>e)break;let c=this.ranges[o+i],l=this.ranges[o+a],u=s+c;if(e<=u){let i=c?e==s?-1:e==u?1:t:t,a=s+r+(i<0?0:l);if(n)return a;let d=e==(t<0?s:u)?null:lg(o/3,e-s),f=0;return c&&(f|=e==s?pg:e==u?fg:mg,(t<0?e!=s:e!=u)&&(f|=hg)),new gg(a,f,d)}r+=l-c}return n?e+r:new gg(e+r,0,null)}touches(e,t){let n=0,r=ug(t),i=this.inverted?2:1,a=this.inverted?1:2;for(let t=0;t<this.ranges.length;t+=3){let o=this.ranges[t]-(this.inverted?n:0);if(o>e)break;let s=this.ranges[t+i];if(e<=o+s&&t==r*3)return!0;n+=this.ranges[t+a]-s}return!1}forEach(e){let t=this.inverted?2:1,n=this.inverted?1:2;for(let r=0,i=0;r<this.ranges.length;r+=3){let a=this.ranges[r],o=a-(this.inverted?i:0),s=a+(this.inverted?0:i),c=this.ranges[r+t],l=this.ranges[r+n];e(o,o+c,s,s+l),i+=l-c}}invert(){return new e(this.ranges,!this.inverted)}toString(){return(this.inverted?`-`:``)+JSON.stringify(this.ranges)}static offset(t){return t==0?e.empty:new e(t<0?[0,-t,0]:[0,0,t])}};_g.empty=new _g([]);var vg=class e{constructor(e,t,n=0,r=e?e.length:0){this.mirror=t,this.from=n,this.to=r,this._maps=e||[],this.ownData=!(e||t)}get maps(){return this._maps}slice(t=0,n=this.maps.length){return new e(this._maps,this.mirror,t,n)}appendMap(e,t){this.ownData||=(this._maps=this._maps.slice(),this.mirror=this.mirror&&this.mirror.slice(),!0),this.to=this._maps.push(e),t!=null&&this.setMirror(this._maps.length-1,t)}appendMapping(e){for(let t=0,n=this._maps.length;t<e._maps.length;t++){let r=e.getMirror(t);this.appendMap(e._maps[t],r!=null&&r<t?n+r:void 0)}}getMirror(e){if(this.mirror){for(let t=0;t<this.mirror.length;t++)if(this.mirror[t]==e)return this.mirror[t+(t%2?-1:1)]}}setMirror(e,t){this.mirror||=[],this.mirror.push(e,t)}appendMappingInverted(e){for(let t=e.maps.length-1,n=this._maps.length+e._maps.length;t>=0;t--){let r=e.getMirror(t);this.appendMap(e._maps[t].invert(),r!=null&&r>t?n-r-1:void 0)}}invert(){let t=new e;return t.appendMappingInverted(this),t}map(e,t=1){if(this.mirror)return this._map(e,t,!0);for(let n=this.from;n<this.to;n++)e=this._maps[n].map(e,t);return e}mapResult(e,t=1){return this._map(e,t,!1)}_map(e,t,n){let r=0;for(let n=this.from;n<this.to;n++){let i=this._maps[n].mapResult(e,t);if(i.recover!=null){let t=this.getMirror(n);if(t!=null&&t>n&&t<this.to){n=t,e=this._maps[t].recover(i.recover);continue}}r|=i.delInfo,e=i.pos}return n?e:new gg(e,r,null)}},yg=Object.create(null),bg=class{getMap(){return _g.empty}merge(e){return null}static fromJSON(e,t){if(!t||!t.stepType)throw RangeError(`Invalid input for Step.fromJSON`);let n=yg[t.stepType];if(!n)throw RangeError(`No step type ${t.stepType} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in yg)throw RangeError(`Duplicate use of step JSON ID `+e);return yg[e]=t,t.prototype.jsonID=e,t}},xg=class e{constructor(e,t){this.doc=e,this.failed=t}static ok(t){return new e(t,null)}static fail(t){return new e(null,t)}static fromReplace(t,n,r,i){try{return e.ok(t.replace(n,r,i))}catch(t){if(t instanceof Km)return e.fail(t.message);throw t}}};function Sg(e,t,n){let r=[];for(let i=0;i<e.childCount;i++){let a=e.child(i);a.content.size&&(a=a.copy(Sg(a.content,t,a))),a.isInline&&(a=t(a,n,i)),r.push(a)}return G.fromArray(r)}var Cg=class e extends bg{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=e.resolve(this.from),r=n.node(n.sharedDepth(this.to)),i=new q(Sg(t.content,(e,t)=>!e.isAtom||!t.type.allowsMarkType(this.mark.type)?e:e.mark(this.mark.addToSet(e.marks)),r),t.openStart,t.openEnd);return xg.fromReplace(e,this.from,this.to,i)}invert(){return new wg(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`addMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for AddMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};bg.jsonID(`addMark`,Cg);var wg=class e extends bg{constructor(e,t,n){super(),this.from=e,this.to=t,this.mark=n}apply(e){let t=e.slice(this.from,this.to),n=new q(Sg(t.content,e=>e.mark(this.mark.removeFromSet(e.marks)),e),t.openStart,t.openEnd);return xg.fromReplace(e,this.from,this.to,n)}invert(){return new Cg(this.from,this.to,this.mark)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1);return n.deleted&&r.deleted||n.pos>=r.pos?null:new e(n.pos,r.pos,this.mark)}merge(t){return t instanceof e&&t.mark.eq(this.mark)&&this.from<=t.to&&this.to>=t.from?new e(Math.min(this.from,t.from),Math.max(this.to,t.to),this.mark):null}toJSON(){return{stepType:`removeMark`,mark:this.mark.toJSON(),from:this.from,to:this.to}}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for RemoveMarkStep.fromJSON`);return new e(n.from,n.to,t.markFromJSON(n.mark))}};bg.jsonID(`removeMark`,wg);var Tg=class e extends bg{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return xg.fail(`No node at mark step's position`);let n=t.type.create(t.attrs,null,this.mark.addToSet(t.marks));return xg.fromReplace(e,this.pos,this.pos+1,new q(G.from(n),0,+!t.isLeaf))}invert(t){let n=t.nodeAt(this.pos);if(n){let t=this.mark.addToSet(n.marks);if(t.length==n.marks.length){for(let r=0;r<n.marks.length;r++)if(!n.marks[r].isInSet(t))return new e(this.pos,n.marks[r]);return new e(this.pos,this.mark)}}return new Eg(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:`addNodeMark`,pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!=`number`)throw RangeError(`Invalid input for AddNodeMarkStep.fromJSON`);return new e(n.pos,t.markFromJSON(n.mark))}};bg.jsonID(`addNodeMark`,Tg);var Eg=class e extends bg{constructor(e,t){super(),this.pos=e,this.mark=t}apply(e){let t=e.nodeAt(this.pos);if(!t)return xg.fail(`No node at mark step's position`);let n=t.type.create(t.attrs,null,this.mark.removeFromSet(t.marks));return xg.fromReplace(e,this.pos,this.pos+1,new q(G.from(n),0,+!t.isLeaf))}invert(e){let t=e.nodeAt(this.pos);return!t||!this.mark.isInSet(t.marks)?this:new Tg(this.pos,this.mark)}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.mark)}toJSON(){return{stepType:`removeNodeMark`,pos:this.pos,mark:this.mark.toJSON()}}static fromJSON(t,n){if(typeof n.pos!=`number`)throw RangeError(`Invalid input for RemoveNodeMarkStep.fromJSON`);return new e(n.pos,t.markFromJSON(n.mark))}};bg.jsonID(`removeNodeMark`,Eg);var Dg=class e extends bg{constructor(e,t,n,r=!1){super(),this.from=e,this.to=t,this.slice=n,this.structure=r}apply(e){return this.structure&&kg(e,this.from,this.to)?xg.fail(`Structure replace would overwrite content`):xg.fromReplace(e,this.from,this.to,this.slice)}getMap(){return new _g([this.from,this.to-this.from,this.slice.size])}invert(t){return new e(this.from,this.from+this.slice.size,t.slice(this.from,this.to))}map(t){let n=t.mapResult(this.to,-1),r=this.from==this.to&&e.MAP_BIAS<0?n:t.mapResult(this.from,1);return r.deletedAcross&&n.deletedAcross?null:new e(r.pos,Math.max(r.pos,n.pos),this.slice,this.structure)}merge(t){if(!(t instanceof e)||t.structure||this.structure)return null;if(this.from+this.slice.size==t.from&&!this.slice.openEnd&&!t.slice.openStart){let n=this.slice.size+t.slice.size==0?q.empty:new q(this.slice.content.append(t.slice.content),this.slice.openStart,t.slice.openEnd);return new e(this.from,this.to+(t.to-t.from),n,this.structure)}if(t.to==this.from&&!this.slice.openStart&&!t.slice.openEnd){let n=this.slice.size+t.slice.size==0?q.empty:new q(t.slice.content.append(this.slice.content),t.slice.openStart,this.slice.openEnd);return new e(t.from,this.to,n,this.structure)}return null}toJSON(){let e={stepType:`replace`,from:this.from,to:this.to};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`)throw RangeError(`Invalid input for ReplaceStep.fromJSON`);return new e(n.from,n.to,q.fromJSON(t,n.slice),!!n.structure)}};Dg.MAP_BIAS=1,bg.jsonID(`replace`,Dg);var Og=class e extends bg{constructor(e,t,n,r,i,a,o=!1){super(),this.from=e,this.to=t,this.gapFrom=n,this.gapTo=r,this.slice=i,this.insert=a,this.structure=o}apply(e){if(this.structure&&(kg(e,this.from,this.gapFrom)||kg(e,this.gapTo,this.to)))return xg.fail(`Structure gap-replace would overwrite content`);let t=e.slice(this.gapFrom,this.gapTo);if(t.openStart||t.openEnd)return xg.fail(`Gap is not a flat range`);let n=this.slice.insertAt(this.insert,t.content);return n?xg.fromReplace(e,this.from,this.to,n):xg.fail(`Content does not fit in gap`)}getMap(){return new _g([this.from,this.gapFrom-this.from,this.insert,this.gapTo,this.to-this.gapTo,this.slice.size-this.insert])}invert(t){let n=this.gapTo-this.gapFrom;return new e(this.from,this.from+this.slice.size+n,this.from+this.insert,this.from+this.insert+n,t.slice(this.from,this.to).removeBetween(this.gapFrom-this.from,this.gapTo-this.from),this.gapFrom-this.from,this.structure)}map(t){let n=t.mapResult(this.from,1),r=t.mapResult(this.to,-1),i=this.from==this.gapFrom?n.pos:t.map(this.gapFrom,-1),a=this.to==this.gapTo?r.pos:t.map(this.gapTo,1);return n.deletedAcross&&r.deletedAcross||i<n.pos||a>r.pos?null:new e(n.pos,r.pos,i,a,this.slice,this.insert,this.structure)}toJSON(){let e={stepType:`replaceAround`,from:this.from,to:this.to,gapFrom:this.gapFrom,gapTo:this.gapTo,insert:this.insert};return this.slice.size&&(e.slice=this.slice.toJSON()),this.structure&&(e.structure=!0),e}static fromJSON(t,n){if(typeof n.from!=`number`||typeof n.to!=`number`||typeof n.gapFrom!=`number`||typeof n.gapTo!=`number`||typeof n.insert!=`number`)throw RangeError(`Invalid input for ReplaceAroundStep.fromJSON`);return new e(n.from,n.to,n.gapFrom,n.gapTo,q.fromJSON(t,n.slice),n.insert,!!n.structure)}};bg.jsonID(`replaceAround`,Og);function kg(e,t,n){let r=e.resolve(t),i=n-t,a=r.depth;for(;i>0&&a>0&&r.indexAfter(a)==r.node(a).childCount;)a--,i--;if(i>0){let e=r.node(a).maybeChild(r.indexAfter(a));for(;i>0;){if(!e||e.isLeaf)return!0;e=e.firstChild,i--}}return!1}function Ag(e,t,n,r){let i=[],a=[],o,s;e.doc.nodesBetween(t,n,(e,c,l)=>{if(!e.isInline)return;let u=e.marks;if(!r.isInSet(u)&&l.type.allowsMarkType(r.type)){let l=Math.max(c,t),d=Math.min(c+e.nodeSize,n),f=r.addToSet(u);for(let e=0;e<u.length;e++)u[e].isInSet(f)||(o&&o.to==l&&o.mark.eq(u[e])?o.to=d:i.push(o=new wg(l,d,u[e])));s&&s.to==l?s.to=d:a.push(s=new Cg(l,d,r))}}),i.forEach(t=>e.step(t)),a.forEach(t=>e.step(t))}function jg(e,t,n,r){let i=[],a=0;e.doc.nodesBetween(t,n,(e,o)=>{if(!e.isInline)return;a++;let s=null;if(r instanceof Fh){let t=e.marks,n;for(;n=r.isInSet(t);)(s||=[]).push(n),t=n.removeFromSet(t)}else r?r.isInSet(e.marks)&&(s=[r]):s=e.marks;if(s&&s.length){let r=Math.min(o+e.nodeSize,n);for(let e=0;e<s.length;e++){let n=s[e],c;for(let e=0;e<i.length;e++){let t=i[e];t.step==a-1&&n.eq(i[e].style)&&(c=t)}c?(c.to=r,c.step=a):i.push({style:n,from:Math.max(o,t),to:r,step:a})}}}),i.forEach(t=>e.step(new wg(t.from,t.to,t.style)))}function Mg(e,t,n,r=n.contentMatch,i=!0){let a=e.doc.nodeAt(t),o=[],s=t+1;for(let t=0;t<a.childCount;t++){let c=a.child(t),l=s+c.nodeSize,u=r.matchType(c.type);if(!u)o.push(new Dg(s,l,q.empty));else{r=u;for(let t=0;t<c.marks.length;t++)n.allowsMarkType(c.marks[t].type)||e.step(new wg(s,l,c.marks[t]));if(i&&c.isText&&n.whitespace!=`pre`){let e,t=/\r?\n|\r/g,r;for(;e=t.exec(c.text);)r||=new q(G.from(n.schema.text(` `,n.allowedMarks(c.marks))),0,0),o.push(new Dg(s+e.index,s+e.index+e[0].length,r))}}s=l}if(!r.validEnd){let t=r.fillBefore(G.empty,!0);e.replace(s,s,new q(t,0,0))}for(let t=o.length-1;t>=0;t--)e.step(o[t])}function Ng(e,t,n){return(t==0||e.canReplace(t,e.childCount))&&(n==e.childCount||e.canReplace(0,n))}function Pg(e){let t=e.parent.content.cutByIndex(e.startIndex,e.endIndex);for(let n=e.depth,r=0,i=0;;--n){let a=e.$from.node(n),o=e.$from.index(n)+r,s=e.$to.indexAfter(n)-i;if(n<e.depth&&a.canReplace(o,s,t))return n;if(n==0||a.type.spec.isolating||!Ng(a,o,s))break;o&&(r=1),s<a.childCount&&(i=1)}return null}function Fg(e,t,n){let{$from:r,$to:i,depth:a}=t,o=r.before(a+1),s=i.after(a+1),c=o,l=s,u=G.empty,d=0;for(let e=a,t=!1;e>n;e--)t||r.index(e)>0?(t=!0,u=G.from(r.node(e).copy(u)),d++):c--;let f=G.empty,p=0;for(let e=a,t=!1;e>n;e--)t||i.after(e+1)<i.end(e)?(t=!0,f=G.from(i.node(e).copy(f)),p++):l++;e.step(new Og(c,l,o,s,new q(u.append(f),d,p),u.size-d,!0))}function Ig(e,t,n=null,r=e){let i=Rg(e,t),a=i&&zg(r,t);return a?i.map(Lg).concat({type:t,attrs:n}).concat(a.map(Lg)):null}function Lg(e){return{type:e,attrs:null}}function Rg(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.contentMatchAt(r).findWrapping(t);if(!a)return null;let o=a.length?a[0]:t;return n.canReplaceWith(r,i,o)?a:null}function zg(e,t){let{parent:n,startIndex:r,endIndex:i}=e,a=n.child(r),o=t.contentMatch.findWrapping(a.type);if(!o)return null;let s=(o.length?o[o.length-1]:t).contentMatch;for(let e=r;s&&e<i;e++)s=s.matchType(n.child(e).type);return!s||!s.validEnd?null:o}function Bg(e,t,n){let r=G.empty;for(let e=n.length-1;e>=0;e--){if(r.size){let t=n[e].type.contentMatch.matchFragment(r);if(!t||!t.validEnd)throw RangeError(`Wrapper type given to Transform.wrap does not form valid content of its parent wrapper`)}r=G.from(n[e].type.create(n[e].attrs,r))}let i=t.start,a=t.end;e.step(new Og(i,a,i,a,new q(r,0,0),n.length,!0))}function Vg(e,t,n,r,i){if(!r.isTextblock)throw RangeError(`Type given to setBlockType should be a textblock`);let a=e.steps.length;e.doc.nodesBetween(t,n,(t,n)=>{let o=typeof i==`function`?i(t):i;if(t.isTextblock&&!t.hasMarkup(r,o)&&Wg(e.doc,e.mapping.slice(a).map(n),r)){let i=null;if(r.schema.linebreakReplacement){let e=r.whitespace==`pre`,t=!!r.contentMatch.matchType(r.schema.linebreakReplacement);e&&!t?i=!1:!e&&t&&(i=!0)}i===!1&&Ug(e,t,n,a),Mg(e,e.mapping.slice(a).map(n,1),r,void 0,i===null);let s=e.mapping.slice(a),c=s.map(n,1),l=s.map(n+t.nodeSize,1);return e.step(new Og(c,l,c+1,l-1,new q(G.from(r.create(o,null,t.marks)),0,0),1,!0)),i===!0&&Hg(e,t,n,a),!1}})}function Hg(e,t,n,r){t.forEach((i,a)=>{if(i.isText){let o,s=/\r?\n|\r/g;for(;o=s.exec(i.text);){let i=e.mapping.slice(r).map(n+1+a+o.index);e.replaceWith(i,i+1,t.type.schema.linebreakReplacement.create())}}})}function Ug(e,t,n,r){t.forEach((i,a)=>{if(i.type==i.type.schema.linebreakReplacement){let i=e.mapping.slice(r).map(n+1+a);e.replaceWith(i,i+1,t.type.schema.text(`
|
|
8
|
+
`))}})}function Wg(e,t,n){let r=e.resolve(t),i=r.index();return r.parent.canReplaceWith(i,i+1,n)}function Gg(e,t,n,r,i){let a=e.doc.nodeAt(t);if(!a)throw RangeError(`No node at given position`);n||=a.type;let o=n.create(r,null,i||a.marks);if(a.isLeaf)return e.replaceWith(t,t+a.nodeSize,o);if(!n.validContent(a.content))throw RangeError(`Invalid content for node type `+n.name);e.step(new Og(t,t+a.nodeSize,t+1,t+a.nodeSize-1,new q(G.from(o),0,0),1,!0))}function Kg(e,t,n=1,r){let i=e.resolve(t),a=i.depth-n,o=r&&r[r.length-1]||i.parent;if(a<0||i.parent.type.spec.isolating||!i.parent.canReplace(i.index(),i.parent.childCount)||!o.type.validContent(i.parent.content.cutByIndex(i.index(),i.parent.childCount)))return!1;for(let e=i.depth-1,t=n-2;e>a;e--,t--){let n=i.node(e),a=i.index(e);if(n.type.spec.isolating)return!1;let o=n.content.cutByIndex(a,n.childCount),s=r&&r[t+1];s&&(o=o.replaceChild(0,s.type.create(s.attrs)));let c=r&&r[t]||n;if(!n.canReplace(a+1,n.childCount)||!c.type.validContent(o))return!1}let s=i.indexAfter(a),c=r&&r[0];return i.node(a).canReplaceWith(s,s,c?c.type:i.node(a+1).type)}function qg(e,t,n=1,r){let i=e.doc.resolve(t),a=G.empty,o=G.empty;for(let e=i.depth,t=i.depth-n,s=n-1;e>t;e--,s--){a=G.from(i.node(e).copy(a));let t=r&&r[s];o=G.from(t?t.type.create(t.attrs,o):i.node(e).copy(o))}e.step(new Dg(t,t,new q(a.append(o),n,n),!0))}function Jg(e,t){let n=e.resolve(t),r=n.index();return Xg(n.nodeBefore,n.nodeAfter)&&n.parent.canReplace(r,r+1)}function Yg(e,t){t.content.size||e.type.compatibleContent(t.type);let n=e.contentMatchAt(e.childCount),{linebreakReplacement:r}=e.type.schema;for(let i=0;i<t.childCount;i++){let a=t.child(i),o=a.type==r?e.type.schema.nodes.text:a.type;if(n=n.matchType(o),!n||!e.type.allowsMarks(a.marks))return!1}return n.validEnd}function Xg(e,t){return!!(e&&t&&!e.isLeaf&&Yg(e,t))}function Zg(e,t,n=-1){let r=e.resolve(t);for(let e=r.depth;;e--){let i,a,o=r.index(e);if(e==r.depth?(i=r.nodeBefore,a=r.nodeAfter):n>0?(i=r.node(e+1),o++,a=r.node(e).maybeChild(o)):(i=r.node(e).maybeChild(o-1),a=r.node(e+1)),i&&!i.isTextblock&&Xg(i,a)&&r.node(e).canReplace(o,o+1))return t;if(e==0)break;t=n<0?r.before(e):r.after(e)}}function Qg(e,t,n){let r=null,{linebreakReplacement:i}=e.doc.type.schema,a=e.doc.resolve(t-n),o=a.node().type;if(i&&o.inlineContent){let e=o.whitespace==`pre`,t=!!o.contentMatch.matchType(i);e&&!t?r=!1:!e&&t&&(r=!0)}let s=e.steps.length;if(r===!1){let r=e.doc.resolve(t+n);Ug(e,r.node(),r.before(),s)}o.inlineContent&&Mg(e,t+n-1,o,a.node().contentMatchAt(a.index()),r==null);let c=e.mapping.slice(s),l=c.map(t-n);if(e.step(new Dg(l,c.map(t+n,-1),q.empty,!0)),r===!0){let t=e.doc.resolve(l);Hg(e,t.node(),t.before(),e.steps.length)}return e}function $g(e,t,n){let r=e.resolve(t);if(r.parent.canReplaceWith(r.index(),r.index(),n))return t;if(r.parentOffset==0)for(let e=r.depth-1;e>=0;e--){let t=r.index(e);if(r.node(e).canReplaceWith(t,t,n))return r.before(e+1);if(t>0)return null}if(r.parentOffset==r.parent.content.size)for(let e=r.depth-1;e>=0;e--){let t=r.indexAfter(e);if(r.node(e).canReplaceWith(t,t,n))return r.after(e+1);if(t<r.node(e).childCount)return null}return null}function e_(e,t,n){let r=e.resolve(t);if(!n.content.size)return t;let i=n.content;for(let e=0;e<n.openStart;e++)i=i.firstChild.content;for(let e=1;e<=(n.openStart==0&&n.size?2:1);e++)for(let t=r.depth;t>=0;t--){let n=t==r.depth?0:r.pos<=(r.start(t+1)+r.end(t+1))/2?-1:1,a=r.index(t)+ +(n>0),o=r.node(t),s=!1;if(e==1)s=o.canReplace(a,a,i);else{let e=o.contentMatchAt(a).findWrapping(i.firstChild.type);s=e&&o.canReplaceWith(a,a,e[0])}if(s)return n==0?r.pos:n<0?r.before(t+1):r.after(t+1)}return null}function t_(e,t,n=t,r=q.empty){if(t==n&&!r.size)return null;let i=e.resolve(t),a=e.resolve(n);return n_(i,a,r)?new Dg(t,n,r):new r_(i,a,r).fit()}function n_(e,t,n){return!n.openStart&&!n.openEnd&&e.start()==t.start()&&e.parent.canReplace(e.index(),t.index(),n.content)}var r_=class{constructor(e,t,n){this.$from=e,this.$to=t,this.unplaced=n,this.frontier=[],this.placed=G.empty;for(let t=0;t<=e.depth;t++){let n=e.node(t);this.frontier.push({type:n.type,match:n.contentMatchAt(e.indexAfter(t))})}for(let t=e.depth;t>0;t--)this.placed=G.from(e.node(t).copy(this.placed))}get depth(){return this.frontier.length-1}fit(){for(;this.unplaced.size;){let e=this.findFittable();e?this.placeNodes(e):this.openMore()||this.dropNode()}let e=this.mustMoveInline(),t=this.placed.size-this.depth-this.$from.depth,n=this.$from,r=this.close(e<0?this.$to:n.doc.resolve(e));if(!r)return null;let i=this.placed,a=n.depth,o=r.depth;for(;a&&o&&i.childCount==1;)i=i.firstChild.content,a--,o--;let s=new q(i,a,o);return e>-1?new Og(n.pos,e,this.$to.pos,this.$to.end(),s,t):s.size||n.pos!=this.$to.pos?new Dg(n.pos,r.pos,s):null}findFittable(){let e=this.unplaced.openStart;for(let t=this.unplaced.content,n=0,r=this.unplaced.openEnd;n<e;n++){let i=t.firstChild;if(t.childCount>1&&(r=0),i.type.spec.isolating&&r<=n){e=n;break}t=i.content}for(let t=1;t<=2;t++)for(let n=t==1?e:this.unplaced.openStart;n>=0;n--){let e,r=null;n?(r=o_(this.unplaced.content,n-1).firstChild,e=r.content):e=this.unplaced.content;let i=e.firstChild;for(let e=this.depth;e>=0;e--){let{type:a,match:o}=this.frontier[e],s,c=null;if(t==1&&(i?o.matchType(i.type)||(c=o.fillBefore(G.from(i),!1)):r&&a.compatibleContent(r.type)))return{sliceDepth:n,frontierDepth:e,parent:r,inject:c};if(t==2&&i&&(s=o.findWrapping(i.type)))return{sliceDepth:n,frontierDepth:e,parent:r,wrap:s};if(r&&o.matchType(r.type))break}}}openMore(){let{content:e,openStart:t,openEnd:n}=this.unplaced;return d_(e,-1)<=t?!1:(this.unplaced.size>1&&d_(e,1)>n&&n++,this.unplaced=new q(e,t+1,n),!0)}dropNode(){let{content:e,openStart:t,openEnd:n}=this.unplaced,r=o_(e,t);if(r.childCount<=1&&t>0){let i=e.size-t<=t+r.size;this.unplaced=new q(i_(e,t-1,1),t-1,i?t-1:n)}else this.unplaced=new q(i_(e,t,1),t,n)}placeNodes({sliceDepth:e,frontierDepth:t,parent:n,inject:r,wrap:i}){for(;this.depth>t;)this.closeFrontierNode();if(i)for(let e=0;e<i.length;e++)this.openFrontierNode(i[e]);let a=this.unplaced,o=n?n.content:a.content,s=a.openStart-e,c=0,l=[],{match:u,type:d}=this.frontier[t];if(r){for(let e=0;e<r.childCount;e++)l.push(r.child(e));u=u.matchFragment(r)}let f=o.size+e-(a.content.size-a.openEnd);for(;c<o.childCount;){let e=o.child(c),t=u.matchType(e.type);if(!t)break;c++,(c>1||s==0||e.content.size)&&(u=t,l.push(s_(e.mark(d.allowedMarks(e.marks)),c==1?s:0,c==o.childCount?f:-1)))}let p=c==o.childCount;p||(f=-1),this.placed=a_(this.placed,t,G.from(l)),this.frontier[t].match=u,p&&f<0&&n&&n.type==this.frontier[this.depth].type&&this.frontier.length>1&&this.closeFrontierNode();for(let e=0,t=o;e<f;e++){let e=t.lastChild;this.frontier.push({type:e.type,match:e.contentMatchAt(e.childCount)}),t=e.content}this.unplaced=p?e==0?q.empty:new q(i_(a.content,e-1,1),e-1,f<0?a.openEnd:e-1):new q(i_(a.content,e,c),a.openStart,a.openEnd)}mustMoveInline(){if(!this.$to.parent.isTextblock)return-1;let e=this.frontier[this.depth],t;if(!e.type.isTextblock||!c_(this.$to,this.$to.depth,e.type,e.match,!1)||this.$to.depth==this.depth&&(t=this.findCloseLevel(this.$to))&&t.depth==this.depth)return-1;let{depth:n}=this.$to,r=this.$to.after(n);for(;n>1&&r==this.$to.end(--n);)++r;return r}findCloseLevel(e){scan:for(let t=Math.min(this.depth,e.depth);t>=0;t--){let{match:n,type:r}=this.frontier[t],i=t<e.depth&&e.end(t+1)==e.pos+(e.depth-(t+1)),a=c_(e,t,r,n,i);if(a){for(let n=t-1;n>=0;n--){let{match:t,type:r}=this.frontier[n],i=c_(e,n,r,t,!0);if(!i||i.childCount)continue scan}return{depth:t,fit:a,move:i?e.doc.resolve(e.after(t+1)):e}}}}close(e){let t=this.findCloseLevel(e);if(!t)return null;for(;this.depth>t.depth;)this.closeFrontierNode();t.fit.childCount&&(this.placed=a_(this.placed,t.depth,t.fit)),e=t.move;for(let n=t.depth+1;n<=e.depth;n++){let t=e.node(n),r=t.type.contentMatch.fillBefore(t.content,!0,e.index(n));this.openFrontierNode(t.type,t.attrs,r)}return e}openFrontierNode(e,t=null,n){let r=this.frontier[this.depth];r.match=r.match.matchType(e),this.placed=a_(this.placed,this.depth,G.from(e.create(t,n))),this.frontier.push({type:e,match:e.contentMatch})}closeFrontierNode(){let e=this.frontier.pop().match.fillBefore(G.empty,!0);e.childCount&&(this.placed=a_(this.placed,this.frontier.length,e))}};function i_(e,t,n){return t==0?e.cutByIndex(n,e.childCount):e.replaceChild(0,e.firstChild.copy(i_(e.firstChild.content,t-1,n)))}function a_(e,t,n){return t==0?e.append(n):e.replaceChild(e.childCount-1,e.lastChild.copy(a_(e.lastChild.content,t-1,n)))}function o_(e,t){for(let n=0;n<t;n++)e=e.firstChild.content;return e}function s_(e,t,n){if(t<=0)return e;let r=e.content;return t>1&&(r=r.replaceChild(0,s_(r.firstChild,t-1,r.childCount==1?n-1:0))),t>0&&(r=e.type.contentMatch.fillBefore(r).append(r),n<=0&&(r=r.append(e.type.contentMatch.matchFragment(r).fillBefore(G.empty,!0)))),e.copy(r)}function c_(e,t,n,r,i){let a=e.node(t),o=i?e.indexAfter(t):e.index(t);if(o==a.childCount&&!n.compatibleContent(a.type))return null;let s=r.fillBefore(a.content,!0,o);return s&&!l_(n,a.content,o)?s:null}function l_(e,t,n){for(let r=n;r<t.childCount;r++)if(!e.allowsMarks(t.child(r).marks))return!0;return!1}function u_(e){return e.spec.defining||e.spec.definingForContent}function d_(e,t){for(let n=0;;n++){let r=t<0?e.firstChild:e.lastChild;if(!r||r.isAtom)return n;e=r.content}}function f_(e,t,n,r){if(!r.size)return e.deleteRange(t,n);let i=e.doc.resolve(t),a=e.doc.resolve(n);if(n_(i,a,r))return e.step(new Dg(t,n,r));let o=g_(i,a);o[o.length-1]==0&&o.pop();let s=-(i.depth+1);o.unshift(s);for(let e=i.depth,t=i.pos-1;e>0;e--,t--){let n=i.node(e).type.spec;if(n.defining||n.definingAsContext||n.isolating)break;o.indexOf(e)>-1?s=e:i.before(e)==t&&o.splice(1,0,-e)}let c=o.indexOf(s),l=[],u=r.openStart;for(let e=r.content,t=0;;t++){let n=e.firstChild;if(l.push(n),t==r.openStart)break;e=n.content}for(let e=u-1;e>=0;e--){let t=l[e],n=u_(t.type);if(n&&!t.sameMarkup(i.node(Math.abs(s)-1)))u=e;else if(n||!t.type.isTextblock)break}for(let t=r.openStart;t>=0;t--){let s=(t+u+1)%(r.openStart+1),d=l[s];if(d)for(let t=0;t<o.length;t++){let l=o[(t+c)%o.length],u=!0;l<0&&(u=!1,l=-l);let f=i.node(l-1),p=i.index(l-1);if(f.canReplaceWith(p,p,d.type,d.marks))return e.replace(i.before(l),u?a.after(l):n,new q(p_(r.content,0,r.openStart,s),s,r.openEnd))}}let d=e.steps.length;for(let s=o.length-1;s>=0&&(e.replace(t,n,r),!(e.steps.length>d));s--){let e=o[s];e<0||(t=i.before(e),n=a.after(e))}}function p_(e,t,n,r,i){if(t<n){let i=e.firstChild;e=e.replaceChild(0,i.copy(p_(i.content,t+1,n,r,i)))}if(t>r){let t=i.contentMatchAt(0),n=t.fillBefore(e).append(e);e=n.append(t.matchFragment(n).fillBefore(G.empty,!0))}return e}function m_(e,t,n,r){if(!r.isInline&&t==n&&e.doc.resolve(t).parent.content.size){let i=$g(e.doc,t,r.type);i!=null&&(t=n=i)}e.replaceRange(t,n,new q(G.from(r),0,0))}function h_(e,t,n){let r=e.doc.resolve(t),i=e.doc.resolve(n);if(r.parent.isTextblock&&i.parent.isTextblock&&r.start()!=i.start()&&r.parentOffset==0&&i.parentOffset==0){let a=r.sharedDepth(n),o=!1;for(let e=r.depth;e>a;e--)r.node(e).type.spec.isolating&&(o=!0);for(let e=i.depth;e>a;e--)i.node(e).type.spec.isolating&&(o=!0);if(!o){for(let e=r.depth;e>0&&t==r.start(e);e--)t=r.before(e);for(let e=i.depth;e>0&&n==i.start(e);e--)n=i.before(e);r=e.doc.resolve(t),i=e.doc.resolve(n)}}let a=g_(r,i);for(let t=0;t<a.length;t++){let n=a[t],o=t==a.length-1;if(o&&n==0||r.node(n).type.contentMatch.validEnd)return e.delete(r.start(n),i.end(n));if(n>0&&(o||r.node(n-1).canReplace(r.index(n-1),i.indexAfter(n-1))))return e.delete(r.before(n),i.after(n))}for(let a=1;a<=r.depth&&a<=i.depth;a++)if(t-r.start(a)==r.depth-a&&n>r.end(a)&&i.end(a)-n!=i.depth-a&&r.start(a-1)==i.start(a-1)&&r.node(a-1).canReplace(r.index(a-1),i.index(a-1)))return e.delete(r.before(a),n);e.delete(t,n)}function g_(e,t){let n=[],r=Math.min(e.depth,t.depth);for(let i=r;i>=0;i--){let r=e.start(i);if(r<e.pos-(e.depth-i)||t.end(i)>t.pos+(t.depth-i)||e.node(i).type.spec.isolating||t.node(i).type.spec.isolating)break;(r==t.start(i)||i==e.depth&&i==t.depth&&e.parent.inlineContent&&t.parent.inlineContent&&i&&t.start(i-1)==r-1)&&n.push(i)}return n}var __=class e extends bg{constructor(e,t,n){super(),this.pos=e,this.attr=t,this.value=n}apply(e){let t=e.nodeAt(this.pos);if(!t)return xg.fail(`No node at attribute step's position`);let n=Object.create(null);for(let e in t.attrs)n[e]=t.attrs[e];n[this.attr]=this.value;let r=t.type.create(n,null,t.marks);return xg.fromReplace(e,this.pos,this.pos+1,new q(G.from(r),0,+!t.isLeaf))}getMap(){return _g.empty}invert(t){return new e(this.pos,this.attr,t.nodeAt(this.pos).attrs[this.attr])}map(t){let n=t.mapResult(this.pos,1);return n.deletedAfter?null:new e(n.pos,this.attr,this.value)}toJSON(){return{stepType:`attr`,pos:this.pos,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.pos!=`number`||typeof n.attr!=`string`)throw RangeError(`Invalid input for AttrStep.fromJSON`);return new e(n.pos,n.attr,n.value)}};bg.jsonID(`attr`,__);var v_=class e extends bg{constructor(e,t){super(),this.attr=e,this.value=t}apply(e){let t=Object.create(null);for(let n in e.attrs)t[n]=e.attrs[n];t[this.attr]=this.value;let n=e.type.create(t,e.content,e.marks);return xg.ok(n)}getMap(){return _g.empty}invert(t){return new e(this.attr,t.attrs[this.attr])}map(e){return this}toJSON(){return{stepType:`docAttr`,attr:this.attr,value:this.value}}static fromJSON(t,n){if(typeof n.attr!=`string`)throw RangeError(`Invalid input for DocAttrStep.fromJSON`);return new e(n.attr,n.value)}};bg.jsonID(`docAttr`,v_);var y_=class extends Error{};y_=function e(t){let n=Error.call(this,t);return n.__proto__=e.prototype,n},y_.prototype=Object.create(Error.prototype),y_.prototype.constructor=y_,y_.prototype.name=`TransformError`;var b_=class{constructor(e){this.doc=e,this.steps=[],this.docs=[],this.mapping=new vg}get before(){return this.docs.length?this.docs[0]:this.doc}step(e){let t=this.maybeStep(e);if(t.failed)throw new y_(t.failed);return this}maybeStep(e){let t=e.apply(this.doc);return t.failed||this.addStep(e,t.doc),t}get docChanged(){return this.steps.length>0}changedRange(){let e=1e9,t=-1e9;for(let n=0;n<this.mapping.maps.length;n++){let r=this.mapping.maps[n];n&&(e=r.map(e,1),t=r.map(t,-1)),r.forEach((n,r,i,a)=>{e=Math.min(e,i),t=Math.max(t,a)})}return e==1e9?null:{from:e,to:t}}addStep(e,t){this.docs.push(this.doc),this.steps.push(e),this.mapping.appendMap(e.getMap()),this.doc=t}replace(e,t=e,n=q.empty){let r=t_(this.doc,e,t,n);return r&&this.step(r),this}replaceWith(e,t,n){return this.replace(e,t,new q(G.from(n),0,0))}delete(e,t){return this.replace(e,t,q.empty)}insert(e,t){return this.replaceWith(e,e,t)}replaceRange(e,t,n){return f_(this,e,t,n),this}replaceRangeWith(e,t,n){return m_(this,e,t,n),this}deleteRange(e,t){return h_(this,e,t),this}lift(e,t){return Fg(this,e,t),this}join(e,t=1){return Qg(this,e,t),this}wrap(e,t){return Bg(this,e,t),this}setBlockType(e,t=e,n,r=null){return Vg(this,e,t,n,r),this}setNodeMarkup(e,t,n=null,r){return Gg(this,e,t,n,r),this}setNodeAttribute(e,t,n){return this.step(new __(e,t,n)),this}setDocAttribute(e,t){return this.step(new v_(e,t)),this}addNodeMark(e,t){return this.step(new Tg(e,t)),this}removeNodeMark(e,t){let n=this.doc.nodeAt(e);if(!n)throw RangeError(`No node at position `+e);if(t instanceof K)t.isInSet(n.marks)&&this.step(new Eg(e,t));else{let r=n.marks,i,a=[];for(;i=t.isInSet(r);)a.push(new Eg(e,i)),r=i.removeFromSet(r);for(let e=a.length-1;e>=0;e--)this.step(a[e])}return this}split(e,t=1,n){return qg(this,e,t,n),this}addMark(e,t,n){return Ag(this,e,t,n),this}removeMark(e,t,n){return jg(this,e,t,n),this}clearIncompatible(e,t,n){return Mg(this,e,t,n),this}},x_=Object.create(null),J=class{constructor(e,t,n){this.$anchor=e,this.$head=t,this.ranges=n||[new S_(e.min(t),e.max(t))]}get anchor(){return this.$anchor.pos}get head(){return this.$head.pos}get from(){return this.$from.pos}get to(){return this.$to.pos}get $from(){return this.ranges[0].$from}get $to(){return this.ranges[0].$to}get empty(){let e=this.ranges;for(let t=0;t<e.length;t++)if(e[t].$from.pos!=e[t].$to.pos)return!1;return!0}content(){return this.$from.doc.slice(this.from,this.to,!0)}replace(e,t=q.empty){let n=t.content.lastChild,r=null;for(let e=0;e<t.openEnd;e++)r=n,n=n.lastChild;let i=e.steps.length,a=this.ranges;for(let o=0;o<a.length;o++){let{$from:s,$to:c}=a[o],l=e.mapping.slice(i);e.replaceRange(l.map(s.pos),l.map(c.pos),o?q.empty:t),o==0&&A_(e,i,(n?n.isInline:r&&r.isTextblock)?-1:1)}}replaceWith(e,t){let n=e.steps.length,r=this.ranges;for(let i=0;i<r.length;i++){let{$from:a,$to:o}=r[i],s=e.mapping.slice(n),c=s.map(a.pos),l=s.map(o.pos);i?e.deleteRange(c,l):(e.replaceRangeWith(c,l,t),A_(e,n,t.isInline?-1:1))}}static findFrom(e,t,n=!1){let r=e.parent.inlineContent?new Y(e):k_(e.node(0),e.parent,e.pos,e.index(),t,n);if(r)return r;for(let r=e.depth-1;r>=0;r--){let i=t<0?k_(e.node(0),e.node(r),e.before(r+1),e.index(r),t,n):k_(e.node(0),e.node(r),e.after(r+1),e.index(r)+1,t,n);if(i)return i}return null}static near(e,t=1){return this.findFrom(e,t)||this.findFrom(e,-t)||new D_(e.node(0))}static atStart(e){return k_(e,e,0,0,1)||new D_(e)}static atEnd(e){return k_(e,e,e.content.size,e.childCount,-1)||new D_(e)}static fromJSON(e,t){if(!t||!t.type)throw RangeError(`Invalid input for Selection.fromJSON`);let n=x_[t.type];if(!n)throw RangeError(`No selection type ${t.type} defined`);return n.fromJSON(e,t)}static jsonID(e,t){if(e in x_)throw RangeError(`Duplicate use of selection JSON ID `+e);return x_[e]=t,t.prototype.jsonID=e,t}getBookmark(){return Y.between(this.$anchor,this.$head).getBookmark()}};J.prototype.visible=!0;var S_=class{constructor(e,t){this.$from=e,this.$to=t}},C_=!1;function w_(e){!C_&&!e.parent.inlineContent&&(C_=!0,console.warn(`TextSelection endpoint not pointing into a node with inline content (`+e.parent.type.name+`)`))}var Y=class e extends J{constructor(e,t=e){w_(e),w_(t),super(e,t)}get $cursor(){return this.$anchor.pos==this.$head.pos?this.$head:null}map(t,n){let r=t.resolve(n.map(this.head));if(!r.parent.inlineContent)return J.near(r);let i=t.resolve(n.map(this.anchor));return new e(i.parent.inlineContent?i:r,r)}replace(e,t=q.empty){if(super.replace(e,t),t==q.empty){let t=this.$from.marksAcross(this.$to);t&&e.ensureMarks(t)}}eq(t){return t instanceof e&&t.anchor==this.anchor&&t.head==this.head}getBookmark(){return new T_(this.anchor,this.head)}toJSON(){return{type:`text`,anchor:this.anchor,head:this.head}}static fromJSON(t,n){if(typeof n.anchor!=`number`||typeof n.head!=`number`)throw RangeError(`Invalid input for TextSelection.fromJSON`);return new e(t.resolve(n.anchor),t.resolve(n.head))}static create(e,t,n=t){let r=e.resolve(t);return new this(r,n==t?r:e.resolve(n))}static between(t,n,r){let i=t.pos-n.pos;if((!r||i)&&(r=i>=0?1:-1),!n.parent.inlineContent){let e=J.findFrom(n,r,!0)||J.findFrom(n,-r,!0);if(e)n=e.$head;else return J.near(n,r)}return t.parent.inlineContent||(i==0?t=n:(t=(J.findFrom(t,-r,!0)||J.findFrom(t,r,!0)).$anchor,t.pos<n.pos!=i<0&&(t=n))),new e(t,n)}};J.jsonID(`text`,Y);var T_=class e{constructor(e,t){this.anchor=e,this.head=t}map(t){return new e(t.map(this.anchor),t.map(this.head))}resolve(e){return Y.between(e.resolve(this.anchor),e.resolve(this.head))}},X=class e extends J{constructor(e){let t=e.nodeAfter,n=e.node(0).resolve(e.pos+t.nodeSize);super(e,n),this.node=t}map(t,n){let{deleted:r,pos:i}=n.mapResult(this.anchor),a=t.resolve(i);return r?J.near(a):new e(a)}content(){return new q(G.from(this.node),0,0)}eq(t){return t instanceof e&&t.anchor==this.anchor}toJSON(){return{type:`node`,anchor:this.anchor}}getBookmark(){return new E_(this.anchor)}static fromJSON(t,n){if(typeof n.anchor!=`number`)throw RangeError(`Invalid input for NodeSelection.fromJSON`);return new e(t.resolve(n.anchor))}static create(t,n){return new e(t.resolve(n))}static isSelectable(e){return!e.isText&&e.type.spec.selectable!==!1}};X.prototype.visible=!1,J.jsonID(`node`,X);var E_=class e{constructor(e){this.anchor=e}map(t){let{deleted:n,pos:r}=t.mapResult(this.anchor);return n?new T_(r,r):new e(r)}resolve(e){let t=e.resolve(this.anchor),n=t.nodeAfter;return n&&X.isSelectable(n)?new X(t):J.near(t)}},D_=class e extends J{constructor(e){super(e.resolve(0),e.resolve(e.content.size))}replace(e,t=q.empty){if(t==q.empty){e.delete(0,e.doc.content.size);let t=J.atStart(e.doc);t.eq(e.selection)||e.setSelection(t)}else super.replace(e,t)}toJSON(){return{type:`all`}}static fromJSON(t){return new e(t)}map(t){return new e(t)}eq(t){return t instanceof e}getBookmark(){return O_}};J.jsonID(`all`,D_);var O_={map(){return this},resolve(e){return new D_(e)}};function k_(e,t,n,r,i,a=!1){if(t.inlineContent)return Y.create(e,n);for(let o=r-(i>0?0:1);i>0?o<t.childCount:o>=0;o+=i){let r=t.child(o);if(!r.isAtom){let t=k_(e,r,n+i,i<0?r.childCount:0,i,a);if(t)return t}else if(!a&&X.isSelectable(r))return X.create(e,n-(i<0?r.nodeSize:0));n+=r.nodeSize*i}return null}function A_(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof Dg||i instanceof Og))return;let a=e.mapping.maps[r],o;a.forEach((e,t,n,r)=>{o??=r}),e.setSelection(J.near(e.doc.resolve(o),n))}var j_=1,M_=2,N_=4,P_=class extends b_{constructor(e){super(e.doc),this.curSelectionFor=0,this.updated=0,this.meta=Object.create(null),this.time=Date.now(),this.curSelection=e.selection,this.storedMarks=e.storedMarks}get selection(){return this.curSelectionFor<this.steps.length&&(this.curSelection=this.curSelection.map(this.doc,this.mapping.slice(this.curSelectionFor)),this.curSelectionFor=this.steps.length),this.curSelection}setSelection(e){if(e.$from.doc!=this.doc)throw RangeError(`Selection passed to setSelection must point at the current document`);return this.curSelection=e,this.curSelectionFor=this.steps.length,this.updated=(this.updated|j_)&-3,this.storedMarks=null,this}get selectionSet(){return(this.updated&j_)>0}setStoredMarks(e){return this.storedMarks=e,this.updated|=M_,this}ensureMarks(e){return K.sameSet(this.storedMarks||this.selection.$from.marks(),e)||this.setStoredMarks(e),this}addStoredMark(e){return this.ensureMarks(e.addToSet(this.storedMarks||this.selection.$head.marks()))}removeStoredMark(e){return this.ensureMarks(e.removeFromSet(this.storedMarks||this.selection.$head.marks()))}get storedMarksSet(){return(this.updated&M_)>0}addStep(e,t){super.addStep(e,t),this.updated&=-3,this.storedMarks=null}setTime(e){return this.time=e,this}replaceSelection(e){return this.selection.replace(this,e),this}replaceSelectionWith(e,t=!0){let n=this.selection;return t&&(e=e.mark(this.storedMarks||(n.empty?n.$from.marks():n.$from.marksAcross(n.$to)||K.none))),n.replaceWith(this,e),this}deleteSelection(){return this.selection.replace(this),this}insertText(e,t,n){let r=this.doc.type.schema;if(t==null)return e?this.replaceSelectionWith(r.text(e),!0):this.deleteSelection();{if(n??=t,!e)return this.deleteRange(t,n);let i=this.storedMarks;if(!i){let e=this.doc.resolve(t);i=n==t?e.marks():e.marksAcross(this.doc.resolve(n))}return this.replaceRangeWith(t,n,r.text(e,i)),!this.selection.empty&&this.selection.to==t+e.length&&this.setSelection(J.near(this.selection.$to)),this}}setMeta(e,t){return this.meta[typeof e==`string`?e:e.key]=t,this}getMeta(e){return this.meta[typeof e==`string`?e:e.key]}get isGeneric(){for(let e in this.meta)return!1;return!0}scrollIntoView(){return this.updated|=N_,this}get scrolledIntoView(){return(this.updated&N_)>0}};function F_(e,t){return!t||!e?e:e.bind(t)}var I_=class{constructor(e,t,n){this.name=e,this.init=F_(t.init,n),this.apply=F_(t.apply,n)}},L_=[new I_(`doc`,{init(e){return e.doc||e.schema.topNodeType.createAndFill()},apply(e){return e.doc}}),new I_(`selection`,{init(e,t){return e.selection||J.atStart(t.doc)},apply(e){return e.selection}}),new I_(`storedMarks`,{init(e){return e.storedMarks||null},apply(e,t,n,r){return r.selection.$cursor?e.storedMarks:null}}),new I_(`scrollToSelection`,{init(){return 0},apply(e,t){return e.scrolledIntoView?t+1:t}})],R_=class{constructor(e,t){this.schema=e,this.plugins=[],this.pluginsByKey=Object.create(null),this.fields=L_.slice(),t&&t.forEach(e=>{if(this.pluginsByKey[e.key])throw RangeError(`Adding different instances of a keyed plugin (`+e.key+`)`);this.plugins.push(e),this.pluginsByKey[e.key]=e,e.spec.state&&this.fields.push(new I_(e.key,e.spec.state,e))})}},z_=class e{constructor(e){this.config=e}get schema(){return this.config.schema}get plugins(){return this.config.plugins}apply(e){return this.applyTransaction(e).state}filterTransaction(e,t=-1){for(let n=0;n<this.config.plugins.length;n++)if(n!=t){let t=this.config.plugins[n];if(t.spec.filterTransaction&&!t.spec.filterTransaction.call(t,e,this))return!1}return!0}applyTransaction(e){if(!this.filterTransaction(e))return{state:this,transactions:[]};let t=[e],n=this.applyInner(e),r=null;for(;;){let i=!1;for(let a=0;a<this.config.plugins.length;a++){let o=this.config.plugins[a];if(o.spec.appendTransaction){let s=r?r[a].n:0,c=r?r[a].state:this,l=s<t.length&&o.spec.appendTransaction.call(o,s?t.slice(s):t,c,n);if(l&&n.filterTransaction(l,a)){if(l.setMeta(`appendedTransaction`,e),!r){r=[];for(let e=0;e<this.config.plugins.length;e++)r.push(e<a?{state:n,n:t.length}:{state:this,n:0})}t.push(l),n=n.applyInner(l),i=!0}r&&(r[a]={state:n,n:t.length})}}if(!i)return{state:n,transactions:t}}}applyInner(t){if(!t.before.eq(this.doc))throw RangeError(`Applying a mismatched transaction`);let n=new e(this.config),r=this.config.fields;for(let e=0;e<r.length;e++){let i=r[e];n[i.name]=i.apply(t,this[i.name],this,n)}return n}get tr(){return new P_(this)}static create(t){let n=new R_(t.doc?t.doc.type.schema:t.schema,t.plugins),r=new e(n);for(let e=0;e<n.fields.length;e++)r[n.fields[e].name]=n.fields[e].init(t,r);return r}reconfigure(t){let n=new R_(this.schema,t.plugins),r=n.fields,i=new e(n);for(let e=0;e<r.length;e++){let n=r[e].name;i[n]=this.hasOwnProperty(n)?this[n]:r[e].init(t,i)}return i}toJSON(e){let t={doc:this.doc.toJSON(),selection:this.selection.toJSON()};if(this.storedMarks&&(t.storedMarks=this.storedMarks.map(e=>e.toJSON())),e&&typeof e==`object`)for(let n in e){if(n==`doc`||n==`selection`)throw RangeError("The JSON fields `doc` and `selection` are reserved");let r=e[n],i=r.spec.state;i&&i.toJSON&&(t[n]=i.toJSON.call(r,this[r.key]))}return t}static fromJSON(t,n,r){if(!n)throw RangeError(`Invalid input for EditorState.fromJSON`);if(!t.schema)throw RangeError(`Required config field 'schema' missing`);let i=new R_(t.schema,t.plugins),a=new e(i);return i.fields.forEach(e=>{if(e.name==`doc`)a.doc=dh.fromJSON(t.schema,n.doc);else if(e.name==`selection`)a.selection=J.fromJSON(a.doc,n.selection);else if(e.name==`storedMarks`)n.storedMarks&&(a.storedMarks=n.storedMarks.map(t.schema.markFromJSON));else{if(r)for(let i in r){let o=r[i],s=o.spec.state;if(o.key==e.name&&s&&s.fromJSON&&Object.prototype.hasOwnProperty.call(n,i)){a[e.name]=s.fromJSON.call(o,t,n[i],a);return}}a[e.name]=e.init(t,a)}}),a}};function B_(e,t,n){for(let r in e){let i=e[r];i instanceof Function?i=i.bind(t):r==`handleDOMEvents`&&(i=B_(i,t,{})),n[r]=i}return n}var V_=class{constructor(e){this.spec=e,this.props={},e.props&&B_(e.props,this,this.props),this.key=e.key?e.key.key:U_(`plugin`)}getState(e){return e[this.key]}},H_=Object.create(null);function U_(e){return e in H_?e+`$`+ ++H_[e]:(H_[e]=0,e+`$`)}var W_=class{constructor(e=`key`){this.key=U_(e)}get(e){return e.config.pluginsByKey[this.key]}getState(e){return e[this.key]}},G_=(e,t)=>!e.selection.empty&&(t&&t(e.tr.deleteSelection().scrollIntoView()),!0);function K_(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`backward`,e):n.parentOffset>0)?null:n}var q_=(e,t,n)=>{let r=K_(e,n);if(!r)return!1;let i=$_(r);if(!i){let n=r.blockRange(),i=n&&Pg(n);return i!=null&&(t&&t(e.tr.lift(n,i).scrollIntoView()),!0)}let a=i.nodeBefore;if(_v(e,i,t,-1))return!0;if(r.parent.content.size==0&&(Z_(a,`end`)||X.isSelectable(a)))for(let n=r.depth;;n--){let o=t_(e.doc,r.before(n),r.after(n),q.empty);if(o&&o.slice.size<o.to-o.from){if(t){let n=e.tr.step(o);n.setSelection(Z_(a,`end`)?J.findFrom(n.doc.resolve(n.mapping.map(i.pos,-1)),-1):X.create(n.doc,i.pos-a.nodeSize)),t(n.scrollIntoView())}return!0}if(n==1||r.node(n-1).childCount>1)break}return a.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos-a.nodeSize,i.pos).scrollIntoView()),!0):!1},J_=(e,t,n)=>{let r=K_(e,n);if(!r)return!1;let i=$_(r);return i?X_(e,i,t):!1},Y_=(e,t,n)=>{let r=ev(e,n);if(!r)return!1;let i=rv(r);return i?X_(e,i,t):!1};function X_(e,t,n){let r=t.nodeBefore,i=t.pos-1;for(;!r.isTextblock;i--){if(r.type.spec.isolating)return!1;let e=r.lastChild;if(!e)return!1;r=e}let a=t.nodeAfter,o=t.pos+1;for(;!a.isTextblock;o++){if(a.type.spec.isolating)return!1;let e=a.firstChild;if(!e)return!1;a=e}let s=t_(e.doc,i,o,q.empty);if(!s||s.from!=i||s instanceof Dg&&s.slice.size>=o-i)return!1;if(n){let t=e.tr.step(s);t.setSelection(Y.create(t.doc,i)),n(t.scrollIntoView())}return!0}function Z_(e,t,n=!1){for(let r=e;r;r=t==`start`?r.firstChild:r.lastChild){if(r.isTextblock)return!0;if(n&&r.childCount!=1)return!1}return!1}var Q_=(e,t,n)=>{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`backward`,e):r.parentOffset>0)return!1;a=$_(r)}let o=a&&a.nodeBefore;return!o||!X.isSelectable(o)?!1:(t&&t(e.tr.setSelection(X.create(e.doc,a.pos-o.nodeSize)).scrollIntoView()),!0)};function $_(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){if(e.index(t)>0)return e.doc.resolve(e.before(t+1));if(e.node(t).type.spec.isolating)break}return null}function ev(e,t){let{$cursor:n}=e.selection;return!n||(t?!t.endOfTextblock(`forward`,e):n.parentOffset<n.parent.content.size)?null:n}var tv=(e,t,n)=>{let r=ev(e,n);if(!r)return!1;let i=rv(r);if(!i)return!1;let a=i.nodeAfter;if(_v(e,i,t,1))return!0;if(r.parent.content.size==0&&(Z_(a,`start`)||X.isSelectable(a))){let n=t_(e.doc,r.before(),r.after(),q.empty);if(n&&n.slice.size<n.to-n.from){if(t){let r=e.tr.step(n);r.setSelection(Z_(a,`start`)?J.findFrom(r.doc.resolve(r.mapping.map(i.pos)),1):X.create(r.doc,r.mapping.map(i.pos))),t(r.scrollIntoView())}return!0}}return a.isAtom&&i.depth==r.depth-1?(t&&t(e.tr.delete(i.pos,i.pos+a.nodeSize).scrollIntoView()),!0):!1},nv=(e,t,n)=>{let{$head:r,empty:i}=e.selection,a=r;if(!i)return!1;if(r.parent.isTextblock){if(n?!n.endOfTextblock(`forward`,e):r.parentOffset<r.parent.content.size)return!1;a=rv(r)}let o=a&&a.nodeAfter;return!o||!X.isSelectable(o)?!1:(t&&t(e.tr.setSelection(X.create(e.doc,a.pos)).scrollIntoView()),!0)};function rv(e){if(!e.parent.type.spec.isolating)for(let t=e.depth-1;t>=0;t--){let n=e.node(t);if(e.index(t)+1<n.childCount)return e.doc.resolve(e.after(t+1));if(n.type.spec.isolating)break}return null}var iv=(e,t)=>{let n=e.selection,r=n instanceof X,i;if(r){if(n.node.isTextblock||!Jg(e.doc,n.from))return!1;i=n.from}else if(i=Zg(e.doc,n.from,-1),i==null)return!1;if(t){let n=e.tr.join(i);r&&n.setSelection(X.create(n.doc,i-e.doc.resolve(i).nodeBefore.nodeSize)),t(n.scrollIntoView())}return!0},av=(e,t)=>{let n=e.selection,r;if(n instanceof X){if(n.node.isTextblock||!Jg(e.doc,n.to))return!1;r=n.to}else if(r=Zg(e.doc,n.to,1),r==null)return!1;return t&&t(e.tr.join(r).scrollIntoView()),!0},ov=(e,t)=>{let{$from:n,$to:r}=e.selection,i=n.blockRange(r),a=i&&Pg(i);return a!=null&&(t&&t(e.tr.lift(i,a).scrollIntoView()),!0)},sv=(e,t)=>{let{$head:n,$anchor:r}=e.selection;return!n.parent.type.spec.code||!n.sameParent(r)?!1:(t&&t(e.tr.insertText(`
|
|
9
|
+
`).scrollIntoView()),!0)};function cv(e){for(let t=0;t<e.edgeCount;t++){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var lv=(e,t)=>{let{$head:n,$anchor:r}=e.selection;if(!n.parent.type.spec.code||!n.sameParent(r))return!1;let i=n.node(-1),a=n.indexAfter(-1),o=cv(i.contentMatchAt(a));if(!o||!i.canReplaceWith(a,a,o))return!1;if(t){let r=n.after(),i=e.tr.replaceWith(r,r,o.createAndFill());i.setSelection(J.near(i.doc.resolve(r),1)),t(i.scrollIntoView())}return!0},uv=(e,t)=>{let n=e.selection,{$from:r,$to:i}=n;if(n instanceof D_||r.parent.inlineContent||i.parent.inlineContent)return!1;let a=cv(i.parent.contentMatchAt(i.indexAfter()));if(!a||!a.isTextblock)return!1;if(t){let n=(!r.parentOffset&&i.index()<i.parent.childCount?r:i).pos,o=e.tr.insert(n,a.createAndFill());o.setSelection(Y.create(o.doc,n+1)),t(o.scrollIntoView())}return!0},dv=(e,t)=>{let{$cursor:n}=e.selection;if(!n||n.parent.content.size)return!1;if(n.depth>1&&n.after()!=n.end(-1)){let r=n.before();if(Kg(e.doc,r))return t&&t(e.tr.split(r).scrollIntoView()),!0}let r=n.blockRange(),i=r&&Pg(r);return i!=null&&(t&&t(e.tr.lift(r,i).scrollIntoView()),!0)};function fv(e){return(t,n)=>{if(t.selection instanceof X&&t.selection.node.isBlock){let{$from:e}=t.selection;return!e.parentOffset||!Kg(t.doc,e.pos)?!1:(n&&n(t.tr.split(e.pos).scrollIntoView()),!0)}if(!t.selection.$from.depth)return!1;let r=t.tr;!t.selection.empty&&(t.selection instanceof Y||t.selection instanceof D_)&&r.deleteSelection();let{$from:i}=r.selection,a=r.steps.length,o=[],s,c,l=!1,u=!1;for(let t=i.depth;;t--)if(i.node(t).isBlock){l=i.end(t)==i.pos+(i.depth-t),u=i.start(t)==i.pos-(i.depth-t),c=cv(i.node(t-1).contentMatchAt(i.indexAfter(t-1)));let n=e&&e(i.parent,l,i);o.unshift(n||(l&&c?{type:c}:null)),s=t;break}else{if(t==1)return!1;o.unshift(null)}let d=i.pos,f=Kg(r.doc,d,o.length,o);if(f||=(o[0]=c?{type:c}:null,Kg(r.doc,d,o.length,o)),!f)return!1;if(r.split(d,o.length,o),!l&&u&&i.node(s).type!=c){let e=r.mapping.slice(a),t=e.map(i.before(s)),n=r.doc.resolve(t);c&&i.node(s-1).canReplaceWith(n.index(),n.index()+1,c)&&r.setNodeMarkup(e.map(i.before(s)),c)}return n&&n(r.scrollIntoView()),!0}}var pv=fv(),mv=(e,t)=>{let{$from:n,to:r}=e.selection,i,a=n.sharedDepth(r);return a!=0&&(i=n.before(a),t&&t(e.tr.setSelection(X.create(e.doc,i))),!0)},hv=(e,t)=>(t&&t(e.tr.setSelection(new D_(e.doc))),!0);function gv(e,t,n){let r=t.nodeBefore,i=t.nodeAfter,a=t.index();return!r||!i||!r.type.compatibleContent(i.type)?!1:!r.content.size&&t.parent.canReplace(a-1,a)?(n&&n(e.tr.delete(t.pos-r.nodeSize,t.pos).scrollIntoView()),!0):!t.parent.canReplace(a,a+1)||!(i.isTextblock||Jg(e.doc,t.pos))?!1:(n&&n(e.tr.join(t.pos).scrollIntoView()),!0)}function _v(e,t,n,r){let i=t.nodeBefore,a=t.nodeAfter,o,s,c=i.type.spec.isolating||a.type.spec.isolating;if(!c&&gv(e,t,n))return!0;let l=!c&&t.parent.canReplace(t.index(),t.index()+1);if(l&&(o=(s=i.contentMatchAt(i.childCount)).findWrapping(a.type))&&s.matchType(o[0]||a.type).validEnd){if(n){let r=t.pos+a.nodeSize,s=G.empty;for(let e=o.length-1;e>=0;e--)s=G.from(o[e].create(null,s));s=G.from(i.copy(s));let c=e.tr.step(new Og(t.pos-1,r,t.pos,r,new q(s,1,0),o.length,!0)),l=c.doc.resolve(r+2*o.length);l.nodeAfter&&l.nodeAfter.type==i.type&&Jg(c.doc,l.pos)&&c.join(l.pos),n(c.scrollIntoView())}return!0}let u=a.type.spec.isolating||r>0&&c?null:J.findFrom(t,1),d=u&&u.$from.blockRange(u.$to),f=d&&Pg(d);if(f!=null&&f>=t.depth)return n&&n(e.tr.lift(d,f).scrollIntoView()),!0;if(l&&Z_(a,`start`,!0)&&Z_(i,`end`)){let r=i,o=[];for(;o.push(r),!r.isTextblock;)r=r.lastChild;let s=a,c=1;for(;!s.isTextblock;s=s.firstChild)c++;if(r.canReplace(r.childCount,r.childCount,s.content)){if(n){let r=G.empty;for(let e=o.length-1;e>=0;e--)r=G.from(o[e].copy(r));n(e.tr.step(new Og(t.pos-o.length,t.pos+a.nodeSize,t.pos+c,t.pos+a.nodeSize-c,new q(r,o.length,0),0,!0)).scrollIntoView())}return!0}}return!1}function vv(e){return function(t,n){let r=t.selection,i=e<0?r.$from:r.$to,a=i.depth;for(;i.node(a).isInline;){if(!a)return!1;a--}return i.node(a).isTextblock?(n&&n(t.tr.setSelection(Y.create(t.doc,e<0?i.start(a):i.end(a)))),!0):!1}}var yv=vv(-1),bv=vv(1);function xv(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a),s=o&&Ig(o,e,t);return s?(r&&r(n.tr.wrap(o,s).scrollIntoView()),!0):!1}}function Sv(e,t=null){return function(n,r){let i=!1;for(let r=0;r<n.selection.ranges.length&&!i;r++){let{$from:{pos:a},$to:{pos:o}}=n.selection.ranges[r];n.doc.nodesBetween(a,o,(r,a)=>{if(i)return!1;if(r.isTextblock&&!r.hasMarkup(e,t)){if(r.type==e)i=!0;else{let t=n.doc.resolve(a),r=t.index();i=t.parent.canReplaceWith(r,r+1,e)}}})}if(!i)return!1;if(r){let i=n.tr;for(let r=0;r<n.selection.ranges.length;r++){let{$from:{pos:a},$to:{pos:o}}=n.selection.ranges[r];i.setBlockType(a,o,e,t)}r(i.scrollIntoView())}return!0}}function Cv(...e){return function(t,n,r){for(let i=0;i<e.length;i++)if(e[i](t,n,r))return!0;return!1}}var wv=Cv(G_,q_,Q_),Tv=Cv(G_,tv,nv),Ev={Enter:Cv(sv,uv,dv,pv),"Mod-Enter":lv,Backspace:wv,"Mod-Backspace":wv,"Shift-Backspace":wv,Delete:Tv,"Mod-Delete":Tv,"Mod-a":hv},Dv={"Ctrl-h":Ev.Backspace,"Alt-Backspace":Ev[`Mod-Backspace`],"Ctrl-d":Ev.Delete,"Ctrl-Alt-Backspace":Ev[`Mod-Delete`],"Alt-Delete":Ev[`Mod-Delete`],"Alt-d":Ev[`Mod-Delete`],"Ctrl-a":yv,"Ctrl-e":bv};for(let e in Ev)Dv[e]=Ev[e];typeof navigator<`u`?/Mac|iP(hone|[oa]d)/.test(navigator.platform):typeof os<`u`&&os.platform&&os.platform();function Ov(e,t=null){return function(n,r){let{$from:i,$to:a}=n.selection,o=i.blockRange(a);if(!o)return!1;let s=r?n.tr:null;return kv(s,o,e,t)?(r&&r(s.scrollIntoView()),!0):!1}}function kv(e,t,n,r=null){let i=!1,a=t,o=t.$from.doc;if(t.depth>=2&&t.$from.node(t.depth-1).type.compatibleContent(n)&&t.startIndex==0){if(t.$from.index(t.depth-1)==0)return!1;let e=o.resolve(t.start-2);a=new lh(e,e,t.depth),t.endIndex<t.parent.childCount&&(t=new lh(t.$from,o.resolve(t.$to.end(t.depth)),t.depth)),i=!0}let s=Ig(a,n,r,t);return s?(e&&Av(e,t,s,i,n),!0):!1}function Av(e,t,n,r,i){let a=G.empty;for(let e=n.length-1;e>=0;e--)a=G.from(n[e].type.create(n[e].attrs,a));e.step(new Og(t.start-(r?2:0),t.end,t.start,t.end,new q(a,0,0),n.length,!0));let o=0;for(let e=0;e<n.length;e++)n[e].type==i&&(o=e+1);let s=n.length-o,c=t.start+n.length-(r?2:0),l=t.parent;for(let n=t.startIndex,r=t.endIndex,i=!0;n<r;n++,i=!1)!i&&Kg(e.doc,c,s)&&(e.split(c,s),c+=2*s),c+=l.child(n).nodeSize;return e}function jv(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);return a?n?r.node(a.depth-1).type==e?Mv(t,n,e,a):Nv(t,n,a):!0:!1}}function Mv(e,t,n,r){let i=e.tr,a=r.end,o=r.$to.end(r.depth);a<o&&(i.step(new Og(a-1,o,a,o,new q(G.from(n.create(null,r.parent.copy())),1,0),1,!0)),r=new lh(i.doc.resolve(r.$from.pos),i.doc.resolve(o),r.depth));let s=Pg(r);if(s==null)return!1;i.lift(r,s);let c=i.doc.resolve(i.mapping.map(a,-1)-1);return Jg(i.doc,c.pos)&&c.nodeBefore.type==c.nodeAfter.type&&i.join(c.pos),t(i.scrollIntoView()),!0}function Nv(e,t,n){let r=e.tr,i=n.parent;for(let e=n.end,t=n.endIndex-1,a=n.startIndex;t>a;t--)e-=i.child(t).nodeSize,r.delete(e-1,e+1);let a=r.doc.resolve(n.start),o=a.nodeAfter;if(r.mapping.map(n.end)!=n.start+a.nodeAfter.nodeSize)return!1;let s=n.startIndex==0,c=n.endIndex==i.childCount,l=a.node(-1),u=a.index(-1);if(!l.canReplace(u+ +!s,u+1,o.content.append(c?G.empty:G.from(i))))return!1;let d=a.pos,f=d+o.nodeSize;return r.step(new Og(d-+!!s,f+ +!!c,d+1,f-1,new q((s?G.empty:G.from(i.copy(G.empty))).append(c?G.empty:G.from(i.copy(G.empty))),+!s,+!c),+!s)),t(r.scrollIntoView()),!0}function Pv(e){return function(t,n){let{$from:r,$to:i}=t.selection,a=r.blockRange(i,t=>t.childCount>0&&t.firstChild.type==e);if(!a)return!1;let o=a.startIndex;if(o==0)return!1;let s=a.parent,c=s.child(o-1);if(c.type!=e)return!1;if(n){let r=c.lastChild&&c.lastChild.type==s.type,i=G.from(r?e.create():null),o=new q(G.from(e.create(null,G.from(s.type.create(null,i)))),r?3:1,0),l=a.start,u=a.end;n(t.tr.step(new Og(l-(r?3:1),u,l,u,o,1,!0)).scrollIntoView())}return!0}}var Fv=function(e){for(var t=0;;t++)if(e=e.previousSibling,!e)return t},Iv=function(e){let t=e.assignedSlot||e.parentNode;return t&&t.nodeType==11?t.host:t},Lv=null,Rv=function(e,t,n){let r=Lv||=document.createRange();return r.setEnd(e,n??e.nodeValue.length),r.setStart(e,t||0),r},zv=function(){Lv=null},Bv=function(e,t,n,r){return n&&(Hv(e,t,n,r,-1)||Hv(e,t,n,r,1))},Vv=/^(img|br|input|textarea|hr)$/i;function Hv(e,t,n,r,i){for(;;){if(e==n&&t==r)return!0;if(t==(i<0?0:Uv(e))){let n=e.parentNode;if(!n||!Z(n)||Yv(e)||Vv.test(e.nodeName)||e.contentEditable==`false`)return!1;t=Fv(e)+(i<0?0:1),e=n}else if(Z(e)){let n=e.childNodes[t+(i<0?-1:0)];if(Z(n)&&n.contentEditable==`false`){if(n.pmViewDesc?.ignoreForSelection)t+=i;else return!1}else e=n,t=i<0?Uv(e):0}else return!1}}function Uv(e){return e.nodeType==3?e.nodeValue.length:e.childNodes.length}function Z(e){return e.nodeType==1}function Wv(e){return e.nodeType==3}function Gv(e,t){return t?e.contains(Z(t)?t:t.parentNode):!1}function Kv(e,t){for(;;){if(Wv(e)&&t)return e;if(Z(e)&&t>0){if(e.contentEditable==`false`)return null;e=e.childNodes[t-1],t=Uv(e)}else if(e.parentNode&&!Yv(e))t=Fv(e),e=e.parentNode;else return null}}function qv(e,t){for(;;){if(Wv(e)&&t<e.nodeValue.length)return e;if(Z(e)&&t<e.childNodes.length){if(e.contentEditable==`false`)return null;e=e.childNodes[t],t=0}else if(e.parentNode&&!Yv(e))t=Fv(e)+1,e=e.parentNode;else return null}}function Jv(e,t,n){for(let r=t==0,i=t==Uv(e);r||i;){if(e==n)return!0;let t=Fv(e);if(e=e.parentNode,!e)return!1;r&&=t==0,i&&=t==Uv(e)}}function Yv(e){let t;for(let n=e;n&&!(t=n.pmViewDesc);n=n.parentNode);return t&&t.node&&t.node.isBlock&&(t.dom==e||t.contentDOM==e)}var Xv=function(e){return e.focusNode&&Bv(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset)};function Zv(e,t){let n=document.createEvent(`Event`);return n.initEvent(`keydown`,!0,!0),n.keyCode=e,n.key=n.code=t,n}function Qv(e){let t=e.activeElement;for(;t&&t.shadowRoot;)t=t.shadowRoot.activeElement;return t}function $v(e,t,n){if(e.caretPositionFromPoint)try{let r=e.caretPositionFromPoint(t,n);if(r)return{node:r.offsetNode,offset:Math.min(Uv(r.offsetNode),r.offset)}}catch{}if(e.caretRangeFromPoint){let r=e.caretRangeFromPoint(t,n);if(r)return{node:r.startContainer,offset:Math.min(Uv(r.startContainer),r.startOffset)}}}var ey=typeof navigator<`u`?navigator:null,ty=typeof document<`u`?document:null,ny=ey&&ey.userAgent||``,ry=/Edge\/(\d+)/.exec(ny),iy=/MSIE \d/.exec(ny),ay=/Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(ny),oy=!!(iy||ay||ry),sy=iy?document.documentMode:ay?+ay[1]:ry?+ry[1]:0,cy=!oy&&/gecko\/(\d+)/i.test(ny);cy&&+(/Firefox\/(\d+)/.exec(ny)||[0,0])[1];var ly=!oy&&/Chrome\/(\d+)/.exec(ny),uy=!!ly,dy=ly?+ly[1]:0,fy=!oy&&!!ey&&/Apple Computer/.test(ey.vendor),py=fy&&(/Mobile\/\w+/.test(ny)||!!ey&&ey.maxTouchPoints>2),my=py||(ey?/Mac/.test(ey.platform):!1),hy=ey?/Win/.test(ey.platform):!1,gy=/Android \d/.test(ny),_y=!!ty&&`webkitFontSmoothing`in ty.documentElement.style,vy=_y?+(/\bAppleWebKit\/(\d+)/.exec(navigator.userAgent)||[0,0])[1]:0;function yy(e){let t=e.defaultView&&e.defaultView.visualViewport;return t?{left:0,right:t.width,top:0,bottom:t.height}:{left:0,right:e.documentElement.clientWidth,top:0,bottom:e.documentElement.clientHeight}}function by(e,t){return typeof e==`number`?e:e[t]}function xy(e){let t=e.getBoundingClientRect(),n=t.width/e.offsetWidth||1,r=t.height/e.offsetHeight||1;return{left:t.left,right:t.left+e.clientWidth*n,top:t.top,bottom:t.top+e.clientHeight*r}}function Sy(e,t,n){if(!Ly(t)&&t.left==0)return;let r=e.someProp(`scrollThreshold`)||0,i=e.someProp(`scrollMargin`)||5,a=e.dom.ownerDocument;for(let o=n||e.dom;o;){if(!Z(o)){o=Iv(o);continue}let e=o==a.body,n=e?yy(a):xy(o),s=0,c=0;if(t.top<n.top+by(r,`top`)?c=-(n.top-t.top+by(i,`top`)):t.bottom>n.bottom-by(r,`bottom`)&&(c=t.bottom-t.top>n.bottom-n.top?t.top+by(i,`top`)-n.top:t.bottom-n.bottom+by(i,`bottom`)),t.left<n.left+by(r,`left`)?s=-(n.left-t.left+by(i,`left`)):t.right>n.right-by(r,`right`)&&(s=t.right-n.right+by(i,`right`)),s||c){if(e)a.defaultView.scrollBy(s,c);else{let e=o.scrollLeft,n=o.scrollTop;c&&(o.scrollTop+=c),s&&(o.scrollLeft+=s);let r=o.scrollLeft-e,i=o.scrollTop-n;t={left:t.left-r,top:t.top-i,right:t.right-r,bottom:t.bottom-i}}}let l=e?`fixed`:getComputedStyle(o).position;if(/^(fixed|sticky)$/.test(l))break;o=l==`absolute`?o.offsetParent:Iv(o)}}function Cy(e){let t=e.dom.getBoundingClientRect(),n=Math.max(0,t.top),r,i;for(let a=(t.left+t.right)/2,o=n+1;o<Math.min(innerHeight,t.bottom);o+=5){let t=e.root.elementFromPoint(a,o);if(!t||t==e.dom||!e.dom.contains(t))continue;let s=t.getBoundingClientRect();if(s.top>=n-20){r=t,i=s.top;break}}return{refDOM:r,refTop:i,stack:wy(e.dom)}}function wy(e){let t=[],n=e.ownerDocument;for(let r=e;r&&(t.push({dom:r,top:r.scrollTop,left:r.scrollLeft}),e!=n);r=Iv(r));return t}function Ty({refDOM:e,refTop:t,stack:n}){let r=e?e.getBoundingClientRect().top:0;Ey(n,r==0?0:r-t)}function Ey(e,t){for(let n=0;n<e.length;n++){let{dom:r,top:i,left:a}=e[n];r.scrollTop!=i+t&&(r.scrollTop=i+t),r.scrollLeft!=a&&(r.scrollLeft=a)}}var Dy=null;function Oy(e){if(e.setActive)return e.setActive();if(Dy)return e.focus(Dy);let t=wy(e);e.focus(Dy==null?{get preventScroll(){return Dy={preventScroll:!0},!0}}:void 0),Dy||(Dy=!1,Ey(t,0))}function ky(e,t){let n,r=2e8,i,a=0,o=t.top,s=t.top,c,l;for(let u=e.firstChild,d=0;u;u=u.nextSibling,d++){let e;if(Z(u))e=u.getClientRects();else if(Wv(u))e=Rv(u).getClientRects();else continue;for(let f=0;f<e.length;f++){let p=e[f];if(p.top<=o&&p.bottom>=s){o=Math.max(p.bottom,o),s=Math.min(p.top,s);let e=p.left>t.left?p.left-t.left:p.right<t.left?t.left-p.right:0;if(e<r){n=u,r=e,i=e&&Wv(n)?{left:p.right<t.left?p.right:p.left,top:t.top}:t,Z(u)&&e&&(a=d+ +(t.left>=(p.left+p.right)/2));continue}}else p.top>t.top&&!c&&p.left<=t.left&&p.right>=t.left&&(c=u,l={left:Math.max(p.left,Math.min(p.right,t.left)),top:p.top});!n&&(t.left>=p.right&&t.top>=p.top||t.left>=p.left&&t.top>=p.bottom)&&(a=d+1)}}return!n&&c&&(n=c,i=l,r=0),n&&Wv(n)?Ay(n,i):!n||r?{node:e,offset:a}:ky(n,i)}function Ay(e,t){let n=e.nodeValue.length,r=document.createRange(),i;for(let a=0;a<n;a++){r.setEnd(e,a+1),r.setStart(e,a);let n=Ry(r,1);if(n.top!=n.bottom&&jy(t,n)){i={node:e,offset:a+ +(t.left>=(n.left+n.right)/2)};break}}return r.detach(),i||{node:e,offset:0}}function jy(e,t){return e.left>=t.left-1&&e.left<=t.right+1&&e.top>=t.top-1&&e.top<=t.bottom+1}function My(e,t){let n=e.parentNode;return n&&/^li$/i.test(n.nodeName)&&t.left<e.getBoundingClientRect().left?n:e}function Ny(e,t,n){let{node:r,offset:i}=ky(t,n),a=-1;if(Z(r)&&!r.firstChild){let e=r.getBoundingClientRect();a=e.left!=e.right&&n.left>(e.left+e.right)/2?1:-1}return e.docView.posFromDOM(r,i,a)}function Py(e,t,n,r){let i=-1;for(let n=t,a=!1;n!=e.dom;){let t=e.docView.nearestDesc(n,!0),o;if(!t)return null;if(Z(t.dom)&&(t.node.isBlock&&t.parent||!t.contentDOM)&&((o=t.dom.getBoundingClientRect()).width||o.height)&&(t.node.isBlock&&t.parent&&!/^T(R|BODY|HEAD|FOOT)$/.test(t.dom.nodeName)&&(!a&&o.left>r.left||o.top>r.top?i=t.posBefore:(!a&&o.right<r.left||o.bottom<r.top)&&(i=t.posAfter),a=!0),!t.contentDOM&&i<0&&!t.node.isText))return(t.node.isBlock?r.top<(o.top+o.bottom)/2:r.left<(o.left+o.right)/2)?t.posBefore:t.posAfter;n=t.dom.parentNode}return i>-1?i:e.docView.posFromDOM(t,n,-1)}function Fy(e,t,n){let r=e.childNodes.length;if(r&&n.top<n.bottom)for(let i=Math.max(0,Math.min(r-1,Math.floor(r*(t.top-n.top)/(n.bottom-n.top))-2)),a=i;;){let n=e.childNodes[a];if(Z(n)){let e=n.getClientRects();for(let r=0;r<e.length;r++){let i=e[r];if(jy(t,i))return Fy(n,t,i)}}if((a=(a+1)%r)==i)break}return e}function Iy(e,t){let n=e.dom.ownerDocument,r,i=0,a=$v(n,t.left,t.top);a&&({node:r,offset:i}=a);let o=(e.root.elementFromPoint?e.root:n).elementFromPoint(t.left,t.top),s;if(!o||!e.dom.contains(o)){let n=e.dom.getBoundingClientRect();if(!jy(t,n)||(o=Fy(e.dom,t,n),!o))return null}if(fy)for(let e=o;r&&e;e=Iv(e))e.draggable&&(r=void 0);if(o=My(o,t),r){if(cy&&Z(r)&&(i=Math.min(i,r.childNodes.length),i<r.childNodes.length)){let e=r.childNodes[i],n;e.nodeName==`IMG`&&(n=e.getBoundingClientRect()).right<=t.left&&n.bottom>t.top&&i++}let n;_y&&i&&Z(r)&&Z(n=r.childNodes[i-1])&&n.contentEditable==`false`&&n.getBoundingClientRect().top>=t.top&&i--,r==e.dom&&i==r.childNodes.length-1&&Z(r.lastChild)&&t.top>r.lastChild.getBoundingClientRect().bottom?s=e.state.doc.content.size:(i==0||!Z(r)||r.childNodes[i-1].nodeName!=`BR`)&&(s=Py(e,r,i,t))}s??=Ny(e,o,t);let c=e.docView.nearestDesc(o,!0);return{pos:s,inside:c?c.posAtStart-c.border:-1}}function Ly(e){return e.top<e.bottom||e.left<e.right}function Ry(e,t){let n=e.getClientRects();if(n.length){let e=n[t<0?0:n.length-1];if(Ly(e))return e}return Array.prototype.find.call(n,Ly)||e.getBoundingClientRect()}var zy=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac]/;function By(e,t,n){let{node:r,offset:i,atom:a}=e.docView.domFromPos(t,n<0?-1:1),o=_y||cy;if(Wv(r)){if(o&&(zy.test(r.nodeValue)||(n<0?!i:i==r.nodeValue.length))){let e=Ry(Rv(r,i,i),n);if(cy&&i&&/\s/.test(r.nodeValue[i-1])&&i<r.nodeValue.length){let t=Ry(Rv(r,i-1,i-1),-1);if(t.top==e.top){let n=Ry(Rv(r,i,i+1),-1);if(n.top!=e.top)return Vy(n,n.left<t.left)}}return e}{let e=i,t=i,a=n<0?1:-1;return n<0&&!i?(t++,a=-1):n>=0&&i==r.nodeValue.length?(e--,a=1):n<0?e--:t++,Vy(Ry(Rv(r,e,t),a),a<0)}}if(!e.state.doc.resolve(t-(a||0)).parent.inlineContent){if(a==null&&i&&(n<0||i==Uv(r))){let e=r.childNodes[i-1];if(Z(e))return Hy(e.getBoundingClientRect(),!1)}if(a==null&&i<Uv(r)){let e=r.childNodes[i];if(Z(e))return Hy(e.getBoundingClientRect(),!0)}return Hy(r.getBoundingClientRect(),n>=0)}if(a==null&&i&&(n<0||i==Uv(r))){let e=r.childNodes[i-1],t=Wv(e)?Rv(e,Uv(e)-+!o):Z(e)&&(e.nodeName!=`BR`||!e.nextSibling)?e:null;if(t)return Vy(Ry(t,1),!1)}if(a==null&&i<Uv(r)){let e=r.childNodes[i];for(;e.pmViewDesc&&e.pmViewDesc.ignoreForCoords;)e=e.nextSibling;let t=e?Wv(e)?Rv(e,0,+!o):Z(e)?e:null:null;if(t)return Vy(Ry(t,-1),!0)}return Vy(Ry(Wv(r)?Rv(r):r,-n),n>=0)}function Vy(e,t){if(e.width==0)return e;let n=t?e.left:e.right;return{top:e.top,bottom:e.bottom,left:n,right:n}}function Hy(e,t){if(e.height==0)return e;let n=t?e.top:e.bottom;return{top:n,bottom:n,left:e.left,right:e.right}}function Uy(e,t,n){let r=e.state,i=e.root.activeElement;r!=t&&e.updateState(t),i!=e.dom&&e.focus();try{return n()}finally{r!=t&&e.updateState(r),i!=e.dom&&i&&i.focus()}}function Wy(e,t,n){let r=t.selection,i=n==`up`?r.$from:r.$to;return Uy(e,t,()=>{let{node:t}=e.docView.domFromPos(i.pos,n==`up`?-1:1);for(;;){let n=e.docView.nearestDesc(t,!0);if(!n)break;if(n.node.isBlock){t=n.contentDOM||n.dom;break}t=n.dom.parentNode}let r=By(e,i.pos,1);for(let e=t.firstChild;e;e=e.nextSibling){let t;if(Z(e))t=e.getClientRects();else if(Wv(e))t=Rv(e,0,e.nodeValue.length).getClientRects();else continue;for(let e=0;e<t.length;e++){let i=t[e];if(i.bottom>i.top+1&&(n==`up`?r.top-i.top>(i.bottom-r.top)*2:i.bottom-r.bottom>(r.bottom-i.top)*2))return!1}}return!0})}var Gy=/[\u0590-\u08ac]/;function Ky(e,t,n){let{$head:r}=t.selection;if(!r.parent.isTextblock)return!1;let i=r.parentOffset,a=!i,o=i==r.parent.content.size,s=e.domSelection();return s?!Gy.test(r.parent.textContent)||!s.modify?n==`left`||n==`backward`?a:o:Uy(e,t,()=>{let{focusNode:t,focusOffset:i,anchorNode:a,anchorOffset:o}=e.domSelectionRange(),c=s.caretBidiLevel;s.modify(`move`,n,`character`);let l=r.depth?e.docView.domAfterPos(r.before()):e.dom,{focusNode:u,focusOffset:d}=e.domSelectionRange(),f=u&&!Gv(l,u)||t==u&&i==d;try{s.collapse(a,o),t&&(t!=a||i!=o)&&s.extend&&s.extend(t,i)}catch{}return c!=null&&(s.caretBidiLevel=c),f}):r.pos==r.start()||r.pos==r.end()}var qy=null,Jy=null,Yy=!1;function Xy(e,t,n){return qy==t&&Jy==n?Yy:(qy=t,Jy=n,Yy=n==`up`||n==`down`?Wy(e,t,n):Ky(e,t,n))}var Zy=0,Qy=1,$y=2,eb=3,tb=class{constructor(e,t,n,r){this.parent=e,this.children=t,this.dom=n,this.contentDOM=r,this.dirty=Zy,n.pmViewDesc=this}matchesWidget(e){return!1}matchesMark(e){return!1}matchesNode(e,t,n){return!1}matchesHack(e){return!1}parseRule(e){return null}stopEvent(e){return!1}get size(){let e=0;for(let t=0;t<this.children.length;t++)e+=this.children[t].size;return e}get border(){return 0}destroy(){this.parent=void 0,this.dom.pmViewDesc==this&&(this.dom.pmViewDesc=void 0);for(let e=0;e<this.children.length;e++)this.children[e].destroy()}posBeforeChild(e){for(let t=0,n=this.posAtStart;;t++){let r=this.children[t];if(r==e)return n;n+=r.size}}get posBefore(){return this.parent.posBeforeChild(this)}get posAtStart(){return this.parent?this.parent.posBeforeChild(this)+this.border:0}get posAfter(){return this.posBefore+this.size}get posAtEnd(){return this.posAtStart+this.size-2*this.border}localPosFromDOM(e,t,n){if(this.contentDOM&&Gv(this.contentDOM,e)){if(n<0){let n,r;if(e==this.contentDOM)n=e.childNodes[t-1];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.previousSibling}for(;n&&!((r=n.pmViewDesc)&&r.parent==this);)n=n.previousSibling;return n?this.posBeforeChild(r)+r.size:this.posAtStart}{let n,r;if(e==this.contentDOM)n=e.childNodes[t];else{for(;e.parentNode!=this.contentDOM;)e=e.parentNode;n=e.nextSibling}for(;n&&!((r=n.pmViewDesc)&&r.parent==this);)n=n.nextSibling;return n?this.posBeforeChild(r):this.posAtEnd}}let r;if(e==this.dom&&this.contentDOM)r=t>Fv(this.contentDOM);else if(this.contentDOM&&this.contentDOM!=this.dom&&this.dom.contains(this.contentDOM))r=!!(e.compareDocumentPosition(this.contentDOM)&4);else if(this.dom.firstChild){if(t==0)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!1;break}if(t.previousSibling)break}if(r==null&&t==e.childNodes.length)for(let t=e;;t=t.parentNode){if(t==this.dom){r=!0;break}if(t.nextSibling)break}}return r??n>0?this.posAtEnd:this.posAtStart}nearestDesc(e,t=!1){for(let n=!0,r=e;r;r=r.parentNode){let i=this.getDesc(r),a;if(i&&(!t||i.node)){if(n&&(a=i.nodeDOM)&&!(Z(a)?Gv(a,e):a==e))n=!1;else return i}}}getDesc(e){let t=e.pmViewDesc;for(let e=t;e;e=e.parent)if(e==this)return t}posFromDOM(e,t,n){for(let r=e;r;r=r.parentNode){let i=this.getDesc(r);if(i)return i.localPosFromDOM(e,t,n)}return-1}descAt(e){for(let t=0,n=0;t<this.children.length;t++){let r=this.children[t],i=n+r.size;if(n==e&&i!=n){for(;!r.border&&r.children.length;)for(let e=0;e<r.children.length;e++){let t=r.children[e];if(t.size){r=t;break}}return r}if(e<i)return r.descAt(e-n-r.border);n=i}}domFromPos(e,t){if(!this.contentDOM)return{node:this.dom,offset:0,atom:e+1};let n=0,r=0;for(let t=0;n<this.children.length;n++){let i=this.children[n],a=t+i.size;if(a>e){r=e-t;break}t=a}if(r)return this.children[n].domFromPos(r-this.children[n].border,t);for(;n>0;n--){let e=this.children[n-1];if(e.size||!(e instanceof cb||e instanceof nb&&e.side>=0))break}if(t<=0){let e,r=!0;for(;e=n?this.children[n-1]:null,e&&e.dom.parentNode!=this.contentDOM;n--,r=!1);return e&&t&&r&&!e.border&&!e.domAtom?e.domFromPos(e.size,t):{node:this.contentDOM,offset:e?Fv(e.dom)+1:0}}{let e,r=!0;for(;e=n<this.children.length?this.children[n]:null,e&&e.dom.parentNode!=this.contentDOM;n++,r=!1);return e&&r&&!e.border&&!e.domAtom?e.domFromPos(0,t):{node:this.contentDOM,offset:e?Fv(e.dom):this.contentDOM.childNodes.length}}}parseRange(e,t,n=0){if(this.children.length==0)return{node:this.contentDOM,from:e,to:t,fromOffset:0,toOffset:this.contentDOM.childNodes.length};let r=-1,i=-1;for(let a=n,o=0;;o++){let n=this.children[o],s=a+n.size;if(r==-1&&e<=s){let i=a+n.border;if(e>=i&&t<=s-n.border&&n.node&&n.contentDOM&&this.contentDOM.contains(n.contentDOM))return n.parseRange(e,t,i);e=a;for(let t=o;t>0;t--){let n=this.children[t-1];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(1)){r=Fv(n.dom)+1;break}e-=n.size}r==-1&&(r=0)}if(r>-1&&(s>t||o==this.children.length-1)){t=s;for(let e=o+1;e<this.children.length;e++){let n=this.children[e];if(n.size&&n.dom.parentNode==this.contentDOM&&!n.emptyChildAt(-1)){i=Fv(n.dom);break}t+=n.size}i==-1&&(i=this.contentDOM.childNodes.length);break}a=s}return{node:this.contentDOM,from:e,to:t,fromOffset:r,toOffset:i}}emptyChildAt(e){if(this.border||!this.contentDOM||!this.children.length)return!1;let t=this.children[e<0?0:this.children.length-1];return t.size==0||t.emptyChildAt(e)}domAfterPos(e){let{node:t,offset:n}=this.domFromPos(e,0);if(!Z(t)||n==t.childNodes.length)throw RangeError(`No node after pos `+e);return t.childNodes[n]}setSelection(e,t,n,r=!1){let i=Math.min(e,t),a=Math.max(e,t);for(let o=0,s=0;o<this.children.length;o++){let c=this.children[o],l=s+c.size;if(i>s&&a<l)return c.setSelection(e-s-c.border,t-s-c.border,n,r);s=l}let o=this.domFromPos(e,e?-1:1),s=t==e?o:this.domFromPos(t,t?-1:1),c=n.root.getSelection(),l=n.domSelectionRange(),u=!1;if((cy||fy)&&e==t){let{node:e,offset:t}=o;if(Wv(e)){if(u=!!(t&&e.nodeValue[t-1]==`
|
|
10
|
+
`),u&&t==e.nodeValue.length)for(let t=e,n;t;t=t.parentNode){if(n=t.nextSibling){n.nodeName==`BR`&&(o=s={node:n.parentNode,offset:Fv(n)+1});break}let e=t.pmViewDesc;if(e&&e.node&&e.node.isBlock)break}}else{let n=e.childNodes[t-1];u=n&&(n.nodeName==`BR`||n.contentEditable==`false`)}}if(cy&&l.focusNode&&l.focusNode!=s.node&&Z(l.focusNode)){let e=l.focusNode.childNodes[l.focusOffset];e&&e.contentEditable==`false`&&(r=!0)}if(!(r||u&&fy)&&Bv(o.node,o.offset,l.anchorNode,l.anchorOffset)&&Bv(s.node,s.offset,l.focusNode,l.focusOffset))return;let d=!1;if((c.extend||e==t)&&!(u&&cy)){c.collapse(o.node,o.offset);try{e!=t&&c.extend(s.node,s.offset),d=!0}catch{}}if(!d){if(e>t){let e=o;o=s,s=e}let n=document.createRange();n.setEnd(s.node,s.offset),n.setStart(o.node,o.offset),c.removeAllRanges(),c.addRange(n)}}ignoreMutation(e){return!this.contentDOM&&e.type!=`selection`}get contentLost(){return this.contentDOM&&this.contentDOM!=this.dom&&!this.dom.contains(this.contentDOM)}markDirty(e,t){for(let n=0,r=0;r<this.children.length;r++){let i=this.children[r],a=n+i.size;if(n==a?e<=a&&t>=n:e<a&&t>n){let r=n+i.border,o=a-i.border;if(e>=r&&t<=o){this.dirty=e==n||t==a?$y:Qy,e==r&&t==o&&(i.contentLost||i.dom.parentNode!=this.contentDOM)?i.dirty=eb:i.markDirty(e-r,t-r);return}i.dirty=i.dom==i.contentDOM&&i.dom.parentNode==this.contentDOM&&!i.children.length?$y:eb}n=a}this.dirty=$y}markParentsDirty(){let e=1;for(let t=this.parent;t;t=t.parent,e++){let n=e==1?$y:Qy;t.dirty<n&&(t.dirty=n)}}get domAtom(){return!1}get ignoreForCoords(){return!1}get ignoreForSelection(){return!1}isText(e){return!1}},nb=class extends tb{constructor(e,t,n,r){let i,a=t.type.toDOM;if(typeof a==`function`&&(a=a(n,()=>{if(!i)return r;if(i.parent)return i.parent.posBeforeChild(i)})),!t.type.spec.raw){let e=Z(a)?a:document.createElement(`span`);e!=a&&e.appendChild(a),e.hasAttribute(`contenteditable`)||(e.contentEditable=`false`),e.classList.add(`ProseMirror-widget`)}super(e,[],a,null),this.widget=t,this.widget=t,i=this}matchesWidget(e){return this.dirty==Zy&&e.type.eq(this.widget.type)}parseRule(){return{ignore:!0}}stopEvent(e){let t=this.widget.spec.stopEvent;return t?t(e):!1}ignoreMutation(e){return e.type!=`selection`||this.widget.spec.ignoreSelection}destroy(){this.widget.type.destroy(this.dom),super.destroy()}get domAtom(){return!0}get ignoreForSelection(){return!!this.widget.type.spec.relaxedSide}get side(){return this.widget.type.side}},rb=class extends tb{constructor(e,t,n,r){super(e,[],t,null),this.textDOM=n,this.text=r}get size(){return this.text.length}localPosFromDOM(e,t){return e==this.textDOM?this.posAtStart+t:this.posAtStart+(t?this.size:0)}domFromPos(e){return{node:this.textDOM,offset:e}}ignoreMutation(e){return e.type===`characterData`&&e.target.nodeValue==e.oldValue}},ib=class e extends tb{constructor(e,t,n,r,i){super(e,[],n,r),this.mark=t,this.spec=i}static create(t,n,r,i){let a=i.nodeViews[n.type.name],o=a&&a(n,i,r);return(!o||!o.dom)&&(o=eg.renderSpec(document,n.type.spec.toDOM(n,r),null,n.attrs)),new e(t,n,o.dom,o.contentDOM||o.dom,o)}parseRule(){return this.dirty&eb||this.mark.type.spec.reparseInView?null:{mark:this.mark.type.name,attrs:this.mark.attrs,contentElement:this.contentDOM}}matchesMark(e){return this.dirty!=eb&&this.mark.eq(e)}markDirty(e,t){if(super.markDirty(e,t),this.dirty!=Zy){let e=this.parent;for(;!e.node;)e=e.parent;e.dirty<this.dirty&&(e.dirty=this.dirty),this.dirty=Zy}}slice(t,n,r){let i=e.create(this.parent,this.mark,!0,r),a=this.children,o=this.size;n<o&&(a=Tb(a,n,o,r)),t>0&&(a=Tb(a,0,t,r));for(let e=0;e<a.length;e++)a[e].parent=i;return i.children=a,i}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}},ab=class e extends tb{constructor(e,t,n,r,i,a,o){super(e,[],i,a),this.node=t,this.outerDeco=n,this.innerDeco=r,this.nodeDOM=o}static create(t,n,r,i,a,o){let s=a.nodeViews[n.type.name],c,l=s&&s(n,a,()=>{if(!c)return o;if(c.parent)return c.parent.posBeforeChild(c)},r,i),u=l&&l.dom,d=l&&l.contentDOM;if(n.isText){if(!u)u=document.createTextNode(n.text);else if(!Wv(u))throw RangeError(`Text must be rendered as a DOM text node`)}else if(!u){let e=eg.renderSpec(document,n.type.spec.toDOM(n),null,n.attrs);({dom:u,contentDOM:d}=e)}!d&&!n.isText&&u.nodeName!=`BR`&&(u.hasAttribute(`contenteditable`)||(u.contentEditable=`false`),n.type.spec.draggable&&(u.draggable=!0));let f=u;return u=gb(u,r,n),l?c=new lb(t,n,r,i,u,d||null,f,l):n.isText?new sb(t,n,r,i,u,f):new e(t,n,r,i,u,d||null,f)}parseRule(e){if(this.node.type.spec.reparseInView)return null;let t={node:this.node.type.name,attrs:this.node.attrs};if(this.node.type.whitespace==`pre`&&(t.preserveWhitespace=`full`),!this.contentDOM)t.getContent=()=>this.node.content;else if(!this.contentLost)t.contentElement=this.contentDOM;else{for(let e=this.children.length-1;e>=0;e--){let n=this.children[e];if(this.dom.contains(n.dom.parentNode)){t.contentElement=n.dom.parentNode;break}}if(!t.contentElement){let n=e&&e.find(t=>Z(t)&&e.indexOf(t.parentNode)<0&&this.dom.contains(t));n?t.contentElement=n:t.getContent=()=>G.empty}}return t}matchesNode(e,t,n){return this.dirty==Zy&&e.eq(this.node)&&_b(t,this.outerDeco)&&n.eq(this.innerDeco)}get size(){return this.node.nodeSize}get border(){return+!this.node.isLeaf}updateChildren(e,t){let n=this.node.inlineContent,r=t,i=e.composing?this.localCompositionInfo(e,t):null,a=i&&i.pos>-1?i:null,o=i&&i.pos<0,s=new yb(this,a&&a.node,e),c=this.node.inlineContent,l=c&&this.node.isBlock;Sb(this.node,this.innerDeco,(t,i,a)=>{t.spec.marks?s.syncToMarks(t.spec.marks,n,e,i):t.type.side>=0&&!a&&s.syncToMarks(i==this.node.childCount?K.none:this.node.child(i).marks,n,e,i),s.placeWidget(t,e,r)},(t,a,u,d)=>{s.syncToMarks(t.marks,n,e,d),l&&t.isAtom&&!t.isText&&s.addHackNode(`IMG`,s.top);let f;s.findNodeMatch(t,a,u,d)||o&&e.state.selection.from>r&&e.state.selection.to<r+t.nodeSize&&(f=s.findIndexWithChild(i.node))>-1&&s.updateNodeAt(t,a,u,f,e)||s.updateNextNode(t,a,u,e,d,r)||s.addNode(t,a,u,e,r),r+=t.nodeSize,c&&(l=t.isAtom&&!t.isText)}),s.syncToMarks([],n,e,0),this.node.isTextblock&&s.addTextblockHacks(),s.destroyRest(),(s.changed||this.dirty==$y)&&(a&&this.protectLocalComposition(e,a),ub(this.contentDOM,this.children,e),py&&Cb(this.dom))}localCompositionInfo(e,t){let{from:n,to:r}=e.state.selection;if(!(e.state.selection instanceof Y)||n<t||r>t+this.node.content.size)return null;let i=e.input.compositionNode;if(!i||!this.dom.contains(i.parentNode))return null;if(this.node.inlineContent){let e=i.nodeValue,a=wb(this.node.content,e,n-t,r-t);return a<0?null:{node:i,pos:a,text:e}}return{node:i,pos:-1,text:``}}protectLocalComposition(e,{node:t,pos:n,text:r}){if(this.getDesc(t))return;let i=t;for(;i.parentNode!=this.contentDOM;i=i.parentNode){for(;i.previousSibling;)i.parentNode.removeChild(i.previousSibling);for(;i.nextSibling;)i.parentNode.removeChild(i.nextSibling);i.pmViewDesc&&(i.pmViewDesc=void 0)}let a=new rb(this,i,t,r);e.input.compositionNodes.push(a),this.children=Tb(this.children,n,n+r.length,e,a)}update(e,t,n,r){return this.dirty==eb||!e.sameMarkup(this.node)?!1:(this.updateInner(e,t,n,r),!0)}updateInner(e,t,n,r){this.updateOuterDeco(t),this.node=e,this.innerDeco=n,this.contentDOM&&this.updateChildren(r,this.posAtStart),this.dirty=Zy}updateOuterDeco(e){if(_b(e,this.outerDeco))return;let t=!Z(this.nodeDOM),n=this.dom;this.dom=mb(this.dom,this.nodeDOM,pb(this.outerDeco,this.node,t),pb(e,this.node,t)),this.dom!=n&&(n.pmViewDesc=void 0,this.dom.pmViewDesc=this),this.outerDeco=e}selectNode(){Z(this.nodeDOM)&&(this.nodeDOM.classList.add(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&(this.nodeDOM.draggable=!0))}deselectNode(){Z(this.nodeDOM)&&(this.nodeDOM.classList.remove(`ProseMirror-selectednode`),(this.contentDOM||!this.node.type.spec.draggable)&&this.nodeDOM.removeAttribute(`draggable`))}get domAtom(){return this.node.isAtom}};function ob(e,t,n,r,i){gb(r,t,e);let a=new ab(void 0,e,t,n,r,r,r);return a.contentDOM&&a.updateChildren(i,0),a}var sb=class e extends ab{constructor(e,t,n,r,i,a){super(e,t,n,r,i,null,a)}parseRule(){let e=this.nodeDOM.parentNode;for(;e&&e!=this.dom&&!e.pmIsDeco;)e=e.parentNode;return{skip:e||!0}}update(e,t,n,r){return this.dirty==eb||this.dirty!=Zy&&!this.inParent()||!e.sameMarkup(this.node)?!1:(this.updateOuterDeco(t),(this.dirty!=Zy||e.text!=this.node.text)&&e.text!=this.nodeDOM.nodeValue&&(this.nodeDOM.nodeValue=e.text,r.trackWrites==this.nodeDOM&&(r.trackWrites=null)),this.node=e,this.dirty=Zy,!0)}inParent(){let e=this.parent.contentDOM;for(let t=this.nodeDOM;t;t=t.parentNode)if(t==e)return!0;return!1}domFromPos(e){return{node:this.nodeDOM,offset:e}}localPosFromDOM(e,t,n){return e==this.nodeDOM?this.posAtStart+Math.min(t,this.node.text.length):super.localPosFromDOM(e,t,n)}ignoreMutation(e){return e.type!=`characterData`&&e.type!=`selection`}slice(t,n,r){let i=this.node.cut(t,n),a=document.createTextNode(i.text);return new e(this.parent,i,this.outerDeco,this.innerDeco,a,a)}markDirty(e,t){super.markDirty(e,t),this.dom!=this.nodeDOM&&(e==0||t==this.nodeDOM.nodeValue.length)&&(this.dirty=eb)}get domAtom(){return!1}isText(e){return this.node.text==e}},cb=class extends tb{parseRule(){return{ignore:!0}}matchesHack(e){return this.dirty==Zy&&this.dom.nodeName==e}get domAtom(){return!0}get ignoreForCoords(){return this.dom.nodeName==`IMG`}},lb=class extends ab{constructor(e,t,n,r,i,a,o,s){super(e,t,n,r,i,a,o),this.spec=s}update(e,t,n,r){if(this.dirty==eb)return!1;if(this.spec.update&&(this.node.type==e.type||this.spec.multiType)){let i=this.spec.update(e,t,n);return i&&this.updateInner(e,t,n,r),i}return!this.contentDOM&&!e.isLeaf?!1:super.update(e,t,n,r)}selectNode(){this.spec.selectNode?this.spec.selectNode():super.selectNode()}deselectNode(){this.spec.deselectNode?this.spec.deselectNode():super.deselectNode()}setSelection(e,t,n,r){this.spec.setSelection?this.spec.setSelection(e,t,n.root):super.setSelection(e,t,n,r)}destroy(){this.spec.destroy&&this.spec.destroy(),super.destroy()}stopEvent(e){return this.spec.stopEvent?this.spec.stopEvent(e):!1}ignoreMutation(e){return this.spec.ignoreMutation?this.spec.ignoreMutation(e):super.ignoreMutation(e)}};function ub(e,t,n){let r=e.firstChild,i=!1;for(let a=0;a<t.length;a++){let o=t[a],s=o.dom;if(s.parentNode==e){for(;s!=r;)r=vb(r),i=!0;r=r.nextSibling}else i=!0,e.insertBefore(s,r);if(o instanceof ib){let t=r?r.previousSibling:e.lastChild;ub(o.contentDOM,o.children,n),r=t?t.nextSibling:e.firstChild}}for(;r;)r=vb(r),i=!0;i&&n.trackWrites==e&&(n.trackWrites=null)}var db=function(e){e&&(this.nodeName=e)};db.prototype=Object.create(null);var fb=[new db];function pb(e,t,n){if(e.length==0)return fb;let r=n?fb[0]:new db,i=[r];for(let a=0;a<e.length;a++){let o=e[a].type.attrs;if(o){o.nodeName&&i.push(r=new db(o.nodeName));for(let e in o){let a=o[e];a!=null&&(n&&i.length==1&&i.push(r=new db(t.isInline?`span`:`div`)),e==`class`?r.class=(r.class?r.class+` `:``)+a:e==`style`?r.style=(r.style?r.style+`;`:``)+a:e!=`nodeName`&&(r[e]=a))}}}return i}function mb(e,t,n,r){if(n==fb&&r==fb)return t;let i=t;for(let t=0;t<r.length;t++){let a=r[t],o=n[t];if(t){let t;o&&o.nodeName==a.nodeName&&i!=e&&(t=i.parentNode)&&t.nodeName.toLowerCase()==a.nodeName||(t=document.createElement(a.nodeName),t.pmIsDeco=!0,t.appendChild(i),o=fb[0]),i=t}hb(i,o||fb[0],a)}return i}function hb(e,t,n){for(let r in t)r!=`class`&&r!=`style`&&r!=`nodeName`&&!(r in n)&&e.removeAttribute(r);for(let r in n)r!=`class`&&r!=`style`&&r!=`nodeName`&&n[r]!=t[r]&&e.setAttribute(r,n[r]);if(t.class!=n.class){let r=t.class?t.class.split(` `).filter(Boolean):[],i=n.class?n.class.split(` `).filter(Boolean):[];for(let t=0;t<r.length;t++)i.indexOf(r[t])==-1&&e.classList.remove(r[t]);for(let t=0;t<i.length;t++)r.indexOf(i[t])==-1&&e.classList.add(i[t]);e.classList.length==0&&e.removeAttribute(`class`)}if(t.style!=n.style){if(t.style){let n=/\s*([\w\-\xa1-\uffff]+)\s*:(?:"(?:\\.|[^"])*"|'(?:\\.|[^'])*'|\(.*?\)|[^;])*/g,r;for(;r=n.exec(t.style);)e.style.removeProperty(r[1])}n.style&&(e.style.cssText+=n.style)}}function gb(e,t,n){return mb(e,e,fb,pb(t,n,!Z(e)))}function _b(e,t){if(e.length!=t.length)return!1;for(let n=0;n<e.length;n++)if(!e[n].type.eq(t[n].type))return!1;return!0}function vb(e){let t=e.nextSibling;return e.parentNode.removeChild(e),t}var yb=class{constructor(e,t,n){this.lock=t,this.view=n,this.index=0,this.stack=[],this.changed=!1,this.top=e,this.preMatch=bb(e.node.content,e)}destroyBetween(e,t){if(e!=t){for(let n=e;n<t;n++)this.top.children[n].destroy();this.top.children.splice(e,t-e),this.changed=!0}}destroyRest(){this.destroyBetween(this.index,this.top.children.length)}syncToMarks(e,t,n,r){let i=0,a=this.stack.length>>1,o=Math.min(a,e.length);for(;i<o&&(i==a-1?this.top:this.stack[i+1<<1]).matchesMark(e[i])&&e[i].type.spec.spanning!==!1;)i++;for(;i<a;)this.destroyRest(),this.top.dirty=Zy,this.index=this.stack.pop(),this.top=this.stack.pop(),a--;for(;a<e.length;){this.stack.push(this.top,this.index+1);let i=-1,o=this.top.children.length;r<this.preMatch.index&&(o=Math.min(this.index+3,o));for(let t=this.index;t<o;t++){let n=this.top.children[t];if(n.matchesMark(e[a])&&!this.isLocked(n.dom)){i=t;break}}if(i<0&&this.index<this.top.children.length){let t=this.top.children[this.index];t instanceof ib&&t.dirty!=eb&&t.mark.type==e[a].type&&t.spec.update&&!this.isLocked(t.dom)&&t.spec.update(e[a])&&(t.mark=e[a],i=this.index,this.changed=!0)}if(i>-1)i>this.index&&(this.changed=!0,this.destroyBetween(this.index,i)),this.top=this.top.children[this.index];else{let r=ib.create(this.top,e[a],t,n);this.top.children.splice(this.index,0,r),this.top=r,this.changed=!0}this.index=0,a++}}findNodeMatch(e,t,n,r){let i=-1,a;if(r>=this.preMatch.index&&(a=this.preMatch.matches[r-this.preMatch.index]).parent==this.top&&a.matchesNode(e,t,n))i=this.top.children.indexOf(a,this.index);else for(let r=this.index,a=Math.min(this.top.children.length,r+5);r<a;r++){let a=this.top.children[r];if(a.matchesNode(e,t,n)&&!this.preMatch.matched.has(a)){i=r;break}}return i<0?!1:(this.destroyBetween(this.index,i),this.index++,!0)}updateNodeAt(e,t,n,r,i){let a=this.top.children[r];return a.dirty==eb&&a.dom==a.contentDOM&&(a.dirty=$y),a.update(e,t,n,i)?(this.destroyBetween(this.index,r),this.index++,!0):!1}findIndexWithChild(e){for(;;){let t=e.parentNode;if(!t)return-1;if(t==this.top.contentDOM){let t=e.pmViewDesc;if(t){for(let e=this.index;e<this.top.children.length;e++)if(this.top.children[e]==t)return e}return-1}e=t}}updateNextNode(e,t,n,r,i,a){for(let o=this.index;o<this.top.children.length;o++){let s=this.top.children[o];if(s instanceof ab){let c=this.preMatch.matched.get(s);if(c!=null&&c!=i)return!1;let l=s.dom,u,d=this.isLocked(l)&&!(e.isText&&s.node&&s.node.isText&&s.nodeDOM.nodeValue==e.text&&s.dirty!=eb&&_b(t,s.outerDeco));if(!d&&s.update(e,t,n,r))return this.destroyBetween(this.index,o),s.dom!=l&&(this.changed=!0),this.index++,!0;if(!d&&(u=this.recreateWrapper(s,e,t,n,r,a)))return this.destroyBetween(this.index,o),this.top.children[this.index]=u,u.contentDOM&&(u.dirty=$y,u.updateChildren(r,a+1),u.dirty=Zy),this.changed=!0,this.index++,!0;break}}return!1}recreateWrapper(e,t,n,r,i,a){if(e.dirty||t.isAtom||!e.children.length||!e.node.content.eq(t.content)||!_b(n,e.outerDeco)||!r.eq(e.innerDeco))return null;let o=ab.create(this.top,t,n,r,i,a);if(o.contentDOM){o.children=e.children,e.children=[];for(let e of o.children)e.parent=o}return e.destroy(),o}addNode(e,t,n,r,i){let a=ab.create(this.top,e,t,n,r,i);a.contentDOM&&a.updateChildren(r,i+1),this.top.children.splice(this.index++,0,a),this.changed=!0}placeWidget(e,t,n){let r=this.index<this.top.children.length?this.top.children[this.index]:null;if(r&&r.matchesWidget(e)&&(e==r.widget||!r.widget.type.toDOM.parentNode))this.index++;else{let r=new nb(this.top,e,t,n);this.top.children.splice(this.index++,0,r),this.changed=!0}}addTextblockHacks(){let e=this.top.children[this.index-1],t=this.top;for(;e instanceof ib;)t=e,e=t.children[t.children.length-1];(!e||!(e instanceof sb)||/\n$/.test(e.node.text)||this.view.requiresGeckoHackNode&&/\s$/.test(e.node.text))&&((fy||uy)&&e&&e.dom.contentEditable==`false`&&this.addHackNode(`IMG`,t),this.addHackNode(`BR`,this.top))}addHackNode(e,t){if(t==this.top&&this.index<t.children.length&&t.children[this.index].matchesHack(e))this.index++;else{let n=document.createElement(e);e==`IMG`&&(n.className=`ProseMirror-separator`,n.alt=``),e==`BR`&&(n.className=`ProseMirror-trailingBreak`);let r=new cb(this.top,[],n,null);t==this.top?t.children.splice(this.index++,0,r):t.children.push(r),this.changed=!0}}isLocked(e){return this.lock&&(e==this.lock||Z(e)&&e.contains(this.lock.parentNode))}};function bb(e,t){let n=t,r=n.children.length,i=e.childCount,a=new Map,o=[];outer:for(;i>0;){let s;for(;;)if(r){let e=n.children[r-1];if(e instanceof ib)n=e,r=e.children.length;else{s=e,r--;break}}else if(n==t)break outer;else r=n.parent.children.indexOf(n),n=n.parent;let c=s.node;if(c){if(c!=e.child(i-1))break;--i,a.set(s,i),o.push(s)}}return{index:i,matched:a,matches:o.reverse()}}function xb(e,t){return e.type.side-t.type.side}function Sb(e,t,n,r){let i=t.locals(e),a=0;if(i.length==0){for(let n=0;n<e.childCount;n++){let o=e.child(n);r(o,i,t.forChild(a,o),n),a+=o.nodeSize}return}let o=0,s=[],c=null;for(let l=0;;){let u,d;for(;o<i.length&&i[o].to==a;){let e=i[o++];e.widget&&(u?(d||=[u]).push(e):u=e)}if(u){if(d){d.sort(xb);for(let e=0;e<d.length;e++)n(d[e],l,!!c)}else n(u,l,!!c)}let f,p;if(c)p=-1,f=c,c=null;else if(l<e.childCount)p=l,f=e.child(l++);else break;for(let e=0;e<s.length;e++)s[e].to<=a&&s.splice(e--,1);for(;o<i.length&&i[o].from<=a&&i[o].to>a;)s.push(i[o++]);let m=a+f.nodeSize;if(f.isText){let e=m;o<i.length&&i[o].from<e&&(e=i[o].from);for(let t=0;t<s.length;t++)s[t].to<e&&(e=s[t].to);e<m&&(c=f.cut(e-a),f=f.cut(0,e-a),m=e,p=-1)}else for(;o<i.length&&i[o].to<m;)o++;let h=f.isInline&&!f.isLeaf?s.filter(e=>!e.inline):s.slice();r(f,h,t.forChild(a,f),p),a=m}}function Cb(e){if(e.nodeName==`UL`||e.nodeName==`OL`){let t=e.style.cssText;e.style.cssText=t+`; list-style: square !important`,window.getComputedStyle(e).listStyle,e.style.cssText=t}}function wb(e,t,n,r){for(let i=0,a=0;i<e.childCount&&a<=r;){let o=e.child(i++),s=a;if(a+=o.nodeSize,!o.isText)continue;let c=o.text;for(;i<e.childCount;){let t=e.child(i++);if(a+=t.nodeSize,!t.isText)break;c+=t.text}if(a>=n){if(a>=r&&c.slice(r-t.length-s,r-s)==t)return r-t.length;let e=s<r?c.lastIndexOf(t,r-s-1):-1;if(e>=0&&e+t.length+s>=n)return s+e;if(n==r&&c.length>=r+t.length-s&&c.slice(r-s,r-s+t.length)==t)return r}}return-1}function Tb(e,t,n,r,i){let a=[];for(let o=0,s=0;o<e.length;o++){let c=e[o],l=s,u=s+=c.size;l>=n||u<=t?a.push(c):(l<t&&a.push(c.slice(0,t-l,r)),i&&=(a.push(i),void 0),u>n&&a.push(c.slice(n-l,c.size,r)))}return a}function Eb(e,t=null){let n=e.domSelectionRange(),r=e.state.doc;if(!n.focusNode)return null;let i=e.docView.nearestDesc(n.focusNode),a=i&&i.size==0,o=e.docView.posFromDOM(n.focusNode,n.focusOffset,1);if(o<0)return null;let s=r.resolve(o),c,l;if(Xv(n)){for(c=o;i&&!i.node;)i=i.parent;if(i&&i.node.isAtom&&X.isSelectable(i.node)&&i.parent&&!(i.node.isInline&&Jv(n.focusNode,n.focusOffset,i.dom))){let e=i.posBefore;l=new X(o==e?s:r.resolve(e))}else if(cy&&t==`key`&&o>e.state.selection.to&&Z(n.focusNode)&&n.focusOffset==n.focusNode.childNodes.length&&i&&i.posAtStart>e.state.selection.to)for(let e=n.focusNode;;e=e.parentNode){if(getComputedStyle(e).overflow!=`visible`){l=J.findFrom(r.resolve(i.posAtStart),1);break}if(e==i.dom||e.nextSibling||!e.parentNode||!Z(e.parentNode))break}}else{if(n instanceof e.dom.ownerDocument.defaultView.Selection&&n.rangeCount>1){let t=o,i=o;for(let r=0;r<n.rangeCount;r++){let a=n.getRangeAt(r);t=Math.min(t,e.docView.posFromDOM(a.startContainer,a.startOffset,1)),i=Math.max(i,e.docView.posFromDOM(a.endContainer,a.endOffset,-1))}if(t<0)return null;[c,o]=i==e.state.selection.anchor?[i,t]:[t,i],s=r.resolve(o)}else c=e.docView.posFromDOM(n.anchorNode,n.anchorOffset,1);if(c<0)return null}let u=r.resolve(c);if(!l){let n=t==`pointer`||e.state.selection.head<s.pos&&!a?1:-1;l=Lb(e,u,s,n)}return l}function Db(e){return e.editable?e.hasFocus():zb(e)&&document.activeElement&&document.activeElement.contains(e.dom)}function Ob(e,t=!1){let n=e.state.selection;if(Fb(e,n),!Db(e))return;let r=e.input.mouseDown;if(!t&&uy&&r){let t=e.domSelectionRange(),n=e.domObserver.currentSelection;if(t.anchorNode&&n.anchorNode&&Bv(t.anchorNode,t.anchorOffset,n.anchorNode,n.anchorOffset)&&r.delaySelUpdate()){e.domObserver.setCurSelection();return}}if(e.domObserver.disconnectSelection(),e.cursorWrapper)Pb(e);else{let{anchor:r,head:i}=n,a,o;kb&&!(n instanceof Y)&&(n.$from.parent.inlineContent||(a=Ab(e,n.from)),!n.empty&&!n.$from.parent.inlineContent&&(o=Ab(e,n.to))),e.docView.setSelection(r,i,e,t),kb&&(a&&Mb(a),o&&Mb(o)),n.visible?e.dom.classList.remove(`ProseMirror-hideselection`):(e.dom.classList.add(`ProseMirror-hideselection`),`onselectionchange`in document&&Nb(e))}e.domObserver.setCurSelection(),e.domObserver.connectSelection()}var kb=fy||uy&&dy<63;function Ab(e,t){let{node:n,offset:r}=e.docView.domFromPos(t,0),i=r<n.childNodes.length?n.childNodes[r]:null,a=r?n.childNodes[r-1]:null;if(fy&&i&&i.contentEditable==`false`)return jb(i);if((!i||i.contentEditable==`false`)&&(!a||a.contentEditable==`false`)){if(i)return jb(i);if(a)return jb(a)}}function jb(e){return e.contentEditable=`true`,fy&&e.draggable&&(e.draggable=!1,e.wasDraggable=!0),e}function Mb(e){e.contentEditable=`false`,e.wasDraggable&&=(e.draggable=!0,null)}function Nb(e){let t=e.dom.ownerDocument;t.removeEventListener(`selectionchange`,e.input.hideSelectionGuard);let n=e.domSelectionRange(),r=n.anchorNode,i=n.anchorOffset;t.addEventListener(`selectionchange`,e.input.hideSelectionGuard=()=>{(n.anchorNode!=r||n.anchorOffset!=i)&&(t.removeEventListener(`selectionchange`,e.input.hideSelectionGuard),setTimeout(()=>{(!Db(e)||e.state.selection.visible)&&e.dom.classList.remove(`ProseMirror-hideselection`)},20))})}function Pb(e){let t=e.domSelection();if(!t)return;let n=e.cursorWrapper.dom,r=n.nodeName==`IMG`;r?t.collapse(n.parentNode,Fv(n)+1):t.collapse(n,0),!r&&!e.state.selection.visible&&oy&&sy<=11&&(n.disabled=!0,n.disabled=!1)}function Fb(e,t){if(t instanceof X){let n=e.docView.descAt(t.from);n!=e.lastSelectedViewDesc&&(Ib(e),n&&n.selectNode(),e.lastSelectedViewDesc=n)}else Ib(e)}function Ib(e){e.lastSelectedViewDesc&&=(e.lastSelectedViewDesc.parent&&e.lastSelectedViewDesc.deselectNode(),void 0)}function Lb(e,t,n,r){return e.someProp(`createSelectionBetween`,r=>r(e,t,n))||Y.between(t,n,r)}function Rb(e){return e.editable&&!e.hasFocus()?!1:zb(e)}function zb(e){let t=e.domSelectionRange();if(!t.anchorNode)return!1;try{return Gv(e.dom,t.anchorNode)&&(e.editable||Gv(e.dom,t.focusNode))}catch{return!1}}function Bb(e){let t=e.docView.domFromPos(e.state.selection.anchor,0),n=e.domSelectionRange();return Bv(t.node,t.offset,n.anchorNode,n.anchorOffset)}function Vb(e,t){let{$anchor:n,$head:r}=e.selection,i=t>0?n.max(r):n.min(r),a=i.parent.inlineContent?i.depth?e.doc.resolve(t>0?i.after():i.before()):null:i;return a&&J.findFrom(a,t)}function Hb(e,t){return e.dispatch(e.state.tr.setSelection(t).scrollIntoView()),!0}function Ub(e,t,n){let r=e.state.selection;if(r instanceof Y){if(n.indexOf(`s`)>-1){let{$head:n}=r,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter;if(!i||i.isText||!i.isLeaf)return!1;let a=e.state.doc.resolve(n.pos+i.nodeSize*(t<0?-1:1));return Hb(e,new Y(r.$anchor,a))}if(!r.empty)return!1;if(e.endOfTextblock(t>0?`forward`:`backward`)){let n=Vb(e.state,t);return n&&n instanceof X?Hb(e,n):!1}if(!(my&&n.indexOf(`m`)>-1)){let n=r.$head,i=n.textOffset?null:t<0?n.nodeBefore:n.nodeAfter,a;if(!i||i.isText)return!1;let o=t<0?n.pos-i.nodeSize:n.pos;return i.isAtom||(a=e.docView.descAt(o))&&!a.contentDOM?X.isSelectable(i)?Hb(e,new X(t<0?e.state.doc.resolve(n.pos-i.nodeSize):n)):Hb(e,new Y(e.state.doc.resolve(t<0?o:o+i.nodeSize))):!1}}else if(r instanceof X&&r.node.isInline)return Hb(e,new Y(t>0?r.$to:r.$from));else{let n=Vb(e.state,t);return n?Hb(e,n):!1}}function Wb(e,t){let n=e.pmViewDesc;return n?n.size==0&&(t<0||e.nextSibling||e.nodeName!=`BR`):Z(e)&&e.contentEditable==`false`}function Gb(e,t){return t<0?Kb(e):qb(e)}function Kb(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i,a,o=!1;for(cy&&Z(n)&&r<Uv(n)&&Wb(n.childNodes[r],-1)&&(o=!0);;)if(r>0){if(!Z(n))break;let e=n.childNodes[r-1];if(Wb(e,-1))i=n,a=--r;else if(Wv(e))n=e,r=n.nodeValue.length;else break}else if(Jb(n))break;else{let t=n.previousSibling;for(;t&&Wb(t,-1);)i=n.parentNode,a=Fv(t),t=t.previousSibling;if(t)n=t,r=Uv(n);else{if(n=n.parentNode,n==e.dom)break;r=0}}o?Zb(e,n,r):i&&Zb(e,i,a)}function qb(e){let t=e.domSelectionRange(),n=t.focusNode,r=t.focusOffset;if(!n)return;let i=Uv(n),a,o;for(;;)if(r<i){if(!Z(n))break;let e=n.childNodes[r];if(Wb(e,1))a=n,o=++r;else break}else if(Jb(n))break;else{let t=n.nextSibling;for(;t&&Wb(t,1);)a=t.parentNode,o=Fv(t)+1,t=t.nextSibling;if(t)n=t,r=0,i=Uv(n);else{if(n=n.parentNode,n==e.dom)break;r=i=0}}a&&Zb(e,a,o)}function Jb(e){let t=e.pmViewDesc;return t&&t.node&&t.node.isBlock}function Yb(e,t){for(;e&&t==e.childNodes.length&&!Yv(e);)t=Fv(e)+1,e=e.parentNode;for(;e&&t<e.childNodes.length;){let n=e.childNodes[t];if(Wv(n))return n;if(Z(n)&&n.contentEditable==`false`)break;e=n,t=0}}function Xb(e,t){for(;e&&!t&&!Yv(e);)t=Fv(e),e=e.parentNode;for(;e&&t;){let n=e.childNodes[t-1];if(Wv(n))return n;if(Z(n)&&n.contentEditable==`false`)break;e=n,t=e.childNodes.length}}function Zb(e,t,n){if(!Wv(t)){let e,r;(r=Yb(t,n))?(t=r,n=0):(e=Xb(t,n))&&(t=e,n=e.nodeValue.length)}let r=e.domSelection();if(!r)return;if(Xv(r)){let e=document.createRange();e.setEnd(t,n),e.setStart(t,n),r.removeAllRanges(),r.addRange(e)}else r.extend&&r.extend(t,n);e.domObserver.setCurSelection();let{state:i}=e;setTimeout(()=>{e.state==i&&Ob(e)},50)}function Qb(e,t){let n=e.state.doc.resolve(t);if(!(uy||hy)&&n.parent.inlineContent){let r=e.coordsAtPos(t);if(t>n.start()){let n=e.coordsAtPos(t-1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left<r.left?`ltr`:`rtl`}if(t<n.end()){let n=e.coordsAtPos(t+1),i=(n.top+n.bottom)/2;if(i>r.top&&i<r.bottom&&Math.abs(n.left-r.left)>1)return n.left>r.left?`ltr`:`rtl`}}return getComputedStyle(e.dom).direction==`rtl`?`rtl`:`ltr`}function $b(e,t,n){let r=e.state.selection;if(r instanceof Y&&!r.empty||n.indexOf(`s`)>-1||my&&n.indexOf(`m`)>-1)return!1;let{$from:i,$to:a}=r;if(!i.parent.inlineContent||e.endOfTextblock(t<0?`up`:`down`)){let n=Vb(e.state,t);if(n&&n instanceof X)return Hb(e,n)}if(!i.parent.inlineContent){let n=t<0?i:a,o=r instanceof D_?J.near(n,t):J.findFrom(n,t);return o?Hb(e,o):!1}return!1}function ex(e,t){if(!(e.state.selection instanceof Y))return!0;let{$head:n,$anchor:r,empty:i}=e.state.selection;if(!n.sameParent(r))return!0;if(!i)return!1;if(e.endOfTextblock(t>0?`forward`:`backward`))return!0;let a=!n.textOffset&&(t<0?n.nodeBefore:n.nodeAfter);if(a&&!a.isText){let r=e.state.tr;return t<0?r.delete(n.pos-a.nodeSize,n.pos):r.delete(n.pos,n.pos+a.nodeSize),e.dispatch(r),!0}return!1}function tx(e,t,n){e.domObserver.stop(),t.contentEditable=n,e.domObserver.start()}function nx(e){if(!fy||e.state.selection.$head.parentOffset>0)return!1;let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(t&&Z(t)&&n==0&&t.firstChild&&Z(t.firstChild)&&t.firstChild.contentEditable==`false`){let n=t.firstChild;tx(e,n,`true`),setTimeout(()=>tx(e,n,`false`),20)}return!1}function rx(e){let t=``;return e.ctrlKey&&(t+=`c`),e.metaKey&&(t+=`m`),e.altKey&&(t+=`a`),e.shiftKey&&(t+=`s`),t}function ix(e,t){let n=t.keyCode,r=rx(t);if(n==8||my&&n==72&&r==`c`)return ex(e,-1)||Gb(e,-1);if(n==46&&!t.shiftKey||my&&n==68&&r==`c`)return ex(e,1)||Gb(e,1);if(n==13||n==27)return!0;if(n==37||my&&n==66&&r==`c`){let t=n==37?Qb(e,e.state.selection.from)==`ltr`?-1:1:-1;return Ub(e,t,r)||Gb(e,t)}if(n==39||my&&n==70&&r==`c`){let t=n==39?Qb(e,e.state.selection.from)==`ltr`?1:-1:1;return Ub(e,t,r)||Gb(e,t)}return n==38||my&&n==80&&r==`c`?$b(e,-1,r)||Gb(e,-1):n==40||my&&n==78&&r==`c`?nx(e)||$b(e,1,r)||Gb(e,1):!(r!=(my?`m`:`c`)||n!=66&&n!=73&&n!=89&&n!=90)}function ax(e,t){e.someProp(`transformCopied`,n=>{t=n(t,e)});let n=[],{content:r,openStart:i,openEnd:a}=t;for(;i>1&&a>1&&r.childCount==1&&r.firstChild.childCount==1;){i--,a--;let e=r.firstChild;n.push(e.type.name,e.attrs==e.type.defaultAttrs?null:e.attrs),r=e.content}let o=e.someProp(`clipboardSerializer`)||eg.fromSchema(e.state.schema),s=hx(),c=s.createElement(`div`);c.appendChild(o.serializeFragment(r,{document:s}));let l=c.firstChild,u,d=0;for(;l&&Z(l)&&(u=mx[l.nodeName.toLowerCase()]);){for(let e=u.length-1;e>=0;e--){let t=s.createElement(u[e]);for(;c.firstChild;)t.appendChild(c.firstChild);c.appendChild(t),d++}l=c.firstChild}return l&&Z(l)&&l.setAttribute(`data-pm-slice`,`${i} ${a}${d?` -${d}`:``} ${JSON.stringify(n)}`),{dom:c,text:e.someProp(`clipboardTextSerializer`,n=>n(t,e))||t.content.textBetween(0,t.content.size,`
|
|
11
|
+
|
|
12
|
+
`),slice:t}}function ox(e,t,n,r,i){let a=i.parent.type.spec.code,o,s;if(!n&&!t)return null;let c=!!t&&(r||a||!n);if(c){if(e.someProp(`transformPastedText`,n=>{t=n(t,a||r,e)}),a)return s=new q(G.from(e.state.schema.text(t.replace(/\r\n?/g,`
|
|
13
|
+
`))),0,0),e.someProp(`transformPasted`,t=>{s=t(s,e,!0)}),s;let n=e.someProp(`clipboardTextParser`,n=>n(t,i,r,e));if(n)s=n;else{let n=i.marks(),{schema:r}=e.state,a=eg.fromSchema(r);o=document.createElement(`div`),t.split(/(?:\r\n?|\n)+/).forEach(e=>{let t=o.appendChild(document.createElement(`p`));e&&t.appendChild(a.serializeNode(r.text(e,n)))})}}else e.someProp(`transformPastedHTML`,t=>{n=t(n,e)}),o=vx(n),_y&&yx(o);let l=o&&o.querySelector(`[data-pm-slice]`),u=l&&/^(\d+) (\d+)(?: -(\d+))? (.*)/.exec(l.getAttribute(`data-pm-slice`)||``);if(u&&u[3])for(let e=+u[3];e>0;e--){let e=o.firstChild;for(;e&&!Z(e);)e=e.nextSibling;if(!e)break;o=e}if(s||=(e.someProp(`clipboardParser`)||e.someProp(`domParser`)||Bh.fromSchema(e.state.schema)).parseSlice(o,{preserveWhitespace:!!(c||u),context:i,ruleFromNode(e){return e.nodeName==`BR`&&!e.nextSibling&&e.parentNode&&!sx.test(e.parentNode.nodeName)?{ignore:!0}:null}}),u)s=bx(px(s,+u[1],+u[2]),u[4]);else if(s=q.maxOpen(cx(s.content,i),!0),s.openStart||s.openEnd){let e=0,t=0;for(let t=s.content.firstChild;e<s.openStart&&!t.type.spec.isolating;e++,t=t.firstChild);for(let e=s.content.lastChild;t<s.openEnd&&!e.type.spec.isolating;t++,e=e.lastChild);s=px(s,e,t)}return e.someProp(`transformPasted`,t=>{s=t(s,e,c)}),s}var sx=/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var)$/i;function cx(e,t){if(e.childCount<2)return e;for(let n=t.depth;n>=0;n--){let r=t.node(n).contentMatchAt(t.index(n)),i,a=[];if(e.forEach(e=>{if(!a)return;let t=r.findWrapping(e.type),n;if(!t)return a=null;if(n=a.length&&i.length&&ux(t,i,e,a[a.length-1],0))a[a.length-1]=n;else{a.length&&(a[a.length-1]=dx(a[a.length-1],i.length));let n=lx(e,t);a.push(n),r=r.matchType(n.type),i=t}}),a)return G.from(a)}return e}function lx(e,t,n=0){for(let r=t.length-1;r>=n;r--)e=t[r].create(null,G.from(e));return e}function ux(e,t,n,r,i){if(i<e.length&&i<t.length&&e[i]==t[i]){let a=ux(e,t,n,r.lastChild,i+1);if(a)return r.copy(r.content.replaceChild(r.childCount-1,a));if(r.contentMatchAt(r.childCount).matchType(i==e.length-1?n.type:e[i+1]))return r.copy(r.content.append(G.from(lx(n,e,i+1))))}}function dx(e,t){if(t==0)return e;let n=e.content.replaceChild(e.childCount-1,dx(e.lastChild,t-1)),r=e.contentMatchAt(e.childCount).fillBefore(G.empty,!0);return e.copy(n.append(r))}function fx(e,t,n,r,i,a){let o=t<0?e.firstChild:e.lastChild,s=o.content;return e.childCount>1&&(a=0),i<r-1&&(s=fx(s,t,n,r,i+1,a)),i>=n&&(s=t<0?o.contentMatchAt(0).fillBefore(s,a<=i).append(s):s.append(o.contentMatchAt(o.childCount).fillBefore(G.empty,!0))),e.replaceChild(t<0?0:e.childCount-1,o.copy(s))}function px(e,t,n){return t<e.openStart&&(e=new q(fx(e.content,-1,t,e.openStart,0,e.openEnd),t,e.openEnd)),n<e.openEnd&&(e=new q(fx(e.content,1,n,e.openEnd,0,0),e.openStart,n)),e}var mx={thead:[`table`],tbody:[`table`],tfoot:[`table`],caption:[`table`],colgroup:[`table`],col:[`table`,`colgroup`],tr:[`table`,`tbody`],td:[`table`,`tbody`,`tr`],th:[`table`,`tbody`,`tr`]};function hx(){return document.implementation.createHTMLDocument(`title`)}var gx=null;function _x(e){let t=window.trustedTypes;if(!t)return e;if(!gx){if(gx=t.defaultPolicy)try{return gx.createHTML(e)}catch{}gx=t.createPolicy(`ProseMirrorClipboard`,{createHTML:e=>e})}return gx.createHTML(e)}function vx(e){let t=/^(\s*<meta [^>]*>)*/.exec(e);t&&(e=e.slice(t[0].length));let n=hx(),r=n.body,i=/<([a-z][^>\s]+)/i.exec(e),a;if((a=i&&mx[i[1].toLowerCase()])&&(e=a.map(e=>`<`+e+`>`).join(``)+e+a.map(e=>`</`+e+`>`).reverse().join(``)),r.innerHTML=_x(e),a)for(let e=0;e<a.length;e++)r=r.querySelector(a[e])||r;for(let e=0;e<n.styleSheets.length;e++){let t=n.styleSheets[e];for(let e=0;e<t.rules.length;e++){let n=t.rules[e];if(n instanceof CSSStyleRule){let e=r.querySelectorAll(n.selectorText);for(let t=0;t<e.length;t++)e[t].style.cssText+=n.style.cssText}}}return r}function yx(e){let t=e.querySelectorAll(uy?`span:not([class]):not([style])`:`span.Apple-converted-space`);for(let n=0;n<t.length;n++){let r=t[n];r.childNodes.length==1&&r.textContent==`\xA0`&&r.parentNode&&r.parentNode.replaceChild(e.ownerDocument.createTextNode(` `),r)}}function bx(e,t){if(!e.size)return e;let n=e.content.firstChild.type.schema,r;try{r=JSON.parse(t)}catch{return e}let{content:i,openStart:a,openEnd:o}=e;for(let e=r.length-2;e>=0;e-=2){let t=n.nodes[r[e]];if(!t||t.hasRequiredAttrs())break;try{i=G.from(t.create(r[e+1],i))}catch{break}a++,o++}return new q(i,a,o)}var xx={},Sx={},Cx={touchstart:!0,touchmove:!0},wx=class{constructor(){this.shiftKey=!1,this.mouseDown=null,this.lastKeyCode=null,this.lastKeyCodeTime=0,this.lastClick={time:0,x:0,y:0,type:``,button:0},this.lastSelectionOrigin=null,this.lastSelectionTime=0,this.lastIOSEnter=0,this.lastIOSEnterFallbackTimeout=-1,this.lastFocus=0,this.lastTouch=0,this.lastChromeDelete=0,this.composing=!1,this.compositionNode=null,this.composingTimeout=-1,this.compositionNodes=[],this.compositionEndedAt=-2e8,this.compositionID=1,this.badSafariComposition=!1,this.compositionPendingChanges=0,this.domChangeCount=0,this.eventHandlers=Object.create(null),this.hideSelectionGuard=null}};function Tx(e){for(let t in xx){let n=xx[t];e.dom.addEventListener(t,e.input.eventHandlers[t]=t=>{Ax(e,t)&&!kx(e,t)&&(e.editable||!(t.type in Sx))&&n(e,t)},Cx[t]?{passive:!0}:void 0)}fy&&e.dom.addEventListener(`input`,()=>null),Ox(e)}function Ex(e,t){e.input.lastSelectionOrigin=t,e.input.lastSelectionTime=Date.now()}function Dx(e){e.input.mouseDown&&e.input.mouseDown.done(),e.domObserver.stop();for(let t in e.input.eventHandlers)e.dom.removeEventListener(t,e.input.eventHandlers[t]);clearTimeout(e.input.composingTimeout),clearTimeout(e.input.lastIOSEnterFallbackTimeout)}function Ox(e){e.someProp(`handleDOMEvents`,t=>{for(let n in t)e.input.eventHandlers[n]||e.dom.addEventListener(n,e.input.eventHandlers[n]=t=>kx(e,t))})}function kx(e,t){return e.someProp(`handleDOMEvents`,n=>{let r=n[t.type];return r?r(e,t)||t.defaultPrevented:!1})}function Ax(e,t){if(!t.bubbles)return!0;if(t.defaultPrevented)return!1;for(let n=t.target;n!=e.dom;n=n.parentNode)if(!n||n.nodeType==11||n.pmViewDesc&&n.pmViewDesc.stopEvent(t))return!1;return!0}function jx(e,t){!kx(e,t)&&xx[t.type]&&(e.editable||!(t.type in Sx))&&xx[t.type](e,t)}Sx.keydown=(e,t)=>{let n=t;if(e.input.shiftKey=n.keyCode==16||n.shiftKey,!Jx(e)&&(e.input.lastKeyCode=n.keyCode,e.input.lastKeyCodeTime=Date.now(),!(gy&&uy&&n.keyCode==13))){if(n.keyCode!=229&&e.domObserver.forceFlush(),py&&n.keyCode==13&&!n.ctrlKey&&!n.altKey&&!n.metaKey){let t=Date.now();e.input.lastIOSEnter=t,e.input.lastIOSEnterFallbackTimeout=setTimeout(()=>{e.input.lastIOSEnter==t&&(e.someProp(`handleKeyDown`,t=>t(e,Zv(13,`Enter`))),e.input.lastIOSEnter=0)},200)}else e.someProp(`handleKeyDown`,t=>t(e,n))||ix(e,n)?n.preventDefault():Ex(e,`key`)}},Sx.keyup=(e,t)=>{t.keyCode==16&&(e.input.shiftKey=!1)},Sx.keypress=(e,t)=>{let n=t;if(Jx(e)||!n.charCode||n.ctrlKey&&!n.altKey||my&&n.metaKey)return;if(e.someProp(`handleKeyPress`,t=>t(e,n))){n.preventDefault();return}let r=e.state.selection;if(!(r instanceof Y)||!r.$from.sameParent(r.$to)){let t=String.fromCharCode(n.charCode),i=()=>e.state.tr.insertText(t).scrollIntoView();!/[\r\n]/.test(t)&&!e.someProp(`handleTextInput`,n=>n(e,r.$from.pos,r.$to.pos,t,i))&&e.dispatch(i()),n.preventDefault()}};function Mx(e){return{left:e.clientX,top:e.clientY}}function Nx(e,t){let n=t.x-e.clientX,r=t.y-e.clientY;return n*n+r*r<100}function Px(e,t,n,r,i){if(r==-1)return!1;let a=e.state.doc.resolve(r);for(let r=a.depth+1;r>0;r--)if(e.someProp(t,t=>r>a.depth?t(e,n,a.nodeAfter,a.before(r),i,!0):t(e,n,a.node(r),a.before(r),i,!1)))return!0;return!1}function Fx(e,t,n){if(e.focused||e.focus(),e.state.selection.eq(t))return;let r=e.state.tr.setSelection(t);r.setMeta(`pointer`,!0),e.dispatch(r)}function Ix(e,t){if(t==-1)return!1;let n=e.state.doc.resolve(t),r=n.nodeAfter;return r&&r.isAtom&&X.isSelectable(r)?(Fx(e,new X(n)),!0):!1}function Lx(e,t){if(t==-1)return!1;let n=e.state.selection,r,i;n instanceof X&&(r=n.node);let a=e.state.doc.resolve(t);for(let e=a.depth+1;e>0;e--){let t=e>a.depth?a.nodeAfter:a.node(e);if(X.isSelectable(t)){i=r&&n.$from.depth>0&&e>=n.$from.depth&&a.before(n.$from.depth+1)==n.$from.pos?a.before(n.$from.depth):a.before(e);break}}return i!=null&&(Fx(e,X.create(e.state.doc,i)),!0)}function Rx(e,t,n,r,i){return Px(e,`handleClickOn`,t,n,r)||e.someProp(`handleClick`,n=>n(e,t,r))||(i?Lx(e,n):Ix(e,n))}function zx(e,t,n,r){return Px(e,`handleDoubleClickOn`,t,n,r)||e.someProp(`handleDoubleClick`,n=>n(e,t,r))}function Bx(e,t,n,r){return Px(e,`handleTripleClickOn`,t,n,r)||e.someProp(`handleTripleClick`,n=>n(e,t,r))||Vx(e,n,r)}function Vx(e,t,n){if(n.button!=0)return!1;let r=Hx(e,t,!0),i=e.state.doc;return r?(Fx(e,r),r instanceof Y&&i.eq(e.state.doc)&&(e.input.mouseDown=new qx(e,r)),!0):!1}function Hx(e,t,n){let r=e.state.doc;if(t==-1)return r.inlineContent?Y.create(r,0,r.content.size):null;let i=r.resolve(t);for(let e=i.depth+1;e>0;e--){let t=e>i.depth?i.nodeAfter:i.node(e),a=i.before(e);if(t.inlineContent)return Y.create(r,a+1,a+1+t.content.size);if(n&&X.isSelectable(t))return X.create(r,a)}return null}function Ux(e){return eS(e)}var Wx=my?`metaKey`:`ctrlKey`;xx.mousedown=(e,t)=>{let n=t;e.input.shiftKey=n.shiftKey;let r=Ux(e),i=Date.now(),a=`singleClick`;i-e.input.lastClick.time<500&&Nx(n,e.input.lastClick)&&!n[Wx]&&e.input.lastClick.button==n.button&&(e.input.lastClick.type==`singleClick`?a=`doubleClick`:e.input.lastClick.type==`doubleClick`&&(a=`tripleClick`)),e.input.lastClick={time:i,x:n.clientX,y:n.clientY,type:a,button:n.button},e.input.mouseDown&&e.input.mouseDown.done();let o=e.posAtCoords(Mx(n));o&&(a==`singleClick`?e.input.mouseDown=new Kx(e,o,n,!!r):(a==`doubleClick`?zx:Bx)(e,o.pos,o.inside,n)?n.preventDefault():Ex(e,`pointer`))};var Gx=class{constructor(e){this.view=e,this.mightDrag=null,e.root.addEventListener(`mouseup`,this.up=this.up.bind(this)),e.root.addEventListener(`mousemove`,this.move=this.move.bind(this))}up(e){this.done()}move(e){e.buttons==0&&this.done()}done(){this.view.root.removeEventListener(`mouseup`,this.up),this.view.root.removeEventListener(`mousemove`,this.move),this.view.input.mouseDown==this&&(this.view.input.mouseDown=null)}delaySelUpdate(){return!1}},Kx=class extends Gx{constructor(e,t,n,r){super(e),this.pos=t,this.event=n,this.flushed=r,this.delayedSelectionSync=!1,this.startDoc=e.state.doc,this.selectNode=!!n[Wx],this.allowDefault=n.shiftKey;let i,a;if(t.inside>-1)i=e.state.doc.nodeAt(t.inside),a=t.inside;else{let n=e.state.doc.resolve(t.pos);i=n.parent,a=n.depth?n.before():0}let o=r?null:n.target,s=o?e.docView.nearestDesc(o,!0):null;this.target=s&&Z(s.nodeDOM)?s.nodeDOM:null;let{selection:c}=e.state;n.button==0&&(i.type.spec.draggable&&i.type.spec.selectable!==!1||c instanceof X&&c.from<=a&&c.to>a)&&(this.mightDrag={node:i,pos:a,addAttr:!(!this.target||this.target.draggable),setUneditable:!!(this.target&&cy&&!this.target.hasAttribute(`contentEditable`))}),this.target&&this.mightDrag&&(this.mightDrag.addAttr||this.mightDrag.setUneditable)&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&(this.target.draggable=!0),this.mightDrag.setUneditable&&setTimeout(()=>{this.view.input.mouseDown==this&&this.target.setAttribute(`contentEditable`,`false`)},20),this.view.domObserver.start()),Ex(e,`pointer`)}done(){super.done(),this.mightDrag&&this.target&&(this.view.domObserver.stop(),this.mightDrag.addAttr&&this.target.removeAttribute(`draggable`),this.mightDrag.setUneditable&&this.target.removeAttribute(`contentEditable`),this.view.domObserver.start()),this.delayedSelectionSync&&setTimeout(()=>{this.view.isDestroyed||Ob(this.view)})}up(e){if(this.done(),!this.view.dom.contains(e.target))return;let t=this.pos;this.view.state.doc!=this.startDoc&&(t=this.view.posAtCoords(Mx(e))),this.updateAllowDefault(e),this.allowDefault||!t?Ex(this.view,`pointer`):Rx(this.view,t.pos,t.inside,e,this.selectNode)?e.preventDefault():e.button==0&&(this.flushed||fy&&this.mightDrag&&!this.mightDrag.node.isAtom||uy&&!this.view.state.selection.visible&&Math.min(Math.abs(t.pos-this.view.state.selection.from),Math.abs(t.pos-this.view.state.selection.to))<=2)?(Fx(this.view,J.near(this.view.state.doc.resolve(t.pos))),e.preventDefault()):Ex(this.view,`pointer`)}move(e){this.updateAllowDefault(e),Ex(this.view,`pointer`),super.move(e)}updateAllowDefault(e){!this.allowDefault&&(Math.abs(this.event.x-e.clientX)>4||Math.abs(this.event.y-e.clientY)>4)&&(this.allowDefault=!0)}delaySelUpdate(){return this.allowDefault?(this.delayedSelectionSync=!0,!0):!1}},qx=class extends Gx{constructor(e,t){super(e),this.startSelection=t,this.startDoc=e.state.doc}move(e){if(e.buttons==0||this.view.isDestroyed||!this.view.state.doc.eq(this.startDoc)){this.done();return}e.preventDefault(),Ex(this.view,`pointer`);let t=this.view.posAtCoords(Mx(e)),n=t&&Hx(this.view,t.inside,!1);if(!n)return;let{doc:r}=this.view.state,i=this.startSelection,[a,o]=n.from<i.from?[i.to,n.from]:[i.from,n.to];Fx(this.view,Y.create(r,a,o))}};xx.touchstart=e=>{e.input.lastTouch=Date.now(),Ux(e),Ex(e,`pointer`)},xx.touchmove=e=>{e.input.lastTouch=Date.now(),Ex(e,`pointer`)},xx.contextmenu=e=>Ux(e);function Jx(e,t){return e.composing?!0:fy&&Math.abs(Date.now()-e.input.compositionEndedAt)<500?(e.input.compositionEndedAt=-2e8,!0):!1}var Yx=gy?5e3:-1;Sx.compositionstart=Sx.compositionupdate=e=>{if(!e.composing){e.domObserver.flush();let{state:t}=e,n=t.selection.$to;if(t.selection instanceof Y&&t.selection.empty&&(t.storedMarks||!n.textOffset&&n.parentOffset&&n.nodeBefore.marks.some(e=>e.type.spec.inclusive===!1)||uy&&hy&&Xx(e)))e.markCursor=e.state.storedMarks||n.marks(),eS(e,!0),e.markCursor=null;else if(eS(e,!t.selection.empty),cy&&t.selection.empty&&n.parentOffset&&!n.textOffset&&n.nodeBefore.marks.length){let t=e.domSelectionRange();for(let n=t.focusNode,r=t.focusOffset;n&&Z(n)&&r!=0;){let t=r<0?n.lastChild:n.childNodes[r-1];if(!t)break;if(Wv(t)){let n=e.domSelection();n&&n.collapse(t,t.nodeValue.length);break}n=t,r=-1}}e.input.composing=!0}Zx(e,Yx)};function Xx(e){let{focusNode:t,focusOffset:n}=e.domSelectionRange();if(!t||!Z(t)||n>=t.childNodes.length)return!1;let r=t.childNodes[n];return Z(r)&&r.contentEditable==`false`}Sx.compositionend=(e,t)=>{e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now(),e.input.compositionPendingChanges=e.domObserver.pendingRecords().length?e.input.compositionID:0,e.input.compositionNode=null,e.input.badSafariComposition?e.domObserver.forceFlush():e.input.compositionPendingChanges&&Promise.resolve().then(()=>e.domObserver.flush()),e.input.compositionID++,Zx(e,20))};function Zx(e,t){clearTimeout(e.input.composingTimeout),t>-1&&(e.input.composingTimeout=setTimeout(()=>eS(e),t))}function Qx(e){for(e.composing&&(e.input.composing=!1,e.input.compositionEndedAt=Date.now());e.input.compositionNodes.length>0;)e.input.compositionNodes.pop().markParentsDirty()}function $x(e){let t=e.domSelectionRange();if(!t.focusNode)return null;let n=Kv(t.focusNode,t.focusOffset),r=qv(t.focusNode,t.focusOffset);if(n&&r&&n!=r){let t=r.pmViewDesc,i=e.domObserver.lastChangedTextNode;if(n==i||r==i)return i;if(!t||!t.isText(r.nodeValue))return r;if(e.input.compositionNode==r){let e=n.pmViewDesc;if(e&&e.isText(n.nodeValue))return r}}return n||r}function eS(e,t=!1){if(!(gy&&e.domObserver.flushingSoon>=0)){if(e.domObserver.forceFlush(),Qx(e),t||e.docView&&e.docView.dirty){let n=Eb(e),r=e.state.selection;return n&&!n.eq(r)?e.dispatch(e.state.tr.setSelection(n)):(e.markCursor||t)&&!r.$from.node(r.$from.sharedDepth(r.to)).inlineContent?e.dispatch(e.state.tr.deleteSelection()):e.updateState(e.state),!0}return!1}}function tS(e,t){if(!e.dom.parentNode)return;let n=e.dom.parentNode.appendChild(document.createElement(`div`));n.appendChild(t),n.style.cssText=`position: fixed; left: -10000px; top: 10px`;let r=getSelection(),i=document.createRange();i.selectNodeContents(t),e.dom.blur(),r.removeAllRanges(),r.addRange(i),setTimeout(()=>{n.parentNode&&n.parentNode.removeChild(n),e.focus()},50)}var nS=oy&&sy<15||py&&vy<604;xx.copy=Sx.cut=(e,t)=>{let n=t,r=e.state.selection,i=n.type==`cut`;if(r.empty)return;let a=nS?null:n.clipboardData,{dom:o,text:s}=ax(e,r.content());a?(n.preventDefault(),a.clearData(),a.setData(`text/html`,o.innerHTML),a.setData(`text/plain`,s)):tS(e,o),i&&e.dispatch(e.state.tr.deleteSelection().scrollIntoView().setMeta(`uiEvent`,`cut`))};function rS(e){return e.openStart==0&&e.openEnd==0&&e.content.childCount==1?e.content.firstChild:null}function iS(e,t){if(!e.dom.parentNode)return;let n=e.input.shiftKey||e.state.selection.$from.parent.type.spec.code,r=e.dom.parentNode.appendChild(document.createElement(n?`textarea`:`div`));n||(r.contentEditable=`true`),r.style.cssText=`position: fixed; left: -10000px; top: 10px`,r.focus();let i=e.input.shiftKey&&e.input.lastKeyCode!=45;setTimeout(()=>{e.focus(),r.parentNode&&r.parentNode.removeChild(r),n?aS(e,r.value,null,i,t):aS(e,r.textContent,r.innerHTML,i,t)},50)}function aS(e,t,n,r,i){let a=ox(e,t,n,r,e.state.selection.$from);if(e.someProp(`handlePaste`,t=>t(e,i,a||q.empty)))return!0;if(!a)return!1;let o=rS(a),s=o?e.state.tr.replaceSelectionWith(o,r):e.state.tr.replaceSelection(a);return e.dispatch(s.scrollIntoView().setMeta(`paste`,!0).setMeta(`uiEvent`,`paste`)),!0}function oS(e){let t=e.getData(`text/plain`)||e.getData(`Text`);if(t)return t;let n=e.getData(`text/uri-list`);return n?n.replace(/\r?\n/g,` `):``}Sx.paste=(e,t)=>{let n=t;if(e.composing&&!gy)return;let r=nS?null:n.clipboardData,i=e.input.shiftKey&&e.input.lastKeyCode!=45;r&&aS(e,oS(r),r.getData(`text/html`),i,n)?n.preventDefault():iS(e,n)};var sS=class{constructor(e,t,n){this.slice=e,this.move=t,this.node=n}},cS=my?`altKey`:`ctrlKey`;function lS(e,t){let n;return e.someProp(`dragCopies`,e=>{n||=e(t)}),n==null?!t[cS]:!n}xx.dragstart=(e,t)=>{let n=t,r=e.input.mouseDown;if(r&&r.done(),!n.dataTransfer)return;let i=e.state.selection,a=i.empty?null:e.posAtCoords(Mx(n)),o;if(!(a&&a.pos>=i.from&&a.pos<=(i instanceof X?i.to-1:i.to))){if(r&&r.mightDrag)o=X.create(e.state.doc,r.mightDrag.pos);else if(n.target&&Z(n.target)){let t=e.docView.nearestDesc(n.target,!0);t&&t.node.type.spec.draggable&&t!=e.docView&&(o=X.create(e.state.doc,t.posBefore))}}let{dom:s,text:c,slice:l}=ax(e,(o||e.state.selection).content());(!n.dataTransfer.files.length||!uy||dy>120)&&n.dataTransfer.clearData(),n.dataTransfer.setData(nS?`Text`:`text/html`,s.innerHTML),n.dataTransfer.effectAllowed=`copyMove`,nS||n.dataTransfer.setData(`text/plain`,c),e.dragging=new sS(l,lS(e,n),o)},xx.dragend=e=>{let t=e.dragging;window.setTimeout(()=>{e.dragging==t&&(e.dragging=null)},50)},Sx.dragover=Sx.dragenter=(e,t)=>t.preventDefault(),Sx.drop=(e,t)=>{try{uS(e,t,e.dragging)}finally{e.dragging=null}};function uS(e,t,n){if(!t.dataTransfer)return;let r=e.posAtCoords(Mx(t));if(!r)return;let i=e.state.doc.resolve(r.pos),a=n&&n.slice;a?e.someProp(`transformPasted`,t=>{a=t(a,e,!1)}):a=ox(e,oS(t.dataTransfer),nS?null:t.dataTransfer.getData(`text/html`),!1,i);let o=!!(n&&lS(e,t));if(e.someProp(`handleDrop`,n=>n(e,t,a||q.empty,o))){t.preventDefault();return}if(!a)return;t.preventDefault();let s=a?e_(e.state.doc,i.pos,a):i.pos;s??=i.pos;let c=e.state.tr;if(o){let{node:e}=n;e?e.replace(c):c.deleteSelection()}let l=c.mapping.map(s),u=a.openStart==0&&a.openEnd==0&&a.content.childCount==1,d=c.doc;if(u?c.replaceRangeWith(l,l,a.content.firstChild):c.replaceRange(l,l,a),c.doc.eq(d))return;let f=c.doc.resolve(l);if(u&&X.isSelectable(a.content.firstChild)&&f.nodeAfter&&f.nodeAfter.sameMarkup(a.content.firstChild))c.setSelection(new X(f));else{let t=c.mapping.map(s);c.mapping.maps[c.mapping.maps.length-1].forEach((e,n,r,i)=>t=i),c.setSelection(Lb(e,f,c.doc.resolve(t)))}e.focus(),e.dispatch(c.setMeta(`uiEvent`,`drop`))}xx.focus=e=>{e.input.lastFocus=Date.now(),e.focused||(e.domObserver.stop(),e.dom.classList.add(`ProseMirror-focused`),e.domObserver.start(),e.focused=!0,setTimeout(()=>{e.docView&&e.hasFocus()&&!e.domObserver.currentSelection.eq(e.domSelectionRange())&&Ob(e)},20))},xx.blur=(e,t)=>{let n=t;e.focused&&=(e.domObserver.stop(),e.dom.classList.remove(`ProseMirror-focused`),e.domObserver.start(),n.relatedTarget&&e.dom.contains(n.relatedTarget)&&e.domObserver.currentSelection.clear(),!1)},xx.beforeinput=(e,t)=>{if(gy&&t.inputType==`deleteContentBackward`){e.domObserver.flushSoon();let{domChangeCount:t}=e.input;setTimeout(()=>{if(e.input.domChangeCount!=t||(e.dom.blur(),e.focus(),e.someProp(`handleKeyDown`,t=>t(e,Zv(8,`Backspace`)))))return;let{$cursor:n}=e.state.selection;n&&n.pos>0&&e.dispatch(e.state.tr.delete(n.pos-1,n.pos).scrollIntoView())},50)}};for(let e in Sx)xx[e]=Sx[e];function dS(e,t){if(e==t)return!0;for(let n in e)if(e[n]!==t[n])return!1;for(let n in t)if(!(n in e))return!1;return!0}var fS=class e{constructor(e,t){this.toDOM=e,this.spec=t||_S,this.side=this.spec.side||0}map(e,t,n,r){let{pos:i,deleted:a}=e.mapResult(t.from+r,this.side<0?-1:1);return a?null:new hS(i-n,i-n,this)}valid(){return!0}eq(t){return this==t||t instanceof e&&(this.spec.key&&this.spec.key==t.spec.key||this.toDOM==t.toDOM&&dS(this.spec,t.spec))}destroy(e){this.spec.destroy&&this.spec.destroy(e)}},pS=class e{constructor(e,t){this.attrs=e,this.spec=t||_S}map(e,t,n,r){let i=e.map(t.from+r,this.spec.inclusiveStart?-1:1)-n,a=e.map(t.to+r,this.spec.inclusiveEnd?1:-1)-n;return i>=a?null:new hS(i,a,this)}valid(e,t){return t.from<t.to}eq(t){return this==t||t instanceof e&&dS(this.attrs,t.attrs)&&dS(this.spec,t.spec)}static is(t){return t.type instanceof e}destroy(){}},mS=class e{constructor(e,t){this.attrs=e,this.spec=t||_S}map(e,t,n,r){let i=e.mapResult(t.from+r,1);if(i.deleted)return null;let a=e.mapResult(t.to+r,-1);return a.deleted||a.pos<=i.pos?null:new hS(i.pos-n,a.pos-n,this)}valid(e,t){let{index:n,offset:r}=e.content.findIndex(t.from),i;return r==t.from&&!(i=e.child(n)).isText&&r+i.nodeSize==t.to}eq(t){return this==t||t instanceof e&&dS(this.attrs,t.attrs)&&dS(this.spec,t.spec)}destroy(){}},hS=class e{constructor(e,t,n){this.from=e,this.to=t,this.type=n}copy(t,n){return new e(t,n,this.type)}eq(e,t=0){return this.type.eq(e.type)&&this.from+t==e.from&&this.to+t==e.to}map(e,t,n){return this.type.map(e,this,t,n)}static widget(t,n,r){return new e(t,t,new fS(n,r))}static inline(t,n,r,i){return new e(t,n,new pS(r,i))}static node(t,n,r,i){return new e(t,n,new mS(r,i))}get spec(){return this.type.spec}get inline(){return this.type instanceof pS}get widget(){return this.type instanceof fS}},gS=[],_S={},vS=class e{constructor(e,t){this.local=e.length?e:gS,this.children=t.length?t:gS}static create(e,t){return t.length?ES(t,e,0,_S):yS}find(e,t,n){let r=[];return this.findInner(e??0,t??1e9,r,0,n),r}findInner(e,t,n,r,i){for(let a=0;a<this.local.length;a++){let o=this.local[a];o.from<=t&&o.to>=e&&(!i||i(o.spec))&&n.push(o.copy(o.from+r,o.to+r))}for(let a=0;a<this.children.length;a+=3)if(this.children[a]<t&&this.children[a+1]>e){let o=this.children[a]+1;this.children[a+2].findInner(e-o,t-o,n,r+o,i)}}map(e,t,n){return this==yS||e.maps.length==0?this:this.mapInner(e,t,0,0,n||_S)}mapInner(t,n,r,i,a){let o;for(let e=0;e<this.local.length;e++){let s=this.local[e].map(t,r,i);s&&s.type.valid(n,s)?(o||=[]).push(s):a.onRemove&&a.onRemove(this.local[e].spec)}return this.children.length?xS(this.children,o||[],t,n,r,i,a):o?new e(o.sort(DS),gS):yS}add(t,n){return n.length?this==yS?e.create(t,n):this.addInner(t,n,0):this}addInner(t,n,r){let i,a=0;t.forEach((e,t)=>{let o=t+r,s;if(s=wS(n,e,o)){for(i||=this.children.slice();a<i.length&&i[a]<t;)a+=3;i[a]==t?i[a+2]=i[a+2].addInner(e,s,o+1):i.splice(a,0,t,t+e.nodeSize,ES(s,e,o+1,_S)),a+=3}});let o=SS(a?TS(n):n,-r);for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||o.splice(e--,1);return new e(o.length?this.local.concat(o).sort(DS):this.local,i||this.children)}remove(e){return e.length==0||this==yS?this:this.removeInner(e,0)}removeInner(t,n){let r=this.children,i=this.local;for(let e=0;e<r.length;e+=3){let i,a=r[e]+n,o=r[e+1]+n;for(let e=0,n;e<t.length;e++)(n=t[e])&&n.from>a&&n.to<o&&(t[e]=null,(i||=[]).push(n));if(!i)continue;r==this.children&&(r=this.children.slice());let s=r[e+2].removeInner(i,a+1);s==yS?(r.splice(e,3),e-=3):r[e+2]=s}if(i.length){for(let e=0,r;e<t.length;e++)if(r=t[e])for(let e=0;e<i.length;e++)i[e].eq(r,n)&&(i==this.local&&(i=this.local.slice()),i.splice(e--,1))}return r==this.children&&i==this.local?this:i.length||r.length?new e(i,r):yS}forChild(t,n){if(this==yS)return this;if(n.isLeaf)return e.empty;let r,i;for(let e=0;e<this.children.length;e+=3)if(this.children[e]>=t){this.children[e]==t&&(r=this.children[e+2]);break}let a=t+1,o=a+n.content.size;for(let e=0;e<this.local.length;e++){let t=this.local[e];if(t.from<o&&t.to>a&&t.type instanceof pS){let e=Math.max(a,t.from)-a,n=Math.min(o,t.to)-a;e<n&&(i||=[]).push(t.copy(e,n))}}if(i){let t=new e(i.sort(DS),gS);return r?new bS([t,r]):t}return r||yS}eq(t){if(this==t)return!0;if(!(t instanceof e)||this.local.length!=t.local.length||this.children.length!=t.children.length)return!1;for(let e=0;e<this.local.length;e++)if(!this.local[e].eq(t.local[e]))return!1;for(let e=0;e<this.children.length;e+=3)if(this.children[e]!=t.children[e]||this.children[e+1]!=t.children[e+1]||!this.children[e+2].eq(t.children[e+2]))return!1;return!0}locals(e){return OS(this.localsInner(e))}localsInner(e){if(this==yS)return gS;if(e.inlineContent||!this.local.some(pS.is))return this.local;let t=[];for(let e=0;e<this.local.length;e++)this.local[e].type instanceof pS||t.push(this.local[e]);return t}forEachSet(e){e(this)}};vS.empty=new vS([],[]),vS.removeOverlap=OS;var yS=vS.empty,bS=class e{constructor(e){this.members=e}map(t,n){let r=this.members.map(e=>e.map(t,n,_S));return e.from(r)}forChild(t,n){if(n.isLeaf)return vS.empty;let r=[];for(let i=0;i<this.members.length;i++){let a=this.members[i].forChild(t,n);a!=yS&&(a instanceof e?r=r.concat(a.members):r.push(a))}return e.from(r)}eq(t){if(!(t instanceof e)||t.members.length!=this.members.length)return!1;for(let e=0;e<this.members.length;e++)if(!this.members[e].eq(t.members[e]))return!1;return!0}locals(e){let t,n=!0;for(let r=0;r<this.members.length;r++){let i=this.members[r].localsInner(e);if(i.length){if(!t)t=i;else{n&&=(t=t.slice(),!1);for(let e=0;e<i.length;e++)t.push(i[e])}}}return t?OS(n?t:t.sort(DS)):gS}static from(t){switch(t.length){case 0:return yS;case 1:return t[0];default:return new e(t.every(e=>e instanceof vS)?t:t.reduce((e,t)=>e.concat(t instanceof vS?t:t.members),[]))}}forEachSet(e){for(let t=0;t<this.members.length;t++)this.members[t].forEachSet(e)}};function xS(e,t,n,r,i,a,o){let s=e.slice();for(let e=0,t=a;e<n.maps.length;e++){let r=0;n.maps[e].forEach((e,n,i,a)=>{let o=a-i-(n-e);for(let i=0;i<s.length;i+=3){let a=s[i+1];if(a<0||e>a+t-r)continue;let c=s[i]+t-r;n>=c?s[i+1]=e<=c?-2:-1:e>=t&&o&&(s[i]+=o,s[i+1]+=o)}r+=o}),t=n.maps[e].map(t,-1)}let c=!1;for(let t=0;t<s.length;t+=3)if(s[t+1]<0){if(s[t+1]==-2){c=!0,s[t+1]=-1;continue}let l=n.map(e[t]+a),u=l-i;if(u<0||u>=r.content.size){c=!0;continue}let d=n.map(e[t+1]+a,-1)-i,{index:f,offset:p}=r.content.findIndex(u),m=r.maybeChild(f);if(m&&p==u&&p+m.nodeSize==d){let r=s[t+2].mapInner(n,m,l+1,e[t]+a+1,o);r==yS?(s[t+1]=-2,c=!0):(s[t]=u,s[t+1]=d,s[t+2]=r)}else c=!0}if(c){let c=ES(CS(s,e,t,n,i,a,o),r,0,o);t=c.local;for(let e=0;e<s.length;e+=3)s[e+1]<0&&(s.splice(e,3),e-=3);for(let e=0,t=0;e<c.children.length;e+=3){let n=c.children[e];for(;t<s.length&&s[t]<n;)t+=3;s.splice(t,0,c.children[e],c.children[e+1],c.children[e+2])}}return new vS(t.sort(DS),s)}function SS(e,t){if(!t||!e.length)return e;let n=[];for(let r=0;r<e.length;r++){let i=e[r];n.push(new hS(i.from+t,i.to+t,i.type))}return n}function CS(e,t,n,r,i,a,o){function s(e,t){for(let a=0;a<e.local.length;a++){let s=e.local[a].map(r,i,t);s?n.push(s):o.onRemove&&o.onRemove(e.local[a].spec)}for(let n=0;n<e.children.length;n+=3)s(e.children[n+2],e.children[n]+t+1)}for(let n=0;n<e.length;n+=3)e[n+1]==-1&&s(e[n+2],t[n]+a+1);return n}function wS(e,t,n){if(t.isLeaf)return null;let r=n+t.nodeSize,i=null;for(let t=0,a;t<e.length;t++)(a=e[t])&&a.from>n&&a.to<r&&((i||=[]).push(a),e[t]=null);return i}function TS(e){let t=[];for(let n=0;n<e.length;n++)e[n]!=null&&t.push(e[n]);return t}function ES(e,t,n,r){let i=[],a=!1;t.forEach((t,o)=>{let s=wS(e,t,o+n);if(s){a=!0;let e=ES(s,t,n+o+1,r);e!=yS&&i.push(o,o+t.nodeSize,e)}});let o=SS(a?TS(e):e,-n).sort(DS);for(let e=0;e<o.length;e++)o[e].type.valid(t,o[e])||(r.onRemove&&r.onRemove(o[e].spec),o.splice(e--,1));return o.length||i.length?new vS(o,i):yS}function DS(e,t){return e.from-t.from||e.to-t.to}function OS(e){let t=e;for(let n=0;n<t.length-1;n++){let r=t[n];if(r.from!=r.to)for(let i=n+1;i<t.length;i++){let a=t[i];if(a.from==r.from)a.to!=r.to&&(t==e&&(t=e.slice()),t[i]=a.copy(a.from,r.to),kS(t,i+1,a.copy(r.to,a.to)));else{a.from<r.to&&(t==e&&(t=e.slice()),t[n]=r.copy(r.from,a.from),kS(t,i,r.copy(a.from,r.to)));break}}}return t}function kS(e,t,n){for(;t<e.length&&DS(n,e[t])>0;)t++;e.splice(t,0,n)}function AS(e){let t=[];return e.someProp(`decorations`,n=>{let r=n(e.state);r&&r!=yS&&t.push(r)}),e.cursorWrapper&&t.push(vS.create(e.state.doc,[e.cursorWrapper.deco])),bS.from(t)}var jS={childList:!0,characterData:!0,characterDataOldValue:!0,attributes:!0,attributeOldValue:!0,subtree:!0},MS=oy&&sy<=11,NS=class{constructor(){this.anchorNode=null,this.anchorOffset=0,this.focusNode=null,this.focusOffset=0}set(e){this.anchorNode=e.anchorNode,this.anchorOffset=e.anchorOffset,this.focusNode=e.focusNode,this.focusOffset=e.focusOffset}clear(){this.anchorNode=this.focusNode=null}eq(e){return e.anchorNode==this.anchorNode&&e.anchorOffset==this.anchorOffset&&e.focusNode==this.focusNode&&e.focusOffset==this.focusOffset}},PS=class{constructor(e,t){this.view=e,this.handleDOMChange=t,this.queue=[],this.flushingSoon=-1,this.observer=null,this.currentSelection=new NS,this.onCharData=null,this.suppressingSelectionUpdates=!1,this.lastChangedTextNode=null,this.observer=window.MutationObserver&&new window.MutationObserver(t=>{for(let e=0;e<t.length;e++)this.queue.push(t[e]);oy&&sy<=11&&t.some(e=>e.type==`childList`&&e.removedNodes.length||e.type==`characterData`&&e.oldValue.length>e.target.nodeValue.length)?this.flushSoon():fy&&e.composing&&t.some(e=>e.type==`childList`&&e.target.nodeName==`TR`)?(e.input.badSafariComposition=!0,this.flushSoon()):this.flush()}),MS&&(this.onCharData=e=>{this.queue.push({target:e.target,type:`characterData`,oldValue:e.prevValue}),this.flushSoon()}),this.onSelectionChange=this.onSelectionChange.bind(this)}flushSoon(){this.flushingSoon<0&&(this.flushingSoon=window.setTimeout(()=>{this.flushingSoon=-1,this.flush()},20))}forceFlush(){this.flushingSoon>-1&&(window.clearTimeout(this.flushingSoon),this.flushingSoon=-1,this.flush())}start(){this.observer&&(this.observer.takeRecords(),this.observer.observe(this.view.dom,jS)),this.onCharData&&this.view.dom.addEventListener(`DOMCharacterDataModified`,this.onCharData),this.connectSelection()}stop(){if(this.observer){let e=this.observer.takeRecords();if(e.length){for(let t=0;t<e.length;t++)this.queue.push(e[t]);window.setTimeout(()=>this.flush(),20)}this.observer.disconnect()}this.onCharData&&this.view.dom.removeEventListener(`DOMCharacterDataModified`,this.onCharData),this.disconnectSelection()}connectSelection(){this.view.dom.ownerDocument.addEventListener(`selectionchange`,this.onSelectionChange)}disconnectSelection(){this.view.dom.ownerDocument.removeEventListener(`selectionchange`,this.onSelectionChange)}suppressSelectionUpdates(){this.suppressingSelectionUpdates=!0,setTimeout(()=>this.suppressingSelectionUpdates=!1,50)}onSelectionChange(){if(Rb(this.view)){if(this.suppressingSelectionUpdates)return Ob(this.view);if(oy&&sy<=11&&!this.view.state.selection.empty){let e=this.view.domSelectionRange();if(e.focusNode&&Bv(e.focusNode,e.focusOffset,e.anchorNode,e.anchorOffset))return this.flushSoon()}this.flush()}}setCurSelection(){this.currentSelection.set(this.view.domSelectionRange())}ignoreSelectionChange(e){if(!e.focusNode)return!0;let t=new Set,n;for(let n=e.focusNode;n;n=Iv(n))t.add(n);for(let r=e.anchorNode;r;r=Iv(r))if(t.has(r)){n=r;break}let r=n&&this.view.docView.nearestDesc(n);if(r&&r.ignoreMutation({type:`selection`,target:Wv(n)?n.parentNode:n}))return this.setCurSelection(),!0}pendingRecords(){if(this.observer)for(let e of this.observer.takeRecords())this.queue.push(e);return this.queue}flush(){let{view:e}=this;if(!e.docView||this.flushingSoon>-1)return;let t=this.pendingRecords();t.length&&(this.queue=[]);let n=e.domSelectionRange(),r=!this.suppressingSelectionUpdates&&!this.currentSelection.eq(n)&&Rb(e)&&!this.ignoreSelectionChange(n),i=-1,a=-1,o=!1,s=[];if(e.editable)for(let e=0;e<t.length;e++){let n=this.registerMutation(t[e],s);n&&(i=i<0?n.from:Math.min(n.from,i),a=a<0?n.to:Math.max(n.to,a),n.typeOver&&(o=!0))}if(s.some(e=>e.nodeName==`BR`)&&(e.input.lastKeyCode==8||e.input.lastKeyCode==46||uy&&(e.composing||e.input.compositionEndedAt>Date.now()-50)&&t.some(e=>e.type==`childList`&&e.removedNodes.length))){for(let e of s)if(e.nodeName==`BR`&&e.parentNode){let t=e.nextSibling;for(;t&&Z(t);){if(t.contentEditable==`false`){e.parentNode.removeChild(e);break}t=t.firstChild}}}else if(cy&&s.length){let t=s.filter(e=>e.nodeName==`BR`);if(t.length==2){let[e,n]=t;e.parentNode&&e.parentNode.parentNode==n.parentNode?n.remove():e.remove()}else{let{focusNode:n}=this.currentSelection;for(let r of t){let t=r.parentNode;t&&t.nodeName==`LI`&&(!n||BS(e,n)!=t)&&r.remove()}}}let c=null;i<0&&r&&e.input.lastFocus>Date.now()-200&&Math.max(e.input.lastTouch,e.input.lastClick.time)<Date.now()-300&&Xv(n)&&(c=Eb(e))&&c.eq(J.near(e.state.doc.resolve(0),1))?(e.input.lastFocus=0,Ob(e),this.currentSelection.set(n),e.scrollToSelection()):(i>-1||r)&&(i>-1&&(e.docView.markDirty(i,a),LS(e)),e.input.badSafariComposition&&(e.input.badSafariComposition=!1,VS(e,s)),this.handleDOMChange(i,a,o,s),e.docView&&e.docView.dirty?e.updateState(e.state):this.currentSelection.eq(n)||Ob(e),this.currentSelection.set(n))}registerMutation(e,t){if(t.indexOf(e.target)>-1)return null;let n=this.view.docView.nearestDesc(e.target);if(e.type==`attributes`&&(n==this.view.docView||e.attributeName==`contenteditable`||e.attributeName==`style`&&!e.oldValue&&!e.target.getAttribute(`style`))||!n||n.ignoreMutation(e))return null;if(e.type==`childList`){for(let n=0;n<e.addedNodes.length;n++){let r=e.addedNodes[n];t.push(r),Wv(r)&&(this.lastChangedTextNode=r)}if(n.contentDOM&&n.contentDOM!=n.dom&&!n.contentDOM.contains(e.target))return{from:n.posBefore,to:n.posAfter};let r=e.previousSibling,i=e.nextSibling;if(oy&&sy<=11&&e.addedNodes.length)for(let t=0;t<e.addedNodes.length;t++){let{previousSibling:n,nextSibling:a}=e.addedNodes[t];(!n||Array.prototype.indexOf.call(e.addedNodes,n)<0)&&(r=n),(!a||Array.prototype.indexOf.call(e.addedNodes,a)<0)&&(i=a)}let a=r&&r.parentNode==e.target?Fv(r)+1:0,o=n.localPosFromDOM(e.target,a,-1),s=i&&i.parentNode==e.target?Fv(i):e.target.childNodes.length;return{from:o,to:n.localPosFromDOM(e.target,s,1)}}return e.type==`attributes`?{from:n.posAtStart-n.border,to:n.posAtEnd+n.border}:(this.lastChangedTextNode=e.target,{from:n.posAtStart,to:n.posAtEnd,typeOver:e.target.nodeValue==e.oldValue})}},FS=new WeakMap,IS=!1;function LS(e){if(!FS.has(e)&&(FS.set(e,null),[`normal`,`nowrap`,`pre-line`].indexOf(getComputedStyle(e.dom).whiteSpace)!==-1)){if(e.requiresGeckoHackNode=cy,IS)return;console.warn(`ProseMirror expects the CSS white-space property to be set, preferably to 'pre-wrap'. It is recommended to load style/prosemirror.css from the prosemirror-view package.`),IS=!0}}function RS(e,t){let n=t.startContainer,r=t.startOffset,i=t.endContainer,a=t.endOffset,o=e.domAtPos(e.state.selection.anchor);return Bv(o.node,o.offset,i,a)&&([n,r,i,a]=[i,a,n,r]),{anchorNode:n,anchorOffset:r,focusNode:i,focusOffset:a}}function zS(e,t){if(t.getComposedRanges){let n=t.getComposedRanges(e.root)[0];if(n)return RS(e,n)}let n;function r(e){e.preventDefault(),e.stopImmediatePropagation(),n=e.getTargetRanges()[0]}return e.dom.addEventListener(`beforeinput`,r,!0),document.execCommand(`indent`),e.dom.removeEventListener(`beforeinput`,r,!0),n?RS(e,n):null}function BS(e,t){for(let n=t.parentNode;n&&n!=e.dom;n=n.parentNode){let t=e.docView.nearestDesc(n,!0);if(t&&t.node.isBlock)return n}return null}function VS(e,t){let{focusNode:n,focusOffset:r}=e.domSelectionRange();for(let i of t)if(i.parentNode?.nodeName==`TR`){let t=i.nextSibling;for(;t&&t.nodeName!=`TD`&&t.nodeName!=`TH`;)t=t.nextSibling;if(t){let a=t;for(;;){let e=a.firstChild;if(!e||!Z(e)||e.contentEditable==`false`||/^(BR|IMG)$/.test(e.nodeName))break;a=e}a.insertBefore(i,a.firstChild),n==i&&e.domSelection().collapse(i,r)}else i.parentNode.removeChild(i)}}function HS(e,t,n,r){let{node:i,fromOffset:a,toOffset:o,from:s,to:c}=e.docView.parseRange(t,n),l=e.domSelectionRange(),u,d=l.anchorNode;if(d&&Gv(e.dom,d)&&(u=[{node:d,offset:l.anchorOffset}],Xv(l)||u.push({node:l.focusNode,offset:l.focusOffset})),uy&&e.input.lastKeyCode===8)for(let e=o;e>a;e--){let t=i.childNodes[e-1],n=t.pmViewDesc;if(t.nodeName==`BR`&&!n){o=e;break}if(!n||n.size)break}let f=e.state.doc,p=e.someProp(`domParser`)||Bh.fromSchema(e.state.schema),m=f.resolve(s),h=null,g=p.parse(i,{topNode:m.parent,topMatch:m.parent.contentMatchAt(m.index()),topOpen:!0,from:a,to:o,preserveWhitespace:m.parent.type.whitespace!=`pre`||`full`,findPositions:u,ruleFromNode:US(r),context:m});if(u&&u[0].pos!=null){let e=u[0].pos,t=u[1]&&u[1].pos;t??=e,h={anchor:e+s,head:t+s}}return{doc:g,sel:h,from:s,to:c}}var US=e=>t=>{let n=t.pmViewDesc;if(n)return n.parseRule(e);if(t.nodeName==`BR`&&t.parentNode){if(fy&&/^(ul|ol)$/i.test(t.parentNode.nodeName)){let e=document.createElement(`div`);return e.appendChild(document.createElement(`li`)),{skip:e}}if(t.parentNode.lastChild==t||fy&&/^(tr|table)$/i.test(t.parentNode.nodeName))return{ignore:!0}}else if(t.nodeName==`IMG`&&t.getAttribute(`mark-placeholder`))return{ignore:!0};return null},WS=/^(a|abbr|acronym|b|bd[io]|big|br|button|cite|code|data(list)?|del|dfn|em|i|img|ins|kbd|label|map|mark|meter|output|q|ruby|s|samp|small|span|strong|su[bp]|time|u|tt|var)$/i;function GS(e,t,n,r,i){let a=e.input.compositionPendingChanges||(e.composing?e.input.compositionID:0);if(e.input.compositionPendingChanges=0,t<0){let t=e.input.lastSelectionTime>Date.now()-50?e.input.lastSelectionOrigin:null,n=Eb(e,t);if(n&&!e.state.selection.eq(n)){if(uy&&gy&&e.input.lastKeyCode===13&&Date.now()-100<e.input.lastKeyCodeTime&&e.someProp(`handleKeyDown`,t=>t(e,Zv(13,`Enter`))))return;let r=e.state.tr.setSelection(n);t==`pointer`?r.setMeta(`pointer`,!0):t==`key`&&r.scrollIntoView(),a&&r.setMeta(`composition`,a),e.dispatch(r)}return}let o=e.state.doc.resolve(t),s=o.sharedDepth(n);t=o.before(s+1),n=e.state.doc.resolve(n).after(s+1);let c=e.state.selection,l=HS(e,t,n,i),u=e.state.doc,d=u.slice(l.from,l.to),f,p;e.input.lastKeyCode===8&&Date.now()-100<e.input.lastKeyCodeTime?(f=e.state.selection.to,p=`end`):(f=e.state.selection.from,p=`start`),e.input.lastKeyCode=null;let m=ZS(d.content,l.doc.content,l.from,f,p);if(m&&e.input.domChangeCount++,(py&&e.input.lastIOSEnter>Date.now()-225||gy)&&i.some(e=>Z(e)&&!WS.test(e.nodeName))&&(!m||m.endA>=m.endB)&&e.someProp(`handleKeyDown`,t=>t(e,Zv(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(!m){if(r&&c instanceof Y&&!c.empty&&c.$head.sameParent(c.$anchor)&&!e.composing&&!(l.sel&&l.sel.anchor!=l.sel.head))m={start:c.from,endA:c.to,endB:c.to};else{if(l.sel){let t=KS(e,e.state.doc,l.sel);if(t&&!t.eq(e.state.selection)){let n=e.state.tr.setSelection(t);a&&n.setMeta(`composition`,a),e.dispatch(n)}}return}}e.state.selection.from<e.state.selection.to&&m.start==m.endB&&e.state.selection instanceof Y&&(m.start>e.state.selection.from&&m.start<=e.state.selection.from+2&&e.state.selection.from>=l.from?m.start=e.state.selection.from:m.endA<e.state.selection.to&&m.endA>=e.state.selection.to-2&&e.state.selection.to<=l.to&&(m.endB+=e.state.selection.to-m.endA,m.endA=e.state.selection.to)),oy&&sy<=11&&m.endB==m.start+1&&m.endA==m.start&&m.start>l.from&&l.doc.textBetween(m.start-l.from-1,m.start-l.from+1)==` \xA0`&&(m.start--,m.endA--,m.endB--);let h=l.doc.resolveNoCache(m.start-l.from),g=l.doc.resolveNoCache(m.endB-l.from),_=u.resolve(m.start),v=h.sameParent(g)&&h.parent.inlineContent&&_.end()>=m.endA;if((py&&e.input.lastIOSEnter>Date.now()-225&&(!v||i.some(e=>e.nodeName==`DIV`||e.nodeName==`P`))||!v&&YS(l.doc,h.pos,g.pos))&&e.someProp(`handleKeyDown`,t=>t(e,Zv(13,`Enter`)))){e.input.lastIOSEnter=0;return}if(e.state.selection.anchor>m.start&&JS(u,m.start,m.endA,h,g)&&e.someProp(`handleKeyDown`,t=>t(e,Zv(8,`Backspace`)))){gy&&uy&&e.domObserver.suppressSelectionUpdates();return}uy&&m.endB==m.start&&(e.input.lastChromeDelete=Date.now()),gy&&!v&&h.start()!=g.start()&&g.parentOffset==0&&h.depth==g.depth&&l.sel&&l.sel.anchor==l.sel.head&&l.sel.head==m.endA&&(m.endB-=2,g=l.doc.resolveNoCache(m.endB-l.from),setTimeout(()=>{e.someProp(`handleKeyDown`,function(t){return t(e,Zv(13,`Enter`))})},20));let y=m.start,b=m.endA,x=t=>{let n=t||e.state.tr.replace(y,b,l.doc.slice(m.start-l.from,m.endB-l.from));if(l.sel){let t=KS(e,n.doc,l.sel);t&&!(uy&&e.composing&&t.empty&&(m.start!=m.endB||e.input.lastChromeDelete<Date.now()-100)&&(t.head==y||t.head==n.mapping.map(b)-1)||oy&&t.empty&&t.head==y)&&n.setSelection(t)}return a&&n.setMeta(`composition`,a),n.scrollIntoView()},S;if(v){if(h.pos==g.pos){oy&&sy<=11&&h.parentOffset==0&&(e.domObserver.suppressSelectionUpdates(),setTimeout(()=>Ob(e),20));let t=x(e.state.tr.delete(y,b)),n=u.resolve(m.start).marksAcross(u.resolve(m.endA));n&&t.ensureMarks(n),e.dispatch(t)}else if(m.endA==m.endB&&(S=qS(h.parent.content.cut(h.parentOffset,g.parentOffset),_.parent.content.cut(_.parentOffset,m.endA-_.start())))){let t=x(e.state.tr);S.type==`add`?t.addMark(y,b,S.mark):t.removeMark(y,b,S.mark),e.dispatch(t)}else if(h.parent.child(h.index()).isText&&h.index()==g.index()-+!g.textOffset){let t=h.parent.textBetween(h.parentOffset,g.parentOffset),n=()=>x(e.state.tr.insertText(t,y,b));e.someProp(`handleTextInput`,r=>r(e,y,b,t,n))||e.dispatch(n())}else e.dispatch(x())}else e.dispatch(x())}function KS(e,t,n){return Math.max(n.anchor,n.head)>t.content.size?null:Lb(e,t.resolve(n.anchor),t.resolve(n.head))}function qS(e,t){let n=e.firstChild.marks,r=t.firstChild.marks,i=n,a=r,o,s,c;for(let e=0;e<r.length;e++)i=r[e].removeFromSet(i);for(let e=0;e<n.length;e++)a=n[e].removeFromSet(a);if(i.length==1&&a.length==0)s=i[0],o=`add`,c=e=>e.mark(s.addToSet(e.marks));else if(i.length==0&&a.length==1)s=a[0],o=`remove`,c=e=>e.mark(s.removeFromSet(e.marks));else return null;let l=[];for(let e=0;e<t.childCount;e++)l.push(c(t.child(e)));if(G.from(l).eq(e))return{mark:s,type:o}}function JS(e,t,n,r,i){if(n-t<=i.pos-r.pos||XS(r,!0,!1)<i.pos)return!1;let a=e.resolve(t);if(!r.parent.isTextblock){let e=a.nodeAfter;return e!=null&&n==t+e.nodeSize}if(a.parentOffset<a.parent.content.size||!a.parent.isTextblock)return!1;let o=e.resolve(XS(a,!0,!0));return!o.parent.isTextblock||o.pos>n||XS(o,!0,!1)<n?!1:r.parent.content.cut(r.parentOffset).eq(o.parent.content)}function YS(e,t,n){let r=0,i=0;return e.nodesBetween(t,n,(e,a)=>{e.isTextblock&&a>=t&&a<n?r++:(e.isText?/\S/.test(e.text.slice(Math.max(0,t-a),Math.min(e.nodeSize,n-a))):e.isLeaf)&&i++}),i==0&&r==1}function XS(e,t,n){let r=e.depth,i=t?e.end():e.pos;for(;r>0&&(t||e.indexAfter(r)==e.node(r).childCount);)r--,i++,t=!1;if(n){let t=e.node(r).maybeChild(e.indexAfter(r));for(;t&&!t.isLeaf;)t=t.firstChild,i++}return i}function ZS(e,t,n,r,i){let a=e.findDiffStart(t,n),o=n+e.size,s=n+t.size;if(a==null)return null;let{a:c,b:l}=e.findDiffEnd(t,o,s);if(i==`end`){let e=Math.max(0,a-Math.min(c,l));r-=c+e-a}if(c<a&&o<s){let e=r<=a&&r>=c?a-r:0;a-=e,l=a+(l-c),c=a}else if(l<a){let e=r<=a&&r>=l?a-r:0;a-=e,c=a+(c-l),l=a}return{start:a,endA:c,endB:l}}var QS=class{constructor(e,t){this._root=null,this.focused=!1,this.trackWrites=null,this.mounted=!1,this.markCursor=null,this.cursorWrapper=null,this.lastSelectedViewDesc=void 0,this.input=new wx,this.prevDirectPlugins=[],this.pluginViews=[],this.requiresGeckoHackNode=!1,this.dragging=null,this._props=t,this.state=t.state,this.directPlugins=t.plugins||[],this.directPlugins.forEach(aC),this.dispatch=this.dispatch.bind(this),this.dom=e&&e.mount||document.createElement(`div`),e&&(e.appendChild?e.appendChild(this.dom):typeof e==`function`?e(this.dom):e.mount&&(this.mounted=!0)),this.editable=tC(this),eC(this),this.nodeViews=rC(this),this.docView=ob(this.state.doc,$S(this),AS(this),this.dom,this),this.domObserver=new PS(this,(e,t,n,r)=>GS(this,e,t,n,r)),this.domObserver.start(),Tx(this),this.updatePluginViews()}get composing(){return this.input.composing}get props(){if(this._props.state!=this.state){let e=this._props;this._props={};for(let t in e)this._props[t]=e[t];this._props.state=this.state}return this._props}update(e){e.handleDOMEvents!=this._props.handleDOMEvents&&Ox(this);let t=this._props;this._props=e,e.plugins&&(e.plugins.forEach(aC),this.directPlugins=e.plugins),this.updateStateInner(e.state,t)}setProps(e){let t={};for(let e in this._props)t[e]=this._props[e];t.state=this.state;for(let n in e)t[n]=e[n];this.update(t)}updateState(e){this.updateStateInner(e,this._props)}updateStateInner(e,t){let n=this.state,r=!1,i=!1;e.storedMarks&&this.composing&&(Qx(this),i=!0),this.state=e;let a=n.plugins!=e.plugins||this._props.plugins!=t.plugins;if(a||this._props.plugins!=t.plugins||this._props.nodeViews!=t.nodeViews){let e=rC(this);iC(e,this.nodeViews)&&(this.nodeViews=e,r=!0)}(a||t.handleDOMEvents!=this._props.handleDOMEvents)&&Ox(this),this.editable=tC(this),eC(this);let o=AS(this),s=$S(this),c=n.plugins!=e.plugins&&!n.doc.eq(e.doc)?`reset`:e.scrollToSelection>n.scrollToSelection?`to selection`:`preserve`,l=r||!this.docView.matchesNode(e.doc,s,o);(l||!e.selection.eq(n.selection))&&(i=!0);let u=c==`preserve`&&i&&this.dom.style.overflowAnchor==null&&Cy(this);if(i){this.domObserver.stop();let t=l&&(oy||uy)&&!this.composing&&!n.selection.empty&&!e.selection.empty&&nC(n.selection,e.selection);if(l){let n=uy?this.trackWrites=this.domSelectionRange().focusNode:null;this.composing&&(this.input.compositionNode=$x(this)),(r||!this.docView.update(e.doc,s,o,this))&&(this.docView.updateOuterDeco(s),this.docView.destroy(),this.docView=ob(e.doc,s,o,this.dom,this)),n&&(!this.trackWrites||!this.dom.contains(this.trackWrites))&&(t=!0)}let i=this.input.mouseDown;t||!(i&&this.domObserver.currentSelection.eq(this.domSelectionRange())&&Bb(this)&&i.delaySelUpdate())?Ob(this,t):(Fb(this,e.selection),this.domObserver.setCurSelection()),this.domObserver.start()}this.updatePluginViews(n),this.dragging?.node&&!n.doc.eq(e.doc)&&this.updateDraggedNode(this.dragging,n),c==`reset`?this.dom.scrollTop=0:c==`to selection`?this.scrollToSelection():u&&Ty(u)}scrollToSelection(){let e=this.domSelectionRange().focusNode;if(e&&Gv(this.dom,e)&&!this.someProp(`handleScrollToSelection`,e=>e(this))){if(this.state.selection instanceof X){let t=this.docView.domAfterPos(this.state.selection.from);Z(t)&&Sy(this,t.getBoundingClientRect(),e)}else Sy(this,this.coordsAtPos(this.state.selection.head,1),e)}}destroyPluginViews(){let e;for(;e=this.pluginViews.pop();)e.destroy&&e.destroy()}updatePluginViews(e){if(!e||e.plugins!=this.state.plugins||this.directPlugins!=this.prevDirectPlugins){this.prevDirectPlugins=this.directPlugins,this.destroyPluginViews();for(let e=0;e<this.directPlugins.length;e++){let t=this.directPlugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}for(let e=0;e<this.state.plugins.length;e++){let t=this.state.plugins[e];t.spec.view&&this.pluginViews.push(t.spec.view(this))}}else for(let t=0;t<this.pluginViews.length;t++){let n=this.pluginViews[t];n.update&&n.update(this,e)}}updateDraggedNode(e,t){let n=e.node,r=-1;if(n.from<this.state.doc.content.size&&this.state.doc.nodeAt(n.from)==n.node)r=n.from;else{let e=n.from+(this.state.doc.content.size-t.doc.content.size);(e>0&&e<this.state.doc.content.size&&this.state.doc.nodeAt(e))==n.node&&(r=e)}this.dragging=new sS(e.slice,e.move,r<0?void 0:X.create(this.state.doc,r))}someProp(e,t){let n=this._props&&this._props[e],r;if(n!=null&&(r=t?t(n):n))return r;for(let n=0;n<this.directPlugins.length;n++){let i=this.directPlugins[n].props[e];if(i!=null&&(r=t?t(i):i))return r}let i=this.state.plugins;if(i)for(let n=0;n<i.length;n++){let a=i[n].props[e];if(a!=null&&(r=t?t(a):a))return r}}hasFocus(){if(oy){let e=this.root.activeElement;if(e==this.dom)return!0;if(!e||!this.dom.contains(e))return!1;for(;e&&this.dom!=e&&this.dom.contains(e);){if(e.contentEditable==`false`)return!1;e=e.parentElement}return!0}return this.root.activeElement==this.dom}focus(){this.domObserver.stop(),this.editable&&Oy(this.dom),Ob(this),this.domObserver.start()}get root(){let e=this._root;if(e==null){for(let e=this.dom.parentNode;e;e=e.parentNode)if(e.nodeType==9||e.nodeType==11&&e.host)return e.getSelection||(Object.getPrototypeOf(e).getSelection=()=>e.ownerDocument.getSelection()),this._root=e}return e||document}updateRoot(){this._root=null}posAtCoords(e){return Iy(this,e)}coordsAtPos(e,t=1){return By(this,e,t)}domAtPos(e,t=0){return this.docView.domFromPos(e,t)}nodeDOM(e){let t=this.docView.descAt(e);return t?t.nodeDOM:null}posAtDOM(e,t,n=-1){let r=this.docView.posFromDOM(e,t,n);if(r==null)throw RangeError(`DOM position not inside the editor`);return r}endOfTextblock(e,t){return Xy(this,t||this.state,e)}pasteHTML(e,t){return aS(this,``,e,!1,t||new ClipboardEvent(`paste`))}pasteText(e,t){return aS(this,e,null,!0,t||new ClipboardEvent(`paste`))}serializeForClipboard(e){return ax(this,e)}destroy(){this.docView&&(Dx(this),this.destroyPluginViews(),this.mounted?(this.docView.update(this.state.doc,[],AS(this),this),this.dom.textContent=``):this.dom.parentNode&&this.dom.parentNode.removeChild(this.dom),this.docView.destroy(),this.docView=null,zv())}get isDestroyed(){return this.docView==null}dispatchEvent(e){return jx(this,e)}domSelectionRange(){let e=this.dom.isConnected!==!1&&this.domSelection();return e?fy&&this.root.nodeType===11&&Qv(this.dom.ownerDocument)==this.dom&&zS(this,e)||e:{focusNode:null,focusOffset:0,anchorNode:null,anchorOffset:0}}domSelection(){return this.root.getSelection()}};QS.prototype.dispatch=function(e){let t=this._props.dispatchTransaction;t?t.call(this,e):this.updateState(this.state.apply(e))};function $S(e){let t=Object.create(null);return t.class=`ProseMirror`,t.contenteditable=String(e.editable),e.someProp(`attributes`,n=>{if(typeof n==`function`&&(n=n(e.state)),n)for(let e in n)e==`class`?t.class+=` `+n[e]:e==`style`?t.style=(t.style?t.style+`;`:``)+n[e]:!t[e]&&e!=`contenteditable`&&e!=`nodeName`&&(t[e]=String(n[e]))}),t.translate||=`no`,[hS.node(0,e.state.doc.content.size,t)]}function eC(e){if(e.markCursor){let t=document.createElement(`img`);t.className=`ProseMirror-separator`,t.setAttribute(`mark-placeholder`,`true`),t.setAttribute(`alt`,``),e.cursorWrapper={dom:t,deco:hS.widget(e.state.selection.from,t,{raw:!0,marks:e.markCursor})}}else e.cursorWrapper=null}function tC(e){return!e.someProp(`editable`,t=>t(e.state)===!1)}function nC(e,t){let n=Math.min(e.$anchor.sharedDepth(e.head),t.$anchor.sharedDepth(t.head));return e.$anchor.start(n)!=t.$anchor.start(n)}function rC(e){let t=Object.create(null);function n(e){for(let n in e)Object.prototype.hasOwnProperty.call(t,n)||(t[n]=e[n])}return e.someProp(`nodeViews`,n),e.someProp(`markViews`,n),t}function iC(e,t){let n=0,r=0;for(let r in e){if(e[r]!=t[r])return!0;n++}for(let e in t)r++;return n!=r}function aC(e){if(e.spec.state||e.spec.filterTransaction||e.spec.appendTransaction)throw RangeError(`Plugins passed directly to the view must not have a state component`)}for(var oC={8:`Backspace`,9:`Tab`,10:`Enter`,12:`NumLock`,13:`Enter`,16:`Shift`,17:`Control`,18:`Alt`,20:`CapsLock`,27:`Escape`,32:` `,33:`PageUp`,34:`PageDown`,35:`End`,36:`Home`,37:`ArrowLeft`,38:`ArrowUp`,39:`ArrowRight`,40:`ArrowDown`,44:`PrintScreen`,45:`Insert`,46:`Delete`,59:`;`,61:`=`,91:`Meta`,92:`Meta`,106:`*`,107:`+`,108:`,`,109:`-`,110:`.`,111:`/`,144:`NumLock`,145:`ScrollLock`,160:`Shift`,161:`Shift`,162:`Control`,163:`Control`,164:`Alt`,165:`Alt`,173:`-`,186:`;`,187:`=`,188:`,`,189:`-`,190:`.`,191:`/`,192:"`",219:`[`,220:`\\`,221:`]`,222:`'`},sC={48:`)`,49:`!`,50:`@`,51:`#`,52:`$`,53:`%`,54:`^`,55:`&`,56:`*`,57:`(`,59:`:`,61:`+`,173:`_`,186:`:`,187:`+`,188:`<`,189:`_`,190:`>`,191:`?`,192:`~`,219:`{`,220:`|`,221:`}`,222:`"`},cC=typeof navigator<`u`&&/Mac/.test(navigator.platform),lC=typeof navigator<`u`&&/MSIE \d|Trident\/(?:[7-9]|\d{2,})\..*rv:(\d+)/.exec(navigator.userAgent),uC=0;uC<10;uC++)oC[48+uC]=oC[96+uC]=String(uC);for(var uC=1;uC<=24;uC++)oC[uC+111]=`F`+uC;for(var uC=65;uC<=90;uC++)oC[uC]=String.fromCharCode(uC+32),sC[uC]=String.fromCharCode(uC);for(var dC in oC)sC.hasOwnProperty(dC)||(sC[dC]=oC[dC]);function fC(e){var t=!(cC&&e.metaKey&&e.shiftKey&&!e.ctrlKey&&!e.altKey||lC&&e.shiftKey&&e.key&&e.key.length==1||e.key==`Unidentified`)&&e.key||(e.shiftKey?sC:oC)[e.keyCode]||e.key||`Unidentified`;return t==`Esc`&&(t=`Escape`),t==`Del`&&(t=`Delete`),t==`Left`&&(t=`ArrowLeft`),t==`Up`&&(t=`ArrowUp`),t==`Right`&&(t=`ArrowRight`),t==`Down`&&(t=`ArrowDown`),t}var pC=typeof navigator<`u`&&/Mac|iP(hone|[oa]d)/.test(navigator.platform),mC=typeof navigator<`u`&&/Win/.test(navigator.platform);function hC(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n==`Space`&&(n=` `);let r,i,a,o;for(let e=0;e<t.length-1;e++){let n=t[e];if(/^(cmd|meta|m)$/i.test(n))o=!0;else if(/^a(lt)?$/i.test(n))r=!0;else if(/^(c|ctrl|control)$/i.test(n))i=!0;else if(/^s(hift)?$/i.test(n))a=!0;else if(/^mod$/i.test(n))pC?o=!0:i=!0;else throw Error(`Unrecognized modifier name: `+n)}return r&&(n=`Alt-`+n),i&&(n=`Ctrl-`+n),o&&(n=`Meta-`+n),a&&(n=`Shift-`+n),n}function gC(e){let t=Object.create(null);for(let n in e)t[hC(n)]=e[n];return t}function _C(e,t,n=!0){return t.altKey&&(e=`Alt-`+e),t.ctrlKey&&(e=`Ctrl-`+e),t.metaKey&&(e=`Meta-`+e),n&&t.shiftKey&&(e=`Shift-`+e),e}function vC(e){return new V_({props:{handleKeyDown:yC(e)}})}function yC(e){let t=gC(e);return function(e,n){let r=fC(n),i,a=t[_C(r,n)];if(a&&a(e.state,e.dispatch,e))return!0;if(r.length==1&&r!=` `){if(n.shiftKey){let i=t[_C(r,n,!1)];if(i&&i(e.state,e.dispatch,e))return!0}if((n.altKey||n.metaKey||n.ctrlKey)&&!(mC&&n.ctrlKey&&n.altKey)&&(i=oC[n.keyCode])&&i!=r){let r=t[_C(i,n)];if(r&&r(e.state,e.dispatch,e))return!0}}return!1}}var bC=200,xC=function(){};xC.prototype.append=function(e){return e.length?(e=xC.from(e),!this.length&&e||e.length<bC&&this.leafAppend(e)||this.length<bC&&e.leafPrepend(this)||this.appendInner(e)):this},xC.prototype.prepend=function(e){return e.length?xC.from(e).append(this):this},xC.prototype.appendInner=function(e){return new CC(this,e)},xC.prototype.slice=function(e,t){return e===void 0&&(e=0),t===void 0&&(t=this.length),e>=t?xC.empty:this.sliceInner(Math.max(0,e),Math.min(this.length,t))},xC.prototype.get=function(e){if(!(e<0||e>=this.length))return this.getInner(e)},xC.prototype.forEach=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length),t<=n?this.forEachInner(e,t,n,0):this.forEachInvertedInner(e,t,n,0)},xC.prototype.map=function(e,t,n){t===void 0&&(t=0),n===void 0&&(n=this.length);var r=[];return this.forEach(function(t,n){return r.push(e(t,n))},t,n),r},xC.from=function(e){return e instanceof xC?e:e&&e.length?new SC(e):xC.empty};var SC=function(e){function t(t){e.call(this),this.values=t}e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t;var n={length:{configurable:!0},depth:{configurable:!0}};return t.prototype.flatten=function(){return this.values},t.prototype.sliceInner=function(e,n){return e==0&&n==this.length?this:new t(this.values.slice(e,n))},t.prototype.getInner=function(e){return this.values[e]},t.prototype.forEachInner=function(e,t,n,r){for(var i=t;i<n;i++)if(e(this.values[i],r+i)===!1)return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){for(var i=t-1;i>=n;i--)if(e(this.values[i],r+i)===!1)return!1},t.prototype.leafAppend=function(e){if(this.length+e.length<=bC)return new t(this.values.concat(e.flatten()))},t.prototype.leafPrepend=function(e){if(this.length+e.length<=bC)return new t(e.flatten().concat(this.values))},n.length.get=function(){return this.values.length},n.depth.get=function(){return 0},Object.defineProperties(t.prototype,n),t}(xC);xC.empty=new SC([]);var CC=function(e){function t(t,n){e.call(this),this.left=t,this.right=n,this.length=t.length+n.length,this.depth=Math.max(t.depth,n.depth)+1}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.flatten=function(){return this.left.flatten().concat(this.right.flatten())},t.prototype.getInner=function(e){return e<this.left.length?this.left.get(e):this.right.get(e-this.left.length)},t.prototype.forEachInner=function(e,t,n,r){var i=this.left.length;if(t<i&&this.left.forEachInner(e,t,Math.min(n,i),r)===!1||n>i&&this.right.forEachInner(e,Math.max(t-i,0),Math.min(this.length,n)-i,r+i)===!1)return!1},t.prototype.forEachInvertedInner=function(e,t,n,r){var i=this.left.length;if(t>i&&this.right.forEachInvertedInner(e,t-i,Math.max(n,i)-i,r+i)===!1||n<i&&this.left.forEachInvertedInner(e,Math.min(t,i),n,r)===!1)return!1},t.prototype.sliceInner=function(e,t){if(e==0&&t==this.length)return this;var n=this.left.length;return t<=n?this.left.slice(e,t):e>=n?this.right.slice(e-n,t-n):this.left.slice(e,n).append(this.right.slice(0,t-n))},t.prototype.leafAppend=function(e){var n=this.right.leafAppend(e);if(n)return new t(this.left,n)},t.prototype.leafPrepend=function(e){var n=this.left.leafPrepend(e);if(n)return new t(n,this.right)},t.prototype.appendInner=function(e){return this.left.depth>=Math.max(this.right.depth,e.depth)+1?new t(this.left,new t(this.right,e)):new t(this,e)},t}(xC),wC=500,TC=class e{constructor(e,t){this.items=e,this.eventCount=t}popEvent(t,n){if(this.eventCount==0)return null;let r=this.items.length;for(;;r--)if(this.items.get(r-1).selection){--r;break}let i,a;n&&(i=this.remapping(r,this.items.length),a=i.maps.length);let o=t.tr,s,c,l=[],u=[];return this.items.forEach((t,n)=>{if(!t.step)i||(i=this.remapping(r,n+1),a=i.maps.length),a--,u.push(t);else{if(i){u.push(new DC(t.map));let e=t.step.map(i.slice(a)),n;e&&o.maybeStep(e).doc&&(n=o.mapping.maps[o.mapping.maps.length-1],l.push(new DC(n,void 0,void 0,l.length+u.length))),a--,n&&i.appendMap(n,a)}else o.maybeStep(t.step);if(t.selection)return s=i?t.selection.map(i.slice(a)):t.selection,c=new e(this.items.slice(0,r).append(u.reverse().concat(l)),this.eventCount-1),!1}},this.items.length,0),{remaining:c,transform:o,selection:s}}addTransform(t,n,r,i){let a=[],o=this.eventCount,s=this.items,c=!i&&s.length?s.get(s.length-1):null;for(let e=0;e<t.steps.length;e++){let r=t.steps[e].invert(t.docs[e]),l=new DC(t.mapping.maps[e],r,n),u;(u=c&&c.merge(l))&&(l=u,e?a.pop():s=s.slice(0,s.length-1)),a.push(l),n&&=(o++,void 0),i||(c=l)}let l=o-r.depth;return l>kC&&(s=EC(s,l),o-=l),new e(s.append(a),o)}remapping(e,t){let n=new vg;return this.items.forEach((t,r)=>{let i=t.mirrorOffset!=null&&r-t.mirrorOffset>=e?n.maps.length-t.mirrorOffset:void 0;n.appendMap(t.map,i)},e,t),n}addMaps(t){return this.eventCount==0?this:new e(this.items.append(t.map(e=>new DC(e))),this.eventCount)}rebased(t,n){if(!this.eventCount)return this;n=Math.min(this.items.length,n);let r=[],i=this.items.length-n,a=t.mapping,o=t.steps.length,s=this.eventCount;this.items.forEach(e=>{e.selection&&s--},i);let c=n;this.items.forEach(e=>{let n=a.getMirror(--c);if(n==null)return;o=Math.min(o,n);let i=a.maps[n];if(e.step){let o=t.steps[n].invert(t.docs[n]),l=e.selection&&e.selection.map(a.slice(c+1,n));l&&s++,r.push(new DC(i,o,l))}else r.push(new DC(i))},i);let l=[];for(let e=n;e<o;e++)l.push(new DC(a.maps[e]));let u=this.items.slice(0,i).append(l).append(r),d=new e(u,s);return d.emptyItemCount()>wC&&(d=d.compress(this.items.length-r.length)),d}emptyItemCount(){let e=0;return this.items.forEach(t=>{t.step||e++}),e}compress(t=this.items.length){let n=this.remapping(0,t),r=n.maps.length,i=[],a=0;return this.items.forEach((e,o)=>{if(o>=t)i.push(e),e.selection&&a++;else if(e.step){let t=e.step.map(n.slice(r)),o=t&&t.getMap();if(r--,o&&n.appendMap(o,r),t){let s=e.selection&&e.selection.map(n.slice(r));s&&a++;let c=new DC(o.invert(),t,s),l,u=i.length-1;(l=i.length&&i[u].merge(c))?i[u]=l:i.push(c)}}else e.map&&r--},this.items.length,0),new e(xC.from(i.reverse()),a)}};TC.empty=new TC(xC.empty,0);function EC(e,t){let n;return e.forEach((e,r)=>{if(e.selection&&t--==0)return n=r,!1}),e.slice(n)}var DC=class e{constructor(e,t,n,r){this.map=e,this.step=t,this.selection=n,this.mirrorOffset=r}merge(t){if(this.step&&t.step&&!t.selection){let n=t.step.merge(this.step);if(n)return new e(n.getMap().invert(),n,this.selection)}}},OC=class{constructor(e,t,n,r,i){this.done=e,this.undone=t,this.prevRanges=n,this.prevTime=r,this.prevComposition=i}},kC=20;function AC(e,t,n,r){let i=n.getMeta(zC),a;if(i)return i.historyState;n.getMeta(BC)&&(e=new OC(e.done,e.undone,null,0,-1));let o=n.getMeta(`appendedTransaction`);if(n.steps.length==0)return e;if(o&&o.getMeta(zC))return o.getMeta(zC).redo?new OC(e.done.addTransform(n,void 0,r,LC(t)),e.undone,MC(n.mapping.maps),e.prevTime,e.prevComposition):new OC(e.done,e.undone.addTransform(n,void 0,r,LC(t)),null,e.prevTime,e.prevComposition);if(n.getMeta(`addToHistory`)!==!1&&!(o&&o.getMeta(`addToHistory`)===!1)){let i=n.getMeta(`composition`),a=e.prevTime==0||!o&&e.prevComposition!=i&&(e.prevTime<(n.time||0)-r.newGroupDelay||!jC(n,e.prevRanges)),s=o?NC(e.prevRanges,n.mapping):MC(n.mapping.maps);return new OC(e.done.addTransform(n,a?t.selection.getBookmark():void 0,r,LC(t)),TC.empty,s,n.time,i??e.prevComposition)}return(a=n.getMeta(`rebased`))?new OC(e.done.rebased(n,a),e.undone.rebased(n,a),NC(e.prevRanges,n.mapping),e.prevTime,e.prevComposition):new OC(e.done.addMaps(n.mapping.maps),e.undone.addMaps(n.mapping.maps),NC(e.prevRanges,n.mapping),e.prevTime,e.prevComposition)}function jC(e,t){if(!t)return!1;if(!e.docChanged)return!0;let n=!1;return e.mapping.maps[0].forEach((e,r)=>{for(let i=0;i<t.length;i+=2)e<=t[i+1]&&r>=t[i]&&(n=!0)}),n}function MC(e){let t=[];for(let n=e.length-1;n>=0&&t.length==0;n--)e[n].forEach((e,n,r,i)=>t.push(r,i));return t}function NC(e,t){if(!e)return null;let n=[];for(let r=0;r<e.length;r+=2){let i=t.map(e[r],1),a=t.map(e[r+1],-1);i<=a&&n.push(i,a)}return n}function PC(e,t,n){let r=LC(t),i=zC.get(t).spec.config,a=(n?e.undone:e.done).popEvent(t,r);if(!a)return null;let o=a.selection.resolve(a.transform.doc),s=(n?e.done:e.undone).addTransform(a.transform,t.selection.getBookmark(),i,r),c=new OC(n?s:a.remaining,n?a.remaining:s,null,0,-1);return a.transform.setSelection(o).setMeta(zC,{redo:n,historyState:c})}var FC=!1,IC=null;function LC(e){let t=e.plugins;if(IC!=t){FC=!1,IC=t;for(let e=0;e<t.length;e++)if(t[e].spec.historyPreserveItems){FC=!0;break}}return FC}function RC(e){return e.setMeta(BC,!0)}var zC=new W_(`history`),BC=new W_(`closeHistory`);function VC(e={}){return e={depth:e.depth||100,newGroupDelay:e.newGroupDelay||500},new V_({key:zC,state:{init(){return new OC(TC.empty,TC.empty,null,0,-1)},apply(t,n,r){return AC(n,r,t,e)}},config:e,props:{handleDOMEvents:{beforeinput(e,t){let n=t.inputType,r=n==`historyUndo`?UC:n==`historyRedo`?WC:null;return!r||!e.editable?!1:(t.preventDefault(),r(e.state,e.dispatch))}}}})}function HC(e,t){return(n,r)=>{let i=zC.getState(n);if(!i||(e?i.undone:i.done).eventCount==0)return!1;if(r){let a=PC(i,n,e);a&&r(t?a.scrollIntoView():a)}return!0}}var UC=HC(!1,!0),WC=HC(!0,!0);function GC(e){return e.getMeta(zC)!=null}function KC(e){let{state:t,transaction:n}=e,{selection:r}=n,{doc:i}=n,{storedMarks:a}=n;return{...t,apply:t.apply.bind(t),applyTransaction:t.applyTransaction.bind(t),plugins:t.plugins,schema:t.schema,reconfigure:t.reconfigure.bind(t),toJSON:t.toJSON.bind(t),get storedMarks(){return a},get selection(){return r},get doc(){return i},get tr(){return r=n.selection,i=n.doc,a=n.storedMarks,n}}}var qC=class e{constructor(e){this.editor=e.editor,this.rawCommands=this.editor.extensionManager.commands,this.customState=e.state}get hasCustomState(){return!!this.customState}get state(){return this.customState||this.editor.state}get commands(){let{rawCommands:e,editor:t,state:n}=this,{view:r}=t,{tr:i}=n,a=this.buildProps(i);return Object.fromEntries(Object.entries(e).map(([e,t])=>[e,(...e)=>{let n=t(...e)(a);return!i.getMeta(`preventDispatch`)&&!this.hasCustomState&&r.dispatch(i),n}]))}get chain(){return()=>this.createChain()}get can(){return()=>this.createCan()}createChain(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o=[],s=!!e,c=e||i.tr,l=()=>(!s&&t&&!c.getMeta(`preventDispatch`)&&!this.hasCustomState&&a.dispatch(c),o.every(e=>e===!0)),u={...Object.fromEntries(Object.entries(n).map(([e,n])=>[e,(...e)=>{let r=this.buildProps(c,t),i=n(...e)(r);return o.push(i),u}])),run:l};return u}static createFakeChain(){let e=new Proxy({},{get:(t,n)=>{if(n!==`then`)return n===`run`?()=>!1:()=>e}});return e}createCan(e){let{rawCommands:t,state:n}=this,r=e||n.tr,i=this.buildProps(r,!1);return{...Object.fromEntries(Object.entries(t).map(([e,t])=>[e,(...e)=>t(...e)({...i,dispatch:void 0})])),chain:()=>this.createChain(r,!1)}}static createFallbackCan(){let t=e.createFakeChain();return new Proxy({chain:()=>t},{get:(e,t)=>{if(t!==`then`)return t===`chain`?e.chain:()=>!1}})}buildProps(e,t=!0){let{rawCommands:n,editor:r,state:i}=this,{view:a}=r,o={tr:e,editor:r,view:a,state:KC({state:i,transaction:e}),dispatch:t?()=>void 0:void 0,chain:()=>this.createChain(e,t),can:()=>this.createCan(e),get commands(){return Object.fromEntries(Object.entries(n).map(([e,t])=>[e,(...e)=>t(...e)(o)]))}};return o}},JC=()=>({editor:e,view:t})=>(requestAnimationFrame(()=>{if(!e.isDestroyed){var n;t.dom.blur(),(n=window)==null||(n=n.getSelection())==null||n.removeAllRanges()}}),!0),YC=(e=!0)=>({commands:t})=>t.setContent(``,{emitUpdate:e}),XC=()=>({state:e,tr:t,dispatch:n})=>{let{selection:r}=t,{ranges:i}=r;return n&&i.forEach(({$from:n,$to:r})=>{e.doc.nodesBetween(n.pos,r.pos,(e,n)=>{if(e.type.isText)return;let{doc:r,mapping:i}=t,a=r.resolve(i.map(n)),o=r.resolve(i.map(n+e.nodeSize)),s=a.blockRange(o);if(!s)return;let c=Pg(s);if(e.type.isTextblock){let{defaultType:e}=a.parent.contentMatchAt(a.index());t.setNodeMarkup(s.start,e)}(c||c===0)&&t.lift(s,c)})}),!0},ZC=e=>t=>e(t),QC=()=>({state:e,dispatch:t})=>uv(e,t),$C=(e,t)=>({editor:n,tr:r})=>{let{state:i}=n,a=i.doc.slice(e.from,e.to);r.deleteRange(e.from,e.to);let o=r.mapping.map(t);return r.insert(o,a.content),r.setSelection(new Y(r.doc.resolve(Math.max(o-1,0)))),!0},ew=()=>({tr:e,dispatch:t})=>{let{selection:n}=e,r=n.$anchor.node();if(r.content.size>0)return!1;let i=e.selection.$anchor;for(let n=i.depth;n>0;--n)if(i.node(n).type===r.type){if(t){let t=i.before(n),r=i.after(n);e.delete(t,r).scrollIntoView()}return!0}return!1};function tw(e,t){if(typeof e==`string`){if(!t.nodes[e])throw Error(`There is no node type named '${e}'. Maybe you forgot to add the extension?`);return t.nodes[e]}return e}var nw=e=>({tr:t,state:n,dispatch:r})=>{let i=tw(e,n.schema),a=t.selection.$anchor;for(let e=a.depth;e>0;--e)if(a.node(e).type===i){if(r){let n=a.before(e),r=a.after(e);t.delete(n,r).scrollIntoView()}return!0}return!1},rw=e=>({tr:t,dispatch:n})=>{let{from:r,to:i}=e;return n&&t.delete(r,i),!0},iw=e=>e.content?/^text(\*|\+)/.test(e.content):!1,aw=(e,t,n)=>{if(!e.parent.isInline||n===`left`&&e.pos>e.start()||n===`right`&&e.pos<e.end())return e.pos;let r=t.nodes[e.parent.type.name].spec;return iw(r)?n===`left`?e.start()-1:e.end()+1:e.pos},ow=(e,t,n)=>({from:aw(e,n,`left`),to:aw(t,n,`right`)}),sw=()=>({state:e,dispatch:t})=>{if(e.selection.empty)return!1;if(t){let n=e.tr,{ranges:r}=e.selection,i=n.steps.length;r.forEach(t=>{let r=n.mapping.slice(i),{from:a,to:o}=ow(n.doc.resolve(r.map(t.$from.pos)),n.doc.resolve(r.map(t.$to.pos)),e.schema);n.deleteRange(a,o)}),n.selection.empty||n.setSelection(Y.near(n.doc.resolve(n.selection.from))),n.scrollIntoView(),t(n)}return!0},cw=()=>({commands:e})=>e.keyboardShortcut(`Enter`),lw=()=>({state:e,dispatch:t})=>lv(e,t);function uw(e){return Object.prototype.toString.call(e)===`[object RegExp]`}function dw(e,t,n={strict:!0}){let r=Object.keys(t);return!r.length||r.every(r=>n.strict?t[r]===e[r]:uw(t[r])?t[r].test(e[r]):t[r]===e[r])}function fw(e,t,n={}){return e.find(e=>e.type===t&&dw(Object.fromEntries(Object.keys(n).map(t=>[t,e.attrs[t]])),n))}function pw(e,t,n={}){return!!fw(e,t,n)}function mw(e,t,n){if(!e||!t)return;let r=e.parent.childAfter(e.parentOffset);if((!r.node||!r.node.marks.some(e=>e.type===t))&&(r=e.parent.childBefore(e.parentOffset)),!r.node||!r.node.marks.some(e=>e.type===t))return;if(!n){let e=r.node.marks.find(e=>e.type===t);e&&(n=e.attrs)}if(!fw([...r.node.marks],t,n))return;let i=r.index,a=e.start()+r.offset,o=i+1,s=a+r.node.nodeSize;for(;i>0&&pw([...e.parent.child(i-1).marks],t,n);)--i,a-=e.parent.child(i).nodeSize;for(;o<e.parent.childCount&&pw([...e.parent.child(o).marks],t,n);)s+=e.parent.child(o).nodeSize,o+=1;return{from:a,to:s}}function hw(e,t){if(typeof e==`string`){if(!t.marks[e])throw Error(`There is no mark type named '${e}'. Maybe you forgot to add the extension?`);return t.marks[e]}return e}var gw=(e,t)=>({tr:n,state:r,dispatch:i})=>{let a=hw(e,r.schema),{doc:o,selection:s}=n,{$from:c,from:l,to:u}=s;if(i){let e=mw(c,a,t);if(e&&e.from<=l&&e.to>=u){let t=Y.create(o,e.from,e.to);n.setSelection(t)}}return!0},_w=e=>t=>{let n=typeof e==`function`?e(t):e;for(let e=0;e<n.length;e+=1)if(n[e](t))return!0;return!1};function vw(e){return e instanceof Y}function yw(e=0,t=0,n=0){return Math.min(Math.max(e,t),n)}function bw(e,t=null){if(!t)return null;let n=J.atStart(e),r=J.atEnd(e);if(t===`start`||t===!0)return n;if(t===`end`)return r;let i=n.from,a=r.to;return t===`all`?Y.create(e,yw(0,i,a),yw(e.content.size,i,a)):Y.create(e,yw(t,i,a),yw(t,i,a))}function xw(){return[`Android`].includes(navigator.platform)||/android/i.test(navigator.userAgent)}function Sw(){return[`iPad Simulator`,`iPhone Simulator`,`iPod Simulator`,`iPad`,`iPhone`,`iPod`].includes(navigator.platform)||navigator.userAgent.includes(`Mac`)&&`ontouchend`in document}function Cw(){return typeof navigator<`u`&&/^((?!chrome|android).)*safari/i.test(navigator.userAgent)}var ww=(e=null,t={})=>({editor:n,view:r,tr:i,dispatch:a})=>{t={scrollIntoView:!0,...t};let o=()=>{(Sw()||xw())&&r.dom.focus(),Cw()&&!Sw()&&!xw()&&r.dom.focus({preventScroll:!0}),requestAnimationFrame(()=>{n.isDestroyed||(r.focus(),t?.scrollIntoView&&n.commands.scrollIntoView())})};try{if(r.hasFocus()&&e===null||e===!1)return!0}catch{return!1}if(a&&e===null&&!vw(n.state.selection))return o(),!0;let s=bw(i.doc,e)||n.state.selection,c=n.state.selection.eq(s);return a&&(c||i.setSelection(s),c&&i.storedMarks&&i.setStoredMarks(i.storedMarks),o()),!0},Tw=(e,t)=>n=>e.every((e,r)=>t(e,{...n,index:r})),Ew=(e,t)=>({tr:n,commands:r})=>r.insertContentAt({from:n.selection.from,to:n.selection.to},e,t),Dw=e=>{let t=e.childNodes;for(let n=t.length-1;n>=0;--n){let r=t[n];r.nodeType===3&&r.nodeValue&&/^(\n\s\s|\n)$/.test(r.nodeValue)?e.removeChild(r):r.nodeType===1&&Dw(r)}return e};function Ow(e){if(typeof window>`u`)throw Error(`[tiptap error]: there is no window object available, so this function cannot be used`);let t=`<body>${e}</body>`,n=new window.DOMParser().parseFromString(t,`text/html`).body;return Dw(n)}function kw(e){return typeof e?.nodesBetween==`function`}function Aw(e,t,n){if(kw(e))return e;let r=typeof e==`object`&&!!e;n={slice:!0,parseOptions:{},...n};let i=typeof e==`string`;if(r)try{if(Array.isArray(e)&&e.length>0)return G.fromArray(e.map(e=>t.nodeFromJSON(e)));let r=t.nodeFromJSON(e);return n.errorOnInvalidContent&&r.check(),r}catch(r){if(n.errorOnInvalidContent)throw Error(`[tiptap error]: Invalid JSON content`,{cause:r});return console.warn(`[tiptap warn]: Invalid content.`,`Passed value:`,e,`Error:`,r),Aw(``,t,n)}if(i){if(n.errorOnInvalidContent){let r=!1,i=``,a=new Ih({topNode:t.spec.topNode,marks:t.spec.marks,nodes:t.spec.nodes.append({__tiptap__private__unknown__catch__all__node:{content:`inline*`,group:`block`,parseDOM:[{tag:`*`,getAttrs:e=>(r=!0,i=typeof e==`string`?e:e.outerHTML,null)}]}})});if(n.slice?Bh.fromSchema(a).parseSlice(Ow(e),n.parseOptions):Bh.fromSchema(a).parse(Ow(e),n.parseOptions),n.errorOnInvalidContent&&r)throw Error(`[tiptap error]: Invalid HTML content`,{cause:Error(`Invalid element found: ${i}`)})}let r=Bh.fromSchema(t);return n.slice?r.parseSlice(Ow(e),n.parseOptions).content:r.parse(Ow(e),n.parseOptions)}return Aw(``,t,n)}function jw(e){return!(`type`in e)}function Mw(e,t,n){let r=e.steps.length-1;if(r<t)return;let i=e.steps[r];if(!(i instanceof Dg||i instanceof Og))return;let a=e.mapping.maps[r],o=0;a.forEach((e,t,n,r)=>{o===0&&(o=r)}),e.setSelection(J.near(e.doc.resolve(o),n))}var Nw=(e,t,n)=>({tr:r,dispatch:i,editor:a})=>{if(i){n={parseOptions:a.options.parseOptions,updateSelection:!0,applyInputRules:!1,applyPasteRules:!1,...n};let i,o=e=>{a.emit(`contentError`,{editor:a,error:e,disableCollaboration:()=>{`collaboration`in a.storage&&typeof a.storage.collaboration==`object`&&a.storage.collaboration&&(a.storage.collaboration.isDisabled=!0)}})},s={preserveWhitespace:`full`,...n.parseOptions};if(!n.errorOnInvalidContent&&!a.options.enableContentCheck&&a.options.emitContentError)try{Aw(t,a.schema,{parseOptions:s,errorOnInvalidContent:!0})}catch(e){o(e)}try{i=Aw(t,a.schema,{parseOptions:s,errorOnInvalidContent:n.errorOnInvalidContent??a.options.enableContentCheck})}catch(e){return o(e),!1}let{from:c,to:l}=typeof e==`number`?{from:e,to:e}:{from:e.from,to:e.to},u=!0,d=!0,f=jw(i)?i.content:[i];if(f.forEach(e=>{e.check(),u=u?e.isText&&e.marks.length===0:!1,d=d?e.isBlock:!1}),c===l&&d){let{parent:e}=r.doc.resolve(c);e.isTextblock&&!e.type.spec.code&&!e.childCount&&(--c,l+=1)}let p;if(u)p=Array.isArray(t)?t.map(e=>e.text||``).join(``):kw(t)?f.map(e=>e.text??``).join(``):typeof t==`object`&&t&&t.text?t.text:t,r.insertText(p,c,l);else{p=G.from(f);let e=r.doc.resolve(c),t=e.node(),n=e.parentOffset===0,i=t.isText||t.isTextblock,a=t.content.size>0;n&&i&&a&&d&&(c=Math.max(0,c-1)),r.replaceWith(c,l,f)}n.updateSelection&&Mw(r,r.steps.length-1,-1),n.applyInputRules&&r.setMeta(`applyInputRules`,{from:c,text:p}),n.applyPasteRules&&r.setMeta(`applyPasteRules`,{from:c,text:p})}return!0};function Pw(e){for(let t=0;t<e.edgeCount;t+=1){let{type:n}=e.edge(t);if(n.isTextblock&&!n.hasRequiredAttrs())return n}return null}var Fw=(e={})=>({tr:t,dispatch:n,editor:r})=>{let{pos:i,attrs:a,content:o,updateSelection:s=!0}=e,c;c=typeof i==`number`?t.doc.resolve(i):i||t.selection.$from;let l=Pw(c.parent.contentMatchAt(c.index()));if(!l)return!1;let u=Object.keys(l.spec.attrs||{}),d=a?Object.fromEntries(Object.entries(a).filter(([e])=>u.includes(e))):{},f;if(o){let e=Aw(o,r.schema);f=l.createAndFill(d,e)}else f=l.createAndFill(d);return f?(n&&(t.insert(c.pos,f),s&&Mw(t,t.steps.length-1,-1)),!0):!1},Iw=()=>({state:e,dispatch:t})=>iv(e,t),Lw=()=>({state:e,dispatch:t})=>av(e,t),Rw=()=>({state:e,dispatch:t})=>q_(e,t),zw=()=>({state:e,dispatch:t})=>tv(e,t),Bw=(e,t)=>{let n=e.resolve(t),r=n.nodeBefore,i=n.nodeAfter;return!r||!i?!1:!r.type.spec.isolating&&!i.type.spec.isolating},Vw=()=>({state:e,dispatch:t,tr:n})=>{try{let r=Zg(e.doc,e.selection.$from.pos,-1);return r==null||!Bw(e.doc,r)?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},Hw=()=>({state:e,dispatch:t,tr:n})=>{try{let r=Zg(e.doc,e.selection.$from.pos,1);return r==null||!Bw(e.doc,r)?!1:(n.join(r,2),t&&t(n),!0)}catch{return!1}},Uw=()=>({state:e,dispatch:t})=>J_(e,t),Ww=()=>({state:e,dispatch:t})=>Y_(e,t);function Gw(){return typeof navigator<`u`&&/Mac/.test(navigator.platform)}function Kw(e){let t=e.split(/-(?!$)/),n=t[t.length-1];n===`Space`&&(n=` `);let r,i,a,o;for(let e=0;e<t.length-1;e+=1){let n=t[e];if(/^(cmd|meta|m)$/i.test(n))o=!0;else if(/^a(lt)?$/i.test(n))r=!0;else if(/^(c|ctrl|control)$/i.test(n))i=!0;else if(/^s(hift)?$/i.test(n))a=!0;else if(/^mod$/i.test(n))Sw()||Gw()?o=!0:i=!0;else throw Error(`Unrecognized modifier name: ${n}`)}return r&&(n=`Alt-${n}`),i&&(n=`Ctrl-${n}`),o&&(n=`Meta-${n}`),a&&(n=`Shift-${n}`),n}var qw=e=>({editor:t,view:n,tr:r,dispatch:i})=>{let a=Kw(e).split(/-(?!$)/),o=a.find(e=>![`Alt`,`Ctrl`,`Meta`,`Shift`].includes(e)),s=new KeyboardEvent(`keydown`,{key:o===`Space`?` `:o,altKey:a.includes(`Alt`),ctrlKey:a.includes(`Ctrl`),metaKey:a.includes(`Meta`),shiftKey:a.includes(`Shift`),bubbles:!0,cancelable:!0});return t.captureTransaction(()=>{n.someProp(`handleKeyDown`,e=>e(n,s))})?.steps.forEach(e=>{let t=e.map(r.mapping);t&&i&&r.maybeStep(t)}),!0};function Jw(e,t,n={}){let{from:r,to:i,empty:a}=e.selection,o=t?tw(t,e.schema):null,s=[];e.doc.nodesBetween(r,i,(e,t)=>{if(e.isText)return;let n=Math.max(r,t),a=Math.min(i,t+e.nodeSize);s.push({node:e,from:n,to:a})});let c=i-r,l=s.filter(e=>!o||o.name===e.node.type.name).filter(e=>dw(e.node.attrs,n,{strict:!1}));return a?!!l.length:l.reduce((e,t)=>e+t.to-t.from,0)>=c}var Yw=(e,t={})=>({state:n,dispatch:r})=>Jw(n,tw(e,n.schema),t)?ov(n,r):!1,Xw=()=>({state:e,dispatch:t})=>dv(e,t),Zw=e=>({state:t,dispatch:n})=>jv(tw(e,t.schema))(t,n),Qw=()=>({state:e,dispatch:t})=>sv(e,t);function $w(e,t){return t.nodes[e]?`node`:t.marks[e]?`mark`:null}function eT(e,t){let n=typeof t==`string`?[t]:t;return Object.keys(e).reduce((t,r)=>(n.includes(r)||(t[r]=e[r]),t),{})}var tT=(e,t)=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null,s=$w(typeof e==`string`?e:e.name,r.schema);if(!s)return!1;s===`node`&&(a=tw(e,r.schema)),s===`mark`&&(o=hw(e,r.schema));let c=!1;return n.selection.ranges.forEach(e=>{r.doc.nodesBetween(e.$from.pos,e.$to.pos,(e,r)=>{a&&a===e.type&&(c=!0,i&&n.setNodeMarkup(r,void 0,eT(e.attrs,t))),o&&e.marks.length&&e.marks.forEach(a=>{o===a.type&&(c=!0,i&&n.addMark(r,r+e.nodeSize,o.create(eT(a.attrs,t))))})})}),c},nT=()=>({tr:e,dispatch:t})=>(t&&e.scrollIntoView(),!0),rT=()=>({tr:e,dispatch:t})=>{if(t){let t=new D_(e.doc);e.setSelection(t)}return!0},iT=()=>({state:e,dispatch:t})=>Q_(e,t),aT=()=>({state:e,dispatch:t})=>nv(e,t),oT=()=>({state:e,dispatch:t})=>mv(e,t),sT=()=>({state:e,dispatch:t})=>bv(e,t),cT=()=>({state:e,dispatch:t})=>yv(e,t);function lT(e,t,n={},r={}){return Aw(e,t,{slice:!1,parseOptions:n,errorOnInvalidContent:r.errorOnInvalidContent})}var uT=(e,{errorOnInvalidContent:t,emitUpdate:n=!0,parseOptions:r={}}={})=>({editor:i,tr:a,dispatch:o,commands:s})=>{let{doc:c}=a;if(r.preserveWhitespace!==`full`){let s=lT(e,i.schema,r,{errorOnInvalidContent:t??i.options.enableContentCheck});if(o){let e=jw(s)?s.content:[s];a.replaceWith(0,c.content.size,e).setMeta(`preventUpdate`,!n)}return!0}return o&&a.setMeta(`preventUpdate`,!n),s.insertContentAt({from:0,to:c.content.size},e,{parseOptions:r,errorOnInvalidContent:t??i.options.enableContentCheck})};function dT(e,t){let n=hw(t,e.schema),{from:r,to:i,empty:a}=e.selection,o=[];a?(e.storedMarks&&o.push(...e.storedMarks),o.push(...e.selection.$head.marks())):e.doc.nodesBetween(r,i,e=>{o.push(...e.marks)});let s=o.find(e=>e.type.name===n.name);return s?{...s.attrs}:{}}function fT(e,t){let n=new b_(e);return t.forEach(e=>{e.steps.forEach(e=>{n.step(e)})}),n}function pT(e,t,n){let r=[];return e.nodesBetween(t.from,t.to,(e,t)=>{n(e)&&r.push({node:e,pos:t})}),r}function mT(e,t){for(let n=e.depth;n>0;--n){let r=e.node(n);if(t(r))return{pos:n>0?e.before(n):0,start:e.start(n),depth:n,node:r}}}function hT(e){return t=>mT(t.$from,e)}function Q(e,t,n){return e.config[t]===void 0&&e.parent?Q(e.parent,t,n):typeof e.config[t]==`function`?e.config[t].bind({...n,parent:e.parent?Q(e.parent,t,n):null}):e.config[t]}function gT(e){return e.map(e=>{let t=Q(e,`addExtensions`,{name:e.name,options:e.options,storage:e.storage});return t?[e,...gT(t())]:e}).flat(10)}function _T(e,t){let n=eg.fromSchema(t).serializeFragment(e),r=document.implementation.createHTMLDocument().createElement(`div`);return r.appendChild(n),r.innerHTML}function vT(e,t){let n=new Map;for(let t of e){let e=n.get(t.type)??new Map;e.set(t.name,t),n.set(t.type,e)}return[...Object.values(t.nodes),...Object.values(t.marks)].flatMap(e=>Object.entries(e.spec.attrs??{}).map(([t,r])=>{let i=n.get(e.name)?.get(t),a=Object.hasOwn(r,`default`);return{type:e.name,name:t,attribute:{rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,...i?.attribute,default:r.default,isRequired:!a,validate:r.validate}}}))}var yT={content:`string`,marks:`string`,group:`string`,inline:`boolean`,atom:`boolean`,selectable:`boolean`,draggable:`boolean`,code:`boolean`,whitespace:[`pre`,`normal`],definingAsContext:`boolean`,definingForContent:`boolean`,defining:`boolean`,isolating:`boolean`,linebreakReplacement:`boolean`},bT={inclusive:`boolean`,excludes:`string`,group:`string`,spanning:`boolean`,code:`boolean`};function xT(e,t,n){return Object.fromEntries(Object.entries(t).flatMap(([t,r])=>{let i=e[t];if(i===void 0)return[];if(!(typeof r==`string`?typeof i===r:typeof i==`string`&&r.includes(i)))throw RangeError(`Invalid schemaSpec field '${n}.${t}'`);return[[t,i]]}))}function ST(e,t,n,r){return{...Object.fromEntries(Object.entries(t).filter(([e])=>e!==`attrs`&&!Object.hasOwn(r,e))),...xT(n,r,e),attrs:n.attrs}}function CT(e,t,n){for(let r of Object.keys(t))if(!Object.hasOwn(e,r))throw RangeError(`schemaSpec requires a local ${n} extension named '${r}'`);for(let r of Object.keys(e))if(!Object.hasOwn(t,r))throw RangeError(`Local ${n} extension '${r}' is not in schemaSpec`)}function wT(e,t){CT(e.nodes,t.nodes,`node`),CT(e.marks,t.marks,`mark`);let n=t.spec.nodes,r=t.spec.marks;return t.spec.nodes.forEach((t,r)=>{n=n.update(t,ST(t,e.nodes[t],r,yT))}),t.spec.marks.forEach((t,n)=>{r=r.update(t,ST(t,e.marks[t],n,bT))}),{topNode:t.topNodeType.name,nodes:n,marks:r}}function TT(e){let t=e.filter((t,n)=>e.indexOf(t)!==n);return Array.from(new Set(t))}function ET(e){return{baseExtensions:e.filter(e=>e.type===`extension`),nodeExtensions:e.filter(e=>e.type===`node`),markExtensions:e.filter(e=>e.type===`mark`)}}function DT(e){let t=[],{nodeExtensions:n,markExtensions:r}=ET(e),i=[...n,...r],a={default:null,validate:void 0,rendered:!0,renderHTML:null,parseHTML:null,keepOnSplit:!0,isRequired:!1},o=n.filter(e=>e.name!==`text`).map(e=>e.name),s=r.map(e=>e.name),c=[...o,...s];return e.forEach(e=>{let n=Q(e,`addGlobalAttributes`,{name:e.name,options:e.options,storage:e.storage,extensions:i});n&&n().forEach(e=>{let n;n=Array.isArray(e.types)?e.types:e.types===`*`?c:e.types===`nodes`?o:e.types===`marks`?s:[],n.forEach(n=>{Object.entries(e.attributes).forEach(([e,r])=>{t.push({type:n,name:e,attribute:{...a,...r}})})})})}),i.forEach(e=>{let n=Q(e,`addAttributes`,{name:e.name,options:e.options,storage:e.storage});if(!n)return;let r=n();Object.entries(r).forEach(([n,r])=>{let i={...a,...r};typeof i?.default==`function`&&(i.default=i.default()),i?.isRequired&&i?.default===void 0&&delete i.default,t.push({type:e.name,name:n,attribute:i})})}),t}function OT(e){return typeof e==`function`}function $(e,t=void 0,...n){return OT(e)?t?e.bind(t)(...n):e(...n):e}function kT(e={}){return Object.keys(e).length===0&&e.constructor===Object}function AT(e){let t=[],n=``,r=!1,i=!1,a=0,o=e.length;for(let s=0;s<o;s+=1){let o=e[s];if(o===`'`&&!i)r=!r,n+=o;else if(o===`"`&&!r)i=!i,n+=o;else{if(!r&&!i){if(o===`(`){a+=1,n+=o;continue}if(o===`)`&&a>0){--a,n+=o;continue}if(o===`;`&&a===0){t.push(n),n=``;continue}}n+=o}}return n&&t.push(n),t}function jT(e){let t=[],n=AT(e||``),r=n.length;for(let e=0;e<r;e+=1){let r=n[e],i=r.indexOf(`:`);if(i===-1)continue;let a=r.slice(0,i).trim(),o=r.slice(i+1).trim();a&&o&&t.push([a,o])}return t}function MT(...e){return e.filter(e=>!!e).reduce((e,t)=>{let n={...e};return Object.entries(t).forEach(([e,t])=>{if(e===`__proto__`)Object.defineProperty(n,e,{configurable:!0,enumerable:!0,value:t,writable:!0});else if(!n[e])n[e]=t;else if(e===`class`){let r=t?String(t).split(` `):[],i=n[e]?n[e].split(` `):[],a=r.filter(e=>!i.includes(e));n[e]=[...i,...a].join(` `)}else if(e===`style`){let r=new Map([...jT(n[e]),...jT(t)]);n[e]=Array.from(r.entries()).map(([e,t])=>`${e}: ${t}`).join(`; `)}else n[e]=t}),n},{})}function NT(e,t){return t.filter(t=>t.type===e.type.name).filter(e=>e.attribute.rendered).map(t=>t.attribute.renderHTML?t.attribute.renderHTML(e.attrs)||{}:{[t.name]:e.attrs[t.name]}).reduce((e,t)=>MT(e,t),{})}function PT(e){return typeof e==`string`?e.match(/^[+-]?(?:\d*\.)?\d+$/)?Number(e):e===`true`||e!==`false`&&e:e}function FT(e,t){return`style`in e?e:{...e,getAttrs:n=>{let r=e.getAttrs?e.getAttrs(n):e.attrs;if(r===!1)return!1;let i=t.reduce((e,t)=>{let r=t.attribute.parseHTML?t.attribute.parseHTML(n):PT(n.getAttribute(t.name));return r==null?e:{...e,[t.name]:r}},{});return{...r,...i}}}}function IT(e){return Object.fromEntries(Object.entries(e).filter(([e,t])=>e===`attrs`&&kT(t)?!1:t!=null))}function LT(e){var t,n;let r={};return!(e!=null&&(t=e.attribute)!=null&&t.isRequired)&&`default`in(e?.attribute||{})&&(r.default=e.attribute.default),(e==null||(n=e.attribute)==null?void 0:n.validate)!==void 0&&(r.validate=e.attribute.validate),[e.name,r]}function RT(e,t,n=DT(e)){let{nodeExtensions:r,markExtensions:i}=ET(e);return{topNode:r.find(e=>Q(e,`topNode`))?.name,nodes:Object.fromEntries(r.map(r=>{let i=n.filter(e=>e.type===r.name),a={name:r.name,options:r.options,storage:r.storage,editor:t},o=IT({...e.reduce((e,t)=>{let n=Q(t,`extendNodeSchema`,a);return{...e,...n?n(r):{}}},{}),content:$(Q(r,`content`,a)),marks:$(Q(r,`marks`,a)),group:$(Q(r,`group`,a)),inline:$(Q(r,`inline`,a)),atom:$(Q(r,`atom`,a)),selectable:$(Q(r,`selectable`,a)),draggable:$(Q(r,`draggable`,a)),code:$(Q(r,`code`,a)),whitespace:$(Q(r,`whitespace`,a)),linebreakReplacement:$(Q(r,`linebreakReplacement`,a)),defining:$(Q(r,`defining`,a)),isolating:$(Q(r,`isolating`,a)),attrs:Object.fromEntries(i.map(LT))}),s=$(Q(r,`parseHTML`,a));s&&(o.parseDOM=s.map(e=>FT(e,i)));let c=Q(r,`renderHTML`,a);c&&(o.toDOM=e=>c({node:e,HTMLAttributes:NT(e,i)}));let l=Q(r,`renderText`,a);return l&&(o.toText=l),[r.name,o]})),marks:Object.fromEntries(i.map(r=>{let i=n.filter(e=>e.type===r.name),a={name:r.name,options:r.options,storage:r.storage,editor:t},o=IT({...e.reduce((e,t)=>{let n=Q(t,`extendMarkSchema`,a);return{...e,...n?n(r):{}}},{}),inclusive:$(Q(r,`inclusive`,a)),excludes:$(Q(r,`excludes`,a)),group:$(Q(r,`group`,a)),spanning:$(Q(r,`spanning`,a)),code:$(Q(r,`code`,a)),attrs:Object.fromEntries(i.map(LT))}),s=$(Q(r,`parseHTML`,a));s&&(o.parseDOM=s.map(e=>FT(e,i)));let c=Q(r,`renderHTML`,a);return c&&(o.toDOM=e=>c({mark:e,HTMLAttributes:NT(e,i)})),[r.name,o]}))}}function zT(e,t,n){if(n===void 0)return new Ih(RT(e,t));let r=TT(e.filter(e=>e.type!==`extension`).map(e=>e.name));if(r.length)throw RangeError(`Duplicate local schema types: ${r.join(`, `)}`);let i=new Ih(n);return new Ih(wT(RT(e,t,vT(DT(e),i)),i))}function BT(e){return e.sort((e,t)=>{let n=Q(e,`priority`)||100,r=Q(t,`priority`)||100;return n>r?-1:+(n<r)})}function VT(e){let t=BT(gT(e)),n=TT(t.map(e=>e.name));return n.length&&console.warn(`[tiptap warn]: Duplicate extension names found: [${n.map(e=>`'${e}'`).join(`, `)}]. This can lead to issues.`),t}function HT(e,t){return zT(VT(e),t)}function UT(e,t){let n=HT(t);return _T(dh.fromJSON(n,e).content,n)}function WT(e,t){let n=HT(t),r=Ow(e);return Bh.fromSchema(n).parse(r).toJSON()}function GT(e,t,n){let{from:r,to:i}=t,{blockSeparator:a=`
|
|
14
|
+
|
|
15
|
+
`,textSerializers:o={}}=n||{},s=``;return e.nodesBetween(r,i,(e,n,c,l)=>{e.isBlock&&n>r&&(s+=a);let u=o?.[e.type.name];if(u)return c&&(s+=u({node:e,pos:n,parent:c,index:l,range:t})),!1;if(e.isText){var d;s+=e==null||(d=e.text)==null?void 0:d.slice(Math.max(r,n)-n,i-n)}}),s}function KT(e,t){return GT(e,{from:0,to:e.content.size},t)}function qT(e){return Object.fromEntries(Object.entries(e.nodes).filter(([,e])=>e.spec.toText).map(([e,t])=>[e,t.spec.toText]))}function JT(e,t,n){let{blockSeparator:r=`
|
|
16
|
+
|
|
17
|
+
`,textSerializers:i={}}=n||{},a=HT(t);return KT(dh.fromJSON(a,e),{blockSeparator:r,textSerializers:{...qT(a),...i}})}function YT(e,t){let n=tw(t,e.schema),{from:r,to:i}=e.selection,a=[];e.doc.nodesBetween(r,i,e=>{a.push(e)});let o=a.reverse().find(e=>e.type.name===n.name);return o?{...o.attrs}:{}}function XT(e,t){let n=$w(typeof t==`string`?t:t.name,e.schema);return n===`node`?YT(e,t):n===`mark`?dT(e,t):{}}function ZT(e,t=JSON.stringify){let n={};return e.filter(e=>{let r=t(e);return Object.prototype.hasOwnProperty.call(n,r)?!1:n[r]=!0})}function QT(e){let t=ZT(e);return t.length===1?t:t.filter((e,n)=>!t.filter((e,t)=>t!==n).some(t=>e.oldRange.from>=t.oldRange.from&&e.oldRange.to<=t.oldRange.to&&e.newRange.from>=t.newRange.from&&e.newRange.to<=t.newRange.to))}function $T(e){let{mapping:t,steps:n}=e,r=[];return t.maps.forEach((e,i)=>{let a=[];if(e.ranges.length)e.forEach((e,t)=>{a.push({from:e,to:t})});else{let{from:e,to:t}=n[i];if(e===void 0||t===void 0)return;a.push({from:e,to:t})}a.forEach(({from:e,to:n})=>{let a=t.slice(i).map(e,-1),o=t.slice(i).map(n),s=t.invert().map(a,-1),c=t.invert().map(o);r.push({oldRange:{from:s,to:c},newRange:{from:a,to:o}})})}),QT(r)}function eE(e,t,n){let r=[];return e===t?n.resolve(e).marks().forEach(t=>{let i=mw(n.resolve(e),t.type);i&&r.push({mark:t,...i})}):n.nodesBetween(e,t,(e,t)=>{e&&e?.nodeSize!==void 0&&r.push(...e.marks.map(n=>({from:t,to:t+e.nodeSize,mark:n})))}),r}var tE=(e,t,n,r=20)=>{let i=e.doc.resolve(n),a=r,o=null;for(;a>0&&o===null;){let e=i.node(a);e?.type.name===t?o=e:--a}return[o,a]},nE=e=>{let t=e.depth-1;if(t<0)return null;let n=e.index(t);return n===0?null:e.node(t).child(n-1)};function rE(e,t){return t.nodes[e]||t.marks[e]||null}function iE(e,t,n){return Object.fromEntries(Object.entries(n).filter(([n])=>{let r=e.find(e=>e.type===t&&e.name===n);return r?r.attribute.keepOnSplit:!1}))}var aE=(e,t=500)=>{let n=``,r=e.parentOffset;return e.parent.nodesBetween(Math.max(0,r-t),r,(e,t,i,a)=>{var o;let s=(o=e.type.spec).toText?.call(o,{node:e,pos:t,parent:i,index:a})||e.textContent||`%leaf%`;n+=e.isAtom&&!e.isText?s:s.slice(0,Math.max(0,r-t))}),n};function oE(e,t,n={}){let{empty:r,ranges:i}=e.selection,a=t?hw(t,e.schema):null;if(r)return!!(e.storedMarks||e.selection.$from.marks()).filter(e=>!a||a.name===e.type.name).find(e=>dw(e.attrs,n,{strict:!1}));let o=0,s=[];if(i.forEach(({$from:t,$to:n})=>{let r=t.pos,i=n.pos;e.doc.nodesBetween(r,i,(e,t)=>{if(a&&e.inlineContent&&!e.type.allowsMarkType(a))return!1;if(!e.isText&&!e.marks.length)return;let n=Math.max(r,t),c=Math.min(i,t+e.nodeSize),l=c-n;o+=l,s.push(...e.marks.map(e=>({mark:e,from:n,to:c})))})}),o===0)return!1;let c=s.filter(e=>!a||a.name===e.mark.type.name).filter(e=>dw(e.mark.attrs,n,{strict:!1})).reduce((e,t)=>e+t.to-t.from,0),l=s.filter(e=>!a||e.mark.type!==a&&e.mark.type.excludes(a)).reduce((e,t)=>e+t.to-t.from,0);return(c>0?c+l:c)>=o}function sE(e,t,n={}){if(!t)return Jw(e,null,n)||oE(e,null,n);let r=$w(t,e.schema);return r===`node`?Jw(e,t,n):r===`mark`&&oE(e,t,n)}var cE=(e,t)=>{let{$from:n,$to:r,$anchor:i}=e.selection;if(t){let n=hT(e=>e.type.name===t)(e.selection);if(!n)return!1;let r=e.doc.resolve(n.pos+1);return i.pos+1===r.end()}return!(r.parentOffset<r.parent.nodeSize-2||n.pos!==r.pos)},lE=e=>{let{$from:t,$to:n}=e.selection;return!(t.parentOffset>0||t.pos!==n.pos)};function uE(e,t){return Array.isArray(t)?t.some(t=>(typeof t==`string`?t:t.name)===e.name):t}function dE(e,t){let{nodeExtensions:n}=ET(t),r=n.find(t=>t.name===e);if(!r)return!1;let i=$(Q(r,`group`,{name:r.name,options:r.options,storage:r.storage}));return typeof i==`string`&&i.split(` `).includes(`list`)}function fE(e,{checkChildren:t=!0,ignoreWhitespace:n=!1}={}){if(n){if(e.type.name===`hardBreak`)return!0;if(e.isText)return!/\S/.test(e.text??``)}if(e.isText)return!e.text;if(e.isAtom||e.isLeaf)return!1;if(e.content.childCount===0)return!0;if(t){let r=!0;return e.content.forEach(e=>{r!==!1&&(fE(e,{ignoreWhitespace:n,checkChildren:t})||(r=!1))}),r}return!1}function pE(e){return e instanceof X}function mE(e){if(typeof e!=`object`||!e)return!1;let t=e;return typeof t.apply==`function`&&typeof t.getMap==`function`&&typeof t.invert==`function`&&typeof t.map==`function`&&typeof t.merge==`function`&&typeof t.toJSON==`function`}function hE(e){if(typeof e!=`object`||!e)return!1;let t=e;if(!mE(t))return!1;let n=t.toJSON();return!(typeof n!=`object`||!n||n.stepType!==`replace`)}var gE=class e{constructor(e){this.position=e}static fromJSON(t){return new e(t.position)}toJSON(){return{position:this.position}}};function _E(e,t){let n=t.mapping.mapResult(e.position);return{position:new gE(n.pos),mapResult:n}}function vE(e){return new gE(e)}function yE(e,t,n){let{selection:r}=t,i=null;if(vw(r)&&(i=r.$cursor),i){let t=e.storedMarks??i.marks();return i.parent.type.allowsMarkType(n)&&(!!n.isInSet(t)||!t.some(e=>e.type.excludes(n)))}let{ranges:a}=r;return a.some(({$from:t,$to:r})=>{let i=t.depth===0&&e.doc.inlineContent&&e.doc.type.allowsMarkType(n);return e.doc.nodesBetween(t.pos,r.pos,(e,t,r)=>{if(i)return!1;if(e.isInline){let t=!r||r.type.allowsMarkType(n),a=!!n.isInSet(e.marks)||!e.marks.some(e=>e.type.excludes(n));i=t&&a}return!i}),i})}var bE=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let{selection:a}=n,{empty:o,ranges:s}=a,c=hw(e,r.schema);if(i){if(o){let e=dT(r,c);n.addStoredMark(c.create({...e,...t}))}else s.forEach(e=>{let i=e.$from.pos,a=e.$to.pos;r.doc.nodesBetween(i,a,(e,r)=>{let o=Math.max(r,i),s=Math.min(r+e.nodeSize,a);e.marks.find(e=>e.type===c)?e.marks.forEach(e=>{c===e.type&&n.addMark(o,s,c.create({...e.attrs,...t}))}):n.addMark(o,s,c.create(t))})})}return yE(r,n,c)},xE=(e,t)=>({tr:n})=>(n.setMeta(e,t),!0),SE=(e,t={})=>({state:n,dispatch:r,chain:i})=>{let a=tw(e,n.schema),o;return n.selection.$anchor.sameParent(n.selection.$head)&&(o=n.selection.$anchor.parent.attrs),a.isTextblock?i().command(({commands:e})=>Sv(a,{...o,...t})(n)?!0:e.clearNodes()).command(({state:e})=>Sv(a,{...o,...t})(e,r)).run():(console.warn(`[tiptap warn]: Currently "setNode()" only supports text block nodes.`),!1)},CE=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,r=yw(e,0,n.content.size),i=X.create(n,r);t.setSelection(i)}return!0},wE=(e,t)=>({tr:n,state:r,dispatch:i})=>{let{selection:a}=r,o,s;return typeof t==`number`?(o=t,s=t):t&&`from`in t&&`to`in t?(o=t.from,s=t.to):(o=a.from,s=a.to),i&&n.doc.nodesBetween(o,s,(t,r)=>{t.isText||n.setNodeMarkup(r,void 0,{...t.attrs,dir:e})}),!0},TE=e=>({tr:t,dispatch:n})=>{if(n){let{doc:n}=t,{from:r,to:i}=typeof e==`number`?{from:e,to:e}:e,a=Y.atStart(n).from,o=Y.atEnd(n).to,s=yw(r,a,o),c=yw(i,a,o),l=Y.create(n,s,c);t.setSelection(l)}return!0},EE=e=>({state:t,dispatch:n})=>Pv(tw(e,t.schema))(t,n);function DE(e,t){let n=e.storedMarks||e.selection.$to.parentOffset&&e.selection.$from.marks();if(n){let r=n.filter(e=>t?.includes(e.type.name));e.tr.ensureMarks(r)}}var OE=({keepMarks:e=!0}={})=>({tr:t,state:n,dispatch:r,editor:i})=>{let{selection:a,doc:o}=t,{$from:s,$to:c}=a,l=i.extensionManager.attributes,u=iE(l,s.node().type.name,s.node().attrs);if(a instanceof X&&a.node.isBlock)return!s.parentOffset||!Kg(o,s.pos)?!1:(r&&(e&&DE(n,i.extensionManager.splittableMarks),t.split(s.pos).scrollIntoView()),!0);if(!s.parent.isBlock)return!1;let d=c.parentOffset===c.parent.content.size,f=s.depth===0?void 0:Pw(s.node(-1).contentMatchAt(s.indexAfter(-1))),p=d&&f?[{type:f,attrs:u}]:void 0,m=a instanceof Y&&!a.empty?z_.create({doc:t.doc,selection:a}).tr.deleteSelection():null,h=m?m.doc:t.doc,g=m?m.mapping.map(s.pos):s.pos,_=Kg(h,g,1,p);if(!p&&!_&&Kg(h,g,1,f?[{type:f}]:void 0)&&(_=!0,p=f?[{type:f,attrs:u}]:void 0),r){if(_){let e=t.steps.length;if(a instanceof Y&&t.deleteSelection(),t.split(t.mapping.slice(e).map(s.pos),1,p),f&&!d&&!s.parentOffset&&s.parent.type!==f){let n=t.mapping.slice(e).map(s.before()),r=t.doc.resolve(n);s.node(-1).canReplaceWith(r.index(),r.index()+1,f)&&t.setNodeMarkup(t.mapping.slice(e).map(s.before()),f)}}e&&DE(n,i.extensionManager.splittableMarks),t.scrollIntoView()}return _},kE=(e,t={})=>({tr:n,state:r,dispatch:i,editor:a})=>{let o=tw(e,r.schema),{$from:s,$to:c}=r.selection,l=r.selection.node;if(l&&l.isBlock||s.depth<2||!s.sameParent(c))return!1;let u=s.node(-1);if(u.type!==o)return!1;let d=a.extensionManager.attributes;if(s.parent.content.size===0&&s.node(-1).childCount===s.indexAfter(-1)){if(s.depth===2||s.node(-3).type!==o||s.index(-2)!==s.node(-2).childCount-1)return!1;if(i){let e=G.empty,r=s.index(-1)?1:s.index(-2)?2:3;for(let t=s.depth-r;t>=s.depth-3;--t)e=G.from(s.node(t).copy(e));let i=s.indexAfter(-1)<s.node(-2).childCount?1:s.indexAfter(-2)<s.node(-3).childCount?2:3,a={...iE(d,s.node().type.name,s.node().attrs),...t},c=o.contentMatch.defaultType?.createAndFill(a)||void 0;e=e.append(G.from(o.createAndFill(null,c)||void 0));let l=s.before(s.depth-(r-1));n.replace(l,s.after(-i),new q(e,4-r,0));let u=-1;n.doc.nodesBetween(l,n.doc.content.size,(e,t)=>{if(u>-1)return!1;e.isTextblock&&e.content.size===0&&(u=t+1)}),u>-1&&n.setSelection(Y.near(n.doc.resolve(u))),n.scrollIntoView()}return!0}let f=c.pos===s.end()?u.contentMatchAt(0).defaultType:null,p={...iE(d,u.type.name,u.attrs),...t},m={...iE(d,s.node().type.name,s.node().attrs),...t},h=s.parentOffset===0&&s.index(-1)===0,g=s.before(-1);n.delete(s.pos,c.pos);let _=h?u.attrs:p,v=f?[{type:o,attrs:_},{type:f,attrs:m}]:[{type:o,attrs:_}];if(!Kg(n.doc,s.pos,2))return!1;if(i){let{selection:e,storedMarks:t}=r,{splittableMarks:o}=a.extensionManager,c=t||e.$to.parentOffset&&e.$from.marks();if(n.split(s.pos,2,v).scrollIntoView(),h&&n.setNodeMarkup(g,void 0,p),!c||!i)return!0;let l=c.filter(e=>o.includes(e.type.name));n.ensureMarks(l)}return!0};function AE(e,t,n){if(!e.validContent(t))return null;try{return e.create(n,t)}catch{return null}}function jE(e,t){if(e.pendingContent.length===0)return!0;let n=AE(t,G.from(e.pendingContent));return n?(e.items.push(n),e.pendingContent=[],!0):!1}function ME(e,t,n){return n.validContent(G.from([...t.pendingContent,e]))?(t.pendingContent.push(e),!0):!jE(t,n)||!n.validContent(G.from(e))?!1:(t.pendingContent.push(e),!0)}function NE(e,t,n,r){let i=r(e,n);if(!i)return!1;let a=AE(n.listType,G.from(i),e.attrs);return a?n.itemType.validContent(G.from([...t.pendingContent,a]))?(t.pendingContent.push(a),!0):jE(t,n.itemType)?(t.items.push(...i),!0):!1:!1}function PE(e,t,n){let r={items:[],pendingContent:[]};for(let i=0;i<e.childCount;i+=1){let a=e.child(i);if(!(t.isListNode(a)?NE(a,r,t,n):ME(a,r,t.itemType)))return null}return jE(r,t.itemType)?r.items:null}function FE(e,t){let n=[];for(let r=0;r<e.childCount;r+=1){let i=PE(e.child(r),t,FE);if(!i)return null;n.push(...i)}return n}function IE(e,t){let n=null;return e.descendants((e,r)=>e!==t||(n=r,!1)),n}function LE(e){return!e||e===`1`?null:e}function RE(e,t){return LE(e)===LE(t)}var zE=(e,t)=>{let n=hT(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(Math.max(0,n.pos-1)).before(n.depth);if(r===void 0)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===i?.type&&Jg(e.doc,n.pos))||!RE(n.node.attrs.type,i?.attrs.type)||e.join(n.pos),!0},BE=(e,t)=>{let n=hT(e=>e.type===t)(e.selection);if(!n)return!0;let r=e.doc.resolve(n.start).after(n.depth);if(r===void 0)return!0;let i=e.doc.nodeAt(r);return!(n.node.type===i?.type&&Jg(e.doc,r))||!RE(n.node.attrs.type,i?.attrs.type)||e.join(r),!0};function VE(e){let t=e.doc,n=t.firstChild;if(!n)return null;let r=t.resolve(1),i=t.resolve(n.nodeSize-1);return Y.between(r,i)}var HE=(e,t,n,r={})=>({editor:i,tr:a,state:o,dispatch:s,chain:c,commands:l,can:u})=>{let{extensions:d,splittableMarks:f}=i.extensionManager,p=tw(e,o.schema),m=tw(t,o.schema),{selection:h,storedMarks:g}=o,{$from:_,$to:v}=h,y=_.blockRange(v),b=g||h.$to.parentOffset&&h.$from.marks();if(!y)return!1;let x=hT(e=>dE(e.type.name,d))(h),S=h.from===0&&h.to===o.doc.content.size,C=o.doc.content.content,w=C.length===1?C[0]:null,T=S&&w&&dE(w.type.name,d)?{node:w,pos:0,depth:0}:null,E=x??T,ee=!!x&&y.depth>=1&&y.depth-x.depth<=1,te=!!T;if((ee||te)&&E){if(E.node.type===p)return S&&te?c().command(({tr:e,dispatch:t})=>{let n=VE(e);return n?(e.setSelection(n),t&&t(e),!0):!1}).liftListItem(m).run():l.liftListItem(m);if(dE(E.node.type.name,d)&&p.validContent(E.node.content))return c().command(()=>(a.setNodeMarkup(E.pos,p),!0)).command(()=>zE(a,p)).command(()=>BE(a,p)).run();if(dE(E.node.type.name,d)){let e=E.node.firstChild?.type;if(e&&e!==m){let e=FE(E.node,{listType:p,itemType:m,isListNode:e=>dE(e.type.name,d)}),t=e?G.from(e):null;return!t||!p.validContent(t)?!1:c().command(()=>{let{$anchor:e,$head:n}=a.selection,i=e.parent,o=n.parent,s=e.parentOffset,c=n.parentOffset,l;try{l=p.create(r,t)}catch{return!1}if(a.replaceWith(E.pos,E.pos+E.node.nodeSize,l),i.inlineContent&&o.inlineContent){let e=IE(l,i),t=IE(l,o);if(e!==null&&t!==null){let n=E.pos+e+2+s,r=E.pos+t+2+c;a.setSelection(Y.create(a.doc,n,r))}}return!0}).command(()=>zE(a,p)).command(()=>BE(a,p)).run()}}}return!n||!b||!s?c().command(()=>u().wrapInList(p,r)?!0:l.clearNodes()).wrapInList(p,r).command(()=>zE(a,p)).command(()=>BE(a,p)).run():c().command(()=>{let e=u().wrapInList(p,r),t=b.filter(e=>f.includes(e.type.name));return a.ensureMarks(t),e?!0:l.clearNodes()}).wrapInList(p,r).command(()=>zE(a,p)).command(()=>BE(a,p)).run()},UE=(e,t={},n={})=>({state:r,commands:i})=>{let{extendEmptyMarkRange:a=!1}=n,o=hw(e,r.schema);return oE(r,o,t)?i.unsetMark(o,{extendEmptyMarkRange:a}):i.setMark(o,t)},WE=(e,t,n={})=>({state:r,commands:i})=>{let a=tw(e,r.schema),o=tw(t,r.schema),s=Jw(r,a,n),c;return r.selection.$anchor.sameParent(r.selection.$head)&&(c=r.selection.$anchor.parent.attrs),s?i.setNode(o,c):i.setNode(a,{...c,...n})},GE=(e,t={})=>({state:n,commands:r})=>{let i=tw(e,n.schema);return Jw(n,i,t)?r.lift(i):r.wrapIn(i,t)},KE=()=>({state:e,dispatch:t})=>{let n=e.plugins;for(let r=0;r<n.length;r+=1){let i=n[r],a;if(i.spec.isInputRules&&(a=i.getState(e))){if(t){let t=e.tr,n=a.transform;for(let e=n.steps.length-1;e>=0;--e)t.step(n.steps[e].invert(n.docs[e]));if(a.text){let n=t.doc.resolve(a.from).marks();t.replaceWith(a.from,a.to,e.schema.text(a.text,n))}else t.delete(a.from,a.to)}return!0}}return!1},qE=(e={})=>({tr:t,dispatch:n,editor:r})=>{let{ignoreClearable:i=!1}=e,{selection:a}=t,{empty:o,ranges:s}=a;if(o)return!0;let{nonClearableMarks:c}=r.extensionManager;if(n){let e=Object.values(r.schema.marks).filter(e=>i||!c.includes(e.name));s.forEach(n=>{for(let r of e)t.removeMark(n.$from.pos,n.$to.pos,r)})}return!0},JE=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let{extendEmptyMarkRange:a=!1}=t,{selection:o}=n,s=hw(e,r.schema),{$from:c,empty:l,ranges:u}=o;if(!i)return!0;if(l&&a){let{from:e,to:t}=o,r=mw(c,s,c.marks().find(e=>e.type===s)?.attrs);r&&(e=r.from,t=r.to),n.removeMark(e,t,s)}else u.forEach(e=>{n.removeMark(e.$from.pos,e.$to.pos,s)});return n.removeStoredMark(s),!0},YE=e=>({tr:t,state:n,dispatch:r})=>{let{selection:i}=n,a,o;return typeof e==`number`?(a=e,o=e):e&&`from`in e&&`to`in e?(a=e.from,o=e.to):(a=i.from,o=i.to),r&&t.doc.nodesBetween(a,o,(e,n)=>{if(e.isText)return;let r={...e.attrs};delete r.dir,t.setNodeMarkup(n,void 0,r)}),!0},XE=(e,t={})=>({tr:n,state:r,dispatch:i})=>{let a=null,o=null,s=$w(typeof e==`string`?e:e.name,r.schema);if(!s)return!1;s===`node`&&(a=tw(e,r.schema)),s===`mark`&&(o=hw(e,r.schema));let c=!1;return n.selection.ranges.forEach(e=>{let s=e.$from.pos,l=e.$to.pos,u,d,f,p;n.selection.empty?r.doc.nodesBetween(s,l,(e,t)=>{a&&a===e.type&&(c=!0,f=Math.max(t,s),p=Math.min(t+e.nodeSize,l),u=t,d=e)}):r.doc.nodesBetween(s,l,(e,r)=>{r<s&&a&&a===e.type&&(c=!0,f=Math.max(r,s),p=Math.min(r+e.nodeSize,l),u=r,d=e),r>=s&&r<=l&&(a&&a===e.type&&(c=!0,i&&n.setNodeMarkup(r,void 0,{...e.attrs,...t})),o&&e.marks.length&&e.marks.forEach(a=>{if(o===a.type&&(c=!0,i)){let i=Math.max(r,s),c=Math.min(r+e.nodeSize,l);n.addMark(i,c,o.create({...a.attrs,...t}))}}))}),d&&(u!==void 0&&i&&n.setNodeMarkup(u,void 0,{...d.attrs,...t}),o&&d.marks.length&&d.marks.forEach(e=>{o===e.type&&i&&n.addMark(f,p,o.create({...e.attrs,...t}))}))}),c},ZE=new W_(`__tiptap_decorations__`),QE=e=>({tr:t,dispatch:n})=>(n&&t.setMeta(ZE,{type:`force`,name:e}),!0),$E=(e,t={})=>({state:n,dispatch:r})=>xv(tw(e,n.schema),t)(n,r),eD=(e,t={})=>({state:n,dispatch:r})=>Ov(tw(e,n.schema),t)(n,r),tD=Lm({blur:()=>JC,clearContent:()=>YC,clearNodes:()=>XC,command:()=>ZC,createParagraphNear:()=>QC,cut:()=>$C,deleteCurrentNode:()=>ew,deleteNode:()=>nw,deleteRange:()=>rw,deleteSelection:()=>sw,enter:()=>cw,exitCode:()=>lw,extendMarkRange:()=>gw,first:()=>_w,focus:()=>ww,forEach:()=>Tw,insertContent:()=>Ew,insertContentAt:()=>Nw,insertDefaultBlock:()=>Fw,joinBackward:()=>Rw,joinDown:()=>Lw,joinForward:()=>zw,joinItemBackward:()=>Vw,joinItemForward:()=>Hw,joinTextblockBackward:()=>Uw,joinTextblockForward:()=>Ww,joinUp:()=>Iw,keyboardShortcut:()=>qw,lift:()=>Yw,liftEmptyBlock:()=>Xw,liftListItem:()=>Zw,newlineInCode:()=>Qw,resetAttributes:()=>tT,scrollIntoView:()=>nT,selectAll:()=>rT,selectNodeBackward:()=>iT,selectNodeForward:()=>aT,selectParentNode:()=>oT,selectTextblockEnd:()=>sT,selectTextblockStart:()=>cT,setContent:()=>uT,setMark:()=>bE,setMeta:()=>xE,setNode:()=>SE,setNodeSelection:()=>CE,setTextDirection:()=>wE,setTextSelection:()=>TE,sinkListItem:()=>EE,splitBlock:()=>OE,splitListItem:()=>kE,toggleList:()=>HE,toggleMark:()=>UE,toggleNode:()=>WE,toggleWrap:()=>GE,undoInputRule:()=>KE,unsetAllMarks:()=>qE,unsetMark:()=>JE,unsetTextDirection:()=>YE,updateAttributes:()=>XE,updateDecorations:()=>QE,wrapIn:()=>$E,wrapInList:()=>eD}),nD=new WeakMap;function rD(e,t){nD.set(e,(nD.get(e)??0)+1);try{return t()}finally{let t=(nD.get(e)??1)-1;t>0?nD.set(e,t):nD.delete(e)}}function iD(e){return nD.has(e)}var aD=class{constructor(){this.callbacks={}}on(e,t){return this.callbacks[e]||(this.callbacks[e]=[]),this.callbacks[e].push(t),this}emit(e,...t){let n=this.callbacks[e];return n&&n.forEach(e=>e.apply(this,t)),this}off(e,t){let n=this.callbacks[e];return n&&(t?this.callbacks[e]=n.filter(e=>e!==t):delete this.callbacks[e]),this}once(e,t){let n=(...r)=>{this.off(e,n),t.apply(this,r)};return this.on(e,n)}removeAllListeners(){this.callbacks={}}},oD=typeof process<`u`&&!1;function sD(e){return e.kind===`widget`}function cD(e,t){let n=[],r=new Set;for(let i of e)i.kind===`widget`&&sD(i)&&r.add(i.key),n.push(i.toPMDecoration(t));return{decorations:n,widgetKeys:r}}function lD(e,t,n){let{decorations:r,widgetKeys:i}=cD(t,n);return{set:vS.create(e,r),widgetKeys:i}}function uD({position:e,from:t,to:n,docSize:r}){return e<t?!1:e<n||e===n&&n===r}function dD({decorations:e,from:t,to:n,docSize:r,extensionName:i,warnedExtensions:a}){return e.filter(e=>uD({position:e.anchor,from:t,to:n,docSize:r})?!0:(e.anchor===n||a.has(i)||(a.add(i),console.warn(`[tiptap warn]: Extension "${i}" returned a decoration outside the requested range [${t}, ${n}). It was ignored.`)),!1))}function fD(e){let t=e.spec?.key;return typeof t==`string`?t:void 0}function pD(e){let t=new Map,n=new Map;for(let r of e.find()){let e=fD(r);if(!e)continue;let i=r.spec.extensionName??`unknown`,a=t.get(e)??new Set;a.add(i),t.set(e,a),n.set(e,(n.get(e)??0)+1)}return Array.from(t,([e,t])=>({key:e,extensions:t})).filter(({key:e})=>(n.get(e)??0)>1)}function mD(e){return e.jsonID===`attr`}function hD(e){let t=!1;if(e.getMap().forEach(()=>{t=!0}),t||mD(e))return!0;let n=e;return typeof n.from==`number`&&typeof n.to==`number`}function gD(e,t){let n=null,r=0,i=0;for(let a=0;a<e.childCount&&!(i>t.to);a+=1){let o=i+e.child(a).nodeSize;o>=t.from&&(n===null&&(n=i),r=o),i=o}return n===null?null:{from:n,to:r}}function _D(e,t){if(e.steps.some(e=>!hD(e)))return{type:`full`};let n=$T(e).map(({newRange:e})=>e);e.steps.forEach((t,r)=>{if(!mD(t))return;let i=e.mapping.slice(r);n.push({from:i.map(t.pos,-1),to:i.map(t.pos+1)})});let r=[];for(let e of n){let n=gD(t,e);n&&r.push(n)}r.sort((e,t)=>e.from-t.from);let i=[];for(let e of r){let t=i[i.length-1];t&&e.from<=t.to?t.to=Math.max(t.to,e.to):i.push({...e})}return{type:`ranges`,ranges:i}}function vD(e,t,n,r){return e.map(t,n,{onRemove:e=>{let t=e?.key;typeof t==`string`&&r.delete(t)}})}function yD(e,t,n){let r=t.decorationSetsByExtension[e]??vS.empty,i=new Set(t.widgetKeysByExtension[e]??[]);return{set:vD(r,n.mapping,n.doc,i),widgetKeys:i}}function bD(e,t){let n=Object.values(t).flatMap(e=>e.find());return vS.create(e,n)}function xD(e){let t=new Set;for(let n of Object.values(e))for(let e of n)t.add(e);return t}function SD(e,t){switch(t.update??`document`){case`document`:if(t.createInRange)throw Error(`[tiptap error]: Extension "${e}" provides createInRange() but does not use the "changedRanges" decoration update strategy.`);return;case`changedRanges`:if(!t.createInRange)throw Error(`[tiptap error]: Extension "${e}" uses the "changedRanges" decoration update strategy but does not provide createInRange().`);return;case`manual`:if(t.createInRange)throw Error(`[tiptap error]: Extension "${e}" uses the "manual" decoration update strategy, which is not compatible with createInRange(). createInRange() requires the "changedRanges" strategy.`);if(t.shouldUpdate)throw Error(`[tiptap error]: Extension "${e}" cannot combine the "manual" decoration update strategy with shouldUpdate().`);return;default:throw Error(`[tiptap error]: Extension "${e}" uses an unknown decoration update strategy. Expected "document", "changedRanges", or "manual".`)}}function CD(e,t,n){return n?!0:e.update===`manual`?!1:e.shouldUpdate?e.shouldUpdate(t):t.tr.docChanged}var wD=new Set,TD=class{constructor(e){this.warnedWidgetKeys=new Set,this.warnedOutOfRangeExtensions=new Set,this.handleBeforeTransaction=({nextState:e})=>{let t=ZE.getState(e);t&&this.warnDuplicateWidgetKeys(t)},this.editor=e.editor,this.entries=this.resolveEntries(e.entries),this.entries.forEach(({name:e,spec:t})=>SD(e,t)),this.plugin=this.entries.length>0?this.createPlugin():null,this.editor.on(`beforeTransaction`,this.handleBeforeTransaction)}destroy(){this.editor.off(`beforeTransaction`,this.handleBeforeTransaction)}liveWidgetKeys(){return ZE.getState(this.editor.state)?.widgetKeys??wD}get mountedView(){return this.editor.isDestroyed?null:this.editor.view}resolveEntries(e){let t=[];for(let{name:n,addDecorations:r}of e){let e=r();e&&t.push({name:n,spec:e})}return t}createPlugin(){let{editor:e,entries:t}=this;return new V_({key:ZE,state:{init:(e,n)=>{let r={},i={};for(let{name:e,spec:a}of t){let{set:t,widgetKeys:o}=this.buildFullSet(e,a,n);r[e]=t,i[e]=o}let a={decorationSetsByExtension:r,widgetKeysByExtension:i,mergedDecorationSet:this.buildMergedSet(n.doc,r),widgetKeys:xD(i)};return this.warnDuplicateWidgetKeys(a),a},apply:(n,r,i,a)=>{let o=n.getMeta(ZE),s=o?.type===`force`&&!o.name,c=o?.type===`force`?o.name:void 0,l={},u={},d=new Set;return rD(e,()=>{for(let{name:o,spec:f}of t){let t=s||c===o;if(!CD(f,{editor:e,tr:n,oldState:i,newState:a},t)){let e=yD(o,r,n);l[o]=e.set,u[o]=e.widgetKeys}else if(f.update===`changedRanges`&&n.docChanged&&!t){let e=this.applyChangedRangesRecompute(o,f,r,n,a);l[o]=e.set,u[o]=e.widgetKeys,d.add(o)}else{let{set:e,widgetKeys:t}=this.buildFullSet(o,f,a);l[o]=e,u[o]=t,d.add(o)}}}),d.size===0&&!n.docChanged?r:{decorationSetsByExtension:l,widgetKeysByExtension:u,mergedDecorationSet:this.mergeAfterApply({entries:t,previous:r,tr:n,decorationSetsByExtension:l,recomputedNames:d}),widgetKeys:xD(u)}}},props:{decorations(e){return ZE.getState(e)?.mergedDecorationSet??vS.empty}}})}applyChangedRangesRecompute(e,t,n,r,i){let a=_D(r,i.doc);return a.type===`full`?this.buildFullSet(e,t,i):this.rebuildRanges(e,t,n,r,i,a.ranges)}rebuildRanges(e,t,n,r,i,a){let o=n.decorationSetsByExtension[e]??vS.empty,s=new Set(n.widgetKeysByExtension[e]??[]),c=vD(o,r.mapping,r.doc,s),l=i.doc.content.size;for(let{from:n,to:r}of a){let a=c.find(n,r).filter(e=>uD({position:e.from,from:n,to:r,docSize:l}));for(let e of a){let t=fD(e);t&&s.delete(t)}c=c.remove(a);let{decorations:o,widgetKeys:u}=cD(dD({decorations:this.runCreate(e,`createInRange`,()=>t.createInRange({editor:this.editor,state:i,view:this.mountedView,from:n,to:r})),from:n,to:r,docSize:l,extensionName:e,warnedExtensions:this.warnedOutOfRangeExtensions}),e);c=c.add(i.doc,o);for(let e of u)s.add(e)}return{set:c,widgetKeys:s}}buildFullSet(e,t,n){let r=this.runCreate(e,`create`,()=>t.create({editor:this.editor,state:n,view:this.mountedView}));return lD(n.doc,r,e)}runCreate(e,t,n){try{return n()}catch(n){return console.error(`[tiptap error]: Extension "${e}" threw in \`addDecorations().${t}()\`. Its decorations were dropped for this update.`,n),[]}}warnDuplicateWidgetKeys(e){if(!oD)return;if(e.widgetKeys.size===0){this.warnedWidgetKeys.clear();return}let t=pD(e.mergedDecorationSet),n=new Set(t.map(({key:e})=>e));for(let{key:e,extensions:n}of t){if(this.warnedWidgetKeys.has(e))continue;let t=Array.from(n).map(e=>`"${e}"`).join(`, `);console.warn(`[tiptap warn]: Duplicate widget decoration key "${e}" in extension${n.size===1?``:`s`} ${t}. Widget decoration keys must be globally unique, otherwise ProseMirror misplaces the widget DOM. Use a stable, unique key (e.g. \`comment-\${id}\`).`)}this.warnedWidgetKeys=n}buildMergedSet(e,t){let n=Object.keys(t);return n.length===1?t[n[0]]:bD(e,t)}mergeAfterApply({entries:e,previous:t,tr:n,decorationSetsByExtension:r,recomputedNames:i}){return e.length===1?r[e[0].name]:i.size===0?t.mergedDecorationSet.map(n.mapping,n.doc):bD(n.doc,r)}};function ED(e,t){if(e===t)return!0;if(!e||!t)return!1;let n=Object.keys(e),r=Object.keys(t);return n.length===r.length&&n.every(n=>Object.prototype.hasOwnProperty.call(t,n)&&Object.is(e[n],t[n]))}function DD(e,t){let{selection:n}=e,{$from:r}=n;if(n instanceof X){let e=r.index();return r.parent.canReplaceWith(e,e+1,t)}let i=r.depth;for(;i>=0;){let e=r.index(i);if(r.node(i).contentMatchAt(e).matchType(t))return!0;--i}return!1}function OD(e,t,n){let r=document.querySelector(`style[data-tiptap-style${n?`-${n}`:``}]`);if(r!==null)return r;let i=document.createElement(`style`);return t&&i.setAttribute(`nonce`,t),i.setAttribute(`data-tiptap-style${n?`-${n}`:``}`,``),i.innerHTML=e,document.getElementsByTagName(`head`)[0].appendChild(i),i}function kD(e){return e.replace(/[-/\\^$*+?.()|[\]{}]/g,`\\$&`)}var AD={lt:`<`,gt:`>`,quot:`"`,amp:`&`};function jD(e){return e.replace(/&(?:#(\d{1,7})|#[xX]([0-9a-fA-F]{1,6})|(lt|gt|quot|amp));/g,(e,t,n,r)=>t===void 0?n===void 0?AD[r]:ND(parseInt(n,16)):ND(Number(t)))}var MD=new Map([[128,8364],[130,8218],[131,402],[132,8222],[133,8230],[134,8224],[135,8225],[136,710],[137,8240],[138,352],[139,8249],[140,338],[142,381],[145,8216],[146,8217],[147,8220],[148,8221],[149,8226],[150,8211],[151,8212],[152,732],[153,8482],[154,353],[155,8250],[156,339],[158,382],[159,376]]);function ND(e){return e===0||e>1114111||e>=55296&&e<=57343?`�`:String.fromCodePoint(MD.get(e)??e)}function PD(e){return e.replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`)}function FD(e){return typeof e==`number`}function ID(e){return Object.prototype.toString.call(e).slice(8,-1)}function LD(e){return ID(e)===`Object`&&e.constructor===Object&&Object.getPrototypeOf(e)===Object.prototype}function RD(e){return typeof e==`string`&&e.trim().length>0&&!/[;{}]/.test(e)}function zD(e){return/\s/.test(e)}function BD(e){return/^[a-zA-Z]$/.test(e)}function VD(e){return/^\w$/.test(e)}function HD(e,t){for(;t<e.length&&zD(e[t]);)t+=1;return t}function UD(e,t){for(;t<e.length&&!zD(e[t]);)t+=1;return t}function WD(e,t,n){for(;t<e.length&&(VD(e[t])||n&&e[t]===`-`);)t+=1;return t}function GD(e,t){let n=e[t],r=t+1,i=WD(e,r,!0);return i===r?{nextIndex:UD(e,i)}:{token:{type:n===`.`?`class`:`id`,name:e.slice(r,i)},nextIndex:UD(e,i)}}function KD(e,t){let n=e.indexOf(e[t],t+1);return{nextIndex:UD(e,n===-1?t:n+1)}}function qD(e,t,n,r){let i=r?HD(e,n):n;if(e[i]!==`=`)return;i=r?HD(e,i+1):i+1;let a=e[i];if(a!==`"`&&a!==`'`)return;let o=e.indexOf(a,i+1);if(o!==-1)return{token:{type:`keyValue`,name:t,value:e.slice(i+1,o)},nextIndex:UD(e,o+1)}}function JD(e,t,n){let r=n===`pandoc`,i=WD(e,t+1,r),a=e.slice(t,i),o=qD(e,a,i,r);if(o)return o;let s=i===e.length||zD(e[i]);return{token:r&&s?{type:`boolean`,name:a}:void 0,nextIndex:n===`shortcode`?UD(e,i):i}}function YD(e,t,n){let r=e[t];return n===`pandoc`&&(r===`.`||r===`#`)?GD(e,t):r===`"`||r===`'`?KD(e,t):(n===`pandoc`?BD(r):VD(r))?JD(e,t,n):{nextIndex:UD(e,t)}}function XD(e,t){let n=[],r=0;for(;r<e.length&&(r=HD(e,r),!(r>=e.length));){let i=YD(e,r,t);i.token&&n.push(i.token),r=i.nextIndex}return n}function ZD(e){let t={};return XD(e,`shortcode`).forEach(e=>{e.type===`keyValue`&&(t[e.name]=e.value)}),t}function QD(e){return Object.entries(e).filter(([,e])=>e!=null).map(([e,t])=>`${e}="${t}"`).join(` `)}function $D(e){let{nodeName:t,name:n,getContent:r,parseAttributes:i=ZD,serializeAttributes:a=QD,defaultAttributes:o={},selfClosing:s=!1,allowedAttributes:c}=e,l=n||t,u=e=>{if(!c)return e;let t={};return c.forEach(n=>{let r=typeof n==`string`?n:n.name,i=typeof n==`string`?void 0:n.skipIfDefault;if(r in e){let n=e[r];if(i!==void 0&&n===i)return;t[r]=n}}),t},d=l.replace(/[.*+?^${}()|[\]\\]/g,`\\$&`);return{parseMarkdown:(e,n)=>{let i={...o,...e.attributes};if(s)return n.createNode(t,i);let a=r?r(e):e.content||``;return a?n.createNode(t,i,[n.createTextNode(a)]):n.createNode(t,i,[])},markdownTokenizer:{name:t,level:`inline`,start(e){let t=RegExp(s?`\\[${d}\\s*[^\\]]*\\]`:`\\[${d}\\s*[^\\]]*\\][\\s\\S]*?\\[\\/${d}\\]`),n=e.match(t)?.index;return n===void 0?-1:n},tokenize(e,n,r){let a=RegExp(s?`^\\[${d}\\s*([^\\]]*)\\]`:`^\\[${d}\\s*([^\\]]*)\\]([\\s\\S]*?)\\[\\/${d}\\]`),o=e.match(a);if(!o)return;let c=``,l=``;if(s){let[,e]=o;l=e}else{let[,e,t]=o;l=e,c=t||``}let u=i(l.trim());return{type:t,raw:o[0],content:c.trim(),attributes:u}}},renderMarkdown:e=>{let t=``;r?t=r(e):e.content&&e.content.length>0&&(t=e.content.filter(e=>e.type===`text`).map(e=>e.text).join(``));let n=u(e.attrs||{}),i=a(n),o=i?` ${i}`:``;return s?`[${l}${o}]`:`[${l}${o}]${t}[/${l}]`}}}function eO(e,t,n){let r=e.split(`
|
|
18
|
+
`),i=[],a=``,o=0,s=t.baseIndentSize||2;for(;o<r.length;){let e=r[o],u=e.match(t.itemPattern);if(!u){if(i.length>0)break;if(e.trim()===``){o+=1,a=`${a}${e}\n`;continue}return}let d=t.extractItemData(u),{indentLevel:f,mainContent:p}=d;a=`${a}${e}\n`;let m=[p];for(o+=1;o<r.length;){var c;let e=r[o];if(e.trim()===``){var l;let t=r.slice(o+1).findIndex(e=>e.trim()!==``);if(t===-1)break;if((((l=r[o+1+t].match(/^(\s*)/))==null||(l=l[1])==null?void 0:l.length)||0)>f){m.push(e),a=`${a}${e}\n`,o+=1;continue}break}if((((c=e.match(/^(\s*)/))==null||(c=c[1])==null?void 0:c.length)||0)>f)m.push(e),a=`${a}${e}\n`,o+=1;else break}let h,g=m.slice(1);if(g.length>0){let e=g.map(e=>e.slice(f+s)).join(`
|
|
19
|
+
`);e.trim()&&(h=t.customNestedParser?t.customNestedParser(e):n.blockTokens(e))}let _=t.createToken(d,h);i.push(_)}if(i.length!==0)return{items:i,raw:a}}var tO=4;function nO(e){let t=0;for(let n of e)t=n===` `?t+tO-t%tO:t+1;return t}function rO(e,t,n,r,i){if(!e||!Array.isArray(e.content))return``;let a=typeof n==`function`?n(r):n,[o,...s]=e.content,c=`${a}${t.renderChildren([o])}`;return s&&s.length>0&&s.forEach((e,n)=>{let r=t.renderChild?.call(t,e,n+1)??t.renderChildren([e]);if(r!=null){let n=e=>{if(!i?.alignNestedToPrefix)return t.indent(e);let n=t.indent(``),r=nO(a);return(nO(n)>=r?n:` `.repeat(r))+e},o=r.split(`
|
|
20
|
+
`).map(e=>n(e||``)).join(`
|
|
21
|
+
`);c+=e.type===`paragraph`?`\n\n${o}`:`\n${o}`}}),c}function iO(e){return typeof e.type==`string`?e.type:e.type.name}function aO(e,t){if(e.length!==t.length)return!1;let n=Array.from({length:t.length},()=>!1);return e.every(e=>{let r=iO(e),i=t.findIndex((t,i)=>!n[i]&&r===iO(t)&&ED(e.attrs,t.attrs));return i!==-1&&(n[i]=!0,!0)})}function oO(e,t){let n={...e};return LD(e)&&LD(t)&&Object.keys(t).forEach(r=>{LD(t[r])&&LD(e[r])?n[r]=oO(e[r],t[r]):n[r]=t[r]}),n}function sO(e,t,n={}){let{state:r}=t,{doc:i,tr:a}=r,o=e;i.descendants((t,r)=>{let i=a.mapping.map(r),s=a.mapping.map(r)+t.nodeSize,c=null;if(t.marks.forEach(e=>{if(e!==o)return!1;c=e}),!c)return;let l=!1;if(Object.keys(n).forEach(e=>{n[e]!==c.attrs[e]&&(l=!0)}),l){let t=e.type.create({...e.attrs,...n});a.removeMark(i,s,e.type),a.addMark(i,s,t)}}),a.docChanged&&t.view.dispatch(a)}var cO=class{constructor(e){this.find=e.find,this.handler=e.handler,this.undoable=e.undoable??!0}},lO=(e,t)=>{if(uw(t))return t.exec(e);let n=t(e);if(!n)return null;let r=[n.text];return r.index=n.index,r.input=e,r.data=n.data,n.replaceWith&&(n.text.includes(n.replaceWith)||console.warn(`[tiptap warn]: "inputRuleMatch.replaceWith" must be part of "inputRuleMatch.text".`),r.push(n.replaceWith)),r};function uO(e){let{editor:t,from:n,to:r,text:i,insertText:a}=e;if(!a)return{inputTransaction:null,tr:t.view.state.tr};let o=t.view.state.tr.insertText(i,n,r);return{inputTransaction:o,tr:z_.create({doc:o.doc,selection:o.selection,storedMarks:o.storedMarks}).tr}}function dO(e){let{editor:t,from:n,to:r,text:i,rule:a,match:o,plugin:s,insertText:c}=e,{view:l}=t,{inputTransaction:u,tr:d}=uO({editor:t,from:n,to:r,text:i,insertText:c}),f=u?n+i.length:r,p=KC({state:l.state,transaction:d}),m={from:n-(o[0].length-i.length),to:f},{commands:h,chain:g,can:_}=new qC({editor:t,state:p});return a.handler({state:p,range:m,match:o,commands:h,chain:g,can:_})===null||!d.steps.length?!1:(u&&(l.dispatch(u),!l.state.doc.eq(u.doc))||(RC(d),d.setMeta(`inputRule`,!0),a.undoable&&d.setMeta(s,{transform:d,from:n,to:f,text:i}),l.dispatch(d)),!0)}function fO(e,t,n){let r=t[0].length-n.length;if(r<=0)return!0;let i=e.parentOffset-r;return i>=0&&e.parent.textBetween(i,e.parentOffset)===t[0].slice(0,r)}function pO(e){let{editor:t,from:n,to:r,text:i,rules:a,plugin:o,insertText:s}=e,{view:c}=t;if(c.composing)return!1;let l=c.state.doc.resolve(n);if(l.parent.type.spec.code||(l.nodeBefore||l.nodeAfter)?.marks.find(e=>e.type.spec.code))return!1;let u=aE(l)+i;for(let e of a){let a=lO(u,e.find);if(a&&fO(l,a,i)&&dO({editor:t,from:n,to:r,text:i,rule:e,match:a,plugin:o,insertText:s}))return!0}return!1}function mO(e){let{editor:t,rules:n}=e,r=new V_({state:{init(){return null},apply(e,i,a){let o=e.getMeta(r);if(o)return o;let s=e.getMeta(`applyInputRules`);return s&&setTimeout(()=>{let{text:e}=s;e=typeof e==`string`?e:_T(G.from(e),a.schema);let{from:i}=s,o=i+e.length;pO({editor:t,from:i,to:o,text:e,rules:n,plugin:r})}),e.selectionSet||e.docChanged?null:i}},props:{handleTextInput(e,i,a,o){return pO({editor:t,from:i,to:a,text:o,rules:n,plugin:r,insertText:!0})},handleDOMEvents:{compositionend:e=>(setTimeout(()=>{let{$cursor:i}=e.state.selection;i&&pO({editor:t,from:i.pos,to:i.pos,text:``,rules:n,plugin:r})}),!1)},handleKeyDown(e,i){if(i.key!==`Enter`)return!1;let{$cursor:a}=e.state.selection;return a?pO({editor:t,from:a.pos,to:a.pos,text:`
|
|
22
|
+
`,rules:n,plugin:r}):!1}},isInputRules:!0});return r}var hO=class{constructor(e={}){this.type=`extendable`,this.parent=null,this.child=null,this.name=``,this.config={name:this.name},this.config={...this.config,...e},this.name=this.config.name}get options(){return{...$(Q(this,`addOptions`,{name:this.name}))}}get storage(){return{...$(Q(this,`addStorage`,{name:this.name,options:this.options}))}}configure(e={}){let t=this.extend({...this.config,addOptions:()=>oO(this.options,e)});return t.name=this.name,t.parent=this.parent,this.child=null,t}extend(e={}){let t=new this.constructor({...this.config,...e});return t.parent=this,this.child=t,t.name=`name`in e?e.name:t.parent.name,t}},gO=class e extends hO{constructor(...e){super(...e),this.type=`mark`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}static handleExit({editor:e,mark:t}){let{tr:n}=e.state,r=e.state.selection.$from;if(r.pos===r.end()){let i=r.marks();if(!i.find(e=>e?.type.name===t.name))return!1;let a=i.find(e=>e?.type.name===t.name);return a&&n.removeStoredMark(a),n.insertText(` `,r.pos),e.view.dispatch(n),!0}return!1}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}},_O=class{constructor(e){this.find=e.find,this.handler=e.handler}},vO=(e,t,n)=>{if(uw(t))return[...e.matchAll(t)];let r=t(e,n);return r?r.map(t=>{let n=[t.text];return n.index=t.index,n.input=e,n.data=t.data,t.replaceWith&&(t.text.includes(t.replaceWith)||console.warn(`[tiptap warn]: "pasteRuleMatch.replaceWith" must be part of "pasteRuleMatch.text".`),n.push(t.replaceWith)),n}):[]};function yO(e){let{editor:t,state:n,from:r,to:i,rule:a,pasteEvent:o,dropEvent:s}=e,{commands:c,chain:l,can:u}=new qC({editor:t,state:n}),d=[];return n.doc.nodesBetween(r,i,(e,t)=>{var f;if((f=e.type)!=null&&(f=f.spec)!=null&&f.code||!(e.isText||e.isTextblock||e.isInline))return;let p=e.content?.size??e.nodeSize??0,m=Math.max(r,t),h=Math.min(i,t+p);m>=h||vO(e.isText?e.text||``:e.textBetween(m-t,h-t,void 0,``),a.find,o).forEach(e=>{if(e.index===void 0)return;let t=m+e.index+1,r=t+e[0].length,i={from:n.tr.mapping.map(t),to:n.tr.mapping.map(r)},f=a.handler({state:n,range:i,match:e,commands:c,chain:l,can:u,pasteEvent:o,dropEvent:s});d.push(f)})}),d.every(e=>e!==null)}var bO=null,xO=e=>{var t;let n=new ClipboardEvent(`paste`,{clipboardData:new DataTransfer});return(t=n.clipboardData)==null||t.setData(`text/html`,e),n};function SO(e){let{editor:t,rules:n}=e,r=null,i=!1,a=!1,o=typeof ClipboardEvent<`u`?new ClipboardEvent(`paste`):null,s;try{s=typeof DragEvent<`u`?new DragEvent(`drop`):null}catch{s=null}let c=({state:e,from:n,to:r,rule:i,pasteEvt:a})=>{let c=e.tr,l=KC({state:e,transaction:c});if(yO({editor:t,state:l,from:Math.max(n-1,0),to:r.b-1,rule:i,pasteEvent:a,dropEvent:s})&&c.steps.length){try{s=typeof DragEvent<`u`?new DragEvent(`drop`):null}catch{s=null}return o=typeof ClipboardEvent<`u`?new ClipboardEvent(`paste`):null,c}};return t.on(`destroy`,()=>{bO===t&&(bO=null)}),n.map(e=>new V_({view(e){let n=n=>{r=e.dom.parentElement?.contains(n.target)?e.dom.parentElement:null,r&&(bO=t)},i=()=>{bO&&=null};return window.addEventListener(`dragstart`,n),window.addEventListener(`dragend`,i),{destroy(){window.removeEventListener(`dragstart`,n),window.removeEventListener(`dragend`,i)}}},props:{handleDOMEvents:{drop:(e,t)=>{if(a=r===e.dom.parentElement,s=t,!a){let e=bO;e?.isEditable&&setTimeout(()=>{if(e.isDestroyed)return;let t=e.state.selection;t&&e.commands.deleteRange({from:t.from,to:t.to})},10)}return!1},paste:(e,t)=>{let n=t.clipboardData?.getData(`text/html`);return o=t,i=!!n?.includes(`data-pm-slice`),!1}}},appendTransaction:(t,n,r)=>{let s=t[0],l=s.getMeta(`uiEvent`)===`paste`&&!i,u=s.getMeta(`uiEvent`)===`drop`&&!a,d=s.getMeta(`applyPasteRules`),f=!!d;if(!l&&!u&&!f)return;if(f){let{text:t}=d;t=typeof t==`string`?t:_T(G.from(t),r.schema);let{from:n}=d,i=n+t.length,a=xO(t);return c({rule:e,state:r,from:n,to:{b:i},pasteEvt:a})}let p=n.doc.content.findDiffStart(r.doc.content),m=n.doc.content.findDiffEnd(r.doc.content);if(FD(p)&&m&&p!==m.b)return c({rule:e,state:r,from:p,to:m,pasteEvt:o})}}))}var CO=class{constructor(e,t){this.splittableMarks=[],this.nonClearableMarks=[],this.decorationManager=null,this.editor=t,this.baseExtensions=e,this.extensions=VT(e),this.hasSchemaSpec=t.options.schemaSpec!==void 0,this.schema=zT(this.extensions,t,t.options.schemaSpec),this.setupExtensions()}get commands(){return this.extensions.reduce((e,t)=>{let n=Q(t,`addCommands`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:this.editor,type:rE(t.name,this.schema)});return n?{...e,...n()}:e},{})}get plugins(){let{editor:e}=this,t=BT([...this.extensions].reverse()).flatMap(t=>{let n={name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:rE(t.name,this.schema)},r=[],i=Q(t,`addKeyboardShortcuts`,n),a={};if(t.type===`mark`&&Q(t,`exitable`,n)&&(a.ArrowRight=()=>gO.handleExit({editor:e,mark:t})),i){let t=Object.fromEntries(Object.entries(i()).map(([t,n])=>[t,()=>n({editor:e})]));a={...a,...t}}let o=vC(a);r.push(o);let s=Q(t,`addInputRules`,n);if(uE(t,e.options.enableInputRules)&&s){let t=s();if(t&&t.length){let n=mO({editor:e,rules:t}),i=Array.isArray(n)?n:[n];r.push(...i)}}let c=Q(t,`addPasteRules`,n);if(uE(t,e.options.enablePasteRules)&&c){let t=c();if(t&&t.length){let n=SO({editor:e,rules:t});r.push(...n)}}let l=Q(t,`addProseMirrorPlugins`,n);if(l){let e=l();r.push(...e)}return r}),n=this.createDecorationPlugin();return n&&t.push(n),t}createDecorationPlugin(){var e;let{editor:t}=this;(e=this.decorationManager)==null||e.destroy();let n=[];return this.extensions.forEach(e=>{let r=Q(e,`addDecorations`,{name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:t,type:rE(e.name,this.schema)});r&&n.push({name:e.name,addDecorations:r})}),this.decorationManager=new TD({editor:t,entries:n}),this.decorationManager.plugin}get attributes(){let e=DT(this.extensions);return this.hasSchemaSpec?vT(e,this.schema):e}get nodeViews(){let{editor:e}=this,{nodeExtensions:t}=ET(this.extensions);return Object.fromEntries(t.filter(e=>!!Q(e,`addNodeView`)).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),r=Q(t,`addNodeView`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:tw(t.name,this.schema)});if(!r)return[];let i=r();return i?[t.name,(r,a,o,s,c)=>{let l=NT(r,n);return i({node:r,view:a,getPos:o,decorations:s,innerDecorations:c,editor:e,extension:t,HTMLAttributes:l})}]:[]}))}dispatchTransaction(e){let{editor:t}=this;return BT([...this.extensions].reverse()).reduceRight((e,n)=>{let r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:rE(n.name,this.schema)},i=Q(n,`dispatchTransaction`,r);return i?t=>{i.call(r,{transaction:t,next:e})}:e},e)}transformPastedHTML(e){let{editor:t}=this;return BT([...this.extensions]).reduce((e,n)=>{let r={name:n.name,options:n.options,storage:this.editor.extensionStorage[n.name],editor:t,type:rE(n.name,this.schema)},i=Q(n,`transformPastedHTML`,r);return i?(t,n)=>{let a=e(t,n);return i.call(r,a)}:e},e||(e=>e))}get markViews(){let{editor:e}=this,{markExtensions:t}=ET(this.extensions);return Object.fromEntries(t.filter(e=>!!Q(e,`addMarkView`)).map(t=>{let n=this.attributes.filter(e=>e.type===t.name),r=Q(t,`addMarkView`,{name:t.name,options:t.options,storage:this.editor.extensionStorage[t.name],editor:e,type:hw(t.name,this.schema)});return r?[t.name,(i,a,o)=>{let s=NT(i,n);return r()({mark:i,view:a,inline:o,editor:e,extension:t,HTMLAttributes:s,updateAttributes:t=>{sO(i,e,t)}})}]:[]}))}destroy(){var e;(e=this.decorationManager)==null||e.destroy(),this.extensions.forEach(e=>{let t=e;for(;t.parent;){let e=t.parent;e.child===t&&(e.child=null),t=e}}),this.extensions=[],this.baseExtensions=[],this.decorationManager=null,this.schema=null,this.editor=null}setupExtensions(){let e=this.extensions;this.editor.extensionStorage=Object.fromEntries(e.map(e=>[e.name,e.storage])),e.forEach(e=>{let t={name:e.name,options:e.options,storage:this.editor.extensionStorage[e.name],editor:this.editor,type:rE(e.name,this.schema)};e.type===`mark`&&(($(Q(e,`keepOnSplit`,t))??!0)&&this.splittableMarks.push(e.name),($(Q(e,`clearable`,t))??!0)||this.nonClearableMarks.push(e.name));let n=Q(e,`onBeforeCreate`,t),r=Q(e,`onCreate`,t),i=Q(e,`onUpdate`,t),a=Q(e,`onSelectionUpdate`,t),o=Q(e,`onTransaction`,t),s=Q(e,`onFocus`,t),c=Q(e,`onBlur`,t),l=Q(e,`onDestroy`,t);n&&this.editor.on(`beforeCreate`,n),r&&this.editor.on(`create`,r),i&&this.editor.on(`update`,i),a&&this.editor.on(`selectionUpdate`,a),o&&this.editor.on(`transaction`,o),s&&this.editor.on(`focus`,s),c&&this.editor.on(`blur`,c),l&&this.editor.on(`destroy`,l)})}};CO.resolve=VT,CO.sort=BT,CO.flatten=gT;var wO=class e extends hO{constructor(...e){super(...e),this.type=`extension`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}},TO=wO.create({name:`clipboardTextSerializer`,addOptions(){return{blockSeparator:void 0}},addProseMirrorPlugins(){return[new V_({key:new W_(`clipboardTextSerializer`),props:{clipboardTextSerializer:()=>{let{editor:e}=this,{state:t,schema:n}=e,{doc:r,selection:i}=t,a=qT(n),{blockSeparator:o}=this.options,s={...o===void 0?{}:{blockSeparator:o},textSerializers:a};return[...i.ranges].sort((e,t)=>e.$from.pos-t.$from.pos).map(({$from:e,$to:t})=>GT(r,{from:e.pos,to:t.pos},s)).join(o??`
|
|
23
|
+
|
|
24
|
+
`)}}})]}}),EO=wO.create({name:`commands`,addCommands(){return{...tD}}}),DO=wO.create({name:`delete`,onUpdate({transaction:e,appendedTransactions:t}){var n;let r=()=>{var n,r;if(((n=this.editor.options.coreExtensionOptions)==null||(n=n.delete)==null||(r=n.filterTransaction)==null?void 0:r.call(n,e))??e.getMeta(`y-sync$`))return;let i=fT(e.before,[e,...t]);$T(i).forEach(t=>{i.mapping.mapResult(t.oldRange.from).deletedAfter&&i.mapping.mapResult(t.oldRange.to).deletedBefore&&i.before.nodesBetween(t.oldRange.from,t.oldRange.to,(n,r)=>{let a=r+n.nodeSize-2,o=t.oldRange.from<=r&&a<=t.oldRange.to;this.editor.emit(`delete`,{type:`node`,node:n,from:r,to:a,newFrom:i.mapping.map(r),newTo:i.mapping.map(a),deletedRange:t.oldRange,newRange:t.newRange,partial:!o,editor:this.editor,transaction:e,combinedTransform:i})})});let a=i.mapping;i.steps.forEach((t,n)=>{if(t instanceof wg){let r=a.slice(n).map(t.from,-1),o=a.slice(n).map(t.to),s=a.invert().map(r,-1),c=a.invert().map(o),l=r>0&&i.doc.nodeAt(r-1)?.marks.some(e=>e.eq(t.mark)),u=i.doc.nodeAt(o)?.marks.some(e=>e.eq(t.mark));this.editor.emit(`delete`,{type:`mark`,mark:t.mark,from:t.from,to:t.to,deletedRange:{from:s,to:c},newRange:{from:r,to:o},partial:!!(u||l),editor:this.editor,transaction:e,combinedTransform:i})}})};((n=this.editor.options.coreExtensionOptions)==null||(n=n.delete)==null?void 0:n.async)??!0?setTimeout(r,0):r()}}),OO=wO.create({name:`drop`,addProseMirrorPlugins(){return[new V_({key:new W_(`tiptapDrop`),props:{handleDrop:(e,t,n,r)=>{this.editor.emit(`drop`,{editor:this.editor,event:t,slice:n,moved:r})}}})]}}),kO=wO.create({name:`editable`,addProseMirrorPlugins(){return[new V_({key:new W_(`editable`),props:{editable:()=>this.editor.options.editable}})]}}),AO=new W_(`focusEvents`),jO=wO.create({name:`focusEvents`,addProseMirrorPlugins(){let{editor:e}=this;return[new V_({key:AO,props:{handleDOMEvents:{focus:(t,n)=>{e.isFocused=!0;let r=e.state.tr.setMeta(`focus`,{event:n}).setMeta(`addToHistory`,!1);return t.dispatch(r),!1},blur:(t,n)=>{e.isFocused=!1;let r=e.state.tr.setMeta(`blur`,{event:n}).setMeta(`addToHistory`,!1);return t.dispatch(r),!1}}}})]}}),MO=wO.create({name:`keymap`,addKeyboardShortcuts(){let e=()=>this.editor.commands.first(({commands:e})=>[()=>e.undoInputRule(),()=>e.command(({tr:t})=>{let{selection:n,doc:r}=t,{empty:i,$anchor:a}=n,{pos:o,parent:s}=a,c=a.parent.isTextblock&&o>0?t.doc.resolve(o-1):a,l=c.parent.type.spec.isolating,u=a.pos-a.parentOffset,d=l&&c.parent.childCount===1?u===a.pos:J.atStart(r).from===o;return!i||!s.type.isTextblock||s.textContent.length||!d||d&&a.parent.type.name===`paragraph`?!1:e.clearNodes()}),()=>e.deleteSelection(),()=>e.joinBackward(),()=>e.selectNodeBackward()]),t=()=>this.editor.commands.first(({commands:e})=>[()=>e.deleteSelection(),()=>e.deleteCurrentNode(),()=>e.joinForward(),()=>e.selectNodeForward()]),n={Enter:()=>this.editor.commands.first(({commands:e})=>[()=>e.newlineInCode(),()=>e.createParagraphNear(),()=>e.liftEmptyBlock(),()=>e.splitBlock()]),"Mod-Enter":()=>this.editor.commands.exitCode(),Backspace:e,"Mod-Backspace":e,"Shift-Backspace":e,Delete:t,"Mod-Delete":t,"Mod-a":()=>this.editor.commands.selectAll()},r={...n},i={...n,"Ctrl-h":e,"Alt-Backspace":e,"Ctrl-d":t,"Ctrl-Alt-Backspace":t,"Alt-Delete":t,"Alt-d":t,"Ctrl-a":()=>this.editor.commands.selectTextblockStart(),"Ctrl-e":()=>this.editor.commands.selectTextblockEnd()};return Sw()||Gw()?i:r},addProseMirrorPlugins(){return[new V_({key:new W_(`clearDocument`),appendTransaction:(e,t,n)=>{if(e.some(e=>e.getMeta(`composition`)))return;let r=e.some(e=>e.docChanged)&&!t.doc.eq(n.doc),i=e.some(e=>e.getMeta(`preventClearDocument`));if(!r||i)return;let{empty:a,from:o,to:s}=t.selection,c=J.atStart(t.doc).from,l=J.atEnd(t.doc).to;if(a||o!==c||s!==l||!fE(n.doc))return;let u=n.tr,d=KC({state:n,transaction:u}),{commands:f}=new qC({editor:this.editor,state:d});if(f.clearNodes(),u.steps.length)return u}})]}}),NO=wO.create({name:`paste`,addProseMirrorPlugins(){return[new V_({key:new W_(`tiptapPaste`),props:{handlePaste:(e,t,n)=>{this.editor.emit(`paste`,{editor:this.editor,event:t,slice:n})}}})]}}),PO=wO.create({name:`tabindex`,addOptions(){return{value:void 0}},addProseMirrorPlugins(){return[new V_({key:new W_(`tabindex`),props:{attributes:()=>!this.editor.isEditable&&this.options.value===void 0?{}:{tabindex:this.options.value??`0`}}})]}}),FO=wO.create({name:`textDirection`,addOptions(){return{direction:void 0}},addGlobalAttributes(){if(!this.options.direction)return[];let{nodeExtensions:e}=ET(this.extensions);return[{types:e.filter(e=>e.name!==`text`).map(e=>e.name),attributes:{dir:{default:this.options.direction,parseHTML:e=>{let t=e.getAttribute(`dir`);return t&&(t===`ltr`||t===`rtl`||t===`auto`)?t:this.options.direction},renderHTML:e=>e.dir?{dir:e.dir}:{}}}}]},addProseMirrorPlugins(){return[new V_({key:new W_(`textDirection`),props:{attributes:()=>{let e=this.options.direction;return e?{dir:e}:{}}}})]}}),IO=!1;function LO(e){if(IO)return;IO=!0;let t;try{let n=Dg.fromJSON(e,{from:0,to:0});if(!hE(n))return;t=n.slice.content}catch{return}t instanceof G||console.warn(`[tiptap warn]: prosemirror-model is loaded more than once. Wrapping and splitting nodes will fail. Deduplicate it in your lock file, or alias it to a single copy in your bundler.`)}var RO=class e{get name(){return this.node.type.name}constructor(e,t,n=!1,r=null){this.currentNode=null,this.actualDepth=null,this.isBlock=n,this.resolvedPos=e,this.editor=t,this.currentNode=r}get node(){return this.currentNode||this.resolvedPos.node()}get element(){return this.editor.view.domAtPos(this.pos).node}get depth(){return this.actualDepth??this.resolvedPos.depth}get pos(){return this.resolvedPos.pos}get content(){return this.node.content}set content(e){let t=this.from,n=this.to;if(this.isBlock){if(this.content.size===0){console.error(`You can’t set content on a block node. Tried to set content on ${this.name} at ${this.pos}`);return}t=this.from+1,n=this.to-1}this.editor.commands.insertContentAt({from:t,to:n},e)}get attributes(){return this.node.attrs}get textContent(){return this.node.textContent}get size(){return this.node.nodeSize}get from(){return this.isBlock?this.pos:this.resolvedPos.start(this.resolvedPos.depth)}get range(){return{from:this.from,to:this.to}}get to(){return this.isBlock?this.pos+this.size:this.resolvedPos.end(this.resolvedPos.depth)+ +!this.node.isText}get parent(){if(this.depth===0)return null;let t=this.resolvedPos.start(this.resolvedPos.depth-1),n=this.resolvedPos.doc.resolve(t);return new e(n,this.editor)}get before(){let t=this.resolvedPos.doc.resolve(this.from-(this.isBlock?1:2));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.from-3)),new e(t,this.editor)}get after(){let t=this.resolvedPos.doc.resolve(this.to+(this.isBlock?2:1));return t.depth!==this.depth&&(t=this.resolvedPos.doc.resolve(this.to+3)),new e(t,this.editor)}get children(){let t=[];return this.node.content.forEach((n,r)=>{let i=n.isBlock&&!n.isTextblock,a=n.isAtom&&!n.isText,o=n.isInline,s=this.pos+r+ +!a;if(s<0||s>this.resolvedPos.doc.nodeSize-2)return;let c=this.resolvedPos.doc.resolve(s);if(!i&&!o&&c.depth<=this.depth)return;let l=new e(c,this.editor,i,i||o?n:null);i&&(l.actualDepth=this.depth+1),t.push(l)}),t}get firstChild(){return this.children[0]||null}get lastChild(){let e=this.children;return e[e.length-1]||null}closest(e,t={}){let n=null,r=this.parent;for(;r&&!n;){if(r.node.type.name===e){if(Object.keys(t).length>0){let e=r.node.attrs,n=Object.keys(t);for(let r=0;r<n.length;r+=1){let i=n[r];if(e[i]!==t[i])break}}else n=r}r=r.parent}return n}querySelector(e,t={}){return this.querySelectorAll(e,t,!0)[0]||null}querySelectorAll(e,t={},n=!1){let r=[];if(!this.children||this.children.length===0)return r;let i=Object.keys(t);return this.children.forEach(a=>{n&&r.length>0||(a.node.type.name===e&&i.every(e=>t[e]===a.node.attrs[e])&&r.push(a),!(n&&r.length>0)&&(r=r.concat(a.querySelectorAll(e,t,n))))}),r}setAttribute(e){let{tr:t}=this.editor.state;t.setNodeMarkup(this.from,void 0,{...this.node.attrs,...e}),this.editor.view.dispatch(t)}},zO=`.ProseMirror {
|
|
25
|
+
position: relative;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ProseMirror {
|
|
29
|
+
word-wrap: break-word;
|
|
30
|
+
white-space: pre-wrap;
|
|
31
|
+
white-space: break-spaces;
|
|
32
|
+
-webkit-font-variant-ligatures: none;
|
|
33
|
+
font-variant-ligatures: none;
|
|
34
|
+
font-feature-settings: "liga" 0; /* the above doesn't seem to work in Edge */
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.ProseMirror [contenteditable="false"] {
|
|
38
|
+
white-space: normal;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.ProseMirror [contenteditable="false"] [contenteditable="true"] {
|
|
42
|
+
white-space: pre-wrap;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.ProseMirror pre {
|
|
46
|
+
white-space: pre-wrap;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
img.ProseMirror-separator {
|
|
50
|
+
display: inline !important;
|
|
51
|
+
border: none !important;
|
|
52
|
+
margin: 0 !important;
|
|
53
|
+
width: 0 !important;
|
|
54
|
+
height: 0 !important;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ProseMirror-gapcursor {
|
|
58
|
+
display: none;
|
|
59
|
+
pointer-events: none;
|
|
60
|
+
position: absolute;
|
|
61
|
+
margin: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.ProseMirror-gapcursor:after {
|
|
65
|
+
content: "";
|
|
66
|
+
display: block;
|
|
67
|
+
position: absolute;
|
|
68
|
+
top: -2px;
|
|
69
|
+
width: 20px;
|
|
70
|
+
border-top: 1px solid black;
|
|
71
|
+
animation: ProseMirror-cursor-blink 1.1s steps(2, start) infinite;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
@keyframes ProseMirror-cursor-blink {
|
|
75
|
+
to {
|
|
76
|
+
visibility: hidden;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.ProseMirror-hideselection *::selection {
|
|
81
|
+
background: transparent;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.ProseMirror-hideselection *::-moz-selection {
|
|
85
|
+
background: transparent;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.ProseMirror-hideselection * {
|
|
89
|
+
caret-color: transparent;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.ProseMirror-focused .ProseMirror-gapcursor {
|
|
93
|
+
display: block;
|
|
94
|
+
}`,BO=class extends aD{constructor(e={}){super(),this.css=null,this.className=`tiptap`,this.editorView=null,this.isFocused=!1,this.destroyed=!1,this.isInitialized=!1,this.extensionStorage={},this.instanceId=Math.random().toString(36).slice(2,9),this.hasWarnedStaleDecorationRead=!1,this.options={element:typeof document<`u`?document.createElement(`div`):null,content:``,injectCSS:!0,injectNonce:void 0,extensions:[],autofocus:!1,editable:!0,textDirection:void 0,editorProps:{},parseOptions:{},coreExtensionOptions:{},enableInputRules:!0,enablePasteRules:!0,enableCoreExtensions:!0,enableContentCheck:!1,emitContentError:!1,onBeforeCreate:()=>null,onCreate:()=>null,onMount:()=>null,onUnmount:()=>null,onUpdate:()=>null,onSelectionUpdate:()=>null,onTransaction:()=>null,onFocus:()=>null,onBlur:()=>null,onDestroy:()=>null,onContentError:({error:e})=>{throw e},onPaste:()=>null,onDrop:()=>null,onDelete:()=>null,enableExtensionDispatchTransaction:!0},this.isCapturingTransaction=!1,this.capturedTransaction=null,this.utils={getUpdatedPosition:_E,createMappablePosition:vE},this.setOptions(e),this.createExtensionManager(),this.createCommandManager(),this.createSchema(),this.on(`beforeCreate`,this.options.onBeforeCreate),this.emit(`beforeCreate`,{editor:this}),this.on(`mount`,this.options.onMount),this.on(`unmount`,this.options.onUnmount),this.on(`contentError`,this.options.onContentError),this.on(`create`,this.options.onCreate),this.on(`update`,this.options.onUpdate),this.on(`selectionUpdate`,this.options.onSelectionUpdate),this.on(`transaction`,this.options.onTransaction),this.on(`focus`,this.options.onFocus),this.on(`blur`,this.options.onBlur),this.on(`destroy`,this.options.onDestroy),this.on(`drop`,({event:e,slice:t,moved:n})=>this.options.onDrop(e,t,n)),this.on(`paste`,({event:e,slice:t})=>this.options.onPaste(e,t)),this.on(`delete`,this.options.onDelete);let t=this.createDoc();if(!this.editorState){let e=bw(t,this.options.autofocus);this.editorState=z_.create({doc:t,schema:this.schema,selection:e||void 0})}LO(this.schema),this.options.element&&this.mount(this.options.element)}mount(e){if(typeof document>`u`)throw Error(`[tiptap error]: The editor cannot be mounted because there is no 'document' defined in this environment.`);this.createView(e),this.emit(`mount`,{editor:this}),this.css&&!document.head.contains(this.css)&&document.head.appendChild(this.css),window.setTimeout(()=>{this.isDestroyed||(this.options.autofocus!==!1&&this.options.autofocus!==null&&this.commands.focus(this.options.autofocus),this.emit(`create`,{editor:this}),this.isInitialized=!0)},0)}unmount(){if(this.editorView){this.editorState=this.editorView.state;let e=this.editorView.dom;e?.editor&&delete e.editor,this.editorView.destroy()}if(this.editorView=null,this.isInitialized=!1,this.css&&!document.querySelectorAll(`.${this.className}`).length)try{typeof this.css.remove==`function`?this.css.remove():this.css.parentNode&&this.css.parentNode.removeChild(this.css)}catch(e){console.warn(`Failed to remove CSS element:`,e)}this.css=null,this.emit(`unmount`,{editor:this})}get storage(){return this.extensionStorage}get commands(){return this.commandManager.commands}chain(){return this.commandManager?this.commandManager.chain():qC.createFakeChain()}can(){return this.commandManager?this.commandManager.can():qC.createFallbackCan()}injectCSS(){this.options.injectCSS&&typeof document<`u`&&(this.css=OD(zO,this.options.injectNonce))}setOptions(e={}){this.options={...this.options,...e},this.editorView&&this.state&&!this.isDestroyed&&(this.options.editorProps&&this.view.setProps({...this.options.editorProps,attributes:this.getEditorViewAttributes()}),this.view.updateState(this.state))}setEditable(e,t=!0){this.setOptions({editable:e}),t&&this.emit(`update`,{editor:this,transaction:this.state.tr,appendedTransactions:[]})}get isEditable(){return this.options.editable&&this.view&&this.view.editable}get view(){return this.editorView?this.editorView:new Proxy({state:this.editorState,updateState:e=>{this.editorState=e},dispatch:e=>{this.dispatchTransaction(e)},composing:!1,dragging:null,editable:!0,isDestroyed:!1},{get:(e,t)=>{if(this.editorView)return this.editorView[t];if(t===`state`)return this.editorState;if(t in e)return Reflect.get(e,t);throw Error(`[tiptap error]: The editor view is not available. Cannot access view['${t}']. The editor may not be mounted yet.`)}})}get state(){return oD&&!this.hasWarnedStaleDecorationRead&&iD(this)&&(this.hasWarnedStaleDecorationRead=!0,console.warn("[tiptap warn]: `editor.state` was read while decoration `create()` was running. It returns the pre-transaction document. Use the `state` argument passed to `create()` instead. Helpers like `editor.isActive()` read `editor.state` too, so pass `state` to their standalone versions instead of calling them on the editor.")),this.editorView&&(this.editorState=this.view.state),this.editorState}registerPlugin(e,t){let n=OT(t)?t(e,[...this.state.plugins]):[...this.state.plugins,e],r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}unregisterPlugin(e){if(this.isDestroyed)return;let t=this.state.plugins,n=t;if([].concat(e).forEach(e=>{let t=typeof e==`string`?`${e}$`:e.key;n=n.filter(e=>!e.key.startsWith(t))}),t.length===n.length)return;let r=this.state.reconfigure({plugins:n});return this.view.updateState(r),r}createExtensionManager(){var e,t;let n=[...this.options.enableCoreExtensions?[kO,TO.configure({blockSeparator:(e=this.options.coreExtensionOptions)==null||(e=e.clipboardTextSerializer)==null?void 0:e.blockSeparator}),EO,jO,MO,PO.configure({value:(t=this.options.coreExtensionOptions)==null||(t=t.tabindex)==null?void 0:t.value}),OO,NO,DO,FO.configure({direction:this.options.textDirection})].filter(e=>typeof this.options.enableCoreExtensions!=`object`||this.options.enableCoreExtensions[e.name]!==!1):[],...this.options.extensions].filter(e=>[`extension`,`node`,`mark`].includes(e?.type));this.extensionManager=new CO(n,this)}createCommandManager(){this.commandManager=new qC({editor:this})}createSchema(){this.schema=this.extensionManager.schema}createDoc(){let e;try{e=lT(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:this.options.enableContentCheck})}catch(e){if(!(e instanceof Error)||![`[tiptap error]: Invalid JSON content`,`[tiptap error]: Invalid HTML content`].includes(e.message))throw e;let t=lT(this.options.content,this.schema,this.options.parseOptions,{errorOnInvalidContent:!1});return this.editorState=z_.create({doc:t,schema:this.schema,selection:bw(t,this.options.autofocus)||void 0}),this.emit(`contentError`,{editor:this,error:e,disableCollaboration:()=>{`collaboration`in this.storage&&typeof this.storage.collaboration==`object`&&this.storage.collaboration&&(this.storage.collaboration.isDisabled=!0),this.options.extensions=this.options.extensions.filter(e=>e.name!==`collaboration`),this.createExtensionManager()}}),this.editorState.doc}return e}getEditorViewAttributes(){let e=this.options.editorProps?.attributes;return OT(e)?t=>({role:`textbox`,...e(t)}):{role:`textbox`,...e}}createView(e){let{editorProps:t,enableExtensionDispatchTransaction:n}=this.options,r=t.dispatchTransaction||this.dispatchTransaction.bind(this),i=n?this.extensionManager.dispatchTransaction(r):r,a=t.transformPastedHTML,o=this.extensionManager.transformPastedHTML(a);this.editorView=new QS(e,{...t,attributes:this.getEditorViewAttributes(),dispatchTransaction:i,transformPastedHTML:o,state:this.editorState,markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews});let s=this.state.reconfigure({plugins:this.extensionManager.plugins});this.view.updateState(s),this.prependClass(),this.injectCSS();let c=this.view.dom;c.editor=this}createNodeViews(){this.view.isDestroyed||this.view.setProps({markViews:this.extensionManager.markViews,nodeViews:this.extensionManager.nodeViews})}prependClass(){this.view.dom.className=`${this.className} ${this.view.dom.className}`}captureTransaction(e){this.isCapturingTransaction=!0,e(),this.isCapturingTransaction=!1;let t=this.capturedTransaction;return this.capturedTransaction=null,t}dispatchTransaction(e){if(this.view.isDestroyed)return;if(this.isCapturingTransaction){if(!this.capturedTransaction){this.capturedTransaction=e;return}e.steps.forEach(e=>this.capturedTransaction?.step(e));return}let{state:t,transactions:n}=this.state.applyTransaction(e),r=!this.state.selection.eq(t.selection),i=n.includes(e),a=this.state;if(this.emit(`beforeTransaction`,{editor:this,transaction:e,nextState:t}),!i)return;this.view.updateState(t),this.emit(`transaction`,{editor:this,transaction:e,appendedTransactions:n.slice(1)}),r&&this.emit(`selectionUpdate`,{editor:this,transaction:e});let o=n.findLast(e=>e.getMeta(`focus`)||e.getMeta(`blur`)),s=o?.getMeta(`focus`),c=o?.getMeta(`blur`);s&&this.emit(`focus`,{editor:this,event:s.event,transaction:o}),c&&this.emit(`blur`,{editor:this,event:c.event,transaction:o}),!(e.getMeta(`preventUpdate`)||!n.some(e=>e.docChanged)||a.doc.eq(t.doc))&&this.emit(`update`,{editor:this,transaction:e,appendedTransactions:n.slice(1)})}getAttributes(e){return XT(this.state,e)}isActive(e,t){let n=typeof e==`string`?e:null,r=typeof e==`string`?t:e;return sE(this.state,n,r)}getJSON(){return this.state.doc.toJSON()}getHTML(){return _T(this.state.doc.content,this.schema)}getText(e){let{blockSeparator:t=`
|
|
95
|
+
|
|
96
|
+
`,textSerializers:n={}}=e||{};return KT(this.state.doc,{blockSeparator:t,textSerializers:{...qT(this.schema),...n}})}get isEmpty(){return fE(this.state.doc)}destroy(){this.destroyed||(this.destroyed=!0,this.emit(`destroy`),this.unmount(),this.removeAllListeners(),this.extensionManager.destroy(),this.extensionManager=null,this.schema=null,this.commandManager=null,this.extensionStorage={})}get isDestroyed(){return this.editorView?.isDestroyed??!0}$node(e,t){return this.$doc?.querySelector(e,t)||null}$nodes(e,t){return this.$doc?.querySelectorAll(e,t)||null}$pos(e){let t=this.state.doc.resolve(e),n=e>0&&t.nodeAfter&&!t.nodeAfter.isText&&t.nodeAfter.isAtom?t.nodeAfter:null;return new RO(t,this,!1,n)}get $doc(){return this.$pos(0)}};function VO(e){return new cO({find:e.find,handler:({state:t,range:n,match:r})=>{let i=$(e.getAttributes,void 0,r);if(i===!1||i===null)return null;let{tr:a}=t,o=r[r.length-1],s=r[0];if(o){let r=s.search(/\S/),c=n.from+s.indexOf(o),l=c+o.length;if(eE(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>c).length)return null;l<n.to&&a.delete(l,n.to),c>n.from&&a.delete(n.from+r,c);let u=n.from+r+o.length;a.addMark(n.from+r,u,e.type.create(i||{})),a.removeStoredMark(e.type)}},undoable:e.undoable})}function HO(e){return new cO({find:e.find,handler:({state:t,range:n,match:r})=>{let i=$(e.getAttributes,void 0,r)||{},{tr:a}=t,o=n.from,s=n.to,c=e.type.create(i);if(r[1]){let e=o+r[0].lastIndexOf(r[1]);e>s?e=s:s=e+r[1].length;let t=r[0][r[0].length-1];a.insertText(t,o+r[0].length-1),a.replaceWith(e,s,c)}else if(r[0]){let t=e.type.isInline?o:o-1;a.insert(t,e.type.create(i)).delete(a.mapping.map(o),a.mapping.map(s))}a.scrollIntoView()},undoable:e.undoable})}function UO(e){return new cO({find:e.find,handler:({state:t,range:n,match:r})=>{let i=t.doc.resolve(n.from),a=$(e.getAttributes,void 0,r)||{};if(!i.node(-1).canReplaceWith(i.index(-1),i.indexAfter(-1),e.type))return null;t.tr.delete(n.from,n.to).setBlockType(n.from,n.from,e.type,a)},undoable:e.undoable})}function WO(e){return new cO({find:e.find,handler:({state:t,range:n,match:r,chain:i})=>{let a=$(e.getAttributes,void 0,r)||{},o=t.tr.delete(n.from,n.to),s=o.doc.resolve(n.from).blockRange(),c=s&&Ig(s,e.type,a);if(!c)return null;if(o.wrap(s,c),e.keepMarks&&e.editor){let{selection:n,storedMarks:r}=t,{splittableMarks:i}=e.editor.extensionManager,a=r||n.$to.parentOffset&&n.$from.marks();if(a){let e=a.filter(e=>i.includes(e.type.name));o.ensureMarks(e)}}if(e.keepAttributes){let t=e.type.name===`bulletList`||e.type.name===`orderedList`?`listItem`:`taskList`;i().updateAttributes(t,a).run()}let l=o.doc.resolve(n.from-1).nodeBefore;l&&l.type===e.type&&Jg(o.doc,n.from-1)&&(!e.joinPredicate||e.joinPredicate(r,l))&&o.join(n.from-1)},undoable:e.undoable})}var GO=e=>`touches`in e,KO=class{constructor(e){var t;this.directions=[`bottom-left`,`bottom-right`,`top-left`,`top-right`],this.minSize={height:8,width:8},this.preserveAspectRatio=!1,this.classNames={container:``,wrapper:``,handle:``,resizing:``},this.initialWidth=0,this.initialHeight=0,this.aspectRatio=1,this.isResizing=!1,this.activeHandle=null,this.startX=0,this.startY=0,this.startWidth=0,this.startHeight=0,this.isShiftKeyPressed=!1,this.lastEditableState=void 0,this.handleMap=new Map,this.handleMouseMove=e=>{if(!this.isResizing||!this.activeHandle)return;let t=e.clientX-this.startX,n=e.clientY-this.startY;this.handleResize(t,n)},this.handleTouchMove=e=>{if(!this.isResizing||!this.activeHandle)return;let t=e.touches[0];if(!t)return;let n=t.clientX-this.startX,r=t.clientY-this.startY;this.handleResize(n,r)},this.handleMouseUp=()=>{if(!this.isResizing)return;let e=this.element.offsetWidth,t=this.element.offsetHeight;this.onCommit(e,t),this.isResizing=!1,this.activeHandle=null,this.container.dataset.resizeState=`false`,this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener(`mousemove`,this.handleMouseMove),document.removeEventListener(`mouseup`,this.handleMouseUp),document.removeEventListener(`keydown`,this.handleKeyDown),document.removeEventListener(`keyup`,this.handleKeyUp)},this.handleKeyDown=e=>{e.key===`Shift`&&(this.isShiftKeyPressed=!0)},this.handleKeyUp=e=>{e.key===`Shift`&&(this.isShiftKeyPressed=!1)},this.node=e.node,this.editor=e.editor,this.element=e.element,this.element.draggable=!1,this.contentElement=e.contentElement,this.getPos=e.getPos,this.onResize=e.onResize,this.onCommit=e.onCommit,this.onUpdate=e.onUpdate,e.options?.min&&(this.minSize={...this.minSize,...e.options.min}),e.options?.max&&(this.maxSize=e.options.max),e!=null&&(t=e.options)!=null&&t.directions&&(this.directions=e.options.directions),e.options?.preserveAspectRatio&&(this.preserveAspectRatio=e.options.preserveAspectRatio),e.options?.className&&(this.classNames={container:e.options.className.container||``,wrapper:e.options.className.wrapper||``,handle:e.options.className.handle||``,resizing:e.options.className.resizing||``}),e.options?.createCustomHandle&&(this.createCustomHandle=e.options.createCustomHandle),this.wrapper=this.createWrapper(),this.container=this.createContainer(),this.applyInitialSize(),this.attachHandles(),this.editor.on(`update`,this.handleEditorUpdate.bind(this))}get dom(){return this.container}get contentDOM(){return this.contentElement??null}handleEditorUpdate(){let e=this.editor.isEditable;e!==this.lastEditableState&&(this.lastEditableState=e,e?e&&this.handleMap.size===0&&this.attachHandles():this.removeHandles())}update(e,t,n){return e.type===this.node.type&&(this.node=e,!this.onUpdate||this.onUpdate(e,t,n))}destroy(){this.isResizing&&(this.container.dataset.resizeState=`false`,this.classNames.resizing&&this.container.classList.remove(this.classNames.resizing),document.removeEventListener(`mousemove`,this.handleMouseMove),document.removeEventListener(`mouseup`,this.handleMouseUp),document.removeEventListener(`keydown`,this.handleKeyDown),document.removeEventListener(`keyup`,this.handleKeyUp),this.isResizing=!1,this.activeHandle=null),this.editor.off(`update`,this.handleEditorUpdate.bind(this)),this.container.remove()}createContainer(){let e=document.createElement(`div`);return e.dataset.resizeContainer=``,e.dataset.node=this.node.type.name,e.style.display=this.node.type.isInline?`inline-flex`:`flex`,this.classNames.container&&(e.className=this.classNames.container),e.appendChild(this.wrapper),e}createWrapper(){let e=document.createElement(`div`);return e.style.position=`relative`,e.style.display=`block`,e.dataset.resizeWrapper=``,this.classNames.wrapper&&(e.className=this.classNames.wrapper),e.appendChild(this.element),e}createHandle(e){let t=document.createElement(`div`);return t.dataset.resizeHandle=e,t.style.position=`absolute`,this.classNames.handle&&(t.className=this.classNames.handle),t}positionHandle(e,t){let n=t.includes(`top`),r=t.includes(`bottom`),i=t.includes(`left`),a=t.includes(`right`);n&&(e.style.top=`0`),r&&(e.style.bottom=`0`),i&&(e.style.left=`0`),a&&(e.style.right=`0`),(t===`top`||t===`bottom`)&&(e.style.left=`0`,e.style.right=`0`),(t===`left`||t===`right`)&&(e.style.top=`0`,e.style.bottom=`0`)}attachHandles(){this.directions.forEach(e=>{let t;t=this.createCustomHandle?this.createCustomHandle(e):this.createHandle(e),t instanceof HTMLElement||(console.warn(`[ResizableNodeView] createCustomHandle("${e}") did not return an HTMLElement. Falling back to default handle.`),t=this.createHandle(e)),this.createCustomHandle||this.positionHandle(t,e),t.addEventListener(`mousedown`,t=>this.handleResizeStart(t,e)),t.addEventListener(`touchstart`,t=>this.handleResizeStart(t,e)),this.handleMap.set(e,t),this.wrapper.appendChild(t)})}removeHandles(){this.handleMap.forEach(e=>e.remove()),this.handleMap.clear()}applyInitialSize(){let e=this.node.attrs.width,t=this.node.attrs.height;e?(this.element.style.width=`${e}px`,this.initialWidth=e):this.initialWidth=this.element.offsetWidth,t?(this.element.style.height=`${t}px`,this.initialHeight=t):this.initialHeight=this.element.offsetHeight,this.initialWidth>0&&this.initialHeight>0&&(this.aspectRatio=this.initialWidth/this.initialHeight)}handleResizeStart(e,t){e.preventDefault(),e.stopPropagation(),this.isResizing=!0,this.activeHandle=t,GO(e)?(this.startX=e.touches[0].clientX,this.startY=e.touches[0].clientY):(this.startX=e.clientX,this.startY=e.clientY),this.startWidth=this.element.offsetWidth,this.startHeight=this.element.offsetHeight,this.startWidth>0&&this.startHeight>0&&(this.aspectRatio=this.startWidth/this.startHeight),this.getPos(),this.container.dataset.resizeState=`true`,this.classNames.resizing&&this.container.classList.add(this.classNames.resizing),document.addEventListener(`mousemove`,this.handleMouseMove),document.addEventListener(`touchmove`,this.handleTouchMove),document.addEventListener(`mouseup`,this.handleMouseUp),document.addEventListener(`keydown`,this.handleKeyDown),document.addEventListener(`keyup`,this.handleKeyUp)}handleResize(e,t){if(!this.activeHandle)return;let n=this.preserveAspectRatio||this.isShiftKeyPressed,{width:r,height:i}=this.calculateNewDimensions(this.activeHandle,e,t),a=this.applyConstraints(r,i,n);this.element.style.width=`${a.width}px`,this.element.style.height=`${a.height}px`,this.onResize&&this.onResize(a.width,a.height)}calculateNewDimensions(e,t,n){let r=this.startWidth,i=this.startHeight,a=e.includes(`right`),o=e.includes(`left`),s=e.includes(`bottom`),c=e.includes(`top`);return a?r=this.startWidth+t:o&&(r=this.startWidth-t),s?i=this.startHeight+n:c&&(i=this.startHeight-n),(e===`right`||e===`left`)&&(r=this.startWidth+(a?t:-t)),(e===`top`||e===`bottom`)&&(i=this.startHeight+(s?n:-n)),this.preserveAspectRatio||this.isShiftKeyPressed?this.applyAspectRatio(r,i,e):{width:r,height:i}}applyConstraints(e,t,n){if(!n){let n=Math.max(this.minSize.width,e),r=Math.max(this.minSize.height,t);return this.maxSize?.width&&(n=Math.min(this.maxSize.width,n)),this.maxSize?.height&&(r=Math.min(this.maxSize.height,r)),{width:n,height:r}}let r=e,i=t;return r<this.minSize.width&&(r=this.minSize.width,i=r/this.aspectRatio),i<this.minSize.height&&(i=this.minSize.height,r=i*this.aspectRatio),this.maxSize?.width&&r>this.maxSize.width&&(r=this.maxSize.width,i=r/this.aspectRatio),this.maxSize?.height&&i>this.maxSize.height&&(i=this.maxSize.height,r=i*this.aspectRatio),{width:r,height:i}}applyAspectRatio(e,t,n){return n===`left`||n===`right`?{width:e,height:e/this.aspectRatio}:n===`top`||n===`bottom`?{width:t*this.aspectRatio,height:t}:{width:e,height:e/this.aspectRatio}}},qO=class e extends hO{constructor(...e){super(...e),this.type=`node`}static create(t={}){let n=typeof t==`function`?t():t;return new e(n)}configure(e){return super.configure(e)}extend(e){let t=typeof e==`function`?e():e;return super.extend(t)}};function JO(e){return new _O({find:e.find,handler:({state:t,range:n,match:r,pasteEvent:i})=>{let a=$(e.getAttributes,void 0,r,i);if(a===!1||a===null)return null;let{tr:o}=t,s=r[r.length-1],c=r[0],l=n.to;if(s){let i=c.search(/\S/),u=n.from+c.indexOf(s),d=u+s.length;if(eE(n.from,n.to,t.doc).filter(t=>t.mark.type.excluded.find(n=>n===e.type&&n!==t.mark.type)).filter(e=>e.to>u).length)return null;d<n.to&&o.delete(d,n.to),u>n.from&&o.delete(n.from+i,u),l=n.from+i+s.length,o.addMark(n.from+i,l,e.type.create(a||{})),r.index!==void 0&&r.input!==void 0&&r.index+r[0].length>=r.input.length||o.removeStoredMark(e.type)}}})}var YO=u({baseColor:String,divided:Boolean,direction:{type:String,default:`horizontal`},...ri(),...de(),...Yr(),...li(),...ei(),...Yn({size:void 0}),...E(),...O(),...ii()},`VBtnGroup`),XO=D()({name:`VBtnGroup`,props:YO(),setup(e,{slots:t}){let{themeClasses:n}=v(e),{densityClasses:r}=qr(e),{borderClasses:i}=ni(e),{elevationClasses:a}=mi(e),{roundedClasses:o,roundedStyles:s}=$r(e);le({VBtn:{height:F(()=>e.direction===`horizontal`&&e.size==null?`auto`:null),baseColor:F(()=>e.baseColor),color:F(()=>e.color),density:F(()=>e.density),flat:!0,size:F(()=>e.size),variant:F(()=>e.variant)}}),ce(()=>j(e.tag,{class:qe([`v-btn-group`,`v-btn-group--${e.direction}`,{"v-btn-group--divided":e.divided,"v-btn-group--has-size":e.size!=null},n.value,i.value,r.value,a.value,o.value,e.class]),style:Qe([s.value,e.style])},t))}}),ZO=Symbol.for(`vuetify:v-btn-toggle`),QO=u({...YO(),...ui()},`VBtnToggle`);D()({name:`VBtnToggle`,props:QO(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){let{isSelected:n,next:r,prev:i,select:a,selected:o}=fi(e,ZO);return ce(()=>{let s=XO.filterProps(e);return j(XO,$e({class:[`v-btn-toggle`,{"v-btn-toggle--has-color":!!e.color},e.class]},s,{style:e.style}),{default:()=>[t.default?.({isSelected:n,next:r,prev:i,select:a,selected:o})]})}),{next:r,prev:i,select:a}}});var $O=u({bgColor:String,color:String,indeterminate:[Boolean,String],rounded:Boolean,modelValue:{type:[Number,String],default:0},rotate:{type:[Number,String],default:0},transition:{type:[Boolean,Object],default:void 0},width:{type:[Number,String],default:4},...de(),..._i(),...Yn(),...E({tag:`div`}),...O()},`VProgressCircular`),ek=D()({name:`VProgressCircular`,props:$O(),setup(e,{slots:t}){let n=2*Math.PI*20,r=Ct(),{themeClasses:i}=v(e),{sizeClasses:s,sizeStyles:c}=Zn(e),{textColorClasses:u,textColorStyles:f}=se(()=>e.color),{textColorClasses:p,textColorStyles:m}=se(()=>e.bgColor),{intersectionRef:h,isIntersecting:g}=gi(),{resizeRef:_,contentRect:y}=Wr(),{state:b,duration:x}=hi(e),S=F(()=>b.value===`initial`?0:a(parseFloat(e.modelValue),0,100)),C=F(()=>Number(e.width)),w=F(()=>e.transition===!1?void 0:o(l(e.transition)?e.transition.duration:void 0,`ms`)),T=F(()=>c.value?Number(e.size):y.value?y.value.width:Math.max(C.value,32)),E=F(()=>20/(1-C.value/T.value)*2),ee=F(()=>C.value/T.value*E.value),te=F(()=>{let t=(100-S.value)/100*n;return e.rounded&&S.value>0&&S.value<100?o(Math.min(n-.01,t+ee.value)):o(t)}),ne=P(()=>{let t=Number(e.rotate);return e.rounded?t+ee.value/2/n*360:t});return We(()=>{h.value=r.value,_.value=r.value}),ce(()=>j(e.tag,{ref:r,class:qe([`v-progress-circular`,{"v-progress-circular--indeterminate":!!e.indeterminate,"v-progress-circular--visible":g.value,"v-progress-circular--disable-shrink":e.indeterminate&&(e.indeterminate===`disable-shrink`||d()),"v-progress-circular--revealing":[`initial`,`pending`].includes(b.value),"v-progress-circular--no-transition":e.transition===!1},i.value,s.value,u.value,e.class]),style:Qe([c.value,f.value,{"--v-progress-reveal-duration":`${x.value}ms`,"--v-progress-circular-transition-duration":w.value},e.style]),role:`progressbar`,"aria-valuemin":`0`,"aria-valuemax":`100`,"aria-valuenow":e.indeterminate?void 0:S.value},{default:()=>[N(`svg`,{style:{transform:`rotate(calc(-90deg + ${ne.value}deg))`},xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 ${E.value} ${E.value}`},[N(`circle`,{class:qe([`v-progress-circular__underlay`,p.value]),style:Qe(m.value),fill:`transparent`,cx:`50%`,cy:`50%`,r:20,"stroke-width":ee.value,"stroke-dasharray":n,"stroke-dashoffset":0},null),N(`circle`,{class:`v-progress-circular__overlay`,fill:`transparent`,cx:`50%`,cy:`50%`,r:20,"stroke-width":ee.value,"stroke-dasharray":n,"stroke-dashoffset":te.value,"stroke-linecap":e.rounded?`round`:void 0},null)]),t.default&&N(`div`,{class:`v-progress-circular__content`},[t.default({value:S.value})])]})),{}}});function tk(e,t){Re(()=>e.isActive?.value,n=>{e.isLink.value&&s(n)&&t&&bt(()=>{t(n)})},{immediate:!0})}var nk=u({active:{type:Boolean,default:void 0},activeColor:String,baseColor:String,symbol:{type:null,default:ZO},flat:Boolean,icon:[Boolean,String,Function,Object],prependIcon:qn,appendIcon:qn,block:Boolean,readonly:Boolean,slim:Boolean,stacked:Boolean,spaced:String,ripple:{type:[Boolean,Object],default:!0},text:{type:[String,Number,Boolean],default:void 0},...ri(),...de(),...Yr(),...Qr(),...li(),...si(),...yi(),...zn(),...Ci(),...ei(),...pi(),...Yn(),...E({tag:`button`}),...O(),...ii({variant:`elevated`})},`VBtn`),rk=D()({name:`VBtn`,props:nk(),emits:{"group:selected":e=>!0},setup(e,{attrs:t,slots:n}){let{themeClasses:r}=v(e),{borderClasses:i}=ni(e),{densityClasses:a}=qr(e),{dimensionStyles:o}=Zr(e),{elevationClasses:c}=mi(e),{loaderClasses:l}=bi(e),{locationStyles:u}=In(e),{positionClasses:d}=Si(e),{roundedClasses:f,roundedStyles:p}=$r(e),{sizeClasses:m,sizeStyles:h}=Zn(e),g=ci(e,e.symbol,!1),_=di(e,t),y=P(()=>e.active===void 0?_.isRouterLink.value?_.isActive?.value:g?.isSelected.value:e.active),b=F(()=>y.value?e.activeColor??e.color:e.color),x=P(()=>({color:g?.isSelected.value&&(!_.isLink.value||_.isActive?.value)||!g||_.isActive?.value?b.value??e.baseColor:e.baseColor,variant:e.variant})),{colorClasses:S,colorStyles:C,variantClasses:w}=ai(x),T=P(()=>g?.disabled.value||e.disabled),E=F(()=>e.variant===`elevated`&&!(e.disabled||e.flat||e.border)),ee=P(()=>{if(e.value!==void 0&&typeof e.value!=`symbol`)return Object(e.value)===e.value?JSON.stringify(e.value,null,0):e.value});function te(e){T.value||_.isLink.value&&(e.metaKey||e.ctrlKey||e.shiftKey||e.button!==0||t.target===`_blank`)||(_.isRouterLink.value?_.navigate.value?.(e):g?.toggle())}return tk(_,g?.select),ce(()=>{let t=_.isLink.value?`a`:e.tag,v=!!(e.prependIcon||n.prepend),b=!!(e.appendIcon||n.append),x=!!(e.icon&&e.icon!==!0);return Ge(j(t,$e(_.linkProps,{type:t===`a`?void 0:`button`,class:[`v-btn`,g?.selectedClass.value,{"v-btn--active":y.value,"v-btn--block":e.block,"v-btn--disabled":T.value,"v-btn--elevated":E.value,"v-btn--flat":e.flat,"v-btn--icon":!!e.icon,"v-btn--loading":e.loading,"v-btn--readonly":e.readonly,"v-btn--slim":e.slim,"v-btn--stacked":e.stacked},e.spaced?[`v-btn--spaced`,`v-btn--spaced-${e.spaced}`]:[],r.value,i.value,S.value,a.value,c.value,l.value,d.value,f.value,m.value,w.value,e.class],style:[C.value,o.value,u.value,h.value,p.value,e.style],"aria-busy":e.loading?!0:void 0,disabled:T.value&&t!==`a`||void 0,tabindex:e.loading||e.readonly?-1:void 0,onClick:te,value:t===`a`?void 0:ee.value}),{default:()=>[oi(!0,`v-btn`),!e.icon&&v&&N(`span`,{key:`prepend`,class:`v-btn__prepend`},[n.prepend?j(Jr,{key:`prepend-defaults`,disabled:!e.prependIcon,defaults:{VIcon:{icon:e.prependIcon}}},n.prepend):j($n,{key:`prepend-icon`,icon:e.prependIcon},null)]),N(`span`,{class:`v-btn__content`,"data-no-activator":``},[!n.default&&x?j($n,{key:`content-icon`,icon:e.icon},null):j(Jr,{key:`content-defaults`,disabled:!x,defaults:{VIcon:{icon:e.icon}}},{default:()=>[n.default?.()??yt(e.text)]})]),!e.icon&&b&&N(`span`,{key:`append`,class:`v-btn__append`},[n.append?j(Jr,{key:`append-defaults`,disabled:!e.appendIcon,defaults:{VIcon:{icon:e.appendIcon}}},n.append):j($n,{key:`append-icon`,icon:e.appendIcon},null)]),!!e.loading&&N(`span`,{key:`loader`,class:`v-btn__loader`},[n.loader?.()??j(ek,{color:s(e.loading)?void 0:e.loading,indeterminate:!0,width:`2`},null)])]}),[[Hn,!T.value&&e.ripple,``,{center:!!e.icon}]])}),{group:g}}}),ik=Bn(`v-alert-title`),ak=u({iconSize:[Number,String],iconSizes:{type:Array,default:()=>[[`x-small`,10],[`small`,16],[`default`,24],[`large`,28],[`x-large`,32]]}},`iconSize`);function ok(e,t){return{iconSize:P(()=>{let n=new Map(e.iconSizes),r=e.iconSize??t()??`default`;return n.has(r)?n.get(r):r})}}var sk=[`success`,`info`,`warning`,`error`],ck=u({border:{type:[Boolean,String],validator:e=>s(e)||[`top`,`end`,`bottom`,`start`].includes(e)},borderColor:String,closable:Boolean,closeIcon:{type:qn,default:`$close`},closeLabel:{type:String,default:`$vuetify.close`},icon:{type:[Boolean,String,Function,Object],default:null},modelValue:{type:Boolean,default:!0},prominent:Boolean,title:String,text:String,type:{type:String,validator:e=>sk.includes(e)},...de(),...Yr(),...Qr(),...li(),...ak(),...zn(),...Ci(),...ei(),...E(),...O(),...ii({variant:`flat`})},`VAlert`),lk=D()({name:`VAlert`,props:ck(),emits:{"click:close":e=>!0,"update:modelValue":e=>!0},setup(e,{emit:t,slots:n}){let r=Rn(e,`modelValue`),i=F(()=>{if(e.icon!==!1)return e.type?e.icon??`$${e.type}`:e.icon}),{iconSize:a}=ok(e,()=>e.prominent?44:void 0),{themeClasses:o}=v(e),{colorClasses:s,colorStyles:c,variantClasses:l}=ai(()=>({color:e.color??e.type,variant:e.variant})),{densityClasses:u}=qr(e),{dimensionStyles:d}=Zr(e),{elevationClasses:f}=mi(e),{locationStyles:p}=In(e),{positionClasses:m}=Si(e),{roundedClasses:h,roundedStyles:g}=$r(e),{textColorClasses:_,textColorStyles:y}=se(()=>e.borderColor),{t:b}=Pn(),x=F(()=>({"aria-label":b(e.closeLabel),onClick(e){r.value=!1,t(`click:close`,e)}}));return()=>{let t=!!(n.prepend||i.value),v=!!(n.title||e.title),b=!!(n.close||e.closable),S={density:e.density,icon:i.value,size:e.iconSize||e.prominent?a.value:void 0};return r.value&&j(e.tag,{class:qe([`v-alert`,e.border&&{"v-alert--border":!!e.border,[`v-alert--border-${e.border===!0?`start`:e.border}`]:!0},{"v-alert--prominent":e.prominent},o.value,s.value,u.value,f.value,m.value,h.value,l.value,e.class]),style:Qe([c.value,d.value,p.value,g.value,e.style]),role:`alert`},{default:()=>[oi(!1,`v-alert`),e.border&&N(`div`,{key:`border`,class:qe([`v-alert__border`,_.value]),style:Qe(y.value)},null),t&&N(`div`,{key:`prepend`,class:`v-alert__prepend`},[n.prepend?j(Jr,{key:`prepend-defaults`,disabled:!i.value,defaults:{VIcon:{...S}}},n.prepend):j($n,$e({key:`prepend-icon`},S),null)]),N(`div`,{class:`v-alert__content`},[v&&j(ik,{key:`title`},{default:()=>[n.title?.()??e.title]}),n.text?.()??e.text,n.default?.()]),n.append&&N(`div`,{key:`append`,class:`v-alert__append`},[n.append()]),b&&N(`div`,{key:`close`,class:`v-alert__close`},[n.close?j(Jr,{key:`close-defaults`,defaults:{VBtn:{icon:e.closeIcon,size:`x-small`,variant:`text`}}},{default:()=>[n.close?.({props:x.value})]}):j(rk,$e({key:`close-btn`,icon:e.closeIcon,size:`x-small`,variant:`text`},x.value),null)])]})}}});function uk(e,t){return{install(n){n.provide(Ai,Di(e,t))}}}var dk=u({...x(Oi(),[`direction`,`glow`]),...x(Cn(),[`inline`])},`VCheckbox`),fk=D()({name:`VCheckbox`,inheritAttrs:!1,props:dk(),emits:{"update:modelValue":e=>!0,"update:focused":e=>!0},setup(e,{attrs:t,slots:n}){let r=Rn(e,`modelValue`),{isFocused:i,focus:a,blur:o}=ki(e),s=Ct(),c=He();return ce(()=>{let[l,u]=p(t),d=Mi.filterProps(e),f=En.filterProps(e);return j(Mi,$e({ref:s,class:[`v-checkbox`,e.class]},l,d,{modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,id:e.id||`checkbox-${c}`,focused:i.value,style:e.style}),{...n,default:({id:e,messagesId:t,isDisabled:i,isReadonly:s,isValid:c})=>j(En,$e(f,{id:e.value,"aria-describedby":t.value,disabled:i.value,readonly:s.value},u,{error:c.value===!1,modelValue:r.value,"onUpdate:modelValue":e=>r.value=e,onFocus:a,onBlur:o}),n)})}),Pi({},s)}}),pk=u({autoSelectFirst:{type:[Boolean,String]},clearOnSelect:Boolean,search:String,closeOnInputClick:Boolean,...wn({filterKeys:[`title`]}),...Dn(),...x(Ji({modelValue:null,role:`combobox`}),[`validationValue`,`dirty`])},`VAutocomplete`),mk=D()({name:`VAutocomplete`,props:pk(),emits:{"update:focused":e=>!0,"update:search":e=>!0,"update:modelValue":e=>!0,"update:menu":e=>!0,"item:added":e=>!0,"item:removed":e=>!0},setup(a,{emit:o,slots:s}){let{t:l}=Pn(),{elevationClasses:u}=mi(F(()=>a.menuElevation)),d=Ct(),f=Ct(),p=Ct(),m=Ct(),g=Ct(),v=Ct(),y=Et(!1),b=Et(!0),x=Et(!1),C=Et(-1),w=Et(null),{items:T,transformIn:E,transformOut:te}=Gn(a),{autofill:re,resetAutofill:ie}=Nn(T,e=>tt(e)),{textColorClasses:D,textColorStyles:ae}=se(()=>d.value?.color),{InputIcon:oe}=ji(a),O=Rn(a,`search`,``),k=Rn(a,`modelValue`,[],e=>E(e===null?[null]:_(e)),e=>{let t=te(e);return a.multiple?t:t[0]??null}),le=P(()=>c(a.counterValue)?a.counterValue(k.value):i(a.counterValue)?a.counterValue:k.value.length),ue=Ni(a),{filteredItems:de,getMatches:pe}=yn(a,T,()=>w.value??(b.value?``:O.value)),me=P(()=>a.hideSelected&&w.value===null?de.value.filter(e=>!k.value.some(t=>t.value===e.value)):de.value),he=F(()=>a.closableChips&&!ue.isReadonly.value&&!ue.isDisabled.value),ge=h(`VChip`),_e=P(()=>!!(a.chips||s.chip)),ve=P(()=>_e.value||!!s.selection),ye=P(()=>a.multiple||ve.value?``:String(k.value.at(-1)?.props.title??``)),be=P(()=>k.value.map(e=>e.props.value)),xe=P(()=>me.value.find(e=>e.type===`item`&&!e.props.disabled)),Se=P(()=>(a.autoSelectFirst===!0||a.autoSelectFirst===`exact`&&O.value===xe.value?.title)&&me.value.length>0&&!b.value&&!x.value),Ce=P(()=>a.hideNoData&&!me.value.length||ue.isReadonly.value||ue.isDisabled.value),{menu:A,closeOnSelect:we}=jn(a,{vMenuRef:f,menuDisabled:Ce,isFocused:y}),{menuId:Te,ariaExpanded:Ee,ariaControls:De}=An(a,A),{listEvents:Oe,onActivatorKeydown:ke,setPendingFocus:Ae,flushPendingFocus:je}=bn(p,d,v,me,{selectedIndex:()=>b.value?Ue():-1,headerEl:()=>m.value,menuContentEl:()=>f.value?.contentEl,noAutoScroll:()=>a.noAutoScroll}),Me=Tn(A,()=>f.value?.contentEl,()=>d.value?.controlRef),{onTabKeydown:Ne}=On({groups:[{type:`element`,contentRef:m},{type:`list`,contentRef:p,displayItemsCount:()=>me.value.length},{type:`element`,contentRef:g}],onLeave:()=>{A.value=!1,d.value?.focus()}});function Pe(e){a.openOnClear&&(A.value=!0),O.value=``}function Ie(){Ce.value||(A.value=!a.closeOnInputClick||!A.value)}function Le(e){Ce.value||y.value&&(e.preventDefault(),e.stopPropagation(),A.value=!A.value)}function ze(e){e.key===`Tab`&&Ne(e),p.value?.$el.contains(e.target)&&(ee(e)||e.key===`Backspace`)&&d.value?.focus()}function Be(e){if(!(S(e)||ue.isReadonly.value))switch(e.key){case`Escape`:A.value=!1;break;case`ArrowDown`:case`ArrowUp`:if(e.preventDefault(),ke(e,A))break;e.key===`ArrowDown`&&Se.value&&p.value?.focus(`next`);break;case`Enter`:e.preventDefault(),A.value=!0,Ve();break;case`Tab`:Ve(),A.value=!1;break;default:M(e)}}function Ve(){let e=xe.value;Se.value&&e&&(k.value.some(({value:t})=>t===e.value)||tt(e))}function M(e){let t=k.value.length;if([`Backspace`,`Delete`].includes(e.key)){if(!a.multiple&&ve.value&&t>0&&!O.value){tt(k.value[0],!1);return}if(~C.value){e.preventDefault();let n=C.value;tt(k.value[C.value],!1),C.value=n>=t-1?t-2:n}else e.key===`Backspace`&&!O.value&&(C.value=t-1)}else if(a.multiple){if(e.key===`ArrowLeft`){if(C.value<0&&(d.value?.selectionStart??0)>0)return;let e=C.value>-1?C.value-1:t-1;if(k.value[e])C.value=e;else{let e=O.value?.length??null;C.value=-1,d.value?.setSelectionRange(e,e)}}else if(e.key===`ArrowRight`){if(C.value<0)return;let e=C.value+1;k.value[e]?C.value=e:(C.value=-1,d.value?.setSelectionRange(0,0))}else~C.value&&ee(e)&&(C.value=-1)}}function He(t){e(t)&&re(t.target.value)}function Ue(){return me.value.findIndex(e=>k.value.some(t=>(a.valueComparator||Vn)(t.value,e.value)))}function We(){a.eager&&v.value?.calculateVisibleItems(),je()}function Ge(){y.value&&(f.value?.contentEl?._clickOutside?.lastMousedownWasOutside?y.value=!1:(b.value=!0,d.value?.focus())),w.value=null}function Ke(e){y.value=!0,setTimeout(()=>{x.value=!0})}function Je(e){if(x.value=!1,!d.value?.$el.contains(e.relatedTarget)){if(Me(e))return;y.value=!1}}function Ye(e){if(e==null||e===``&&!a.multiple&&!ve.value){for(let e of k.value)o(`item:removed`,e);k.value=[]}}let Xe=0;function Ze(){Xe=performance.now()}function et(e){let t=e.relatedTarget;((f.value?.contentEl)?.contains(t)||!t&&performance.now()-Xe<10)&&(y.value=!0)}function tt(e,t=!0){if(!e||e.props.disabled)return;let n=a.valueComparator||Vn;if(a.multiple){let r=k.value.findIndex(t=>n(t.value,e.value)),i=t??!~r;if(~r){let t=i?[...k.value,e]:[...k.value],[n]=t.splice(r,1);i||o(`item:removed`,n),k.value=t}else i&&(o(`item:added`,e),k.value=[...k.value,e]);a.clearOnSelect&&(O.value=``)}else{let r=t!==!1,i=k.value[0];r?(i&&!n(i.value,e.value)?(o(`item:removed`,i),o(`item:added`,e)):i||o(`item:added`,e),k.value=[e]):(i&&o(`item:removed`,i),k.value=[]),w.value=b.value?``:O.value??``,O.value=r&&!ve.value?e.title:``,bt(()=>{we(),b.value=!0})}}return Re(y,(e,t)=>{if(e!==t){if(e)ie(),b.value=!0;else{if(!a.multiple&&O.value==null){for(let e of k.value)o(`item:removed`,e);k.value=[]}A.value=!1,!b.value&&O.value&&(w.value=O.value),O.value=ye.value,b.value=!0,C.value=-1}}}),Re(ye,e=>{y.value||(O.value=e)},{immediate:!0}),Re(O,e=>{y.value&&(e&&(A.value=!0),b.value=!e,A.value&&bt(()=>{v.value?.scrollToIndex(0),p.value?.$el?.contains(n())&&d.value?.focus()}))}),Re(A,e=>{if(e||Ae(null),!a.hideSelected&&e&&k.value.length&&b.value){let e=Ue();fe&&!a.noAutoScroll&&window.requestAnimationFrame(()=>{e>=0&&v.value?.scrollToIndex(e,`center`)})}e&&(w.value=null)}),Re(T,(e,t)=>{A.value||y.value&&!t.length&&e.length&&(A.value=!0)}),ce(()=>{let e=!!(!a.hideNoData||me.value.length||s[`prepend-item`]||s[`append-item`]||s[`no-data`]),n=k.value.length>0,i=Yi.filterProps(a),o={search:O,filteredItems:de.value};return j(Yi,$e({ref:d},i,{form:a.autocomplete===`suppress`?``:void 0,name:a.autocomplete===`suppress`?a.name:void 0,modelValue:O.value,"onUpdate:modelValue":[e=>O.value=e,Ye],focused:y.value,"onUpdate:focused":e=>y.value=e,validationValue:k.externalValue,counterValue:le.value,dirty:n,onChange:He,class:[`v-autocomplete`,`v-autocomplete--${a.multiple?`multiple`:`single`}`,{"v-autocomplete--active-menu":A.value,"v-autocomplete--chips":!!a.chips,"v-autocomplete--selection-slot":!!ve.value,"v-autocomplete--selecting-index":C.value>-1},a.class],style:a.style,readonly:ue.isReadonly.value,placeholder:n?void 0:a.placeholder,"onClick:clear":Pe,"onMousedown:control":Ie,onKeydown:Be,onBlur:et,"aria-expanded":Ee.value,"aria-controls":De.value}),{...s,default:({id:n})=>N(ft,null,[be.value.map((e,t)=>N(`input`,{key:t,type:`hidden`,name:a.name,value:e,form:a.form},null)),j(Kr,$e({id:Te.value,ref:f,modelValue:A.value,"onUpdate:modelValue":e=>A.value=e,activator:`parent`,captureFocus:!1,openOnArrow:!1,disabled:Ce.value,_disableKeys:!0,eager:a.eager,maxHeight:310,openOnClick:!1,closeOnContentClick:!1,onAfterEnter:We,onAfterLeave:Ge},a.menuProps,{contentClass:[`v-autocomplete__content`,u.value,a.menuProps?.contentClass]}),{default:()=>[j(kn,{onFocusin:Ke,onKeydown:ze,onMousedown:Ze},{default:()=>[s[`menu-header`]&&N(`header`,{ref:m},[s[`menu-header`](o)]),e&&j(Kn,$e({key:`autocomplete-list`,ref:p,class:`v-list--navigable`,filterable:!0,selected:be.value,selectStrategy:a.multiple?`independent`:`single-independent`,onMousedown:e=>e.preventDefault(),onFocusout:Je,tabindex:`-1`,selectable:!!me.value.length,"aria-live":`polite`,"aria-labelledby":`${n.value}-label`,"aria-multiselectable":a.multiple,color:a.itemColor??a.color},Oe,a.listProps),{default:()=>[s[`prepend-item`]?.(),!me.value.length&&!a.hideNoData&&(s[`no-data`]?.()??j(Un,{key:`no-data`,title:l(a.noDataText)},null)),j(Sn,{ref:v,renderless:!0,items:me.value,itemKey:`value`},{default:({item:e,index:n,itemRef:r})=>{let i=t(e.props),o=$e(e.props,{ref:r,key:e.value,active:Se.value&&e===xe.value?!0:void 0,onClick:()=>tt(e,null),"aria-posinset":n+1,"aria-setsize":me.value.length});return e.type===`divider`?s.divider?.({props:e.raw,index:n})??j(Vi,$e(e.props,{ref:r,key:`divider-${n}`}),null):e.type===`subheader`?s.subheader?.({props:e.raw,index:n})??j(Wn,$e(e.props,{ref:r,key:`subheader-${n}`}),null):s.item?.({item:e.raw,internalItem:e,index:n,props:o})??j(Un,$e(o,{role:`option`}),{prepend:({isSelected:t})=>N(ft,null,[a.multiple&&!a.hideSelected?j(En,{key:e.value,modelValue:t,ripple:!1,tabindex:`-1`,"aria-hidden":!0,onClick:e=>e.preventDefault()},null):void 0,i.prependAvatar&&j(wi,{image:i.prependAvatar},null),i.prependIcon&&j($n,{icon:i.prependIcon},null)]),title:()=>b.value?e.title:j(xn,{text:e.title,matches:pe(e)?.title,markClass:`v-autocomplete__mask`,matchAll:!0,ignoreCase:!0},null)})}}),s[`append-item`]?.()]}),s[`menu-footer`]&&N(`footer`,{ref:g},[s[`menu-footer`](o)])]})]}),k.value.map((e,t)=>{function n(t){t.stopPropagation(),t.preventDefault(),tt(e,!1)}let i=$e(Fi.filterProps(e.props),{"onClick:close":n,onKeydown(e){(e.key===`Enter`||e.key===` `)&&(e.preventDefault(),e.stopPropagation(),n(e))},onMousedown(e){e.preventDefault(),e.stopPropagation()},modelValue:!0,"onUpdate:modelValue":void 0}),o=_e.value?!!s.chip:!!s.selection,c=o?r(_e.value?s.chip({item:e.raw,internalItem:e,index:t,props:i}):s.selection({item:e.raw,internalItem:e,index:t})):void 0;if(!o||c)return N(`div`,{key:e.value,class:qe([`v-autocomplete__selection`,t===C.value&&[`v-autocomplete__selection--selected`,D.value]]),style:Qe(t===C.value?ae.value:{})},[_e.value?s.chip?j(Jr,{key:`chip-defaults`,defaults:{VChip:{closable:he.value,size:ge.value?.size??`small`,text:e.title}}},{default:()=>[c]}):j(Fi,$e({key:`chip`,closable:he.value,size:ge.value?.size??`small`,text:e.title,disabled:e.props.disabled},i),null):c??N(`span`,{class:`v-autocomplete__selection-text`},[e.title,a.multiple&&t<k.value.length-1&&N(`span`,{class:`v-autocomplete__selection-comma`},[Fe(`,`)])])])})]),"append-inner":(...e)=>N(ft,null,[s[`append-inner`]?.(...e),a.menuIcon?j($n,{class:`v-autocomplete__menu-icon`,color:d.value?.fieldIconColor,icon:a.menuIcon,onMousedown:Le,onClick:ne,"aria-hidden":!0,tabindex:`-1`},null):void 0,a.appendInnerIcon&&j(oe,{key:`append-icon`,name:`appendInner`,color:e[0].iconColor.value},null)])})}),Pi({isFocused:y,isPristine:b,menu:A,search:O,filteredItems:de,select:tt},d)}});function hk(e){let t=e.slice(-2).toUpperCase();switch(!0){case e===`GB-alt-variant`:return{firstDay:0,firstWeekSize:4};case e===`001`:return{firstDay:1,firstWeekSize:1};case`AG AS BD BR BS BT BW BZ CA CO DM DO ET GT GU HK HN ID IL IN JM JP KE
|
|
97
|
+
KH KR LA MH MM MO MT MX MZ NI NP PA PE PH PK PR PY SA SG SV TH TT TW UM US
|
|
98
|
+
VE VI WS YE ZA ZW`.includes(t):return{firstDay:0,firstWeekSize:1};case`AI AL AM AR AU AZ BA BM BN BY CL CM CN CR CY EC GE HR KG KZ LB LK LV
|
|
99
|
+
MD ME MK MN MY NZ RO RS SI TJ TM TR UA UY UZ VN XK`.includes(t):return{firstDay:1,firstWeekSize:1};case`AD AN AT AX BE BG CH CZ DE DK EE ES FI FJ FO FR GB GF GP GR HU IE IS
|
|
100
|
+
IT LI LT LU MC MQ NL NO PL RE RU SE SK SM VA`.includes(t):return{firstDay:1,firstWeekSize:4};case`AE AF BH DJ DZ EG IQ IR JO KW LY OM QA SD SY`.includes(t):return{firstDay:6,firstWeekSize:1};case t===`MV`:return{firstDay:5,firstWeekSize:1};case t===`PT`:return{firstDay:0,firstWeekSize:4};default:return null}}function gk(e,t,n){let r=[],i=[],a=yk(e),o=bk(e),s=n??hk(t)?.firstDay??0,c=(a.getDay()-s+7)%7,l=(o.getDay()-s+7)%7;for(let e=0;e<c;e++){let t=new Date(a);t.setDate(t.getDate()-(c-e)),i.push(t)}for(let t=1;t<=o.getDate();t++){let n=new Date(e.getFullYear(),e.getMonth(),t);i.push(n),i.length===7&&(r.push(i),i=[])}for(let e=1;e<7-l;e++){let t=new Date(o);t.setDate(t.getDate()+e),i.push(t)}return i.length>0&&r.push(i),r}function _k(e,t,n){let r=(n??hk(t)?.firstDay??0)%7;[0,1,2,3,4,5,6].includes(r)||(oe(`Invalid firstDayOfWeek, expected discrete number in range [0-6]`),r=0);let i=new Date(e);for(;i.getDay()!==r;)i.setDate(i.getDate()-1);return i}function vk(e,t){let n=new Date(e),r=((hk(t)?.firstDay??0)+6)%7;for(;n.getDay()!==r;)n.setDate(n.getDate()+1);return n}function yk(e){return new Date(e.getFullYear(),e.getMonth(),1)}function bk(e){return new Date(e.getFullYear(),e.getMonth()+1,0)}function xk(e){let t=e.split(`-`).map(Number);return new Date(t[0],t[1]-1,t[2])}var Sk=/^([12]\d{3}-([1-9]|0[1-9]|1[0-2])-([1-9]|0[1-9]|[12]\d|3[01]))$/;function Ck(e){if(e==null)return new Date;if(e instanceof Date)return e;if(typeof e==`string`){let t;if(Sk.test(e))return xk(e);if(t=Date.parse(e),!isNaN(t))return new Date(t)}return null}var wk=new Date(2e3,0,2);function Tk(e,t,n){let r=t??hk(e)?.firstDay??0;return f(7).map(t=>{let i=new Date(wk);return i.setDate(wk.getDate()+r+t),new Intl.DateTimeFormat(e,{weekday:n??`narrow`}).format(i)})}function Ek(e,t,n,r){let i=Ck(e)??new Date,a=r?.[t];if(typeof a==`function`)return a(i,t,n);let o={};switch(t){case`fullDate`:o={year:`numeric`,month:`short`,day:`numeric`};break;case`fullDateWithWeekday`:o={weekday:`long`,year:`numeric`,month:`long`,day:`numeric`};break;case`normalDate`:return`${i.getDate()} ${new Intl.DateTimeFormat(n,{month:`long`}).format(i)}`;case`normalDateWithWeekday`:o={weekday:`short`,day:`numeric`,month:`short`};break;case`shortDate`:o={month:`short`,day:`numeric`};break;case`year`:o={year:`numeric`};break;case`month`:o={month:`long`};break;case`monthShort`:o={month:`short`};break;case`monthAndYear`:o={month:`long`,year:`numeric`};break;case`monthAndDate`:o={month:`long`,day:`numeric`};break;case`weekday`:o={weekday:`long`};break;case`weekdayShort`:o={weekday:`short`};break;case`dayOfMonth`:return new Intl.NumberFormat(n).format(i.getDate());case`hours12h`:o={hour:`numeric`,hour12:!0};break;case`hours24h`:o={hour:`numeric`,hour12:!1};break;case`minutes`:o={minute:`numeric`};break;case`seconds`:o={second:`numeric`};break;case`fullTime`:o={hour:`numeric`,minute:`numeric`};break;case`fullTime12h`:o={hour:`numeric`,minute:`numeric`,hour12:!0};break;case`fullTime24h`:o={hour:`numeric`,minute:`numeric`,hour12:!1};break;case`fullDateTime`:o={year:`numeric`,month:`short`,day:`numeric`,hour:`numeric`,minute:`numeric`};break;case`fullDateTime12h`:o={year:`numeric`,month:`short`,day:`numeric`,hour:`numeric`,minute:`numeric`,hour12:!0};break;case`fullDateTime24h`:o={year:`numeric`,month:`short`,day:`numeric`,hour:`numeric`,minute:`numeric`,hour12:!1};break;case`keyboardDate`:o={year:`numeric`,month:`2-digit`,day:`2-digit`};break;case`keyboardDateTime`:return o={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`numeric`,minute:`numeric`},new Intl.DateTimeFormat(n,o).format(i).replace(/, /g,` `);case`keyboardDateTime12h`:return o={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`numeric`,minute:`numeric`,hour12:!0},new Intl.DateTimeFormat(n,o).format(i).replace(/, /g,` `);case`keyboardDateTime24h`:return o={year:`numeric`,month:`2-digit`,day:`2-digit`,hour:`numeric`,minute:`numeric`,hour12:!1},new Intl.DateTimeFormat(n,o).format(i).replace(/, /g,` `);default:o=a??{timeZone:`UTC`,timeZoneName:`short`}}return new Intl.DateTimeFormat(n,o).format(i)}function Dk(e,t){let n=e.toJsDate(t);return`${n.getFullYear()}-${ae(String(n.getMonth()+1),2,`0`)}-${ae(String(n.getDate()),2,`0`)}`}function Ok(e){let[t,n,r]=e.split(`-`).map(Number);return new Date(t,n-1,r)}function kk(e,t){let n=new Date(e);return n.setMinutes(n.getMinutes()+t),n}function Ak(e,t){let n=new Date(e);return n.setHours(n.getHours()+t),n}function jk(e,t){let n=new Date(e);return n.setDate(n.getDate()+t),n}function Mk(e,t){let n=new Date(e);return n.setDate(n.getDate()+t*7),n}function Nk(e,t){let n=new Date(e);return n.setDate(1),n.setMonth(n.getMonth()+t),n}function Pk(e){return e.getFullYear()}function Fk(e){return e.getMonth()}function Ik(e,t,n,r){let i=hk(t),a=n??i?.firstDay??0,o=i?.firstWeekSize??1;return r===void 0?Rk(e,t,a,o):Lk(e,t,a,r)}function Lk(e,t,n,r){let i=(7+r-n)%7,a=_k(e,t,n),o=jk(a,6);function s(e){return(7+new Date(e,0,1).getDay()-n)%7}let c=Pk(a);c<Pk(o)&&s(c+1)<=i&&c++;let l=new Date(c,0,1),u=s(c),d=u<=i?jk(l,-u):jk(l,7-u);return 1+tA(cA(a),sA(d),`weeks`)}function Rk(e,t,n,r){let i=_k(e,t,n),a=jk(_k(e,t,n),6);function o(e){let r=new Date(e,0,1);return 7-tA(r,_k(r,t,n),`days`)}let s=Pk(i);s<Pk(a)&&o(s+1)>=r&&s++;let c=new Date(s,0,1),l=o(s),u=l>=r?jk(c,l-7):jk(c,l);return 1+tA(cA(i),sA(u),`weeks`)}function zk(e){return e.getDate()}function Bk(e){return new Date(e.getFullYear(),e.getMonth()+1,1)}function Vk(e){return new Date(e.getFullYear(),e.getMonth()-1,1)}function Hk(e){return e.getHours()}function Uk(e){return e.getMinutes()}function Wk(e){return new Date(e.getFullYear(),0,1)}function Gk(e){return new Date(e.getFullYear(),11,31)}function Kk(e,t){return Zk(e,t[0])||Zk(e,t[1])||Jk(e,t[0])&&Xk(e,t[1])}function qk(e){let t=new Date(e);return t instanceof Date&&!isNaN(t.getTime())}function Jk(e,t){return e.getTime()>t.getTime()}function Yk(e,t){return Jk(sA(e),sA(t))}function Xk(e,t){return e.getTime()<t.getTime()}function Zk(e,t){return e.getTime()===t.getTime()}function Qk(e,t){return e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function $k(e,t){return e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear()}function eA(e,t){return e.getFullYear()===t.getFullYear()}function tA(e,t,n){let r=new Date(e),i=new Date(t);switch(n){case`years`:return r.getFullYear()-i.getFullYear();case`quarters`:return Math.floor((r.getMonth()-i.getMonth()+(r.getFullYear()-i.getFullYear())*12)/4);case`months`:return r.getMonth()-i.getMonth()+(r.getFullYear()-i.getFullYear())*12;case`weeks`:return Math.floor((r.getTime()-i.getTime())/6048e5);case`days`:return Math.floor((r.getTime()-i.getTime())/864e5);case`hours`:return Math.floor((r.getTime()-i.getTime())/36e5);case`minutes`:return Math.floor((r.getTime()-i.getTime())/6e4);case`seconds`:return Math.floor((r.getTime()-i.getTime())/1e3);default:return r.getTime()-i.getTime()}}function nA(e,t){let n=new Date(e);return n.setHours(t),n}function rA(e,t){let n=new Date(e);return n.setMinutes(t),n}function iA(e,t){let n=new Date(e);return n.setMonth(t),n}function aA(e,t){let n=new Date(e);return n.setDate(t),n}function oA(e,t){let n=new Date(e);return n.setFullYear(t),n}function sA(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)}function cA(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,999)}var lA=class{constructor(e){this.locale=e.locale,this.formats=e.formats}date(e){return Ck(e)}toJsDate(e){return e}toISO(e){return Dk(this,e)}parseISO(e){return Ok(e)}addMinutes(e,t){return kk(e,t)}addHours(e,t){return Ak(e,t)}addDays(e,t){return jk(e,t)}addWeeks(e,t){return Mk(e,t)}addMonths(e,t){return Nk(e,t)}getWeekArray(e,t){let n=t===void 0?void 0:Number(t);return gk(e,this.locale,n)}startOfWeek(e,t){let n=t===void 0?void 0:Number(t);return _k(e,this.locale,n)}endOfWeek(e){return vk(e,this.locale)}startOfMonth(e){return yk(e)}endOfMonth(e){return bk(e)}format(e,t){return Ek(e,t,this.locale,this.formats)}isEqual(e,t){return Zk(e,t)}isValid(e){return qk(e)}isWithinRange(e,t){return Kk(e,t)}isAfter(e,t){return Jk(e,t)}isAfterDay(e,t){return Yk(e,t)}isBefore(e,t){return!Jk(e,t)&&!Zk(e,t)}isSameDay(e,t){return Qk(e,t)}isSameMonth(e,t){return $k(e,t)}isSameYear(e,t){return eA(e,t)}setMinutes(e,t){return rA(e,t)}setHours(e,t){return nA(e,t)}setMonth(e,t){return iA(e,t)}setDate(e,t){return aA(e,t)}setYear(e,t){return oA(e,t)}getDiff(e,t,n){return tA(e,t,n)}getWeekdays(e,t){let n=e===void 0?void 0:Number(e);return Tk(this.locale,n,t)}getYear(e){return Pk(e)}getMonth(e){return Fk(e)}getWeek(e,t,n){let r=t===void 0?void 0:Number(t),i=n===void 0?void 0:Number(n);return Ik(e,this.locale,r,i)}getDate(e){return zk(e)}getNextMonth(e){return Bk(e)}getPreviousMonth(e){return Vk(e)}getHours(e){return Hk(e)}getMinutes(e){return Uk(e)}startOfDay(e){return sA(e)}endOfDay(e){return cA(e)}startOfYear(e){return Wk(e)}endOfYear(e){return Gk(e)}},uA=Symbol.for(`vuetify:date-options`),dA=Symbol.for(`vuetify:date-adapter`);function fA(e,t){let n=y({adapter:lA,locale:{af:`af-ZA`,ar:`ar-DZ`,bg:`bg-BG`,ca:`ca-ES`,ckb:`ckb-IQ`,cs:`cs-CZ`,da:`da-DK`,de:`de-DE`,el:`el-GR`,en:`en-US`,et:`et-EE`,fa:`fa-IR`,fi:`fi-FI`,hr:`hr-HR`,hu:`hu-HU`,he:`he-IL`,id:`id-ID`,it:`it-IT`,ja:`ja-JP`,km:`km-KH`,ko:`ko-KR`,lv:`lv-LV`,lt:`lt-LT`,nl:`nl-NL`,no:`no-NO`,pl:`pl-PL`,pt:`pt-PT`,ro:`ro-RO`,ru:`ru-RU`,sk:`sk-SK`,sl:`sl-SI`,srCyrl:`sr-Cyrl-RS`,srLatn:`sr-Latn-RS`,sv:`sv-SE`,th:`th-TH`,tr:`tr-TR`,az:`az-AZ`,uk:`uk-UA`,vi:`vi-VN`,zhHans:`zh-CN`,zhHant:`zh-TW`}},e);return{options:n,instance:pA(n,t)}}function pA(e,t){let n=nt(c(e.adapter)?new e.adapter({locale:e.locale[t.current.value]??t.current.value,formats:e.formats}):e.adapter);return Re(t.current,t=>{n.locale=e.locale[t]??t??n.locale}),n}var mA=u({...de(),...E()},`VCardActions`),hA=D()({name:`VCardActions`,props:mA(),setup(e,{slots:t}){return le({VBtn:{slim:!0,variant:`text`}}),ce(()=>j(e.tag,{class:qe([`v-card-actions`,e.class]),style:Qe(e.style)},t)),{}}}),gA=u({opacity:[Number,String],...de(),...E()},`VCardSubtitle`),_A=D()({name:`VCardSubtitle`,props:gA(),setup(e,{slots:t}){return ce(()=>j(e.tag,{class:qe([`v-card-subtitle`,e.class]),style:Qe([{"--v-card-subtitle-opacity":e.opacity},e.style])},t)),{}}}),vA=Bn(`v-card-title`),yA=u({appendAvatar:String,appendIcon:qn,prependAvatar:String,prependIcon:qn,subtitle:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...de(),...Yr(),...E()},`VCardItem`),bA=D()({name:`VCardItem`,props:yA(),setup(e,{slots:t}){return ce(()=>{let n=!!(e.prependAvatar||e.prependIcon),r=!!(n||t.prepend),i=!!(e.appendAvatar||e.appendIcon),a=!!(i||t.append),o=!!(e.title!=null||t.title),s=!!(e.subtitle!=null||t.subtitle);return j(e.tag,{class:qe([`v-card-item`,e.class]),style:Qe(e.style)},{default:()=>[r&&N(`div`,{key:`prepend`,class:`v-card-item__prepend`},[t.prepend?j(Jr,{key:`prepend-defaults`,disabled:!n,defaults:{VAvatar:{density:e.density,image:e.prependAvatar},VIcon:{density:e.density,icon:e.prependIcon}}},t.prepend):N(ft,null,[e.prependAvatar&&j(wi,{key:`prepend-avatar`,density:e.density,image:e.prependAvatar},null),e.prependIcon&&j($n,{key:`prepend-icon`,density:e.density,icon:e.prependIcon},null)])]),N(`div`,{class:`v-card-item__content`},[o&&j(vA,{key:`title`},{default:()=>[t.title?.()??yt(e.title)]}),s&&j(_A,{key:`subtitle`},{default:()=>[t.subtitle?.()??yt(e.subtitle)]}),t.default?.()]),a&&N(`div`,{key:`append`,class:`v-card-item__append`},[t.append?j(Jr,{key:`append-defaults`,disabled:!i,defaults:{VAvatar:{density:e.density,image:e.appendAvatar},VIcon:{density:e.density,icon:e.appendIcon}}},t.append):N(ft,null,[e.appendIcon&&j($n,{key:`append-icon`,density:e.density,icon:e.appendIcon},null),e.appendAvatar&&j(wi,{key:`append-avatar`,density:e.density,image:e.appendAvatar},null)])])]})}),{}}}),xA=u({opacity:[Number,String],...de(),...E()},`VCardText`),SA=D()({name:`VCardText`,props:xA(),setup(e,{slots:t}){return ce(()=>j(e.tag,{class:qe([`v-card-text`,e.class]),style:Qe([{"--v-card-text-opacity":e.opacity},e.style])},t)),{}}}),CA=u({appendAvatar:String,appendIcon:qn,disabled:Boolean,flat:Boolean,hover:Boolean,image:String,link:{type:Boolean,default:void 0},prependAvatar:String,prependIcon:qn,ripple:{type:[Boolean,Object],default:!0},subtitle:{type:[String,Number,Boolean],default:void 0},text:{type:[String,Number,Boolean],default:void 0},title:{type:[String,Number,Boolean],default:void 0},...ri(),...de(),...Yr(),...Qr(),...li(),...yi(),...zn(),...Ci(),...ei(),...pi(),...E(),...O(),...ii({variant:`elevated`})},`VCard`),wA=D()({name:`VCard`,directives:{vRipple:Hn},props:CA(),setup(e,{attrs:t,slots:n}){let{themeClasses:r}=v(e),{borderClasses:i}=ni(e),{colorClasses:a,colorStyles:c,variantClasses:l}=ai(e),{densityClasses:u}=qr(e),{dimensionStyles:d}=Zr(e),{elevationClasses:f}=mi(e),{loaderClasses:p}=bi(e),{locationStyles:m}=In(e),{positionClasses:h}=Si(e),{roundedClasses:g,roundedStyles:_}=$r(e),y=di(e,t),b=Et(void 0);return Re(()=>e.loading,(e,t)=>{b.value=!e&&pe(t)?t:s(e)?void 0:e},{immediate:!0}),ce(()=>{let t=e.link!==!1&&y.isLink.value,s=!e.disabled&&e.link!==!1&&(e.link||y.isClickable.value),v=t?`a`:e.tag,x=!!(n.title||e.title!=null),S=!!(n.subtitle||e.subtitle!=null),C=x||S,w=!!(n.append||e.appendAvatar||e.appendIcon),T=!!(n.prepend||e.prependAvatar||e.prependIcon),E=!!(n.image||e.image),ee=C||T||w,te=!!(n.text||e.text!=null);return Ge(j(v,$e(y.linkProps,{class:[`v-card`,{"v-card--disabled":e.disabled,"v-card--flat":e.flat,"v-card--hover":e.hover&&!(e.disabled||e.flat),"v-card--link":s},r.value,i.value,a.value,u.value,f.value,p.value,h.value,g.value,l.value,e.class],style:[c.value,d.value,m.value,{"--v-card-height":o(e.height)},_.value,e.style],onClick:s&&y.navigate.value,tabindex:e.disabled?-1:void 0}),{default:()=>[E&&N(`div`,{key:`image`,class:`v-card__image`},[n.image?j(Jr,{key:`image-defaults`,disabled:!e.image,defaults:{VImg:{cover:!0,src:e.image}}},n.image):j(Xr,{key:`image-img`,cover:!0,src:e.image},null)]),j(xi,{name:`v-card`,active:!!e.loading,color:b.value},{default:n.loader}),ee&&j(bA,{key:`item`,prependAvatar:e.prependAvatar,prependIcon:e.prependIcon,title:e.title,subtitle:e.subtitle,appendAvatar:e.appendAvatar,appendIcon:e.appendIcon},{default:n.item,prepend:n.prepend,title:n.title,subtitle:n.subtitle,append:n.append}),te&&j(SA,{key:`text`},{default:()=>[n.text?.()??e.text]}),n.default?.(),n.actions&&j(hA,null,{default:n.actions}),oi(s,`v-card`)]}),[[Hn,s&&e.ripple]])}),{}}}),TA=u({gridlines:{type:[Boolean,String],default:`horizontal`,validator:e=>s(e)||[`horizontal`,`vertical`,`all`].includes(e)},fixedHeader:Boolean,fixedFooter:Boolean,height:[Number,String],hover:Boolean,striped:{type:String,default:null,validator:e=>[`even`,`odd`].includes(e)},...de(),...Yr(),...E(),...O()},`VTable`),EA=D()({name:`VTable`,inheritAttrs:!1,props:TA(),setup(e,{attrs:t,slots:n,emit:r}){let{themeClasses:i}=v(e),{densityClasses:a}=qr(e),s=P(()=>e.gridlines===!1?`none`:e.gridlines===!0?`all`:e.gridlines);return ce(()=>{let[r,c]=T(t,[/^aria-label/]);return j(e.tag,$e(c,{class:[`v-table`,`v-table--gridlines-${s.value}`,{"v-table--fixed-height":!!e.height,"v-table--fixed-header":e.fixedHeader,"v-table--fixed-footer":e.fixedFooter,"v-table--has-top":!!n.top,"v-table--has-bottom":!!n.bottom,"v-table--hover":e.hover,"v-table--striped-even":e.striped===`even`,"v-table--striped-odd":e.striped===`odd`},i.value,a.value,e.class],style:e.style}),{default:()=>[n.top?.(),n.default?N(`div`,{class:`v-table__wrapper`,style:{height:o(e.height)}},[N(`table`,Me(kt(r)),[n.caption?.(),n.default()])]):n.wrapper?.(),n.bottom?.()]})}),{}}}),DA=u({name:String,itemAriaLabel:{type:String,default:`$vuetify.rating.ariaLabel.item`},activeColor:String,color:String,clearable:Boolean,disabled:Boolean,emptyIcon:{type:qn,default:`$ratingEmpty`},fullIcon:{type:qn,default:`$ratingFull`},halfIncrements:Boolean,hover:Boolean,length:{type:[Number,String],default:5},readonly:Boolean,modelValue:{type:[Number,String],default:0},itemLabels:Array,itemLabelPosition:{type:String,default:`top`,validator:e=>[`top`,`bottom`].includes(e)},ripple:Boolean,...de(),...Yr(),...Yn(),...E(),...O()},`VRating`),OA=D()({name:`VRating`,props:DA(),emits:{"update:modelValue":e=>!0},setup(e,{slots:t}){let{t:n}=Pn(),{themeClasses:r}=v(e),i=Ct(),o=Rn(e,`modelValue`),s=P(()=>a(parseFloat(o.value),0,Number(e.length))),c=P(()=>f(Number(e.length),1)),l=P(()=>c.value.flatMap(t=>e.halfIncrements?[t-.5,t]:[t])),u=Et(-1),d=P(()=>l.value.map(t=>{let n=e.hover&&u.value>-1,r=s.value>=t,i=u.value>=t,a=(n?i:r)?e.fullIcon:e.emptyIcon,o=e.activeColor??e.color;return{isFilled:r,isHovered:i,icon:a,color:r||i?o:e.color,activeColor:o}})),p=P(()=>[0,...l.value].map(t=>{function n(){u.value=t}function r(){u.value=-1}function i(){e.disabled||e.readonly||(o.value=s.value===t&&e.clearable?0:t)}return{onMouseenter:e.hover?n:void 0,onMouseleave:e.hover?r:void 0,onClick:i}})),m=P(()=>e.halfIncrements?1+Math.floor(Math.max(0,Number(o.value??0)-.5))*2:Math.floor(Math.max(0,Number(o.value??0)-1)));function h(){(i.value?.querySelector(`[tabindex="0"]`))?.focus()}function g(t){if(e.disabled||e.readonly||t.ctrlKey||t.altKey)return;let n=e.halfIncrements?.5:1;if(t.key===`ArrowRight`){let t=Math.min(Number(e.length),Number(o.value??0)+n);o.value=t,bt(()=>h())}if(t.key===`ArrowLeft`){let e=Math.max(0,Number(o.value??0)-n);o.value=e,bt(()=>h())}}let _=He(),y=P(()=>e.name??`v-rating-${_}`);function b({value:r,index:i,showStar:a=!0}){let{onMouseenter:o,onMouseleave:c,onClick:l}=p.value[i+1],u=`${y.value}-${String(r).replace(`.`,`-`)}`,f=i===m.value,h={color:d.value[i]?.color,density:e.density,disabled:e.disabled,icon:d.value[i]?.icon,ripple:e.ripple,size:e.size,variant:`plain`,tabindex:f?0:-1,onKeydown:g};return N(ft,null,[N(`label`,{for:u,class:qe({"v-rating__item--half":e.halfIncrements&&r%1>0,"v-rating__item--full":e.halfIncrements&&r%1==0}),onMouseenter:o,onMouseleave:c,onClick:l},[N(`span`,{class:`v-rating__hidden`},[n(e.itemAriaLabel,r,e.length)]),a?t.item?t.item({...d.value[i],props:h,value:r,index:i,rating:s.value}):j(rk,$e({"aria-label":n(e.itemAriaLabel,r,e.length)},h),null):void 0]),N(`input`,{class:`v-rating__hidden`,name:y.value,id:u,type:`radio`,value:r,checked:s.value===r,tabindex:-1,readonly:e.readonly,disabled:e.disabled},null)])}function x(e){return t[`item-label`]?t[`item-label`](e):e.label?N(`span`,null,[e.label]):N(`span`,null,[Fe(`\xA0`)])}return ce(()=>{let n=!!e.itemLabels?.length||t[`item-label`];return j(e.tag,{class:qe([`v-rating`,{"v-rating--hover":e.hover,"v-rating--readonly":e.readonly},r.value,e.class]),style:Qe(e.style),ref:i},{default:()=>[j(b,{value:0,index:-1,showStar:!1},null),c.value.map((t,r)=>N(`div`,{class:`v-rating__wrapper`},[n&&e.itemLabelPosition===`top`?x({value:t,index:r,label:e.itemLabels?.[r]}):void 0,N(`div`,{class:`v-rating__item`},[e.halfIncrements?N(ft,null,[j(b,{value:t-.5,index:r*2},null),j(b,{value:t,index:r*2+1},null)]):j(b,{value:t,index:r},null)]),n&&e.itemLabelPosition===`bottom`?x({value:t,index:r,label:e.itemLabels?.[r]}):void 0]))]})}),{}}}),kA=u({inset:{type:[Boolean,String],default:!1},flat:Boolean,thumbColor:String,loading:{type:[Boolean,String],default:!1},...x(Oi(),[`glow`]),...Ti(),...Yn()},`VSwitch`),AA=[`x-small`,`small`,`default`,`large`,`x-large`],jA={"x-small":11,small:14,default:16,large:18,"x-large":22},MA=D()({name:`VSwitch`,inheritAttrs:!1,props:kA(),emits:{"update:focused":e=>!0,"update:modelValue":e=>!0,"update:indeterminate":e=>!0},setup(e,{attrs:t,slots:n}){let r=Rn(e,`indeterminate`),i=Rn(e,`modelValue`),{loaderClasses:a}=bi(e),{isFocused:o,focus:s,blur:c}=ki(e),{backgroundColorClasses:l,backgroundColorStyles:u}=k(()=>e.thumbColor),d=Ct(),f=Ct(),m=ue&&window.matchMedia(`(forced-colors: active)`).matches,h=F(()=>pe(e.loading)&&e.loading!==``?e.loading:e.color),g=He(),_=F(()=>e.id||`switch-${g}`),v=F(()=>AA.includes(e.size)),y=F(()=>v.value?jA[e.size]:Math.round(16*Number(e.size)/32));function b(){r.value&&=!1}function x(e){e.stopPropagation(),e.preventDefault(),d.value?.input?.click()}return ce(()=>{let[g,S]=p(t),C=Mi.filterProps(e),w=Ei.filterProps(e),T=[`material`,`square`].includes(String(e.inset)),E=!m&&!!e.thumbColor;return j(Mi,$e({ref:f,class:[`v-switch`,{"v-switch--flat":e.flat},{"v-switch--inset":!!e.inset},{"v-switch--inset-material":T},{"v-switch--inset-square":e.inset===`square`},{"v-switch--indeterminate":r.value},v.value?`v-switch--size-${e.size}`:void 0,a.value,e.class]},g,C,{modelValue:i.value,"onUpdate:modelValue":e=>i.value=e,id:_.value,focused:o.value,style:[{"--v-switch-scale":v.value?void 0:Number(e.size)/32},e.style]}),{...n,default:({id:t,messagesId:a,isDisabled:o,isReadonly:f,isValid:p})=>{let g={model:i,isValid:p};return j(Ei,$e({ref:d},w,{modelValue:i.value,"onUpdate:modelValue":[e=>i.value=e,b],id:t.value,"aria-describedby":a.value,type:`checkbox`,indeterminate:r.value,disabled:o.value,readonly:f.value,onFocus:s,onBlur:c},S),{...n,default:({backgroundColorClasses:e,backgroundColorStyles:t})=>N(`div`,{class:qe([`v-switch__track`,m?void 0:e.value]),style:Qe(t.value),onClick:x},[n[`track-true`]&&N(`div`,{key:`prepend`,class:`v-switch__track-true`},[n[`track-true`](g)]),n[`track-false`]&&N(`div`,{key:`append`,class:`v-switch__track-false`},[n[`track-false`](g)])]),input:({inputNode:t,icon:r,model:i,backgroundColorClasses:a,backgroundColorStyles:o,textColorClasses:s,textColorStyles:c})=>N(ft,null,[t,N(`div`,{class:qe([`v-switch__thumb`,{"v-switch__thumb--filled":r||e.loading},m?void 0:E&&i.value?l.value:T?a.value:e.inset?void 0:a.value]),style:Qe([E&&i.value?u.value:T?a.value.length||o.value.backgroundColor?{backgroundColor:`currentColor`}:void 0:e.inset?void 0:o.value])},[n.thumb?j(Jr,{defaults:{VIcon:{icon:r,size:T?y.value:`x-small`}}},{default:()=>[n.thumb({...g,icon:r})]}):j(Gr,null,{default:()=>[e.loading?j(xi,{name:`v-switch`,active:!0,color:p.value===!1?void 0:h.value},{default:e=>n.loader?n.loader(e):j(ek,{active:e.isActive,color:e.color,indeterminate:!0,size:y.value,width:`2`},null)}):r&&j($n,{key:String(r),class:qe(T?s.value:void 0),style:Qe(T?c.value:void 0),icon:r,size:T?y.value:`x-small`},null)]})])])})}})}),Pi({},f)}}),NA=u({autoGrow:Boolean,autofocus:Boolean,counter:{type:[Boolean,Number,String],default:void 0},counterValue:Function,prefix:String,placeholder:String,persistentPlaceholder:Boolean,persistentCounter:Boolean,noResize:Boolean,rows:{type:[Number,String],default:5,validator:e=>!isNaN(parseFloat(e))},maxHeight:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},maxRows:{type:[Number,String],validator:e=>!isNaN(parseFloat(e))},suffix:String,modelModifiers:Object,...Wi(),...x(Oi(),[`direction`]),...Hi()},`VTextarea`),PA=D()({name:`VTextarea`,directives:{vIntersect:ti},inheritAttrs:!1,props:NA(),emits:{"click:control":e=>!0,"mousedown:control":e=>!0,"update:focused":e=>!0,"update:modelValue":e=>!0,"update:rows":e=>!0},setup(e,{attrs:t,emit:r,slots:s}){let l=Rn(e,`modelValue`),{isFocused:u,focus:d,blur:f}=ki(e),{onIntersect:m}=qi(e),h=P(()=>c(e.counterValue)?e.counterValue(l.value):(l.value||``).toString().length),g=P(()=>{if(t.maxlength)return t.maxlength;if(e.counter&&(i(e.counter)||pe(e.counter)))return e.counter}),_=Ct(),v=Ct(),y=Et(``),b=Ct(),x=Ct(0),{platform:S}=Ri(),C=Ki(e),w=P(()=>e.persistentPlaceholder||u.value||e.active);function T(){C.isSuppressing.value&&C.update(),b.value!==n()&&b.value?.focus(),u.value||d()}function E(e){T(),r(`click:control`,e)}function ee(e){r(`mousedown:control`,e)}function ne(t){t.stopPropagation(),T(),bt(()=>{l.value=``,te(e[`onClick:clear`],t)})}function re(t){let n=t.target;if(!e.modelModifiers?.trim){l.value=n.value;return}let r=n.value,i=n.selectionStart,a=n.selectionEnd;l.value=r,bt(()=>{let e=0;r.trimStart().length===n.value.length&&(e=r.length-n.value.length),i!=null&&(n.selectionStart=i-e),a!=null&&(n.selectionEnd=a-e)})}let ie=Ct(),D=Ct(Number(e.rows)),ae=P(()=>[`plain`,`underlined`].includes(e.variant));We(()=>{e.autoGrow||(D.value=Number(e.rows))});function oe(){bt(()=>{if(!b.value)return;if(S.value.firefox){x.value=12;return}let{offsetWidth:e,clientWidth:t}=b.value;x.value=Math.max(0,e-t)}),e.autoGrow&&bt(()=>{if(!ie.value||!v.value)return;let t=getComputedStyle(ie.value),n=getComputedStyle(v.value.$el),r=parseFloat(t.getPropertyValue(`--v-field-padding-top`))+parseFloat(t.getPropertyValue(`--v-input-padding-top`))+parseFloat(t.getPropertyValue(`--v-field-padding-bottom`)),i=ie.value.scrollHeight,s=parseFloat(t.lineHeight),c=Math.max(parseFloat(e.rows)*s+r,parseFloat(n.getPropertyValue(`--v-input-control-height`))),l=e.maxHeight?parseFloat(e.maxHeight):parseFloat(e.maxRows)*s+r||1/0,u=a(i??0,c,l);D.value=Math.floor((u-r)/s),y.value=o(u)})}Xe(oe),Re(l,oe),Re(()=>e.rows,oe),Re(()=>e.maxHeight,oe),Re(()=>e.maxRows,oe),Re(()=>e.density,oe),Re(D,e=>{r(`update:rows`,e)});let se;return Re(ie,e=>{e?(se=new ResizeObserver(oe),se.observe(ie.value)):se?.disconnect()}),ot(()=>{se?.disconnect()}),ce(()=>{let n=!!(s.counter||e.counter!==void 0||e.counterValue!=null),r=e.counter!==!1&&e.counter!==null&&(e.persistentCounter||u.value),i=e.hideDetails!==!0&&!!(s.details||n),a=!!(s.details||n&&r),[c,d]=p(t),{modelValue:S,...te}=Mi.filterProps(e),oe={...Ui.filterProps(e),"onClick:clear":ne};return j(Mi,$e({ref:_,modelValue:l.value,"onUpdate:modelValue":e=>l.value=e,class:[`v-textarea v-text-field`,{"v-textarea--prefixed":e.prefix,"v-textarea--suffixed":e.suffix,"v-text-field--prefixed":e.prefix,"v-text-field--suffixed":e.suffix,"v-textarea--auto-grow":e.autoGrow,"v-textarea--no-resize":e.noResize||e.autoGrow,"v-input--plain-underlined":ae.value},e.class],style:[{"--v-textarea-max-height":e.maxHeight?o(e.maxHeight):void 0,"--v-textarea-scroll-bar-width":o(x.value)},e.style]},c,te,{centerAffix:D.value===1&&!ae.value,focused:u.value,detailsActive:a,indentDetails:e.indentDetails??!ae.value}),{...s,default:({id:t,isDisabled:n,isDirty:r,isReadonly:i,isValid:a,hasDetails:o})=>j(Ui,$e({ref:v,style:{"--v-textarea-control-height":y.value},onClick:E,onMousedown:ee,"onClick:prependInner":e[`onClick:prependInner`],"onClick:appendInner":e[`onClick:appendInner`]},oe,{id:t.value,active:w.value||r.value,labelId:`${t.value}-label`,centerAffix:D.value===1&&!ae.value,dirty:r.value||e.dirty,disabled:n.value,focused:u.value,details:o.value,error:a.value===!1}),{...s,default:({props:{class:r,...a},controlRef:o})=>N(ft,null,[e.prefix&&N(`span`,{class:`v-text-field__prefix`},[e.prefix]),Ge(N(`textarea`,$e({ref:e=>b.value=o.value=e,class:r,value:l.value,onInput:re,autofocus:e.autofocus,readonly:i.value,disabled:n.value,placeholder:e.placeholder,rows:e.rows,name:C.fieldName.value,autocomplete:C.fieldAutocomplete.value,onFocus:T,onBlur:f,"aria-labelledby":`${t.value}-label`},a,d),null),[[ti,{handler:m},null,{once:!0}]]),e.autoGrow&&Ge(N(`textarea`,{class:qe([r,`v-textarea__sizer`]),id:`${a.id}-sizer`,"onUpdate:modelValue":e=>l.value=e,ref:ie,readonly:!0,"aria-hidden":`true`},null),[[Nt,l.value]]),e.suffix&&N(`span`,{class:`v-text-field__suffix`},[e.suffix])])}),details:i?t=>N(ft,null,[s.details?.(t),n&&N(ft,null,[N(`span`,null,null),j(Gi,{active:r,value:h.value,max:g.value,disabled:e.disabled},s.counter)])]):void 0})}),Pi({},_,v,b)}}),FA=Se(()=>{let e=Cm(),t=De().$vectorI18n,n=Pm(),r=Em(),i=Cc(),a=_e(),o={version:1,vue:m,vuetify:{VAlert:lk,VAutocomplete:mk,VBtn:rk,VCard:wA,VCheckbox:fk,VChip:Fi,VIcon:$n,VProgressLinear:vi,VRating:OA,VSelect:Mn,VSwitch:MA,VTable:EA,VTextField:Yi,VTextarea:PA},tiptap:{Node:qO,Mark:gO,Extension:wO,mergeAttributes:MT},defineCell:(t,n)=>e.cells.set(t,et(n)),defineInput:(t,n)=>e.inputs.set(t,et(n)),defineWidget:(t,n)=>e.widgets.set(t,et(n)),defineRichTextExtension:(t,n)=>e.richText.set(t,et(n)),defineMessages:(e,n)=>t.global.mergeLocaleMessage(e,n),definePage:(t,n)=>{if(!/^[a-z0-9][a-z0-9-]*$/.test(t))throw Error(`Vector page name "${t}" must be lowercase letters, digits and dashes.`);e.pages.set(t,{...n,component:et(n.component)})},api:n,notify:{success:e=>r.success(e),error:e=>r.error(e)},navigate:e=>Wt(`${i.vector.basePath}${e}`),t:(e,t={},n)=>Hr(e,t,n)};window.Vector=o;let s=[...window.__VECTOR__?.extensions??[],...a.public.vector.extensions??[]];Promise.allSettled(s.map(e=>wo(()=>import(e).then(e=>typeof e.default==`function`?e.default(o):void 0),[],import.meta.url).catch(t=>console.error(`Vector extension ${e} failed to load`,t)))).then(()=>{e.ready.value=!0})});function IA(){return{theme:{defaultTheme:`system`,themes:{light:{dark:!1,colors:{primary:`#1F5F8B`,secondary:`#546E7A`,success:`#2E7D32`,warning:`#B45309`,info:`#1565C0`,error:`#C62828`},variables:{"medium-emphasis-opacity":.74}},dark:{dark:!0,colors:{primary:`#5AA9E6`,secondary:`#90A4AE`},variables:{"medium-emphasis-opacity":.8}}}},defaults:{VTextField:{variant:`outlined`,density:`comfortable`},VTextarea:{variant:`outlined`,density:`comfortable`},VSelect:{variant:`outlined`,density:`comfortable`},VAutocomplete:{variant:`outlined`,density:`comfortable`},VNumberInput:{variant:`outlined`,density:`comfortable`},VBtn:{variant:`flat`},VCard:{variant:`flat`,border:!0}}}}function LA(){return{svg:{component:Qn},class:{component:Xn}}}function RA(e){let t=LA(),n=e?.defaultSet??`mdi`;return n===`mdi`&&!t.mdi&&(t.mdi=Po),y({defaultSet:n,sets:t,aliases:{...No,vuetify:[`M8.2241 14.2009L12 21L22 3H14.4459L8.2241 14.2009Z`,[`M7.26303 12.4733L7.00113 12L2 3H12.5261C12.5261 3 12.5261 3 12.5261 3L7.26303 12.4733Z`,.6]],"vuetify-outline":`svg:M7.26 12.47 12.53 3H2L7.26 12.47ZM14.45 3 8.22 14.2 12 21 22 3H14.45ZM18.6 5 12 16.88 10.51 14.2 15.62 5ZM7.26 8.35 5.4 5H9.13L7.26 8.35Z`,"vuetify-play":[`m6.376 13.184-4.11-7.192C1.505 4.66 2.467 3 4.003 3h8.532l-.953 1.576-.006.01-.396.677c-.429.732-.214 1.507.194 2.015.404.503 1.092.878 1.869.806a3.72 3.72 0 0 1 1.005.022c.276.053.434.143.523.237.138.146.38.635-.25 2.09-.893 1.63-1.553 1.722-1.847 1.677-.213-.033-.468-.158-.756-.406a4.95 4.95 0 0 1-.8-.927c-.39-.564-1.04-.84-1.66-.846-.625-.006-1.316.27-1.693.921l-.478.826-.911 1.506Z`,[`M9.093 11.552c.046-.079.144-.15.32-.148a.53.53 0 0 1 .43.207c.285.414.636.847 1.046 1.2.405.35.914.662 1.516.754 1.334.205 2.502-.698 3.48-2.495l.014-.028.013-.03c.687-1.574.774-2.852-.005-3.675-.37-.391-.861-.586-1.333-.676a5.243 5.243 0 0 0-1.447-.044c-.173.016-.393-.073-.54-.257-.145-.18-.127-.316-.082-.392l.393-.672L14.287 3h5.71c1.536 0 2.499 1.659 1.737 2.992l-7.997 13.996c-.768 1.344-2.706 1.344-3.473 0l-3.037-5.314 1.377-2.278.004-.006.004-.007.481-.831Z`,.6]]}},e)}function zA(e={}){let{blueprint:t,...n}=e,r=y(t,n),{aliases:i={},components:a={},directives:o={}}=r,s=at();return s.run(()=>{let e=C(r.defaults),t=zi(r.display,r.ssr),n=ie(r.theme),c=RA(r.icons),l=Fn(r.locale),u=fA(r.date,l),d=Ii(r.goTo,l);function f(s){for(let e in o)s.directive(e,o[e]);for(let e in a)s.component(e,a[e]);for(let e in i)s.component(e,b({...i[e],name:e,aliasName:i[e].name}));let f=at();if(f.run(()=>{n.install(s)}),s.onUnmount(()=>f.stop()),s.provide(re,e),s.provide(w,e),s.provide(Bi,t),s.provide(g,n),s.provide(Jn,c),s.provide(Ln,l),s.provide(uA,u.options),s.provide(dA,u.instance),s.provide(Li,d),fe&&r.ssr){if(s.$nuxt)s.$nuxt.hook(`app:suspense:resolve`,()=>{t.update()});else{let{mount:e}=s;s.mount=(...n)=>{let r=e(...n);return bt(()=>t.update()),s.mount=e,r}}}s.mixin({computed:{$vuetify(){return nt({defaults:BA.call(this,re),display:BA.call(this,Bi),theme:BA.call(this,g),icons:BA.call(this,Jn),locale:BA.call(this,Ln),date:BA.call(this,dA)})}}})}function p(){s.stop()}return{install:f,unmount:p,defaults:e,display:t,theme:n,icons:c,locale:l,date:u,goTo:d}})}zA.version=`4.2.6`;function BA(e){let t=this.$,n=t.parent?.provides??t.vnode.appContext?.provides;if(n&&e in n)return n[e]}var VA={},HA=[Mo,Lo,Yo,bc,wp,Op,kp,jp,Mp,Wp,um,dm,bm,xm,Sm,FA,Se({name:`vuetify:nuxt:client:plugin`,order:25,dependsOn:[`vuetify:icons:plugin`],parallel:!0,async setup(e){let t=IA();await e.hooks.callHook(`vuetify:configuration`,{isDev:!1,vuetifyOptions:t}),await e.hooks.callHook(`vuetify:before-create`,{isDev:!1,vuetifyOptions:t});let n=zA(t);e.vueApp.use(n),e.vueApp.use(uk(VA,n.locale)),e.provide(`vuetify`,n),await e.hooks.callHook(`vuetify:ready`,n)}})],UA=(e=`RouteProvider`)=>st({name:e,props:{route:{type:Object,required:!0},vnode:Object,vnodeRef:Object,renderKey:String,trackRootNodes:Boolean,routeRecord:Object},setup(e){let t=e.renderKey,n=e.route,r={};for(let i in e.route)Object.defineProperty(r,i,{get:()=>t===e.renderKey?e.route[i]:n[i],enumerable:!0});return rt(Jt,Ot(r)),()=>e.vnode?Ne(e.vnode,{ref:e.vnodeRef}):e.vnode}}),WA=UA(),GA=new WeakMap,KA=st({name:`NuxtPage`,inheritAttrs:!1,props:{name:{type:String},transition:{type:[Boolean,Object],default:void 0},keepalive:{type:[Boolean,Object],default:void 0},route:{type:Object},pageKey:{type:[Function,String],default:null}},setup(e,{attrs:t,slots:n,expose:r}){let i=De(),a=Ct(),o=ze(Jt,null),s=new Set,c;r({pageRef:a});let l=ze(tn,null),u,d=i.deferHydration(),f=!1,p=!1,m,h=0;if(i.isHydrating){let e=i.hooks.hookOnce(`app:error`,d),t=Gt().beforeEach(()=>{e(),t()})}e.pageKey&&Re(()=>e.pageKey,(e,t)=>{e!==t&&i.callHook(`page:loading:start`)});let g=!1;{let e=Gt().beforeResolve(()=>{g=!1});ot(()=>{e(),d()})}return()=>Ne(Bs,{name:e.name,route:e.route,...t},{default:YA(t=>{let r=qA(o,t.route,t.Component),_=o&&o.matched.length===t.route.matched.length;if(!t.Component)return u&&!_&&!ZA(u)?u:(d(),e.transition??t.route.meta.pageTransition??!1?Hs(Zs([e.transition,t.route.meta.pageTransition,!1]),null).default():void 0);if(u&&l&&!ZA(u)&&!l.isCurrent(t.route))return u;if(r&&o&&(!l||l?.isCurrent(o)))return(_||u)&&!ZA(u)?u:null;let v=es(t,e.pageKey),y=JA(o,t.route,t.Component);!i.isHydrating&&c===v&&!y&&bt(()=>{g||(g=!0,i.callHook(`page:loading:end`))}),f&&c!==v&&p&&h++,c=v;let b=!!(e.transition??t.route.meta.pageTransition??!1),x=b&&Zs([e.transition,t.route.meta.pageTransition,!1,{onAfterLeave(){$s(i),i.callHook(`page:transition:finish`,t.Component)}}]),S=e.keepalive??t.route.meta.keepalive??!1,C=t.Component.type,w=C.name||C.__name;t.route.meta.keepalive&&w&&s.add(w);let T;if(s.size>0&&e.keepalive==null&&(!S||typeof S==`object`&&S&&S.include)){let e=typeof S==`object`&&S?{...S}:{},t=e.include?Array.isArray(e.include)?e.include:[e.include]:[];T={...e,include:Array.from(new Set([...t,...s]))}}else T=S;return u=Hs(b&&x,ts(T,Ne(ct,{key:h,suspensible:!0,onPending:()=>{f=!0,b&&Qs(i),m=i.callHook(`page:start`,t.Component)},onResolve:async()=>{f=!1,p=!0,i.isHydrating&&i[`~restoreDeferredRoute`]?.();try{await bt(),i._route.sync?.(),await m,await i.callHook(`page:finish`,t.Component),!g&&!y&&(g=!0,await i.callHook(`page:loading:end`))}finally{d()}}},{default:()=>{let e={key:v||void 0,vnode:n.default?XA(n.default,t):t.Component,route:t.route,renderKey:v||void 0,trackRootNodes:b,vnodeRef:a,routeRecord:void 0};if(!T)return Ne(WA,e);let r=C,i=GA.get(r);return i||(i=UA(w),GA.set(r,i)),Ne(i,e)}}))).default(),u})})}});function qA(e,t,n){if(!e)return!1;let r=t.matched.findIndex(e=>e.components?.default===n?.type);if(r===-1)return!1;let i=t.matched.slice(0,r).filter(e=>e.components?.default);if(!i.length)return!1;let a=e.matched.filter(e=>e.components?.default);return i.some((e,t)=>e.components?.default!==a[t]?.components?.default)||n&&es({route:t,Component:n})!==es({route:e,Component:n})}function JA(e,t,n){return e?t.matched.findIndex(e=>e.components?.default===n?.type)<t.matched.length-1:!1}function YA(e){let t=(t=>{let n=e(t);return Array.isArray(n)?n:n==null||!Ke(n)?[Dt()]:[n]});return t._n=!0,t}function XA(e,t){let n=e(t);return n.length===1?Ne(n[0]):Ne(ft,void 0,n)}function ZA(e){return!!e&&(!!e.suspense?.isUnmounted||!!e.component?.isUnmounted)}var QA=st({name:`LayoutLoader`,inheritAttrs:!1,props:{name:String,layoutProps:Object},setup(e,t){return()=>Ne(fm[e.name],e.layoutProps,t.slots)}}),$A=st({name:`NuxtLayout`,inheritAttrs:!1,props:{name:{type:[String,Boolean,Object],default:null},fallback:{type:[String,Object],default:null}},setup(e,t){let n=De(),r=ze(Jt),i=!r||r===on()?gr():r,a=P(()=>{let t=lm(i,e.name);return t&&!(t in fm)&&e.fallback&&(t=M(e.fallback)),t});rt(Qt,a);let o=t=>lm(t,e.name),s=Et();t.expose({layoutRef:s});let c=n.deferHydration();if(n.isHydrating){let e=n.hooks.hookOnce(`app:error`,c),t=Gt().beforeEach(()=>{e(),t()})}ot(()=>{c()});let l;return()=>{let r=!!a.value&&a.value in fm&&!!(i?.meta.layoutTransition??!1),u=r&&Zs([i?.meta.layoutTransition,!1,{onBeforeLeave(){Qs(n)},onAfterLeave(){$s(n)}}]),d=l;return l=a.value,Hs(u,{default:()=>Ne(ct,{suspensible:!0,onResolve:async()=>{await bt(c)}},{default:()=>Ne(ej,{layoutProps:$e(t.attrs,i.meta.layoutProps??{},{ref:s}),key:a.value||void 0,name:a.value,shouldProvide:!e.name,resolveRouteLayout:o,isRenderingNewLayout:e=>e!==d&&e===a.value,hasTransition:r},t.slots)})}).default()}}}),ej=st({name:`NuxtLayoutProvider`,inheritAttrs:!1,props:{name:{type:[String,Boolean]},layoutProps:{type:Object},hasTransition:{type:Boolean},shouldProvide:{type:Boolean},isRenderingNewLayout:{type:Function,required:!0},resolveRouteLayout:{type:Function,required:!0}},setup(e,t){let n=e.name;e.shouldProvide&&rt(tn,{isCurrent:t=>n===!1||n===e.resolveRouteLayout(t)});let r=ze(Jt),i=r&&r===on(),a=ze(tn,null);if(i){let t=gr(),n={};for(let i in t){let o=i;Object.defineProperty(n,o,{enumerable:!0,get:()=>e.isRenderingNewLayout(e.name)&&(!a||a.isCurrent(t))?t[o]:r[o]})}rt(Jt,Ot(n))}return()=>!n||typeof n==`string`&&!(n in fm)?t.slots.default?.():Ne(QA,{key:n,layoutProps:e.layoutProps,name:n},t.slots)}});function tj(){return{t:Hr,noun:Vr,locale:De().$vectorI18n.global.locale}}var nj=st({__name:`app`,setup(e){let{locale:t}=tj();return ho({htmlAttrs:{lang:()=>t.value}}),(e,t)=>{let n=KA,r=$A;return ut(),St(r,null,{default:ht(()=>[j(n)]),_:1})}}}),rj={__name:`nuxt-error-page`,props:{error:Object},setup(e){let t=e.error,n=Number(t.statusCode||500),r=n===404,i=t.statusMessage??(r?`Page Not Found`:`Internal Server Error`),a=t.message||t.toString(),o=Ve(()=>wo(()=>import(`./BrAFYyUA.js`),__vite__mapDeps([124,3,107,125]),import.meta.url)),s=Ve(()=>wo(()=>import(`./D2Fz9LRv.js`),__vite__mapDeps([126,3,107,127]),import.meta.url)),c=r?o:s;return(e,t)=>(ut(),St(M(c),Me(kt({status:M(n),statusText:M(i),statusCode:M(n),statusMessage:M(i),description:M(a),stack:M(void 0)})),null,16))}},ij=()=>null,aj={key:0},oj={__name:`nuxt-root`,setup(e){let t=De(),n=t.deferHydration();if(t.isHydrating){let e=t.hooks.hookOnce(`app:error`,n),r=Gt().beforeEach(()=>{e(),r()})}window.location.pathname,rt(Jt,on()),t.hooks.callHookWith(e=>e.map(e=>e()),`vue:setup`,[]);let r=Ht();function i(e,n,r){let i=t.vueApp.config.errorHandler;if(i&&!i.__nuxt_default)try{i(e,n,r)}catch(e){console.error("[nuxt] Error in `app.config.errorHandler`",e)}}return vt((e,n,r)=>{if(t.hooks.callHook(`vue:error`,e,n,r)?.catch(e=>console.error("[nuxt] Error in `vue:error` hook",e)),Vt(navigator.userAgent))return an(t,e),!1;if(ln(e)&&(e.fatal||e.unhandled))return t.runWithContext(()=>Yt(e)),Xi(),i(e,n,r),!1}),(e,t)=>(ut(),St(ct,{onResolve:M(n)},{default:ht(()=>[M(!1)?(ut(),Ye(`div`,aj)):M(r)?(ut(),St(M(rj),{key:1,error:M(r)},null,8,[`error`])):M(!1)?(ut(),St(M(ij),{key:2,context:M(!1)},null,8,[`context`])):M(!1)?(ut(),St(Tt(M(!1)),{key:3})):(ut(),St(M(nj),{key:4}))]),_:1},8,[`onResolve`]))}},sj;{let e;sj=async function(){if(e)return e;let t=!!(window.__NUXT__?.serverRendered??document.getElementById(`__NUXT_DATA__`)?.dataset.ssr===`true`),n=t?At(oj):jt(oj),r=we({vueApp:n});async function i(e){await r.callHook(`app:error`,e),r.payload.error||=Ut(e)}i.__nuxt_default=!0,n.config.errorHandler=i,r.hook(`app:suspense:resolve`,()=>{n.config.errorHandler===i&&(n.config.errorHandler=void 0)}),!t&&ve.id&&r.hook(`app:suspense:resolve`,()=>{document.getElementById(ve.id)?.remove()});try{await Oe(r,HA)}catch(e){i(e)}try{await r.hooks.callHook(`app:created`,n),await r.hooks.callHook(`app:beforeMount`,n),n.mount(be),await r.hooks.callHook(`app:mounted`,n),await bt()}catch(e){i(e)}return n},e=sj().catch(e=>{throw ke.NUXT_E1009({cause:e}),e})}export{pE as $,Cc as $t,$D as A,Pm as At,XT as B,Vp as Bt,_O as C,Y as Ct,DD as D,G as Dt,$ as E,e_ as Et,mT as F,Tm as Ft,tw as G,Rc as Gt,Q as H,gp as Ht,gT as I,Cm as It,HT as J,Nc as Jt,nE as K,Ic as Kt,UT as L,wm as Lt,PD as M,Mm as Mt,kD as N,Am as Nt,fT as O,dh as Ot,pT as P,Em as Pt,fE as Q,Ec as Qt,WT as R,sm as Rt,qO as S,S_ as St,ED as T,b_ as Tt,eE as U,vp as Ut,$T as V,mp as Vt,tE as W,_p as Wt,lE as X,Fc as Xt,cE as Y,Ac as Yt,Jw as Z,kc as Zt,XO as _,vS as _t,TA as a,HO as at,cO as b,W_ as bt,bA as c,BT as ct,hA as d,VC as dt,wo as en,RD as et,mk as f,GC as ft,ek as g,hS as gt,nk as h,yC as ht,EA as i,MT as it,jD as j,Fm as jt,tD as k,q as kt,vA as l,UO as lt,rk as m,UC as mt,PA as n,JO as nt,wA as o,eO as ot,lk as p,WC as pt,NT as q,Pc as qt,MA as r,aO as rt,SA as s,rO as st,tj as t,ho as tn,VO as tt,_A as u,WO as ut,BO as v,X as vt,KO as w,Dg as wt,gO as x,J as xt,wO as y,V_ as yt,JT as z,Zp as zt};
|