@nocobase/app 1.9.0-beta.9 → 2.0.0-alpha.3

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.
Files changed (106) hide show
  1. package/dist/client/1145.4029b0be.async.js +3 -0
  2. package/dist/client/1617.dd671a87.async.js +6 -0
  3. package/dist/client/1833.82373d30.async.js +6 -0
  4. package/dist/client/2134.1d86e440.async.js +5 -0
  5. package/dist/client/2190.90c718a9.async.js +3 -0
  6. package/dist/client/2498.be8b1194.async.js +7 -0
  7. package/dist/client/260.5b02a0a5.async.js +4 -0
  8. package/dist/client/2953.2e77d77c.async.js +24 -0
  9. package/dist/client/3130.7f60a040.async.js +35 -0
  10. package/dist/client/3170.6147bd19.async.js +24 -0
  11. package/dist/client/3255.e6303833.async.js +10 -0
  12. package/dist/client/3520.81fd6362.async.js +24 -0
  13. package/dist/client/3522.674f2264.async.js +4 -0
  14. package/dist/client/4088.0568ef31.async.js +5 -0
  15. package/dist/client/4205.c3eac46d.async.js +9 -0
  16. package/dist/client/4644.ae01f8a6.async.js +4 -0
  17. package/dist/client/4666.d20ff352.async.js +8 -0
  18. package/dist/client/4840.477401f9.async.js +8 -0
  19. package/dist/client/5068.72e9d750.async.js +5 -0
  20. package/dist/client/5087.468f5500.async.js +6 -0
  21. package/dist/client/5950.b83f8586.async.js +4 -0
  22. package/dist/client/6416.361c93ff.async.js +4 -0
  23. package/dist/client/6472.ac05f778.async.js +7 -0
  24. package/dist/client/6779.47fc1971.async.js +10 -0
  25. package/dist/client/6816.1ff200ac.async.js +5 -0
  26. package/dist/client/6996.836a3f7f.async.js +8 -0
  27. package/dist/client/7463.70ca58ce.async.js +20 -0
  28. package/dist/client/7522.1f91be5c.async.js +23 -0
  29. package/dist/client/7596.232a7185.async.js +10 -0
  30. package/dist/client/7688.85d6d7bb.async.js +4 -0
  31. package/dist/client/8106.829fd6b5.async.js +10 -0
  32. package/dist/client/816.b71d5e67.async.js +1 -0
  33. package/dist/client/8541.e3110aaa.async.js +8 -0
  34. package/dist/client/9017.28eacc5a.async.js +6 -0
  35. package/dist/client/937.a55819ab.async.js +5 -0
  36. package/dist/client/9489.25ca39a9.async.js +7 -0
  37. package/dist/client/9663.c04b2ad1.async.js +5 -0
  38. package/dist/client/9729.0d7a5c47.async.js +8 -0
  39. package/dist/client/9848.18f8d3db.async.js +4 -0
  40. package/dist/client/index.html +1 -1
  41. package/dist/client/index.html.tpl +1 -1
  42. package/dist/client/npm._at_ant-design.0bc226be.async.js +141 -0
  43. package/dist/client/npm._at_babel.aa6aa60c.async.js +3 -0
  44. package/dist/client/npm._at_codemirror.23366286.async.js +26 -0
  45. package/dist/client/npm._at_formily.7785699b.async.js +96 -0
  46. package/dist/client/npm._at_lezer.8e7184b5.async.js +2 -0
  47. package/dist/client/npm._at_rc-component.8d2d642c.async.js +8 -0
  48. package/dist/client/npm._at_umijs.47085d01.async.js +7 -0
  49. package/dist/client/npm.acorn.1f389fab.async.js +6 -0
  50. package/dist/client/npm.antd-mobile.ba8a4934.async.js +1 -0
  51. package/dist/client/npm.antd.acf65d87.async.js +935 -0
  52. package/dist/client/{npm.d3-selection.15d6ab5b.async.js → npm.d3-selection.605ec083.async.js} +1 -1
  53. package/dist/client/{npm.d3-transition.5fd82a9c.async.js → npm.d3-transition.1d02fe5d.async.js} +1 -1
  54. package/dist/client/{npm.dayjs.45ed1676.async.js → npm.dayjs.772d2a39.async.js} +1 -1
  55. package/dist/client/npm.dompurify.2dcd638d.async.js +2 -0
  56. package/dist/client/{npm.entities.8159ac3e.async.js → npm.entities.536e25f7.async.js} +1 -1
  57. package/dist/client/{npm.highlight.js.f727dfe3.async.js → npm.highlight.js.c1f693ec.async.js} +2 -2
  58. package/dist/client/{npm.htmlparser2.1a3babb6.async.js → npm.htmlparser2.a2f8d64d.async.js} +1 -1
  59. package/dist/client/npm.joi.0be0ffb8.async.js +1 -0
  60. package/dist/client/npm.lodash-es.d3d83c5d.async.js +1 -0
  61. package/dist/client/{npm.markdown-it.5b35f93d.async.js → npm.markdown-it.9eced26c.async.js} +1 -1
  62. package/dist/client/npm.mermaid.91e7e45d.async.js +1556 -0
  63. package/dist/client/npm.rc-cascader.641db835.async.js +4 -0
  64. package/dist/client/npm.rc-image.500705f3.async.js +1 -0
  65. package/dist/client/npm.rc-menu.623f9c7e.async.js +1 -0
  66. package/dist/client/npm.rc-picker.baba6981.async.js +22 -0
  67. package/dist/client/npm.rc-select.34fc277e.async.js +3 -0
  68. package/dist/client/npm.rc-slider.a10210c6.async.js +1 -0
  69. package/dist/client/npm.rc-table.ffbc8feb.async.js +22 -0
  70. package/dist/client/npm.rc-tree-select.866d1acb.async.js +5 -0
  71. package/dist/client/npm.rc-tree.c1d5eac5.async.js +1 -0
  72. package/dist/client/npm.rc-util.1c9d8b50.async.js +35 -0
  73. package/dist/client/{npm.react-router-dom.2109af81.async.js → npm.react-router-dom.c4482ef7.async.js} +1 -1
  74. package/dist/client/npm.ses.94a6543e.async.js +29 -0
  75. package/dist/client/npm.slate-react.ef6881ab.async.js +15 -0
  76. package/dist/client/npm.slate.44c32547.async.js +1 -0
  77. package/dist/client/npm.util.9c956416.async.js +10 -0
  78. package/dist/client/p__index.5eda2656.chunk.css +1 -0
  79. package/dist/client/p__index.ac284e3d.async.js +2316 -0
  80. package/dist/client/umi.aabb8b7a.js +63 -0
  81. package/package.json +6 -6
  82. package/dist/client/381.370f6149.async.js +0 -42
  83. package/dist/client/npm._at_ant-design.94678b5d.async.js +0 -141
  84. package/dist/client/npm._at_formily.f71b1c62.async.js +0 -96
  85. package/dist/client/npm._at_juggle.71821ece.async.js +0 -1
  86. package/dist/client/npm._at_rc-component.5f4cc5e2.async.js +0 -8
  87. package/dist/client/npm._at_umijs.7f6c4722.async.js +0 -7
  88. package/dist/client/npm.antd-mobile.6d2f2685.async.js +0 -1
  89. package/dist/client/npm.antd.a8e8f371.async.js +0 -464
  90. package/dist/client/npm.dompurify.2ca7a7c6.async.js +0 -3
  91. package/dist/client/npm.elkjs.f35a7d45.async.js +0 -26
  92. package/dist/client/npm.lodash-es.99877438.async.js +0 -1
  93. package/dist/client/npm.mermaid.b398414f.async.js +0 -1529
  94. package/dist/client/npm.rc-cascader.cf6ec555.async.js +0 -4
  95. package/dist/client/npm.rc-image.d550fa79.async.js +0 -1
  96. package/dist/client/npm.rc-menu.da4ef0ce.async.js +0 -1
  97. package/dist/client/npm.rc-picker.89eafb74.async.js +0 -22
  98. package/dist/client/npm.rc-select.44fb85b4.async.js +0 -3
  99. package/dist/client/npm.rc-slider.d2d511ab.async.js +0 -1
  100. package/dist/client/npm.rc-table.c5aa8a0d.async.js +0 -22
  101. package/dist/client/npm.rc-tree-select.5597dcbf.async.js +0 -5
  102. package/dist/client/npm.rc-tree.49888c60.async.js +0 -1
  103. package/dist/client/npm.rc-util.d5d23626.async.js +0 -18
  104. package/dist/client/p__index.7c1854dd.async.js +0 -1812
  105. package/dist/client/p__index.b3e3d810.chunk.css +0 -1
  106. package/dist/client/umi.639badb9.js +0 -63
@@ -1,3 +0,0 @@
1
- (self.webpackChunknocobase=self.webpackChunknocobase||[]).push([[8370],{27856:function(dt){(function(L,W){dt.exports=W()})(this,function(){"use strict";function L(r){"@babel/helpers - typeof";return L=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},L(r)}function W(r,n){return W=Object.setPrototypeOf||function(s,f){return s.__proto__=f,s},W(r,n)}function vt(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function K(r,n,o){return vt()?K=Reflect.construct:K=function(f,O,M){var N=[null];N.push.apply(N,O);var j=Function.bind.apply(f,N),Y=new j;return M&&W(Y,M.prototype),Y},K.apply(null,arguments)}function g(r){return ht(r)||Tt(r)||_t(r)||At()}function ht(r){if(Array.isArray(r))return fe(r)}function Tt(r){if(typeof Symbol<"u"&&r[Symbol.iterator]!=null||r["@@iterator"]!=null)return Array.from(r)}function _t(r,n){if(r){if(typeof r=="string")return fe(r,n);var o=Object.prototype.toString.call(r).slice(8,-1);if(o==="Object"&&r.constructor&&(o=r.constructor.name),o==="Map"||o==="Set")return Array.from(r);if(o==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return fe(r,n)}}function fe(r,n){(n==null||n>r.length)&&(n=r.length);for(var o=0,s=new Array(n);o<n;o++)s[o]=r[o];return s}function At(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
2
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Et=Object.hasOwnProperty,Ue=Object.setPrototypeOf,yt=Object.isFrozen,gt=Object.getPrototypeOf,bt=Object.getOwnPropertyDescriptor,_=Object.freeze,b=Object.seal,St=Object.create,He=typeof Reflect<"u"&&Reflect,Z=He.apply,ce=He.construct;Z||(Z=function(n,o,s){return n.apply(o,s)}),_||(_=function(n){return n}),b||(b=function(n){return n}),ce||(ce=function(n,o){return K(n,g(o))});var Rt=y(Array.prototype.forEach),ze=y(Array.prototype.pop),$=y(Array.prototype.push),J=y(String.prototype.toLowerCase),pe=y(String.prototype.toString),Ot=y(String.prototype.match),S=y(String.prototype.replace),Nt=y(String.prototype.indexOf),Dt=y(String.prototype.trim),A=y(RegExp.prototype.test),me=Lt(TypeError);function y(r){return function(n){for(var o=arguments.length,s=new Array(o>1?o-1:0),f=1;f<o;f++)s[f-1]=arguments[f];return Z(r,n,s)}}function Lt(r){return function(){for(var n=arguments.length,o=new Array(n),s=0;s<n;s++)o[s]=arguments[s];return ce(r,o)}}function l(r,n,o){o=o||J,Ue&&Ue(r,null);for(var s=n.length;s--;){var f=n[s];if(typeof f=="string"){var O=o(f);O!==f&&(yt(n)||(n[s]=O),f=O)}r[f]=!0}return r}function x(r){var n=St(null),o;for(o in r)Z(Et,r,[o])===!0&&(n[o]=r[o]);return n}function Q(r,n){for(;r!==null;){var o=bt(r,n);if(o){if(o.get)return y(o.get);if(typeof o.value=="function")return y(o.value)}r=gt(r)}function s(f){return console.warn("fallback value for",f),null}return s}var Ge=_(["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","section","select","shadow","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"]),de=_(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ve=_(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Mt=_(["animate","color-profile","cursor","discard","fedropshadow","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=_(["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"]),wt=_(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Be=_(["#text"]),We=_(["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","face","for","headers","height","hidden","high","href","hreflang","id","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","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),Te=_(["accent-height","accumulate","additive","alignment-baseline","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","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","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","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","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","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"]),$e=_(["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"]),ee=_(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ct=b(/\{\{[\w\W]*|[\w\W]*\}\}/gm),It=b(/<%[\w\W]*|[\w\W]*%>/gm),xt=b(/\${[\w\W]*}/gm),kt=b(/^data-[\-\w.\u00B7-\uFFFF]/),Pt=b(/^aria-[\-\w]+$/),Ft=b(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ut=b(/^(?:\w+script|data):/i),Ht=b(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),zt=b(/^html$/i),Gt=function(){return typeof window>"u"?null:window},Bt=function(n,o){if(L(n)!=="object"||typeof n.createPolicy!="function")return null;var s=null,f="data-tt-policy-suffix";o.currentScript&&o.currentScript.hasAttribute(f)&&(s=o.currentScript.getAttribute(f));var O="dompurify"+(s?"#"+s:"");try{return n.createPolicy(O,{createHTML:function(N){return N},createScriptURL:function(N){return N}})}catch{return console.warn("TrustedTypes policy "+O+" could not be created."),null}};function je(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gt(),n=function(e){return je(e)};if(n.version="2.4.3",n.removed=[],!r||!r.document||r.document.nodeType!==9)return n.isSupported=!1,n;var o=r.document,s=r.document,f=r.DocumentFragment,O=r.HTMLTemplateElement,M=r.Node,N=r.Element,j=r.NodeFilter,Y=r.NamedNodeMap,$t=Y===void 0?r.NamedNodeMap||r.MozNamedAttrMap:Y,jt=r.HTMLFormElement,Yt=r.DOMParser,te=r.trustedTypes,re=N.prototype,Vt=Q(re,"cloneNode"),Xt=Q(re,"nextSibling"),qt=Q(re,"childNodes"),_e=Q(re,"parentNode");if(typeof O=="function"){var Ae=s.createElement("template");Ae.content&&Ae.content.ownerDocument&&(s=Ae.content.ownerDocument)}var R=Bt(te,o),Ee=R?R.createHTML(""):"",ae=s,ye=ae.implementation,Kt=ae.createNodeIterator,Zt=ae.createDocumentFragment,Jt=ae.getElementsByTagName,Qt=o.importNode,Ye={};try{Ye=x(s).documentMode?s.documentMode:{}}catch{}var D={};n.isSupported=typeof _e=="function"&&ye&&typeof ye.createHTMLDocument<"u"&&Ye!==9;var ge=Ct,be=It,Se=xt,er=kt,tr=Pt,rr=Ut,Ve=Ht,Re=Ft,p=null,Xe=l({},[].concat(g(Ge),g(de),g(ve),g(he),g(Be))),v=null,qe=l({},[].concat(g(We),g(Te),g($e),g(ee))),c=Object.seal(Object.create(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}})),V=null,Oe=null,Ke=!0,Ne=!0,Ze=!1,F=!1,k=!1,De=!1,Le=!1,U=!1,ne=!1,ie=!1,Je=!0,Qe=!1,ar="user-content-",Me=!0,X=!1,H={},z=null,et=l({},["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"]),tt=null,rt=l({},["audio","video","img","source","image","track"]),we=null,at=l({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),oe="http://www.w3.org/1998/Math/MathML",le="http://www.w3.org/2000/svg",w="http://www.w3.org/1999/xhtml",G=w,Ce=!1,Ie=null,nr=l({},[oe,le,w],pe),P,ir=["application/xhtml+xml","text/html"],or="text/html",m,B=null,lr=s.createElement("form"),nt=function(e){return e instanceof RegExp||e instanceof Function},xe=function(e){B&&B===e||((!e||L(e)!=="object")&&(e={}),e=x(e),P=ir.indexOf(e.PARSER_MEDIA_TYPE)===-1?P=or:P=e.PARSER_MEDIA_TYPE,m=P==="application/xhtml+xml"?pe:J,p="ALLOWED_TAGS"in e?l({},e.ALLOWED_TAGS,m):Xe,v="ALLOWED_ATTR"in e?l({},e.ALLOWED_ATTR,m):qe,Ie="ALLOWED_NAMESPACES"in e?l({},e.ALLOWED_NAMESPACES,pe):nr,we="ADD_URI_SAFE_ATTR"in e?l(x(at),e.ADD_URI_SAFE_ATTR,m):at,tt="ADD_DATA_URI_TAGS"in e?l(x(rt),e.ADD_DATA_URI_TAGS,m):rt,z="FORBID_CONTENTS"in e?l({},e.FORBID_CONTENTS,m):et,V="FORBID_TAGS"in e?l({},e.FORBID_TAGS,m):{},Oe="FORBID_ATTR"in e?l({},e.FORBID_ATTR,m):{},H="USE_PROFILES"in e?e.USE_PROFILES:!1,Ke=e.ALLOW_ARIA_ATTR!==!1,Ne=e.ALLOW_DATA_ATTR!==!1,Ze=e.ALLOW_UNKNOWN_PROTOCOLS||!1,F=e.SAFE_FOR_TEMPLATES||!1,k=e.WHOLE_DOCUMENT||!1,U=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,ie=e.RETURN_TRUSTED_TYPE||!1,Le=e.FORCE_BODY||!1,Je=e.SANITIZE_DOM!==!1,Qe=e.SANITIZE_NAMED_PROPS||!1,Me=e.KEEP_CONTENT!==!1,X=e.IN_PLACE||!1,Re=e.ALLOWED_URI_REGEXP||Re,G=e.NAMESPACE||w,e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(c.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&nt(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(c.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(c.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),F&&(Ne=!1),ne&&(U=!0),H&&(p=l({},g(Be)),v=[],H.html===!0&&(l(p,Ge),l(v,We)),H.svg===!0&&(l(p,de),l(v,Te),l(v,ee)),H.svgFilters===!0&&(l(p,ve),l(v,Te),l(v,ee)),H.mathMl===!0&&(l(p,he),l(v,$e),l(v,ee))),e.ADD_TAGS&&(p===Xe&&(p=x(p)),l(p,e.ADD_TAGS,m)),e.ADD_ATTR&&(v===qe&&(v=x(v)),l(v,e.ADD_ATTR,m)),e.ADD_URI_SAFE_ATTR&&l(we,e.ADD_URI_SAFE_ATTR,m),e.FORBID_CONTENTS&&(z===et&&(z=x(z)),l(z,e.FORBID_CONTENTS,m)),Me&&(p["#text"]=!0),k&&l(p,["html","head","body"]),p.table&&(l(p,["tbody"]),delete V.tbody),_&&_(e),B=e)},it=l({},["mi","mo","mn","ms","mtext"]),ot=l({},["foreignobject","desc","title","annotation-xml"]),sr=l({},["title","style","font","a","script"]),se=l({},de);l(se,ve),l(se,Mt);var ke=l({},he);l(ke,wt);var ur=function(e){var t=_e(e);(!t||!t.tagName)&&(t={namespaceURI:G,tagName:"template"});var a=J(e.tagName),u=J(t.tagName);return Ie[e.namespaceURI]?e.namespaceURI===le?t.namespaceURI===w?a==="svg":t.namespaceURI===oe?a==="svg"&&(u==="annotation-xml"||it[u]):!!se[a]:e.namespaceURI===oe?t.namespaceURI===w?a==="math":t.namespaceURI===le?a==="math"&&ot[u]:!!ke[a]:e.namespaceURI===w?t.namespaceURI===le&&!ot[u]||t.namespaceURI===oe&&!it[u]?!1:!ke[a]&&(sr[a]||!se[a]):!!(P==="application/xhtml+xml"&&Ie[e.namespaceURI]):!1},C=function(e){$(n.removed,{element:e});try{e.parentNode.removeChild(e)}catch{try{e.outerHTML=Ee}catch{e.remove()}}},Pe=function(e,t){try{$(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch{$(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),e==="is"&&!v[e])if(U||ne)try{C(t)}catch{}else try{t.setAttribute(e,"")}catch{}},lt=function(e){var t,a;if(Le)e="<remove></remove>"+e;else{var u=Ot(e,/^[\r\n\t ]+/);a=u&&u[0]}P==="application/xhtml+xml"&&G===w&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");var E=R?R.createHTML(e):e;if(G===w)try{t=new Yt().parseFromString(E,P)}catch{}if(!t||!t.documentElement){t=ye.createDocument(G,"template",null);try{t.documentElement.innerHTML=Ce?Ee:E}catch{}}var T=t.body||t.documentElement;return e&&a&&T.insertBefore(s.createTextNode(a),T.childNodes[0]||null),G===w?Jt.call(t,k?"html":"body")[0]:k?t.documentElement:T},st=function(e){return Kt.call(e.ownerDocument||e,e,j.SHOW_ELEMENT|j.SHOW_COMMENT|j.SHOW_TEXT,null,!1)},fr=function(e){return e instanceof jt&&(typeof e.nodeName!="string"||typeof e.textContent!="string"||typeof e.removeChild!="function"||!(e.attributes instanceof $t)||typeof e.removeAttribute!="function"||typeof e.setAttribute!="function"||typeof e.namespaceURI!="string"||typeof e.insertBefore!="function"||typeof e.hasChildNodes!="function")},q=function(e){return L(M)==="object"?e instanceof M:e&&L(e)==="object"&&typeof e.nodeType=="number"&&typeof e.nodeName=="string"},I=function(e,t,a){D[e]&&Rt(D[e],function(u){u.call(n,t,a,B)})},ut=function(e){var t;if(I("beforeSanitizeElements",e,null),fr(e)||A(/[\u0080-\uFFFF]/,e.nodeName))return C(e),!0;var a=m(e.nodeName);if(I("uponSanitizeElement",e,{tagName:a,allowedTags:p}),e.hasChildNodes()&&!q(e.firstElementChild)&&(!q(e.content)||!q(e.content.firstElementChild))&&A(/<[/\w]/g,e.innerHTML)&&A(/<[/\w]/g,e.textContent)||a==="select"&&A(/<template/i,e.innerHTML))return C(e),!0;if(!p[a]||V[a]){if(!V[a]&&ct(a)&&(c.tagNameCheck instanceof RegExp&&A(c.tagNameCheck,a)||c.tagNameCheck instanceof Function&&c.tagNameCheck(a)))return!1;if(Me&&!z[a]){var u=_e(e)||e.parentNode,E=qt(e)||e.childNodes;if(E&&u)for(var T=E.length,h=T-1;h>=0;--h)u.insertBefore(Vt(E[h],!0),Xt(e))}return C(e),!0}return e instanceof N&&!ur(e)||(a==="noscript"||a==="noembed")&&A(/<\/no(script|embed)/i,e.innerHTML)?(C(e),!0):(F&&e.nodeType===3&&(t=e.textContent,t=S(t,ge," "),t=S(t,be," "),t=S(t,Se," "),e.textContent!==t&&($(n.removed,{element:e.cloneNode()}),e.textContent=t)),I("afterSanitizeElements",e,null),!1)},ft=function(e,t,a){if(Je&&(t==="id"||t==="name")&&(a in s||a in lr))return!1;if(!(Ne&&!Oe[t]&&A(er,t))){if(!(Ke&&A(tr,t))){if(!v[t]||Oe[t]){if(!(ct(e)&&(c.tagNameCheck instanceof RegExp&&A(c.tagNameCheck,e)||c.tagNameCheck instanceof Function&&c.tagNameCheck(e))&&(c.attributeNameCheck instanceof RegExp&&A(c.attributeNameCheck,t)||c.attributeNameCheck instanceof Function&&c.attributeNameCheck(t))||t==="is"&&c.allowCustomizedBuiltInElements&&(c.tagNameCheck instanceof RegExp&&A(c.tagNameCheck,a)||c.tagNameCheck instanceof Function&&c.tagNameCheck(a))))return!1}else if(!we[t]){if(!A(Re,S(a,Ve,""))){if(!((t==="src"||t==="xlink:href"||t==="href")&&e!=="script"&&Nt(a,"data:")===0&&tt[e])){if(!(Ze&&!A(rr,S(a,Ve,"")))){if(a)return!1}}}}}}return!0},ct=function(e){return e.indexOf("-")>0},pt=function(e){var t,a,u,E;I("beforeSanitizeAttributes",e,null);var T=e.attributes;if(T){var h={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:v};for(E=T.length;E--;){t=T[E];var ue=t,d=ue.name,Fe=ue.namespaceURI;if(a=d==="value"?t.value:Dt(t.value),u=m(d),h.attrName=u,h.attrValue=a,h.keepAttr=!0,h.forceKeepAttr=void 0,I("uponSanitizeAttribute",e,h),a=h.attrValue,!h.forceKeepAttr&&(Pe(d,e),!!h.keepAttr)){if(A(/\/>/i,a)){Pe(d,e);continue}F&&(a=S(a,ge," "),a=S(a,be," "),a=S(a,Se," "));var mt=m(e.nodeName);if(ft(mt,u,a)){if(Qe&&(u==="id"||u==="name")&&(Pe(d,e),a=ar+a),R&&L(te)==="object"&&typeof te.getAttributeType=="function"&&!Fe)switch(te.getAttributeType(mt,u)){case"TrustedHTML":a=R.createHTML(a);break;case"TrustedScriptURL":a=R.createScriptURL(a);break}try{Fe?e.setAttributeNS(Fe,d,a):e.setAttribute(d,a),ze(n.removed)}catch{}}}}I("afterSanitizeAttributes",e,null)}},cr=function i(e){var t,a=st(e);for(I("beforeSanitizeShadowDOM",e,null);t=a.nextNode();)I("uponSanitizeShadowNode",t,null),!ut(t)&&(t.content instanceof f&&i(t.content),pt(t));I("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(i){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},t,a,u,E,T;if(Ce=!i,Ce&&(i="<!-->"),typeof i!="string"&&!q(i)){if(typeof i.toString!="function")throw me("toString is not a function");if(i=i.toString(),typeof i!="string")throw me("dirty is not a string, aborting")}if(!n.isSupported){if(L(r.toStaticHTML)==="object"||typeof r.toStaticHTML=="function"){if(typeof i=="string")return r.toStaticHTML(i);if(q(i))return r.toStaticHTML(i.outerHTML)}return i}if(De||xe(e),n.removed=[],typeof i=="string"&&(X=!1),X){if(i.nodeName){var h=m(i.nodeName);if(!p[h]||V[h])throw me("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof M)t=lt("<!---->"),a=t.ownerDocument.importNode(i,!0),a.nodeType===1&&a.nodeName==="BODY"||a.nodeName==="HTML"?t=a:t.appendChild(a);else{if(!U&&!F&&!k&&i.indexOf("<")===-1)return R&&ie?R.createHTML(i):i;if(t=lt(i),!t)return U?null:ie?Ee:""}t&&Le&&C(t.firstChild);for(var ue=st(X?i:t);u=ue.nextNode();)u.nodeType===3&&u===E||ut(u)||(u.content instanceof f&&cr(u.content),pt(u),E=u);if(E=null,X)return i;if(U){if(ne)for(T=Zt.call(t.ownerDocument);t.firstChild;)T.appendChild(t.firstChild);else T=t;return v.shadowroot&&(T=Qt.call(o,T,!0)),T}var d=k?t.outerHTML:t.innerHTML;return k&&p["!doctype"]&&t.ownerDocument&&t.ownerDocument.doctype&&t.ownerDocument.doctype.name&&A(zt,t.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+t.ownerDocument.doctype.name+`>
3
- `+d),F&&(d=S(d,ge," "),d=S(d,be," "),d=S(d,Se," ")),R&&ie?R.createHTML(d):d},n.setConfig=function(i){xe(i),De=!0},n.clearConfig=function(){B=null,De=!1},n.isValidAttribute=function(i,e,t){B||xe({});var a=m(i),u=m(e);return ft(a,u,t)},n.addHook=function(i,e){typeof e=="function"&&(D[i]=D[i]||[],$(D[i],e))},n.removeHook=function(i){if(D[i])return ze(D[i])},n.removeHooks=function(i){D[i]&&(D[i]=[])},n.removeAllHooks=function(){D={}},n}var Wt=je();return Wt})}}]);