← Back
Editing: translation-DoG5ZELJ-Bni_xMHF.chunk.mjs
import{f as Kt}from"./index-Bndk0DrU.chunk.mjs";const{entries:kt,setPrototypeOf:ht,isFrozen:Vt,getPrototypeOf:Zt,getOwnPropertyDescriptor:Qt}=Object;let{freeze:N,seal:k,create:je}=Object,{apply:Ye,construct:qe}=typeof Reflect<"u"&&Reflect;N||(N=function(t){return t}),k||(k=function(t){return t}),Ye||(Ye=function(t,a){for(var i=arguments.length,o=new Array(i>2?i-2:0),s=2;s<i;s++)o[s-2]=arguments[s];return t.apply(a,o)}),qe||(qe=function(t){for(var a=arguments.length,i=new Array(a>1?a-1:0),o=1;o<a;o++)i[o-1]=arguments[o];return new t(...i)});const ge=S(Array.prototype.forEach),Jt=S(Array.prototype.lastIndexOf),Tt=S(Array.prototype.pop),ee=S(Array.prototype.push),en=S(Array.prototype.splice),Te=S(String.prototype.toLowerCase),Ue=S(String.prototype.toString),ze=S(String.prototype.match),te=S(String.prototype.replace),tn=S(String.prototype.indexOf),nn=S(String.prototype.trim),x=S(Object.prototype.hasOwnProperty),E=S(RegExp.prototype.test),ne=an(TypeError);function S(t){return function(a){a instanceof RegExp&&(a.lastIndex=0);for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];return Ye(t,a,o)}}function an(t){return function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];return qe(t,i)}}function c(t,a){let i=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Te;ht&&ht(t,null);let o=a.length;for(;o--;){let s=a[o];if(typeof s=="string"){const u=i(s);u!==s&&(Vt(a)||(a[o]=u),s=u)}t[s]=!0}return t}function rn(t){for(let a=0;a<t.length;a++)x(t,a)||(t[a]=null);return t}function M(t){const a=je(null);for(const[i,o]of kt(t))x(t,i)&&(Array.isArray(o)?a[i]=rn(o):o&&typeof o=="object"&&o.constructor===Object?a[i]=M(o):a[i]=o);return a}function ae(t,a){for(;t!==null;){const o=Qt(t,a);if(o){if(o.get)return S(o.get);if(typeof o.value=="function")return S(o.value)}t=Zt(t)}function i(){return null}return i}const yt=N(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Pe=N(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Fe=N(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),on=N(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),He=N(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),cn=N(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),_t=N(["#text"]),bt=N(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),Be=N(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),At=N(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),he=N(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),sn=k(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ln=k(/<%[\w\W]*|[\w\W]*%>/gm),un=k(/\$\{[\w\W]*/gm),mn=k(/^data-[\-\w.\u00B7-\uFFFF]+$/),pn=k(/^aria-[\-\w]+$/),Rt=k(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),fn=k(/^(?:\w+script|data):/i),dn=k(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),wt=k(/^html$/i),gn=k(/^[a-z][.\w]*(-[.\w]+)+$/i);var Et=Object.freeze({__proto__:null,ARIA_ATTR:pn,ATTR_WHITESPACE:dn,CUSTOM_ELEMENT:gn,DATA_ATTR:mn,DOCTYPE_NAME:wt,ERB_EXPR:ln,IS_ALLOWED_URI:Rt,IS_SCRIPT_OR_DATA:fn,MUSTACHE_EXPR:sn,TMPLIT_EXPR:un});const re={element:1,text:3,progressingInstruction:7,comment:8,document:9},hn=function(){return typeof window>"u"?null:window},Tn=function(t,a){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let i=null;const o="data-tt-policy-suffix";a&&a.hasAttribute(o)&&(i=a.getAttribute(o));const s="dompurify"+(i?"#"+i:"");try{return t.createPolicy(s,{createHTML(u){return u},createScriptURL(u){return u}})}catch{return console.warn("TrustedTypes policy "+s+" could not be created."),null}},Nt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function Dt(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:hn();const a=e=>Dt(e);if(a.version="3.3.1",a.removed=[],!t||!t.document||t.document.nodeType!==re.document||!t.Element)return a.isSupported=!1,a;let{document:i}=t;const o=i,s=o.currentScript,{DocumentFragment:u,HTMLTemplateElement:R,Node:f,Element:_,NodeFilter:L,NamedNodeMap:F=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:oe,DOMParser:ye,trustedTypes:w}=t,v=_.prototype,K=ae(v,"cloneNode"),_e=ae(v,"remove"),ie=ae(v,"nextSibling"),ce=ae(v,"childNodes"),D=ae(v,"parentNode");if(typeof R=="function"){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let b,V="";const{implementation:be,createNodeIterator:xt,createDocumentFragment:Lt,getElementsByTagName:It}=i,{importNode:Mt}=o;let A=Nt();a.isSupported=typeof kt=="function"&&typeof D=="function"&&be&&be.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Ae,ERB_EXPR:Ee,TMPLIT_EXPR:Ne,DATA_ATTR:Ut,ARIA_ATTR:zt,IS_SCRIPT_OR_DATA:Pt,ATTR_WHITESPACE:Xe,CUSTOM_ELEMENT:Ft}=Et;let{IS_ALLOWED_URI:$e}=Et,g=null;const Ke=c({},[...yt,...Pe,...Fe,...He,..._t]);let h=null;const Ve=c({},[...bt,...Be,...At,...he]);let p=Object.seal(je(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Z=null,Se=null;const W=Object.seal(je(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Ze=!0,ve=!0,Qe=!1,Je=!0,j=!1,se=!0,H=!1,ke=!1,Re=!1,Y=!1,le=!1,ue=!1,et=!0,tt=!1;const Ht="user-content-";let we=!0,Q=!1,q={},I=null;const De=c({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let nt=null;const at=c({},["audio","video","img","source","image","track"]);let Ce=null;const rt=c({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",pe="http://www.w3.org/2000/svg",U="http://www.w3.org/1999/xhtml";let X=U,Oe=!1,xe=null;const Bt=c({},[me,pe,U],Ue);let fe=c({},["mi","mo","mn","ms","mtext"]),de=c({},["annotation-xml"]);const Gt=c({},["title","style","font","a","script"]);let J=null;const Wt=["application/xhtml+xml","text/html"],jt="text/html";let d=null,$=null;const Yt=i.createElement("form"),ot=function(e){return e instanceof RegExp||e instanceof Function},Le=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!($&&$===e)){if((!e||typeof e!="object")&&(e={}),e=M(e),J=Wt.indexOf(e.PARSER_MEDIA_TYPE)===-1?jt:e.PARSER_MEDIA_TYPE,d=J==="application/xhtml+xml"?Ue:Te,g=x(e,"ALLOWED_TAGS")?c({},e.ALLOWED_TAGS,d):Ke,h=x(e,"ALLOWED_ATTR")?c({},e.ALLOWED_ATTR,d):Ve,xe=x(e,"ALLOWED_NAMESPACES")?c({},e.ALLOWED_NAMESPACES,Ue):Bt,Ce=x(e,"ADD_URI_SAFE_ATTR")?c(M(rt),e.ADD_URI_SAFE_ATTR,d):rt,nt=x(e,"ADD_DATA_URI_TAGS")?c(M(at),e.ADD_DATA_URI_TAGS,d):at,I=x(e,"FORBID_CONTENTS")?c({},e.FORBID_CONTENTS,d):De,Z=x(e,"FORBID_TAGS")?c({},e.FORBID_TAGS,d):M({}),Se=x(e,"FORBID_ATTR")?c({},e.FORBID_ATTR,d):M({}),q=x(e,"USE_PROFILES")?e.USE_PROFILES:!1,Ze=e.ALLOW_ARIA_ATTR!==!1,ve=e.ALLOW_DATA_ATTR!==!1,Qe=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Je=e.ALLOW_SELF_CLOSE_IN_ATTR!==!1,j=e.SAFE_FOR_TEMPLATES||!1,se=e.SAFE_FOR_XML!==!1,H=e.WHOLE_DOCUMENT||!1,Y=e.RETURN_DOM||!1,le=e.RETURN_DOM_FRAGMENT||!1,ue=e.RETURN_TRUSTED_TYPE||!1,Re=e.FORCE_BODY||!1,et=e.SANITIZE_DOM!==!1,tt=e.SANITIZE_NAMED_PROPS||!1,we=e.KEEP_CONTENT!==!1,Q=e.IN_PLACE||!1,$e=e.ALLOWED_URI_REGEXP||Rt,X=e.NAMESPACE||U,fe=e.MATHML_TEXT_INTEGRATION_POINTS||fe,de=e.HTML_INTEGRATION_POINTS||de,p=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(p.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&ot(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(p.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(p.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),j&&(ve=!1),le&&(Y=!0),q&&(g=c({},_t),h=[],q.html===!0&&(c(g,yt),c(h,bt)),q.svg===!0&&(c(g,Pe),c(h,Be),c(h,he)),q.svgFilters===!0&&(c(g,Fe),c(h,Be),c(h,he)),q.mathMl===!0&&(c(g,He),c(h,At),c(h,he))),e.ADD_TAGS&&(typeof e.ADD_TAGS=="function"?W.tagCheck=e.ADD_TAGS:(g===Ke&&(g=M(g)),c(g,e.ADD_TAGS,d))),e.ADD_ATTR&&(typeof e.ADD_ATTR=="function"?W.attributeCheck=e.ADD_ATTR:(h===Ve&&(h=M(h)),c(h,e.ADD_ATTR,d))),e.ADD_URI_SAFE_ATTR&&c(Ce,e.ADD_URI_SAFE_ATTR,d),e.FORBID_CONTENTS&&(I===De&&(I=M(I)),c(I,e.FORBID_CONTENTS,d)),e.ADD_FORBID_CONTENTS&&(I===De&&(I=M(I)),c(I,e.ADD_FORBID_CONTENTS,d)),we&&(g["#text"]=!0),H&&c(g,["html","head","body"]),g.table&&(c(g,["tbody"]),delete Z.tbody),e.TRUSTED_TYPES_POLICY){if(typeof e.TRUSTED_TYPES_POLICY.createHTML!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof e.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw ne('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');b=e.TRUSTED_TYPES_POLICY,V=b.createHTML("")}else b===void 0&&(b=Tn(w,s)),b!==null&&typeof V=="string"&&(V=b.createHTML(""));N&&N(e),$=e}},it=c({},[...Pe,...Fe,...on]),ct=c({},[...He,...cn]),qt=function(e){let r=D(e);(!r||!r.tagName)&&(r={namespaceURI:X,tagName:"template"});const n=Te(e.tagName),l=Te(r.tagName);return xe[e.namespaceURI]?e.namespaceURI===pe?r.namespaceURI===U?n==="svg":r.namespaceURI===me?n==="svg"&&(l==="annotation-xml"||fe[l]):!!it[n]:e.namespaceURI===me?r.namespaceURI===U?n==="math":r.namespaceURI===pe?n==="math"&&de[l]:!!ct[n]:e.namespaceURI===U?r.namespaceURI===pe&&!de[l]||r.namespaceURI===me&&!fe[l]?!1:!ct[n]&&(Gt[n]||!it[n]):!!(J==="application/xhtml+xml"&&xe[e.namespaceURI]):!1},B=function(e){ee(a.removed,{element:e});try{D(e).removeChild(e)}catch{_e(e)}},G=function(e,r){try{ee(a.removed,{attribute:r.getAttributeNode(e),from:r})}catch{ee(a.removed,{attribute:null,from:r})}if(r.removeAttribute(e),e==="is")if(Y||le)try{B(r)}catch{}else try{r.setAttribute(e,"")}catch{}},st=function(e){let r=null,n=null;if(Re)e="<remove></remove>"+e;else{const m=ze(e,/^[\r\n\t ]+/);n=m&&m[0]}J==="application/xhtml+xml"&&X===U&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const l=b?b.createHTML(e):e;if(X===U)try{r=new ye().parseFromString(l,J)}catch{}if(!r||!r.documentElement){r=be.createDocument(X,"template",null);try{r.documentElement.innerHTML=Oe?V:l}catch{}}const T=r.body||r.documentElement;return e&&n&&T.insertBefore(i.createTextNode(n),T.childNodes[0]||null),X===U?It.call(r,H?"html":"body")[0]:H?r.documentElement:T},lt=function(e){return xt.call(e.ownerDocument||e,e,L.SHOW_ELEMENT|L.SHOW_COMMENT|L.SHOW_TEXT|L.SHOW_PROCESSING_INSTRUCTION|L.SHOW_CDATA_SECTION,null)},Ie=function(e){return e instanceof oe&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof F)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},ut=function(e){return typeof f=="function"&&e instanceof f};function z(e,r,n){ge(e,l=>{l.call(a,r,n,$)})}const mt=function(e){let r=null;if(z(A.beforeSanitizeElements,e,null),Ie(e))return B(e),!0;const n=d(e.nodeName);if(z(A.uponSanitizeElement,e,{tagName:n,allowedTags:g}),se&&e.hasChildNodes()&&!ut(e.firstElementChild)&&E(/<[/\w!]/g,e.innerHTML)&&E(/<[/\w!]/g,e.textContent)||e.nodeType===re.progressingInstruction||se&&e.nodeType===re.comment&&E(/<[/\w]/g,e.data))return B(e),!0;if(!(W.tagCheck instanceof Function&&W.tagCheck(n))&&(!g[n]||Z[n])){if(!Z[n]&&ft(n)&&(p.tagNameCheck instanceof RegExp&&E(p.tagNameCheck,n)||p.tagNameCheck instanceof Function&&p.tagNameCheck(n)))return!1;if(we&&!I[n]){const l=D(e)||e.parentNode,T=ce(e)||e.childNodes;if(T&&l){const m=T.length;for(let P=m-1;P>=0;--P){const C=K(T[P],!0);C.__removalCount=(e.__removalCount||0)+1,l.insertBefore(C,ie(e))}}}return B(e),!0}return e instanceof _&&!qt(e)||(n==="noscript"||n==="noembed"||n==="noframes")&&E(/<\/no(script|embed|frames)/i,e.innerHTML)?(B(e),!0):(j&&e.nodeType===re.text&&(r=e.textContent,ge([Ae,Ee,Ne],l=>{r=te(r,l," ")}),e.textContent!==r&&(ee(a.removed,{element:e.cloneNode()}),e.textContent=r)),z(A.afterSanitizeElements,e,null),!1)},pt=function(e,r,n){if(et&&(r==="id"||r==="name")&&(n in i||n in Yt))return!1;if(!(ve&&!Se[r]&&E(Ut,r))&&!(Ze&&E(zt,r))&&!(W.attributeCheck instanceof Function&&W.attributeCheck(r,e))){if(!h[r]||Se[r]){if(!(ft(e)&&(p.tagNameCheck instanceof RegExp&&E(p.tagNameCheck,e)||p.tagNameCheck instanceof Function&&p.tagNameCheck(e))&&(p.attributeNameCheck instanceof RegExp&&E(p.attributeNameCheck,r)||p.attributeNameCheck instanceof Function&&p.attributeNameCheck(r,e))||r==="is"&&p.allowCustomizedBuiltInElements&&(p.tagNameCheck instanceof RegExp&&E(p.tagNameCheck,n)||p.tagNameCheck instanceof Function&&p.tagNameCheck(n))))return!1}else if(!Ce[r]&&!E($e,te(n,Xe,""))&&!((r==="src"||r==="xlink:href"||r==="href")&&e!=="script"&&tn(n,"data:")===0&&nt[e])&&!(Qe&&!E(Pt,te(n,Xe,"")))&&n)return!1}return!0},ft=function(e){return e!=="annotation-xml"&&ze(e,Ft)},dt=function(e){z(A.beforeSanitizeAttributes,e,null);const{attributes:r}=e;if(!r||Ie(e))return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:h,forceKeepAttr:void 0};let l=r.length;for(;l--;){const T=r[l],{name:m,namespaceURI:P,value:C}=T,O=d(m),Me=C;let y=m==="value"?Me:nn(Me);if(n.attrName=O,n.attrValue=y,n.keepAttr=!0,n.forceKeepAttr=void 0,z(A.uponSanitizeAttribute,e,n),y=n.attrValue,tt&&(O==="id"||O==="name")&&(G(m,e),y=Ht+y),se&&E(/((--!?|])>)|<\/(style|title|textarea)/i,y)){G(m,e);continue}if(O==="attributename"&&ze(y,"href")){G(m,e);continue}if(n.forceKeepAttr)continue;if(!n.keepAttr){G(m,e);continue}if(!Je&&E(/\/>/i,y)){G(m,e);continue}j&&ge([Ae,Ee,Ne],$t=>{y=te(y,$t," ")});const gt=d(e.nodeName);if(!pt(gt,O,y)){G(m,e);continue}if(b&&typeof w=="object"&&typeof w.getAttributeType=="function"&&!P)switch(w.getAttributeType(gt,O)){case"TrustedHTML":{y=b.createHTML(y);break}case"TrustedScriptURL":{y=b.createScriptURL(y);break}}if(y!==Me)try{P?e.setAttributeNS(P,m,y):e.setAttribute(m,y),Ie(e)?B(e):Tt(a.removed)}catch{G(m,e)}}z(A.afterSanitizeAttributes,e,null)},Xt=function e(r){let n=null;const l=lt(r);for(z(A.beforeSanitizeShadowDOM,r,null);n=l.nextNode();)z(A.uponSanitizeShadowNode,n,null),mt(n),dt(n),n.content instanceof u&&e(n.content);z(A.afterSanitizeShadowDOM,r,null)};return a.sanitize=function(e){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=null,l=null,T=null,m=null;if(Oe=!e,Oe&&(e="<!-->"),typeof e!="string"&&!ut(e))if(typeof e.toString=="function"){if(e=e.toString(),typeof e!="string")throw ne("dirty is not a string, aborting")}else throw ne("toString is not a function");if(!a.isSupported)return e;if(ke||Le(r),a.removed=[],typeof e=="string"&&(Q=!1),Q){if(e.nodeName){const O=d(e.nodeName);if(!g[O]||Z[O])throw ne("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof f)n=st("<!---->"),l=n.ownerDocument.importNode(e,!0),l.nodeType===re.element&&l.nodeName==="BODY"||l.nodeName==="HTML"?n=l:n.appendChild(l);else{if(!Y&&!j&&!H&&e.indexOf("<")===-1)return b&&ue?b.createHTML(e):e;if(n=st(e),!n)return Y?null:ue?V:""}n&&Re&&B(n.firstChild);const P=lt(Q?e:n);for(;T=P.nextNode();)mt(T),dt(T),T.content instanceof u&&Xt(T.content);if(Q)return e;if(Y){if(le)for(m=Lt.call(n.ownerDocument);n.firstChild;)m.appendChild(n.firstChild);else m=n;return(h.shadowroot||h.shadowrootmode)&&(m=Mt.call(o,m,!0)),m}let C=H?n.outerHTML:n.innerHTML;return H&&g["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&E(wt,n.ownerDocument.doctype.name)&&(C="<!DOCTYPE "+n.ownerDocument.doctype.name+`> `+C),j&&ge([Ae,Ee,Ne],O=>{C=te(C,O," ")}),b&&ue?b.createHTML(C):C},a.setConfig=function(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Le(e),ke=!0},a.clearConfig=function(){$=null,ke=!1},a.isValidAttribute=function(e,r,n){$||Le({});const l=d(e),T=d(r);return pt(l,T,n)},a.addHook=function(e,r){typeof r=="function"&&ee(A[e],r)},a.removeHook=function(e,r){if(r!==void 0){const n=Jt(A[e],r);return n===-1?void 0:en(A[e],n,1)[0]}return Tt(A[e])},a.removeHooks=function(e){A[e]=[]},a.removeAllHooks=function(){A=Nt()},a}var yn=Dt(),Ge,St;function _n(){if(St)return Ge;St=1;var t=/["'&<>]/;Ge=a;function a(i){var o=""+i,s=t.exec(o);if(!s)return o;var u,R="",f=0,_=0;for(f=s.index;f<o.length;f++){switch(o.charCodeAt(f)){case 34:u=""";break;case 38:u="&";break;case 39:u="'";break;case 60:u="<";break;case 62:u=">";break;default:continue}_!==f&&(R+=o.substring(_,f)),_=f+1,R+=u}return _!==f?R+o.substring(_,f):R}return Ge}var bn=_n();const vt=Kt(bn);function An(){return globalThis._nc_l10n_locale}function Nn(){return An().replaceAll(/_/g,"-")}function Ct(){return globalThis._nc_l10n_language}function Sn(t){const a=Ct();return["ae","ar","arc","arz","bcc","bqi","ckb","dv","fa","glk","ha","he","khw","ks","ku","mzn","nqo","pnb","ps","sd","ug","ur","ur-PK","uz-AF","yi"].includes(a)}globalThis._nc_l10n_locale??=typeof document<"u"&&document.documentElement.dataset.locale||Intl.DateTimeFormat().resolvedOptions().locale.replaceAll(/-/g,"_"),globalThis._nc_l10n_language??=typeof document<"u"&&document.documentElement.lang||(globalThis.navigator?.language??"en");function Ot(t){return{translations:globalThis._oc_l10n_registry_translations[t]??{},pluralFunction:globalThis._oc_l10n_registry_plural_functions[t]??(a=>a)}}globalThis._oc_l10n_registry_translations??={},globalThis._oc_l10n_registry_plural_functions??={};function We(t,a,i,o,s){const u=typeof i=="object"?i:void 0,R=typeof o=="number"?o:typeof i=="number"?i:void 0,f={escape:!0,sanitize:!0,...typeof s=="object"?s:typeof o=="object"?o:{}},_=v=>v,L=(f.sanitize?yn.sanitize:_)||_,F=f.escape?vt:_,oe=v=>typeof v=="string"||typeof v=="number",ye=(v,K,_e)=>v.replace(/%n/g,""+_e).replace(/{([^{}]*)}/g,(ie,ce)=>{if(K===void 0||!(ce in K))return F(ie);const D=K[ce];return oe(D)?F(`${D}`):typeof D=="object"&&oe(D.value)?(D.escape!==!1?vt:_)(`${D.value}`):F(ie)});let w=(s?.bundle??Ot(t)).translations[a]||a;return w=Array.isArray(w)?w[0]:w,L(typeof u=="object"||R!==void 0?ye(w,u,R):w)}function vn(t,a,i,o,s,u){const R="_"+a+"_::_"+i+"_",f=u?.bundle??Ot(t),_=f.translations[R];if(typeof _<"u"){const L=_;if(Array.isArray(L)){const F=f.pluralFunction(o);return We(t,L[F],s,o,u)}}return o===1?We(t,a,s,o,u):We(t,i,s,o,u)}function kn(t,a=Ct()){switch(a==="pt-BR"&&(a="xbr"),a.length>3&&(a=a.substring(0,a.lastIndexOf("-"))),a){case"az":case"bo":case"dz":case"id":case"ja":case"jv":case"ka":case"km":case"kn":case"ko":case"ms":case"th":case"tr":case"vi":case"zh":return 0;case"af":case"bn":case"bg":case"ca":case"da":case"de":case"el":case"en":case"eo":case"es":case"et":case"eu":case"fa":case"fi":case"fo":case"fur":case"fy":case"gl":case"gu":case"ha":case"he":case"hu":case"is":case"it":case"ku":case"lb":case"ml":case"mn":case"mr":case"nah":case"nb":case"ne":case"nl":case"nn":case"no":case"oc":case"om":case"or":case"pa":case"pap":case"ps":case"pt":case"so":case"sq":case"sv":case"sw":case"ta":case"te":case"tk":case"ur":case"zu":return t===1?0:1;case"am":case"bh":case"fil":case"fr":case"gun":case"hi":case"hy":case"ln":case"mg":case"nso":case"xbr":case"ti":case"wa":return t===0||t===1?0:1;case"be":case"bs":case"hr":case"ru":case"sh":case"sr":case"uk":return t%10===1&&t%100!==11?0:t%10>=2&&t%10<=4&&(t%100<10||t%100>=20)?1:2;case"cs":case"sk":return t===1?0:t>=2&&t<=4?1:2;case"ga":return t===1?0:t===2?1:2;case"lt":return t%10===1&&t%100!==11?0:t%10>=2&&(t%100<10||t%100>=20)?1:2;case"sl":return t%100===1?0:t%100===2?1:t%100===3||t%100===4?2:3;case"mk":return t%10===1?0:1;case"mt":return t===1?0:t===0||t%100>1&&t%100<11?1:t%100>10&&t%100<20?2:3;case"lv":return t===0?0:t%10===1&&t%100!==11?1:2;case"pl":return t===1?0:t%10>=2&&t%10<=4&&(t%100<12||t%100>14)?1:2;case"cy":return t===1?0:t===2?1:t===8||t===11?2:3;case"ro":return t===1?0:t===0||t%100>0&&t%100<20?1:2;case"ar":return t===0?0:t===1?1:t===2?2:t%100>=3&&t%100<=10?3:t%100>=11&&t%100<=99?4:5;default:return 0}}export{Nn as a,vn as b,kn as c,vt as e,Ct as g,Sn as i,yn as p,We as t}; //# sourceMappingURL=translation-DoG5ZELJ-Bni_xMHF.chunk.mjs.map
Save File
Cancel