@entryscape/rdforms 10.12.2 → 10.12.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.
@@ -48,4 +48,4 @@ var n=r(48764),i=n.Buffer;function o(t,e){for(var r in t)e[r]=t[r]}function a(t,
48
48
  * @author Louis-Dominique Dubeau
49
49
  * @license MIT
50
50
  * @copyright Louis-Dominique Dubeau
51
- */function r(t){return t>=65&&t<=90||95===t||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(e,"__esModule",{value:!0}),e.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",e.NC_NAME_CHAR="-"+e.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.NC_NAME_START_CHAR_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]$","u"),e.NC_NAME_CHAR_RE=new RegExp("^["+e.NC_NAME_CHAR+"]$","u"),e.NC_NAME_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]["+e.NC_NAME_CHAR+"]*$","u"),e.isNCNameStartChar=r,e.isNCNameChar=function(t){return r(t)||45===t||46===t||t>=48&&t<=57||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},22134:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII="},43348:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC"},59636:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC"},65230:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII="},98388:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC"},82777:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg=="},44517:(t,e,r)=>{"use strict";var n=r(17405),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},67651:(t,e,r)=>{"use strict";var n=r(74333),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},59747:(t,e,r)=>{"use strict";var n=r(26633),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},30689:(t,e,r)=>{"use strict";var n=r(96418),i=r(25094),o=r(20341).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},70280:(t,e,r)=>{"use strict";var n=r(76598).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},21141:(t,e,r)=>{"use strict";var n=r(94125),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},2955:(t,e,r)=>{"use strict";var n=r(87181),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},74585:(t,e,r)=>{"use strict";var n=r(32479);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},86348:(t,e,r)=>{"use strict";var n=r(80364).forEach,i=r(61116)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},59140:(t,e,r)=>{"use strict";var n=r(86658),i=r(19710),o=r(12154),a=function(t){return function(e,r,a){var s=n(e),u=o(s);if(0===u)return!t&&-1;var l,c=i(a,u);if(t&&r!=r){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((t||c in s)&&s[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},80364:(t,e,r)=>{"use strict";var n=r(69299),i=r(3271),o=r(60586),a=r(69271),s=r(12154),u=r(63918),l=i([].push),c=function(t){var e=1===t,r=2===t,i=3===t,c=4===t,f=6===t,d=7===t,h=5===t||f;return function(p,g,y,v){for(var m,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=v||u,k=e?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(m=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:l(k,m)}else switch(t){case 4:return!1;case 7:l(k,m)}return f?-1:i||c?c:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},74502:(t,e,r)=>{"use strict";var n=r(32479),i=r(96418),o=r(59459),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},61116:(t,e,r)=>{"use strict";var n=r(32479);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},98e3:(t,e,r)=>{"use strict";var n=r(24952),i=r(9739),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},50386:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n([].slice)},26402:(t,e,r)=>{"use strict";var n=r(50386),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=t[u];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var l=i(r/2),c=o(n(t,0,l),e),f=o(n(t,l),e),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)t[p+g]=p<d&&g<h?e(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return t};t.exports=o},83225:(t,e,r)=>{"use strict";var n=r(9739),i=r(74333),o=r(87181),a=r(96418)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},63918:(t,e,r)=>{"use strict";var n=r(83225);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},48377:(t,e,r)=>{"use strict";var n=r(96418)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},27579:(t,e,r)=>{"use strict";var n=r(3271),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},24230:(t,e,r)=>{"use strict";var n=r(42066),i=r(17405),o=r(27579),a=r(96418)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},36776:(t,e,r)=>{"use strict";var n=r(25094),i=r(49839),o=r(85640),a=r(69299),s=r(21141),u=r(41838),l=r(4302),c=r(18434),f=r(71620),d=r(70928),h=r(24952),p=r(58157).fastKey,g=r(69933),y=g.set,v=g.getterFor;t.exports={getConstructor:function(t,e,r,c){var f=t((function(t,i){s(t,d),y(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),h||(t.size=0),u(i)||l(i,t[c],{that:t,AS_ENTRIES:r})})),d=f.prototype,g=v(e),m=function(t,e,r){var n,i,o=g(t),a=b(t,e);return a?a.value=r:(o.last=a={index:i=p(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),h?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},b=function(t,e){var r,n=g(t),i=p(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===e)return r};return o(d,{clear:function(){for(var t=g(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=n(null),h?t.size=0:this.size=0},delete:function(t){var e=g(this),r=b(this,t);if(r){var n=r.next,i=r.previous;delete e.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),e.first===r&&(e.first=n),e.last===r&&(e.last=i),h?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=g(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),o(d,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),h&&i(d,"size",{configurable:!0,get:function(){return g(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=v(e),o=v(n);c(t,e,(function(t,e){y(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?f("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),d(e)}}},57902:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(3271),a=r(25135),s=r(67089),u=r(58157),l=r(4302),c=r(21141),f=r(17405),d=r(41838),h=r(87181),p=r(32479),g=r(48377),y=r(38565),v=r(23885);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=m?"set":"add",_=i[t],x=_&&_.prototype,S=_,E={},T=function(t){var e=o(x[t]);s(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!h(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(_)||!(b||x.forEach&&!p((function(){(new _).entries().next()})))))S=r.getConstructor(e,t,m,w),u.enable();else if(a(t,!0)){var k=new S,O=k[w](b?{}:-0,1)!==k,A=p((function(){k.has(1)})),C=g((function(t){new _(t)})),P=!b&&p((function(){for(var t=new _,e=5;e--;)t[w](e,e);return!t.has(-0)}));C||((S=e((function(t,e){c(t,x);var r=v(new _,t,S);return d(e)||l(e,r[w],{that:r,AS_ENTRIES:m}),r}))).prototype=x,x.constructor=S),(A||P)&&(T("delete"),T("has"),m&&T("get")),(P||O)&&T(w),b&&x.clear&&delete x.clear}return E[t]=S,n({global:!0,constructor:!0,forced:S!==_},E),y(S,t),b||r.setStrong(S,t,m),S}},29726:(t,e,r)=>{"use strict";var n=r(74633),i=r(74730),o=r(67537),a=r(20341);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},33752:(t,e,r)=>{"use strict";var n=r(96418)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},39159:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},71620:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},25298:(t,e,r)=>{"use strict";var n=r(24952),i=r(20341),o=r(31433);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},31433:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25508:(t,e,r)=>{"use strict";var n=r(24952),i=r(20341),o=r(31433);t.exports=function(t,e,r){n?i.f(t,e,o(0,r)):t[e]=r}},8448:(t,e,r)=>{"use strict";var n=r(2955),i=r(90319),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},49839:(t,e,r)=>{"use strict";var n=r(51893),i=r(20341);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},67089:(t,e,r)=>{"use strict";var n=r(17405),i=r(20341),o=r(51893),a=r(48213);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},85640:(t,e,r)=>{"use strict";var n=r(67089);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},48213:(t,e,r)=>{"use strict";var n=r(32451),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},47008:(t,e,r)=>{"use strict";var n=r(22773),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},24952:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},82116:(t,e,r)=>{"use strict";var n=r(32451),i=r(87181),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},93409:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},16411:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},75427:(t,e,r)=>{"use strict";var n=r(82116)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},6256:(t,e,r)=>{"use strict";var n=r(70707).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},97384:(t,e,r)=>{"use strict";var n=r(73529),i=r(55089);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},73529:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},6956:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/MSIE|Trident/.test(n)},60700:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},3865:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},55089:(t,e,r)=>{"use strict";var n=r(32451),i=r(27579);t.exports="process"===i(n.process)},20874:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/web0s(?!.*chrome)/i.test(n)},70707:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},59459:(t,e,r)=>{"use strict";var n,i,o=r(32451),a=r(70707),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},18216:(t,e,r)=>{"use strict";var n=r(70707).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},51410:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},32162:(t,e,r)=>{"use strict";var n=r(32451),i=r(67537).f,o=r(25298),a=r(67089),s=r(48213),u=r(29726),l=r(25135);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},32479:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},44896:(t,e,r)=>{"use strict";r(9081);var n=r(5234),i=r(67089),o=r(40387),a=r(32479),s=r(96418),u=r(25298),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=/./[d],y=e(d,""[t],(function(t,e,r,i,a){var s=e.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},3369:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},83483:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},69299:(t,e,r)=>{"use strict";var n=r(21678),i=r(44517),o=r(59117),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},59117:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},5428:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517),o=r(87181),a=r(74633),s=r(50386),u=r(59117),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},5234:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},74251:(t,e,r)=>{"use strict";var n=r(24952),i=r(74633),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},48891:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},21678:(t,e,r)=>{"use strict";var n=r(27579),i=r(3271);t.exports=function(t){if("Function"===n(t))return i(t)}},3271:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},24289:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},44128:(t,e,r)=>{"use strict";var n=r(24230),i=r(37961),o=r(41838),a=r(78230),s=r(96418)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},599:(t,e,r)=>{"use strict";var n=r(5234),i=r(44517),o=r(2955),a=r(22773),s=r(44128),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},44291:(t,e,r)=>{"use strict";var n=r(3271),i=r(9739),o=r(17405),a=r(27579),s=r(73247),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||u(r,s(l))}var c=r.length,f=!0;return function(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},37961:(t,e,r)=>{"use strict";var n=r(44517),i=r(41838);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},93315:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l}))}},32451:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},74633:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},99295:t=>{"use strict";t.exports={}},14735:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},29227:(t,e,r)=>{"use strict";var n=r(24289);t.exports=n("document","documentElement")},8338:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(82116);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},60586:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(27579),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},23885:(t,e,r)=>{"use strict";var n=r(17405),i=r(87181),o=r(70210);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},6273:(t,e,r)=>{"use strict";var n=r(3271),i=r(17405),o=r(19321),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},58157:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(99295),a=r(87181),s=r(74633),u=r(20341).f,l=r(6076),c=r(93982),f=r(39483),d=r(66871),h=r(3369),p=!1,g=d("meta"),y=0,v=function(t){u(t,g,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},p=!0;var t=l.f,e=i([].splice),r={};r[g]=1,t(r).length&&(l.f=function(r){for(var n=t(r),i=0,o=n.length;i<o;i++)if(n[i]===g){e(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,g)){if(!f(t))return"F";if(!e)return"E";v(t)}return t[g].objectID},getWeakData:function(t,e){if(!s(t,g)){if(!f(t))return!0;if(!e)return!1;v(t)}return t[g].weakData},onFreeze:function(t){return h&&p&&f(t)&&!s(t,g)&&v(t),t}};o[g]=!0},69933:(t,e,r)=>{"use strict";var n,i,o,a=r(75237),s=r(32451),u=r(87181),l=r(25298),c=r(74633),f=r(19321),d=r(69683),h=r(99295),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var v=d("state");h[v]=!0,n=function(t,e){if(c(t,v))throw new p("Object already initialized");return e.facade=t,l(t,v,e),e},i=function(t){return c(t,v)?t[v]:{}},o=function(t){return c(t,v)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},45812:(t,e,r)=>{"use strict";var n=r(96418),i=r(78230),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},9739:(t,e,r)=>{"use strict";var n=r(27579);t.exports=Array.isArray||function(t){return"Array"===n(t)}},17405:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},74333:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(24230),s=r(24289),u=r(6273),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(t){if(!o(t))return!1;try{return c(l,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},25135:(t,e,r)=>{"use strict";var n=r(32479),i=r(17405),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===c||r!==l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},41838:t=>{"use strict";t.exports=function(t){return null==t}},87181:(t,e,r)=>{"use strict";var n=r(17405);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},26633:(t,e,r)=>{"use strict";var n=r(87181);t.exports=function(t){return n(t)||null===t}},87138:t=>{"use strict";t.exports=!1},53340:(t,e,r)=>{"use strict";var n=r(87181),i=r(27579),o=r(96418)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},76796:(t,e,r)=>{"use strict";var n=r(24289),i=r(17405),o=r(94125),a=r(68429),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},4302:(t,e,r)=>{"use strict";var n=r(69299),i=r(5234),o=r(2955),a=r(22773),s=r(45812),u=r(12154),l=r(94125),c=r(599),f=r(44128),d=r(71635),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,v,m,b,w,_,x,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(v=f(t)))throw new h(a(t)+" is not iterable");if(s(v)){for(m=0,b=u(t);b>m;m++)if((w=P(t[m]))&&l(g,w))return w;return new p(!1)}y=c(t,v)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},71635:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(37961);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},13653:(t,e,r)=>{"use strict";var n=r(78607).IteratorPrototype,i=r(25094),o=r(31433),a=r(38565),s=r(78230),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},18434:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(87138),a=r(74251),s=r(17405),u=r(13653),l=r(96666),c=r(70210),f=r(38565),d=r(25298),h=r(67089),p=r(96418),g=r(78230),y=r(78607),v=a.PROPER,m=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"===e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),v&&"values"===p&&j&&"values"!==j.name&&(!o&&m?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},78607:(t,e,r)=>{"use strict";var n,i,o,a=r(32479),s=r(17405),u=r(87181),l=r(25094),c=r(96666),f=r(67089),d=r(96418),h=r(87138),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a((function(){var t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},78230:t=>{"use strict";t.exports={}},12154:(t,e,r)=>{"use strict";var n=r(9641);t.exports=function(t){return n(t.length)}},51893:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(74633),s=r(24952),u=r(74251).CONFIGURABLE,l=r(6273),c=r(69933),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),v=n([].join),m=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},21797:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},8783:(t,e,r)=>{"use strict";var n,i,o,a,s,u=r(32451),l=r(3318),c=r(69299),f=r(98743).set,d=r(16986),h=r(3865),p=r(60700),g=r(20874),y=r(55089),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};h||y||g||!v||!m?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(S)}):y?n=function(){b.nextTick(S)}:(f=c(f,u),n=function(){f(S)}):(i=!0,o=m.createTextNode(""),new v(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},21128:(t,e,r)=>{"use strict";var n=r(44517),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},31730:(t,e,r)=>{"use strict";var n=r(53340),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},25094:(t,e,r)=>{"use strict";var n,i=r(2955),o=r(79203),a=r(51410),s=r(99295),u=r(29227),l=r(82116),c=r(69683),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},79203:(t,e,r)=>{"use strict";var n=r(24952),i=r(22916),o=r(20341),a=r(2955),s=r(86658),u=r(32005);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},20341:(t,e,r)=>{"use strict";var n=r(24952),i=r(8338),o=r(22916),a=r(2955),s=r(50514),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},67537:(t,e,r)=>{"use strict";var n=r(24952),i=r(5234),o=r(67109),a=r(31433),s=r(86658),u=r(50514),l=r(74633),c=r(8338),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},93982:(t,e,r)=>{"use strict";var n=r(27579),i=r(86658),o=r(6076).f,a=r(50386),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},6076:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},93188:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},96666:(t,e,r)=>{"use strict";var n=r(74633),i=r(17405),o=r(69271),a=r(69683),s=r(39159),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},39483:(t,e,r)=>{"use strict";var n=r(32479),i=r(87181),o=r(27579),a=r(74585),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!==o(t))&&(!s||s(t)))}:s},94125:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n({}.isPrototypeOf)},67530:(t,e,r)=>{"use strict";var n=r(3271),i=r(74633),o=r(86658),a=r(59140).indexOf,s=r(99295),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},32005:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410);t.exports=Object.keys||function(t){return n(t,i)}},67109:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},70210:(t,e,r)=>{"use strict";var n=r(48891),i=r(87181),o=r(24915),a=r(59747);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),a(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},71447:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(3271),a=r(96666),s=r(32005),u=r(86658),l=o(r(67109).f),c=o([].push),f=n&&i((function(){var t=Object.create(null);return t[2]=2,!l(t,2)})),d=function(t){return function(e){for(var r,i=u(e),o=s(i),d=f&&null===a(i),h=o.length,p=0,g=[];h>p;)r=o[p++],n&&!(d?r in i:l(i,r))||c(g,t?[r,i[r]]:i[r]);return g}};t.exports={entries:d(!0),values:d(!1)}},69267:(t,e,r)=>{"use strict";var n=r(42066),i=r(24230);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},90319:(t,e,r)=>{"use strict";var n=r(5234),i=r(17405),o=r(87181),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},74730:(t,e,r)=>{"use strict";var n=r(24289),i=r(3271),o=r(6076),a=r(93188),s=r(2955),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},70992:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n},62686:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},39508:(t,e,r)=>{"use strict";var n=r(32451),i=r(9967),o=r(17405),a=r(25135),s=r(6273),u=r(96418),l=r(97384),c=r(73529),f=r(87138),d=r(59459),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:g}},9967:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n.Promise},16181:(t,e,r)=>{"use strict";var n=r(2955),i=r(87181),o=r(21128);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},62221:(t,e,r)=>{"use strict";var n=r(9967),i=r(48377),o=r(39508).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},16986:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},74355:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(17405),a=r(27579),s=r(40387),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},40387:(t,e,r)=>{"use strict";var n,i,o=r(5234),a=r(3271),s=r(73247),u=r(32754),l=r(62616),c=r(4999),f=r(25094),d=r(69933).get,h=r(19980),p=r(49932),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,m=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(x||E||S||h||p)&&(v=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(v,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),t.exports=v},32754:(t,e,r)=>{"use strict";var n=r(2955);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},98017:(t,e,r)=>{"use strict";var n=r(5234),i=r(74633),o=r(94125),a=r(32754),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},62616:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},19980:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},49932:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},24915:(t,e,r)=>{"use strict";var n=r(41838),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},3318:(t,e,r)=>{"use strict";var n=r(32451),i=r(24952),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},70928:(t,e,r)=>{"use strict";var n=r(24289),i=r(49839),o=r(96418),a=r(24952),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},38565:(t,e,r)=>{"use strict";var n=r(20341).f,i=r(74633),o=r(96418)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},69683:(t,e,r)=>{"use strict";var n=r(4999),i=r(66871),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},19321:(t,e,r)=>{"use strict";var n=r(87138),i=r(32451),o=r(48213),a=t.exports=i["__core-js_shared__"]||o("__core-js_shared__",{});(a.versions||(a.versions=[])).push({version:"3.37.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4999:(t,e,r)=>{"use strict";var n=r(19321);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},58343:(t,e,r)=>{"use strict";var n=r(2955),i=r(67651),o=r(41838),a=r(96418)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},76598:(t,e,r)=>{"use strict";var n=r(3271),i=r(65815),o=r(73247),a=r(24915),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},82834:(t,e,r)=>{"use strict";var n=r(3271),i=r(24915),o=r(73247),a=r(28628),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},41414:(t,e,r)=>{"use strict";var n=r(59459),i=r(32479),o=r(32451).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},77416:(t,e,r)=>{"use strict";var n=r(5234),i=r(24289),o=r(96418),a=r(67089);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},81836:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},98743:(t,e,r)=>{"use strict";var n,i,o,a,s=r(32451),u=r(83483),l=r(69299),c=r(17405),f=r(74633),d=r(32479),h=r(29227),p=r(50386),g=r(82116),y=r(42289),v=r(3865),m=r(55089),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},m?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!v?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},37130:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n(1..valueOf)},19710:(t,e,r)=>{"use strict";var n=r(65815),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},86658:(t,e,r)=>{"use strict";var n=r(60586),i=r(24915);t.exports=function(t){return n(i(t))}},65815:(t,e,r)=>{"use strict";var n=r(21797);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},9641:(t,e,r)=>{"use strict";var n=r(65815),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},69271:(t,e,r)=>{"use strict";var n=r(24915),i=Object;t.exports=function(t){return i(n(t))}},96492:(t,e,r)=>{"use strict";var n=r(5234),i=r(87181),o=r(76796),a=r(37961),s=r(90319),u=r(96418),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},50514:(t,e,r)=>{"use strict";var n=r(96492),i=r(76796);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},42066:(t,e,r)=>{"use strict";var n={};n[r(96418)("toStringTag")]="z",t.exports="[object z]"===String(n)},73247:(t,e,r)=>{"use strict";var n=r(24230),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},22773:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},66871:(t,e,r)=>{"use strict";var n=r(3271),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},68429:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},22916:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},42289:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},75237:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},82318:(t,e,r)=>{"use strict";var n=r(70992),i=r(74633),o=r(66717),a=r(20341).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},66717:(t,e,r)=>{"use strict";var n=r(96418);e.f=n},96418:(t,e,r)=>{"use strict";var n=r(32451),i=r(4999),o=r(74633),a=r(66871),s=r(41414),u=r(68429),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},28628:t=>{"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},48888:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(9739),a=r(87181),s=r(69271),u=r(12154),l=r(93409),c=r(25508),f=r(63918),d=r(74502),h=r(96418),p=r(59459),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(v(o=-1===e?a:arguments[e]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},2458:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).filter;n({target:"Array",proto:!0,forced:!r(74502)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},3925:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).find,o=r(30689),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},17554:(t,e,r)=>{"use strict";var n=r(32162),i=r(59140).includes,o=r(32479),a=r(30689);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},54458:(t,e,r)=>{"use strict";var n=r(86658),i=r(30689),o=r(78230),a=r(69933),s=r(20341).f,u=r(18434),l=r(71620),c=r(87138),f=r(24952),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(r,!1);case"values":return l(e[r],!1)}return l([r,e[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},65273:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(60586),a=r(86658),s=r(61116),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},72870:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).map;n({target:"Array",proto:!0,forced:!r(74502)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},45872:(t,e,r)=>{"use strict";var n=r(32162),i=r(9739),o=r(74333),a=r(87181),s=r(19710),u=r(12154),l=r(86658),c=r(25508),f=r(96418),d=r(74502),h=r(50386),p=d("slice"),g=f("species"),y=Array,v=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),m=s(t,p),b=s(void 0===e?p:e,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,m,b);for(n=new(void 0===r?y:r)(v(b-m,0)),f=0;m<b;m++,f++)m in d&&c(n,f,d[m]);return n.length=f,n}})},91756:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(44517),a=r(69271),s=r(12154),u=r(47008),l=r(73247),c=r(32479),f=r(26402),d=r(61116),h=r(6256),p=r(6956),g=r(59459),y=r(18216),v=[],m=i(v.sort),b=i(v.push),w=c((function(){v.sort(void 0)})),_=c((function(){v.sort(null)})),x=d("sort"),S=!c((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?m(e):m(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},15796:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(19710),a=r(65815),s=r(12154),u=r(98e3),l=r(93409),c=r(63918),f=r(25508),d=r(47008),h=r(74502)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,v,m,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(v=_+y)in b&&f(h,y,b[v]);if(h.length=n,r<n){for(y=_;y<w-n;y++)m=y+r,(v=y+n)in b?b[m]=b[v]:d(b,m);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)m=y+r-1,(v=y+n-1)in b?b[m]=b[v]:d(b,m);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},4099:(t,e,r)=>{"use strict";var n=r(74633),i=r(67089),o=r(8448),a=r(96418)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},40454:(t,e,r)=>{"use strict";var n=r(24952),i=r(74251).EXISTS,o=r(3271),a=r(49839),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(t){return""}}})},63322:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},17767:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5234),s=r(3271),u=r(32479),l=r(17405),c=r(76796),f=r(50386),d=r(44291),h=r(41414),p=String,g=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=v(r,e-1),i=v(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(m(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},17299:(t,e,r)=>{"use strict";var n=r(32451);r(38565)(n.JSON,"JSON",!0)},69590:(t,e,r)=>{"use strict";r(57902)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},7517:(t,e,r)=>{"use strict";r(69590)},12766:(t,e,r)=>{"use strict";r(38565)(Math,"Math",!0)},75397:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(24952),a=r(32451),s=r(70992),u=r(3271),l=r(25135),c=r(74633),f=r(23885),d=r(94125),h=r(76796),p=r(96492),g=r(32479),y=r(6076).f,v=r(67537).f,m=r(20341).f,b=r(37130),w=r(82834).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(e,r=n[i])&&!c(t,r)&&m(t,r,v(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},93900:(t,e,r)=>{"use strict";var n=r(32162),i=r(41414),o=r(32479),a=r(93188),s=r(69271);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},20539:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(69271),a=r(96666),s=r(39159);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},10373:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(32005);n({target:"Object",stat:!0,forced:r(32479)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},45195:(t,e,r)=>{"use strict";var n=r(42066),i=r(67089),o=r(69267);n||i(Object.prototype,"toString",o,{unsafe:!0})},13090:(t,e,r)=>{"use strict";var n=r(32162),i=r(71447).values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},65716:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},79901:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(39508).CONSTRUCTOR,a=r(9967),s=r(24289),u=r(17405),l=r(67089),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},54083:(t,e,r)=>{"use strict";var n,i,o,a=r(32162),s=r(87138),u=r(55089),l=r(32451),c=r(5234),f=r(67089),d=r(70210),h=r(38565),p=r(70928),g=r(44517),y=r(17405),v=r(87181),m=r(21141),b=r(58343),w=r(98743).set,_=r(8783),x=r(14735),S=r(62686),E=r(16986),T=r(69933),k=r(9967),O=r(39508),A=r(21128),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,L=k,D=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},Y=function(t,e){var r,n,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},G=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)Y(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,G(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,G(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(D=(L=function(t){m(this,D),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(D,"then",(function(t,e){var r=R(this),n=V(b(this,L));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){Y(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===L||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new L((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,D)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:L}),h(L,"Promise",!1,!0),p("Promise")},30695:(t,e,r)=>{"use strict";r(54083),r(65716),r(79901),r(72075),r(49489),r(25548)},72075:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},49489:(t,e,r)=>{"use strict";var n=r(32162),i=r(21128);n({target:"Promise",stat:!0,forced:r(39508).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},25548:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(87138),a=r(9967),s=r(39508).CONSTRUCTOR,u=r(16181),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},80528:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5428),s=r(67651),u=r(2955),l=r(87181),c=r(25094),f=r(32479),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),v=g||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),v=o(t,f,e);return l(v)?v:f}})},9081:(t,e,r)=>{"use strict";var n=r(32162),i=r(40387);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},7741:(t,e,r)=>{"use strict";var n=r(74251).PROPER,i=r(67089),o=r(2955),a=r(73247),s=r(32479),u=r(98017),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},9807:(t,e,r)=>{"use strict";r(57902)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},42781:(t,e,r)=>{"use strict";r(9807)},39385:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(31730),a=r(24915),s=r(73247),u=r(33752),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},94825:(t,e,r)=>{"use strict";var n=r(76598).charAt,i=r(73247),o=r(69933),a=r(18434),s=r(71620),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},24601:(t,e,r)=>{"use strict";var n=r(83483),i=r(5234),o=r(3271),a=r(44896),s=r(32479),u=r(2955),l=r(17405),c=r(41838),f=r(65815),d=r(9641),h=r(73247),p=r(24915),g=r(70280),y=r(37961),v=r(93315),m=r(74355),b=r(96418)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=m(a,s))&&(S(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,j=0;j<O.length;j++){for(var R,N=h((k=O[j])[0]),I=w(_(f(k.index),s.length),0),L=[],D=1;D<k.length;D++)S(L,void 0===(A=k[D])?A:String(A));var M=k.groups;if(p){var F=x([N],L,I,s);void 0!==M&&S(F,M),R=h(n(i,void 0,F))}else R=v(N,s,I,L,M,i);I>=P&&(C+=T(s,P,I)+R,P=I+N.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},73220:(t,e,r)=>{"use strict";var n,i=r(32162),o=r(21678),a=r(67537).f,s=r(9641),u=r(73247),l=r(31730),c=r(24915),f=r(33752),d=r(87138),h=o("".slice),p=Math.min,g=f("startsWith");i({target:"String",proto:!0,forced:!!(d||g||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(t){var e=u(c(this));l(t);var r=s(p(arguments.length>1?arguments[1]:void 0,e.length)),n=u(t);return h(e,r,r+n.length)===n}})},85110:(t,e,r)=>{"use strict";r(82318)("asyncIterator")},10359:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(5234),a=r(3271),s=r(87138),u=r(24952),l=r(41414),c=r(32479),f=r(74633),d=r(94125),h=r(2955),p=r(86658),g=r(50514),y=r(73247),v=r(31433),m=r(25094),b=r(32005),w=r(6076),_=r(93982),x=r(93188),S=r(67537),E=r(20341),T=r(79203),k=r(67109),O=r(67089),A=r(49839),C=r(4999),P=r(69683),j=r(99295),R=r(66871),N=r(96418),I=r(66717),L=r(82318),D=r(77416),M=r(38565),F=r(69933),B=r(80364).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,Y=i.Symbol,G=Y&&Y.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=S.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),tt=C("symbols"),et=C("op-symbols"),rt=C("wks"),nt=!z||!z.prototype||!z.prototype.findChild,it=function(t,e,r){var n=X(H,e);n&&delete H[e],Q(t,e,r),n&&t!==H&&Q(H,e,n)},ot=u&&c((function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?it:Q,at=function(t,e){var r=tt[t]=m(G);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===H&&st(et,e,r),h(t);var n=g(e);return h(r),f(tt,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=m(r,{enumerable:v(0,!1)})):(f(t,V)||Q(t,V,v(1,m(null))),t[V][n]=!0),ot(t,n,r)):Q(t,n,r)},ut=function(t,e){h(t);var r=p(e),n=b(r).concat(dt(r));return B(n,(function(e){u&&!o(lt,r,e)||st(t,e,r[e])})),t},lt=function(t){var e=g(t),r=o(J,this,e);return!(this===H&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,V)&&this[V][e])||r)},ct=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(tt,n)||f(et,n)){var i=X(r,n);return!i||!f(tt,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},ft=function(t){var e=Z(p(t)),r=[];return B(e,(function(t){f(tt,t)||f(j,t)||K(r,t)})),r},dt=function(t){var e=t===H,r=Z(e?et:p(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(H,t)||K(n,tt[t])})),n};l||(O(G=(Y=function(){if(d(G,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){var n=void 0===this?i:this;n===H&&o(r,et,t),f(n,V)&&f(n[V],e)&&(n[V][e]=!1);var a=v(1,t);try{ot(n,e,a)}catch(t){if(!(t instanceof $))throw t;it(n,e,a)}};return u&&nt&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(Y,"withoutSetter",(function(t){return at(R(t),t)})),k.f=lt,E.f=st,T.f=ut,S.f=ct,w.f=_.f=ft,x.f=dt,I.f=function(t){return at(N(t),t)},u&&(A(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),B(b(rt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ft}),D(),M(Y,"Symbol"),j[V]=!0},14223:(t,e,r)=>{"use strict";var n=r(32162),i=r(24952),o=r(32451),a=r(3271),s=r(74633),u=r(17405),l=r(94125),c=r(73247),f=r(49839),d=r(29726),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var v="Symbol(description detection)"===String(h("description detection")),m=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=m(this);if(s(g,t))return"";var e=b(t),r=v?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},51071:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(74633),a=r(73247),s=r(4999),u=r(81836),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},58965:(t,e,r)=>{"use strict";r(82318)("iterator")},49361:(t,e,r)=>{"use strict";r(10359),r(51071),r(57627),r(17767),r(93900)},57627:(t,e,r)=>{"use strict";var n=r(32162),i=r(74633),o=r(76796),a=r(22773),s=r(4999),u=r(81836),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},64120:(t,e,r)=>{"use strict";var n=r(82318),i=r(77416);n("toPrimitive"),i()},67483:(t,e,r)=>{"use strict";var n=r(24289),i=r(82318),o=r(38565);i("toStringTag"),o(n("Symbol"),"Symbol")},74289:(t,e,r)=>{"use strict";r(63322)},83500:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(86348),s=r(25298),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},56270:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(54458),s=r(25298),u=r(38565),l=r(96418)("iterator"),c=a.values,f=function(t,e){if(t){if(t[l]!==c)try{s(t,l,c)}catch(e){t[l]=c}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")},10509:(t,e,r)=>{"use strict";var n=r(69985),i=r(23691),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},52655:(t,e,r)=>{"use strict";var n=r(19429),i=r(23691),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},23550:(t,e,r)=>{"use strict";var n=r(60598),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},87370:(t,e,r)=>{"use strict";var n=r(44201),i=r(25391),o=r(72560).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},71514:(t,e,r)=>{"use strict";var n=r(10730).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},767:(t,e,r)=>{"use strict";var n=r(23622),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},85027:(t,e,r)=>{"use strict";var n=r(48999),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},57612:(t,e,r)=>{"use strict";var n=r(2960).forEach,i=r(16834)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},21055:(t,e,r)=>{"use strict";var n=r(54071),i=r(22615),o=r(90690),a=r(71228),s=r(93292),u=r(19429),l=r(6310),c=r(76522),f=r(5185),d=r(91664),h=Array;t.exports=function(t){var e=o(t),r=u(this),p=arguments.length,g=p>1?arguments[1]:void 0,y=void 0!==g;y&&(g=n(g,p>2?arguments[2]:void 0));var v,m,b,w,_,x,S=d(e),E=0;if(!S||this===h&&s(S))for(v=l(e),m=r?new this(v):h(v);v>E;E++)x=y?g(e[E],E):e[E],c(m,E,x);else for(_=(w=f(e,S)).next,m=r?new this:[];!(b=i(_,w)).done;E++)x=y?a(w,g,[b.value,E],!0):b.value,c(m,E,x);return m.length=E,m}},84328:(t,e,r)=>{"use strict";var n=r(65290),i=r(27578),o=r(6310),a=function(t){return function(e,r,a){var s,u=n(e),l=o(u),c=i(a,l);if(t&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2960:(t,e,r)=>{"use strict";var n=r(54071),i=r(68844),o=r(94413),a=r(90690),s=r(6310),u=r(27120),l=i([].push),c=function(t){var e=1===t,r=2===t,i=3===t,c=4===t,f=6===t,d=7===t,h=5===t||f;return function(p,g,y,v){for(var m,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=v||u,k=e?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(m=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:l(k,m)}else switch(t){case 4:return!1;case 7:l(k,m)}return f?-1:i||c?c:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},29042:(t,e,r)=>{"use strict";var n=r(3689),i=r(44201),o=r(3615),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},16834:(t,e,r)=>{"use strict";var n=r(3689);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},5649:(t,e,r)=>{"use strict";var n=r(67697),i=r(92297),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},96004:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n([].slice)},50382:(t,e,r)=>{"use strict";var n=r(96004),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=t[u];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var l=i(r/2),c=o(n(t,0,l),e),f=o(n(t,l),e),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)t[p+g]=p<d&&g<h?e(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return t};t.exports=o},25271:(t,e,r)=>{"use strict";var n=r(92297),i=r(19429),o=r(48999),a=r(44201)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},27120:(t,e,r)=>{"use strict";var n=r(25271);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},71228:(t,e,r)=>{"use strict";var n=r(85027),i=r(72125);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},86431:(t,e,r)=>{"use strict";var n=r(44201)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},6648:(t,e,r)=>{"use strict";var n=r(68844),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},50926:(t,e,r)=>{"use strict";var n=r(23043),i=r(69985),o=r(6648),a=r(44201)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},8758:(t,e,r)=>{"use strict";var n=r(36812),i=r(19152),o=r(82474),a=r(72560);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},27413:(t,e,r)=>{"use strict";var n=r(44201)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},81748:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},27807:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},75773:(t,e,r)=>{"use strict";var n=r(67697),i=r(72560),o=r(75684);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},75684:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},76522:(t,e,r)=>{"use strict";var n=r(18360),i=r(72560),o=r(75684);t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},81797:(t,e,r)=>{"use strict";var n=r(85027),i=r(35899),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},62148:(t,e,r)=>{"use strict";var n=r(98702),i=r(72560);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},11880:(t,e,r)=>{"use strict";var n=r(69985),i=r(72560),o=r(98702),a=r(95014);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},95014:(t,e,r)=>{"use strict";var n=r(19037),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},98494:(t,e,r)=>{"use strict";var n=r(23691),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},67697:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},36420:(t,e,r)=>{"use strict";var n=r(19037),i=r(48999),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},55565:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},66338:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},33265:(t,e,r)=>{"use strict";var n=r(36420)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},97365:(t,e,r)=>{"use strict";var n=r(30071).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},72532:(t,e,r)=>{"use strict";var n=r(88563),i=r(50806);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},88563:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},37298:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/MSIE|Trident/.test(n)},63221:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},4764:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},50806:(t,e,r)=>{"use strict";var n=r(19037),i=r(6648);t.exports="process"===i(n.process)},27486:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/web0s(?!.*chrome)/i.test(n)},30071:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:(t,e,r)=>{"use strict";var n,i,o=r(19037),a=r(30071),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},27922:(t,e,r)=>{"use strict";var n=r(30071).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},72739:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},79989:(t,e,r)=>{"use strict";var n=r(19037),i=r(82474).f,o=r(75773),a=r(11880),s=r(95014),u=r(8758),l=r(35266);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},3689:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},65773:(t,e,r)=>{"use strict";r(64043);var n=r(22615),i=r(11880),o=r(56308),a=r(3689),s=r(44201),u=r(75773),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=/./[d],y=e(d,""[t],(function(t,e,r,i,a){var s=e.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},61735:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},54071:(t,e,r)=>{"use strict";var n=r(46576),i=r(10509),o=r(97215),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},97215:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},86761:(t,e,r)=>{"use strict";var n=r(68844),i=r(10509),o=r(48999),a=r(36812),s=r(96004),u=r(97215),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},22615:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},41236:(t,e,r)=>{"use strict";var n=r(67697),i=r(36812),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},52743:(t,e,r)=>{"use strict";var n=r(68844),i=r(10509);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},46576:(t,e,r)=>{"use strict";var n=r(6648),i=r(68844);t.exports=function(t){if("Function"===n(t))return i(t)}},68844:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},76058:(t,e,r)=>{"use strict";var n=r(19037),i=r(69985),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},91664:(t,e,r)=>{"use strict";var n=r(50926),i=r(54849),o=r(981),a=r(9478),s=r(44201)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},5185:(t,e,r)=>{"use strict";var n=r(22615),i=r(10509),o=r(85027),a=r(23691),s=r(91664),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},92643:(t,e,r)=>{"use strict";var n=r(68844),i=r(92297),o=r(69985),a=r(6648),s=r(34327),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||u(r,s(l))}var c=r.length,f=!0;return function(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},54849:(t,e,r)=>{"use strict";var n=r(10509),i=r(981);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},27017:(t,e,r)=>{"use strict";var n=r(68844),i=r(90690),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l}))}},19037:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},36812:(t,e,r)=>{"use strict";var n=r(68844),i=r(90690),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},57248:t=>{"use strict";t.exports={}},20920:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},2688:(t,e,r)=>{"use strict";var n=r(76058);t.exports=n("document","documentElement")},68506:(t,e,r)=>{"use strict";var n=r(67697),i=r(3689),o=r(36420);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},94413:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(6648),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},33457:(t,e,r)=>{"use strict";var n=r(69985),i=r(48999),o=r(49385);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},6738:(t,e,r)=>{"use strict";var n=r(68844),i=r(69985),o=r(84091),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},618:(t,e,r)=>{"use strict";var n,i,o,a=r(59834),s=r(19037),u=r(48999),l=r(75773),c=r(36812),f=r(84091),d=r(2713),h=r(57248),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var v=d("state");h[v]=!0,n=function(t,e){if(c(t,v))throw new p("Object already initialized");return e.facade=t,l(t,v,e),e},i=function(t){return c(t,v)?t[v]:{}},o=function(t){return c(t,v)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},93292:(t,e,r)=>{"use strict";var n=r(44201),i=r(9478),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},92297:(t,e,r)=>{"use strict";var n=r(6648);t.exports=Array.isArray||function(t){return"Array"===n(t)}},69985:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},19429:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(69985),a=r(50926),s=r(76058),u=r(6738),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(t){if(!o(t))return!1;try{return c(l,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},76251:(t,e,r)=>{"use strict";var n=r(36812);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},35266:(t,e,r)=>{"use strict";var n=r(3689),i=r(69985),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===c||r!==l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},981:t=>{"use strict";t.exports=function(t){return null==t}},48999:(t,e,r)=>{"use strict";var n=r(69985);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},60598:(t,e,r)=>{"use strict";var n=r(48999);t.exports=function(t){return n(t)||null===t}},53931:t=>{"use strict";t.exports=!1},91245:(t,e,r)=>{"use strict";var n=r(48999),i=r(6648),o=r(44201)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},30734:(t,e,r)=>{"use strict";var n=r(76058),i=r(69985),o=r(23622),a=r(39525),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},18734:(t,e,r)=>{"use strict";var n=r(54071),i=r(22615),o=r(85027),a=r(23691),s=r(93292),u=r(6310),l=r(23622),c=r(5185),f=r(91664),d=r(72125),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,v,m,b,w,_,x,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(v=f(t)))throw new h(a(t)+" is not iterable");if(s(v)){for(m=0,b=u(t);b>m;m++)if((w=P(t[m]))&&l(g,w))return w;return new p(!1)}y=c(t,v)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},72125:(t,e,r)=>{"use strict";var n=r(22615),i=r(85027),o=r(54849);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},30974:(t,e,r)=>{"use strict";var n=r(12013).IteratorPrototype,i=r(25391),o=r(75684),a=r(55997),s=r(9478),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},91934:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(53931),a=r(41236),s=r(69985),u=r(30974),l=r(61868),c=r(49385),f=r(55997),d=r(75773),h=r(11880),p=r(44201),g=r(9478),y=r(12013),v=a.PROPER,m=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"===e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),v&&"values"===p&&j&&"values"!==j.name&&(!o&&m?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},12013:(t,e,r)=>{"use strict";var n,i,o,a=r(3689),s=r(69985),u=r(48999),l=r(25391),c=r(61868),f=r(11880),d=r(44201),h=r(53931),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a((function(){var t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},9478:t=>{"use strict";t.exports={}},6310:(t,e,r)=>{"use strict";var n=r(43126);t.exports=function(t){return n(t.length)}},98702:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(69985),a=r(36812),s=r(67697),u=r(41236).CONFIGURABLE,l=r(6738),c=r(618),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),v=n([].join),m=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},58828:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},80231:(t,e,r)=>{"use strict";var n,i,o,a,s,u=r(19037),l=r(70517),c=r(54071),f=r(99886).set,d=r(34410),h=r(4764),p=r(63221),g=r(27486),y=r(50806),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};h||y||g||!v||!m?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(S)}):y?n=function(){b.nextTick(S)}:(f=c(f,u),n=function(){f(S)}):(i=!0,o=m.createTextNode(""),new v(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},48742:(t,e,r)=>{"use strict";var n=r(10509),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},42124:(t,e,r)=>{"use strict";var n=r(91245),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},45394:(t,e,r)=>{"use strict";var n=r(67697),i=r(68844),o=r(22615),a=r(3689),s=r(20300),u=r(7518),l=r(49556),c=r(90690),f=r(94413),d=Object.assign,h=Object.defineProperty,p=i([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection");return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!==d({},t)[r]||"abcdefghijklmnopqrst"!==s(d({},e)).join("")}))?function(t,e){for(var r=c(t),i=arguments.length,a=1,d=u.f,h=l.f;i>a;)for(var g,y=f(arguments[a++]),v=d?p(s(y),d(y)):s(y),m=v.length,b=0;m>b;)g=v[b++],n&&!o(h,y,g)||(r[g]=y[g]);return r}:d},25391:(t,e,r)=>{"use strict";var n,i=r(85027),o=r(98920),a=r(72739),s=r(57248),u=r(2688),l=r(36420),c=r(2713),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},98920:(t,e,r)=>{"use strict";var n=r(67697),i=r(15648),o=r(72560),a=r(85027),s=r(65290),u=r(20300);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},72560:(t,e,r)=>{"use strict";var n=r(67697),i=r(68506),o=r(15648),a=r(85027),s=r(18360),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},82474:(t,e,r)=>{"use strict";var n=r(67697),i=r(22615),o=r(49556),a=r(75684),s=r(65290),u=r(18360),l=r(36812),c=r(68506),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},26062:(t,e,r)=>{"use strict";var n=r(6648),i=r(65290),o=r(72741).f,a=r(96004),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},72741:(t,e,r)=>{"use strict";var n=r(54948),i=r(72739).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},7518:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},61868:(t,e,r)=>{"use strict";var n=r(36812),i=r(69985),o=r(90690),a=r(2713),s=r(81748),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},23622:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n({}.isPrototypeOf)},54948:(t,e,r)=>{"use strict";var n=r(68844),i=r(36812),o=r(65290),a=r(84328).indexOf,s=r(57248),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},20300:(t,e,r)=>{"use strict";var n=r(54948),i=r(72739);t.exports=Object.keys||function(t){return n(t,i)}},49556:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},49385:(t,e,r)=>{"use strict";var n=r(52743),i=r(85027),o=r(23550);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),e?t(r,n):r.__proto__=n,r}}():void 0)},65073:(t,e,r)=>{"use strict";var n=r(23043),i=r(50926);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},35899:(t,e,r)=>{"use strict";var n=r(22615),i=r(69985),o=r(48999),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},19152:(t,e,r)=>{"use strict";var n=r(76058),i=r(68844),o=r(72741),a=r(7518),s=r(85027),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},50496:(t,e,r)=>{"use strict";var n=r(19037);t.exports=n},9302:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},87073:(t,e,r)=>{"use strict";var n=r(19037),i=r(17919),o=r(69985),a=r(35266),s=r(6738),u=r(44201),l=r(72532),c=r(88563),f=r(53931),d=r(3615),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:g}},17919:(t,e,r)=>{"use strict";var n=r(19037);t.exports=n.Promise},72945:(t,e,r)=>{"use strict";var n=r(85027),i=r(48999),o=r(48742);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},562:(t,e,r)=>{"use strict";var n=r(17919),i=r(86431),o=r(87073).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},38055:(t,e,r)=>{"use strict";var n=r(72560).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},34410:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},66100:(t,e,r)=>{"use strict";var n=r(22615),i=r(85027),o=r(69985),a=r(6648),s=r(56308),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},56308:(t,e,r)=>{"use strict";var n,i,o=r(22615),a=r(68844),s=r(34327),u=r(69633),l=r(87901),c=r(83430),f=r(25391),d=r(618).get,h=r(62100),p=r(26738),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,m=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(x||E||S||h||p)&&(v=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(v,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),t.exports=v},69633:(t,e,r)=>{"use strict";var n=r(85027);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},63477:(t,e,r)=>{"use strict";var n=r(22615),i=r(36812),o=r(23622),a=r(69633),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},87901:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},62100:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},26738:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},74684:(t,e,r)=>{"use strict";var n=r(981),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},70517:(t,e,r)=>{"use strict";var n=r(19037),i=r(67697),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},14241:(t,e,r)=>{"use strict";var n=r(76058),i=r(62148),o=r(44201),a=r(67697),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},55997:(t,e,r)=>{"use strict";var n=r(72560).f,i=r(36812),o=r(44201)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},2713:(t,e,r)=>{"use strict";var n=r(83430),i=r(14630),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},84091:(t,e,r)=>{"use strict";var n=r(19037),i=r(95014),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},83430:(t,e,r)=>{"use strict";var n=r(53931),i=r(84091);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},76373:(t,e,r)=>{"use strict";var n=r(85027),i=r(52655),o=r(981),a=r(44201)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},10730:(t,e,r)=>{"use strict";var n=r(68844),i=r(68700),o=r(34327),a=r(74684),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},75984:(t,e,r)=>{"use strict";var n=r(41236).PROPER,i=r(3689),o=r(86350);t.exports=function(t){return i((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||n&&o[t].name!==t}))}},61435:(t,e,r)=>{"use strict";var n=r(68844),i=r(74684),o=r(34327),a=r(86350),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},50146:(t,e,r)=>{"use strict";var n=r(3615),i=r(3689),o=r(19037).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},13032:(t,e,r)=>{"use strict";var n=r(22615),i=r(76058),o=r(44201),a=r(11880);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},46549:(t,e,r)=>{"use strict";var n=r(50146);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},99886:(t,e,r)=>{"use strict";var n,i,o,a,s=r(19037),u=r(61735),l=r(54071),c=r(69985),f=r(36812),d=r(3689),h=r(2688),p=r(96004),g=r(36420),y=r(21500),v=r(4764),m=r(50806),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},m?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!v?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},23648:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n(1..valueOf)},27578:(t,e,r)=>{"use strict";var n=r(68700),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},65290:(t,e,r)=>{"use strict";var n=r(94413),i=r(74684);t.exports=function(t){return n(i(t))}},68700:(t,e,r)=>{"use strict";var n=r(58828);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},43126:(t,e,r)=>{"use strict";var n=r(68700),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},90690:(t,e,r)=>{"use strict";var n=r(74684),i=Object;t.exports=function(t){return i(n(t))}},88732:(t,e,r)=>{"use strict";var n=r(22615),i=r(48999),o=r(30734),a=r(54849),s=r(35899),u=r(44201),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},18360:(t,e,r)=>{"use strict";var n=r(88732),i=r(30734);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},23043:(t,e,r)=>{"use strict";var n={};n[r(44201)("toStringTag")]="z",t.exports="[object z]"===String(n)},34327:(t,e,r)=>{"use strict";var n=r(50926),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},23691:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},14630:(t,e,r)=>{"use strict";var n=r(68844),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},39525:(t,e,r)=>{"use strict";var n=r(50146);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},15648:(t,e,r)=>{"use strict";var n=r(67697),i=r(3689);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},21500:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},59834:(t,e,r)=>{"use strict";var n=r(19037),i=r(69985),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},35405:(t,e,r)=>{"use strict";var n=r(50496),i=r(36812),o=r(96145),a=r(72560).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},96145:(t,e,r)=>{"use strict";var n=r(44201);e.f=n},44201:(t,e,r)=>{"use strict";var n=r(19037),i=r(83430),o=r(36812),a=r(14630),s=r(50146),u=r(39525),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},86350:t=>{"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},34338:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(92297),a=r(48999),s=r(90690),u=r(6310),l=r(55565),c=r(76522),f=r(27120),d=r(29042),h=r(44201),p=r(3615),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(v(o=-1===e?a:arguments[e]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},38077:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).filter;n({target:"Array",proto:!0,forced:!r(29042)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},25728:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).find,o=r(87370),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},77049:(t,e,r)=>{"use strict";var n=r(79989),i=r(21055);n({target:"Array",stat:!0,forced:!r(86431)((function(t){Array.from(t)}))},{from:i})},76801:(t,e,r)=>{"use strict";var n=r(79989),i=r(84328).includes,o=r(3689),a=r(87370);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},752:(t,e,r)=>{"use strict";var n=r(65290),i=r(87370),o=r(9478),a=r(618),s=r(72560).f,u=r(91934),l=r(27807),c=r(53931),f=r(67697),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(r,!1);case"values":return l(e[r],!1)}return l([r,e[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},6203:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(94413),a=r(65290),s=r(16834),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},50886:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).map;n({target:"Array",proto:!0,forced:!r(29042)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},89730:(t,e,r)=>{"use strict";var n=r(79989),i=r(92297),o=r(19429),a=r(48999),s=r(27578),u=r(6310),l=r(65290),c=r(76522),f=r(44201),d=r(29042),h=r(96004),p=d("slice"),g=f("species"),y=Array,v=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),m=s(t,p),b=s(void 0===e?p:e,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,m,b);for(n=new(void 0===r?y:r)(v(b-m,0)),f=0;m<b;m++,f++)m in d&&c(n,f,d[m]);return n.length=f,n}})},65137:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(10509),a=r(90690),s=r(6310),u=r(98494),l=r(34327),c=r(3689),f=r(50382),d=r(16834),h=r(97365),p=r(37298),g=r(3615),y=r(27922),v=[],m=i(v.sort),b=i(v.push),w=c((function(){v.sort(void 0)})),_=c((function(){v.sort(null)})),x=d("sort"),S=!c((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?m(e):m(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},62506:(t,e,r)=>{"use strict";var n=r(79989),i=r(90690),o=r(27578),a=r(68700),s=r(6310),u=r(5649),l=r(55565),c=r(27120),f=r(76522),d=r(98494),h=r(29042)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,v,m,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(v=_+y)in b&&f(h,y,b[v]);if(h.length=n,r<n){for(y=_;y<w-n;y++)m=y+r,(v=y+n)in b?b[m]=b[v]:d(b,m);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)m=y+r-1,(v=y+n-1)in b?b[m]=b[v]:d(b,m);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},59903:(t,e,r)=>{"use strict";var n=r(36812),i=r(11880),o=r(81797),a=r(44201)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},34284:(t,e,r)=>{"use strict";var n=r(67697),i=r(41236).EXISTS,o=r(68844),a=r(62148),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(t){return""}}})},48324:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(61735),a=r(22615),s=r(68844),u=r(3689),l=r(69985),c=r(30734),f=r(96004),d=r(92643),h=r(50146),p=String,g=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=v(r,e-1),i=v(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(m(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},7629:(t,e,r)=>{"use strict";var n=r(19037);r(55997)(n.JSON,"JSON",!0)},77509:(t,e,r)=>{"use strict";r(55997)(Math,"Math",!0)},79288:(t,e,r)=>{"use strict";var n=r(79989),i=r(53931),o=r(67697),a=r(19037),s=r(50496),u=r(68844),l=r(35266),c=r(36812),f=r(33457),d=r(23622),h=r(30734),p=r(88732),g=r(3689),y=r(72741).f,v=r(82474).f,m=r(72560).f,b=r(23648),w=r(61435).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(e,r=n[i])&&!c(t,r)&&m(t,r,v(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},60429:(t,e,r)=>{"use strict";var n=r(79989),i=r(45394);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},81919:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(65290),a=r(82474).f,s=r(67697);n({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},79434:(t,e,r)=>{"use strict";var n=r(79989),i=r(50146),o=r(3689),a=r(7518),s=r(90690);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},88052:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(90690),a=r(61868),s=r(81748);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},69358:(t,e,r)=>{"use strict";var n=r(79989),i=r(90690),o=r(20300);n({target:"Object",stat:!0,forced:r(3689)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},60228:(t,e,r)=>{"use strict";var n=r(23043),i=r(11880),o=r(65073);n||i(Object.prototype,"toString",o,{unsafe:!0})},81692:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(10509),a=r(48742),s=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},75089:(t,e,r)=>{"use strict";var n=r(79989),i=r(53931),o=r(87073).CONSTRUCTOR,a=r(17919),s=r(76058),u=r(69985),l=r(11880),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},56697:(t,e,r)=>{"use strict";var n,i,o,a=r(79989),s=r(53931),u=r(50806),l=r(19037),c=r(22615),f=r(11880),d=r(49385),h=r(55997),p=r(14241),g=r(10509),y=r(69985),v=r(48999),m=r(767),b=r(76373),w=r(99886).set,_=r(80231),x=r(20920),S=r(9302),E=r(34410),T=r(618),k=r(17919),O=r(87073),A=r(48742),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,L=k,D=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},Y=function(t,e){var r,n,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},G=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)Y(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,G(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,G(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(D=(L=function(t){m(this,D),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(D,"then",(function(t,e){var r=R(this),n=V(b(this,L));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){Y(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===L||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new L((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,D)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:L}),h(L,"Promise",!1,!0),p("Promise")},73964:(t,e,r)=>{"use strict";r(56697),r(81692),r(75089),r(58829),r(42092),r(57905)},58829:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(10509),a=r(48742),s=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},42092:(t,e,r)=>{"use strict";var n=r(79989),i=r(48742);n({target:"Promise",stat:!0,forced:r(87073).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},57905:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(53931),a=r(17919),s=r(87073).CONSTRUCTOR,u=r(72945),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},30050:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(61735),a=r(86761),s=r(52655),u=r(85027),l=r(48999),c=r(25391),f=r(3689),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),v=g||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),v=o(t,f,e);return l(v)?v:f}})},32349:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(48999),a=r(85027),s=r(76251),u=r(82474),l=r(61868);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,c,f=arguments.length<3?e:arguments[2];return a(e)===f?e[r]:(n=u.f(e,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,f):o(c=l(e))?t(c,r,f):void 0}})},52003:(t,e,r)=>{"use strict";var n=r(67697),i=r(19037),o=r(68844),a=r(35266),s=r(33457),u=r(75773),l=r(25391),c=r(72741).f,f=r(23622),d=r(91245),h=r(34327),p=r(63477),g=r(87901),y=r(38055),v=r(11880),m=r(3689),b=r(36812),w=r(618).enforce,_=r(14241),x=r(44201),S=r(62100),E=r(26738),T=x("match"),k=i.RegExp,O=k.prototype,A=i.SyntaxError,C=o(O.exec),P=o("".charAt),j=o("".replace),R=o("".indexOf),N=o("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,D=/a/g,M=new k(L)!==L,F=g.MISSED_STICKY,B=g.UNSUPPORTED_Y,V=n&&(!M||F||S||E||m((function(){return D[T]=!1,k(L)!==L||k(D)===D||"/a/i"!==String(k(L,"i"))})));if(a("RegExp",V)){for(var U=function(t,e){var r,n,i,o,a,c,g=f(O,this),y=d(t),v=void 0===e,m=[],_=t;if(!g&&y&&v&&t.constructor===U)return t;if((y||f(O,t))&&(t=t.source,v&&(e=p(_))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),_=t,S&&"dotAll"in L&&(n=!!e&&R(e,"s")>-1)&&(e=j(e,/s/g,"")),r=e,F&&"sticky"in L&&(i=!!e&&R(e,"y")>-1)&&B&&(e=j(e,/y/g,"")),E&&(t=(o=function(t){for(var e,r=t.length,n=0,i="",o=[],a=l(null),s=!1,u=!1,c=0,f="";n<=r;n++){if("\\"===(e=P(t,n)))e+=P(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:C(I,N(t,n+1))&&(n+=2,u=!0),i+=e,c++;continue;case">"===e&&u:if(""===f||b(a,f))throw new A("Invalid capture group name");a[f]=!0,o[o.length]=[f,c],u=!1,f="";continue}u?f+=e:i+=e}return[i,o]}(t))[0],m=o[1]),a=s(k(t,e),g?this:O,U),(n||i||m.length)&&(c=w(a),n&&(c.dotAll=!0,c.raw=U(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=P(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+P(t,++n);return i}(t),r)),i&&(c.sticky=!0),m.length&&(c.groups=m)),t!==_)try{u(a,"source",""===_?"(?:)":_)}catch(t){}return a},W=c(k),H=0;W.length>H;)y(U,k,W[H++]);O.constructor=U,U.prototype=O,v(i,"RegExp",U,{constructor:!0})}_("RegExp")},64043:(t,e,r)=>{"use strict";var n=r(79989),i=r(56308);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},12826:(t,e,r)=>{"use strict";var n=r(41236).PROPER,i=r(11880),o=r(85027),a=r(34327),s=r(3689),u=r(63477),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},43843:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(42124),a=r(74684),s=r(34327),u=r(27413),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},21694:(t,e,r)=>{"use strict";var n=r(10730).charAt,i=r(34327),o=r(618),a=r(91934),s=r(27807),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},22462:(t,e,r)=>{"use strict";var n=r(22615),i=r(65773),o=r(85027),a=r(981),s=r(43126),u=r(34327),l=r(74684),c=r(54849),f=r(71514),d=r(66100);i("match",(function(t,e,r){return[function(e){var r=l(this),i=a(e)?void 0:c(e,t);return i?n(i,e,r):new RegExp(e)[t](u(r))},function(t){var n=o(this),i=u(t),a=r(e,n,i);if(a.done)return a.value;if(!n.global)return d(n,i);var l=n.unicode;n.lastIndex=0;for(var c,h=[],p=0;null!==(c=d(n,i));){var g=u(c[0]);h[p]=g,""===g&&(n.lastIndex=f(i,s(n.lastIndex),l)),p++}return 0===p?null:h}]}))},57267:(t,e,r)=>{"use strict";var n=r(61735),i=r(22615),o=r(68844),a=r(65773),s=r(3689),u=r(85027),l=r(69985),c=r(981),f=r(68700),d=r(43126),h=r(34327),p=r(74684),g=r(71514),y=r(54849),v=r(27017),m=r(66100),b=r(44201)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=m(a,s))&&(S(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,j=0;j<O.length;j++){for(var R,N=h((k=O[j])[0]),I=w(_(f(k.index),s.length),0),L=[],D=1;D<k.length;D++)S(L,void 0===(A=k[D])?A:String(A));var M=k.groups;if(p){var F=x([N],L,I,s);void 0!==M&&S(F,M),R=h(n(i,void 0,F))}else R=v(N,s,I,L,M,i);I>=P&&(C+=T(s,P,I)+R,P=I+N.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},28436:(t,e,r)=>{"use strict";var n=r(79989),i=r(61435).trim;n({target:"String",proto:!0,forced:r(75984)("trim")},{trim:function(){return i(this)}})},58373:(t,e,r)=>{"use strict";r(35405)("asyncIterator")},37855:(t,e,r)=>{"use strict";var n=r(79989),i=r(19037),o=r(22615),a=r(68844),s=r(53931),u=r(67697),l=r(50146),c=r(3689),f=r(36812),d=r(23622),h=r(85027),p=r(65290),g=r(18360),y=r(34327),v=r(75684),m=r(25391),b=r(20300),w=r(72741),_=r(26062),x=r(7518),S=r(82474),E=r(72560),T=r(98920),k=r(49556),O=r(11880),A=r(62148),C=r(83430),P=r(2713),j=r(57248),R=r(14630),N=r(44201),I=r(96145),L=r(35405),D=r(13032),M=r(55997),F=r(618),B=r(2960).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,Y=i.Symbol,G=Y&&Y.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=S.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),tt=C("symbols"),et=C("op-symbols"),rt=C("wks"),nt=!z||!z.prototype||!z.prototype.findChild,it=function(t,e,r){var n=X(H,e);n&&delete H[e],Q(t,e,r),n&&t!==H&&Q(H,e,n)},ot=u&&c((function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?it:Q,at=function(t,e){var r=tt[t]=m(G);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===H&&st(et,e,r),h(t);var n=g(e);return h(r),f(tt,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=m(r,{enumerable:v(0,!1)})):(f(t,V)||Q(t,V,v(1,m(null))),t[V][n]=!0),ot(t,n,r)):Q(t,n,r)},ut=function(t,e){h(t);var r=p(e),n=b(r).concat(dt(r));return B(n,(function(e){u&&!o(lt,r,e)||st(t,e,r[e])})),t},lt=function(t){var e=g(t),r=o(J,this,e);return!(this===H&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,V)&&this[V][e])||r)},ct=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(tt,n)||f(et,n)){var i=X(r,n);return!i||!f(tt,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},ft=function(t){var e=Z(p(t)),r=[];return B(e,(function(t){f(tt,t)||f(j,t)||K(r,t)})),r},dt=function(t){var e=t===H,r=Z(e?et:p(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(H,t)||K(n,tt[t])})),n};l||(O(G=(Y=function(){if(d(G,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){var n=void 0===this?i:this;n===H&&o(r,et,t),f(n,V)&&f(n[V],e)&&(n[V][e]=!1);var a=v(1,t);try{ot(n,e,a)}catch(t){if(!(t instanceof $))throw t;it(n,e,a)}};return u&&nt&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(Y,"withoutSetter",(function(t){return at(R(t),t)})),k.f=lt,E.f=st,T.f=ut,S.f=ct,w.f=_.f=ft,x.f=dt,I.f=function(t){return at(N(t),t)},u&&(A(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),B(b(rt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ft}),D(),M(Y,"Symbol"),j[V]=!0},86544:(t,e,r)=>{"use strict";var n=r(79989),i=r(67697),o=r(19037),a=r(68844),s=r(36812),u=r(69985),l=r(23622),c=r(34327),f=r(62148),d=r(8758),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var v="Symbol(description detection)"===String(h("description detection")),m=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=m(this);if(s(g,t))return"";var e=b(t),r=v?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},43975:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(36812),a=r(34327),s=r(83430),u=r(46549),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},84254:(t,e,r)=>{"use strict";r(35405)("iterator")},59749:(t,e,r)=>{"use strict";r(37855),r(43975),r(81445),r(48324),r(79434)},81445:(t,e,r)=>{"use strict";var n=r(79989),i=r(36812),o=r(30734),a=r(23691),s=r(83430),u=r(46549),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},69373:(t,e,r)=>{"use strict";var n=r(35405),i=r(13032);n("toPrimitive"),i()},66793:(t,e,r)=>{"use strict";var n=r(76058),i=r(35405),o=r(55997);i("toStringTag"),o(n("Symbol"),"Symbol")},47522:(t,e,r)=>{"use strict";var n=r(19037),i=r(66338),o=r(33265),a=r(57612),s=r(75773),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},76265:(t,e,r)=>{"use strict";var n=r(19037),i=r(66338),o=r(33265),a=r(752),s=r(75773),u=r(55997),l=r(44201)("iterator"),c=a.values,f=function(t,e){if(t){if(t[l]!==c)try{s(t,l,c)}catch(e){t[l]=c}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=t,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r.b=document.baseURI||self.location.href,r.nc=void 0;var n={};return(()=>{"use strict";r.r(n),r.d(n,{ItemStore:()=>Gu,Presenter:()=>Ka,bundleLoader:()=>tl,engine:()=>Oa,renderingContext:()=>ei,system:()=>Wn,utils:()=>Vn,validate:()=>Fa});r(60228),r(47522),r(62506),r(38077),r(59749),r(86544),r(84254),r(752),r(21694),r(76265),r(76801),r(43843),r(25728),r(69358),r(50886),r(69373),r(59903),r(79288),r(74289),r(48888),r(3925),r(45195),r(10373),r(83500),r(49361),r(14223),r(58965),r(54458),r(94825),r(56270);function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var e=globalThis.__rdfjson_namespaces,i=0,o=function(t,r,n){return e[t]||(e[t]=r),{abbrev:t,ns:r,localname:n,full:r+n,pretty:"".concat(t,":").concat(n)}},a=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));if(r)return o(r,e[r],t.substring(e[r].length));var n=t.lastIndexOf("/"),a=t.lastIndexOf("#");return a>n&&(n=a),o("ns".concat(i+=1),t.substring(0,n+1),t.substring(n+1))};const u=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));return r?o(r,e[r],t.substring(e[r].length)).pretty:t},l=function(t){return a(t).pretty},c=function(t){var r=t.split(":");return 2===r.length&&e.hasOwnProperty(r[0])?e[r[0]]+r[1]:t},f=function(r,n){"string"==typeof r?e[r]=n:"object"===t(r)&&Object.keys(r).forEach((function(t){e[t]=r[t]}))};r(85110),r(67483),r(17299),r(12766),r(20539),r(40454),r(45872),r(30695),r(72870),r(2458),r(13090),r(64120),r(4099),r(75397),r(7741),r(15796),r(42781);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h=function(t){return void 0!==t&&(null===t||"object"===d(t)||Array.isArray(t)||"function"==typeof t)},p=function(t){return"string"==typeof t||t instanceof String},g=function(t,e,r){0===t[e][r].length&&(delete t[e][r],0===Object.keys(t[e]).length&&delete t[e])},y=function(t){if(!h(t[0]))throw new Error("Graph is not a object.");if(!p(t[1]))throw new Error("Subject is not a string.");if(!p(t[2]))throw new Error("Predicate is not a string.");if(!h(t[3]))throw new Error("Object is not a object.");if(void 0===t[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===t[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},v=function(t,e){return t===e||null==t&&t===e||(p(t)?p(e)?t===e:t===e.value:p(e)?t.value===e:t.type===e.type&&t.value===e.value&&t.lang===e.lang&&t.datatype===e.datatype)},m=function(t){var e={type:t.type,value:t.value};return null!=t.ng&&(e.ng=t.ng),null!=t.lang&&(e.lang=t.lang),null!=t.datatype&&(e.datatype=t.datatype),e},b=function(t){return"".concat(t.value).concat(t.type).concat(t.lang||"").concat(t.datatype||"").concat(t.ng||"")};const w={isObject:h,isString:p,isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},statementEquals:function(t,e){return t.s===e.s&&t.p===e.p&&v(t.o,e.o)},add:function(t,e,r,n,i){if(y([t,e,r,n]),void 0===t[e])return t[e]={},t[e][r]=[n],n;if(void 0===t[e][r])return t[e][r]=[n],n;var o,a=t[e][r];if(!i)for(o=a.length-1;o>=0;o--)if(v(n,a[o]))return a[o];return a.push(n),n},remove:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(v(n,o[i])){var a=o[i];return o.splice(i,1),g(t,e,r),a}}},contains:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(v(n,o[i]))return o[i]}},cleanup:g,checkForWrongArgs:y,objectEquals:v,findDirectOrRDFValue:function(t,e,r){var n=t.find(e,r);if(n.length>0)return"bnode"!==n[0].getType()?n[0].getValue():t.findFirstValue(n[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={};return Object.keys(t).forEach((function(n){var i=t[n];r[n]={},Object.keys(i).forEach((function(t){var o=i[t];if(1===o.length)r[n][t]=[m(o[0])];else if(e){var a=[],s=new Set;r[n][t]=a,i[t].forEach((function(t){var e=m(t),r=b(e);s.has(r)||(s.add(r),a.push(e))}))}else{var u=[];r[n][t]=u,i[t].forEach((function(t){u.push(m(t))}))}}))})),r}};function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,S(n.key),n)}}function S(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:String(e)}var E=function(){function t(e,r,n,i,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._graph=e,this._s=r,this._p=n,this._o=i,this._o._statement=this,this._asserted=o}var e,r,n;return e=t,(r=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t!==this._asserted&&(t?this._graph.add(this,void 0,void 0,this._silentValue,e):this._graph.remove(this,this._silentValue),this._asserted=t)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._s=e,this._graph.add(this),delete this._sIsBlank):this._s=e}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._p=e,this._graph.add(this)):this._p=e}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(t){this._o.ng=t}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var t=this._o,e={value:t.value,type:t.type};return this._o.ng&&(e.ng=t.ng),t.lang&&(e.lang=t.lang),this._o.datatype&&(e.datatype=t.datatype),e}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(t){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===e,t!==this._o.value&&(this._o.value=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(t,e){if(this._silentValue=!0===e,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==t&&(this._o.lang=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(t,e){if(this._silentValue=!0===e,"literal"!==this._o.type||null!=this._o.lang)throw new Error("Cannot set the datatype for a resource, has to be a literal");this._o.datatype!==t&&(this._o.datatype=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}}])&&x(e.prototype,r),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),T=(r(91756),r(65273),r(2568));const k=function(t,e){var r=[],n=new Set((e||[]).map((function(t){return c(t)}))),i=[],o={},a=function(t){var e=t.getValue();t.getLanguage()&&(e+="@".concat(t.getLanguage()));var r=t.getDatatype();return r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(e+="^^".concat(r)),e},s=function(t,e){var r=o[t]||{rels:[]};o[t]=r,r.rels.push(e)};return t.find().forEach((function(t){var e=t.getSubject(),o=t.getPredicate();if(!n.has(o)){var u="bnode"===t.getType(),l=t.isSubjectBlank();if(l||u)return i.push(t),l&&s(t.getSubject(),u?o:o+a(t)),void("bnode"===t.getType()&&s(t.getValue(),l?o:e+o));r.push(e+o+a(t))}})),Object.values(o).forEach((function(t){t.rels.sort(),t.hash=T(t.rels.join(""))})),i.forEach((function(t){var e=[];e.push(t.isSubjectBlank()?o[t.getSubject()].hash:t.getSubject()),e.push(t.getPredicate()),e.push("bnode"===t.getType()?o[t.getValue()].hash:a(t)),r.push(e.join(""))})),r.sort(),T(r.join(""))};class O{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}O.prototype.termType="BlankNode";const A=O;class C{equals(t){return!!t&&t.termType===this.termType}}C.prototype.termType="DefaultGraph",C.prototype.value="";const P=C;const j=function(t,e){if(!e)return null;if("BlankNode"===e.termType)return t.blankNode(e.value);if("DefaultGraph"===e.termType)return t.defaultGraph();if("Literal"===e.termType)return t.literal(e.value,e.language||t.namedNode(e.datatype.value));if("NamedNode"===e.termType)return t.namedNode(e.value);if("Quad"===e.termType){const r=t.fromTerm(e.subject),n=t.fromTerm(e.predicate),i=t.fromTerm(e.object),o=t.fromTerm(e.graph);return t.quad(r,n,i,o)}if("Variable"===e.termType)return t.variable(e.value);throw new Error("unknown termType "+e.termType)};class R{constructor(t,e,r){this.value=t,this.language=e,this.datatype=r}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value&&t.language===this.language&&t.datatype.equals(this.datatype)}}R.prototype.termType="Literal";const N=R;class I{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}I.prototype.termType="NamedNode";const L=I;class D{constructor(t,e,r,n){this.subject=t,this.predicate=e,this.object=r,this.graph=n}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&t.subject.equals(this.subject)&&t.predicate.equals(this.predicate)&&t.object.equals(this.object)&&t.graph.equals(this.graph)}}D.prototype.termType="Quad",D.prototype.value="";const M=D;class F{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}F.prototype.termType="Variable";const B=F,V=new L("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),U=new L("http://www.w3.org/2001/XMLSchema#string");class W{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new P}}namedNode(t){return new L(t)}blankNode(t){return t=t||"b"+ ++this._data.blankNodeCounter,new A(t)}literal(t,e){return"string"==typeof e?new N(t,e,V):new N(t,"",e||U)}variable(t){return new B(t)}defaultGraph(){return this._data.defaultGraph}quad(t,e,r,n=this.defaultGraph()){return new M(t,e,r,n)}fromTerm(t){return j(this,t)}fromQuad(t){return j(this,t)}}W.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const H=new W;var Y=function(t){return 0===t.indexOf("_:")?t.substring(2):t},G=function(t){return t.find().map((function(t){var e=t.getSubject(),r=t.getPredicate(),n=function(t){if(t.value)switch(t.type){case"literal":if(t.lang)return H.literal(t.value,t.lang);if(t.datatype){var e=H.namedNode(t.datatype);return H.literal(t.value,e)}return H.literal(t.value);case"uri":return H.namedNode(t.value);case"blank":return H.blankNode(Y(t.value))}}(t.getObject()),i=t.getNamedGraph()?H.namedNode(t.getNamedGraph()):void 0;return H.quad(t.isSubjectBlank()?H.blankNode(Y(e)):H.namedNode(e),H.namedNode(r),n,i)}))},$=function(t){return 0===t.indexOf("_:")?t:"_:".concat(t)},q=function(t,e){var r=e||new Graph,n=function(t){var e=function(t){switch(t.termType){case"NamedNode":return{value:t.value,type:"uri"};case"BlankNode":return{value:$(t.value),type:"bnode"};case"Literal":return t.language?{value:t.value,type:"literal",lang:t.language}:t.datatype?{value:t.value,type:"literal",datatype:t.datatype.value}:{value:t.value,type:"literal"}}}(t.object||t._object);return"DefaultGraph"!==t.graph.termType&&(e.ng=t.graph.value),e};t.forEach((function(t){r.add("BlankNode"===t.subject.termType?$(t.subject.value):t.subject.value,"BlankNode"===t.predicate.termType?$(t.predicate.value):t.predicate.value,n(t))}))};function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Z(n.key),n)}}function Z(t){var e=function(t,e){if("object"!=z(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==z(e)?e:String(e)}var J=function(t){return 0===t.length?t:[t[0]]},K=function t(e,r,n){return{object:function(i){for(var o=0;o<r.length;o++){var a=void 0;if(n)a=r[o].getSubject();else{var s=r[o].getType();if("uri"===s||"bnode"===s)continue;a=r[o].getValue()}var u=e.find(a,i);u.length>0&&t(e,[u[0]])}return t(e,[])},objects:function(i){var o,a=[];if(!0===n)for(o=0;o<r.length;o++)a=a.concat(e.find(r[o].getSubject(),i));else for(o=0;o<r.length;o++){var s=r[o].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(e.find(r[o].getValue(),i)))}return t(e,a)},constr:function(i,o){var a=o;w.isString(a)&&(a={type:"uri",value:a});for(var s=[],u=0;u<r.length;u++){var l=n?r[u].getSubject():r[u].getValue();e.find(l,i,a).length>0&&s.push(r[u])}return t(e,s,n)},each:function(i,o){if(!0===n)for(var a=0;a<r.length;a++){var s="_:"===r[a].getSubject().substring(0,2)?"bnode":"uri";null!=o&&o!==s||i(t(e,r[a],n))}else for(var u=0;u<r.length;u++)i(t(e,r[u],n))},statements:function(){return r},nodes:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push({type:o,value:r[i].getSubject()})}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getObject());return e},values:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push(r[i].getSubject())}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getValue());return e},firstValue:function(t){if(!0===n)for(var e=0;e<r.length;e++){var i="_:"===r[e].getSubject().substring(0,2)?"bnode":"uri";if(null==t||t===i)return r[e].getSubject()}else for(var o=0;o<r.length;o++)if(null==t||t===r[o].getType())return r[o].getValue()}}},tt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;X(this,t),this._graph=e||{},this._bnodes={},this._bnodesIndexed=!1,!1!==r&&this.validate(),this._changed=!1}var e,r,n;return e=t,(r=[{key:"addQuads",value:function(t){return q(t,this),this}},{key:"toQuads",value:function(){return G(this)}},{key:"isEmpty",value:function(){var t=this;return!Object.keys(this._graph).find((function(e){var r=t._graph[e];return Object.keys(r).find((function(t){return r[t].find((function(t){return null==t._statement||t._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(t){this._changed=!(!0!==t&&null!=t),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(t,e){for(var r,n={},i=t.find(),o=0;o<i.length;o++){var a=i[o],s=a.getSubject(),u=a.getPredicate(),l=a.getCleanObject();e&&(l.ng=e),0===s.indexOf("_:")&&(r=n[s]||this._newBNode(),n[s]=r,s=r),0===u.indexOf("_:")&&(r=n[u]||this._newBNode(),n[u]=r,u=r),"bnode"===l.type&&(r=n[l.value]||this._newBNode(),n[l.value]=r,l.value=r),this.add(s,u,l)}}},{key:"add",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;if(t instanceof E){var o=t.getPredicate(),a=t.getObject(),s=t.getSubject();this._trackBNodes(s,o,a);var u=this._graphObject(a),l=w.add(this._graph,s,o,u,i);return!0!==n&&this.setChanged(),this._get(s,o,l,!0)}return this.create(t,e,r,!0,n,i)}},{key:"addL",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.lang=n),this.create(t,e,i,!0)}},{key:"addD",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.datatype=c(n)),this.create(t,e,i,!0)}},{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=t,s=e,u=r;if(a=null==a?this._newBNode():c(a),s=null==s?this._newBNode():c(s),null==u?u={type:"bnode",value:this._newBNode()}:w.isString(u)?u={type:"uri",value:c(u)}:"object"!==z(u)||Array.isArray(u)?u={type:"uri",value:"".concat(u)}:("uri"===(u={type:u.type,value:u.value,lang:u.lang,datatype:u.datatype,ng:u.ng}).type&&null!=u.value&&(u.value=c(u.value)),u.datatype&&(u.datatype=c(u.datatype))),!1!==n){var l=w.add(this._graph,a,s,u,o);return!0!==i&&this.setChanged(),this._getOrCreate(a,s,l,!0)}return new E(this,a,s,u,!1)}},{key:"findAndRemove",value:function(t,e,r){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.find(t,e,r),o=0;o<i.length;o++)this.remove(i[o],n)}},{key:"remove",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.getSubject(),n=t.getPredicate(),i=t.getObject();this._trackBNodes(r,n,i),null!=w.remove(this._graph,r,n,i)&&!0!==e&&this.setChanged()}},{key:"find",value:function(t,e,r){var n=t,i=e,o=r;if("string"==typeof n&&(n=c(n)),"string"==typeof i&&(i=c(i)),"object"===z(o)&&null!==o&&"uri"===o.type?o.value=c(o.value):"string"==typeof o&&(o={type:"uri",value:c(o)}),null==o)return null==i?null==n?this._find():this._findS(n):null==n?this._findP(i):this._findSP(n,i);if(null==i)return null==n?this._findO(o):this._findSO(n,o);if(null==n)return this._findPO(i,o);var a=this._get(n,i,w.contains(this._graph,n,i,o),!0);return null==a?[]:[a]}},{key:"findFirstValue",value:function(t,e){var r=this.find(t,e);if(r.length>0)return r[0].getValue()}},{key:"projection",value:function(t,e,r){var n=this,i={};return Object.keys(e).forEach((function(o){var a=e[o],s=Array.isArray(a)?n.findPath(t,a):n.find(t,a);if(s.length>0)switch("*"===o[0]?i[o.substr(1)]=s.map((function(t){return t.getValue()})):i[o]=s[0].getValue(),r||"none"){case"statement":i["*".concat(o)]=s;break;case"objects":i["*".concat(o)]=s.map((function(t){return t.getCleanObject()}));break;case"values":i["*".concat(o)]=s.map((function(t){return t.getValue()}))}})),i}},{key:"subjects",value:function(t,e){return K(this,this.find(null,t,e),!0)}},{key:"subject",value:function(t,e){return K(this,J(this.find(null,t,e)),!0)}},{key:"objects",value:function(t,e){return K(this,this.find(t,e,null))}},{key:"object",value:function(t,e){return K(this,J(this.find(t,e,null)))}},{key:"findPath",value:function(t,e){return e.slice(1).reduce((function(t,e){return t.objects(e)}),this.objects(t,e[0])).statements()}},{key:"addList",value:function(t){return this._addList(t,"add")}},{key:"addListL",value:function(t,e){return this._addList(t,"addL",e)}},{key:"addListD",value:function(t,e){return this._addList(t,"addD",e)}},{key:"_addList",value:function(t,e,r){var n,i=this;if(Array.isArray(t)&&0!==t.length){var o=n=this._newBNode(),a=t.length-1;t.forEach((function(t,n){i[e](o,"rdf:first",t,r),n!==a?o=i.add(o,"rdf:rest").getValue():i.add(o,"rdf:rest","rdf:nil")}))}else n=c("rdf:nil");return n}},{key:"removeList",value:function(t){var e=!1,r="object"===z(t)?t.value:t;try{var n=c("rdf:nil");for(e=r===n;r!==n&&null!=r;){var i=this.findFirstValue(r,"rdf:rest");this.findAndRemove(r),e=null!=(r=i)}}catch(t){return console.warn("Invalid list for object: ".concat(r)),!1}return e}},{key:"getList",value:function(t){var e="object"===z(t)?t.value:c(t),r=[];try{for(var n=c("rdf:nil");e!==n&&null!=e;)r.push(this.find(e,"rdf:first")[0].getObject()),e=this.findFirstValue(e,"rdf:rest")}catch(t){console.warn("Invalid list for object: ".concat(e))}return r}},{key:"findFirstListAsValues",value:function(t,e){return this.getList(this.findFirstValue(t,e)).map((function(t){return t.value}))}},{key:"findAndRemoveLists",value:function(t,e){var r=this,n=!1;return this.find(t,e).forEach((function(t){r.removeList(t.getValue())&&(r.remove(t),n=!0)})),n}},{key:"exportRDFJSON",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,w.clone(this._graph,t)}},{key:"replaceSubject",value:function(t,e){return this.replaceURI(t,e)}},{key:"replaceURI",value:function(t,e){var r=this._graph;if(r.hasOwnProperty(t)){if(r.hasOwnProperty(e))throw new Error("Cannot replace subject with target URI since it already exists.");r[e]=r[t],delete r[t]}return this.forEach((function(r,n,i){"uri"===i.type&&i.value===t&&(i.value=e),r===e&&i._statement&&(i._statement._s=e)})),this}},{key:"replaceBlankWithURI",value:function(t,e,r){var n=this._graph;if(n.hasOwnProperty(t)){if(n.hasOwnProperty(e)){if(!r)throw new Error("Cannot replace subject with target URI since it already exists.");var i=n[e],o=n[t];Object.keys(o).forEach((function(t){if(i.hasOwnProperty(t)){var e=i[t],r=o[t].filter((function(t){return!e.find((function(e){return w.objectEquals(e,t)}))}));i[t]=e.concat(r)}else i[t]=o[t]})),delete n[t]}else n[e]=n[t],delete n[t];this.forEach((function(r,n,i){"bnode"===i.type&&i.value===t&&(i.value=e,i.type="uri"),r===e&&i._statement&&(i._statement._s=e)}))}return delete this._bnodes[t],this}},{key:"clone",value:function(){return new t(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(t){return Object.keys(this._graph[t]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(t){this._bnodes[t]=!0}},{key:"forEach",value:function(t){var e=this._graph;Object.keys(e).forEach((function(r){var n=e[r];Object.keys(n).forEach((function(e){n[e].forEach((function(n){t(r,e,n)}))}))}))}},{key:"map",value:function(t){var e=[];return this.forEach((function(r){e.push(t(r))})),e}},{key:"equals",value:function(t,e){return k(this,e)===k(t,e)}},{key:"size",value:function(){var t=0;return Object.values(this._graph).forEach((function(e){Object.values(e).forEach((function(e){t+=e.length}))})),t}},{key:"_get",value:function(t,e,r,n){if(null!=r)return this._getOrCreate(t,e,r,n)}},{key:"_getOrCreate",value:function(t,e,r,n){return null==r._statement&&(r._statement=new E(this,t,e,r,n)),r._statement}},{key:"_graphObject",value:function(t){return null==t._statement||t._statement._graph===this?t:{type:t.type,value:t.value,lang:t.lang,datatype:t.datatype}}},{key:"_findSP",value:function(t,e){var r=this;return null==this._graph[t]||null==this._graph[t][e]?[]:this._graph[t][e].map((function(n){return r._get(t,e,n,!0)}))}},{key:"_findS",value:function(t){var e=this,r=this._graph[t],n=Object.keys(r||{}).map((function(r){return e._findSP(t,r)}));return Array.prototype.concat.apply([],n)}},{key:"_find",value:function(){var t=this,e=[];return this.forEach((function(r,n,i){e.push(t._get(r,n,i,!0))})),e}},{key:"_findP",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){t===i&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findO",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){w.objectEquals(t,o)&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findSO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===i&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_findPO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===o&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_validate",value:function(){var t=this._graph,e={valid:!0,errors:[],nr:0};return Object.keys(t).forEach((function(r){var n=t[r];w.isObject(n)?Object.keys(n).forEach((function(t){var i=n[t];Array.isArray(i)?i.forEach((function(n,i){w.isObject(n)?null!=n.type?w.isString(n.value)?e.nr+=1:(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),e.valid=!1)})):(e.errors.push({s:r,p:t,message:"Predicate must point to an array of objects."}),e.valid=!1)})):(e.errors.push({s:r,message:"Subject must point to an object."}),e.valid=!1)})),e}},{key:"_newBNode",value:function(){var t,e,r;for(this._indexBNodes(),t=1;t<20;t++)for(e=1;e<=t;e++)if(r="_:".concat(Math.floor(Math.random()*(Math.pow(10,t)+1))),!0!==this._bnodes[r])return this._bnodes[r]=!0,r;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var t=this;if(!this._bnodesIndexed){var e=this._graph;Object.keys(e).forEach((function(r){0===r.indexOf("_:")&&(t._bnodes[r]=!0);var n=e[r];Object.keys(n).forEach((function(e){0===e.indexOf("_:")&&(t._bnodes[e]=!0),n[e].forEach((function(e){"bnode"===e.type&&(t._bnodes[e.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(t,e,r){0===t.indexOf("_:")&&(this._bnodes[t]=!0),0===e.indexOf("_:")&&(this._bnodes[e]=!0),"bnode"===r.type&&(this._bnodes[r.value]=!0)}}])&&Q(e.prototype,r),n&&Q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(9081),r(24601);r(73220),r(17554),r(39385),r(80528),r(7517),r(25787);function et(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nt(n.key),n)}}function nt(t){var e=function(t,e){if("object"!=et(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==et(e)?e:String(e)}function it(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,r){return ct(e),function(t,e){if(e&&("object"===et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ut()?Reflect.construct(e,r||[],ct(t).constructor):e.apply(t,r))}function at(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return st(t,arguments,ct(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),lt(r,t)}(t)}function st(t,e,r){if(ut())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var i=new(t.bind.apply(t,n));return r&&lt(i,r.prototype),i}function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}function lt(t,e){return(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){return(Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Error;function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,gt(n.key),n)}}function pt(t,e,r){return e&&ht(t.prototype,e),r&&ht(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function gt(t){var e=function(t,e){if("object"!=ft(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ft(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ft(e)?e:String(e)}var yt={rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",owl:"http://www.w3.org/2002/07/owl#"},vt={rdftype:"".concat(yt.rdf,"type"),rdfssco:"".concat(yt.rdfs,"subClassOf"),rdfsdomain:"".concat(yt.rdfs,"domain"),rdfsrange:"".concat(yt.rdfs,"range"),rdfsspo:"".concat(yt.rdfs,"subPropertyOf"),rdfsClass:"".concat(yt.rdfs,"Class"),owlClass:"".concat(yt.owl,"Class"),owlObjectProperty:"".concat(yt.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(yt.owl,"DatatypeProperty"),rdfProperty:"".concat(yt.rdf,"Property")},mt=function(t,e,r){for(var n={},i=!1,o=t.find(e,r),a=0;a<o.length;a++){var s=o[a];"literal"===s.getType()&&(n[s.getLanguage()||""]=s.getValue()||"",i=!0)}if(i)return null==n.en&&null!=n[""]&&(n.en=n[""],delete n[""]),n},bt=function(t){for(var e=[],r={},n=0;n<t.length;n++){var i=t[n];r[i]||(e.push(i),r[i]=!0)}return e},wt=function(){function t(e,r){dt(this,t),this._uri=e,this._parents=[],this._children=[],this._graph=r}return pt(t,[{key:"getURI",value:function(){return this._uri}},{key:"getLabel",value:function(){var t=this.getLabels();if(null!=t.en)return t.en;var e=Object.objects(t);return e.length>0?e[0]:""}},{key:"getLabels",value:function(){return null==this._labels&&(this._labels=mt(this._graph,this._uri,"".concat(yt.rdfs,"label")),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}},{key:"getComment",value:function(){var t=this.getComments();return null!=t?null!=t.en?t.en:Object.objects(t)[0]:""}},{key:"getComments",value:function(){return null==this._comments&&(this._comments=mt(this._graph,this._uri,"".concat(yt.rdfs,"comment"))),this._comments}},{key:"addParent",value:function(t){this._parents.push(t),t._children.push(this)}},{key:"getDirectParents",value:function(){return this._parents}},{key:"getParents",value:function(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(var t=0;t<this._parents.length;t++)this._allParents=this._allParents.concat(this._parents[t].getParents()),this._allParents.push(this._parents[t])}return delete this._parentLock,this._allParents}},{key:"getChildren",value:function(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(var t=0;t<this._children.length;t++)this._allChildren=this._allChildren.concat(this._children[t].getChildren()),this._allChildren.push(this._children[t])}return delete this._childLock,this._allChildren}},{key:"setRange",value:function(t){null==this._range&&(this._range=[]),this._range.push(t)}},{key:"setDomain",value:function(t){null==this._domain&&(this._domain=[]),this._domain.push(t),t.setDomainOf(this)}},{key:"getRange",value:function(){if(null==this._allRange){this._allRange=this._range||[];for(var t=0;t<this._parents.length;t++)this._allRange=this._allRange.concat(this._parents[t].getRange());this._allRange=bt(this._allRange)}return this._allRange}},{key:"getDomain",value:function(){if(null==this._allDomain){this._allDomain=this._domain||[];for(var t=0;t<this._parents.length;t++)this._allDomain=this._allDomain.concat(this._parents[t].getDomain());this._allDomain=bt(this._allDomain)}return this._allDomain}},{key:"setDomainOf",value:function(t){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(t)}},{key:"getDomainOf",value:function(){return this._domainOf}},{key:"getAllDomainOf",value:function(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){var t=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(var e=0;e<t.length;e++)this._allDomainOf=this._allDomainOf.concat(t[e].getChildren());for(var r=0;r<this._parents.length;r++)this._allDomainOf=this._allDomainOf.concat(this._parents[r].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}}]),t}(),_t=function(t,e,r,n){for(var i=0;i<r.length;i++){var o=r[i],a=o.getSubject(),s=t[a];if(s||(s=new wt(a,o.getGraph()),t[a]=s,e.push(s)),n){var u=o.getValue(),l=t[u];l||(l=new wt(u,o.getGraph()),t[u]=l,e.push(l)),s.addParent(l)}}},xt=function(){function t(){dt(this,t),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return pt(t,[{key:"addGraph",value:function(t){_t(this._cidx,this._carr,t.find(null,vt.rdftype,vt.rdfsClass)),_t(this._cidx,this._carr,t.find(null,vt.rdftype,vt.owlClass)),_t(this._cidx,this._carr,t.find(null,vt.rdfssco,null),!0),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.rdfProperty)),_t(this._pidx,this._parr,t.find(null,vt.rdfsspo,null),!0),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.owlDatatypeProperty)),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.owlObjectProperty)),function(t,e,r){for(var n,i,o,a=t.find(null,vt.rdfsdomain,null),s=0;s<a.length;s++)n=e[(o=a[s]).getSubject()],i=r[o.getValue()],null!=n&&null!=i&&n.setDomain(i);a=t.find(null,vt.rdfsrange,null);for(var u=0;u<a.length;u++)n=e[(o=a[u]).getSubject()],i=o.getValue(),null!=n&&null!=i&&n.setRange(i)}(t,this._pidx,this._cidx)}},{key:"addThing",value:function(){var t="http://www.w3.org/2002/07/owl#Thing",e=this._cidx[t],r=!1;e||(e=new wt(t,new tt),this._cidx[t]=e,this._carr.push(e),r=!0);for(var n=0;n<this._carr.length;n++){var i=this._carr[n];(r&&i!==e||-1===i.getParents().indexOf(e)&&i!==e)&&i.addParent(e)}}},{key:"getClasses",value:function(){return this._carr}},{key:"getProperties",value:function(){return this._parr}},{key:"isClass",value:function(t){return null!=this._cidx[t]}},{key:"isProperty",value:function(t){return null!=this._pidx[t]}},{key:"getClass",value:function(t){return this._cidx[t]}},{key:"getProperty",value:function(t){return this._pidx[t]}}],[{key:"getInstances",value:function(t){for(var e=[],r=[t].concat(t.getChildren()),n=0;n<r.length;n++)for(var i=r[n],o=i.getGraph.find(null,vt.rdftype,i.getURI()),a=0;a<o.length;a++)e.push(o[a].getSubject());return e}}]),t}();xt.prototype.ns=yt,xt.prototype.terms=vt,xt.global=new xt;function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Tt(n.key),n)}}function Tt(t){var e=function(t,e){if("object"!=St(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==St(e)?e:String(e)}var kt=function(t,e){if(null==e)return!0;var r=t.getConstraints(),n=!0;return null!=r&&(Object.keys(r).find((function(t){var i,o,a,s,u=e[t];return""!==u&&"*"!==u&&(i=u,o=r[t],a=Array.isArray(i)?i:null!=i?[i]:[],s=Array.isArray(o)?o:null!=o?[o]:[],a.length!==s.length||!a.every((function(t){return s.includes(t)})))&&(n=!1,!0)})),n)},Ot=function(t){this.filterObj={},this.registry=t};Ot.prototype.register=function(t){this.registry.register(this.filterObj,t)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(t){Ot.prototype[t]=function(e){var r={};switch(t){case"constraint":Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),this.filterObj[t]=r;break;case"predicate":case"rdftype":case"datatype":this.filterObj[t]=c(e);break;default:this.filterObj[t]=e||!0}return this}}));var At=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var e,r,n;return e=t,(r=[{key:"calculatePriority",value:function(t,e){var r=0;if(e.itemtype&&(r+=this.priorities.ITEMTYPE,t.getType()!==e.itemtype))return-1;if(e.choices)switch(r+=this.priorities.CHOICES,e.choices){case"static":if(!t.hasStaticChoices())return-1;break;case"dynamic":if(!t.hasChoices()||t.hasStaticChoices())return-1;break;case"none":if(t.hasChoices())return-1;break;case"any":default:if(!t.hasChoices())return-1}if(e.nodetype&&(r+=this.priorities.NODETYPE,t.getNodetype()!==e.nodetype))return-1;if(e.datatype){r+=this.priorities.DATATYPE;var n=t.getDatatype(),i=!0;if(n&&(i=Array.isArray(n)?!n.includes(e.datatype):n!==e.datatype),i)return-1}return e.rdftype&&(r+=this.priorities.RDFTYPE,!function(t,e){var r=t.getConstraints();return null!=r&&r[rdfType]===e}(t,e.rdftype))||e.constraint&&(r+=this.priorities.CONSTRAINT,!kt(t,e.constraint))||e.predicate&&(r+=this.priorities.PREDICATE,t.getProperty()!==e.predicate)||e.style&&(r+=this.priorities.STYLE,!t.hasStyle(e.style))?-1:!e.item||(r+=this.priorities.ITEM,t===e.item||e.item.getId&&t.getId()===e.item.getId())?e.check&&!e.check(t)?-1:r:-1}},{key:"getPriority",value:function(t,e){for(var r=0;r<this.components.length;r++)if(this.components[r].component===e){var n=this.calculatePriority(t,this.components[r].filter);if(n>=0)return n}return 0}},{key:"getComponentBefore",value:function(t,e){var r=this.getPriority(t,e);return this.getComponent(t,r)}},{key:"getComponent",value:function(t,e){for(var r,n,i,o=-1,a=0;a<this.components.length;a++)i=this.components[a],(n=this.calculatePriority(t,i.filter))>o&&(void 0===e||n<e)&&(r=i,o=n);if(r)return r.component}},{key:"register",value:function(t,e){this.components.push({component:e,filter:t})}},{key:"itemtype",value:function(t){return new Ot(this).itemtype(t)}},{key:"choices",value:function(t){return new Ot(this).choices(t)}},{key:"nodetype",value:function(t){return new Ot(this).nodetype(t)}},{key:"datatype",value:function(t){return new Ot(this).datatype(t)}},{key:"rdftype",value:function(t){return new Ot(this).rdftype(t)}},{key:"constraint",value:function(t){return new Ot(this).constraint(t)}},{key:"predicate",value:function(t){return new Ot(this).predicate(t)}},{key:"style",value:function(t){return new Ot(this).style(t)}},{key:"item",value:function(t){return new Ot(this).item(t)}},{key:"check",value:function(t){return new Ot(this).check(t)}}])&&Et(e.prototype,r),n&&Et(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(89730),r(12826);const Ct=function(){this.__data__=[],this.size=0};const Pt=function(t,e){return t===e||t!=t&&e!=e};const jt=function(t,e){for(var r=t.length;r--;)if(Pt(t[r][0],e))return r;return-1};var Rt=Array.prototype.splice;const Nt=function(t){var e=this.__data__,r=jt(e,t);return!(r<0)&&(r==e.length-1?e.pop():Rt.call(e,r,1),--this.size,!0)};const It=function(t){var e=this.__data__,r=jt(e,t);return r<0?void 0:e[r][1]};const Lt=function(t){return jt(this.__data__,t)>-1};const Dt=function(t,e){var r=this.__data__,n=jt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function Mt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Mt.prototype.clear=Ct,Mt.prototype.delete=Nt,Mt.prototype.get=It,Mt.prototype.has=Lt,Mt.prototype.set=Dt;const Ft=Mt;const Bt=function(){this.__data__=new Ft,this.size=0};const Vt=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const Ut=function(t){return this.__data__.get(t)};const Wt=function(t){return this.__data__.has(t)};const Ht="object"==typeof global&&global&&global.Object===Object&&global;var Yt="object"==typeof self&&self&&self.Object===Object&&self;const Gt=Ht||Yt||Function("return this")();const $t=Gt.Symbol;var qt=Object.prototype,zt=qt.hasOwnProperty,Xt=qt.toString,Qt=$t?$t.toStringTag:void 0;const Zt=function(t){var e=zt.call(t,Qt),r=t[Qt];try{t[Qt]=void 0;var n=!0}catch(t){}var i=Xt.call(t);return n&&(e?t[Qt]=r:delete t[Qt]),i};var Jt=Object.prototype.toString;const Kt=function(t){return Jt.call(t)};var te=$t?$t.toStringTag:void 0;const ee=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":te&&te in Object(t)?Zt(t):Kt(t)};const re=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const ne=function(t){if(!re(t))return!1;var e=ee(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const ie=Gt["__core-js_shared__"];var oe,ae=(oe=/[^.]+$/.exec(ie&&ie.keys&&ie.keys.IE_PROTO||""))?"Symbol(src)_1."+oe:"";const se=function(t){return!!ae&&ae in t};var ue=Function.prototype.toString;const le=function(t){if(null!=t){try{return ue.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var ce=/^\[object .+?Constructor\]$/,fe=Function.prototype,de=Object.prototype,he=fe.toString,pe=de.hasOwnProperty,ge=RegExp("^"+he.call(pe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ye=function(t){return!(!re(t)||se(t))&&(ne(t)?ge:ce).test(le(t))};const ve=function(t,e){return null==t?void 0:t[e]};const me=function(t,e){var r=ve(t,e);return ye(r)?r:void 0};const be=me(Gt,"Map");const we=me(Object,"create");const _e=function(){this.__data__=we?we(null):{},this.size=0};const xe=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var Se=Object.prototype.hasOwnProperty;const Ee=function(t){var e=this.__data__;if(we){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Se.call(e,t)?e[t]:void 0};var Te=Object.prototype.hasOwnProperty;const ke=function(t){var e=this.__data__;return we?void 0!==e[t]:Te.call(e,t)};const Oe=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=we&&void 0===e?"__lodash_hash_undefined__":e,this};function Ae(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Ae.prototype.clear=_e,Ae.prototype.delete=xe,Ae.prototype.get=Ee,Ae.prototype.has=ke,Ae.prototype.set=Oe;const Ce=Ae;const Pe=function(){this.size=0,this.__data__={hash:new Ce,map:new(be||Ft),string:new Ce}};const je=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const Re=function(t,e){var r=t.__data__;return je(e)?r["string"==typeof e?"string":"hash"]:r.map};const Ne=function(t){var e=Re(this,t).delete(t);return this.size-=e?1:0,e};const Ie=function(t){return Re(this,t).get(t)};const Le=function(t){return Re(this,t).has(t)};const De=function(t,e){var r=Re(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Me(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Me.prototype.clear=Pe,Me.prototype.delete=Ne,Me.prototype.get=Ie,Me.prototype.has=Le,Me.prototype.set=De;const Fe=Me;const Be=function(t,e){var r=this.__data__;if(r instanceof Ft){var n=r.__data__;if(!be||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Fe(n)}return r.set(t,e),this.size=r.size,this};function Ve(t){var e=this.__data__=new Ft(t);this.size=e.size}Ve.prototype.clear=Bt,Ve.prototype.delete=Vt,Ve.prototype.get=Ut,Ve.prototype.has=Wt,Ve.prototype.set=Be;const Ue=Ve;const We=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t};const He=function(){try{var t=me(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const Ye=function(t,e,r){"__proto__"==e&&He?He(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var Ge=Object.prototype.hasOwnProperty;const $e=function(t,e,r){var n=t[e];Ge.call(t,e)&&Pt(n,r)&&(void 0!==r||e in t)||Ye(t,e,r)};const qe=function(t,e,r,n){var i=!r;r||(r={});for(var o=-1,a=e.length;++o<a;){var s=e[o],u=n?n(r[s],t[s],s,r,t):void 0;void 0===u&&(u=t[s]),i?Ye(r,s,u):$e(r,s,u)}return r};const ze=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};const Xe=function(t){return null!=t&&"object"==typeof t};const Qe=function(t){return Xe(t)&&"[object Arguments]"==ee(t)};var Ze=Object.prototype,Je=Ze.hasOwnProperty,Ke=Ze.propertyIsEnumerable;const tr=Qe(function(){return arguments}())?Qe:function(t){return Xe(t)&&Je.call(t,"callee")&&!Ke.call(t,"callee")};const er=Array.isArray;const rr=function(){return!1};var nr="object"==typeof exports&&exports&&!exports.nodeType&&exports,ir=nr&&"object"==typeof module&&module&&!module.nodeType&&module,or=ir&&ir.exports===nr?Gt.Buffer:void 0;const ar=(or?or.isBuffer:void 0)||rr;var sr=/^(?:0|[1-9]\d*)$/;const ur=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&sr.test(t))&&t>-1&&t%1==0&&t<e};const lr=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var cr={};cr["[object Float32Array]"]=cr["[object Float64Array]"]=cr["[object Int8Array]"]=cr["[object Int16Array]"]=cr["[object Int32Array]"]=cr["[object Uint8Array]"]=cr["[object Uint8ClampedArray]"]=cr["[object Uint16Array]"]=cr["[object Uint32Array]"]=!0,cr["[object Arguments]"]=cr["[object Array]"]=cr["[object ArrayBuffer]"]=cr["[object Boolean]"]=cr["[object DataView]"]=cr["[object Date]"]=cr["[object Error]"]=cr["[object Function]"]=cr["[object Map]"]=cr["[object Number]"]=cr["[object Object]"]=cr["[object RegExp]"]=cr["[object Set]"]=cr["[object String]"]=cr["[object WeakMap]"]=!1;const fr=function(t){return Xe(t)&&lr(t.length)&&!!cr[ee(t)]};const dr=function(t){return function(e){return t(e)}};var hr="object"==typeof exports&&exports&&!exports.nodeType&&exports,pr=hr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=pr&&pr.exports===hr&&Ht.process;const yr=function(){try{var t=pr&&pr.require&&pr.require("util").types;return t||gr&&gr.binding&&gr.binding("util")}catch(t){}}();var vr=yr&&yr.isTypedArray;const mr=vr?dr(vr):fr;var br=Object.prototype.hasOwnProperty;const wr=function(t,e){var r=er(t),n=!r&&tr(t),i=!r&&!n&&ar(t),o=!r&&!n&&!i&&mr(t),a=r||n||i||o,s=a?ze(t.length,String):[],u=s.length;for(var l in t)!e&&!br.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ur(l,u))||s.push(l);return s};var _r=Object.prototype;const xr=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||_r)};const Sr=function(t,e){return function(r){return t(e(r))}};const Er=Sr(Object.keys,Object);var Tr=Object.prototype.hasOwnProperty;const kr=function(t){if(!xr(t))return Er(t);var e=[];for(var r in Object(t))Tr.call(t,r)&&"constructor"!=r&&e.push(r);return e};const Or=function(t){return null!=t&&lr(t.length)&&!ne(t)};const Ar=function(t){return Or(t)?wr(t):kr(t)};const Cr=function(t,e){return t&&qe(e,Ar(e),t)};const Pr=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var jr=Object.prototype.hasOwnProperty;const Rr=function(t){if(!re(t))return Pr(t);var e=xr(t),r=[];for(var n in t)("constructor"!=n||!e&&jr.call(t,n))&&r.push(n);return r};const Nr=function(t){return Or(t)?wr(t,!0):Rr(t)};const Ir=function(t,e){return t&&qe(e,Nr(e),t)};var Lr="object"==typeof exports&&exports&&!exports.nodeType&&exports,Dr=Lr&&"object"==typeof module&&module&&!module.nodeType&&module,Mr=Dr&&Dr.exports===Lr?Gt.Buffer:void 0,Fr=Mr?Mr.allocUnsafe:void 0;const Br=function(t,e){if(e)return t.slice();var r=t.length,n=Fr?Fr(r):new t.constructor(r);return t.copy(n),n};const Vr=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};const Ur=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o};const Wr=function(){return[]};var Hr=Object.prototype.propertyIsEnumerable,Yr=Object.getOwnPropertySymbols;const Gr=Yr?function(t){return null==t?[]:(t=Object(t),Ur(Yr(t),(function(e){return Hr.call(t,e)})))}:Wr;const $r=function(t,e){return qe(t,Gr(t),e)};const qr=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t};const zr=Sr(Object.getPrototypeOf,Object);const Xr=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)qr(e,Gr(t)),t=zr(t);return e}:Wr;const Qr=function(t,e){return qe(t,Xr(t),e)};const Zr=function(t,e,r){var n=e(t);return er(t)?n:qr(n,r(t))};const Jr=function(t){return Zr(t,Ar,Gr)};const Kr=function(t){return Zr(t,Nr,Xr)};const tn=me(Gt,"DataView");const en=me(Gt,"Promise");const rn=me(Gt,"Set");const nn=me(Gt,"WeakMap");var on=le(tn),an=le(be),sn=le(en),un=le(rn),ln=le(nn),cn=ee;(tn&&"[object DataView]"!=cn(new tn(new ArrayBuffer(1)))||be&&"[object Map]"!=cn(new be)||en&&"[object Promise]"!=cn(en.resolve())||rn&&"[object Set]"!=cn(new rn)||nn&&"[object WeakMap]"!=cn(new nn))&&(cn=function(t){var e=ee(t),r="[object Object]"==e?t.constructor:void 0,n=r?le(r):"";if(n)switch(n){case on:return"[object DataView]";case an:return"[object Map]";case sn:return"[object Promise]";case un:return"[object Set]";case ln:return"[object WeakMap]"}return e});const fn=cn;var dn=Object.prototype.hasOwnProperty;const hn=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&dn.call(t,"index")&&(r.index=t.index,r.input=t.input),r};const pn=Gt.Uint8Array;const gn=function(t){var e=new t.constructor(t.byteLength);return new pn(e).set(new pn(t)),e};const yn=function(t,e){var r=e?gn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)};var vn=/\w*$/;const mn=function(t){var e=new t.constructor(t.source,vn.exec(t));return e.lastIndex=t.lastIndex,e};var bn=$t?$t.prototype:void 0,wn=bn?bn.valueOf:void 0;const _n=function(t){return wn?Object(wn.call(t)):{}};const xn=function(t,e){var r=e?gn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};const Sn=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return gn(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return yn(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return xn(t,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return mn(t);case"[object Set]":return new n;case"[object Symbol]":return _n(t)}};var En=Object.create;const Tn=function(){function t(){}return function(e){if(!re(e))return{};if(En)return En(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const kn=function(t){return"function"!=typeof t.constructor||xr(t)?{}:Tn(zr(t))};const On=function(t){return Xe(t)&&"[object Map]"==fn(t)};var An=yr&&yr.isMap;const Cn=An?dr(An):On;const Pn=function(t){return Xe(t)&&"[object Set]"==fn(t)};var jn=yr&&yr.isSet;const Rn=jn?dr(jn):Pn;var Nn={};Nn["[object Arguments]"]=Nn["[object Array]"]=Nn["[object ArrayBuffer]"]=Nn["[object DataView]"]=Nn["[object Boolean]"]=Nn["[object Date]"]=Nn["[object Float32Array]"]=Nn["[object Float64Array]"]=Nn["[object Int8Array]"]=Nn["[object Int16Array]"]=Nn["[object Int32Array]"]=Nn["[object Map]"]=Nn["[object Number]"]=Nn["[object Object]"]=Nn["[object RegExp]"]=Nn["[object Set]"]=Nn["[object String]"]=Nn["[object Symbol]"]=Nn["[object Uint8Array]"]=Nn["[object Uint8ClampedArray]"]=Nn["[object Uint16Array]"]=Nn["[object Uint32Array]"]=!0,Nn["[object Error]"]=Nn["[object Function]"]=Nn["[object WeakMap]"]=!1;const In=function t(e,r,n,i,o,a){var s,u=1&r,l=2&r,c=4&r;if(n&&(s=o?n(e,i,o,a):n(e)),void 0!==s)return s;if(!re(e))return e;var f=er(e);if(f){if(s=hn(e),!u)return Vr(e,s)}else{var d=fn(e),h="[object Function]"==d||"[object GeneratorFunction]"==d;if(ar(e))return Br(e,u);if("[object Object]"==d||"[object Arguments]"==d||h&&!o){if(s=l||h?{}:kn(e),!u)return l?Qr(e,Ir(s,e)):$r(e,Cr(s,e))}else{if(!Nn[d])return o?e:{};s=Sn(e,d,u)}}a||(a=new Ue);var p=a.get(e);if(p)return p;a.set(e,s),Rn(e)?e.forEach((function(i){s.add(t(i,r,n,i,e,a))})):Cn(e)&&e.forEach((function(i,o){s.set(o,t(i,r,n,o,e,a))}));var g=f?void 0:(c?l?Kr:Jr:l?Nr:Ar)(e);return We(g||e,(function(i,o){g&&(i=e[o=i]),$e(s,o,t(i,r,n,o,e,a))})),s};const Ln=function(t){return In(t,5)};r(6203),r(65137),r(64043),r(57267),r(52003),r(22462);var Dn=r(30381),Mn=r.n(Dn),Fn=function(t,e){var r=e||Mn().locale();if(null==t)return{precision:"none"};if("string"==typeof t)return{value:t,precision:"nolang",lang:""};if(t.hasOwnProperty(r))return{value:t[r],precision:"exact",lang:r};if(r.indexOf("_")>-1&&t.hasOwnProperty(r.substr(0,2)))return{value:t[r.substr(0,2)],precision:"coarsen",lang:r.substr(0,2)};if(t.hasOwnProperty("en"))return{value:t.en,precision:"default",lang:"en"};if(t.hasOwnProperty(""))return{value:t[""],precision:"nolang",lang:""};var n=Object.keys(t);return n.length>0?{value:t[n[0]],precision:"any",lang:n[0]}:{precision:"none"}},Bn=function(t,e,r){var n=t.find(e,r);if(n.length>0){for(var i={},o=0;o<n.length;o++)i[n[o].getLanguage()||""]=n[o].getValue();return i}};const Vn={getLocalizedValue:Fn,getLocalizedMap:function(t,e,r){var n,i=e,o=r;t.getItem?(n=t.getGraph(),i=t.getValue(),o=t.getItem().getURIValueLabelProperties()):n=t,null!=o&&0!==o.length||(o=Wn.labelProperties);for(var a=0;a<o.length;a++){var s=o[a];if(Array.isArray(s)){for(var u=[],l=0;l<s.length;l++){var c=Bn(n,i,s[l]);c&&u.push(Fn(c).value)}if(u.length>0)return{"":u.join(" ")}}else{var f=Bn(n,i,s);if(f)return f}}},cloneArrayWithLabels:function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=Fn(i.label),a={value:i.value,label:o.value||i.value||""};!0===i.top&&(a.top=!0),null!=i.children&&(a.children=Ln(i.children)),!1===i.selectable?a.selectable=!1:a.selectable=!0,r.push(a)}return!0!==e&&r.sort((function(t,e){return t.label>e.label?1:-1})),r},extractGist:function(t,e){var r=e;if(r){-1===r.indexOf("$1")&&(r+="$1");var n="".concat(r).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),i=new RegExp(n).exec(t);if(null!=i)return i[1]}return t},findFirstValue:function(t,e,r,n){var i=t.findFirstValueBinding(t.match(e,r,n),!1);if(i)return i.getChoice?Fn(i.getChoice().label).value:i.getGist()},generateUUID:function(){var t=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?r:3&r|8).toString(16)}))}};var Un=function(t,e,r,n){if("URI"===t.getNodetype()||"RESOURCE"===t.getNodetype()){var i=Vn.getLocalizedMap(n,e,t.getURIValueLabelProperties());if(!i){var o=e.lastIndexOf("#"),a=e.lastIndexOf("/");i=o>0||a>0?{"":decodeURIComponent(e.substring(1+(o>a?o:a)))}:{"":e}}return{value:e,label:i}}return{value:e,label:e}};const Wn={hasDnDSupport:function(t){return!1},addDnD:function(t,e,r){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(t,e){return!1},openChoiceSelector:function(t,e){alert('This alert is a placeholder for a search dialog that should be provided as part of the integration of RDForms into a wider system.\nSimply override the methods "getChoices" and "openChoiceSelector" in the system module.'),e({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(t,e,r,n){return Un(t,e,0,n)},getFallbackChoice:Un,labelProperties:["http://www.w3.org/2000/01/rdf-schema#label","http://purl.org/dc/terms/title","http://purl.org/dc/elements/1.1/title","http://www.w3.org/2004/02/skos/core#prefLabel","http://xmlns.com/foaf/0.1/name","http://xmlns.com/foaf/name"],createURI:function(t,e){for(var r=e.getChildrenRootUri(),n=r.lastIndexOf("#"),i=-1===n?"".concat(r,"#"):r.substring(0,n+1),o=e.getGraph()._graph;;){var a=i+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==o[a])return a}}},Hn=JSON.parse('{"edit_add":"Add","edit_remove":"Remove","edit_clear":"Clear","edit_browse":"Browse and select","edit_browse_create":"Browse and select or create","edit_expand":"Expand","edit_upgrade":"Provide additional information for this web address","info_label":"Label","info_property":"Property","info_description":"Description","info_missing":"No information","address_label":"Address","validation_min_required_one":"at least one value is required","validation_min_required_more":"a minimum of $1 values is required","validation_min_recommended_one":"at least one value is recommended","validation_min_recommended_more":"a minimum of $1 values is recommended","validation_max_one":"at most one value is allowed","validation_max_more":"a maximum of $1 values are allowed","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_deprecated":"This field is deprecated","validation_nodetype":"Wrong nodetype","validation_value":"Wrong value","validation_datatype":"Wrong datatype","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_time":"Time","date_year":"Year","date_date_and_time":"Date and time","date_year_and_month":"Year and month","date_month_and_day":"Month and day","date_openDatePicker":"Open date picker dialog","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","openLinkExternally":"Open link externally","showMore":"Show more","showLess":"Show less"}');function Yn(t){return(Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Gn,$n,qn,zn,Xn,Qn="body",Zn=[{value:"",label:{en:""}},{value:"bg",label:{en:"Bulgarian",bg:"български"}},{value:"es",label:{en:"Spanish",es:"Español"}},{value:"cs",label:{en:"Czech",cs:"čeština"}},{value:"da",label:{en:"Danish",da:"Dansk"}},{value:"no",label:{en:"Norwegian",no:"Norsk",nb:"Norsk",nn:"Norsk nynorsk"}},{value:"nb",label:{en:"Norwegian (bokmål)",nb:"Norsk bokmål",no:"Norsk bokmål",nn:"Norsk bokmål"}},{value:"nn",label:{en:"Norwegian (nynorsk)",nb:"Norsk nynorsk",no:"Norsk nynorsk",nn:"Norsk nynorsk"}},{value:"de",label:{en:"German",de:"Deutsch"}},{value:"et",label:{en:"Estonian",et:"Eesti keel"}},{value:"el",label:{en:"Greek",el:"ελληνικά"}},{value:"en",label:{en:"English"}},{value:"fr",label:{en:"French",fr:"Français"}},{value:"ga",label:{en:"Irish",ga:"Gaeilge"}},{value:"hr",label:{en:"Croatian",hr:"Hrvatski"}},{value:"it",label:{en:"Italian",it:"Italiano"}},{value:"lv",label:{en:"Latvian",lv:"Latviešu valoda"}},{value:"lt",label:{en:"Lithuanian",lt:"Lietuvių kalba"}},{value:"hu",label:{en:"Hungarian",hu:"Magyar"}},{value:"mt",label:{en:"Maltese",mt:"Malti"}},{value:"nl",label:{en:"Dutch",nl:"Nederlands"}},{value:"pl",label:{en:"Polish",pl:"Polski"}},{value:"pt",label:{en:"Portuguese",pt:"Português"}},{value:"ro",label:{en:"Romanian",ro:"Română"}},{value:"sk",label:{en:"Slovak",sk:"Slovenčina"}},{value:"sl",label:{en:"Slovenian",sl:"Slovenščina"}},{value:"fi",label:{en:"Finnish",fi:"Suomi"}},{value:"sv",label:{en:"Swedish",sv:"Svenska"}}],Jn={domQuery:function(){},domCreate:function(){},domCreateAfter:function(){},domClassToggle:function(){},domSetAttr:function(){},domText:function(){},createDomNode:function(t){return t instanceof Node?t:"string"==typeof t?document.getElementById(t):document.createElement("div")},destroyDomNode:function(){},presenterRegistry:new At,editorRegistry:new At,chooserRegistry:new At,renderPresenter:function(t,e,r){var n=Jn.presenterRegistry.getComponent(e.getItem());n&&(Jn.prePresenterRenderer(t,e,r),n(t,e,r),Jn.postPresenterRenderer(t,e,r))},renderEditor:function(t,e,r){var n=Jn.editorRegistry.getComponent(e.getItem());n&&(Jn.preEditorRenderer(t,e,r),n(t,e,r),Jn.postEditorRenderer(t,e,r))},renderValidationMessage:function(t,e,r){},renderSelect:function(){},getChoice:function(t,e){var r=Jn.chooserRegistry.getComponent(t);if(null==r)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(t.getId()));return r.getChoice(t,e)},hasOpenChoiceSelector:function(t){return null!=Jn.chooserRegistry.getComponent(t.getItem())},openChoiceSelector:function(t,e,r){var n=Jn.chooserRegistry.getComponent(t.getItem());if(null!=n&&n&&n.getChoice)n.show(t,e,r);else{var i=t.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(i))}},getExtLinkClass:function(){return""},setMessages:function(t){Gn=t},getMessages:function(){return Gn||Hn},getLanguageList:function(){return $n||Zn},getPrimaryLanguageList:function(){if(!zn){for(var t,e=Jn.getLanguageList(),r=qn||[],n=[],i=0;i<e.length;i++){var o=e[i].value,a=r.indexOf(o);""===o&&(t=e[i]),-1!==a&&(n[a]=e[i])}zn=[];for(var s=0;s<n.length;s++)"object"===Yn(n[s])&&zn.push(n[s]);zn.length>0&&t&&zn.splice(0,0,t)}return zn},getNonPrimaryLanguageList:function(){if(!Xn){var t=Jn.getPrimaryLanguageList().length>0,e=Jn.getLanguageList(),r=qn||[];Xn=[];for(var n=0;n<e.length;n++){var i=e[n].value;-1===r.indexOf(i)&&(t&&""===i||Xn.push(e[n]))}}return Xn},setPrimaryLanguageCodes:function(t){Xn=null,zn=null,qn=t},setLanguageList:function(t){$n=t},filterTranslations:function(t,e,r){for(var n={},i=0;i<t.length;i++){var o=t[i].getLanguage();""===o||null==o?n.noLanguage=!0:o===e?n.best=!0:-1!==o.indexOf(e)||-1!==e.indexOf(o)?n.close=!0:0===o.indexOf(r)&&(n.defaultLanguage=!0)}return n.best?t.filter((function(t){return t.getLanguage()===e})):n.close?t.filter((function(t){var r=t.getLanguage();return r&&(-1!==r.indexOf(e)||-1!==e.indexOf(r))})):n.defaultLanguage?t.filter((function(t){var e=t.getLanguage();return e&&0===e.indexOf(r)})):t},setPopoverContainer:function(t){Qn=t},getPopoverContainer:function(){return Qn},preEditorViewRenderer:function(t,e){},prePresenterViewRenderer:function(t,e){},preEditorRenderer:function(){},postEditorRenderer:function(){},prePresenterRenderer:function(){},postPresenterRenderer:function(){},renderEditorLabel:function(){},renderEditorLabelScopeEnd:function(){},renderPresenterLabel:function(){},attachItemInfo:function(){},addCreateChildButton:function(){},addGroupButtons:function(){},addExpandButton:function(){},addRemoveButton:function(){},addPresenterTable:function(){},fillPresenterTable:function(){},addEditorTable:function(){},fillEditorTable:function(){},addTruncateControl:function(){}};Wn.getChoice=Jn.getChoice;var Kn=function(t,e,r){new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,binding:e,topLevel:!1,compact:r.view.compact,showLanguage:r.view.showLanguage,showDescription:r.view.showDescription,defaultLanguage:r.view.defaultLanguage,filterTranslations:r.view.filterTranslations,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t)};Jn.presenterRegistry.itemtype("group").register(Kn),Jn.presenterRegistry.itemtype("propertygroup").register(Kn);var ti=function(t,e,r){var n=new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,languages:r.view.languages,binding:e,topLevel:!1,compact:r.view.compact,showDescription:r.view.showDescription,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t);r.view._subEditors.push(n)};Jn.editorRegistry.itemtype("group").register(ti),Jn.editorRegistry.itemtype("propertygroup").register(ti);const ei=Jn;var ri=r(19755),ni=r.n(ri);r(34338),r(88052),r(32349),r(81919),r(30050),r(77049),r(34284);function ii(t){return(ii="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ai(n.key),n)}}function ai(t){var e=function(t,e){if("object"!=ii(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ii(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ii(e)?e:String(e)}var si=0,ui=function(){function t(e){var r=e.item,n=e.statement,i=e.graph,o=e.matchingCode;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._item=r,this._statement=n,this._graph=i,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(si),this._matchingCode=o||"correct",si+=1}var e,r,n;return e=t,(r=[{key:"getGraph",value:function(){return this._graph||(this._statement?this._graph=this._statement.getGraph():this._parent&&(this._graph=this._parent.getGraph())),this._graph}},{key:"isReadOnly",value:function(){if(!("_readOnly"in this)){var t=this.getParent();t&&t._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(t){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(t,e){}},{key:"getGist",value:function(){return Vn.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(t,e){var r=t,n=this.getItem().getValueTemplate();n&&r.length>0&&(-1===n.indexOf("$1")&&(n+="$1"),r=n.replace("$1",r)),this.setValue(r,e)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(t){this._cardinalityTracker=t}},{key:"getItem",value:function(){return this._item}},{key:"getStatement",value:function(){return this._statement}},{key:"getParent",value:function(){return this._parent}},{key:"setParent",value:function(t){this._parent=t}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(t){this._matchingCode=t}},{key:"setAncestorValid",value:function(t){this._ancestorValid=t,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(t){this._listeners||(this._listeners=[]),this._listeners.push(t)}},{key:"removeListener",value:function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}}},{key:"bindingChange",value:function(t){if(this._listeners)for(var e=0;e<this._listeners.length;e++)this._listeners[e](t);this._parent&&this._parent.bindingChange(t),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(t){var e=t;if("string"!=typeof e&&null!==e)throw new Error("In a binding every object value need to be a string!");var r=this._item.getPattern();return r?null!=(e=Vn.extractGist(e,this.getItem().getValueTemplate()))&&""!==e&&new RegExp("^".concat(r,"$")).test(e):null!=e&&""!==e}},{key:"_isValidPredicateValue",value:function(t){if("string"!=typeof t&&null!==t)throw new Error("In a binding every predicate need to be a string!");return null!=t&&""!==t}}])&&oi(e.prototype,r),n&&oi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();const li={UNKNOWN:"unknown",OK:"correct",TOO_FEW_VALUES:"few",TOO_FEW_VALUES_MIN:"min",TOO_FEW_VALUES_PREF:"pref",TOO_MANY_VALUES:"many",AT_MOST_ONE_CHILD:"atmostonechild",AT_LEAST_ONE_CHILD:"atleastonechild",EXACTLY_ONE_CHILD:"exactlyonechild",WRONG_VALUE:"value",WRONG_PATTERN:"pattern",WRONG_NODETYPE:"nodetype",WRONG_DATATYPE:"datatype",MISSING_LANGUAGE:"language",MISSING_CONSTRAINTS:"constraints"};function ci(t){return(ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,di(n.key),n)}}function di(t){var e=function(t,e){if("object"!=ci(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ci(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ci(e)?e:String(e)}var hi=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._listener=[],this._limits=e.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var e,r,n;return e=t,(r=[{key:"addListener",value:function(t){return this._listeners.push(t),t}},{key:"removeListener",value:function(t){this._listeners.splice(this._listeners.indexOf(t),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(t){return t()}))}},{key:"getCardinality",value:function(){return this._counter}},{key:"isMax",value:function(){return null!=this._limits.max&&this._counter>=this._limits.max}},{key:"isMin",value:function(){return null!=this._limits.min&&this._counter<=this._limits.min}},{key:"isFine",value:function(){return this._fine}},{key:"isDepsOk",value:function(){return this._depsOk}},{key:"getCode",value:function(){return this._code}},{key:"setCode",value:function(t){this._code!==t&&(this._code=t,this.cardinalityChanged())}},{key:"setDepsOk",value:function(t){this._depsOk!==t&&(this._code=li.UNKNOWN,this._depsOk=t,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=li.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=li.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=li.UNKNOWN,this.cardinalityChanged()}},{key:"_checkCounter",value:function(){null!=this._limits.max&&this._counter===this._limits.max?this._fine=!0:null!=this._limits.max&&this._counter>this._limits.max?this._fine=!1:null!=this._limits.min&&this._counter===this._limits.min?this._fine=!0:null!=this._limits.min&&this._counter<this._limits.min&&(this._fine=!1),this.cardinalityChanged()}}])&&fi(e.prototype,r),n&&fi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function pi(t){return(pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function gi(t){return function(t){if(Array.isArray(t))return yi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return yi(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yi(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function vi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mi(n.key),n)}}function mi(t){var e=function(t,e){if("object"!=pi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pi(e)?e:String(e)}function bi(t,e,r){return e=xi(e),function(t,e){if(e&&("object"===pi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],xi(t).constructor):e.apply(t,r))}function wi(){return(wi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=_i(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function _i(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=xi(t)););return t}function xi(t){return(xi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Si(t,e){return(Si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Ei=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=bi(this,e,[t]);var n=t.constraints,i=void 0===n?[]:n,o=t.childrenRootUri,a=void 0===o?null:o;return r._constraints=i,r._childBindings=r._item.getChildren().map((function(){return[]})),r._rootUri=a,r._validPredicate=!0,r._validObject=!0,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate()),r._validObject=r._isValidObjectValue(r._statement.getValue(),r._statement.getType())),r._cachedChildBindings=null,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Si(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"oneChildValidityChanged",value:function(t){return t!==this._oneValidChild&&!(!t&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=t,this._notifyValidityChange(t&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(t){this._statement?this._statement.setSubject(t):this.getChildBindings().forEach((function(e){return e.setSubject(t)}))}},{key:"getChildrenRootUri",value:function(){return this._statement?this._statement.getValue():null!=this._rootUri?this._rootUri:null!=this._parent?this._parent.getChildrenRootUri():void 0}},{key:"addChildBinding",value:function(t){this.addChildBindings([t])}},{key:"addChildBindings",value:function(t){var e=this;if(this._cachedChildBindings=null,Array.isArray(t)&&0!==t.length)for(var r=t[0].getItem(),n=this._item.getChildren(),i=function(){if(r===n[o]){var i=e._childBindings[o].length>0?e._childBindings[o][0].getCardinalityTracker():new hi(r);return e._childBindings[o]=e._childBindings[o].concat(t),t.forEach((function(t){t.setParent(e),t.setCardinalityTracker(i),i.increment()}),e),1}},o=n.length;o>=0&&!i();o--);}},{key:"removeChildBinding",value:function(t){this._cachedChildBindings=null;for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t.getItem()===e[r]){this._childBindings[r].splice(this._childBindings[r].indexOf(t),1),delete t._parent,t.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(t)}},{key:"getChildBindingsFor",value:function(t){for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t===e[r])return this._childBindings[r]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var t;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(t=[]).concat.apply(t,gi(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"setValue",value:function(t){if("URI"!==this.getItem().getNodetype()||!this._statement)throw new Error("Cannot change the value of a group unless its nodetype is URI and also that it corresponds to a statement");var e=this._validObject;this._isValidObjectValue(t,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(t),this._constraints.forEach((function(e){return e.setSubject(t)})),this.getChildBindings().forEach((function(e){return e.setSubject(t)})),!e&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,e&&this._validPredicate&&this._notifyValidityChange(!1))}},{key:"getPredicate",value:function(){return this._statement?this._statement.getPredicate():void 0}},{key:"remove",value:function(){this._oneValidChild=!1,this.setAncestorValid(!1),null!=this._parent&&this._parent.removeChildBinding(this),wi(xi(e.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(t){var e=this;this._ancestorValid=t,this.updateAssertions(),this._childBindings.forEach((function(r){return r.forEach((function(r){return r.setAncestorValid(t&&e._isValid())}),e)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var t=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(t),this._constraints.forEach((function(e){return e.setAsserted(t)})),this.getChildBindings().forEach((function(t){return t.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(t){return t.some((function(t){return t.isValid()}))}))}},{key:"_notifyValidityChange",value:function(t){this._parent&&this._parent.oneChildValidityChanged(t)||(this.updateAssertions(),this._childBindings.forEach((function(e){return e.forEach((function(e){return e.setAncestorValid(t)}))})))}},{key:"_isValidObjectValue",value:function(t,r){return("URI"!==this.getItem().getNodetype()||"uri"===r)&&wi(xi(e.prototype),"_isValidObjectValue",this).call(this,t)}}])&&vi(r.prototype,n),i&&vi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(ui);function Ti(t){return(Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ki(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Oi(n.key),n)}}function Oi(t){var e=function(t,e){if("object"!=Ti(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ti(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ti(e)?e:String(e)}var Ai=0,Ci=function(t,e,r){null==r||""===r||Array.isArray(r)&&0===r.length?delete t[e]:t[e]=r},Pi=function(){function t(e){var r=e.source,n=void 0===r?{}:r,i=e.bundle,o=e.itemStore;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=o,this._source=n,this._bundle=i,Ai+=1,this._internalId=Ai,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","horizontalCheckBoxes","verticalCheckBoxes","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","relaxedDatatypeMatch","viewAllTranslations","filterTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","showDescriptionInPresent","showDescriptionInEdit","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated","inline","truncate","noTruncate","card","cardInPresent","cardInEdit"],this._getLocalizedValue=Vn.getLocalizedValue}var e,r,n;return e=t,(r=[{key:"getId",value:function(){var t=this.getSource(!0);return t.id||t["@id"]}},{key:"setId",value:function(t){Ci(this.getSource(!0),"id",t),delete s["@id"]}},{key:"getType",value:function(t){var e=this.getSource(t);return e.type||e["@type"]}},{key:"setType",value:function(t){Ci(this.getSource(!0),"type",t),delete s["@type"],this.refreshExtends()}},{key:"getExtends",value:function(){return this.getSource(!0).extends||""}},{key:"refreshExtends",value:function(){this.isExtention&&this.setExtends(this.getExtends())}},{key:"setExtends",value:function(t){var e=this.getSource(!0),r=this._itemStore.getItem(t);this._source=null==r?e:this._itemStore.createExtendedSource(r.getSource(),e),""===t||null==t?delete e.extends:e.extends=t}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(t,e,r){var n=this.getSource(r);return e?Vn.getLocalizedValue(n[t]):Vn.getLocalizedValue(n[t]).value}},{key:"_setText",value:function(t,e,r){var n=this.getSource(!0);n[t]=this._setLangHash(n[t],e,r),this.refreshExtends()}},{key:"_setTextMap",value:function(t,e){Ci(this.getSource(!0),t,e),this.refreshExtends()}},{key:"getLabel",value:function(t,e){return this._getText("label",t,e)}},{key:"setLabel",value:function(t,e){this._setText("label",t,e)}},{key:"getLabelMap",value:function(t){return this.getSource(t).label}},{key:"setLabelMap",value:function(t){this._setTextMap("label",t)}},{key:"getEditLabel",value:function(t,e){return this._getText("editlabel",t,e)}},{key:"setEditLabel",value:function(t,e){this._setText("editlabel",t,e)}},{key:"getEditLabelMap",value:function(t){return this.getSource(t).editlabel}},{key:"setEditLabelMap",value:function(t){this._setTextMap("editlabel",t)}},{key:"getDescription",value:function(t,e){return this._getText("description",t,e)}},{key:"setDescription",value:function(t,e){this._setText("description",t,e)}},{key:"getDescriptionMap",value:function(t){return this.getSource(t).description}},{key:"setDescriptionMap",value:function(t){this._setTextMap("description",t)}},{key:"getEditDescription",value:function(t,e){return this._getText("editdescription",t,e)}},{key:"setEditDescription",value:function(t,e){this._setText("editdescription",t,e)}},{key:"getEditDescriptionMap",value:function(t){return this.getSource(t).editdescription}},{key:"setEditDescriptionMap",value:function(t){this._setTextMap("editdescription",t)}},{key:"getHelp",value:function(t,e){return this._getText("help",t,e)}},{key:"setHelp",value:function(t,e){this._setText("help",t,e)}},{key:"getHelpMap",value:function(t){return this.getSource(t).help}},{key:"setHelpMap",value:function(t){this._setTextMap("help",t)}},{key:"getPlaceholder",value:function(t,e){return this._getText("placeholder",t,e)}},{key:"setPlaceholder",value:function(t,e){this._setText("placeholder",t,e)}},{key:"getPlaceholderMap",value:function(t){return this.getSource(t).placeholder}},{key:"setPlaceholderMap",value:function(t){this._setTextMap("placeholder",t)}},{key:"getPurpose",value:function(t,e){return this._getText("purpose",t,e)}},{key:"setPurpose",value:function(t,e){this._setText("purpose",t,e)}},{key:"getPurposeMap",value:function(t){return this.getSource(t).purpose}},{key:"setPurposeMap",value:function(t){this._setTextMap("purpose",t)}},{key:"getSpecification",value:function(t,e){return this._getText("specification",t,e)}},{key:"setSpecification",value:function(t,e){this._setText("specification",t,e)}},{key:"getSpecificationMap",value:function(t){return this.getSource(t).specification}},{key:"setSpecificationMap",value:function(t){this._setTextMap("specification",t)}},{key:"getText",value:function(t,e,r){var n=this.getSource(r).text||{};return e?Vn.getLocalizedValue(n[t]):Vn.getLocalizedValue(n[t]).value}},{key:"setText",value:function(t,e,r){var n=this.getSource(!0),i=n.text=n.text||{};i[t]=this._setLangHash(i[t],e,r),this.refreshExtends()}},{key:"setTextMap",value:function(t,e){var r=this.getSource(!0),n=r.text=r.text||{};Ci(n,t,e),this.refreshExtends()}},{key:"getEnhanced",value:function(t){var e=this.getSource(!0);return"boolean"==typeof e.enhanced?e.enhanced:e.enhanced&&e.enhanced[t]||!1}},{key:"setEnhanced",value:function(t,e){var r=this.getSource(!0);"boolean"==typeof t?!0===t?r.enhanced=!0:delete r.enhanced:(r.enhanced="boolean"==typeof r.enhanced?{}:r.enhanced||{},e?r.enhanced[t]=!0:(delete r.enhanced[t],0===Object.keys(r).length&&delete r.enhanced)),this.setExtends(this.getExtends())}},{key:"getProperty",value:function(t){var e=null,r=this.getSource(t);return r&&null!=(e=r.property)&&""!==e&&(e=c(e)),e}},{key:"setProperty",value:function(t){Ci(this.getSource(!0),"property",t),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(t){var e=this.getSource(t).uriValueLabelProperties;return null!=e?e.map((function(t){return c(t)})):e}},{key:"setURIValueLabelProperties",value:function(t){Ci(this.getSource(!0),"uriValueLabelProperties",t),this.refreshExtends()}},{key:"getConstraints",value:function(t){var e=this.getSource(t).constraints;if(null!=e){var r={};return Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),r}return e}},{key:"setConstraints",value:function(t){Ci(this.getSource(!0),"constraints",t),this.refreshExtends()}},{key:"getDeps",value:function(t){var e=this.getSource(t).deps;return null!=e?e.map((function(t){return"*"!==t&&".."!==t?c(t):t})):e}},{key:"setDeps",value:function(t){Ci(this.getSource(!0),"deps",t),this.refreshExtends()}},{key:"getDatatype",value:function(t){var e=this.getSource(t).datatype;return null!=e&&""!==e?Array.isArray(e)?e.map((function(t){return c(t)})):c(e):e}},{key:"setDatatype",value:function(t){Ci(this.getSource(!0),"datatype",t),this.refreshExtends()}},{key:"getPattern",value:function(t){return this.getSource(t).pattern}},{key:"setPattern",value:function(t){Ci(this.getSource(!0),"pattern",t),this.refreshExtends()}},{key:"getLanguage",value:function(t){return this.getSource(t).language}},{key:"setLanguage",value:function(t){Ci(this.getSource(!0),"language",t),this.refreshExtends()}},{key:"getMember",value:function(t){return this.getSource(t).member}},{key:"setMember",value:function(t){Ci(this.getSource(!0),"member",t),this.refreshExtends()}},{key:"getNodetype",value:function(t){var e=this.getSource(t);return e.nodetype||e.nodeType}},{key:"setNodetype",value:function(t){Ci(this.getSource(!0),"nodetype",t),this.refreshExtends()}},{key:"getValue",value:function(t){return this.getSource(t).value}},{key:"setValue",value:function(t){Ci(this.getSource(!0),"value",t),this.refreshExtends()}},{key:"getValueTemplate",value:function(t){return this.getSource(t).valueTemplate}},{key:"setValueTemplate",value:function(t){Ci(this.getSource(!0),"valueTemplate",t),this.refreshExtends()}},{key:"getCardinality",value:function(t){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var e=this.getSource(t);return e&&"cardinality"in e?e.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(t){Ci(this.getSource(!0),"cardinality",t),this.refreshExtends()}},{key:"isEnabled",value:function(t){var e=this.getSource(t);return null==e.enabled||e.enabled}},{key:"setEnabled",value:function(t){var e=this.getSource(!0);t?delete e.enabled:e.enabled=t,this.refreshExtends()}},{key:"getClasses",value:function(t){var e=this.getSource(t);return e&&"cls"in e?e.cls:[]}},{key:"setClasses",value:function(t){Ci(this.getSource(!0),"cls",t),this.refreshExtends()}},{key:"hasClass",value:function(t,e){var r=this.getSource(e);return!!this.hasStyle(t,e)||null!=r.cls&&r.cls.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(t){return this.getSource(t).styles||[]}},{key:"setStyles",value:function(t){Ci(this.getSource(!0),"styles",t),this.refreshExtends()}},{key:"hasStyle",value:function(t,e){var r=this.getSource(e);return!(!r||!("styles"in r))&&r.styles.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getSource",value:function(t,e){if(!0===t)return this._source._extendedSource||this._source;if(!1===t){var r=this._itemStore.getItem(this.getExtends());return null==r?this._source:r.getSource()}return this._source}},{key:"getBundle",value:function(){return this._bundle}},{key:"toStringShort",value:function(){return"'".concat(this.getLabel(),"'").concat(this.getId()?" (ID: '".concat(this.getId(),"')"):"")}},{key:"toString",value:function(){var t=[];return this.getId()&&t.push("ID: '".concat(this.getId(),"'")),t.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&t.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&t.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(t.join(", "),")")}},{key:"_setLangHash",value:function(t,e,r){var n=t||{};if("string"==typeof e)"string"==typeof r?n[r]=e:n[""]=e;else if("object"===Ti(e)&&null!==e)return e;return n}}])&&ki(e.prototype,r),n&&ki(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function ji(t){return(ji="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ri(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ni(n.key),n)}}function Ni(t){var e=function(t,e){if("object"!=ji(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ji(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ji(e)?e:String(e)}function Ii(t,e,r){return e=Mi(e),function(t,e){if(e&&("object"===ji(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Mi(t).constructor):e.apply(t,r))}function Li(){return(Li="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Di(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Di(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Mi(t)););return t}function Mi(t){return(Mi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fi(t,e){return(Fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Bi=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Ii(this,e,[t]))._children=t.children,null!=r._source.content&&(r._source.items=r._source.content,delete r._source.content),r._forceChildrenClones=!1,r._parent=null,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Fi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){var e,r=t&&this.isExtention(),n=r?this._ochildren:this._children;return null==n&&(n=this._itemStore.getChildren(this,r),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((e=n).forEach((function(t){t.__label=(t.getLabel()||"").toLowerCase()})),e.sort((function(t,e){return null!=t._source.priority?null!=e._source.priority?t._source.priority>e._source.priority?-1:t._source.priority<e._source.priority?1:0:t._source.priority>0?-1:1:null!=e._source.priority?e._source.priority>0?1:-1:t.__label>e.__label?1:t.__label<e.__label?-1:0}))),this["_".concat(r?"o":"","children")]=n),n}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(t){Li(Mi(e.prototype),"setExtends",this).call(this,t),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return Li(Mi(e.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&Ri(r.prototype,n),i&&Ri(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Pi);function Vi(t){return(Vi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Hi(n.key),n)}}function Hi(t){var e=function(t,e){if("object"!=Vi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Vi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Vi(e)?e:String(e)}function Yi(t,e,r){return e=qi(e),function(t,e){if(e&&("object"===Vi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],qi(t).constructor):e.apply(t,r))}function Gi(){return(Gi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=$i(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function $i(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=qi(t)););return t}function qi(t){return(qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function zi(t,e){return(zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Xi=function(t){function e(){return Ui(this,e),Yi(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&zi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){if(null==this._delegatedChildren){var r=function(){return{min:1,max:1,pref:1}},n=Gi(qi(e.prototype),"getChildren",this).call(this,t)||[];this._delegatedChildren=n.map((function(t){var e=Object.create(t);return e.getCardinality=r,e}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&Wi(r.prototype,n),i&&Wi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Bi);function Qi(t){return(Qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ji(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ki(n.key),n)}}function Ki(t){var e=function(t,e){if("object"!=Qi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Qi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Qi(e)?e:String(e)}function to(t,e,r){return e=eo(e),function(t,e){if(e&&("object"===Qi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],eo(t).constructor):e.apply(t,r))}function eo(t){return(eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ro(t,e){return(ro=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var no=function(t){function e(){return Zi(this,e),to(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ro(t,e)}(e,t),r=e,(n=[{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties}}])&&Ji(r.prototype,n),i&&Ji(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Pi);function io(t){return(io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ao(n.key),n)}}function ao(t){var e=function(t,e){if("object"!=io(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=io(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==io(e)?e:String(e)}function so(t,e,r){return e=co(e),function(t,e){if(e&&("object"===io(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],co(t).constructor):e.apply(t,r))}function uo(){return(uo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=lo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function lo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=co(t)););return t}function co(t){return(co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fo(t,e){return(fo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ho=function(t){null!=t&&t.forEach((function(t){t.value=c(t.value)}))},po=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=so(this,e,[t]))._ontologyStore=t.ontologyStore,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&fo(t,e)}(e,t),r=e,(n=[{key:"getChoices",value:function(t){return this.getStaticChoices(t)||this.getDynamicChoices(t)||[]}},{key:"hasChoices",value:function(t){var e=this.getSource(t);return null!=e.ontologyUrl||null!=e.choices}},{key:"hasStaticChoices",value:function(t){return null!=this.getSource(t).choices}},{key:"getStaticChoices",value:function(t){var e=this.getSource(t);if(e.choices){var r=-1===this.getNodetype().indexOf("LITERAL");t&&this.isExtention()?this._origStaticIsSorted||(r&&ho(e.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(r&&ho(e.choices),this._staticIsSorted=!0)}return e.choices}},{key:"setStaticChoices",value:function(t){var e=this.getSource(!0);e.choices!==t&&(null!=t&&(this._origStaticIsSorted=!0),e.choices=t,this.refreshExtends())}},{key:"setExtends",value:function(t){uo(co(e.prototype),"setExtends",this).call(this,t),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(t){var e=this;if(null==this._dynamicChoices){if(null==t)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(r){e._dynamicChoices=r,null==e._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(e.getLabel())),console.log("OntologyUrl is: ".concat(e._source.ontologyUrl))),t(e._dynamicChoices)}))}else{if(null==t)return this._dynamicChoices;t(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(t){var e=this.getSource(t).ontologyUrl;return null!=e&&""!==e?c(e):e}},{key:"setOntologyUrl",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.ontologyUrl:e.ontologyUrl=t,this.refreshExtends()}},{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(t){var e=this.getSource(t).parentProperty;return null!=e&&""!==e?c(e):e}},{key:"setParentProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.parentProperty:e.parentProperty=t,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(t){var e=this.getSource(t).hierarchyProperty;return null!=e&&""!==e?c(e):e}},{key:"setHierarchyProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.hierarchyProperty:e.hierarchyProperty=t,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(t){return!0===this.getSource(t).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(t){var e=this.getSource(!0);!0===t?e.isParentPropertyInverted=!0:delete e.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(t){return!0===this.getSource(t).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(t){var e=this.getSource(!0);t?e.isHierarchyPropertyInverted=!0:delete e.isHierarchyPropertyInverted,this.refreshExtends()}}])&&oo(r.prototype,n),i&&oo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Pi);r(28436);function go(t){return(go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,vo(n.key),n)}}function vo(t){var e=function(t,e){if("object"!=go(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=go(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==go(e)?e:String(e)}function mo(t,e,r){return e=_o(e),function(t,e){if(e&&("object"===go(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],_o(t).constructor):e.apply(t,r))}function bo(){return(bo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=wo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function wo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_o(t)););return t}function _o(t){return(_o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xo(t,e){return(xo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var So=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=mo(this,e,[t]))._validObject=!0,r._validPredicate=!0,r._excludeFromTreeValidityCheck=!1,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate(),!0),r._validObject=r._isValidObjectValue(r._statement.getValue())),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xo(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(t,e){var r="string"==typeof t?t.trim():t,n=this._validObject;this._isValidObjectValue(r)?(this._statement.setValue(r,e),this._validObject=!0,!0===n||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==r&&null!==r||this._statement.setValue("",e),this._validObject=!1,!1!==n&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(t){this._statement.setSubject(t)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(t,e){this._statement.setLanguage(t,e),e||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(t){this._statement.setDatatype(c(t)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(t){this._excludeFromTreeValidityCheck=t}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),bo(_o(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var t=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(t,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&yo(r.prototype,n),i&&yo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(ui);function Eo(t){return(Eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function To(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ko(n.key),n)}}function ko(t){var e=function(t,e){if("object"!=Eo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Eo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Eo(e)?e:String(e)}function Oo(t,e,r){return e=Po(e),function(t,e){if(e&&("object"===Eo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Po(t).constructor):e.apply(t,r))}function Ao(){return(Ao="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Co(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Co(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Po(t)););return t}function Po(t){return(Po=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jo(t,e){return(jo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Ro="http://www.w3.org/2000/01/rdf-schema#label",No="http://www.w3.org/2000/01/rdf-schema#seeAlso",Io=function(t){function e(t){var r,n=t.choice,i=t.item,o=t.statement,a=t.matchingCode;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Oo(this,e,[{choice:n,item:i,statement:o,matchingCode:a}]))._choice=n,r._validPredicate=null!=i.getProperty(),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&jo(t,e)}(e,t),r=e,i=[{key:"seeAlso",get:function(){return No}}],(n=[{key:"setChoice",value:function(t,e){this._choice=t,null==t?this.setValue(null,null,e):this.getValue()!==t.value&&this.setValue(t.value,t,e),t&&t.mismatch?this.setMatchingCode(li.WRONG_VALUE):t&&t.mismatch||this.getMatchingCode()!==li.WRONG_VALUE||this.setMatchingCode(li.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(t,r,n){var i=this.getValue();Ao(Po(e.prototype),"setValue",this).call(this,t,r,n);var o=this._statement.getGraph();if(o.findAndRemove(i,Ro,void 0,n),o.findAndRemove(i,No,void 0,n),null!=t&&null!=r&&(r.seeAlso&&r.inlineSeeAlso&&o.create(t,No,r.seeAlso,!0,n),!0===r.inlineLabel)){var a=r.label||{};Object.keys(a).forEach((function(e){return o.create(t,Ro,{value:a[e],lang:e,type:"literal"},!0,n)}))}}}])&&To(r.prototype,n),i&&To(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(So);function Lo(t){return(Lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Do(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mo(n.key),n)}}function Mo(t){var e=function(t,e){if("object"!=Lo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Lo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Lo(e)?e:String(e)}function Fo(t,e,r){return e=Bo(e),function(t,e){if(e&&("object"===Lo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Bo(t).constructor):e.apply(t,r))}function Bo(t){return(Bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vo(t,e){return(Vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Uo=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Fo(this,e,[t]))._objectBinding=t.objectBinding,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Vo(t,e)}(e,t),r=e,(n=[{key:"remove",value:function(){}},{key:"setValue",value:function(t){this._objectBinding.setPredicate(t)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&Do(r.prototype,n),i&&Do(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Io);function Wo(t){return(Wo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ho(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Yo(n.key),n)}}function Yo(t){var e=function(t,e){if("object"!=Wo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Wo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Wo(e)?e:String(e)}function Go(t,e,r){return e=$o(e),function(t,e){if(e&&("object"===Wo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],$o(t).constructor):e.apply(t,r))}function $o(t){return($o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qo(t,e){return(qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var zo=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=Go(this,e,[t]);var n=t.statement,i=t.constraints;r._statement=void 0,r._validPredicate=!0,r._constraints=[];var o,a=r._item.getChildren(),s=a[1];o=s instanceof Bi?new Ei({item:s,statement:n,constraints:i}):s instanceof po?new Io({item:s,statement:n}):new So({item:s,statement:n});var u=new Uo({item:a[0],objectBinding:o});return r.addChildBinding(u),r.addChildBinding(o),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qo(t,e)}(e,t),r=e,(n=[{key:"getPredicateBinding",value:function(){return this._childBindings[0][0]}},{key:"getObjectBinding",value:function(){return this._childBindings[1][0]}},{key:"getGraph",value:function(){return this.getObjectBinding().getGraph()}}])&&Ho(r.prototype,n),i&&Ho(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ei);function Xo(t){return(Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Jo(n.key),n)}}function Jo(t){var e=function(t,e){if("object"!=Xo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xo(e)?e:String(e)}function Ko(t,e,r){return e=ra(e),function(t,e){if(e&&("object"===Xo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ra(t).constructor):e.apply(t,r))}function ta(){return(ta="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=ea(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function ea(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ra(t)););return t}function ra(t){return(ra=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function na(t,e){return(na=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ia,oa,aa,sa,ua,la=function(t){function e(){return Qo(this,e),Ko(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&na(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(t){return this._parent.setValue(t)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(t,e){return this._parent.setGist(t,e)}},{key:"setSubject",value:function(t){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),ta(ra(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&Zo(r.prototype,n),i&&Zo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(So);function ca(t){return(ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var fa,da,ha,pa,ga,ya,va=!1,ma=function(t,e,r){var n=new Ei({item:r,childrenRootUri:e,graph:t});return ia(n),oa(n),n},ba=function(t,e,r){var n=new Ei({item:r,childrenRootUri:e,graph:t});return ia(n),va=!0,ia(n),va=!1,oa(n),n},wa=function(t,e,r,n){var i=t.findProperties(e),o=[],a={};if(null!=n){var s=function(t){null!=t&&(!function t(e){null!=e.getProperty()?a[e.getProperty()]=!0:e instanceof Bi&&e.getChildren().forEach(t)}(t),o.push(t))};n.forEach((function(t){var e=r.getItem(t);null!=e?e instanceof Bi&&null==e.getProperty()?e.getChildren().forEach(s):s(e):(e=r.getItemByProperty(t))?s(e):console.warn("Warning, when autodetecting a template: Required item '".concat(t,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return i.forEach((function(t){if(!a[t]){var e=r.getItemByProperty(t);null!=e&&o.push(e)}}),void 0),r.createTemplateFromChildren(o)},_a=function(t){return Array.isArray(t.getDatatype())?t.getDatatype()[0]:t.getDatatype()},xa=function(t,e){var r,n,i=e.getChildren()[1],o=t.getGraph();i instanceof Bi?(r=o.create(t.getChildrenRootUri(),"",null,!1),n=ua(o,r.getSubject(),i)):r=i instanceof po?o.create(t.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(t.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new zo({item:e,statement:r,constraints:n});return t.addChildBinding(a),i instanceof Bi&&i.getChildren().forEach((function(t){Sa(a.getObjectBinding(),t)})),a},Sa=function(t,e,r){return e instanceof no?function(t,e){if(!e.getProperty()){var r=new la({item:e,statement:null,matchingCode:li.OK});return t.addChildBinding(r),r}var n=t.getGraph(),i=e.getNodetype(),o={value:"",type:"literal"};"URI"===i?o.type="uri":"DATATYPE_LITERAL"===i&&(o.datatype=_a(e));var a=e.getValue();if(null!=a&&0===t.getChildBindingsFor(e).length){o.value=a;var s=e.getLanguage();null!=s&&(o.lang=s)}var u=n.create(t.getChildrenRootUri(),e.getProperty(),o,!1),l=new So({item:e,statement:u});return t.addChildBinding(l),l}(t,e):e instanceof Xi?xa(t,e):e instanceof Bi?function(t,e,r){var n,i;if(void 0!==e.getProperty()){var o=t.getGraph();n=(e.getNodetype(),o.create(t.getChildrenRootUri(),e.getProperty(),null,!1)),i=ua(o,n.getValue(),e)}var a=new Ei({item:e,statement:n,constraints:i});t.addChildBinding(a);var s=e._source["@id"];if(s){if(r[s])return a;r[s]=!0}return a}(t,e,r||{}):e instanceof po?function(t,e){var r=t.getGraph(),n=e.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===n?i.datatype=_a(e):"RESOURCE"!==n&&"URI"!==n||(i.type="uri");var o=r.create(t.getChildrenRootUri(),e.getProperty(),i,!1),a=new Io({item:e,statement:o});t.addChildBinding(a);var s=e.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(ga(e,s,r),!0),a}(t,e):void 0};ia=function(t){va&&t.getChildBindings().forEach((function(t){"group"===t.getItem().getType()&&ia(t)})),t.getItem().getChildren().forEach((function(e){va?void 0!==e.getProperty()&&fa(t,e):fa(t,e)}))};fa=function(t,e){e instanceof po?function(t,e){if(null!=e.getProperty()){var r=[];t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(aa(t)){var n=da(e,t),i=ha(e,t),o=pa(e,t);if(n&&i&&o||va){var a=ga(e,t.getValue(),t.getGraph());if(void 0!==a){sa(t);var s=n?li.OK:li.WRONG_NODETYPE;i?o?a.mismatch&&(s=li.WRONG_VALUE):s=li.WRONG_PATTERN:s=li.WRONG_DATATYPE,r.push(new Io({item:e,statement:t,choice:a,matchingCode:s}))}}}})),r.length>0&&t.addChildBindings(r)}}(t,e):e instanceof Xi?function(t,e){var r,n,i,o,a=e.getPropertyItem(),s=e.getObjectItem(),u=t.getGraph(),l=[];u.find(t.getChildrenRootUri()).forEach((function(t){aa(t)&&da(s,t)&&pa(s,t)&&void 0!==(i=ga(a,t.getPredicate(),t.getGraph()))&&(n=null,s instanceof Bi?void 0!==(r=ya(u,t.getValue(),s))&&(sa(t),n=new zo({item:e,statement:t,constraints:r}),ia(n.getObjectBinding())):s instanceof po?void 0!==(o=ga(s,t.getValue(),t.getGraph()))&&(sa(t),(n=new zo({item:e,statement:t})).getObjectBinding().setChoice(o)):(sa(t),n=new zo({item:e,statement:t})),null!==n&&(n.getPredicateBinding().setChoice(i),l.push(n)))})),l.length>0&&t.addChildBindings(l)}(t,e):e instanceof Bi?function(t,e){var r,n,i,o,a=t.getGraph();void 0!==e.getProperty()?(r=a.find(t.getChildrenRootUri(),e.getProperty())).length>0&&(n=[],r.forEach((function(t){if(aa(t)){var r=pa(e,t),s=da(e,t);if((r&&s||va)&&(void 0!==(i=ya(a,t.getValue(),e))||va)){var u=s?li.OK:li.WRONG_NODETYPE;r?void 0===i&&(u=li.MISSING_CONSTRAINTS):u=li.WRONG_PATTERN,sa(t),o=new Ei({item:e,statement:t,constraints:i,matchingCode:u}),n.push(o),u===li.OK&&ia(o)}}})),t.addChildBindings(n)):(o=new Ei({item:e}),t.addChildBindings([o]),ia(o))}(t,e):e instanceof no&&function(t,e){var r=[];null==e.getProperty()?r.push(new la({item:e,statement:null,matchingCode:li.OK})):t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(aa(t)&&pa(e,t)){var n=da(e,t),i=ha(e,t);if(n&&(i||e.hasStyle("relaxedDatatypeMatch"))||va){sa(t);var o=n?li.OK:li.WRONG_NODETYPE;i||(o=li.WRONG_DATATYPE),r.push(new So({item:e,statement:t,matchingCode:o}))}}})),r.length>0&&t.addChildBindings(r)}(t,e)},da=function(t,e){var r=e.getType();switch(t.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===r;case"RESOURCE":return"uri"===r||"bnode"===r;case"URI":return"uri"===r;case"BLANK":return"bnode"===r}return!1},ha=function(t,e){var r="DATATYPE_LITERAL"===t.getNodetype()&&t.getDatatype()||null;return null==r||(Array.isArray(r)?-1!==r.indexOf(e.getDatatype()):e.getDatatype()===r)},pa=function(t,e){var r=t.getPattern(),n=Vn.extractGist(e.getValue(),t.getValueTemplate());if(void 0!==r)try{return new RegExp("^".concat(r,"$")).test(n)}catch(t){return!0}return!0},ya=function(t,e,r){var n,i=r.getConstraints(),o=[],a=function(r,i){if(1!==(n=t.find(e,r,{type:"uri",value:i})).length)return!1;o.push(n[0])};if("object"===ca(i)&&null!==i){for(var s,u=Object.keys(i),l=function(){var t=u[c],e=i[t];if(e instanceof Array){var r=!0;if(e.forEach((function(e){!1!==a(t,e)&&(r=!1)})),r)return{v:void 0}}else if(!1===a(t,e))return{v:void 0}},c=0;c<u.length;c++)if(s=l())return s.v;return o}return[]},ua=function(t,e,r){var n=[],i=r.getConstraints();return"object"===ca(i)&&null!==i&&Object.keys(i).forEach((function(r){var o=i[r];Array.isArray(o)?n.push(t.create(e,r,{type:"uri",value:o[0]},!1)):n.push(t.create(e,r,{type:"uri",value:o},!1))})),n},ga=function(t,e,r){var n,i;if(t.hasChoices()){for(i=t.getChoices(),n=0;n<i.length;n++)if(i[n].value===e)return i[n];if(!t.hasStyle("strictmatch")||va)return{value:e,label:{"":e},mismatch:!0}}else{var o=Vn.getLocalizedMap(r,e,t.getLabelProperties());null==o&&va&&(o={"":e,mismatch:!0});var a=r.findFirstValue(e,Io.seeAlso);if(null!=o){var s={label:o,value:e};return a&&(s.seeAlso=a),s}if(null!=Wn.getChoice)return Wn.getChoice(t,e,a,r)}},sa=function(t){t._dibbs=!0},aa=function(t){return!0!==t._dibbs},oa=function(t){var e,r,n,i=t.getItemGroupedChildBindings()||[];for(e=0;e<i.length;e++)for(n=i[e],r=0;r<n.length;r++){var o=n[r];o._statement&&delete o._statement._dibbs,(o instanceof Ei||o instanceof zo)&&oa(o)}};var Ea=function t(e,r){for(var n="/"===r[0]?r.slice(1):r,i=e.getItemGroupedChildBindings(),o=n[0],a=0;a<i.length;a++)for(var s=i[a],u=void 0,l=0;l<s.length;l++){var c=s[l],f=c.getItem();if(f instanceof po&&void 0===f.getProperty()&&o===f.getId()&&2===n.length&&n[1]===c.getValue())return c;if(c.isValid()){if("propertygroup"===f.getType())f=(c=c.getObjectBinding()).getItem();else if(void 0===f.getProperty()&&(u=t(c,n)))return u;if("*"===o||o===c.getPredicate()||o===f.getId())if("group"===f.getType()){if(u=t(c,n.slice(1)))return u}else if(1===n.length||"*"===n[1]||n[1]===c.getValue())return c}}},Ta=function(t,e){var r=e[0],n=t;if("/"===r){for(;n.getParent();)n=n.getParent();return n}if(".."===r){for(var i=0;i<e.length;i++){if(".."!==e[i]||!n.getParent())return n;n=n.getParent()}return n}return t},ka=function(t,e){var r=t.getId(),n={},i={};t.getChoices().forEach((function(t){n[t.value]=0,i[t.value]=t}));e.getChildBindings().forEach((function(t){var e=t.getItem().getDeps();if(e&&(e[0]===r||"/"===e[0]&&e[1]===r)){var i="/"===e[0]?e[2]:e[1],o=n[i];void 0!==o&&(n[i]=o+1)}}));var o,a=0;return Object.keys(n).forEach((function(t){(!o||n[t]>a)&&(o=t,a=n[t])})),i[o]};const Oa={detectLevel:function(t){if(t.mandatory>0){if(0===t.recommended&&0===t.optional)return"mandatory";if(0===t.optional)return"mixed_mandatory_recommended";if(0===t.recommended)return"mixed_mandatory_optional"}else{if(t.recommended>0)return 0===t.optional?"recommended":"mixed_recommended_optional";if(0===t.recommended&&t.recommended>0&&0===t.optional)return"optional"}return"mixed_all"},levelProfile:function(t){var e=function t(e,r,n){var i=r.getCardinality();return n&&"group"===r.getType()||(null!=i?i.min>0?e.mandatory+=1:i.pref>0?e.recommended+=1:e.optional+=1:e.optional+=1),"group"===r.getType()&&r.getChildren().forEach((function(r){return t(e,r)})),e}({mandatory:0,recommended:0,optional:0},t,!0);return e.itemCount=e.mandatory+e.recommended+e.optional,e},findFirstValueBinding:function t(e,r){if(e instanceof So)return e;for(var n=e.getItemGroupedChildBindings(),i=Mn().locale(),o=0;o<n.length;o++){var a=n[o],s=e.getItem().getChildren()[o];if(0!==a.length){if(!(s instanceof no))return t(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var u={firstValue:a[0]},l=0;l<a.length;l++){var c=a[l].getLanguage();null==c?u.emptyLanguageValue=a[l]:c===i?u.perfectLocaleLanguageValue=a[l]:c.substring(0,1)===i.substring(0,1)?u.localeLanguageValue=a[l]:-1!==c.indexOf("en")?u.defaultLanguageValue=a[l]:u.anyLanguageValue=a[l]}return u.perfectLocaleLanguageValue||u.localeLanguageValue||u.defaultLanguageValue||u.anyLanguageValue||u.firstValue}return a[0]}if(r){var f=Sa(e,s,{});return f instanceof So?(f.setLanguage(i),f):t(f,!0)}}},create:Sa,constructTemplate:wa,findPopularChoice:ka,match:ma,fuzzyMatch:ba,matchPathBelowBinding:Ea,findBindingRelativeToParentBinding:Ta,CODES:li};var Aa=function(t,e){var r=e;return null==r?r={errors:[],warnings:[],deprecated:[]}:(r.errors=r.errors||[],r.warnings=r.warnings||[],r.deprecated=r.deprecated||[]),Ra(t,r,!0)},Ca=function(t){for(var e=0,r=0;r<t.length;r++)t[r].isValid()&&(e+=1);return e},Pa=function(t,e){t.length>0&&t[0].getCardinalityTracker().setCode(e)},ja=function(t,e){if(e.hasStyle("deprecated"))return!0;var r=e.getDeps();if(r){var n=Ta(t,r);if(!Ea(n,r))return!0}return!1},Ra=function t(e,r,n){if(e.getMatchingCode()===li.OK){var i=e.getItem();if(!0===n||e.isValid()||null==i.getProperty()||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var o=i.getChildren();if(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild")||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var a,s=e.getChildBindings(),u=Ca(s);u>1&&(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild"))?a=li.AT_MOST_ONE_CHILD:1!==u&&i.hasStyle("exactlyOneChild")?a=li.EXACTLY_ONE_CHILD:0===u&&i.hasStyle("atLeastOneChild")&&(a=li.AT_LEAST_ONE_CHILD),a&&(Pa([e],a),o.length>0&&r.errors.push({parentBinding:e,item:o[0],code:a}))}else e.getItemGroupedChildBindings().forEach((function(t,n){var i=o[n];if(!ja(e,i)&&null!=i.getProperty()){var a=Ca(t),s=i.getCardinality();null!=s.min&&s.min>a?(r.errors.push({parentBinding:e,item:i,code:li.TOO_FEW_VALUES_MIN}),Pa(t,li.TOO_FEW_VALUES_MIN)):null!=s.pref&&s.pref>a&&r.warnings.push({parentBinding:e,item:i,code:li.TOO_FEW_VALUES_PREF}),null!=s.max&&s.max<a&&(r.errors.push({parentBinding:e,item:i,code:li.TOO_MANY_VALUES}),Pa(t,li.TOO_MANY_VALUES))}}),void 0);e.getChildBindings().forEach((function(n){var i=n.getItem();n.getMatchingCode()!==li.OK&&r.errors.push({parentBinding:n,item:i,code:n.getMatchingCode()}),i.hasStyle("deprecated")&&r.deprecated.push(n),ja(e,i)||"group"===i.getType()&&t(n,r)}))}return r}},Na=function(t,e){return t.find(null,"rdf:type",e).map((function(t){return t.getSubject()}))},Ia=function(t,e,r){for(var n=t;;){var i=n.getChildrenRootUri?n.getChildrenRootUri():n.getParent().getChildrenRootUri();if(i===e)return!0;if(r[i])return!1;n=n.getParent()}},La=function(t,e){var r=t,n=[];for(null!=e.getProperty()&&r.getItem()!==e&&n.push(l(e.getProperty()));null!=r.getItem().getProperty()&&n.push(l(r.getItem().getProperty())),null!=r.getParent();)r=r.getParent();return n.reverse(),n.join(" > ")},Da=function(t){var e=t.errors,r=t.warnings,n=t.deprecated;t.errors=e.map((function(t){return{path:La(t.parentBinding,t.item),code:t.code}})),t.warnings=r.map((function(t){return{path:La(t.parentBinding,t.item),code:t.code}})),t.deprecated=n.map((function(t){return function(t){return"".concat(La(t.getParent(),t.getItem())," > ").concat(t.getValue())}(t)}))},Ma=function(t,e,r,n){var i=ba(e,t,r),o=Aa(i);return function(t,e,r){var n=t.errors,i=t.warnings,o=t.deprecated;t.errors=n.filter((function(t){return Ia(t.parentBinding,e,r)})),t.warnings=i.filter((function(t){return Ia(t.parentBinding,e,r)})),t.deprecated=o.filter((function(t){return Ia(t,e,r)}))}(o,t,n||{}),Da(o),o};const Fa={graphReport:function(t,e){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(e).forEach((function(e){var r=Na(t,e);o[e]=r,r.forEach((function(t){a[t]=!0}))})),Object.keys(o).forEach((function(i){r=e[i],o[i].forEach((function(e){(n=Ma(e,t,r,a)).uri=e,n.type=i,n.template=r.getId(),s.resources.push(n),s.errors+=n.errors.length,s.warnings+=n.warnings.length,s.deprecated+=n.deprecated.length}))}));var u=[];return i.forEach((function(t){0===o[t].length&&u.push(t)})),u.length>0&&(s.mandatoryError=u,s.errors+=u.length),s},bindingReport:Aa};function Ba(t){return(Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Va(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ua(n.key),n)}}function Ua(t){var e=function(t,e){if("object"!=Ba(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ba(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ba(e)?e:String(e)}var Wa=0;function Ha(t){return(Ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ya(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ga(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,$a(n.key),n)}}function $a(t){var e=function(t,e){if("object"!=Ha(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ha(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ha(e)?e:String(e)}function qa(t,e,r){return e=Qa(e),function(t,e){if(e&&("object"===Ha(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Qa(t).constructor):e.apply(t,r))}function za(){return(za="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Xa(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Xa(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Qa(t)););return t}function Qa(t){return(Qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Za(t,e){return(Za=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Ja=function(t,e,r){if(0===r.length||e.hasStyle("invisible"))return!1;if(e.getProperty())return!t.filterItem(e);if("group"===e.getType()){var n=e.getChildren();return 0===n.length||!!r[0].getItemGroupedChildBindings().find((function(e,r){return Ja(t,n[r],e)}))}return!0},Ka=function(t){function e(){return Ya(this,e),qa(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Za(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this.showLanguage=!1!==t.showLanguage,this.filterTranslations=!1!==t.filterTranslations,this.defaultLanguage=t.defaultLanguage,this.styleCls=t.styleCls||"rdformsPresenter",za(Qa(e.prototype),"_handleParams",this).call(this,t)}},{key:"showNow",value:function(t,e){return Ja(this,t,e)}},{key:"skipBinding",value:function(t){var e=t.getItem(),r="group"===e.getType();return!(!e.getProperty()&&r&&0===e.getChildren().length)&&r&&0===t.getChildBindings().length}},{key:"prepareBindings",value:function(t,e){return t.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===t.getNodetype()&&!t.hasStyle("viewAllTranslations")?ei.filterTranslations(e,this.getLocale(),this.defaultLanguage):e}},{key:"addLabel",value:function(t,e,r){r.hasStyle("noLabelInPresent")?ei.domClassToggle(t,"rdformsInvisibleGroup",!0):ei.renderPresenterLabel(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return ei.addPresenterTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){return ei.fillPresenterTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ei.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(t,e){ei.renderPresenter(t,e,this.context)}},{key:"truncateAt",value:function(t,e){return"group"!==t.getType()&&e&&e.length>this.truncateLimit&&(this.truncate||t.hasStyle("truncate"))&&!t.hasStyle("noTruncate")?this.truncateLimit:-1}}])&&Ga(r.prototype,n),i&&Ga(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._viewId=Wa,Wa+=1,this.locale=e.locale,this.defaultTextLanguage=e.defaultTextLanguage,this.messages=e.messages,this.parentView=e.parentView,this.srcNodeRef=r,this.binding=e.binding||null,this.template=e.template||null,this.graph=e.graph||null,this.resource=e.resource||"",this.topLevel=!1!==e.topLevel,this.compact=!1!==e.compact,this.showDescription=!0===e.showDescription,this.styleCls=e.styleCls||"",this.truncateLimit=void 0!==e.truncateLimit?e.truncateLimit:10,this.truncate=void 0!==e.truncate&&e.truncate,Array.isArray(e.filterPredicates)?this.filterPredicates=e.filterPredicates.reduce((function(t,e){return t[e]=!0,t}),{}):"object"===Ba(e.filterPredicates)?this.filterPredicates=e.filterPredicates:"string"==typeof e.filterPredicates?this.filterPredicates=e.filterPredicates.split(",").reduce((function(t,e){return t[e]=!0,t}),{}):this.filterPredicates=null,this.restrictToItem=e.restrictToItem,this.fuzzy=!0===e.fuzzy,this.markOrigin=!1!==e.markOrigin,this._handleParams(e),this._labelIndex={},this.domNode=ei.createDomNode(r,this),ei.domClassToggle(this.domNode,"rdforms",!0),ei.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var e,r,n;return e=t,(r=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(t){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var e=this.namedGraphs[t];return void 0===e&&(e=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[t]=e,this.namedGraphCounter+=1),e}}},{key:"getNamedGraphFromId",value:function(t){var e=this;return this.namedGraphs?Object.keys(this.namedGraphs).find((function(r){return e.namedGraphs[r]===t})):void 0}},{key:"destroy",value:function(){ei.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(t){if(t.binding)this.binding=t.binding;else{if(this.template=t.template||this.template,this.graph=t.graph||this.graph,this.resource=t.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=ba(this.graph,this.resource,this.template),Aa(this.binding)):this.binding=ma(this.graph,this.resource,this.template)}}},{key:"showNow",value:function(){return!0}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(){}},{key:"addTable",value:function(){}},{key:"fillTable",value:function(){}},{key:"addLabel",value:function(){}},{key:"addComponent",value:function(){}},{key:"showAsTable",value:function(t){return"group"===t.getType()&&(t.hasStyle("table")||t.hasClass("rdformsTable"))}},{key:"show",value:function(t){this._handleParams(t),this.render()}},{key:"render",value:function(){if(ei.domText(this.domNode,""),null!=this.binding&&(this.messages||(this.messages=ei.getMessages()),null!=this.binding)){var t,e,r,n,i,o=this.binding.getItem().getChildren(),a=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?ei.domClassToggle(this.domNode,"compact",!1):ei.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<a.length;t++)if(n=a[t],i=o[t],(!this.restrictToItem||this.restrictToItem===i)&&this.showNow(i,n)){if(n=this.prepareBindings(i,n),this.showAsTable(i))this.context={view:this},r=this.createRowNode(r,n[0],i),n.length>0&&(e=this.addTable(r,n[0],i),this.fillTable(e,n));else if(n.length>0)if(this.isMultiValued(i))this.context={view:this},r=this.addRow(r,n[0],!0);else{for(var s=this.truncateAt(i,n),u=0;u<n.length;u++)this.context={view:this},r=this.addRow(r,n[u],0===u||n[u]instanceof Ei,u,s);if(-1!==s){var l=ei.domQuery(".rdformsFields",r);l&&ei.addTruncateControl(l,this.context)}}else this.context={view:this},r=this.createRowNode(r,null,i);n.length>0&&n[0].getCardinalityTracker().checkCardinality()}}}},{key:"addRow",value:function(t,e,r,n,i){var o,a,s=r,u=e.getItem();if(!this.skipBinding(e)){if(null==s&&(s=e instanceof Ei),!0===s){a=this.createRowNode(t,e,u);var l=ei.domCreate("div",a);ei.domClassToggle(l,"rdformsFields",!0),-1!==i&&ei.domClassToggle(l,"rdformsTruncated",!0),u.hasStyle("inline")&&ei.domClassToggle(l,"rdformsInline",!0),o=ei.domCreate("div",l),this.createEndOfRowNode(a,e,u)}else{var c=ei.domQuery(".rdformsFields",t);if(null!=c)o=ei.domCreate("div",c),ei.domClassToggle(o,"rdformsRepeatedValue",!0),-1!==i&&n>=i&&ei.domClassToggle(o,"rdformsMaybeTruncated",!0);else{var f=ei.domCreate("div",t);ei.domClassToggle(f,"rdformsFields",!0),u.hasStyle("inline")&&ei.domClassToggle(f,"rdformsInline",!0),o=ei.domCreate("div",f),this.createEndOfRowNode(a,e,u)}}if(this.markOrigin){var d=this.getNamedGraphId(e);d?(ei.domClassToggle(o,"rdformsOrigin",!0),ei.domClassToggle(o,"rdformsOrigin_".concat(d),!0)):(ei.domClassToggle(o,"rdformsOrigin",!0),ei.domClassToggle(o,"rdformsOrigin_default",!0))}return"group"===u.getType()?ei.domClassToggle(o,"rdformsGroup",!0):ei.domClassToggle(o,"rdformsField",!0),this._binding2node[e.getHash()]=o,this.addComponent(o,e),u.hasStyle("invisible")&&ei.domClassToggle(a||t,"rdformsInvisible",!0),a||t}}},{key:"createRowNode",value:function(t,e,r){var n;n=null==t?ei.domCreate("div",this.domNode,e?this.getRowIndex(e):void 0):ei.domCreateAfter("div",t,e?this.getRowIndex(e):void 0),r.getClasses().forEach((function(t){ei.domClassToggle(n,t,!0)})),ei.domClassToggle(n,"rdformsRow",!0),ei.domClassToggle(n,"rdformsTopLevel",this.topLevel),ei.domClassToggle(n,"rdformsInvisibleGroup",r.hasStyle("invisibleGroup")),ei.domClassToggle(n,"rdformsHeading",r.hasStyle("heading")),ei.domClassToggle(n,"notCompact","group"===r.getType()||r.hasStyle("nonCompact")),ei.domClassToggle(n,"rdformsCompactItem",r.hasStyle("compact")),this.addLabel(n,e,r),e&&this.filterBinding(e)&&ei.domClassToggle(n,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(r.hasStyle("card")||r.hasStyle("cardInEdit")&&i||r.hasStyle("cardInPresent")&&!i)&&ei.domClassToggle(n,"rdformsCard",!0),n}},{key:"createEndOfRowNode",value:function(t,e,r){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(t){return this.filterItem(t.getItem())}},{key:"filterItem",value:function(t){var e=this,r=this._getFilterPredicates();return!!r&&function t(r,n){var i=r.getId();if(i&&Object.keys(n).includes(i))return!0;var o=r.getProperty();if(o){for(var a=!0,s=e;s.parentView;)s.getBinding().getItem().getProperty()&&(a=!1),s=s.parentView;var l=u(o);return a?!0===n[o]||!0===n[l]||!0===n["*".concat(o)]||!0===n["".concat(l)]:!0===n["*".concat(o)]||!0===n["*".concat(l)]}if("group"===r.getType()){var c=r.getChildren()||[],f=!1;return c.forEach((function(e){t(e,n)||(f=!0)})),!f}return!1}(t,r)}},{key:"filterProperty",value:function(t){return!0===(this._getFilterPredicates()||{})[t]}},{key:"getLabelIndex",value:function(t){var e,r=this;return t.getParent().getChildBindingsFor(t.getItem()).reverse().find((function(t){return void 0!==(e=r._labelIndex[t.getHash()])})),void 0!==e?e:this.parentView?this.parentView.getLabelIndex(t.getParent()):""}},{key:"createLabelIndex",value:function(t){var e="".concat(t.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[t.getHash()]=e,e}},{key:"getRowIndex",value:function(t){return"".concat(t.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(t){return!1}},{key:"truncateAt",value:function(t,e){return-1}},{key:"getLocale",value:function(){return this.locale||(this.parentView?this.parentView.getLocale():Mn().locale())}},{key:"getDefaultTextLanguage",value:function(){return this.defaultTextLanguage||(this.parentView?this.parentView.getDefaultTextLanguage():this.getLocale())}}])&&Va(e.prototype,r),n&&Va(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());function ts(t){return(ts="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function es(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ns(n.key),n)}}function ns(t){var e=function(t,e){if("object"!=ts(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ts(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ts(e)?e:String(e)}function is(t,e,r){return e=ss(e),function(t,e){if(e&&("object"===ts(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ss(t).constructor):e.apply(t,r))}function os(){return(os="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=as(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function as(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ss(t)););return t}function ss(t){return(ss=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function us(t,e){return(us=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ls=function(t,e,r,n){if(e.hasStyle("presenterOnly"))return!1;if(e.hasStyle("deprecated")&&0===r.length)return!1;var i=e.getProperty();if(r.length>0){if(i)return!t.filterItem(e);if("group"!==e.getType())return!0;var o=e.getChildren();if(0===o.length)return!0;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;if(r[0].getItemGroupedChildBindings().find((function(e,r){return ls(t,o[r],e,n)})))return!0;if(!i)return!1}var a=e.getCardinality();switch(n){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},cs=function(t){function e(){return es(this,e),is(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&us(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this._subEditors=this._subEditors||[],this.includeLevel=t.includeLevel||"recommended",this.hideAddress=!1!==t.hideAddress,t.styleCls=t.styleCls||"rdformsEditor",t.filterTranslations=void 0!==t.filterTranslations&&t.filterTranslations,os(ss(e.prototype),"_handleParams",this).call(this,t)}},{key:"getSubEditorForBinding",value:function(t){return this._subEditors.find((function(e){return e.getBinding()===t}))}},{key:"report",value:function(t){var e=this,r=t||Aa(this.binding);Object.keys(this._binding2node).forEach((function(t){ei.domClassToggle(e._binding2node[t],"errorReport",!1)}));for(var n=function(){var t=r.errors[i];if(t.parentBinding===e.binding)if(t.code===li.TOO_FEW_VALUES_MIN){var n=t.item,o=n.getCardinality().min;e.binding.getChildBindingsFor(n).find((function(t){return o-=1,t.isValid()||ei.domClassToggle(e._binding2node[t.getHash()],"errorReport",!0),0===o}))}else t.code===li.AT_MOST_ONE_CHILD&&e.binding.getChildBindings().forEach((function(t){t.getMatchingCode()!==li.OK&&ei.domClassToggle(e._binding2node[t.getHash()],"errorReport",!0)}))},i=0;i<r.errors.length;i++)n();for(var o=0;o<this._subEditors.length;o++)this._subEditors[o].report(r)}},{key:"getIncludeLevel",value:function(){return this.includeLevel}},{key:"setIncludeLevel",value:function(t){this.includeLevel!==t&&(this.includeLevel=t,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=ma(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(t){this._subEditors=[],os(ss(e.prototype),"show",this).call(this,t)}},{key:"showNow",value:function(t,e){return ls(this,t,e,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(t,e){var r,n=e,i=t.getCardinality();if(r=i.pref>0?i.pref:i.min>0?i.min:"propertygroup"===t.getType()?1:"group"===t.getType()?(t.getProperty(),1):1,t.hasStyle("nonEditable")&&!t.hasStyle("autoInitDate")&&!t.hasStyle("autoUpdateDate")&&!t.hasStyle("autoUUID")&&!t.hasStyle("autoValue")&&!t.getValue())return n;if(r>n.length)for(n=n.concat([]);r>n.length;)n.push(Sa(this.binding,t));return n}},{key:"addLabel",value:function(t,e,r){ei.renderEditorLabel(t,e,r,this.context)}},{key:"createEndOfRowNode",value:function(t,e,r){ei.renderEditorLabelScopeEnd(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return e.getItem().hasStyle("nonEditable")?this.addComponent(t,e):ei.addEditorTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){ei.fillEditorTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ei.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(t,e){this.context.inEditor=!0,e.getItem().hasStyle("nonEditable")?ei.renderPresenter(t,e,this.context):ei.renderEditor(t,e,this.context)}},{key:"createRowNode",value:function(t,r,n){if(null!=r||!n.hasStyle("nonEditable")){var i=os(ss(e.prototype),"createRowNode",this).call(this,t,r,n);if("choice"===n.getType()&&void 0===n.getProperty()){var o=ka(n,r.getParent());o&&r.setChoice(o)}var a=n.getDeps();if(a){var s=function(t){t?(ei.domClassToggle(i,"missingDepsWithValue",!1),ei.domClassToggle(i,"missingDeps",!1)):r.isValid()?ei.domClassToggle(i,"missingDepsWithValue",!0):ei.domClassToggle(i,"missingDeps",!0),r.getCardinalityTracker().setDepsOk(t)},u=Ta(r.getParent(),a);Ea(u,a)||s(!1),u.addListener((function t(){r.getParent()?s(Ea(u,a)):u.removeListener(t)}))}return this.filterBinding(r)&&ei.domClassToggle(i,"hiddenProperty",!0),n.hasStyle("deprecated")&&ei.domClassToggle(i,"rdformsDeprecated",!0),i}}},{key:"isMultiValued",value:function(t){return ei.multiValueSupport&&(t.hasStyle("horizontalCheckBoxes")||t.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(t,e){return-1}}])&&rs(r.prototype,n),i&&rs(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ka);ei.renderPresenterLabel=function(t,e,r,n,i){var o=n.view instanceof cs&&r.getEditLabelMap()||r.getLabelMap(),a=Vn.getLocalizedValue(o,n.view.getLocale()).value;a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s=r.hasStyle("heading")?ni()('<h2 class="rdformsLabel" tabindex="0">').text(a).appendTo(t):ni()('<div class="rdformsLabel" tabindex="0">').text(a).appendTo(t);e&&s.attr("id",n.view.createLabelIndex(e)),i&&s.addClass("rdformsLabelRow"),n&&(n.labelNode=s[0]);var u=n.view;if(r.hasStyle("showDescriptionInPresent")||u.showDescription){var l=r.hasStyle("compact")||u.compact&&!r.hasStyle("nonCompact")&&(u.topLevel&&"group"!==r.getType()||u.parentView&&u.parentView.topLevel&&u.binding.getItem().hasStyle("heading")),c=Vn.getLocalizedValue(r.getDescriptionMap(),n.view.getLocale()).value;!l&&c&&ni()('<div class="rdformsDescription" tabindex="0">').text(c).appendTo(t)}ei.attachItemInfo(r,s[0],n)},ei.attachItemInfo=function(t,e,r){if(null!=t&&null!=t.getDescriptionMap()){var n=Vn.getLocalizedValue(t.getDescriptionMap(),r.view.getLocale()).value;e.setAttribute("title",n)}};const fs=function(t){return function(e){return null==t?void 0:t[e]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});const ds=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i};const hs=function(t){return"symbol"==typeof t||Xe(t)&&"[object Symbol]"==ee(t)};var ps=$t?$t.prototype:void 0,gs=ps?ps.toString:void 0;const ys=function t(e){if("string"==typeof e)return e;if(er(e))return ds(e,t)+"";if(hs(e))return gs?gs.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};const vs=function(t){return null==t?"":ys(t)};var ms=/[&<>"']/g,bs=RegExp(ms.source);const ws=function(t){return(t=vs(t))&&bs.test(t)?t.replace(ms,fs):t};var _s=function(t){switch(t){case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://purl.org/dc/terms/W3CDTF":return"DateTime";case"http://www.w3.org/2001/XMLSchema#date":return"Date";case"http://www.w3.org/2001/XMLSchema#gYear":return"Year";case"http://www.w3.org/2001/XMLSchema#time":return"Time";case"http://www.w3.org/2001/XMLSchema#gYearMonth":return"YearMonth";case"http://www.w3.org/2001/XMLSchema#gMonthDay":return"MonthDay";default:return}},xs=function(t,e){var r=t.getValue();if(null!=r&&""!==r){var n=t.getItem(),i=function(t){try{if(t.includes(":")&&!t.includes("T")){var e=(new Date).toISOString().substr(0,11),r=new Date("".concat(e).concat(t));return r.setMinutes(r.getMinutes()+r.getTimezoneOffset()),r}return new Date(t)}catch(t){return null}}(r);if(i){var o=function(t){return t.indexOf("T")>0?"DateTime":t.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(t)?"YearMonth":/^\d\d-\d\d$/.test(t)?"MonthDay":t.length>4?"Date":"Year"}(r),a=_s(t.getDatatype()),s=function(t){var e=t.getDatatype();return Array.isArray(e)?_s(e[0]):_s(e)}(n),u=function(t){var e={},r=t.getDatatype();return(Array.isArray(r)?r:[r]).forEach((function(t){var r=_s(t);r&&(e[r]=!0)})),e}(n);return function(t,e,r){switch(t){case"DateTime":return Mn()(e).locale(r).format("lll");case"Date":return Mn()(e).locale(r).format("LL");case"Time":return Mn()(e).locale(r).format("LT");case"Year":return Mn()(e).locale(r).format("YYYY");case"YearMonth":return Mn()(e).locale(r).format("MMMM YYYY");case"MonthDay":return Mn()(e).locale(r).format("D MMMM");default:return""}}(u[a]?a:u[o]?o:s,i,e)}}},Ss=r(19755),Es=ei.presenterRegistry;Es.itemtype("text").nodetype("URI").register((function(t,e){var r=Vn.getLocalizedMap(e),n=Ss('<a class="rdformsUrl">').attr("title",e.getValue()).attr("href",e.getValue()).appendTo(t);e.getItem().hasStyle("showValue")?n.text(e.getValue()):r?n.text(Vn.getLocalizedValue(r).value):n.text(e.getGist()),e.getItem().hasStyle("externalLink")?Wn.attachExternalLinkBehaviour(n[0],e):Wn.attachLinkBehaviour(n[0],e)})),Es.itemtype("group").nodetype("URI").style("linkWithLabel").register((function(t,e,r){var n,i=e.getValue(),o=e.getItem().getChildren().find((function(t){return t.hasStyle("label")})),a=o?ei.filterTranslations(e.getChildBindingsFor(o),r.view.getLocale(),r.view.defaultLanguage):[],s=e.getItem().getChildren().find((function(t){return t.hasStyle("tooltip")})),u=s?ei.filterTranslations(e.getChildBindingsFor(s),r.view.getLocale(),r.view.defaultLanguage):[],l=u.length>0?u[0].getValue():i,c=Ss('<a class="rdformsUrl">').attr("title",l).attr("href",i).appendTo(t);if(a.length>0)n=a[0].getValue();else{var f=Vn.getLocalizedMap(e);n=e.getItem().hasStyle("showValue")?i:f?Vn.getLocalizedValue(f).value||i:e.getGist()}c.text(n),e.getItem().hasStyle("externalLink")?Wn.attachExternalLinkBehaviour(c[0],e):Wn.attachLinkBehaviour(c[0],e)})),Es.itemtype("text").nodetype("URI").style("image").register((function(t,e){Ss('<img class="rdformsImage">').attr("src",e.getGist()).appendTo(t)})),Es.itemtype("text").register((function(t,e,r){var n=e.getLanguage();r.view.showLanguage&&n&&Ss('<div class="rdformsLanguage">').text(n).appendTo(t);var i=ws(e.getItem().hasStyle("showValue")?e.getValue():e.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),o=e.getParent();if(e.getItem().hasStyle("label")&&!0!==r.view.topLevel&&null!=o&&o.getItem().getChildren()[0]===e.getItem()&&null!=o.getStatement()&&"uri"===o.getStatement().getType()){var a=Ss('<a class="rdformsUrl">').attr("href",o.getStatement().getValue()).html(i).appendTo(t);n&&a.attr("lang",n),Wn.attachLinkBehaviour(a[0],o)}else{var s=Ss("<div>").html(i).appendTo(t);n&&s.attr("lang",n)}e.getItem().hasStyle("multiline")?Ss(t).toggleClass("rdformsMultiline",!0):Ss(t).toggleClass("rdformsSingleline",!0)})),Es.itemtype("text").datatype("xsd:duration").register((function(t,e,r){var n=function(t){var e,r=function(t){return t&&t.length>1?parseInt(t[0],10):0},n=r(t.match(/([0-9])*Y/)),i=r(t.match(/([0-9])*D/)),o=r(t.match(/([0-9])*H/)),a=0;if(-1===t.indexOf("T"))e=r(t.match(/([0-9])*M/));else{var s=t.split("T");e=r(s[0].match(/([0-9])*M/)),a=r(s[1].match(/([0-9])*M/))}return{years:n,months:e,days:i,hours:o,minutes:a}}(e.getValue()),i=r.view.messages,o=Ss("<div>").appendTo(t)[0];["years","months","days","hours","minutes"].forEach((function(t){n.hasOwnProperty(t)&&0!==n[t]&&Ss('<span class="durationLabel">'.concat(i["duration_".concat(t)],':</span><span class="durationValue">').concat(n[t],"</span>")).appendTo(o)}))}));var Ts=function(t,e,r){try{var n=xs(e,r.view.getLocale());Ss("<div>").html(n).appendTo(t)}catch(t){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 \n (potentially with time given after a 'T' character as well) but found '".concat(e.getValue(),"' instead."))}};Es.itemtype("text").datatype("xsd:dateTime").register(Ts),Es.itemtype("text").datatype("xsd:date").register(Ts),Es.itemtype("text").datatype("xsd:time").register(Ts),Es.itemtype("text").datatype("xsd:gYear").register(Ts),Es.itemtype("text").datatype("xsd:gYearMonth").register(Ts),Es.itemtype("text").datatype("xsd:gMonthDay").register(Ts),Es.itemtype("text").datatype("dcterms:W3CDTF").register(Ts);var ks=r(19755),Os=ei.presenterRegistry,As=function(t){return function(e,r,n){var i,o=r.getChoice();o&&(o.description&&(i=Vn.getLocalizedValue(o.description,n.view.getLocale()).value),t(e,r,o,i,n.view.getLocale()))}};Os.itemtype("choice").style("image").register(As((function(t,e,r,n){ks('<img class="rdformsImage">').attr("src",r.value).attr("title",n||r.value).appendTo(t)}))),Os.itemtype("choice").style("stars").register(As((function(t,e,r){isNaN(parseInt(r.value,10))||ks('<span class="rdformsStar">').appendTo(t)}))),Os.itemtype("choice").register(As((function(t,e,r,n,i){var o,a=e.getItem(),s=Vn.getLocalizedValue(r.label,i);a.hasStaticChoices()&&!a.hasStyle("externalLink")||a.hasStyle("noLink")?o=ks("<div>").attr("title",n||r.seeAlso||r.value).text(Vn.getLocalizedValue(r.label,i).value).appendTo(t):(o=ks('<a class="rdformsUrl">').attr("href",r.seeAlso||r.value).attr("title",n||r.seeAlso||r.value).text(s.value).appendTo(t),a.hasStyle("externalLink")?Wn.attachExternalLinkBehaviour(o[0],e):Wn.attachLinkBehaviour(o[0],e)),null!=r.load&&r.load((function(){var t=Vn.getLocalizedValue(r.label,i);o.text(t.value),t.lang?o.attr("lang",t.lang):o.attr("lang",void 0)})),s.lang&&o.attr("lang",s.lang)}))),ei.addPresenterTable=function(t,e,r){var n=e.getItem(),i=n.getChildren(),o=ni()("<table>").addClass("rdformsGroup").appendTo(t);ni()("<thead>").appendTo(o);for(var a=ni()("<tr>").appendTo(o),s=0;s<i.length;s++){var u=ni()("<th>").appendTo(a),l=Vn.getLocalizedValue(i[s].getLabel(),r.view.getLocale()).value;ei.attachItemInfo(n,ni()("<span>").text(l).appendTo(u),r)}return o[0]},ei.fillPresenterTable=function(t,e,r){if(0!==e.length){var n,i,o,a,s=r.view.topLevel;for(r.view.topLevel=!1,n=0;n<e.length;n++)for(o=e[n].getItemGroupedChildBindings(),a=ni()("<tr>").appendTo(t),i=0;i<o.length;i++)o[i].length>0?ei.renderPresenter(ni()("<td>").appendTo(a),o[i][0],{view:r.view,noCardinalityButtons:!0}):ni()("<td>").appendTo(a);r.view.topLevel=s}};var Cs=function(t,e){var r=document.createElement(t);return e&&(r.id=e),r};ei.domQuery=function(t,e){return e.querySelector(t)},ei.domCreate=function(t,e,r){return e.appendChild(Cs(t,r))},ei.domCreateAfter=function(t,e,r){return e.parentNode.insertBefore(Cs(t,r),e.nextSibling)},ei.domSetAttr=function(t,e,r){""===r||null===r?t.removeAttribute(e):t.setAttribute(e,r)},ei.domText=function(t,e){t.innerText=e},ei.domClassToggle=function(t,e,r){e.split(" ").forEach((function(e){r?t.classList.add(e):t.classList.remove(e)}))},ei.prePresenterViewRenderer=ei.preEditorViewRenderer,ei.addTruncateControl=function(t,e){var r=e.view.messages,n=ei.domCreate("button",t);ei.domClassToggle(n,"rdformsShowMore",!0),n.innerText=r.showMore,n.onclick=function(){ei.domClassToggle(t,"rdformsTruncated",!1)};var i=ei.domCreate("button",t);ei.domClassToggle(i,"rdformsShowLess",!0),i.innerText=r.showLess,i.onclick=function(){ei.domClassToggle(t,"rdformsTruncated",!0)}};var Ps=r(93379),js=r.n(Ps),Rs=r(7795),Ns=r.n(Rs),Is=r(90569),Ls=r.n(Is),Ds=r(3565),Ms=r.n(Ds),Fs=r(19216),Bs=r.n(Fs),Vs=r(44589),Us=r.n(Vs),Ws=r(40719),Hs={};Hs.styleTagTransform=Us(),Hs.setAttributes=Ms(),Hs.insert=Ls().bind(null,"head"),Hs.domAPI=Ns(),Hs.insertStyleElement=Bs();js()(Ws.Z,Hs);Ws.Z&&Ws.Z.locals&&Ws.Z.locals;var Ys="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},Gs="URLSearchParams"in Ys,$s="Symbol"in Ys&&"iterator"in Symbol,qs="FileReader"in Ys&&"Blob"in Ys&&function(){try{return new Blob,!0}catch(t){return!1}}(),zs="FormData"in Ys,Xs="ArrayBuffer"in Ys;if(Xs)var Qs=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Zs=ArrayBuffer.isView||function(t){return t&&Qs.indexOf(Object.prototype.toString.call(t))>-1};function Js(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Ks(t){return"string"!=typeof t&&(t=String(t)),t}function tu(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $s&&(e[Symbol.iterator]=function(){return e}),e}function eu(t){this.map={},t instanceof eu?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function ru(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function nu(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function iu(t){var e=new FileReader,r=nu(e);return e.readAsArrayBuffer(t),r}function ou(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function au(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:qs&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:zs&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Gs&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Xs&&qs&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=ou(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Xs&&(ArrayBuffer.prototype.isPrototypeOf(t)||Zs(t))?this._bodyArrayBuffer=ou(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Gs&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},qs&&(this.blob=function(){var t=ru(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=ru(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(qs)return this.blob().then(iu);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t=ru(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=nu(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=n?n[1]:"utf-8";return e.readAsText(t,i),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},zs&&(this.formData=function(){return this.text().then(lu)}),this.json=function(){return this.text().then(JSON.parse)},this}eu.prototype.append=function(t,e){t=Js(t),e=Ks(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},eu.prototype.delete=function(t){delete this.map[Js(t)]},eu.prototype.get=function(t){return t=Js(t),this.has(t)?this.map[t]:null},eu.prototype.has=function(t){return this.map.hasOwnProperty(Js(t))},eu.prototype.set=function(t,e){this.map[Js(t)]=Ks(e)},eu.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},eu.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),tu(t)},eu.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),tu(t)},eu.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),tu(t)},$s&&(eu.prototype[Symbol.iterator]=eu.prototype.entries);var su=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function uu(t,e){if(!(this instanceof uu))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(e=e||{}).body;if(t instanceof uu){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new eu(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new eu(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),su.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in Ys)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function lu(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function cu(t,e){if(!(this instanceof cu))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new eu(e.headers),this.url=e.url||"",this._initBody(t)}uu.prototype.clone=function(){return new uu(this,{body:this._bodyInit})},au.call(uu.prototype),au.call(cu.prototype),cu.prototype.clone=function(){return new cu(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new eu(this.headers),url:this.url})},cu.error=function(){var t=new cu(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var fu=[301,302,303,307,308];cu.redirect=function(t,e){if(-1===fu.indexOf(e))throw new RangeError("Invalid status code");return new cu(null,{status:e,headers:{location:t}})};var du=Ys.DOMException;try{new du}catch(t){(du=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),du.prototype.constructor=du}function hu(t,e){return new Promise((function(r,n){var i=new uu(t,e);if(i.signal&&i.signal.aborted)return n(new du("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var t,e,n={statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new eu,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{e.append(n,i)}catch(t){console.warn("Response "+t.message)}}})),e)};0===i.url.indexOf("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){r(new cu(a,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){n(new du("Aborted","AbortError"))}),0)},o.open(i.method,function(t){try{return""===t&&Ys.location.href?Ys.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(qs?o.responseType="blob":Xs&&(o.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof eu||Ys.Headers&&e.headers instanceof Ys.Headers)){var s=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){s.push(Js(t)),o.setRequestHeader(t,Ks(e.headers[t]))})),i.headers.forEach((function(t,e){-1===s.indexOf(e)&&o.setRequestHeader(e,t)}))}else i.headers.forEach((function(t,e){o.setRequestHeader(e,t)}));i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}hu.polyfill=!0,Ys.fetch||(Ys.fetch=hu,Ys.Headers=eu,Ys.Request=uu,Ys.Response=cu);r(60429);const pu=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const gu=function(t){return this.__data__.has(t)};function yu(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Fe;++e<r;)this.add(t[e])}yu.prototype.add=yu.prototype.push=pu,yu.prototype.has=gu;const vu=yu;const mu=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};const bu=function(t,e){return t.has(e)};const wu=function(t,e,r,n,i,o){var a=1&r,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(t),c=o.get(e);if(l&&c)return l==e&&c==t;var f=-1,d=!0,h=2&r?new vu:void 0;for(o.set(t,e),o.set(e,t);++f<s;){var p=t[f],g=e[f];if(n)var y=a?n(g,p,f,e,t,o):n(p,g,f,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(h){if(!mu(e,(function(t,e){if(!bu(h,e)&&(p===t||i(p,t,r,n,o)))return h.push(e)}))){d=!1;break}}else if(p!==g&&!i(p,g,r,n,o)){d=!1;break}}return o.delete(t),o.delete(e),d};const _u=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};const xu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var Su=$t?$t.prototype:void 0,Eu=Su?Su.valueOf:void 0;const Tu=function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new pn(t),new pn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Pt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=_u;case"[object Set]":var u=1&n;if(s||(s=xu),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var c=wu(s(t),s(e),n,i,o,a);return a.delete(t),c;case"[object Symbol]":if(Eu)return Eu.call(t)==Eu.call(e)}return!1};var ku=Object.prototype.hasOwnProperty;const Ou=function(t,e,r,n,i,o){var a=1&r,s=Jr(t),u=s.length;if(u!=Jr(e).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in e:ku.call(e,c)))return!1}var f=o.get(t),d=o.get(e);if(f&&d)return f==e&&d==t;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++l<u;){var g=t[c=s[l]],y=e[c];if(n)var v=a?n(y,g,c,e,t,o):n(g,y,c,t,e,o);if(!(void 0===v?g===y||i(g,y,r,n,o):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(e),h};var Au=Object.prototype.hasOwnProperty;const Cu=function(t,e,r,n,i,o){var a=er(t),s=er(e),u=a?"[object Array]":fn(t),l=s?"[object Array]":fn(e),c="[object Object]"==(u="[object Arguments]"==u?"[object Object]":u),f="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d=u==l;if(d&&ar(t)){if(!ar(e))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Ue),a||mr(t)?wu(t,e,r,n,i,o):Tu(t,e,u,r,n,i,o);if(!(1&r)){var h=c&&Au.call(t,"__wrapped__"),p=f&&Au.call(e,"__wrapped__");if(h||p){var g=h?t.value():t,y=p?e.value():e;return o||(o=new Ue),i(g,y,r,n,o)}}return!!d&&(o||(o=new Ue),Ou(t,e,r,n,i,o))};const Pu=function t(e,r,n,i,o){return e===r||(null==e||null==r||!Xe(e)&&!Xe(r)?e!=e&&r!=r:Cu(e,r,n,i,t,o))};const ju=function(t,e){return Pu(t,e)};function Ru(t){return(Ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Nu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Iu(n.key),n)}}function Iu(t){var e=function(t,e){if("object"!=Ru(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ru(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ru(e)?e:String(e)}var Lu=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._registry={}}var e,r,n;return e=t,(r=[{key:"importRegistry",value:function(t){Object.assign(this._registry,t)}},{key:"getChoices",value:function(t,e){var r=this._findChoices(t);if(null==r);else{if(null==e)return r;e(r)}}},{key:"_findChoices",value:function(t){var e=this._registry[t.getOntologyUrl()];if(null!=e)for(var r=0;r<e.length;r++){var n=e[r];if(ju(n.constraints,t.getConstraints())&&t.getParentProperty()===n.parentProperty&&t.getHierarchyProperty()===n.hierarchyProperty&&t.isParentPropertyInverted()===(n.isParentPropertyInverted||!1)&&t.isHierarchyPropertyInverted()===(n.isHierarchyPropertyInverted||!1))return n.choices}}},{key:"_constructLoadUrl",value:function(t){var e=[];if(e.push("constr=".concat(encodeURIComponent(JSON.stringify(t.getConstraints())))),null!=t.getParentProperty()){var r=!0===t.isParentPropertyInverted()?"ipp=":"pp=";e.push(r+encodeURIComponent(t.getParentProperty()))}if(null!=t.getHierarchyProperty()){var n=!0===t.isHierarchyPropertyInverted()?"ihp=":"hp=";e.push(n+encodeURIComponent(t.getHierarchyProperty()))}return"".concat(t.getOntologyUrl(),"?").concat(e.join("&"))}}])&&Nu(e.prototype,r),n&&Nu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Du(t){return(Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Mu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Fu(n.key),n)}}function Fu(t){var e=function(t,e){if("object"!=Du(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Du(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Du(e)?e:String(e)}var Bu=0,Vu=function(){function t(e){var r=e.itemStore,n=e.source,i=e.path,o=e.readOnly,a=void 0!==o&&o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=r,this._source=n,this._path=i,this._readOnly=a,this._items=[],Bu+=1,this._id="_bundle_".concat(Bu),this._root=null,this._modified=!1}var e,r,n;return e=t,(r=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(t){return this._source.root=t,t}},{key:"getRoot",value:function(){if(this._source.root)return this._itemStore.getItem(this._source.root)}},{key:"getItemStore",value:function(){return this._itemStore}},{key:"getPath",value:function(){return this._path}},{key:"getItems",value:function(){return this._items}},{key:"addItem",value:function(t){this._items.push(t)}},{key:"removeItem",value:function(t){this._items.splice(this._items.indexOf(t),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(t){this._modified=t}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&Mu(e.prototype,r),n&&Mu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Uu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wu(n.key),n)}}function Wu(t){var e=function(t,e){if("object"!=Hu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Hu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Hu(e)?e:String(e)}function Hu(t){return(Hu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Yu=function t(e,r){if(!e||!r)return void 0===r?e:r;if(Array.isArray(e)&&Array.isArray(r))return[].concat(origSource[key],extSource[key]);if("object"===Hu(e)&&"object"===Hu(r)){var n={};return Object.keys(e).concat(Object.keys(r)).forEach((function(i){n[i]=t(e[i],r[i])})),n}return r},Gu=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.automaticSortAllowed=!0,this.handleErrorAs="throw",this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=e||new Lu}var e,r,n;return e=t,(r=[{key:"getTemplate",value:function(t){return this.getItem(t)}},{key:"getChildren",value:function(t,e){if(null==t)return[];var r=t.getSource(!0),n=r.content||r.items||[];if(e)return this._createItems(n,t._forceChildrenClones,t.getBundle());var i=this.getItem(r.extends);if(i){var o=t.getChildren(!0);return t.getEnhanced("items")||0===o.length?i.getChildren().concat(o):o}return t.getChildren(!0)}},{key:"getItem",value:function(t){if(null!=t)return this._registry[t]}},{key:"getItems",value:function(){var t=this;return Object.keys(this._registry).map((function(e){return t._registry[e]}))}},{key:"renameItem",value:function(t,e){if(this._registry[e])this._handleError("Cannot rename to ".concat(e," since an item with that id already exists."));else if(""!==e&&null!==e){var r=this._registry[t];r&&(delete this._registry[t],this._registry[e]=r,r.setId(e));for(var n=function r(n){var i=n.content;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.id!==t&&a["@id"]!==t||(a.id=e,delete a["@id"]),a.content&&r(a)}},i=this.getItems(),o=0;o<i.length;o++){var a=i[o];a instanceof Bi&&n(a._source)}}else this._handleError("Cannot give an item an empty string or null as id.")}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(t){return this._registryByProperty[t]}},{key:"detectTemplate",value:function(t,e,r){return wa(t,e,this,r)}},{key:"registerBundle",value:function(t){t.itemStore=this;var e=new Vu(t);this._bundles.push(e),t.source&&t.source.namespaces&&f(t.source.namespaces);var r=t.source.templates||t.source.auxilliary;return r instanceof Array&&this._createItems(r,!1,e),"object"===Hu(t.source.cachedChoices)&&this._ontologyStore.importRegistry(t.source.cachedChoices),e}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(t){return this.registerBundle({source:t}).getRoot()}},{key:"createTemplateFromChildren",value:function(t){var e=this,r=(t||[]).map((function(t){return"string"==typeof t?e.getItem(t):t}));return new Bi({source:{},children:r,itemStore:this})}},{key:"setPriorities",value:function(t){this.priorities=t}},{key:"createExtendedSource",value:function(t,e){var r=Object.assign({},t,e);return e.enhanced&&(!0===e.enhanced?Object.keys(t).concat(Object.keys(e)):Object.keys(e.enhanced)).forEach((function(n){r[n]=Yu(t[n],e[n])})),r._extendedSource=e,r.extends=null,delete r.children,r}},{key:"createItem",value:function(t,e,r,n){var i,o=t.id||t["@id"],a=t.type||t["@type"];if(t.extends){var s=this._registry[t.extends];if(null==s&&this._handleError("Cannot find item to extend with id: ".concat(t.extends)),s){var u=this.createExtendedSource(s.getSource(),t);return this.createItem(u,!1,!1,n)}}if(null!=a){switch(a){case"text":i=new no({source:t,itemStore:this,bundle:n});break;case"choice":i=new po({source:t,itemStore:this,ontologyStore:this._ontologyStore,bundle:n});break;case"group":i=new Bi({source:t,children:null,itemStore:this,bundle:n});break;case"propertygroup":i=new Xi({source:t,children:null,itemStore:this,bundle:n})}return!0!==r&&(null!=t.property&&(this._registryByProperty[t.property]=i,this.priorities&&null!=this.priorities[t.property]&&(i.priority=this.priorities[t.property])),null!=o&&null==this._registry[o]&&(this._registry[o]=i,null!=n&&n.addItem(i))),i}if(null!=o){if(null!=this._registry[o]){if(!0===e||Object.keys(t).find((function(t){return"id"!==t&&"@id"!==t}))){var l=Object.assign(Object.assign({},this._registry[o]._source),t);return this.createItem(l,!1,!0)}return this._registry[o]}this._handleError("Cannot find referenced subitem using identifier: ".concat(o))}else this._handleError("Cannot create subitem, `type` for creating new or `id` for referencing external are required.")}},{key:"removeItem",value:function(t,e){var r=t.getBundle();null!=r&&r.removeItem(t),null!=t.getId()&&delete this._registry[t.getId()];var n=t.getProperty();null!=n&&this._registryByProperty[n]===t&&delete this._registryByProperty[n]}},{key:"_createItems",value:function(t,e,r){var n=this;return t.map((function(i,o){var a="string"==typeof i?t[o]={id:i}:i;return n.createItem(a,e,!1,r)})).filter((function(t){return t}))}},{key:"_handleError",value:function(t){if("throw"===this.handleErrorAs)throw new Error(t);console[this.handleErrorAs](t)}}])&&Uu(e.prototype,r),n&&Uu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(73964),r(58373),r(66793),r(7629),r(77509);function $u(t){return($u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function qu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */qu=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new C(n||[]);return i(a,"_invoke",{value:T(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var d="suspendedStart",h="executing",p="completed",g={};function y(){}function v(){}function m(){}var b={};l(b,a,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(P([])));_&&_!==r&&n.call(_,a)&&(b=_);var x=m.prototype=y.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,o,a,s){var u=f(t[i],t,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==$u(c)&&n.call(c,"__await")?e.resolve(c.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(c).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return o=o?o.then(i,i):i()}})}function T(e,r,n){var i=d;return function(o,a){if(i===h)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=f(e,r,n);if("normal"===l.type){if(i=n.done?p:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError($u(e)+" is not iterable")}return v.prototype=m,i(x,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:v,configurable:!0}),v.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},S(E.prototype),l(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new E(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),l(x,u,"Generator"),l(x,a,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function zu(t,e,r,n,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Xu(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){zu(o,n,i,a,s,"next",t)}function s(t){zu(o,n,i,a,s,"throw",t)}a(void 0)}))}}var Qu=function(t,e,r){var n="Fetching template bundle ".concat(r," failed.");if(t===e-1)throw Error("".concat(n," Cannot recover from this, please fix."));console.log("".concat(n," Will try to fetch from a fallback option."))},Zu=function(){var t=Xu(qu().mark((function t(e){var r,n,i,o,a;return qu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.length,o=0;case 2:if(!(o<r)){t.next=34;break}return t.prev=3,t.next=6,fetch(e[o]);case 6:n=t.sent,t.next=12;break;case 9:throw t.prev=9,t.t0=t.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(e[o]));case 12:if(!n||!n.ok){t.next=30;break}if(t.prev=13,!(a=n.headers.has("content-type")&&n.headers.get("content-type"))||!a.includes("application/json")){t.next=22;break}return t.next=18,n.json();case 18:return i=t.sent,t.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(e[o],". Expected a JSON file and got ").concat(a));case 23:t.next=28;break;case 25:t.prev=25,t.t1=t.catch(13),Qu(o,r,e[o]);case 28:t.next=31;break;case 30:Qu(o,r,e[o]);case 31:o++,t.next=2;break;case 34:return t.abrupt("return",i);case 35:case"end":return t.stop()}}),t,null,[[3,9],[13,25]])})));return function(e){return t.apply(this,arguments)}}(),Ju=function(t){return t.map((function(t){return t instanceof Array?Zu(t):Promise.resolve(t)}))},Ku=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.map((function(e){return t.registerBundle({source:e})}))};const tl=function(){var t=Xu(qu().mark((function t(e){var r,n,i,o,a,s=arguments;return qu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:[],n=s.length>2&&void 0!==s[2]?s[2]:function(){},0===r.length&&n&&n([]),i=Ju(r),t.next=6,Promise.all(i);case 6:return o=t.sent,a=Ku(e,o),n(a),t.abrupt("return",a);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})(),n})());
51
+ */function r(t){return t>=65&&t<=90||95===t||t>=97&&t<=122||t>=192&&t<=214||t>=216&&t<=246||t>=248&&t<=767||t>=880&&t<=893||t>=895&&t<=8191||t>=8204&&t<=8205||t>=8304&&t<=8591||t>=11264&&t<=12271||t>=12289&&t<=55295||t>=63744&&t<=64975||t>=65008&&t<=65533||t>=65536&&t<=983039}Object.defineProperty(e,"__esModule",{value:!0}),e.NC_NAME_START_CHAR="A-Z_a-zÀ-ÖØ-öø-˿Ͱ-ͽͿ-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�𐀀-󯿿",e.NC_NAME_CHAR="-"+e.NC_NAME_START_CHAR+".0-9·̀-ͯ‿-⁀",e.NC_NAME_START_CHAR_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]$","u"),e.NC_NAME_CHAR_RE=new RegExp("^["+e.NC_NAME_CHAR+"]$","u"),e.NC_NAME_RE=new RegExp("^["+e.NC_NAME_START_CHAR+"]["+e.NC_NAME_CHAR+"]*$","u"),e.isNCNameStartChar=r,e.isNCNameChar=function(t){return r(t)||45===t||46===t||t>=48&&t<=57||183===t||t>=768&&t<=879||t>=8255&&t<=8256}},22134:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAAZiS0dEAP8A/wD/oL2nkwAAAAlwSFlzAAAN1wAADdcBQiibeAAAAAd0SU1FB9sHEgk6F1W2ZXkAAAMkSURBVDjLhZNfSN11GMY/7/f7O+eox+W/CGbptmTJGptTWgwGmWW6xQKtga2g0U30D5rdSEFFN60RbQV1IURd9GeuiyWxShd6JtO8ydha5i6WJNtkarGcHc8539/v+3u7EF1d9Vy9D8/zPvDC+8C/8GTPGP+H93sH/sNldTjwyhjHD+8GoO3ZwZfqNt56MJ1ONqgii0vL5yenrnw6/tljRwE6Dp2iu3Mdzc3NKwGryw89M9C0pX79xM6mDaRLUhhjsEZIJIRcPmIw8wvXLk+393/Qdfq19wZobSxGut48w4k37mfPc983NTXUTmzdUo33XkFk+6YURoSLsxHJhNV16ZQMnZ1ifubXAx+9tb/v61NDN094/sg5bWqoxXuv1hoCazjYWg7AidG/MUYwRriltFiO94/z6iP5OzbvePCqBejozhzatrVmj/eqcYzEqpJ3scwshHLxipNsPhZVFVXEhZFurLlNPj45WXd+7Mu+AKCqovQpjcG5SKw1asTIw/eWs7Ts1YjIxKUczolaG4u3hlQqQbK0fK/qTyUGwFizreA8Bee14Dy5fKRjF27ojroStt9ZrGHkNQw9zsXqnCd0Hq+pZDiX3RQAeB9LGHpEkDhW4lj4c9GhqgCEYYyqICbGeoMYQxzHZAsmHQAUXPhzwflGI2CtahCI5AVAFFRc6IkVNcaINaoiRix5kkHp9QAgm13+PJd3jYmEVRsrPhbN5b2AAuhfNxxFSYuxqoEVsrmIitTybEl1/bQB6D/W+u7CwnWiSMWFEQaVlx+vQUQQEXmhs1pACV0kiGH8x0n2N1f0imz0wbFPTtP9dBtlqaX2+T/MYFVFuWRzkX4ztiDGCCKi1qx8YjKR0B8mfpN9jX7qrvXB22tdeKJnkC+OtNPzznddl+aK+srKK0kmAgIrWGswYgi9Z3rmdzp36tSj91U+ULVh17Xh4eGVgJGREUYuFHj9xTamJ4dvP3oy9+FiLrF3uWCSCqRTIdXlbrZjd1lvfU3R4craXWEmk6GlpeVmLYeGhvjq2zNrXPVccTQ/evfi5bP3ZK+Oblads6taJpNZ8/0Dy3R3nlDQL+wAAAAASUVORK5CYII="},43348:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAG6SURBVDiNpZI9a1NRHIefc+45J0l7E1NaF4cE0cHMClYQRRCh38DNIfoBxMXFFl06CRb0CxTBSQdBRAcXsUN9AUGQijaggihe01ybmzT3vDiIIpirFv/r7+Hh/yZCCPxPyaLgwurZ68dutwbH7+xLll8tXSviRFEHJ+/N+bndJ8TIDXmePLFXD9/U2+rg6cfHwushpYri5cYLVcQVBrl3fN3KEFIycq4I+ykQQATYH4F1nnQ0QCDI7W8CBTggKID23fZiJ+2ce/ThoTKRwqgIHUmyfIgUgi2XM3urGSpaUzGa/TsP2UatefnM3oXzIoSAXtSfTx84NU3kCJFHSPFd4FOkENRVHSkVJWKSfo80+0I+uZ7cOPpsRgFYa1lPOiij0OWIWilGS0HfbRJJ0EGTjTLWkjf0BgOmTJUZM/plB575+68fXEGhUaCVxEQRs80Wk8aw8naVslaUlKIaK7RJc2vVPPzhD8pLOhzZ02JqosxKZ4137Z4YxxX+gfOe3OVIAbn3fz3jWMGnzR5BeKzbtuCibMT18L7bFd1+Tmx32PFc4QgL/uB0dRkY7ppobNR87VKRoHCJ/1rfAF8ir6zXPA5QAAAAAElFTkSuQmCC"},59636:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAABuwAAAbsBOuzj4gAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAIXSURBVDiNpZM9aBNxGMafN80Rm49ekktS83H5IMHSUjscFcGCtQg1iRA1OAtOgmBHiVvq1EEIFB0c0r0IpVwWFx0MOIggaIci2FaTq2LtqW1MyeV6f6cLZ9pF+oz/931+PC8Pf2KM4SSyncjdD1ghkt7cvvV9leNy/YurHJf78OB+c4VIOhawTCT5J8denRkdC0aLWfkZUdYyy4Wz03I8GIyevjJdX7ZAegANWEpOnncdNLcRS47aw/lLtSpRvkJ0zXn5Qk0cmbC3txrIzOadGrBk+uwWQGmt/rKWHD9nB7MhEE7ZNy625F3DoNlExqY2FAw4Hfj24r2uASXTR9YWnhJlh0eickzMcIbGYPO6ccAMODsGHIkItt6+7irvPhbuMPb8WAAALBJlI5lhORKMcocagRwO6KyDr8qn7s6XX4U5i/mfE0x1AGhaF/r6OvSfbRCAAZ8TzHMKnf7l/gQLRFkxIcjj+x0OagttvxsEYFBtAX431jyD3cbnnULJkqLXwjxRTkxF5KmWzglqCy7Biyc8zxZ5L3MFfBDUFqb+HHJiOi4v8PzVIwAWDz2eGfJyod3fcAf8qHh5Q9hUir7N5s0KzxvuoIDQDxUzniGOF8VHvdiMMTDGUAakaiK2p0hnWTmd0ueA6+bsLlCcT6d0RZpg1URsrwxI5qwHMCEPM9GNe8AN67sJqedz21YzY+xojf+rE//Gv3sS6xhM1kjhAAAAAElFTkSuQmCC"},65230:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAABIAAAASABGyWs+AAAACXZwQWcAAAAQAAAAEABcxq3DAAACGUlEQVQ4y52TTUhUcRTFf//3n/FjZsxmQsOvmtJF5VQ6i3IsaaJcVIs24UKIIKRNuGrboihaRWQptbVtmLvCWgyZWJRlNimUaKajMH1gWprzfO/dFiYozgR54WzuPedwOZcL/6jDtXjq68hlPRXejRqM0TPwhK51Gdy6QoNM5oqTyHFaLnP8v8TRCFmJPobly0GRZI2MvSBeX4dOxzXSNZsaaS4pLqrA8IMuYOuWwtDpUzSl46pohOxohGhVJdVlxVQHNlJdVuorN7L3GSjvEkt+4iy8sscTc8PTM7ydmKJ/YIg3sV6eqjvXOH+uUbWii8EVBJUPKu22IBbILFgjYCdpa5czem6eeHiXOlAQcG8TXY7gQkRlgEbEjZhj9MdTD1vbuajHEljjkzwI7zSP+H2zJaiiJbLDWtgOznwfQx9+dF+66Zzs6ialAYbHMJNf6QzvSJ3I81iFqELEUWtg/37PyGjy9dU251jnY36tukJHl3yP9cpd23SwLZUepkPPS27ffyQzyzrXyow2bTBKbcuLs6iWU1s+1t8Mvfh9RtlKzSqDgE8HHdsDpiDmFJL6BBio7CAqqwixPPi9OpjRINdlBBdnP4OM8G16Yep53GpR4K7dO9gcyB/djDLIcRmZDcQy8sYn5j8+G1i83hEz7/W+s1MANSF9o+GoffZQlfuCWIYv4w9EQq78PRXayDQPbdd6f6XesLL3By3z9hHiEQ65AAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDEwLTAyLTExVDAxOjIwOjIxLTA2OjAwtZnToAAAACV0RVh0ZGF0ZTptb2RpZnkAMjAwNi0xMC0wMVQwMDo1NjoyNi0wNTowMJWSAJ0AAAAASUVORK5CYII="},98388:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACJUlEQVQ4jaWTO2hVQRCGv5k959yb+zg3MUQNEt+QwlejkCIRAhEhBGxSWAkWksLGgKWNjTYqEhDS24qgQoJWNhGxMWBjIxYKQTQPE9HknrM7FucmxiiiON0u/3z8/8wu/GfJ5sPA+VQP9pVPlyu6/cu8f3L30se5vwacGu+o9hwpPYoTBuNEiBP5bLkN3x6de/YngAIMjLXXOvfFU1nTBrMmZJmRZ9bQWKbH73f3r4vP3exMJl7vHrs2s+vA+l0E0LEnnsianAQrbImgYqiSxiWZvvywe3jhXf6it690L3gbad/pXgFHNwDNNRsxAzMBDFFQFdSBi6glZZnqOZzMGtLvYsECe3+K0FzjbdY08szIM/AZ5Dn43AjBKJWlJkJ/z35HvaEEozZ6pcNtAL4u+bGsyUKeFU3eG8EbwcO2LkfvsZhDxxMqNUUdmCFtdU03AM8nF2dXl/2QDzbvAwQPIUAwqDaErAmihWXnAINyTX4AAGbuLL5cWwlDwKdiHoXYabEVn7cyu2LU5bo2fgIAPL21MEuwIVHWAJKStGYB3lsLKgjQVvsNACBK9IIIJRGI4laUYFhoOVBAoJJq+gvgzPWuq6JcFCmEqlI0tiIVbwRUoNIoHESbAS4SFyeF9aQkrH4zPrz3LC8IlXqgmipRDC4CdazAls8EcOJsfUdbXTsqqaa1dm1U2zVNO7WRdro07dK0rapp5HjzeHJ58sGNJdva/8/1HRdPyP0VYmT/AAAAAElFTkSuQmCC"},82777:t=>{"use strict";t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAACnklEQVQ4jY2SX0hTYRjG39VEQl2RN2UXZQRFd0EIEUH/BhVBZCSEeFMpQSgVjc3/VhSCXUSBWSG5bipDU1IoCVEa6JTUzvGsZrP5Z9NtHre5qZubO0/fNylqDOqFh8P5OO/vfb73PES8UjYQnagh0g2TSi9kkF7Qkl7MZc9slV4kKuogyj5IyYs35xtJZRA16wxiQ3qlFNY+s+NM0wR21loVdm5Wl4o5HE67jycBHL7Bp2rYh8PFbU74l6NYjSlxxRQFraIfmbcsoZQyUUvX+4nSMhMA7JA1N/DmSHQVzkAMdp+C6QUF7kUF4WgM/ROLSCkbdTOHGjpQmADQf8ngtueDYXyXoxhxrcLiiWFsPgabl8NicXDBqymoDEIRnXuYCBC0x56MI7gUQvePFZgmV2B2RDA0E8HIbDQud2AFxgEZbLHP6UJjIkDMPd04DtkfRItlCR3WZXTZOCyEHvua7PIyXn+e44DmJAAhe/u9r4rP70ezuADjSAAvhSDejDKgFESrJQiXN4DyTgcH1FB+UwJAN8RdmF/0OWF1yKg3e/Go34fHAz48HfRh0O6F7PVj7/0xsCWWsIFE+/P/AJx9wF3kbKqWQh+EGUzPuGEac6PX6oHN4YHLI6NdWkDdJy82VlsiDJL3N0STRXS1m2VB1KpLR915RhvqeybRZJqCrs2OPXVW3O6WUWvyoeKjjIykkM07iC63cycadp2i+Lb5wvid9WKJhjXdfO+BrmsOJZ1upFdJHHI+ns7fpVpPtOsI0VEd0ak7azrJdK2f7ygvvcoSudLuwiWmi29nkVohhdnArCTZTqht+1hazXFIWqUUKWhxovDdLLbe/cb+inDo34AESGq5FN7Cmw1iH3tX/x/gF6S4l+K2+WS9oOah+glT18LOvPJgZQAAAABJRU5ErkJggg=="},44517:(t,e,r)=>{"use strict";var n=r(17405),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},67651:(t,e,r)=>{"use strict";var n=r(74333),i=r(22773),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},59747:(t,e,r)=>{"use strict";var n=r(26633),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},30689:(t,e,r)=>{"use strict";var n=r(96418),i=r(25094),o=r(20341).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},70280:(t,e,r)=>{"use strict";var n=r(76598).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},21141:(t,e,r)=>{"use strict";var n=r(94125),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},2955:(t,e,r)=>{"use strict";var n=r(87181),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},74585:(t,e,r)=>{"use strict";var n=r(32479);t.exports=n((function(){if("function"==typeof ArrayBuffer){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}))},86348:(t,e,r)=>{"use strict";var n=r(80364).forEach,i=r(61116)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},59140:(t,e,r)=>{"use strict";var n=r(86658),i=r(19710),o=r(12154),a=function(t){return function(e,r,a){var s=n(e),u=o(s);if(0===u)return!t&&-1;var l,c=i(a,u);if(t&&r!=r){for(;u>c;)if((l=s[c++])!=l)return!0}else for(;u>c;c++)if((t||c in s)&&s[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},80364:(t,e,r)=>{"use strict";var n=r(69299),i=r(3271),o=r(60586),a=r(69271),s=r(12154),u=r(63918),l=i([].push),c=function(t){var e=1===t,r=2===t,i=3===t,c=4===t,f=6===t,d=7===t,h=5===t||f;return function(p,g,y,v){for(var m,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=v||u,k=e?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(m=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:l(k,m)}else switch(t){case 4:return!1;case 7:l(k,m)}return f?-1:i||c?c:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},74502:(t,e,r)=>{"use strict";var n=r(32479),i=r(96418),o=r(59459),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},61116:(t,e,r)=>{"use strict";var n=r(32479);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},98e3:(t,e,r)=>{"use strict";var n=r(24952),i=r(9739),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},50386:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n([].slice)},26402:(t,e,r)=>{"use strict";var n=r(50386),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=t[u];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var l=i(r/2),c=o(n(t,0,l),e),f=o(n(t,l),e),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)t[p+g]=p<d&&g<h?e(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return t};t.exports=o},83225:(t,e,r)=>{"use strict";var n=r(9739),i=r(74333),o=r(87181),a=r(96418)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},63918:(t,e,r)=>{"use strict";var n=r(83225);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},48377:(t,e,r)=>{"use strict";var n=r(96418)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},27579:(t,e,r)=>{"use strict";var n=r(3271),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},24230:(t,e,r)=>{"use strict";var n=r(42066),i=r(17405),o=r(27579),a=r(96418)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},36776:(t,e,r)=>{"use strict";var n=r(25094),i=r(49839),o=r(85640),a=r(69299),s=r(21141),u=r(41838),l=r(4302),c=r(18434),f=r(71620),d=r(70928),h=r(24952),p=r(58157).fastKey,g=r(69933),y=g.set,v=g.getterFor;t.exports={getConstructor:function(t,e,r,c){var f=t((function(t,i){s(t,d),y(t,{type:e,index:n(null),first:void 0,last:void 0,size:0}),h||(t.size=0),u(i)||l(i,t[c],{that:t,AS_ENTRIES:r})})),d=f.prototype,g=v(e),m=function(t,e,r){var n,i,o=g(t),a=b(t,e);return a?a.value=r:(o.last=a={index:i=p(e,!0),key:e,value:r,previous:n=o.last,next:void 0,removed:!1},o.first||(o.first=a),n&&(n.next=a),h?o.size++:t.size++,"F"!==i&&(o.index[i]=a)),t},b=function(t,e){var r,n=g(t),i=p(e);if("F"!==i)return n.index[i];for(r=n.first;r;r=r.next)if(r.key===e)return r};return o(d,{clear:function(){for(var t=g(this),e=t.first;e;)e.removed=!0,e.previous&&(e.previous=e.previous.next=void 0),e=e.next;t.first=t.last=void 0,t.index=n(null),h?t.size=0:this.size=0},delete:function(t){var e=g(this),r=b(this,t);if(r){var n=r.next,i=r.previous;delete e.index[r.index],r.removed=!0,i&&(i.next=n),n&&(n.previous=i),e.first===r&&(e.first=n),e.last===r&&(e.last=i),h?e.size--:this.size--}return!!r},forEach:function(t){for(var e,r=g(this),n=a(t,arguments.length>1?arguments[1]:void 0);e=e?e.next:r.first;)for(n(e.value,e.key,this);e&&e.removed;)e=e.previous},has:function(t){return!!b(this,t)}}),o(d,r?{get:function(t){var e=b(this,t);return e&&e.value},set:function(t,e){return m(this,0===t?0:t,e)}}:{add:function(t){return m(this,t=0===t?0:t,t)}}),h&&i(d,"size",{configurable:!0,get:function(){return g(this).size}}),f},setStrong:function(t,e,r){var n=e+" Iterator",i=v(e),o=v(n);c(t,e,(function(t,e){y(this,{type:n,target:t,state:i(t),kind:e,last:void 0})}),(function(){for(var t=o(this),e=t.kind,r=t.last;r&&r.removed;)r=r.previous;return t.target&&(t.last=r=r?r.next:t.state.first)?f("keys"===e?r.key:"values"===e?r.value:[r.key,r.value],!1):(t.target=void 0,f(void 0,!0))}),r?"entries":"values",!r,!0),d(e)}}},57902:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(3271),a=r(25135),s=r(67089),u=r(58157),l=r(4302),c=r(21141),f=r(17405),d=r(41838),h=r(87181),p=r(32479),g=r(48377),y=r(38565),v=r(23885);t.exports=function(t,e,r){var m=-1!==t.indexOf("Map"),b=-1!==t.indexOf("Weak"),w=m?"set":"add",_=i[t],x=_&&_.prototype,S=_,E={},T=function(t){var e=o(x[t]);s(x,t,"add"===t?function(t){return e(this,0===t?0:t),this}:"delete"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:"get"===t?function(t){return b&&!h(t)?void 0:e(this,0===t?0:t)}:"has"===t?function(t){return!(b&&!h(t))&&e(this,0===t?0:t)}:function(t,r){return e(this,0===t?0:t,r),this})};if(a(t,!f(_)||!(b||x.forEach&&!p((function(){(new _).entries().next()})))))S=r.getConstructor(e,t,m,w),u.enable();else if(a(t,!0)){var k=new S,O=k[w](b?{}:-0,1)!==k,A=p((function(){k.has(1)})),C=g((function(t){new _(t)})),P=!b&&p((function(){for(var t=new _,e=5;e--;)t[w](e,e);return!t.has(-0)}));C||((S=e((function(t,e){c(t,x);var r=v(new _,t,S);return d(e)||l(e,r[w],{that:r,AS_ENTRIES:m}),r}))).prototype=x,x.constructor=S),(A||P)&&(T("delete"),T("has"),m&&T("get")),(P||O)&&T(w),b&&x.clear&&delete x.clear}return E[t]=S,n({global:!0,constructor:!0,forced:S!==_},E),y(S,t),b||r.setStrong(S,t,m),S}},29726:(t,e,r)=>{"use strict";var n=r(74633),i=r(74730),o=r(67537),a=r(20341);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},33752:(t,e,r)=>{"use strict";var n=r(96418)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},39159:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},71620:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},25298:(t,e,r)=>{"use strict";var n=r(24952),i=r(20341),o=r(31433);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},31433:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},25508:(t,e,r)=>{"use strict";var n=r(24952),i=r(20341),o=r(31433);t.exports=function(t,e,r){n?i.f(t,e,o(0,r)):t[e]=r}},8448:(t,e,r)=>{"use strict";var n=r(2955),i=r(90319),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},49839:(t,e,r)=>{"use strict";var n=r(51893),i=r(20341);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},67089:(t,e,r)=>{"use strict";var n=r(17405),i=r(20341),o=r(51893),a=r(48213);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},85640:(t,e,r)=>{"use strict";var n=r(67089);t.exports=function(t,e,r){for(var i in e)n(t,i,e[i],r);return t}},48213:(t,e,r)=>{"use strict";var n=r(32451),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},47008:(t,e,r)=>{"use strict";var n=r(22773),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},24952:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},82116:(t,e,r)=>{"use strict";var n=r(32451),i=r(87181),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},93409:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},16411:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},75427:(t,e,r)=>{"use strict";var n=r(82116)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},6256:(t,e,r)=>{"use strict";var n=r(70707).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},97384:(t,e,r)=>{"use strict";var n=r(73529),i=r(55089);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},73529:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},6956:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/MSIE|Trident/.test(n)},60700:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},3865:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},55089:(t,e,r)=>{"use strict";var n=r(32451),i=r(27579);t.exports="process"===i(n.process)},20874:(t,e,r)=>{"use strict";var n=r(70707);t.exports=/web0s(?!.*chrome)/i.test(n)},70707:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},59459:(t,e,r)=>{"use strict";var n,i,o=r(32451),a=r(70707),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},18216:(t,e,r)=>{"use strict";var n=r(70707).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},51410:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},32162:(t,e,r)=>{"use strict";var n=r(32451),i=r(67537).f,o=r(25298),a=r(67089),s=r(48213),u=r(29726),l=r(25135);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},32479:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},44896:(t,e,r)=>{"use strict";r(9081);var n=r(5234),i=r(67089),o=r(40387),a=r(32479),s=r(96418),u=r(25298),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=/./[d],y=e(d,""[t],(function(t,e,r,i,a){var s=e.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},3369:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){return Object.isExtensible(Object.preventExtensions({}))}))},83483:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},69299:(t,e,r)=>{"use strict";var n=r(21678),i=r(44517),o=r(59117),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},59117:(t,e,r)=>{"use strict";var n=r(32479);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},5428:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517),o=r(87181),a=r(74633),s=r(50386),u=r(59117),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},5234:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},74251:(t,e,r)=>{"use strict";var n=r(24952),i=r(74633),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},48891:(t,e,r)=>{"use strict";var n=r(3271),i=r(44517);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},21678:(t,e,r)=>{"use strict";var n=r(27579),i=r(3271);t.exports=function(t){if("Function"===n(t))return i(t)}},3271:(t,e,r)=>{"use strict";var n=r(59117),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},24289:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},44128:(t,e,r)=>{"use strict";var n=r(24230),i=r(37961),o=r(41838),a=r(78230),s=r(96418)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},599:(t,e,r)=>{"use strict";var n=r(5234),i=r(44517),o=r(2955),a=r(22773),s=r(44128),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},44291:(t,e,r)=>{"use strict";var n=r(3271),i=r(9739),o=r(17405),a=r(27579),s=r(73247),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||u(r,s(l))}var c=r.length,f=!0;return function(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},37961:(t,e,r)=>{"use strict";var n=r(44517),i=r(41838);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},93315:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l}))}},32451:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},74633:(t,e,r)=>{"use strict";var n=r(3271),i=r(69271),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},99295:t=>{"use strict";t.exports={}},14735:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},29227:(t,e,r)=>{"use strict";var n=r(24289);t.exports=n("document","documentElement")},8338:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(82116);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},60586:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(27579),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},23885:(t,e,r)=>{"use strict";var n=r(17405),i=r(87181),o=r(70210);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},6273:(t,e,r)=>{"use strict";var n=r(3271),i=r(17405),o=r(19321),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},58157:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(99295),a=r(87181),s=r(74633),u=r(20341).f,l=r(6076),c=r(93982),f=r(39483),d=r(66871),h=r(3369),p=!1,g=d("meta"),y=0,v=function(t){u(t,g,{value:{objectID:"O"+y++,weakData:{}}})},m=t.exports={enable:function(){m.enable=function(){},p=!0;var t=l.f,e=i([].splice),r={};r[g]=1,t(r).length&&(l.f=function(r){for(var n=t(r),i=0,o=n.length;i<o;i++)if(n[i]===g){e(n,i,1);break}return n},n({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:c.f}))},fastKey:function(t,e){if(!a(t))return"symbol"==typeof t?t:("string"==typeof t?"S":"P")+t;if(!s(t,g)){if(!f(t))return"F";if(!e)return"E";v(t)}return t[g].objectID},getWeakData:function(t,e){if(!s(t,g)){if(!f(t))return!0;if(!e)return!1;v(t)}return t[g].weakData},onFreeze:function(t){return h&&p&&f(t)&&!s(t,g)&&v(t),t}};o[g]=!0},69933:(t,e,r)=>{"use strict";var n,i,o,a=r(75237),s=r(32451),u=r(87181),l=r(25298),c=r(74633),f=r(19321),d=r(69683),h=r(99295),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var v=d("state");h[v]=!0,n=function(t,e){if(c(t,v))throw new p("Object already initialized");return e.facade=t,l(t,v,e),e},i=function(t){return c(t,v)?t[v]:{}},o=function(t){return c(t,v)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},45812:(t,e,r)=>{"use strict";var n=r(96418),i=r(78230),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},9739:(t,e,r)=>{"use strict";var n=r(27579);t.exports=Array.isArray||function(t){return"Array"===n(t)}},17405:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},74333:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(24230),s=r(24289),u=r(6273),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(t){if(!o(t))return!1;try{return c(l,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},25135:(t,e,r)=>{"use strict";var n=r(32479),i=r(17405),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===c||r!==l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},41838:t=>{"use strict";t.exports=function(t){return null==t}},87181:(t,e,r)=>{"use strict";var n=r(17405);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},26633:(t,e,r)=>{"use strict";var n=r(87181);t.exports=function(t){return n(t)||null===t}},87138:t=>{"use strict";t.exports=!1},53340:(t,e,r)=>{"use strict";var n=r(87181),i=r(27579),o=r(96418)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},76796:(t,e,r)=>{"use strict";var n=r(24289),i=r(17405),o=r(94125),a=r(68429),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},4302:(t,e,r)=>{"use strict";var n=r(69299),i=r(5234),o=r(2955),a=r(22773),s=r(45812),u=r(12154),l=r(94125),c=r(599),f=r(44128),d=r(71635),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,v,m,b,w,_,x,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(v=f(t)))throw new h(a(t)+" is not iterable");if(s(v)){for(m=0,b=u(t);b>m;m++)if((w=P(t[m]))&&l(g,w))return w;return new p(!1)}y=c(t,v)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},71635:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(37961);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},13653:(t,e,r)=>{"use strict";var n=r(78607).IteratorPrototype,i=r(25094),o=r(31433),a=r(38565),s=r(78230),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},18434:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(87138),a=r(74251),s=r(17405),u=r(13653),l=r(96666),c=r(70210),f=r(38565),d=r(25298),h=r(67089),p=r(96418),g=r(78230),y=r(78607),v=a.PROPER,m=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"===e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),v&&"values"===p&&j&&"values"!==j.name&&(!o&&m?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},78607:(t,e,r)=>{"use strict";var n,i,o,a=r(32479),s=r(17405),u=r(87181),l=r(25094),c=r(96666),f=r(67089),d=r(96418),h=r(87138),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a((function(){var t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},78230:t=>{"use strict";t.exports={}},12154:(t,e,r)=>{"use strict";var n=r(9641);t.exports=function(t){return n(t.length)}},51893:(t,e,r)=>{"use strict";var n=r(3271),i=r(32479),o=r(17405),a=r(74633),s=r(24952),u=r(74251).CONFIGURABLE,l=r(6273),c=r(69933),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),v=n([].join),m=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},21797:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},8783:(t,e,r)=>{"use strict";var n,i,o,a,s,u=r(32451),l=r(3318),c=r(69299),f=r(98743).set,d=r(16986),h=r(3865),p=r(60700),g=r(20874),y=r(55089),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};h||y||g||!v||!m?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(S)}):y?n=function(){b.nextTick(S)}:(f=c(f,u),n=function(){f(S)}):(i=!0,o=m.createTextNode(""),new v(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},21128:(t,e,r)=>{"use strict";var n=r(44517),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},31730:(t,e,r)=>{"use strict";var n=r(53340),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},25094:(t,e,r)=>{"use strict";var n,i=r(2955),o=r(79203),a=r(51410),s=r(99295),u=r(29227),l=r(82116),c=r(69683),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},79203:(t,e,r)=>{"use strict";var n=r(24952),i=r(22916),o=r(20341),a=r(2955),s=r(86658),u=r(32005);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},20341:(t,e,r)=>{"use strict";var n=r(24952),i=r(8338),o=r(22916),a=r(2955),s=r(50514),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},67537:(t,e,r)=>{"use strict";var n=r(24952),i=r(5234),o=r(67109),a=r(31433),s=r(86658),u=r(50514),l=r(74633),c=r(8338),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},93982:(t,e,r)=>{"use strict";var n=r(27579),i=r(86658),o=r(6076).f,a=r(50386),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},6076:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},93188:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},96666:(t,e,r)=>{"use strict";var n=r(74633),i=r(17405),o=r(69271),a=r(69683),s=r(39159),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},39483:(t,e,r)=>{"use strict";var n=r(32479),i=r(87181),o=r(27579),a=r(74585),s=Object.isExtensible,u=n((function(){s(1)}));t.exports=u||a?function(t){return!!i(t)&&((!a||"ArrayBuffer"!==o(t))&&(!s||s(t)))}:s},94125:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n({}.isPrototypeOf)},67530:(t,e,r)=>{"use strict";var n=r(3271),i=r(74633),o=r(86658),a=r(59140).indexOf,s=r(99295),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},32005:(t,e,r)=>{"use strict";var n=r(67530),i=r(51410);t.exports=Object.keys||function(t){return n(t,i)}},67109:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},70210:(t,e,r)=>{"use strict";var n=r(48891),i=r(87181),o=r(24915),a=r(59747);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return o(r),a(n),i(r)?(e?t(r,n):r.__proto__=n,r):r}}():void 0)},71447:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479),o=r(3271),a=r(96666),s=r(32005),u=r(86658),l=o(r(67109).f),c=o([].push),f=n&&i((function(){var t=Object.create(null);return t[2]=2,!l(t,2)})),d=function(t){return function(e){for(var r,i=u(e),o=s(i),d=f&&null===a(i),h=o.length,p=0,g=[];h>p;)r=o[p++],n&&!(d?r in i:l(i,r))||c(g,t?[r,i[r]]:i[r]);return g}};t.exports={entries:d(!0),values:d(!1)}},69267:(t,e,r)=>{"use strict";var n=r(42066),i=r(24230);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},90319:(t,e,r)=>{"use strict";var n=r(5234),i=r(17405),o=r(87181),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},74730:(t,e,r)=>{"use strict";var n=r(24289),i=r(3271),o=r(6076),a=r(93188),s=r(2955),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},70992:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n},62686:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},39508:(t,e,r)=>{"use strict";var n=r(32451),i=r(9967),o=r(17405),a=r(25135),s=r(6273),u=r(96418),l=r(97384),c=r(73529),f=r(87138),d=r(59459),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:g}},9967:(t,e,r)=>{"use strict";var n=r(32451);t.exports=n.Promise},16181:(t,e,r)=>{"use strict";var n=r(2955),i=r(87181),o=r(21128);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},62221:(t,e,r)=>{"use strict";var n=r(9967),i=r(48377),o=r(39508).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},16986:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},74355:(t,e,r)=>{"use strict";var n=r(5234),i=r(2955),o=r(17405),a=r(27579),s=r(40387),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},40387:(t,e,r)=>{"use strict";var n,i,o=r(5234),a=r(3271),s=r(73247),u=r(32754),l=r(62616),c=r(4999),f=r(25094),d=r(69933).get,h=r(19980),p=r(49932),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,m=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(x||E||S||h||p)&&(v=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(v,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),t.exports=v},32754:(t,e,r)=>{"use strict";var n=r(2955);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},98017:(t,e,r)=>{"use strict";var n=r(5234),i=r(74633),o=r(94125),a=r(32754),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},62616:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},19980:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},49932:(t,e,r)=>{"use strict";var n=r(32479),i=r(32451).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},24915:(t,e,r)=>{"use strict";var n=r(41838),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},3318:(t,e,r)=>{"use strict";var n=r(32451),i=r(24952),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},70928:(t,e,r)=>{"use strict";var n=r(24289),i=r(49839),o=r(96418),a=r(24952),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},38565:(t,e,r)=>{"use strict";var n=r(20341).f,i=r(74633),o=r(96418)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},69683:(t,e,r)=>{"use strict";var n=r(4999),i=r(66871),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},19321:(t,e,r)=>{"use strict";var n=r(87138),i=r(32451),o=r(48213),a=t.exports=i["__core-js_shared__"]||o("__core-js_shared__",{});(a.versions||(a.versions=[])).push({version:"3.37.0",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.37.0/LICENSE",source:"https://github.com/zloirock/core-js"})},4999:(t,e,r)=>{"use strict";var n=r(19321);t.exports=function(t,e){return n[t]||(n[t]=e||{})}},58343:(t,e,r)=>{"use strict";var n=r(2955),i=r(67651),o=r(41838),a=r(96418)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},76598:(t,e,r)=>{"use strict";var n=r(3271),i=r(65815),o=r(73247),a=r(24915),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},82834:(t,e,r)=>{"use strict";var n=r(3271),i=r(24915),o=r(73247),a=r(28628),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},41414:(t,e,r)=>{"use strict";var n=r(59459),i=r(32479),o=r(32451).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},77416:(t,e,r)=>{"use strict";var n=r(5234),i=r(24289),o=r(96418),a=r(67089);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},81836:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},98743:(t,e,r)=>{"use strict";var n,i,o,a,s=r(32451),u=r(83483),l=r(69299),c=r(17405),f=r(74633),d=r(32479),h=r(29227),p=r(50386),g=r(82116),y=r(42289),v=r(3865),m=r(55089),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},m?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!v?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},37130:(t,e,r)=>{"use strict";var n=r(3271);t.exports=n(1..valueOf)},19710:(t,e,r)=>{"use strict";var n=r(65815),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},86658:(t,e,r)=>{"use strict";var n=r(60586),i=r(24915);t.exports=function(t){return n(i(t))}},65815:(t,e,r)=>{"use strict";var n=r(21797);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},9641:(t,e,r)=>{"use strict";var n=r(65815),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},69271:(t,e,r)=>{"use strict";var n=r(24915),i=Object;t.exports=function(t){return i(n(t))}},96492:(t,e,r)=>{"use strict";var n=r(5234),i=r(87181),o=r(76796),a=r(37961),s=r(90319),u=r(96418),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},50514:(t,e,r)=>{"use strict";var n=r(96492),i=r(76796);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},42066:(t,e,r)=>{"use strict";var n={};n[r(96418)("toStringTag")]="z",t.exports="[object z]"===String(n)},73247:(t,e,r)=>{"use strict";var n=r(24230),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},22773:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},66871:(t,e,r)=>{"use strict";var n=r(3271),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},68429:(t,e,r)=>{"use strict";var n=r(41414);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},22916:(t,e,r)=>{"use strict";var n=r(24952),i=r(32479);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},42289:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},75237:(t,e,r)=>{"use strict";var n=r(32451),i=r(17405),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},82318:(t,e,r)=>{"use strict";var n=r(70992),i=r(74633),o=r(66717),a=r(20341).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},66717:(t,e,r)=>{"use strict";var n=r(96418);e.f=n},96418:(t,e,r)=>{"use strict";var n=r(32451),i=r(4999),o=r(74633),a=r(66871),s=r(41414),u=r(68429),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},28628:t=>{"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},48888:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(9739),a=r(87181),s=r(69271),u=r(12154),l=r(93409),c=r(25508),f=r(63918),d=r(74502),h=r(96418),p=r(59459),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(v(o=-1===e?a:arguments[e]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},2458:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).filter;n({target:"Array",proto:!0,forced:!r(74502)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},3925:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).find,o=r(30689),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},17554:(t,e,r)=>{"use strict";var n=r(32162),i=r(59140).includes,o=r(32479),a=r(30689);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},54458:(t,e,r)=>{"use strict";var n=r(86658),i=r(30689),o=r(78230),a=r(69933),s=r(20341).f,u=r(18434),l=r(71620),c=r(87138),f=r(24952),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(r,!1);case"values":return l(e[r],!1)}return l([r,e[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},65273:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(60586),a=r(86658),s=r(61116),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},72870:(t,e,r)=>{"use strict";var n=r(32162),i=r(80364).map;n({target:"Array",proto:!0,forced:!r(74502)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},45872:(t,e,r)=>{"use strict";var n=r(32162),i=r(9739),o=r(74333),a=r(87181),s=r(19710),u=r(12154),l=r(86658),c=r(25508),f=r(96418),d=r(74502),h=r(50386),p=d("slice"),g=f("species"),y=Array,v=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),m=s(t,p),b=s(void 0===e?p:e,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,m,b);for(n=new(void 0===r?y:r)(v(b-m,0)),f=0;m<b;m++,f++)m in d&&c(n,f,d[m]);return n.length=f,n}})},91756:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(44517),a=r(69271),s=r(12154),u=r(47008),l=r(73247),c=r(32479),f=r(26402),d=r(61116),h=r(6256),p=r(6956),g=r(59459),y=r(18216),v=[],m=i(v.sort),b=i(v.push),w=c((function(){v.sort(void 0)})),_=c((function(){v.sort(null)})),x=d("sort"),S=!c((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?m(e):m(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},15796:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(19710),a=r(65815),s=r(12154),u=r(98e3),l=r(93409),c=r(63918),f=r(25508),d=r(47008),h=r(74502)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,v,m,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(v=_+y)in b&&f(h,y,b[v]);if(h.length=n,r<n){for(y=_;y<w-n;y++)m=y+r,(v=y+n)in b?b[m]=b[v]:d(b,m);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)m=y+r-1,(v=y+n-1)in b?b[m]=b[v]:d(b,m);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},4099:(t,e,r)=>{"use strict";var n=r(74633),i=r(67089),o=r(8448),a=r(96418)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},40454:(t,e,r)=>{"use strict";var n=r(24952),i=r(74251).EXISTS,o=r(3271),a=r(49839),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(t){return""}}})},63322:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451);n({global:!0,forced:i.globalThis!==i},{globalThis:i})},17767:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5234),s=r(3271),u=r(32479),l=r(17405),c=r(76796),f=r(50386),d=r(44291),h=r(41414),p=String,g=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=v(r,e-1),i=v(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(m(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},17299:(t,e,r)=>{"use strict";var n=r(32451);r(38565)(n.JSON,"JSON",!0)},69590:(t,e,r)=>{"use strict";r(57902)("Map",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},7517:(t,e,r)=>{"use strict";r(69590)},12766:(t,e,r)=>{"use strict";r(38565)(Math,"Math",!0)},75397:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(24952),a=r(32451),s=r(70992),u=r(3271),l=r(25135),c=r(74633),f=r(23885),d=r(94125),h=r(76796),p=r(96492),g=r(32479),y=r(6076).f,v=r(67537).f,m=r(20341).f,b=r(37130),w=r(82834).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(e,r=n[i])&&!c(t,r)&&m(t,r,v(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},93900:(t,e,r)=>{"use strict";var n=r(32162),i=r(41414),o=r(32479),a=r(93188),s=r(69271);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},20539:(t,e,r)=>{"use strict";var n=r(32162),i=r(32479),o=r(69271),a=r(96666),s=r(39159);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},10373:(t,e,r)=>{"use strict";var n=r(32162),i=r(69271),o=r(32005);n({target:"Object",stat:!0,forced:r(32479)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},45195:(t,e,r)=>{"use strict";var n=r(42066),i=r(67089),o=r(69267);n||i(Object.prototype,"toString",o,{unsafe:!0})},13090:(t,e,r)=>{"use strict";var n=r(32162),i=r(71447).values;n({target:"Object",stat:!0},{values:function(t){return i(t)}})},65716:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},79901:(t,e,r)=>{"use strict";var n=r(32162),i=r(87138),o=r(39508).CONSTRUCTOR,a=r(9967),s=r(24289),u=r(17405),l=r(67089),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},54083:(t,e,r)=>{"use strict";var n,i,o,a=r(32162),s=r(87138),u=r(55089),l=r(32451),c=r(5234),f=r(67089),d=r(70210),h=r(38565),p=r(70928),g=r(44517),y=r(17405),v=r(87181),m=r(21141),b=r(58343),w=r(98743).set,_=r(8783),x=r(14735),S=r(62686),E=r(16986),T=r(69933),k=r(9967),O=r(39508),A=r(21128),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,L=k,D=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},Y=function(t,e){var r,n,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},G=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)Y(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,G(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,G(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(D=(L=function(t){m(this,D),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(D,"then",(function(t,e){var r=R(this),n=V(b(this,L));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){Y(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===L||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new L((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,D)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:L}),h(L,"Promise",!1,!0),p("Promise")},30695:(t,e,r)=>{"use strict";r(54083),r(65716),r(79901),r(72075),r(49489),r(25548)},72075:(t,e,r)=>{"use strict";var n=r(32162),i=r(5234),o=r(44517),a=r(21128),s=r(62686),u=r(4302);n({target:"Promise",stat:!0,forced:r(62221)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},49489:(t,e,r)=>{"use strict";var n=r(32162),i=r(21128);n({target:"Promise",stat:!0,forced:r(39508).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},25548:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(87138),a=r(9967),s=r(39508).CONSTRUCTOR,u=r(16181),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},80528:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(83483),a=r(5428),s=r(67651),u=r(2955),l=r(87181),c=r(25094),f=r(32479),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),v=g||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),v=o(t,f,e);return l(v)?v:f}})},9081:(t,e,r)=>{"use strict";var n=r(32162),i=r(40387);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},7741:(t,e,r)=>{"use strict";var n=r(74251).PROPER,i=r(67089),o=r(2955),a=r(73247),s=r(32479),u=r(98017),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},9807:(t,e,r)=>{"use strict";r(57902)("Set",(function(t){return function(){return t(this,arguments.length?arguments[0]:void 0)}}),r(36776))},42781:(t,e,r)=>{"use strict";r(9807)},39385:(t,e,r)=>{"use strict";var n=r(32162),i=r(3271),o=r(31730),a=r(24915),s=r(73247),u=r(33752),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},94825:(t,e,r)=>{"use strict";var n=r(76598).charAt,i=r(73247),o=r(69933),a=r(18434),s=r(71620),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},24601:(t,e,r)=>{"use strict";var n=r(83483),i=r(5234),o=r(3271),a=r(44896),s=r(32479),u=r(2955),l=r(17405),c=r(41838),f=r(65815),d=r(9641),h=r(73247),p=r(24915),g=r(70280),y=r(37961),v=r(93315),m=r(74355),b=r(96418)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=m(a,s))&&(S(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,j=0;j<O.length;j++){for(var R,N=h((k=O[j])[0]),I=w(_(f(k.index),s.length),0),L=[],D=1;D<k.length;D++)S(L,void 0===(A=k[D])?A:String(A));var M=k.groups;if(p){var F=x([N],L,I,s);void 0!==M&&S(F,M),R=h(n(i,void 0,F))}else R=v(N,s,I,L,M,i);I>=P&&(C+=T(s,P,I)+R,P=I+N.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},73220:(t,e,r)=>{"use strict";var n,i=r(32162),o=r(21678),a=r(67537).f,s=r(9641),u=r(73247),l=r(31730),c=r(24915),f=r(33752),d=r(87138),h=o("".slice),p=Math.min,g=f("startsWith");i({target:"String",proto:!0,forced:!!(d||g||(n=a(String.prototype,"startsWith"),!n||n.writable))&&!g},{startsWith:function(t){var e=u(c(this));l(t);var r=s(p(arguments.length>1?arguments[1]:void 0,e.length)),n=u(t);return h(e,r,r+n.length)===n}})},85110:(t,e,r)=>{"use strict";r(82318)("asyncIterator")},10359:(t,e,r)=>{"use strict";var n=r(32162),i=r(32451),o=r(5234),a=r(3271),s=r(87138),u=r(24952),l=r(41414),c=r(32479),f=r(74633),d=r(94125),h=r(2955),p=r(86658),g=r(50514),y=r(73247),v=r(31433),m=r(25094),b=r(32005),w=r(6076),_=r(93982),x=r(93188),S=r(67537),E=r(20341),T=r(79203),k=r(67109),O=r(67089),A=r(49839),C=r(4999),P=r(69683),j=r(99295),R=r(66871),N=r(96418),I=r(66717),L=r(82318),D=r(77416),M=r(38565),F=r(69933),B=r(80364).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,Y=i.Symbol,G=Y&&Y.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=S.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),tt=C("symbols"),et=C("op-symbols"),rt=C("wks"),nt=!z||!z.prototype||!z.prototype.findChild,it=function(t,e,r){var n=X(H,e);n&&delete H[e],Q(t,e,r),n&&t!==H&&Q(H,e,n)},ot=u&&c((function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?it:Q,at=function(t,e){var r=tt[t]=m(G);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===H&&st(et,e,r),h(t);var n=g(e);return h(r),f(tt,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=m(r,{enumerable:v(0,!1)})):(f(t,V)||Q(t,V,v(1,m(null))),t[V][n]=!0),ot(t,n,r)):Q(t,n,r)},ut=function(t,e){h(t);var r=p(e),n=b(r).concat(dt(r));return B(n,(function(e){u&&!o(lt,r,e)||st(t,e,r[e])})),t},lt=function(t){var e=g(t),r=o(J,this,e);return!(this===H&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,V)&&this[V][e])||r)},ct=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(tt,n)||f(et,n)){var i=X(r,n);return!i||!f(tt,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},ft=function(t){var e=Z(p(t)),r=[];return B(e,(function(t){f(tt,t)||f(j,t)||K(r,t)})),r},dt=function(t){var e=t===H,r=Z(e?et:p(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(H,t)||K(n,tt[t])})),n};l||(O(G=(Y=function(){if(d(G,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){var n=void 0===this?i:this;n===H&&o(r,et,t),f(n,V)&&f(n[V],e)&&(n[V][e]=!1);var a=v(1,t);try{ot(n,e,a)}catch(t){if(!(t instanceof $))throw t;it(n,e,a)}};return u&&nt&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(Y,"withoutSetter",(function(t){return at(R(t),t)})),k.f=lt,E.f=st,T.f=ut,S.f=ct,w.f=_.f=ft,x.f=dt,I.f=function(t){return at(N(t),t)},u&&(A(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),B(b(rt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ft}),D(),M(Y,"Symbol"),j[V]=!0},14223:(t,e,r)=>{"use strict";var n=r(32162),i=r(24952),o=r(32451),a=r(3271),s=r(74633),u=r(17405),l=r(94125),c=r(73247),f=r(49839),d=r(29726),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var v="Symbol(description detection)"===String(h("description detection")),m=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=m(this);if(s(g,t))return"";var e=b(t),r=v?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},51071:(t,e,r)=>{"use strict";var n=r(32162),i=r(24289),o=r(74633),a=r(73247),s=r(4999),u=r(81836),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},58965:(t,e,r)=>{"use strict";r(82318)("iterator")},49361:(t,e,r)=>{"use strict";r(10359),r(51071),r(57627),r(17767),r(93900)},57627:(t,e,r)=>{"use strict";var n=r(32162),i=r(74633),o=r(76796),a=r(22773),s=r(4999),u=r(81836),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},64120:(t,e,r)=>{"use strict";var n=r(82318),i=r(77416);n("toPrimitive"),i()},67483:(t,e,r)=>{"use strict";var n=r(24289),i=r(82318),o=r(38565);i("toStringTag"),o(n("Symbol"),"Symbol")},74289:(t,e,r)=>{"use strict";r(63322)},83500:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(86348),s=r(25298),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},56270:(t,e,r)=>{"use strict";var n=r(32451),i=r(16411),o=r(75427),a=r(54458),s=r(25298),u=r(38565),l=r(96418)("iterator"),c=a.values,f=function(t,e){if(t){if(t[l]!==c)try{s(t,l,c)}catch(e){t[l]=c}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")},10509:(t,e,r)=>{"use strict";var n=r(69985),i=r(23691),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a function")}},52655:(t,e,r)=>{"use strict";var n=r(19429),i=r(23691),o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not a constructor")}},23550:(t,e,r)=>{"use strict";var n=r(60598),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o("Can't set "+i(t)+" as a prototype")}},87370:(t,e,r)=>{"use strict";var n=r(44201),i=r(25391),o=r(72560).f,a=n("unscopables"),s=Array.prototype;void 0===s[a]&&o(s,a,{configurable:!0,value:i(null)}),t.exports=function(t){s[a][t]=!0}},71514:(t,e,r)=>{"use strict";var n=r(10730).charAt;t.exports=function(t,e,r){return e+(r?n(t,e).length:1)}},767:(t,e,r)=>{"use strict";var n=r(23622),i=TypeError;t.exports=function(t,e){if(n(e,t))return t;throw new i("Incorrect invocation")}},85027:(t,e,r)=>{"use strict";var n=r(48999),i=String,o=TypeError;t.exports=function(t){if(n(t))return t;throw new o(i(t)+" is not an object")}},57612:(t,e,r)=>{"use strict";var n=r(2960).forEach,i=r(16834)("forEach");t.exports=i?[].forEach:function(t){return n(this,t,arguments.length>1?arguments[1]:void 0)}},21055:(t,e,r)=>{"use strict";var n=r(54071),i=r(22615),o=r(90690),a=r(71228),s=r(93292),u=r(19429),l=r(6310),c=r(76522),f=r(5185),d=r(91664),h=Array;t.exports=function(t){var e=o(t),r=u(this),p=arguments.length,g=p>1?arguments[1]:void 0,y=void 0!==g;y&&(g=n(g,p>2?arguments[2]:void 0));var v,m,b,w,_,x,S=d(e),E=0;if(!S||this===h&&s(S))for(v=l(e),m=r?new this(v):h(v);v>E;E++)x=y?g(e[E],E):e[E],c(m,E,x);else for(_=(w=f(e,S)).next,m=r?new this:[];!(b=i(_,w)).done;E++)x=y?a(w,g,[b.value,E],!0):b.value,c(m,E,x);return m.length=E,m}},84328:(t,e,r)=>{"use strict";var n=r(65290),i=r(27578),o=r(6310),a=function(t){return function(e,r,a){var s,u=n(e),l=o(u),c=i(a,l);if(t&&r!=r){for(;l>c;)if((s=u[c++])!=s)return!0}else for(;l>c;c++)if((t||c in u)&&u[c]===r)return t||c||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},2960:(t,e,r)=>{"use strict";var n=r(54071),i=r(68844),o=r(94413),a=r(90690),s=r(6310),u=r(27120),l=i([].push),c=function(t){var e=1===t,r=2===t,i=3===t,c=4===t,f=6===t,d=7===t,h=5===t||f;return function(p,g,y,v){for(var m,b,w=a(p),_=o(w),x=s(_),S=n(g,y),E=0,T=v||u,k=e?T(p,x):r||d?T(p,0):void 0;x>E;E++)if((h||E in _)&&(b=S(m=_[E],E,w),t))if(e)k[E]=b;else if(b)switch(t){case 3:return!0;case 5:return m;case 6:return E;case 2:l(k,m)}else switch(t){case 4:return!1;case 7:l(k,m)}return f?-1:i||c?c:k}};t.exports={forEach:c(0),map:c(1),filter:c(2),some:c(3),every:c(4),find:c(5),findIndex:c(6),filterReject:c(7)}},29042:(t,e,r)=>{"use strict";var n=r(3689),i=r(44201),o=r(3615),a=i("species");t.exports=function(t){return o>=51||!n((function(){var e=[];return(e.constructor={})[a]=function(){return{foo:1}},1!==e[t](Boolean).foo}))}},16834:(t,e,r)=>{"use strict";var n=r(3689);t.exports=function(t,e){var r=[][t];return!!r&&n((function(){r.call(null,e||function(){return 1},1)}))}},5649:(t,e,r)=>{"use strict";var n=r(67697),i=r(92297),o=TypeError,a=Object.getOwnPropertyDescriptor,s=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=s?function(t,e){if(i(t)&&!a(t,"length").writable)throw new o("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},96004:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n([].slice)},50382:(t,e,r)=>{"use strict";var n=r(96004),i=Math.floor,o=function(t,e){var r=t.length;if(r<8)for(var a,s,u=1;u<r;){for(s=u,a=t[u];s&&e(t[s-1],a)>0;)t[s]=t[--s];s!==u++&&(t[s]=a)}else for(var l=i(r/2),c=o(n(t,0,l),e),f=o(n(t,l),e),d=c.length,h=f.length,p=0,g=0;p<d||g<h;)t[p+g]=p<d&&g<h?e(c[p],f[g])<=0?c[p++]:f[g++]:p<d?c[p++]:f[g++];return t};t.exports=o},25271:(t,e,r)=>{"use strict";var n=r(92297),i=r(19429),o=r(48999),a=r(44201)("species"),s=Array;t.exports=function(t){var e;return n(t)&&(e=t.constructor,(i(e)&&(e===s||n(e.prototype))||o(e)&&null===(e=e[a]))&&(e=void 0)),void 0===e?s:e}},27120:(t,e,r)=>{"use strict";var n=r(25271);t.exports=function(t,e){return new(n(t))(0===e?0:e)}},71228:(t,e,r)=>{"use strict";var n=r(85027),i=r(72125);t.exports=function(t,e,r,o){try{return o?e(n(r)[0],r[1]):e(r)}catch(e){i(t,"throw",e)}}},86431:(t,e,r)=>{"use strict";var n=r(44201)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(t){}t.exports=function(t,e){try{if(!e&&!i)return!1}catch(t){return!1}var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},t(o)}catch(t){}return r}},6648:(t,e,r)=>{"use strict";var n=r(68844),i=n({}.toString),o=n("".slice);t.exports=function(t){return o(i(t),8,-1)}},50926:(t,e,r)=>{"use strict";var n=r(23043),i=r(69985),o=r(6648),a=r(44201)("toStringTag"),s=Object,u="Arguments"===o(function(){return arguments}());t.exports=n?o:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=s(t),a))?r:u?o(e):"Object"===(n=o(e))&&i(e.callee)?"Arguments":n}},8758:(t,e,r)=>{"use strict";var n=r(36812),i=r(19152),o=r(82474),a=r(72560);t.exports=function(t,e,r){for(var s=i(e),u=a.f,l=o.f,c=0;c<s.length;c++){var f=s[c];n(t,f)||r&&n(r,f)||u(t,f,l(e,f))}}},27413:(t,e,r)=>{"use strict";var n=r(44201)("match");t.exports=function(t){var e=/./;try{"/./"[t](e)}catch(r){try{return e[n]=!1,"/./"[t](e)}catch(t){}}return!1}},81748:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}))},27807:t=>{"use strict";t.exports=function(t,e){return{value:t,done:e}}},75773:(t,e,r)=>{"use strict";var n=r(67697),i=r(72560),o=r(75684);t.exports=n?function(t,e,r){return i.f(t,e,o(1,r))}:function(t,e,r){return t[e]=r,t}},75684:t=>{"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},76522:(t,e,r)=>{"use strict";var n=r(18360),i=r(72560),o=r(75684);t.exports=function(t,e,r){var a=n(e);a in t?i.f(t,a,o(0,r)):t[a]=r}},81797:(t,e,r)=>{"use strict";var n=r(85027),i=r(35899),o=TypeError;t.exports=function(t){if(n(this),"string"===t||"default"===t)t="string";else if("number"!==t)throw new o("Incorrect hint");return i(this,t)}},62148:(t,e,r)=>{"use strict";var n=r(98702),i=r(72560);t.exports=function(t,e,r){return r.get&&n(r.get,e,{getter:!0}),r.set&&n(r.set,e,{setter:!0}),i.f(t,e,r)}},11880:(t,e,r)=>{"use strict";var n=r(69985),i=r(72560),o=r(98702),a=r(95014);t.exports=function(t,e,r,s){s||(s={});var u=s.enumerable,l=void 0!==s.name?s.name:e;if(n(r)&&o(r,l,s),s.global)u?t[e]=r:a(e,r);else{try{s.unsafe?t[e]&&(u=!0):delete t[e]}catch(t){}u?t[e]=r:i.f(t,e,{value:r,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},95014:(t,e,r)=>{"use strict";var n=r(19037),i=Object.defineProperty;t.exports=function(t,e){try{i(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},98494:(t,e,r)=>{"use strict";var n=r(23691),i=TypeError;t.exports=function(t,e){if(!delete t[e])throw new i("Cannot delete property "+n(e)+" of "+n(t))}},67697:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},36420:(t,e,r)=>{"use strict";var n=r(19037),i=r(48999),o=n.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},55565:t=>{"use strict";var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},66338:t=>{"use strict";t.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},33265:(t,e,r)=>{"use strict";var n=r(36420)("span").classList,i=n&&n.constructor&&n.constructor.prototype;t.exports=i===Object.prototype?void 0:i},97365:(t,e,r)=>{"use strict";var n=r(30071).match(/firefox\/(\d+)/i);t.exports=!!n&&+n[1]},72532:(t,e,r)=>{"use strict";var n=r(88563),i=r(50806);t.exports=!n&&!i&&"object"==typeof window&&"object"==typeof document},88563:t=>{"use strict";t.exports="object"==typeof Deno&&Deno&&"object"==typeof Deno.version},37298:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/MSIE|Trident/.test(n)},63221:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/ipad|iphone|ipod/i.test(n)&&"undefined"!=typeof Pebble},4764:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},50806:(t,e,r)=>{"use strict";var n=r(19037),i=r(6648);t.exports="process"===i(n.process)},27486:(t,e,r)=>{"use strict";var n=r(30071);t.exports=/web0s(?!.*chrome)/i.test(n)},30071:t=>{"use strict";t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},3615:(t,e,r)=>{"use strict";var n,i,o=r(19037),a=r(30071),s=o.process,u=o.Deno,l=s&&s.versions||u&&u.version,c=l&&l.v8;c&&(i=(n=c.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=+n[1]),t.exports=i},27922:(t,e,r)=>{"use strict";var n=r(30071).match(/AppleWebKit\/(\d+)\./);t.exports=!!n&&+n[1]},72739:t=>{"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},79989:(t,e,r)=>{"use strict";var n=r(19037),i=r(82474).f,o=r(75773),a=r(11880),s=r(95014),u=r(8758),l=r(35266);t.exports=function(t,e){var r,c,f,d,h,p=t.target,g=t.global,y=t.stat;if(r=g?n:y?n[p]||s(p,{}):n[p]&&n[p].prototype)for(c in e){if(d=e[c],f=t.dontCallGetSet?(h=i(r,c))&&h.value:r[c],!l(g?c:p+(y?".":"#")+c,t.forced)&&void 0!==f){if(typeof d==typeof f)continue;u(d,f)}(t.sham||f&&f.sham)&&o(d,"sham",!0),a(r,c,d,t)}}},3689:t=>{"use strict";t.exports=function(t){try{return!!t()}catch(t){return!0}}},65773:(t,e,r)=>{"use strict";r(64043);var n=r(22615),i=r(11880),o=r(56308),a=r(3689),s=r(44201),u=r(75773),l=s("species"),c=RegExp.prototype;t.exports=function(t,e,r,f){var d=s(t),h=!a((function(){var e={};return e[d]=function(){return 7},7!==""[t](e)})),p=h&&!a((function(){var e=!1,r=/a/;return"split"===t&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return e=!0,null},r[d](""),!e}));if(!h||!p||r){var g=/./[d],y=e(d,""[t],(function(t,e,r,i,a){var s=e.exec;return s===o||s===c.exec?h&&!a?{done:!0,value:n(g,e,r,i)}:{done:!0,value:n(t,r,e,i)}:{done:!1}}));i(String.prototype,t,y[0]),i(c,d,y[1])}f&&u(c[d],"sham",!0)}},61735:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype,o=i.apply,a=i.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?a.bind(o):function(){return a.apply(o,arguments)})},54071:(t,e,r)=>{"use strict";var n=r(46576),i=r(10509),o=r(97215),a=n(n.bind);t.exports=function(t,e){return i(t),void 0===e?t:o?a(t,e):function(){return t.apply(e,arguments)}}},97215:(t,e,r)=>{"use strict";var n=r(3689);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},86761:(t,e,r)=>{"use strict";var n=r(68844),i=r(10509),o=r(48999),a=r(36812),s=r(96004),u=r(97215),l=Function,c=n([].concat),f=n([].join),d={},h=function(t,e,r){if(!a(d,e)){for(var n=[],i=0;i<e;i++)n[i]="a["+i+"]";d[e]=l("C,a","return new C("+f(n,",")+")")}return d[e](t,r)};t.exports=u?l.bind:function(t){var e=i(this),r=e.prototype,n=s(arguments,1),a=function(){var r=c(n,s(arguments));return this instanceof a?h(e,r.length,r):e.apply(t,r)};return o(r)&&(a.prototype=r),a}},22615:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype.call;t.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},41236:(t,e,r)=>{"use strict";var n=r(67697),i=r(36812),o=Function.prototype,a=n&&Object.getOwnPropertyDescriptor,s=i(o,"name"),u=s&&"something"===function(){}.name,l=s&&(!n||n&&a(o,"name").configurable);t.exports={EXISTS:s,PROPER:u,CONFIGURABLE:l}},52743:(t,e,r)=>{"use strict";var n=r(68844),i=r(10509);t.exports=function(t,e,r){try{return n(i(Object.getOwnPropertyDescriptor(t,e)[r]))}catch(t){}}},46576:(t,e,r)=>{"use strict";var n=r(6648),i=r(68844);t.exports=function(t){if("Function"===n(t))return i(t)}},68844:(t,e,r)=>{"use strict";var n=r(97215),i=Function.prototype,o=i.call,a=n&&i.bind.bind(o,o);t.exports=n?a:function(t){return function(){return o.apply(t,arguments)}}},76058:(t,e,r)=>{"use strict";var n=r(19037),i=r(69985),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t]):n[t]&&n[t][e]}},91664:(t,e,r)=>{"use strict";var n=r(50926),i=r(54849),o=r(981),a=r(9478),s=r(44201)("iterator");t.exports=function(t){if(!o(t))return i(t,s)||i(t,"@@iterator")||a[n(t)]}},5185:(t,e,r)=>{"use strict";var n=r(22615),i=r(10509),o=r(85027),a=r(23691),s=r(91664),u=TypeError;t.exports=function(t,e){var r=arguments.length<2?s(t):e;if(i(r))return o(n(r,t));throw new u(a(t)+" is not iterable")}},92643:(t,e,r)=>{"use strict";var n=r(68844),i=r(92297),o=r(69985),a=r(6648),s=r(34327),u=n([].push);t.exports=function(t){if(o(t))return t;if(i(t)){for(var e=t.length,r=[],n=0;n<e;n++){var l=t[n];"string"==typeof l?u(r,l):"number"!=typeof l&&"Number"!==a(l)&&"String"!==a(l)||u(r,s(l))}var c=r.length,f=!0;return function(t,e){if(f)return f=!1,e;if(i(this))return e;for(var n=0;n<c;n++)if(r[n]===t)return e}}}},54849:(t,e,r)=>{"use strict";var n=r(10509),i=r(981);t.exports=function(t,e){var r=t[e];return i(r)?void 0:n(r)}},27017:(t,e,r)=>{"use strict";var n=r(68844),i=r(90690),o=Math.floor,a=n("".charAt),s=n("".replace),u=n("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,c=/\$([$&'`]|\d{1,2})/g;t.exports=function(t,e,r,n,f,d){var h=r+t.length,p=n.length,g=c;return void 0!==f&&(f=i(f),g=l),s(d,g,(function(i,s){var l;switch(a(s,0)){case"$":return"$";case"&":return t;case"`":return u(e,0,r);case"'":return u(e,h);case"<":l=f[u(s,1,-1)];break;default:var c=+s;if(0===c)return i;if(c>p){var d=o(c/10);return 0===d?i:d<=p?void 0===n[d-1]?a(s,1):n[d-1]+a(s,1):i}l=n[c-1]}return void 0===l?"":l}))}},19037:function(t,e,r){"use strict";var n=function(t){return t&&t.Math===Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||n("object"==typeof this&&this)||function(){return this}()||Function("return this")()},36812:(t,e,r)=>{"use strict";var n=r(68844),i=r(90690),o=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return o(i(t),e)}},57248:t=>{"use strict";t.exports={}},20920:t=>{"use strict";t.exports=function(t,e){try{1===arguments.length?console.error(t):console.error(t,e)}catch(t){}}},2688:(t,e,r)=>{"use strict";var n=r(76058);t.exports=n("document","documentElement")},68506:(t,e,r)=>{"use strict";var n=r(67697),i=r(3689),o=r(36420);t.exports=!n&&!i((function(){return 7!==Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},94413:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(6648),a=Object,s=n("".split);t.exports=i((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===o(t)?s(t,""):a(t)}:a},33457:(t,e,r)=>{"use strict";var n=r(69985),i=r(48999),o=r(49385);t.exports=function(t,e,r){var a,s;return o&&n(a=e.constructor)&&a!==r&&i(s=a.prototype)&&s!==r.prototype&&o(t,s),t}},6738:(t,e,r)=>{"use strict";var n=r(68844),i=r(69985),o=r(84091),a=n(Function.toString);i(o.inspectSource)||(o.inspectSource=function(t){return a(t)}),t.exports=o.inspectSource},618:(t,e,r)=>{"use strict";var n,i,o,a=r(59834),s=r(19037),u=r(48999),l=r(75773),c=r(36812),f=r(84091),d=r(2713),h=r(57248),p=s.TypeError,g=s.WeakMap;if(a||f.state){var y=f.state||(f.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,n=function(t,e){if(y.has(t))throw new p("Object already initialized");return e.facade=t,y.set(t,e),e},i=function(t){return y.get(t)||{}},o=function(t){return y.has(t)}}else{var v=d("state");h[v]=!0,n=function(t,e){if(c(t,v))throw new p("Object already initialized");return e.facade=t,l(t,v,e),e},i=function(t){return c(t,v)?t[v]:{}},o=function(t){return c(t,v)}}t.exports={set:n,get:i,has:o,enforce:function(t){return o(t)?i(t):n(t,{})},getterFor:function(t){return function(e){var r;if(!u(e)||(r=i(e)).type!==t)throw new p("Incompatible receiver, "+t+" required");return r}}}},93292:(t,e,r)=>{"use strict";var n=r(44201),i=r(9478),o=n("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},92297:(t,e,r)=>{"use strict";var n=r(6648);t.exports=Array.isArray||function(t){return"Array"===n(t)}},69985:t=>{"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},19429:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(69985),a=r(50926),s=r(76058),u=r(6738),l=function(){},c=s("Reflect","construct"),f=/^\s*(?:class|function)\b/,d=n(f.exec),h=!f.test(l),p=function(t){if(!o(t))return!1;try{return c(l,[],t),!0}catch(t){return!1}},g=function(t){if(!o(t))return!1;switch(a(t)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!d(f,u(t))}catch(t){return!0}};g.sham=!0,t.exports=!c||i((function(){var t;return p(p.call)||!p(Object)||!p((function(){t=!0}))||t}))?g:p},76251:(t,e,r)=>{"use strict";var n=r(36812);t.exports=function(t){return void 0!==t&&(n(t,"value")||n(t,"writable"))}},35266:(t,e,r)=>{"use strict";var n=r(3689),i=r(69985),o=/#|\.prototype\./,a=function(t,e){var r=u[s(t)];return r===c||r!==l&&(i(e)?n(e):!!e)},s=a.normalize=function(t){return String(t).replace(o,".").toLowerCase()},u=a.data={},l=a.NATIVE="N",c=a.POLYFILL="P";t.exports=a},981:t=>{"use strict";t.exports=function(t){return null==t}},48999:(t,e,r)=>{"use strict";var n=r(69985);t.exports=function(t){return"object"==typeof t?null!==t:n(t)}},60598:(t,e,r)=>{"use strict";var n=r(48999);t.exports=function(t){return n(t)||null===t}},53931:t=>{"use strict";t.exports=!1},91245:(t,e,r)=>{"use strict";var n=r(48999),i=r(6648),o=r(44201)("match");t.exports=function(t){var e;return n(t)&&(void 0!==(e=t[o])?!!e:"RegExp"===i(t))}},30734:(t,e,r)=>{"use strict";var n=r(76058),i=r(69985),o=r(23622),a=r(39525),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return i(e)&&o(e.prototype,s(t))}},18734:(t,e,r)=>{"use strict";var n=r(54071),i=r(22615),o=r(85027),a=r(23691),s=r(93292),u=r(6310),l=r(23622),c=r(5185),f=r(91664),d=r(72125),h=TypeError,p=function(t,e){this.stopped=t,this.result=e},g=p.prototype;t.exports=function(t,e,r){var y,v,m,b,w,_,x,S=r&&r.that,E=!(!r||!r.AS_ENTRIES),T=!(!r||!r.IS_RECORD),k=!(!r||!r.IS_ITERATOR),O=!(!r||!r.INTERRUPTED),A=n(e,S),C=function(t){return y&&d(y,"normal",t),new p(!0,t)},P=function(t){return E?(o(t),O?A(t[0],t[1],C):A(t[0],t[1])):O?A(t,C):A(t)};if(T)y=t.iterator;else if(k)y=t;else{if(!(v=f(t)))throw new h(a(t)+" is not iterable");if(s(v)){for(m=0,b=u(t);b>m;m++)if((w=P(t[m]))&&l(g,w))return w;return new p(!1)}y=c(t,v)}for(_=T?t.next:y.next;!(x=i(_,y)).done;){try{w=P(x.value)}catch(t){d(y,"throw",t)}if("object"==typeof w&&w&&l(g,w))return w}return new p(!1)}},72125:(t,e,r)=>{"use strict";var n=r(22615),i=r(85027),o=r(54849);t.exports=function(t,e,r){var a,s;i(t);try{if(!(a=o(t,"return"))){if("throw"===e)throw r;return r}a=n(a,t)}catch(t){s=!0,a=t}if("throw"===e)throw r;if(s)throw a;return i(a),r}},30974:(t,e,r)=>{"use strict";var n=r(12013).IteratorPrototype,i=r(25391),o=r(75684),a=r(55997),s=r(9478),u=function(){return this};t.exports=function(t,e,r,l){var c=e+" Iterator";return t.prototype=i(n,{next:o(+!l,r)}),a(t,c,!1,!0),s[c]=u,t}},91934:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(53931),a=r(41236),s=r(69985),u=r(30974),l=r(61868),c=r(49385),f=r(55997),d=r(75773),h=r(11880),p=r(44201),g=r(9478),y=r(12013),v=a.PROPER,m=a.CONFIGURABLE,b=y.IteratorPrototype,w=y.BUGGY_SAFARI_ITERATORS,_=p("iterator"),x=function(){return this};t.exports=function(t,e,r,a,p,y,S){u(r,e,a);var E,T,k,O=function(t){if(t===p&&R)return R;if(!w&&t&&t in P)return P[t];switch(t){case"keys":case"values":case"entries":return function(){return new r(this,t)}}return function(){return new r(this)}},A=e+" Iterator",C=!1,P=t.prototype,j=P[_]||P["@@iterator"]||p&&P[p],R=!w&&j||O(p),N="Array"===e&&P.entries||j;if(N&&(E=l(N.call(new t)))!==Object.prototype&&E.next&&(o||l(E)===b||(c?c(E,b):s(E[_])||h(E,_,x)),f(E,A,!0,!0),o&&(g[A]=x)),v&&"values"===p&&j&&"values"!==j.name&&(!o&&m?d(P,"name","values"):(C=!0,R=function(){return i(j,this)})),p)if(T={values:O("values"),keys:y?R:O("keys"),entries:O("entries")},S)for(k in T)(w||C||!(k in P))&&h(P,k,T[k]);else n({target:e,proto:!0,forced:w||C},T);return o&&!S||P[_]===R||h(P,_,R,{name:p}),g[e]=R,T}},12013:(t,e,r)=>{"use strict";var n,i,o,a=r(3689),s=r(69985),u=r(48999),l=r(25391),c=r(61868),f=r(11880),d=r(44201),h=r(53931),p=d("iterator"),g=!1;[].keys&&("next"in(o=[].keys())?(i=c(c(o)))!==Object.prototype&&(n=i):g=!0),!u(n)||a((function(){var t={};return n[p].call(t)!==t}))?n={}:h&&(n=l(n)),s(n[p])||f(n,p,(function(){return this})),t.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:g}},9478:t=>{"use strict";t.exports={}},6310:(t,e,r)=>{"use strict";var n=r(43126);t.exports=function(t){return n(t.length)}},98702:(t,e,r)=>{"use strict";var n=r(68844),i=r(3689),o=r(69985),a=r(36812),s=r(67697),u=r(41236).CONFIGURABLE,l=r(6738),c=r(618),f=c.enforce,d=c.get,h=String,p=Object.defineProperty,g=n("".slice),y=n("".replace),v=n([].join),m=s&&!i((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,r){"Symbol("===g(h(e),0,7)&&(e="["+y(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!a(t,"name")||u&&t.name!==e)&&(s?p(t,"name",{value:e,configurable:!0}):t.name=e),m&&r&&a(r,"arity")&&t.length!==r.arity&&p(t,"length",{value:r.arity});try{r&&a(r,"constructor")&&r.constructor?s&&p(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var n=f(t);return a(n,"source")||(n.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return o(this)&&d(this).source||l(this)}),"toString")},58828:t=>{"use strict";var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},80231:(t,e,r)=>{"use strict";var n,i,o,a,s,u=r(19037),l=r(70517),c=r(54071),f=r(99886).set,d=r(34410),h=r(4764),p=r(63221),g=r(27486),y=r(50806),v=u.MutationObserver||u.WebKitMutationObserver,m=u.document,b=u.process,w=u.Promise,_=l("queueMicrotask");if(!_){var x=new d,S=function(){var t,e;for(y&&(t=b.domain)&&t.exit();e=x.get();)try{e()}catch(t){throw x.head&&n(),t}t&&t.enter()};h||y||g||!v||!m?!p&&w&&w.resolve?((a=w.resolve(void 0)).constructor=w,s=c(a.then,a),n=function(){s(S)}):y?n=function(){b.nextTick(S)}:(f=c(f,u),n=function(){f(S)}):(i=!0,o=m.createTextNode(""),new v(S).observe(o,{characterData:!0}),n=function(){o.data=i=!i}),_=function(t){x.head||n(),x.add(t)}}t.exports=_},48742:(t,e,r)=>{"use strict";var n=r(10509),i=TypeError,o=function(t){var e,r;this.promise=new t((function(t,n){if(void 0!==e||void 0!==r)throw new i("Bad Promise constructor");e=t,r=n})),this.resolve=n(e),this.reject=n(r)};t.exports.f=function(t){return new o(t)}},42124:(t,e,r)=>{"use strict";var n=r(91245),i=TypeError;t.exports=function(t){if(n(t))throw new i("The method doesn't accept regular expressions");return t}},45394:(t,e,r)=>{"use strict";var n=r(67697),i=r(68844),o=r(22615),a=r(3689),s=r(20300),u=r(7518),l=r(49556),c=r(90690),f=r(94413),d=Object.assign,h=Object.defineProperty,p=i([].concat);t.exports=!d||a((function(){if(n&&1!==d({b:1},d(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var t={},e={},r=Symbol("assign detection");return t[r]=7,"abcdefghijklmnopqrst".split("").forEach((function(t){e[t]=t})),7!==d({},t)[r]||"abcdefghijklmnopqrst"!==s(d({},e)).join("")}))?function(t,e){for(var r=c(t),i=arguments.length,a=1,d=u.f,h=l.f;i>a;)for(var g,y=f(arguments[a++]),v=d?p(s(y),d(y)):s(y),m=v.length,b=0;m>b;)g=v[b++],n&&!o(h,y,g)||(r[g]=y[g]);return r}:d},25391:(t,e,r)=>{"use strict";var n,i=r(85027),o=r(98920),a=r(72739),s=r(57248),u=r(2688),l=r(36420),c=r(2713),f=c("IE_PROTO"),d=function(){},h=function(t){return"<script>"+t+"<\/script>"},p=function(t){t.write(h("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{n=new ActiveXObject("htmlfile")}catch(t){}var t,e;g="undefined"!=typeof document?document.domain&&n?p(n):((e=l("iframe")).style.display="none",u.appendChild(e),e.src=String("javascript:"),(t=e.contentWindow.document).open(),t.write(h("document.F=Object")),t.close(),t.F):p(n);for(var r=a.length;r--;)delete g.prototype[a[r]];return g()};s[f]=!0,t.exports=Object.create||function(t,e){var r;return null!==t?(d.prototype=i(t),r=new d,d.prototype=null,r[f]=t):r=g(),void 0===e?r:o.f(r,e)}},98920:(t,e,r)=>{"use strict";var n=r(67697),i=r(15648),o=r(72560),a=r(85027),s=r(65290),u=r(20300);e.f=n&&!i?Object.defineProperties:function(t,e){a(t);for(var r,n=s(e),i=u(e),l=i.length,c=0;l>c;)o.f(t,r=i[c++],n[r]);return t}},72560:(t,e,r)=>{"use strict";var n=r(67697),i=r(68506),o=r(15648),a=r(85027),s=r(18360),u=TypeError,l=Object.defineProperty,c=Object.getOwnPropertyDescriptor;e.f=n?o?function(t,e,r){if(a(t),e=s(e),a(r),"function"==typeof t&&"prototype"===e&&"value"in r&&"writable"in r&&!r.writable){var n=c(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:"configurable"in r?r.configurable:n.configurable,enumerable:"enumerable"in r?r.enumerable:n.enumerable,writable:!1})}return l(t,e,r)}:l:function(t,e,r){if(a(t),e=s(e),a(r),i)try{return l(t,e,r)}catch(t){}if("get"in r||"set"in r)throw new u("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},82474:(t,e,r)=>{"use strict";var n=r(67697),i=r(22615),o=r(49556),a=r(75684),s=r(65290),u=r(18360),l=r(36812),c=r(68506),f=Object.getOwnPropertyDescriptor;e.f=n?f:function(t,e){if(t=s(t),e=u(e),c)try{return f(t,e)}catch(t){}if(l(t,e))return a(!i(o.f,t,e),t[e])}},26062:(t,e,r)=>{"use strict";var n=r(6648),i=r(65290),o=r(72741).f,a=r(96004),s="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return s&&"Window"===n(t)?function(t){try{return o(t)}catch(t){return a(s)}}(t):o(i(t))}},72741:(t,e,r)=>{"use strict";var n=r(54948),i=r(72739).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return n(t,i)}},7518:(t,e)=>{"use strict";e.f=Object.getOwnPropertySymbols},61868:(t,e,r)=>{"use strict";var n=r(36812),i=r(69985),o=r(90690),a=r(2713),s=r(81748),u=a("IE_PROTO"),l=Object,c=l.prototype;t.exports=s?l.getPrototypeOf:function(t){var e=o(t);if(n(e,u))return e[u];var r=e.constructor;return i(r)&&e instanceof r?r.prototype:e instanceof l?c:null}},23622:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n({}.isPrototypeOf)},54948:(t,e,r)=>{"use strict";var n=r(68844),i=r(36812),o=r(65290),a=r(84328).indexOf,s=r(57248),u=n([].push);t.exports=function(t,e){var r,n=o(t),l=0,c=[];for(r in n)!i(s,r)&&i(n,r)&&u(c,r);for(;e.length>l;)i(n,r=e[l++])&&(~a(c,r)||u(c,r));return c}},20300:(t,e,r)=>{"use strict";var n=r(54948),i=r(72739);t.exports=Object.keys||function(t){return n(t,i)}},49556:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);e.f=i?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},49385:(t,e,r)=>{"use strict";var n=r(52743),i=r(85027),o=r(23550);t.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var t,e=!1,r={};try{(t=n(Object.prototype,"__proto__","set"))(r,[]),e=r instanceof Array}catch(t){}return function(r,n){return i(r),o(n),e?t(r,n):r.__proto__=n,r}}():void 0)},65073:(t,e,r)=>{"use strict";var n=r(23043),i=r(50926);t.exports=n?{}.toString:function(){return"[object "+i(this)+"]"}},35899:(t,e,r)=>{"use strict";var n=r(22615),i=r(69985),o=r(48999),a=TypeError;t.exports=function(t,e){var r,s;if("string"===e&&i(r=t.toString)&&!o(s=n(r,t)))return s;if(i(r=t.valueOf)&&!o(s=n(r,t)))return s;if("string"!==e&&i(r=t.toString)&&!o(s=n(r,t)))return s;throw new a("Can't convert object to primitive value")}},19152:(t,e,r)=>{"use strict";var n=r(76058),i=r(68844),o=r(72741),a=r(7518),s=r(85027),u=i([].concat);t.exports=n("Reflect","ownKeys")||function(t){var e=o.f(s(t)),r=a.f;return r?u(e,r(t)):e}},50496:(t,e,r)=>{"use strict";var n=r(19037);t.exports=n},9302:t=>{"use strict";t.exports=function(t){try{return{error:!1,value:t()}}catch(t){return{error:!0,value:t}}}},87073:(t,e,r)=>{"use strict";var n=r(19037),i=r(17919),o=r(69985),a=r(35266),s=r(6738),u=r(44201),l=r(72532),c=r(88563),f=r(53931),d=r(3615),h=i&&i.prototype,p=u("species"),g=!1,y=o(n.PromiseRejectionEvent),v=a("Promise",(function(){var t=s(i),e=t!==String(i);if(!e&&66===d)return!0;if(f&&(!h.catch||!h.finally))return!0;if(!d||d<51||!/native code/.test(t)){var r=new i((function(t){t(1)})),n=function(t){t((function(){}),(function(){}))};if((r.constructor={})[p]=n,!(g=r.then((function(){}))instanceof n))return!0}return!e&&(l||c)&&!y}));t.exports={CONSTRUCTOR:v,REJECTION_EVENT:y,SUBCLASSING:g}},17919:(t,e,r)=>{"use strict";var n=r(19037);t.exports=n.Promise},72945:(t,e,r)=>{"use strict";var n=r(85027),i=r(48999),o=r(48742);t.exports=function(t,e){if(n(t),i(e)&&e.constructor===t)return e;var r=o.f(t);return(0,r.resolve)(e),r.promise}},562:(t,e,r)=>{"use strict";var n=r(17919),i=r(86431),o=r(87073).CONSTRUCTOR;t.exports=o||!i((function(t){n.all(t).then(void 0,(function(){}))}))},38055:(t,e,r)=>{"use strict";var n=r(72560).f;t.exports=function(t,e,r){r in t||n(t,r,{configurable:!0,get:function(){return e[r]},set:function(t){e[r]=t}})}},34410:t=>{"use strict";var e=function(){this.head=null,this.tail=null};e.prototype={add:function(t){var e={item:t,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var t=this.head;if(t)return null===(this.head=t.next)&&(this.tail=null),t.item}},t.exports=e},66100:(t,e,r)=>{"use strict";var n=r(22615),i=r(85027),o=r(69985),a=r(6648),s=r(56308),u=TypeError;t.exports=function(t,e){var r=t.exec;if(o(r)){var l=n(r,t,e);return null!==l&&i(l),l}if("RegExp"===a(t))return n(s,t,e);throw new u("RegExp#exec called on incompatible receiver")}},56308:(t,e,r)=>{"use strict";var n,i,o=r(22615),a=r(68844),s=r(34327),u=r(69633),l=r(87901),c=r(83430),f=r(25391),d=r(618).get,h=r(62100),p=r(26738),g=c("native-string-replace",String.prototype.replace),y=RegExp.prototype.exec,v=y,m=a("".charAt),b=a("".indexOf),w=a("".replace),_=a("".slice),x=(i=/b*/g,o(y,n=/a/,"a"),o(y,i,"a"),0!==n.lastIndex||0!==i.lastIndex),S=l.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(x||E||S||h||p)&&(v=function(t){var e,r,n,i,a,l,c,h=this,p=d(h),T=s(t),k=p.raw;if(k)return k.lastIndex=h.lastIndex,e=o(v,k,T),h.lastIndex=k.lastIndex,e;var O=p.groups,A=S&&h.sticky,C=o(u,h),P=h.source,j=0,R=T;if(A&&(C=w(C,"y",""),-1===b(C,"g")&&(C+="g"),R=_(T,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==m(T,h.lastIndex-1))&&(P="(?: "+P+")",R=" "+R,j++),r=new RegExp("^(?:"+P+")",C)),E&&(r=new RegExp("^"+P+"$(?!\\s)",C)),x&&(n=h.lastIndex),i=o(y,A?r:h,R),A?i?(i.input=_(i.input,j),i[0]=_(i[0],j),i.index=h.lastIndex,h.lastIndex+=i[0].length):h.lastIndex=0:x&&i&&(h.lastIndex=h.global?i.index+i[0].length:n),E&&i&&i.length>1&&o(g,i[0],r,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(i[a]=void 0)})),i&&O)for(i.groups=l=f(null),a=0;a<O.length;a++)l[(c=O[a])[0]]=i[c[1]];return i}),t.exports=v},69633:(t,e,r)=>{"use strict";var n=r(85027);t.exports=function(){var t=n(this),e="";return t.hasIndices&&(e+="d"),t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.unicodeSets&&(e+="v"),t.sticky&&(e+="y"),e}},63477:(t,e,r)=>{"use strict";var n=r(22615),i=r(36812),o=r(23622),a=r(69633),s=RegExp.prototype;t.exports=function(t){var e=t.flags;return void 0!==e||"flags"in s||i(t,"flags")||!o(s,t)?e:n(a,t)}},87901:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp,o=n((function(){var t=i("a","y");return t.lastIndex=2,null!==t.exec("abcd")})),a=o||n((function(){return!i("a","y").sticky})),s=o||n((function(){var t=i("^r","gy");return t.lastIndex=2,null!==t.exec("str")}));t.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:o}},62100:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp;t.exports=n((function(){var t=i(".","s");return!(t.dotAll&&t.test("\n")&&"s"===t.flags)}))},26738:(t,e,r)=>{"use strict";var n=r(3689),i=r(19037).RegExp;t.exports=n((function(){var t=i("(?<a>b)","g");return"b"!==t.exec("b").groups.a||"bc"!=="b".replace(t,"$<a>c")}))},74684:(t,e,r)=>{"use strict";var n=r(981),i=TypeError;t.exports=function(t){if(n(t))throw new i("Can't call method on "+t);return t}},70517:(t,e,r)=>{"use strict";var n=r(19037),i=r(67697),o=Object.getOwnPropertyDescriptor;t.exports=function(t){if(!i)return n[t];var e=o(n,t);return e&&e.value}},14241:(t,e,r)=>{"use strict";var n=r(76058),i=r(62148),o=r(44201),a=r(67697),s=o("species");t.exports=function(t){var e=n(t);a&&e&&!e[s]&&i(e,s,{configurable:!0,get:function(){return this}})}},55997:(t,e,r)=>{"use strict";var n=r(72560).f,i=r(36812),o=r(44201)("toStringTag");t.exports=function(t,e,r){t&&!r&&(t=t.prototype),t&&!i(t,o)&&n(t,o,{configurable:!0,value:e})}},2713:(t,e,r)=>{"use strict";var n=r(83430),i=r(14630),o=n("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},84091:(t,e,r)=>{"use strict";var n=r(19037),i=r(95014),o=n["__core-js_shared__"]||i("__core-js_shared__",{});t.exports=o},83430:(t,e,r)=>{"use strict";var n=r(53931),i=r(84091);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.35.1",mode:n?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.35.1/LICENSE",source:"https://github.com/zloirock/core-js"})},76373:(t,e,r)=>{"use strict";var n=r(85027),i=r(52655),o=r(981),a=r(44201)("species");t.exports=function(t,e){var r,s=n(t).constructor;return void 0===s||o(r=n(s)[a])?e:i(r)}},10730:(t,e,r)=>{"use strict";var n=r(68844),i=r(68700),o=r(34327),a=r(74684),s=n("".charAt),u=n("".charCodeAt),l=n("".slice),c=function(t){return function(e,r){var n,c,f=o(a(e)),d=i(r),h=f.length;return d<0||d>=h?t?"":void 0:(n=u(f,d))<55296||n>56319||d+1===h||(c=u(f,d+1))<56320||c>57343?t?s(f,d):n:t?l(f,d,d+2):c-56320+(n-55296<<10)+65536}};t.exports={codeAt:c(!1),charAt:c(!0)}},75984:(t,e,r)=>{"use strict";var n=r(41236).PROPER,i=r(3689),o=r(86350);t.exports=function(t){return i((function(){return!!o[t]()||"​…᠎"!=="​…᠎"[t]()||n&&o[t].name!==t}))}},61435:(t,e,r)=>{"use strict";var n=r(68844),i=r(74684),o=r(34327),a=r(86350),s=n("".replace),u=RegExp("^["+a+"]+"),l=RegExp("(^|[^"+a+"])["+a+"]+$"),c=function(t){return function(e){var r=o(i(e));return 1&t&&(r=s(r,u,"")),2&t&&(r=s(r,l,"$1")),r}};t.exports={start:c(1),end:c(2),trim:c(3)}},50146:(t,e,r)=>{"use strict";var n=r(3615),i=r(3689),o=r(19037).String;t.exports=!!Object.getOwnPropertySymbols&&!i((function(){var t=Symbol("symbol detection");return!o(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},13032:(t,e,r)=>{"use strict";var n=r(22615),i=r(76058),o=r(44201),a=r(11880);t.exports=function(){var t=i("Symbol"),e=t&&t.prototype,r=e&&e.valueOf,s=o("toPrimitive");e&&!e[s]&&a(e,s,(function(t){return n(r,this)}),{arity:1})}},46549:(t,e,r)=>{"use strict";var n=r(50146);t.exports=n&&!!Symbol.for&&!!Symbol.keyFor},99886:(t,e,r)=>{"use strict";var n,i,o,a,s=r(19037),u=r(61735),l=r(54071),c=r(69985),f=r(36812),d=r(3689),h=r(2688),p=r(96004),g=r(36420),y=r(21500),v=r(4764),m=r(50806),b=s.setImmediate,w=s.clearImmediate,_=s.process,x=s.Dispatch,S=s.Function,E=s.MessageChannel,T=s.String,k=0,O={};d((function(){n=s.location}));var A=function(t){if(f(O,t)){var e=O[t];delete O[t],e()}},C=function(t){return function(){A(t)}},P=function(t){A(t.data)},j=function(t){s.postMessage(T(t),n.protocol+"//"+n.host)};b&&w||(b=function(t){y(arguments.length,1);var e=c(t)?t:S(t),r=p(arguments,1);return O[++k]=function(){u(e,void 0,r)},i(k),k},w=function(t){delete O[t]},m?i=function(t){_.nextTick(C(t))}:x&&x.now?i=function(t){x.now(C(t))}:E&&!v?(a=(o=new E).port2,o.port1.onmessage=P,i=l(a.postMessage,a)):s.addEventListener&&c(s.postMessage)&&!s.importScripts&&n&&"file:"!==n.protocol&&!d(j)?(i=j,s.addEventListener("message",P,!1)):i="onreadystatechange"in g("script")?function(t){h.appendChild(g("script")).onreadystatechange=function(){h.removeChild(this),A(t)}}:function(t){setTimeout(C(t),0)}),t.exports={set:b,clear:w}},23648:(t,e,r)=>{"use strict";var n=r(68844);t.exports=n(1..valueOf)},27578:(t,e,r)=>{"use strict";var n=r(68700),i=Math.max,o=Math.min;t.exports=function(t,e){var r=n(t);return r<0?i(r+e,0):o(r,e)}},65290:(t,e,r)=>{"use strict";var n=r(94413),i=r(74684);t.exports=function(t){return n(i(t))}},68700:(t,e,r)=>{"use strict";var n=r(58828);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},43126:(t,e,r)=>{"use strict";var n=r(68700),i=Math.min;t.exports=function(t){var e=n(t);return e>0?i(e,9007199254740991):0}},90690:(t,e,r)=>{"use strict";var n=r(74684),i=Object;t.exports=function(t){return i(n(t))}},88732:(t,e,r)=>{"use strict";var n=r(22615),i=r(48999),o=r(30734),a=r(54849),s=r(35899),u=r(44201),l=TypeError,c=u("toPrimitive");t.exports=function(t,e){if(!i(t)||o(t))return t;var r,u=a(t,c);if(u){if(void 0===e&&(e="default"),r=n(u,t,e),!i(r)||o(r))return r;throw new l("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},18360:(t,e,r)=>{"use strict";var n=r(88732),i=r(30734);t.exports=function(t){var e=n(t,"string");return i(e)?e:e+""}},23043:(t,e,r)=>{"use strict";var n={};n[r(44201)("toStringTag")]="z",t.exports="[object z]"===String(n)},34327:(t,e,r)=>{"use strict";var n=r(50926),i=String;t.exports=function(t){if("Symbol"===n(t))throw new TypeError("Cannot convert a Symbol value to a string");return i(t)}},23691:t=>{"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},14630:(t,e,r)=>{"use strict";var n=r(68844),i=0,o=Math.random(),a=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++i+o,36)}},39525:(t,e,r)=>{"use strict";var n=r(50146);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},15648:(t,e,r)=>{"use strict";var n=r(67697),i=r(3689);t.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},21500:t=>{"use strict";var e=TypeError;t.exports=function(t,r){if(t<r)throw new e("Not enough arguments");return t}},59834:(t,e,r)=>{"use strict";var n=r(19037),i=r(69985),o=n.WeakMap;t.exports=i(o)&&/native code/.test(String(o))},35405:(t,e,r)=>{"use strict";var n=r(50496),i=r(36812),o=r(96145),a=r(72560).f;t.exports=function(t){var e=n.Symbol||(n.Symbol={});i(e,t)||a(e,t,{value:o.f(t)})}},96145:(t,e,r)=>{"use strict";var n=r(44201);e.f=n},44201:(t,e,r)=>{"use strict";var n=r(19037),i=r(83430),o=r(36812),a=r(14630),s=r(50146),u=r(39525),l=n.Symbol,c=i("wks"),f=u?l.for||l:l&&l.withoutSetter||a;t.exports=function(t){return o(c,t)||(c[t]=s&&o(l,t)?l[t]:f("Symbol."+t)),c[t]}},86350:t=>{"use strict";t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},34338:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(92297),a=r(48999),s=r(90690),u=r(6310),l=r(55565),c=r(76522),f=r(27120),d=r(29042),h=r(44201),p=r(3615),g=h("isConcatSpreadable"),y=p>=51||!i((function(){var t=[];return t[g]=!1,t.concat()[0]!==t})),v=function(t){if(!a(t))return!1;var e=t[g];return void 0!==e?!!e:o(t)};n({target:"Array",proto:!0,arity:1,forced:!y||!d("concat")},{concat:function(t){var e,r,n,i,o,a=s(this),d=f(a,0),h=0;for(e=-1,n=arguments.length;e<n;e++)if(v(o=-1===e?a:arguments[e]))for(i=u(o),l(h+i),r=0;r<i;r++,h++)r in o&&c(d,h,o[r]);else l(h+1),c(d,h++,o);return d.length=h,d}})},38077:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).filter;n({target:"Array",proto:!0,forced:!r(29042)("filter")},{filter:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},25728:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).find,o=r(87370),a=!0;"find"in[]&&Array(1).find((function(){a=!1})),n({target:"Array",proto:!0,forced:a},{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),o("find")},77049:(t,e,r)=>{"use strict";var n=r(79989),i=r(21055);n({target:"Array",stat:!0,forced:!r(86431)((function(t){Array.from(t)}))},{from:i})},76801:(t,e,r)=>{"use strict";var n=r(79989),i=r(84328).includes,o=r(3689),a=r(87370);n({target:"Array",proto:!0,forced:o((function(){return!Array(1).includes()}))},{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),a("includes")},752:(t,e,r)=>{"use strict";var n=r(65290),i=r(87370),o=r(9478),a=r(618),s=r(72560).f,u=r(91934),l=r(27807),c=r(53931),f=r(67697),d=a.set,h=a.getterFor("Array Iterator");t.exports=u(Array,"Array",(function(t,e){d(this,{type:"Array Iterator",target:n(t),index:0,kind:e})}),(function(){var t=h(this),e=t.target,r=t.index++;if(!e||r>=e.length)return t.target=void 0,l(void 0,!0);switch(t.kind){case"keys":return l(r,!1);case"values":return l(e[r],!1)}return l([r,e[r]],!1)}),"values");var p=o.Arguments=o.Array;if(i("keys"),i("values"),i("entries"),!c&&f&&"values"!==p.name)try{s(p,"name",{value:"values"})}catch(t){}},6203:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(94413),a=r(65290),s=r(16834),u=i([].join);n({target:"Array",proto:!0,forced:o!==Object||!s("join",",")},{join:function(t){return u(a(this),void 0===t?",":t)}})},50886:(t,e,r)=>{"use strict";var n=r(79989),i=r(2960).map;n({target:"Array",proto:!0,forced:!r(29042)("map")},{map:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},89730:(t,e,r)=>{"use strict";var n=r(79989),i=r(92297),o=r(19429),a=r(48999),s=r(27578),u=r(6310),l=r(65290),c=r(76522),f=r(44201),d=r(29042),h=r(96004),p=d("slice"),g=f("species"),y=Array,v=Math.max;n({target:"Array",proto:!0,forced:!p},{slice:function(t,e){var r,n,f,d=l(this),p=u(d),m=s(t,p),b=s(void 0===e?p:e,p);if(i(d)&&(r=d.constructor,(o(r)&&(r===y||i(r.prototype))||a(r)&&null===(r=r[g]))&&(r=void 0),r===y||void 0===r))return h(d,m,b);for(n=new(void 0===r?y:r)(v(b-m,0)),f=0;m<b;m++,f++)m in d&&c(n,f,d[m]);return n.length=f,n}})},65137:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(10509),a=r(90690),s=r(6310),u=r(98494),l=r(34327),c=r(3689),f=r(50382),d=r(16834),h=r(97365),p=r(37298),g=r(3615),y=r(27922),v=[],m=i(v.sort),b=i(v.push),w=c((function(){v.sort(void 0)})),_=c((function(){v.sort(null)})),x=d("sort"),S=!c((function(){if(g)return g<70;if(!(h&&h>3)){if(p)return!0;if(y)return y<603;var t,e,r,n,i="";for(t=65;t<76;t++){switch(e=String.fromCharCode(t),t){case 66:case 69:case 70:case 72:r=3;break;case 68:case 71:r=4;break;default:r=2}for(n=0;n<47;n++)v.push({k:e+n,v:r})}for(v.sort((function(t,e){return e.v-t.v})),n=0;n<v.length;n++)e=v[n].k.charAt(0),i.charAt(i.length-1)!==e&&(i+=e);return"DGBEFHACIJK"!==i}}));n({target:"Array",proto:!0,forced:w||!_||!x||!S},{sort:function(t){void 0!==t&&o(t);var e=a(this);if(S)return void 0===t?m(e):m(e,t);var r,n,i=[],c=s(e);for(n=0;n<c;n++)n in e&&b(i,e[n]);for(f(i,function(t){return function(e,r){return void 0===r?-1:void 0===e?1:void 0!==t?+t(e,r)||0:l(e)>l(r)?1:-1}}(t)),r=s(i),n=0;n<r;)e[n]=i[n++];for(;n<c;)u(e,n++);return e}})},62506:(t,e,r)=>{"use strict";var n=r(79989),i=r(90690),o=r(27578),a=r(68700),s=r(6310),u=r(5649),l=r(55565),c=r(27120),f=r(76522),d=r(98494),h=r(29042)("splice"),p=Math.max,g=Math.min;n({target:"Array",proto:!0,forced:!h},{splice:function(t,e){var r,n,h,y,v,m,b=i(this),w=s(b),_=o(t,w),x=arguments.length;for(0===x?r=n=0:1===x?(r=0,n=w-_):(r=x-2,n=g(p(a(e),0),w-_)),l(w+r-n),h=c(b,n),y=0;y<n;y++)(v=_+y)in b&&f(h,y,b[v]);if(h.length=n,r<n){for(y=_;y<w-n;y++)m=y+r,(v=y+n)in b?b[m]=b[v]:d(b,m);for(y=w;y>w-n+r;y--)d(b,y-1)}else if(r>n)for(y=w-n;y>_;y--)m=y+r-1,(v=y+n-1)in b?b[m]=b[v]:d(b,m);for(y=0;y<r;y++)b[y+_]=arguments[y+2];return u(b,w-n+r),h}})},59903:(t,e,r)=>{"use strict";var n=r(36812),i=r(11880),o=r(81797),a=r(44201)("toPrimitive"),s=Date.prototype;n(s,a)||i(s,a,o)},34284:(t,e,r)=>{"use strict";var n=r(67697),i=r(41236).EXISTS,o=r(68844),a=r(62148),s=Function.prototype,u=o(s.toString),l=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,c=o(l.exec);n&&!i&&a(s,"name",{configurable:!0,get:function(){try{return c(l,u(this))[1]}catch(t){return""}}})},48324:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(61735),a=r(22615),s=r(68844),u=r(3689),l=r(69985),c=r(30734),f=r(96004),d=r(92643),h=r(50146),p=String,g=i("JSON","stringify"),y=s(/./.exec),v=s("".charAt),m=s("".charCodeAt),b=s("".replace),w=s(1..toString),_=/[\uD800-\uDFFF]/g,x=/^[\uD800-\uDBFF]$/,S=/^[\uDC00-\uDFFF]$/,E=!h||u((function(){var t=i("Symbol")("stringify detection");return"[null]"!==g([t])||"{}"!==g({a:t})||"{}"!==g(Object(t))})),T=u((function(){return'"\\udf06\\ud834"'!==g("\udf06\ud834")||'"\\udead"'!==g("\udead")})),k=function(t,e){var r=f(arguments),n=d(e);if(l(n)||void 0!==t&&!c(t))return r[1]=function(t,e){if(l(n)&&(e=a(n,this,p(t),e)),!c(e))return e},o(g,null,r)},O=function(t,e,r){var n=v(r,e-1),i=v(r,e+1);return y(x,t)&&!y(S,i)||y(S,t)&&!y(x,n)?"\\u"+w(m(t,0),16):t};g&&n({target:"JSON",stat:!0,arity:3,forced:E||T},{stringify:function(t,e,r){var n=f(arguments),i=o(E?k:g,null,n);return T&&"string"==typeof i?b(i,_,O):i}})},7629:(t,e,r)=>{"use strict";var n=r(19037);r(55997)(n.JSON,"JSON",!0)},77509:(t,e,r)=>{"use strict";r(55997)(Math,"Math",!0)},79288:(t,e,r)=>{"use strict";var n=r(79989),i=r(53931),o=r(67697),a=r(19037),s=r(50496),u=r(68844),l=r(35266),c=r(36812),f=r(33457),d=r(23622),h=r(30734),p=r(88732),g=r(3689),y=r(72741).f,v=r(82474).f,m=r(72560).f,b=r(23648),w=r(61435).trim,_=a.Number,x=s.Number,S=_.prototype,E=a.TypeError,T=u("".slice),k=u("".charCodeAt),O=function(t){var e=p(t,"number");return"bigint"==typeof e?e:A(e)},A=function(t){var e,r,n,i,o,a,s,u,l=p(t,"number");if(h(l))throw new E("Cannot convert a Symbol value to a number");if("string"==typeof l&&l.length>2)if(l=w(l),43===(e=k(l,0))||45===e){if(88===(r=k(l,2))||120===r)return NaN}else if(48===e){switch(k(l,1)){case 66:case 98:n=2,i=49;break;case 79:case 111:n=8,i=55;break;default:return+l}for(a=(o=T(l,2)).length,s=0;s<a;s++)if((u=k(o,s))<48||u>i)return NaN;return parseInt(o,n)}return+l},C=l("Number",!_(" 0o1")||!_("0b1")||_("+0x1")),P=function(t){return d(S,t)&&g((function(){b(t)}))},j=function(t){var e=arguments.length<1?0:_(O(t));return P(this)?f(Object(e),this,j):e};j.prototype=S,C&&!i&&(S.constructor=j),n({global:!0,constructor:!0,wrap:!0,forced:C},{Number:j});var R=function(t,e){for(var r,n=o?y(e):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,isFinite,isInteger,isNaN,isSafeInteger,parseFloat,parseInt,fromString,range".split(","),i=0;n.length>i;i++)c(e,r=n[i])&&!c(t,r)&&m(t,r,v(e,r))};i&&x&&R(s.Number,x),(C||i)&&R(s.Number,_)},60429:(t,e,r)=>{"use strict";var n=r(79989),i=r(45394);n({target:"Object",stat:!0,arity:2,forced:Object.assign!==i},{assign:i})},81919:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(65290),a=r(82474).f,s=r(67697);n({target:"Object",stat:!0,forced:!s||i((function(){a(1)})),sham:!s},{getOwnPropertyDescriptor:function(t,e){return a(o(t),e)}})},79434:(t,e,r)=>{"use strict";var n=r(79989),i=r(50146),o=r(3689),a=r(7518),s=r(90690);n({target:"Object",stat:!0,forced:!i||o((function(){a.f(1)}))},{getOwnPropertySymbols:function(t){var e=a.f;return e?e(s(t)):[]}})},88052:(t,e,r)=>{"use strict";var n=r(79989),i=r(3689),o=r(90690),a=r(61868),s=r(81748);n({target:"Object",stat:!0,forced:i((function(){a(1)})),sham:!s},{getPrototypeOf:function(t){return a(o(t))}})},69358:(t,e,r)=>{"use strict";var n=r(79989),i=r(90690),o=r(20300);n({target:"Object",stat:!0,forced:r(3689)((function(){o(1)}))},{keys:function(t){return o(i(t))}})},60228:(t,e,r)=>{"use strict";var n=r(23043),i=r(11880),o=r(65073);n||i(Object.prototype,"toString",o,{unsafe:!0})},81692:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(10509),a=r(48742),s=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{all:function(t){var e=this,r=a.f(e),n=r.resolve,l=r.reject,c=s((function(){var r=o(e.resolve),a=[],s=0,c=1;u(t,(function(t){var o=s++,u=!1;c++,i(r,e,t).then((function(t){u||(u=!0,a[o]=t,--c||n(a))}),l)})),--c||n(a)}));return c.error&&l(c.value),r.promise}})},75089:(t,e,r)=>{"use strict";var n=r(79989),i=r(53931),o=r(87073).CONSTRUCTOR,a=r(17919),s=r(76058),u=r(69985),l=r(11880),c=a&&a.prototype;if(n({target:"Promise",proto:!0,forced:o,real:!0},{catch:function(t){return this.then(void 0,t)}}),!i&&u(a)){var f=s("Promise").prototype.catch;c.catch!==f&&l(c,"catch",f,{unsafe:!0})}},56697:(t,e,r)=>{"use strict";var n,i,o,a=r(79989),s=r(53931),u=r(50806),l=r(19037),c=r(22615),f=r(11880),d=r(49385),h=r(55997),p=r(14241),g=r(10509),y=r(69985),v=r(48999),m=r(767),b=r(76373),w=r(99886).set,_=r(80231),x=r(20920),S=r(9302),E=r(34410),T=r(618),k=r(17919),O=r(87073),A=r(48742),C=O.CONSTRUCTOR,P=O.REJECTION_EVENT,j=O.SUBCLASSING,R=T.getterFor("Promise"),N=T.set,I=k&&k.prototype,L=k,D=I,M=l.TypeError,F=l.document,B=l.process,V=A.f,U=V,W=!!(F&&F.createEvent&&l.dispatchEvent),H=function(t){var e;return!(!v(t)||!y(e=t.then))&&e},Y=function(t,e){var r,n,i,o=e.value,a=1===e.state,s=a?t.ok:t.fail,u=t.resolve,l=t.reject,f=t.domain;try{s?(a||(2===e.rejection&&X(e),e.rejection=1),!0===s?r=o:(f&&f.enter(),r=s(o),f&&(f.exit(),i=!0)),r===t.promise?l(new M("Promise-chain cycle")):(n=H(r))?c(n,r,u,l):u(r)):l(o)}catch(t){f&&!i&&f.exit(),l(t)}},G=function(t,e){t.notified||(t.notified=!0,_((function(){for(var r,n=t.reactions;r=n.get();)Y(r,t);t.notified=!1,e&&!t.rejection&&q(t)})))},$=function(t,e,r){var n,i;W?((n=F.createEvent("Event")).promise=e,n.reason=r,n.initEvent(t,!1,!0),l.dispatchEvent(n)):n={promise:e,reason:r},!P&&(i=l["on"+t])?i(n):"unhandledrejection"===t&&x("Unhandled promise rejection",r)},q=function(t){c(w,l,(function(){var e,r=t.facade,n=t.value;if(z(t)&&(e=S((function(){u?B.emit("unhandledRejection",n,r):$("unhandledrejection",r,n)})),t.rejection=u||z(t)?2:1,e.error))throw e.value}))},z=function(t){return 1!==t.rejection&&!t.parent},X=function(t){c(w,l,(function(){var e=t.facade;u?B.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},Q=function(t,e,r){return function(n){t(e,n,r)}},Z=function(t,e,r){t.done||(t.done=!0,r&&(t=r),t.value=e,t.state=2,G(t,!0))},J=function(t,e,r){if(!t.done){t.done=!0,r&&(t=r);try{if(t.facade===e)throw new M("Promise can't be resolved itself");var n=H(e);n?_((function(){var r={done:!1};try{c(n,e,Q(J,r,t),Q(Z,r,t))}catch(e){Z(r,e,t)}})):(t.value=e,t.state=1,G(t,!1))}catch(e){Z({done:!1},e,t)}}};if(C&&(D=(L=function(t){m(this,D),g(t),c(n,this);var e=R(this);try{t(Q(J,e),Q(Z,e))}catch(t){Z(e,t)}}).prototype,(n=function(t){N(this,{type:"Promise",done:!1,notified:!1,parent:!1,reactions:new E,rejection:!1,state:0,value:void 0})}).prototype=f(D,"then",(function(t,e){var r=R(this),n=V(b(this,L));return r.parent=!0,n.ok=!y(t)||t,n.fail=y(e)&&e,n.domain=u?B.domain:void 0,0===r.state?r.reactions.add(n):_((function(){Y(n,r)})),n.promise})),i=function(){var t=new n,e=R(t);this.promise=t,this.resolve=Q(J,e),this.reject=Q(Z,e)},A.f=V=function(t){return t===L||void 0===t?new i(t):U(t)},!s&&y(k)&&I!==Object.prototype)){o=I.then,j||f(I,"then",(function(t,e){var r=this;return new L((function(t,e){c(o,r,t,e)})).then(t,e)}),{unsafe:!0});try{delete I.constructor}catch(t){}d&&d(I,D)}a({global:!0,constructor:!0,wrap:!0,forced:C},{Promise:L}),h(L,"Promise",!1,!0),p("Promise")},73964:(t,e,r)=>{"use strict";r(56697),r(81692),r(75089),r(58829),r(42092),r(57905)},58829:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(10509),a=r(48742),s=r(9302),u=r(18734);n({target:"Promise",stat:!0,forced:r(562)},{race:function(t){var e=this,r=a.f(e),n=r.reject,l=s((function(){var a=o(e.resolve);u(t,(function(t){i(a,e,t).then(r.resolve,n)}))}));return l.error&&n(l.value),r.promise}})},42092:(t,e,r)=>{"use strict";var n=r(79989),i=r(48742);n({target:"Promise",stat:!0,forced:r(87073).CONSTRUCTOR},{reject:function(t){var e=i.f(this);return(0,e.reject)(t),e.promise}})},57905:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(53931),a=r(17919),s=r(87073).CONSTRUCTOR,u=r(72945),l=i("Promise"),c=o&&!s;n({target:"Promise",stat:!0,forced:o||s},{resolve:function(t){return u(c&&this===l?a:this,t)}})},30050:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(61735),a=r(86761),s=r(52655),u=r(85027),l=r(48999),c=r(25391),f=r(3689),d=i("Reflect","construct"),h=Object.prototype,p=[].push,g=f((function(){function t(){}return!(d((function(){}),[],t)instanceof t)})),y=!f((function(){d((function(){}))})),v=g||y;n({target:"Reflect",stat:!0,forced:v,sham:v},{construct:function(t,e){s(t),u(e);var r=arguments.length<3?t:s(arguments[2]);if(y&&!g)return d(t,e,r);if(t===r){switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3])}var n=[null];return o(p,n,e),new(o(a,t,n))}var i=r.prototype,f=c(l(i)?i:h),v=o(t,f,e);return l(v)?v:f}})},32349:(t,e,r)=>{"use strict";var n=r(79989),i=r(22615),o=r(48999),a=r(85027),s=r(76251),u=r(82474),l=r(61868);n({target:"Reflect",stat:!0},{get:function t(e,r){var n,c,f=arguments.length<3?e:arguments[2];return a(e)===f?e[r]:(n=u.f(e,r))?s(n)?n.value:void 0===n.get?void 0:i(n.get,f):o(c=l(e))?t(c,r,f):void 0}})},52003:(t,e,r)=>{"use strict";var n=r(67697),i=r(19037),o=r(68844),a=r(35266),s=r(33457),u=r(75773),l=r(25391),c=r(72741).f,f=r(23622),d=r(91245),h=r(34327),p=r(63477),g=r(87901),y=r(38055),v=r(11880),m=r(3689),b=r(36812),w=r(618).enforce,_=r(14241),x=r(44201),S=r(62100),E=r(26738),T=x("match"),k=i.RegExp,O=k.prototype,A=i.SyntaxError,C=o(O.exec),P=o("".charAt),j=o("".replace),R=o("".indexOf),N=o("".slice),I=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,D=/a/g,M=new k(L)!==L,F=g.MISSED_STICKY,B=g.UNSUPPORTED_Y,V=n&&(!M||F||S||E||m((function(){return D[T]=!1,k(L)!==L||k(D)===D||"/a/i"!==String(k(L,"i"))})));if(a("RegExp",V)){for(var U=function(t,e){var r,n,i,o,a,c,g=f(O,this),y=d(t),v=void 0===e,m=[],_=t;if(!g&&y&&v&&t.constructor===U)return t;if((y||f(O,t))&&(t=t.source,v&&(e=p(_))),t=void 0===t?"":h(t),e=void 0===e?"":h(e),_=t,S&&"dotAll"in L&&(n=!!e&&R(e,"s")>-1)&&(e=j(e,/s/g,"")),r=e,F&&"sticky"in L&&(i=!!e&&R(e,"y")>-1)&&B&&(e=j(e,/y/g,"")),E&&(t=(o=function(t){for(var e,r=t.length,n=0,i="",o=[],a=l(null),s=!1,u=!1,c=0,f="";n<=r;n++){if("\\"===(e=P(t,n)))e+=P(t,++n);else if("]"===e)s=!1;else if(!s)switch(!0){case"["===e:s=!0;break;case"("===e:C(I,N(t,n+1))&&(n+=2,u=!0),i+=e,c++;continue;case">"===e&&u:if(""===f||b(a,f))throw new A("Invalid capture group name");a[f]=!0,o[o.length]=[f,c],u=!1,f="";continue}u?f+=e:i+=e}return[i,o]}(t))[0],m=o[1]),a=s(k(t,e),g?this:O,U),(n||i||m.length)&&(c=w(a),n&&(c.dotAll=!0,c.raw=U(function(t){for(var e,r=t.length,n=0,i="",o=!1;n<=r;n++)"\\"!==(e=P(t,n))?o||"."!==e?("["===e?o=!0:"]"===e&&(o=!1),i+=e):i+="[\\s\\S]":i+=e+P(t,++n);return i}(t),r)),i&&(c.sticky=!0),m.length&&(c.groups=m)),t!==_)try{u(a,"source",""===_?"(?:)":_)}catch(t){}return a},W=c(k),H=0;W.length>H;)y(U,k,W[H++]);O.constructor=U,U.prototype=O,v(i,"RegExp",U,{constructor:!0})}_("RegExp")},64043:(t,e,r)=>{"use strict";var n=r(79989),i=r(56308);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},12826:(t,e,r)=>{"use strict";var n=r(41236).PROPER,i=r(11880),o=r(85027),a=r(34327),s=r(3689),u=r(63477),l=RegExp.prototype,c=l.toString,f=s((function(){return"/a/b"!==c.call({source:"a",flags:"b"})})),d=n&&"toString"!==c.name;(f||d)&&i(l,"toString",(function(){var t=o(this);return"/"+a(t.source)+"/"+a(u(t))}),{unsafe:!0})},43843:(t,e,r)=>{"use strict";var n=r(79989),i=r(68844),o=r(42124),a=r(74684),s=r(34327),u=r(27413),l=i("".indexOf);n({target:"String",proto:!0,forced:!u("includes")},{includes:function(t){return!!~l(s(a(this)),s(o(t)),arguments.length>1?arguments[1]:void 0)}})},21694:(t,e,r)=>{"use strict";var n=r(10730).charAt,i=r(34327),o=r(618),a=r(91934),s=r(27807),u=o.set,l=o.getterFor("String Iterator");a(String,"String",(function(t){u(this,{type:"String Iterator",string:i(t),index:0})}),(function(){var t,e=l(this),r=e.string,i=e.index;return i>=r.length?s(void 0,!0):(t=n(r,i),e.index+=t.length,s(t,!1))}))},22462:(t,e,r)=>{"use strict";var n=r(22615),i=r(65773),o=r(85027),a=r(981),s=r(43126),u=r(34327),l=r(74684),c=r(54849),f=r(71514),d=r(66100);i("match",(function(t,e,r){return[function(e){var r=l(this),i=a(e)?void 0:c(e,t);return i?n(i,e,r):new RegExp(e)[t](u(r))},function(t){var n=o(this),i=u(t),a=r(e,n,i);if(a.done)return a.value;if(!n.global)return d(n,i);var l=n.unicode;n.lastIndex=0;for(var c,h=[],p=0;null!==(c=d(n,i));){var g=u(c[0]);h[p]=g,""===g&&(n.lastIndex=f(i,s(n.lastIndex),l)),p++}return 0===p?null:h}]}))},57267:(t,e,r)=>{"use strict";var n=r(61735),i=r(22615),o=r(68844),a=r(65773),s=r(3689),u=r(85027),l=r(69985),c=r(981),f=r(68700),d=r(43126),h=r(34327),p=r(74684),g=r(71514),y=r(54849),v=r(27017),m=r(66100),b=r(44201)("replace"),w=Math.max,_=Math.min,x=o([].concat),S=o([].push),E=o("".indexOf),T=o("".slice),k="$0"==="a".replace(/./,"$0"),O=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(t,e,r){var o=O?"$":"$0";return[function(t,r){var n=p(this),o=c(t)?void 0:y(t,b);return o?i(o,t,n,r):i(e,h(n),t,r)},function(t,i){var a=u(this),s=h(t);if("string"==typeof i&&-1===E(i,o)&&-1===E(i,"$<")){var c=r(e,a,s,i);if(c.done)return c.value}var p=l(i);p||(i=h(i));var y,b=a.global;b&&(y=a.unicode,a.lastIndex=0);for(var k,O=[];null!==(k=m(a,s))&&(S(O,k),b);){""===h(k[0])&&(a.lastIndex=g(s,d(a.lastIndex),y))}for(var A,C="",P=0,j=0;j<O.length;j++){for(var R,N=h((k=O[j])[0]),I=w(_(f(k.index),s.length),0),L=[],D=1;D<k.length;D++)S(L,void 0===(A=k[D])?A:String(A));var M=k.groups;if(p){var F=x([N],L,I,s);void 0!==M&&S(F,M),R=h(n(i,void 0,F))}else R=v(N,s,I,L,M,i);I>=P&&(C+=T(s,P,I)+R,P=I+N.length)}return C+T(s,P)}]}),!!s((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")}))||!k||O)},28436:(t,e,r)=>{"use strict";var n=r(79989),i=r(61435).trim;n({target:"String",proto:!0,forced:r(75984)("trim")},{trim:function(){return i(this)}})},58373:(t,e,r)=>{"use strict";r(35405)("asyncIterator")},37855:(t,e,r)=>{"use strict";var n=r(79989),i=r(19037),o=r(22615),a=r(68844),s=r(53931),u=r(67697),l=r(50146),c=r(3689),f=r(36812),d=r(23622),h=r(85027),p=r(65290),g=r(18360),y=r(34327),v=r(75684),m=r(25391),b=r(20300),w=r(72741),_=r(26062),x=r(7518),S=r(82474),E=r(72560),T=r(98920),k=r(49556),O=r(11880),A=r(62148),C=r(83430),P=r(2713),j=r(57248),R=r(14630),N=r(44201),I=r(96145),L=r(35405),D=r(13032),M=r(55997),F=r(618),B=r(2960).forEach,V=P("hidden"),U=F.set,W=F.getterFor("Symbol"),H=Object.prototype,Y=i.Symbol,G=Y&&Y.prototype,$=i.RangeError,q=i.TypeError,z=i.QObject,X=S.f,Q=E.f,Z=_.f,J=k.f,K=a([].push),tt=C("symbols"),et=C("op-symbols"),rt=C("wks"),nt=!z||!z.prototype||!z.prototype.findChild,it=function(t,e,r){var n=X(H,e);n&&delete H[e],Q(t,e,r),n&&t!==H&&Q(H,e,n)},ot=u&&c((function(){return 7!==m(Q({},"a",{get:function(){return Q(this,"a",{value:7}).a}})).a}))?it:Q,at=function(t,e){var r=tt[t]=m(G);return U(r,{type:"Symbol",tag:t,description:e}),u||(r.description=e),r},st=function(t,e,r){t===H&&st(et,e,r),h(t);var n=g(e);return h(r),f(tt,n)?(r.enumerable?(f(t,V)&&t[V][n]&&(t[V][n]=!1),r=m(r,{enumerable:v(0,!1)})):(f(t,V)||Q(t,V,v(1,m(null))),t[V][n]=!0),ot(t,n,r)):Q(t,n,r)},ut=function(t,e){h(t);var r=p(e),n=b(r).concat(dt(r));return B(n,(function(e){u&&!o(lt,r,e)||st(t,e,r[e])})),t},lt=function(t){var e=g(t),r=o(J,this,e);return!(this===H&&f(tt,e)&&!f(et,e))&&(!(r||!f(this,e)||!f(tt,e)||f(this,V)&&this[V][e])||r)},ct=function(t,e){var r=p(t),n=g(e);if(r!==H||!f(tt,n)||f(et,n)){var i=X(r,n);return!i||!f(tt,n)||f(r,V)&&r[V][n]||(i.enumerable=!0),i}},ft=function(t){var e=Z(p(t)),r=[];return B(e,(function(t){f(tt,t)||f(j,t)||K(r,t)})),r},dt=function(t){var e=t===H,r=Z(e?et:p(t)),n=[];return B(r,(function(t){!f(tt,t)||e&&!f(H,t)||K(n,tt[t])})),n};l||(O(G=(Y=function(){if(d(G,this))throw new q("Symbol is not a constructor");var t=arguments.length&&void 0!==arguments[0]?y(arguments[0]):void 0,e=R(t),r=function(t){var n=void 0===this?i:this;n===H&&o(r,et,t),f(n,V)&&f(n[V],e)&&(n[V][e]=!1);var a=v(1,t);try{ot(n,e,a)}catch(t){if(!(t instanceof $))throw t;it(n,e,a)}};return u&&nt&&ot(H,e,{configurable:!0,set:r}),at(e,t)}).prototype,"toString",(function(){return W(this).tag})),O(Y,"withoutSetter",(function(t){return at(R(t),t)})),k.f=lt,E.f=st,T.f=ut,S.f=ct,w.f=_.f=ft,x.f=dt,I.f=function(t){return at(N(t),t)},u&&(A(G,"description",{configurable:!0,get:function(){return W(this).description}}),s||O(H,"propertyIsEnumerable",lt,{unsafe:!0}))),n({global:!0,constructor:!0,wrap:!0,forced:!l,sham:!l},{Symbol:Y}),B(b(rt),(function(t){L(t)})),n({target:"Symbol",stat:!0,forced:!l},{useSetter:function(){nt=!0},useSimple:function(){nt=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!u},{create:function(t,e){return void 0===e?m(t):ut(m(t),e)},defineProperty:st,defineProperties:ut,getOwnPropertyDescriptor:ct}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:ft}),D(),M(Y,"Symbol"),j[V]=!0},86544:(t,e,r)=>{"use strict";var n=r(79989),i=r(67697),o=r(19037),a=r(68844),s=r(36812),u=r(69985),l=r(23622),c=r(34327),f=r(62148),d=r(8758),h=o.Symbol,p=h&&h.prototype;if(i&&u(h)&&(!("description"in p)||void 0!==h().description)){var g={},y=function(){var t=arguments.length<1||void 0===arguments[0]?void 0:c(arguments[0]),e=l(p,this)?new h(t):void 0===t?h():h(t);return""===t&&(g[e]=!0),e};d(y,h),y.prototype=p,p.constructor=y;var v="Symbol(description detection)"===String(h("description detection")),m=a(p.valueOf),b=a(p.toString),w=/^Symbol\((.*)\)[^)]+$/,_=a("".replace),x=a("".slice);f(p,"description",{configurable:!0,get:function(){var t=m(this);if(s(g,t))return"";var e=b(t),r=v?x(e,7,-1):_(e,w,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:y})}},43975:(t,e,r)=>{"use strict";var n=r(79989),i=r(76058),o=r(36812),a=r(34327),s=r(83430),u=r(46549),l=s("string-to-symbol-registry"),c=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{for:function(t){var e=a(t);if(o(l,e))return l[e];var r=i("Symbol")(e);return l[e]=r,c[r]=e,r}})},84254:(t,e,r)=>{"use strict";r(35405)("iterator")},59749:(t,e,r)=>{"use strict";r(37855),r(43975),r(81445),r(48324),r(79434)},81445:(t,e,r)=>{"use strict";var n=r(79989),i=r(36812),o=r(30734),a=r(23691),s=r(83430),u=r(46549),l=s("symbol-to-string-registry");n({target:"Symbol",stat:!0,forced:!u},{keyFor:function(t){if(!o(t))throw new TypeError(a(t)+" is not a symbol");if(i(l,t))return l[t]}})},69373:(t,e,r)=>{"use strict";var n=r(35405),i=r(13032);n("toPrimitive"),i()},66793:(t,e,r)=>{"use strict";var n=r(76058),i=r(35405),o=r(55997);i("toStringTag"),o(n("Symbol"),"Symbol")},47522:(t,e,r)=>{"use strict";var n=r(19037),i=r(66338),o=r(33265),a=r(57612),s=r(75773),u=function(t){if(t&&t.forEach!==a)try{s(t,"forEach",a)}catch(e){t.forEach=a}};for(var l in i)i[l]&&u(n[l]&&n[l].prototype);u(o)},76265:(t,e,r)=>{"use strict";var n=r(19037),i=r(66338),o=r(33265),a=r(752),s=r(75773),u=r(55997),l=r(44201)("iterator"),c=a.values,f=function(t,e){if(t){if(t[l]!==c)try{s(t,l,c)}catch(e){t[l]=c}if(u(t,e,!0),i[e])for(var r in a)if(t[r]!==a[r])try{s(t,r,a[r])}catch(e){t[r]=a[r]}}};for(var d in i)f(n[d]&&n[d].prototype,d);f(o,"DOMTokenList")}},e={};function r(n){var i=e[n];if(void 0!==i)return i.exports;var o=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.m=t,r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),r.b=document.baseURI||self.location.href,r.nc=void 0;var n={};return(()=>{"use strict";r.r(n),r.d(n,{ItemStore:()=>Gu,Presenter:()=>Ka,bundleLoader:()=>tl,engine:()=>Oa,renderingContext:()=>ei,system:()=>Wn,utils:()=>Vn,validate:()=>Fa});r(60228),r(47522),r(62506),r(38077),r(59749),r(86544),r(84254),r(752),r(21694),r(76265),r(76801),r(43843),r(25728),r(69358),r(50886),r(69373),r(59903),r(79288),r(74289),r(48888),r(3925),r(45195),r(10373),r(83500),r(49361),r(14223),r(58965),r(54458),r(94825),r(56270);function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}"__rdfjson_namespaces"in globalThis||(globalThis.__rdfjson_namespaces={ical:"http://www.w3.org/2002/12/cal/ical#",vcard:"http://www.w3.org/2006/vcard/ns#",dcterms:"http://purl.org/dc/terms/",skos:"http://www.w3.org/2004/02/skos/core#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",owl:"http://www.w3.org/2002/07/owl#",vs:"http://www.w3.org/2003/06/sw-vocab-status/ns#",foaf:"http://xmlns.com/foaf/0.1/",wot:"http://xmlns.com/wot/0.1/",dc:"http://purl.org/dc/elements/1.1/",xsd:"http://www.w3.org/2001/XMLSchema#",dcat:"http://www.w3.org/ns/dcat#",org:"http://www.w3.org/ns/org#",gn:"http://www.geonames.org/ontology#",locn:"http://www.w3.org/ns/locn#",schema:"http://schema.org/",ex:"http://example.com/",gsp:"http://www.opengis.net/ont/geosparql#",odrs:"http://schema.theodi.org/odrs#"});var e=globalThis.__rdfjson_namespaces,i=0,o=function(t,r,n){return e[t]||(e[t]=r),{abbrev:t,ns:r,localname:n,full:r+n,pretty:"".concat(t,":").concat(n)}},a=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));if(r)return o(r,e[r],t.substring(e[r].length));var n=t.lastIndexOf("/"),a=t.lastIndexOf("#");return a>n&&(n=a),o("ns".concat(i+=1),t.substring(0,n+1),t.substring(n+1))};const u=function(t){var r=Object.keys(e).find((function(r){return 0===t.indexOf(e[r])}));return r?o(r,e[r],t.substring(e[r].length)).pretty:t},l=function(t){return a(t).pretty},c=function(t){var r=t.split(":");return 2===r.length&&e.hasOwnProperty(r[0])?e[r[0]]+r[1]:t},f=function(r,n){"string"==typeof r?e[r]=n:"object"===t(r)&&Object.keys(r).forEach((function(t){e[t]=r[t]}))};r(85110),r(67483),r(17299),r(12766),r(20539),r(40454),r(45872),r(30695),r(72870),r(2458),r(13090),r(64120),r(4099),r(75397),r(7741),r(15796),r(42781);function d(t){return(d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var h=function(t){return void 0!==t&&(null===t||"object"===d(t)||Array.isArray(t)||"function"==typeof t)},p=function(t){return"string"==typeof t||t instanceof String},g=function(t,e,r){0===t[e][r].length&&(delete t[e][r],0===Object.keys(t[e]).length&&delete t[e])},y=function(t){if(!h(t[0]))throw new Error("Graph is not a object.");if(!p(t[1]))throw new Error("Subject is not a string.");if(!p(t[2]))throw new Error("Predicate is not a string.");if(!h(t[3]))throw new Error("Object is not a object.");if(void 0===t[3].type)throw new Error("Object has no type attribute, must be one of 'uri', 'literal', or 'bnode'");if(void 0===t[3].value)throw new Error("Object has no value attribute corresponding to the lexical value of the object.")},v=function(t,e){return t===e||null==t&&t===e||(p(t)?p(e)?t===e:t===e.value:p(e)?t.value===e:t.type===e.type&&t.value===e.value&&t.lang===e.lang&&t.datatype===e.datatype)},m=function(t){var e={type:t.type,value:t.value};return null!=t.ng&&(e.ng=t.ng),null!=t.lang&&(e.lang=t.lang),null!=t.datatype&&(e.datatype=t.datatype),e},b=function(t){return"".concat(t.value).concat(t.type).concat(t.lang||"").concat(t.datatype||"").concat(t.ng||"")};const w={isObject:h,isString:p,isFunction:function(t){return"[object Function]"===Object.prototype.toString.call(t)},statementEquals:function(t,e){return t.s===e.s&&t.p===e.p&&v(t.o,e.o)},add:function(t,e,r,n,i){if(y([t,e,r,n]),void 0===t[e])return t[e]={},t[e][r]=[n],n;if(void 0===t[e][r])return t[e][r]=[n],n;var o,a=t[e][r];if(!i)for(o=a.length-1;o>=0;o--)if(v(n,a[o]))return a[o];return a.push(n),n},remove:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(v(n,o[i])){var a=o[i];return o.splice(i,1),g(t,e,r),a}}},contains:function(t,e,r,n){if(y([t,e,r,n]),void 0!==t[e]&&void 0!==t[e][r]){var i,o=t[e][r];for(i=o.length-1;i>=0;i--)if(v(n,o[i]))return o[i]}},cleanup:g,checkForWrongArgs:y,objectEquals:v,findDirectOrRDFValue:function(t,e,r){var n=t.find(e,r);if(n.length>0)return"bnode"!==n[0].getType()?n[0].getValue():t.findFirstValue(n[0].getValue(),"http://www.w3.org/1999/02/22-rdf-syntax-ns#value")},clone:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r={};return Object.keys(t).forEach((function(n){var i=t[n];r[n]={},Object.keys(i).forEach((function(t){var o=i[t];if(1===o.length)r[n][t]=[m(o[0])];else if(e){var a=[],s=new Set;r[n][t]=a,i[t].forEach((function(t){var e=m(t),r=b(e);s.has(r)||(s.add(r),a.push(e))}))}else{var u=[];r[n][t]=u,i[t].forEach((function(t){u.push(m(t))}))}}))})),r}};function _(t){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function x(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,S(n.key),n)}}function S(t){var e=function(t,e){if("object"!=_(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==_(e)?e:String(e)}var E=function(){function t(e,r,n,i,o){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._graph=e,this._s=r,this._p=n,this._o=i,this._o._statement=this,this._asserted=o}var e,r,n;return e=t,(r=[{key:"getGraph",value:function(){return this._graph}},{key:"setAsserted",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];t!==this._asserted&&(t?this._graph.add(this,void 0,void 0,this._silentValue,e):this._graph.remove(this,this._silentValue),this._asserted=t)}},{key:"isAsserted",value:function(){return this._asserted}},{key:"getSubject",value:function(){return this._s}},{key:"isSubjectBlank",value:function(){return!0!==this._sIsBlank&&!1!==this._sIsBlank&&(this._sIsBlank=0===this._s.indexOf("_:")),this._sIsBlank}},{key:"isObjectBlank",value:function(){return"bnode"===this.getType()}},{key:"setSubject",value:function(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._s=e,this._graph.add(this),delete this._sIsBlank):this._s=e}},{key:"getPredicate",value:function(){return this._p}},{key:"setPredicate",value:function(t){this._silentValue=!1;var e=c(t);this._asserted?(this._graph.remove(this),this._p=e,this._graph.add(this)):this._p=e}},{key:"getNamedGraph",value:function(){return this._o.ng}},{key:"setNamedGraph",value:function(t){this._o.ng=t}},{key:"getObject",value:function(){return this._o}},{key:"getCleanObject",value:function(){var t=this._o,e={value:t.value,type:t.type};return this._o.ng&&(e.ng=t.ng),t.lang&&(e.lang=t.lang),this._o.datatype&&(e.datatype=t.datatype),e}},{key:"getType",value:function(){return this._o.type}},{key:"setType",value:function(t){throw new Error("Changing the type of an object is not supported, create a new statement instead.")}},{key:"getValue",value:function(){return this._o.value}},{key:"setValue",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this._silentValue=!0===e,t!==this._o.value&&(this._o.value=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getLanguage",value:function(){return this._o.lang}},{key:"setLanguage",value:function(t,e){if(this._silentValue=!0===e,"literal"!==this._o.type)throw new Error("Cannot set the language for a resource, has to be a literal");this._o.lang!==t&&(this._o.lang=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}},{key:"getDatatype",value:function(){return this._o.datatype}},{key:"setDatatype",value:function(t,e){if(this._silentValue=!0===e,"literal"!==this._o.type||null!=this._o.lang)throw new Error("Cannot set the datatype for a resource, has to be a literal");this._o.datatype!==t&&(this._o.datatype=t,this.isAsserted()&&!0!==e&&this._graph.setChanged())}}])&&x(e.prototype,r),n&&x(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}(),T=(r(91756),r(65273),r(2568));const k=function(t,e){var r=[],n=new Set((e||[]).map((function(t){return c(t)}))),i=[],o={},a=function(t){var e=t.getValue();t.getLanguage()&&(e+="@".concat(t.getLanguage()));var r=t.getDatatype();return r&&"http://www.w3.org/2001/XMLSchema#string"!==r&&"http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"!==r&&(e+="^^".concat(r)),e},s=function(t,e){var r=o[t]||{rels:[]};o[t]=r,r.rels.push(e)};return t.find().forEach((function(t){var e=t.getSubject(),o=t.getPredicate();if(!n.has(o)){var u="bnode"===t.getType(),l=t.isSubjectBlank();if(l||u)return i.push(t),l&&s(t.getSubject(),u?o:o+a(t)),void("bnode"===t.getType()&&s(t.getValue(),l?o:e+o));r.push(e+o+a(t))}})),Object.values(o).forEach((function(t){t.rels.sort(),t.hash=T(t.rels.join(""))})),i.forEach((function(t){var e=[];e.push(t.isSubjectBlank()?o[t.getSubject()].hash:t.getSubject()),e.push(t.getPredicate()),e.push("bnode"===t.getType()?o[t.getValue()].hash:a(t)),r.push(e.join(""))})),r.sort(),T(r.join(""))};class O{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}O.prototype.termType="BlankNode";const A=O;class C{equals(t){return!!t&&t.termType===this.termType}}C.prototype.termType="DefaultGraph",C.prototype.value="";const P=C;const j=function(t,e){if(!e)return null;if("BlankNode"===e.termType)return t.blankNode(e.value);if("DefaultGraph"===e.termType)return t.defaultGraph();if("Literal"===e.termType)return t.literal(e.value,e.language||t.namedNode(e.datatype.value));if("NamedNode"===e.termType)return t.namedNode(e.value);if("Quad"===e.termType){const r=t.fromTerm(e.subject),n=t.fromTerm(e.predicate),i=t.fromTerm(e.object),o=t.fromTerm(e.graph);return t.quad(r,n,i,o)}if("Variable"===e.termType)return t.variable(e.value);throw new Error("unknown termType "+e.termType)};class R{constructor(t,e,r){this.value=t,this.language=e,this.datatype=r}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value&&t.language===this.language&&t.datatype.equals(this.datatype)}}R.prototype.termType="Literal";const N=R;class I{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}I.prototype.termType="NamedNode";const L=I;class D{constructor(t,e,r,n){this.subject=t,this.predicate=e,this.object=r,this.graph=n}equals(t){return!!t&&("Quad"===t.termType||!t.termType)&&t.subject.equals(this.subject)&&t.predicate.equals(this.predicate)&&t.object.equals(this.object)&&t.graph.equals(this.graph)}}D.prototype.termType="Quad",D.prototype.value="";const M=D;class F{constructor(t){this.value=t}equals(t){return!!t&&t.termType===this.termType&&t.value===this.value}}F.prototype.termType="Variable";const B=F,V=new L("http://www.w3.org/1999/02/22-rdf-syntax-ns#langString"),U=new L("http://www.w3.org/2001/XMLSchema#string");class W{constructor(){this.init()}init(){this._data={blankNodeCounter:0,defaultGraph:new P}}namedNode(t){return new L(t)}blankNode(t){return t=t||"b"+ ++this._data.blankNodeCounter,new A(t)}literal(t,e){return"string"==typeof e?new N(t,e,V):new N(t,"",e||U)}variable(t){return new B(t)}defaultGraph(){return this._data.defaultGraph}quad(t,e,r,n=this.defaultGraph()){return new M(t,e,r,n)}fromTerm(t){return j(this,t)}fromQuad(t){return j(this,t)}}W.exports=["blankNode","defaultGraph","fromQuad","fromTerm","literal","namedNode","quad","variable"];const H=new W;var Y=function(t){return 0===t.indexOf("_:")?t.substring(2):t},G=function(t){return t.find().map((function(t){var e=t.getSubject(),r=t.getPredicate(),n=function(t){if(t.value)switch(t.type){case"literal":if(t.lang)return H.literal(t.value,t.lang);if(t.datatype){var e=H.namedNode(t.datatype);return H.literal(t.value,e)}return H.literal(t.value);case"uri":return H.namedNode(t.value);case"blank":return H.blankNode(Y(t.value))}}(t.getObject()),i=t.getNamedGraph()?H.namedNode(t.getNamedGraph()):void 0;return H.quad(t.isSubjectBlank()?H.blankNode(Y(e)):H.namedNode(e),H.namedNode(r),n,i)}))},$=function(t){return 0===t.indexOf("_:")?t:"_:".concat(t)},q=function(t,e){var r=e||new Graph,n=function(t){var e=function(t){switch(t.termType){case"NamedNode":return{value:t.value,type:"uri"};case"BlankNode":return{value:$(t.value),type:"bnode"};case"Literal":return t.language?{value:t.value,type:"literal",lang:t.language}:t.datatype?{value:t.value,type:"literal",datatype:t.datatype.value}:{value:t.value,type:"literal"}}}(t.object||t._object);return"DefaultGraph"!==t.graph.termType&&(e.ng=t.graph.value),e};t.forEach((function(t){r.add("BlankNode"===t.subject.termType?$(t.subject.value):t.subject.value,"BlankNode"===t.predicate.termType?$(t.predicate.value):t.predicate.value,n(t))}))};function z(t){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function X(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Z(n.key),n)}}function Z(t){var e=function(t,e){if("object"!=z(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=z(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==z(e)?e:String(e)}var J=function(t){return 0===t.length?t:[t[0]]},K=function t(e,r,n){return{object:function(i){for(var o=0;o<r.length;o++){var a=void 0;if(n)a=r[o].getSubject();else{var s=r[o].getType();if("uri"===s||"bnode"===s)continue;a=r[o].getValue()}var u=e.find(a,i);u.length>0&&t(e,[u[0]])}return t(e,[])},objects:function(i){var o,a=[];if(!0===n)for(o=0;o<r.length;o++)a=a.concat(e.find(r[o].getSubject(),i));else for(o=0;o<r.length;o++){var s=r[o].getType();"uri"!==s&&"bnode"!==s||(a=a.concat(e.find(r[o].getValue(),i)))}return t(e,a)},constr:function(i,o){var a=o;w.isString(a)&&(a={type:"uri",value:a});for(var s=[],u=0;u<r.length;u++){var l=n?r[u].getSubject():r[u].getValue();e.find(l,i,a).length>0&&s.push(r[u])}return t(e,s,n)},each:function(i,o){if(!0===n)for(var a=0;a<r.length;a++){var s="_:"===r[a].getSubject().substring(0,2)?"bnode":"uri";null!=o&&o!==s||i(t(e,r[a],n))}else for(var u=0;u<r.length;u++)i(t(e,r[u],n))},statements:function(){return r},nodes:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push({type:o,value:r[i].getSubject()})}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getObject());return e},values:function(t){var e=[];if(!0===n)for(var i=0;i<r.length;i++){var o="_:"===r[i].getSubject().substring(0,2)?"bnode":"uri";null!=t&&t!==o||e.push(r[i].getSubject())}else for(var a=0;a<r.length;a++)null!=t&&t!==r[a].getType()||e.push(r[a].getValue());return e},firstValue:function(t){if(!0===n)for(var e=0;e<r.length;e++){var i="_:"===r[e].getSubject().substring(0,2)?"bnode":"uri";if(null==t||t===i)return r[e].getSubject()}else for(var o=0;o<r.length;o++)if(null==t||t===r[o].getType())return r[o].getValue()}}},tt=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,r=arguments.length>1?arguments[1]:void 0;X(this,t),this._graph=e||{},this._bnodes={},this._bnodesIndexed=!1,!1!==r&&this.validate(),this._changed=!1}var e,r,n;return e=t,(r=[{key:"addQuads",value:function(t){return q(t,this),this}},{key:"toQuads",value:function(){return G(this)}},{key:"isEmpty",value:function(){var t=this;return!Object.keys(this._graph).find((function(e){var r=t._graph[e];return Object.keys(r).find((function(t){return r[t].find((function(t){return null==t._statement||t._statement.isAsserted()}))}))}))}},{key:"onChange",value:function(){}},{key:"setChanged",value:function(t){this._changed=!(!0!==t&&null!=t),this._changed&&this.onChange()}},{key:"isChanged",value:function(){return this._changed}},{key:"addAll",value:function(t,e){for(var r,n={},i=t.find(),o=0;o<i.length;o++){var a=i[o],s=a.getSubject(),u=a.getPredicate(),l=a.getCleanObject();e&&(l.ng=e),0===s.indexOf("_:")&&(r=n[s]||this._newBNode(),n[s]=r,s=r),0===u.indexOf("_:")&&(r=n[u]||this._newBNode(),n[u]=r,u=r),"bnode"===l.type&&(r=n[l.value]||this._newBNode(),n[l.value]=r,l.value=r),this.add(s,u,l)}}},{key:"add",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=arguments.length>4?arguments[4]:void 0;if(t instanceof E){var o=t.getPredicate(),a=t.getObject(),s=t.getSubject();this._trackBNodes(s,o,a);var u=this._graphObject(a),l=w.add(this._graph,s,o,u,i);return!0!==n&&this.setChanged(),this._get(s,o,l,!0)}return this.create(t,e,r,!0,n,i)}},{key:"addL",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.lang=n),this.create(t,e,i,!0)}},{key:"addD",value:function(t,e,r,n){var i={type:"literal",value:r};return"string"==typeof n&&(i.datatype=c(n)),this.create(t,e,i,!0)}},{key:"create",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]&&arguments[5],a=t,s=e,u=r;if(a=null==a?this._newBNode():c(a),s=null==s?this._newBNode():c(s),null==u?u={type:"bnode",value:this._newBNode()}:w.isString(u)?u={type:"uri",value:c(u)}:"object"!==z(u)||Array.isArray(u)?u={type:"uri",value:"".concat(u)}:("uri"===(u={type:u.type,value:u.value,lang:u.lang,datatype:u.datatype,ng:u.ng}).type&&null!=u.value&&(u.value=c(u.value)),u.datatype&&(u.datatype=c(u.datatype))),!1!==n){var l=w.add(this._graph,a,s,u,o);return!0!==i&&this.setChanged(),this._getOrCreate(a,s,l,!0)}return new E(this,a,s,u,!1)}},{key:"findAndRemove",value:function(t,e,r){for(var n=arguments.length>3&&void 0!==arguments[3]&&arguments[3],i=this.find(t,e,r),o=0;o<i.length;o++)this.remove(i[o],n)}},{key:"remove",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=t.getSubject(),n=t.getPredicate(),i=t.getObject();this._trackBNodes(r,n,i),null!=w.remove(this._graph,r,n,i)&&!0!==e&&this.setChanged()}},{key:"find",value:function(t,e,r){var n=t,i=e,o=r;if("string"==typeof n&&(n=c(n)),"string"==typeof i&&(i=c(i)),"object"===z(o)&&null!==o&&"uri"===o.type?o.value=c(o.value):"string"==typeof o&&(o={type:"uri",value:c(o)}),null==o)return null==i?null==n?this._find():this._findS(n):null==n?this._findP(i):this._findSP(n,i);if(null==i)return null==n?this._findO(o):this._findSO(n,o);if(null==n)return this._findPO(i,o);var a=this._get(n,i,w.contains(this._graph,n,i,o),!0);return null==a?[]:[a]}},{key:"findFirstValue",value:function(t,e){var r=this.find(t,e);if(r.length>0)return r[0].getValue()}},{key:"projection",value:function(t,e,r){var n=this,i={};return Object.keys(e).forEach((function(o){var a=e[o],s=Array.isArray(a)?n.findPath(t,a):n.find(t,a);if(s.length>0)switch("*"===o[0]?i[o.substr(1)]=s.map((function(t){return t.getValue()})):i[o]=s[0].getValue(),r||"none"){case"statement":i["*".concat(o)]=s;break;case"objects":i["*".concat(o)]=s.map((function(t){return t.getCleanObject()}));break;case"values":i["*".concat(o)]=s.map((function(t){return t.getValue()}))}})),i}},{key:"subjects",value:function(t,e){return K(this,this.find(null,t,e),!0)}},{key:"subject",value:function(t,e){return K(this,J(this.find(null,t,e)),!0)}},{key:"objects",value:function(t,e){return K(this,this.find(t,e,null))}},{key:"object",value:function(t,e){return K(this,J(this.find(t,e,null)))}},{key:"findPath",value:function(t,e){return e.slice(1).reduce((function(t,e){return t.objects(e)}),this.objects(t,e[0])).statements()}},{key:"addList",value:function(t){return this._addList(t,"add")}},{key:"addListL",value:function(t,e){return this._addList(t,"addL",e)}},{key:"addListD",value:function(t,e){return this._addList(t,"addD",e)}},{key:"_addList",value:function(t,e,r){var n,i=this;if(Array.isArray(t)&&0!==t.length){var o=n=this._newBNode(),a=t.length-1;t.forEach((function(t,n){i[e](o,"rdf:first",t,r),n!==a?o=i.add(o,"rdf:rest").getValue():i.add(o,"rdf:rest","rdf:nil")}))}else n=c("rdf:nil");return n}},{key:"removeList",value:function(t){var e=!1,r="object"===z(t)?t.value:t;try{var n=c("rdf:nil");for(e=r===n;r!==n&&null!=r;){var i=this.findFirstValue(r,"rdf:rest");this.findAndRemove(r),e=null!=(r=i)}}catch(t){return console.warn("Invalid list for object: ".concat(r)),!1}return e}},{key:"getList",value:function(t){var e="object"===z(t)?t.value:c(t),r=[];try{for(var n=c("rdf:nil");e!==n&&null!=e;)r.push(this.find(e,"rdf:first")[0].getObject()),e=this.findFirstValue(e,"rdf:rest")}catch(t){console.warn("Invalid list for object: ".concat(e))}return r}},{key:"findFirstListAsValues",value:function(t,e){return this.getList(this.findFirstValue(t,e)).map((function(t){return t.value}))}},{key:"findAndRemoveLists",value:function(t,e){var r=this,n=!1;return this.find(t,e).forEach((function(t){r.removeList(t.getValue())&&(r.remove(t),n=!0)})),n}},{key:"exportRDFJSON",value:function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return this._graph,w.clone(this._graph,t)}},{key:"replaceSubject",value:function(t,e){return this.replaceURI(t,e)}},{key:"replaceURI",value:function(t,e){var r=this._graph;if(r.hasOwnProperty(t)){if(r.hasOwnProperty(e))throw new Error("Cannot replace subject with target URI since it already exists.");r[e]=r[t],delete r[t]}return this.forEach((function(r,n,i){"uri"===i.type&&i.value===t&&(i.value=e),r===e&&i._statement&&(i._statement._s=e)})),this}},{key:"replaceBlankWithURI",value:function(t,e,r){var n=this._graph;if(n.hasOwnProperty(t)){if(n.hasOwnProperty(e)){if(!r)throw new Error("Cannot replace subject with target URI since it already exists.");var i=n[e],o=n[t];Object.keys(o).forEach((function(t){if(i.hasOwnProperty(t)){var e=i[t],r=o[t].filter((function(t){return!e.find((function(e){return w.objectEquals(e,t)}))}));i[t]=e.concat(r)}else i[t]=o[t]})),delete n[t]}else n[e]=n[t],delete n[t];this.forEach((function(r,n,i){"bnode"===i.type&&i.value===t&&(i.value=e,i.type="uri"),r===e&&i._statement&&(i._statement._s=e)}))}return delete this._bnodes[t],this}},{key:"clone",value:function(){return new t(this.exportRDFJSON(!1))}},{key:"findProperties",value:function(t){return Object.keys(this._graph[t]||{})}},{key:"validate",value:function(){if(this.report=this._validate(),!this.report.valid)throw this.report;return this.report}},{key:"registerBNode",value:function(t){this._bnodes[t]=!0}},{key:"forEach",value:function(t){var e=this._graph;Object.keys(e).forEach((function(r){var n=e[r];Object.keys(n).forEach((function(e){n[e].forEach((function(n){t(r,e,n)}))}))}))}},{key:"map",value:function(t){var e=[];return this.forEach((function(r){e.push(t(r))})),e}},{key:"equals",value:function(t,e){return k(this,e)===k(t,e)}},{key:"size",value:function(){var t=0;return Object.values(this._graph).forEach((function(e){Object.values(e).forEach((function(e){t+=e.length}))})),t}},{key:"_get",value:function(t,e,r,n){if(null!=r)return this._getOrCreate(t,e,r,n)}},{key:"_getOrCreate",value:function(t,e,r,n){return null==r._statement&&(r._statement=new E(this,t,e,r,n)),r._statement}},{key:"_graphObject",value:function(t){return null==t._statement||t._statement._graph===this?t:{type:t.type,value:t.value,lang:t.lang,datatype:t.datatype}}},{key:"_findSP",value:function(t,e){var r=this;return null==this._graph[t]||null==this._graph[t][e]?[]:this._graph[t][e].map((function(n){return r._get(t,e,n,!0)}))}},{key:"_findS",value:function(t){var e=this,r=this._graph[t],n=Object.keys(r||{}).map((function(r){return e._findSP(t,r)}));return Array.prototype.concat.apply([],n)}},{key:"_find",value:function(){var t=this,e=[];return this.forEach((function(r,n,i){e.push(t._get(r,n,i,!0))})),e}},{key:"_findP",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){t===i&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findO",value:function(t){var e=this,r=[];return this.forEach((function(n,i,o){w.objectEquals(t,o)&&r.push(e._get(n,i,o,!0))})),r}},{key:"_findSO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===i&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_findPO",value:function(t,e){var r=this,n=[];return this.forEach((function(i,o,a){t===o&&w.objectEquals(e,a)&&n.push(r._get(i,o,a,!0))})),n}},{key:"_validate",value:function(){var t=this._graph,e={valid:!0,errors:[],nr:0};return Object.keys(t).forEach((function(r){var n=t[r];w.isObject(n)?Object.keys(n).forEach((function(t){var i=n[t];Array.isArray(i)?i.forEach((function(n,i){w.isObject(n)?null!=n.type?w.isString(n.value)?e.nr+=1:(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array must have the 'value' attribute pointing to a string.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Object ".concat(i+1," in object array lacks the attribute type, must be either 'literal', 'resource' or 'bnode'.")}),e.valid=!1):(e.errors.push({s:r,p:t,oindex:i+1,message:"Element ".concat(i+1," in object array is not an object.")}),e.valid=!1)})):(e.errors.push({s:r,p:t,message:"Predicate must point to an array of objects."}),e.valid=!1)})):(e.errors.push({s:r,message:"Subject must point to an object."}),e.valid=!1)})),e}},{key:"_newBNode",value:function(){var t,e,r;for(this._indexBNodes(),t=1;t<20;t++)for(e=1;e<=t;e++)if(r="_:".concat(Math.floor(Math.random()*(Math.pow(10,t)+1))),!0!==this._bnodes[r])return this._bnodes[r]=!0,r;throw new Error("Failed creating a new blank node, increadible unprobable...")}},{key:"_indexBNodes",value:function(){var t=this;if(!this._bnodesIndexed){var e=this._graph;Object.keys(e).forEach((function(r){0===r.indexOf("_:")&&(t._bnodes[r]=!0);var n=e[r];Object.keys(n).forEach((function(e){0===e.indexOf("_:")&&(t._bnodes[e]=!0),n[e].forEach((function(e){"bnode"===e.type&&(t._bnodes[e.value]=!0)}))}))})),this._bnodesIndexed=!0}}},{key:"_trackBNodes",value:function(t,e,r){0===t.indexOf("_:")&&(this._bnodes[t]=!0),0===e.indexOf("_:")&&(this._bnodes[e]=!0),"bnode"===r.type&&(this._bnodes[r.value]=!0)}}])&&Q(e.prototype,r),n&&Q(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(9081),r(24601);r(73220),r(17554),r(39385),r(80528),r(7517),r(25787);function et(t){return("function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,nt(n.key),n)}}function nt(t){var e=function(t,e){if("object"!=et(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=et(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==et(e)?e:String(e)}function it(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,r){return ct(e),function(t,e){if(e&&("object"===et(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,ut()?Reflect.construct(e,r||[],ct(t).constructor):e.apply(t,r))}function at(t){var e="function"==typeof Map?new Map:void 0;return function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,r)}function r(){return st(t,arguments,ct(this).constructor)}return r.prototype=Object.create(t.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),lt(r,t)}(t)}function st(t,e,r){if(ut())return Reflect.construct.apply(null,arguments);var n=[null];n.push.apply(n,e);var i=new(t.bind.apply(t,n));return r&&lt(i,r.prototype),i}function ut(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}function lt(t,e){return(Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}function ct(t){return(Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Error;function ft(t){return(ft="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,gt(n.key),n)}}function pt(t,e,r){return e&&ht(t.prototype,e),r&&ht(t,r),Object.defineProperty(t,"prototype",{writable:!1}),t}function gt(t){var e=function(t,e){if("object"!=ft(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ft(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ft(e)?e:String(e)}var yt={rdf:"http://www.w3.org/1999/02/22-rdf-syntax-ns#",rdfs:"http://www.w3.org/2000/01/rdf-schema#",owl:"http://www.w3.org/2002/07/owl#"},vt={rdftype:"".concat(yt.rdf,"type"),rdfssco:"".concat(yt.rdfs,"subClassOf"),rdfsdomain:"".concat(yt.rdfs,"domain"),rdfsrange:"".concat(yt.rdfs,"range"),rdfsspo:"".concat(yt.rdfs,"subPropertyOf"),rdfsClass:"".concat(yt.rdfs,"Class"),owlClass:"".concat(yt.owl,"Class"),owlObjectProperty:"".concat(yt.owl,"ObjectProperty"),owlDatatypeProperty:"".concat(yt.owl,"DatatypeProperty"),rdfProperty:"".concat(yt.rdf,"Property")},mt=function(t,e,r){for(var n={},i=!1,o=t.find(e,r),a=0;a<o.length;a++){var s=o[a];"literal"===s.getType()&&(n[s.getLanguage()||""]=s.getValue()||"",i=!0)}if(i)return null==n.en&&null!=n[""]&&(n.en=n[""],delete n[""]),n},bt=function(t){for(var e=[],r={},n=0;n<t.length;n++){var i=t[n];r[i]||(e.push(i),r[i]=!0)}return e},wt=function(){function t(e,r){dt(this,t),this._uri=e,this._parents=[],this._children=[],this._graph=r}return pt(t,[{key:"getURI",value:function(){return this._uri}},{key:"getLabel",value:function(){var t=this.getLabels();if(null!=t.en)return t.en;var e=Object.objects(t);return e.length>0?e[0]:""}},{key:"getLabels",value:function(){return null==this._labels&&(this._labels=mt(this._graph,this._uri,"".concat(yt.rdfs,"label")),null==this._labels&&(this._labels={en:this._uri.substr(this._uri.lastIndexOf("/")+1)})),this._labels}},{key:"getComment",value:function(){var t=this.getComments();return null!=t?null!=t.en?t.en:Object.objects(t)[0]:""}},{key:"getComments",value:function(){return null==this._comments&&(this._comments=mt(this._graph,this._uri,"".concat(yt.rdfs,"comment"))),this._comments}},{key:"addParent",value:function(t){this._parents.push(t),t._children.push(this)}},{key:"getDirectParents",value:function(){return this._parents}},{key:"getParents",value:function(){if(this._parentLock)return[];if(this._parentLock=!0,null==this._allParents){this._allParents=[];for(var t=0;t<this._parents.length;t++)this._allParents=this._allParents.concat(this._parents[t].getParents()),this._allParents.push(this._parents[t])}return delete this._parentLock,this._allParents}},{key:"getChildren",value:function(){if(this._childLock)return[];if(this._childLock=!0,null==this._allChildren){this._allChildren=[];for(var t=0;t<this._children.length;t++)this._allChildren=this._allChildren.concat(this._children[t].getChildren()),this._allChildren.push(this._children[t])}return delete this._childLock,this._allChildren}},{key:"setRange",value:function(t){null==this._range&&(this._range=[]),this._range.push(t)}},{key:"setDomain",value:function(t){null==this._domain&&(this._domain=[]),this._domain.push(t),t.setDomainOf(this)}},{key:"getRange",value:function(){if(null==this._allRange){this._allRange=this._range||[];for(var t=0;t<this._parents.length;t++)this._allRange=this._allRange.concat(this._parents[t].getRange());this._allRange=bt(this._allRange)}return this._allRange}},{key:"getDomain",value:function(){if(null==this._allDomain){this._allDomain=this._domain||[];for(var t=0;t<this._parents.length;t++)this._allDomain=this._allDomain.concat(this._parents[t].getDomain());this._allDomain=bt(this._allDomain)}return this._allDomain}},{key:"setDomainOf",value:function(t){null==this._domainOf&&(this._domainOf=[]),this._domainOf.push(t)}},{key:"getDomainOf",value:function(){return this._domainOf}},{key:"getAllDomainOf",value:function(){if(this._domainOfLock)return[];if(this._domainOfLock=!0,null==this._allDomainOf){var t=this._domainOf||[];this._allDomainOf=this._domainOf||[];for(var e=0;e<t.length;e++)this._allDomainOf=this._allDomainOf.concat(t[e].getChildren());for(var r=0;r<this._parents.length;r++)this._allDomainOf=this._allDomainOf.concat(this._parents[r].getAllDomainOf())}return delete this._domainOfLock,this._allDomainOf}}]),t}(),_t=function(t,e,r,n){for(var i=0;i<r.length;i++){var o=r[i],a=o.getSubject(),s=t[a];if(s||(s=new wt(a,o.getGraph()),t[a]=s,e.push(s)),n){var u=o.getValue(),l=t[u];l||(l=new wt(u,o.getGraph()),t[u]=l,e.push(l)),s.addParent(l)}}},xt=function(){function t(){dt(this,t),this._cidx={},this._carr=[],this._pidx={},this._parr=[]}return pt(t,[{key:"addGraph",value:function(t){_t(this._cidx,this._carr,t.find(null,vt.rdftype,vt.rdfsClass)),_t(this._cidx,this._carr,t.find(null,vt.rdftype,vt.owlClass)),_t(this._cidx,this._carr,t.find(null,vt.rdfssco,null),!0),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.rdfProperty)),_t(this._pidx,this._parr,t.find(null,vt.rdfsspo,null),!0),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.owlDatatypeProperty)),_t(this._pidx,this._parr,t.find(null,vt.rdftype,vt.owlObjectProperty)),function(t,e,r){for(var n,i,o,a=t.find(null,vt.rdfsdomain,null),s=0;s<a.length;s++)n=e[(o=a[s]).getSubject()],i=r[o.getValue()],null!=n&&null!=i&&n.setDomain(i);a=t.find(null,vt.rdfsrange,null);for(var u=0;u<a.length;u++)n=e[(o=a[u]).getSubject()],i=o.getValue(),null!=n&&null!=i&&n.setRange(i)}(t,this._pidx,this._cidx)}},{key:"addThing",value:function(){var t="http://www.w3.org/2002/07/owl#Thing",e=this._cidx[t],r=!1;e||(e=new wt(t,new tt),this._cidx[t]=e,this._carr.push(e),r=!0);for(var n=0;n<this._carr.length;n++){var i=this._carr[n];(r&&i!==e||-1===i.getParents().indexOf(e)&&i!==e)&&i.addParent(e)}}},{key:"getClasses",value:function(){return this._carr}},{key:"getProperties",value:function(){return this._parr}},{key:"isClass",value:function(t){return null!=this._cidx[t]}},{key:"isProperty",value:function(t){return null!=this._pidx[t]}},{key:"getClass",value:function(t){return this._cidx[t]}},{key:"getProperty",value:function(t){return this._pidx[t]}}],[{key:"getInstances",value:function(t){for(var e=[],r=[t].concat(t.getChildren()),n=0;n<r.length;n++)for(var i=r[n],o=i.getGraph.find(null,vt.rdftype,i.getURI()),a=0;a<o.length;a++)e.push(o[a].getSubject());return e}}]),t}();xt.prototype.ns=yt,xt.prototype.terms=vt,xt.global=new xt;function St(t){return(St="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Et(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Tt(n.key),n)}}function Tt(t){var e=function(t,e){if("object"!=St(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=St(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==St(e)?e:String(e)}var kt=function(t,e){if(null==e)return!0;var r=t.getConstraints(),n=!0;return null!=r&&(Object.keys(r).find((function(t){var i,o,a,s,u=e[t];return""!==u&&"*"!==u&&(i=u,o=r[t],a=Array.isArray(i)?i:null!=i?[i]:[],s=Array.isArray(o)?o:null!=o?[o]:[],a.length!==s.length||!a.every((function(t){return s.includes(t)})))&&(n=!1,!0)})),n)},Ot=function(t){this.filterObj={},this.registry=t};Ot.prototype.register=function(t){this.registry.register(this.filterObj,t)},["itemtype","choices","nodetype","datatype","rdftype","constraint","predicate","style","item","check"].forEach((function(t){Ot.prototype[t]=function(e){var r={};switch(t){case"constraint":Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),this.filterObj[t]=r;break;case"predicate":case"rdftype":case"datatype":this.filterObj[t]=c(e);break;default:this.filterObj[t]=e||!0}return this}}));var At=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.components=[],this.priorities={CHECK:1,ITEMTYPE:2,CHOICES:4,NODETYPE:8,DATATYPE:16,RDFTYPE:32,CONSTRAINT:64,PREDICATE:128,STYLE:256,ITEM:512}}var e,r,n;return e=t,(r=[{key:"calculatePriority",value:function(t,e){var r=0;if(e.itemtype&&(r+=this.priorities.ITEMTYPE,t.getType()!==e.itemtype))return-1;if(e.choices)switch(r+=this.priorities.CHOICES,e.choices){case"static":if(!t.hasStaticChoices())return-1;break;case"dynamic":if(!t.hasChoices()||t.hasStaticChoices())return-1;break;case"none":if(t.hasChoices())return-1;break;case"any":default:if(!t.hasChoices())return-1}if(e.nodetype&&(r+=this.priorities.NODETYPE,t.getNodetype()!==e.nodetype))return-1;if(e.datatype){r+=this.priorities.DATATYPE;var n=t.getDatatype(),i=!0;if(n&&(i=Array.isArray(n)?!n.includes(e.datatype):n!==e.datatype),i)return-1}return e.rdftype&&(r+=this.priorities.RDFTYPE,!function(t,e){var r=t.getConstraints();return null!=r&&r[rdfType]===e}(t,e.rdftype))||e.constraint&&(r+=this.priorities.CONSTRAINT,!kt(t,e.constraint))||e.predicate&&(r+=this.priorities.PREDICATE,t.getProperty()!==e.predicate)||e.style&&(r+=this.priorities.STYLE,!t.hasStyle(e.style))?-1:!e.item||(r+=this.priorities.ITEM,t===e.item||e.item.getId&&t.getId()===e.item.getId())?e.check&&!e.check(t)?-1:r:-1}},{key:"getPriority",value:function(t,e){for(var r=0;r<this.components.length;r++)if(this.components[r].component===e){var n=this.calculatePriority(t,this.components[r].filter);if(n>=0)return n}return 0}},{key:"getComponentBefore",value:function(t,e){var r=this.getPriority(t,e);return this.getComponent(t,r)}},{key:"getComponent",value:function(t,e){for(var r,n,i,o=-1,a=0;a<this.components.length;a++)i=this.components[a],(n=this.calculatePriority(t,i.filter))>o&&(void 0===e||n<e)&&(r=i,o=n);if(r)return r.component}},{key:"register",value:function(t,e){this.components.push({component:e,filter:t})}},{key:"itemtype",value:function(t){return new Ot(this).itemtype(t)}},{key:"choices",value:function(t){return new Ot(this).choices(t)}},{key:"nodetype",value:function(t){return new Ot(this).nodetype(t)}},{key:"datatype",value:function(t){return new Ot(this).datatype(t)}},{key:"rdftype",value:function(t){return new Ot(this).rdftype(t)}},{key:"constraint",value:function(t){return new Ot(this).constraint(t)}},{key:"predicate",value:function(t){return new Ot(this).predicate(t)}},{key:"style",value:function(t){return new Ot(this).style(t)}},{key:"item",value:function(t){return new Ot(this).item(t)}},{key:"check",value:function(t){return new Ot(this).check(t)}}])&&Et(e.prototype,r),n&&Et(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(89730),r(12826);const Ct=function(){this.__data__=[],this.size=0};const Pt=function(t,e){return t===e||t!=t&&e!=e};const jt=function(t,e){for(var r=t.length;r--;)if(Pt(t[r][0],e))return r;return-1};var Rt=Array.prototype.splice;const Nt=function(t){var e=this.__data__,r=jt(e,t);return!(r<0)&&(r==e.length-1?e.pop():Rt.call(e,r,1),--this.size,!0)};const It=function(t){var e=this.__data__,r=jt(e,t);return r<0?void 0:e[r][1]};const Lt=function(t){return jt(this.__data__,t)>-1};const Dt=function(t,e){var r=this.__data__,n=jt(r,t);return n<0?(++this.size,r.push([t,e])):r[n][1]=e,this};function Mt(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Mt.prototype.clear=Ct,Mt.prototype.delete=Nt,Mt.prototype.get=It,Mt.prototype.has=Lt,Mt.prototype.set=Dt;const Ft=Mt;const Bt=function(){this.__data__=new Ft,this.size=0};const Vt=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r};const Ut=function(t){return this.__data__.get(t)};const Wt=function(t){return this.__data__.has(t)};const Ht="object"==typeof global&&global&&global.Object===Object&&global;var Yt="object"==typeof self&&self&&self.Object===Object&&self;const Gt=Ht||Yt||Function("return this")();const $t=Gt.Symbol;var qt=Object.prototype,zt=qt.hasOwnProperty,Xt=qt.toString,Qt=$t?$t.toStringTag:void 0;const Zt=function(t){var e=zt.call(t,Qt),r=t[Qt];try{t[Qt]=void 0;var n=!0}catch(t){}var i=Xt.call(t);return n&&(e?t[Qt]=r:delete t[Qt]),i};var Jt=Object.prototype.toString;const Kt=function(t){return Jt.call(t)};var te=$t?$t.toStringTag:void 0;const ee=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":te&&te in Object(t)?Zt(t):Kt(t)};const re=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)};const ne=function(t){if(!re(t))return!1;var e=ee(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e};const ie=Gt["__core-js_shared__"];var oe,ae=(oe=/[^.]+$/.exec(ie&&ie.keys&&ie.keys.IE_PROTO||""))?"Symbol(src)_1."+oe:"";const se=function(t){return!!ae&&ae in t};var ue=Function.prototype.toString;const le=function(t){if(null!=t){try{return ue.call(t)}catch(t){}try{return t+""}catch(t){}}return""};var ce=/^\[object .+?Constructor\]$/,fe=Function.prototype,de=Object.prototype,he=fe.toString,pe=de.hasOwnProperty,ge=RegExp("^"+he.call(pe).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const ye=function(t){return!(!re(t)||se(t))&&(ne(t)?ge:ce).test(le(t))};const ve=function(t,e){return null==t?void 0:t[e]};const me=function(t,e){var r=ve(t,e);return ye(r)?r:void 0};const be=me(Gt,"Map");const we=me(Object,"create");const _e=function(){this.__data__=we?we(null):{},this.size=0};const xe=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e};var Se=Object.prototype.hasOwnProperty;const Ee=function(t){var e=this.__data__;if(we){var r=e[t];return"__lodash_hash_undefined__"===r?void 0:r}return Se.call(e,t)?e[t]:void 0};var Te=Object.prototype.hasOwnProperty;const ke=function(t){var e=this.__data__;return we?void 0!==e[t]:Te.call(e,t)};const Oe=function(t,e){var r=this.__data__;return this.size+=this.has(t)?0:1,r[t]=we&&void 0===e?"__lodash_hash_undefined__":e,this};function Ae(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Ae.prototype.clear=_e,Ae.prototype.delete=xe,Ae.prototype.get=Ee,Ae.prototype.has=ke,Ae.prototype.set=Oe;const Ce=Ae;const Pe=function(){this.size=0,this.__data__={hash:new Ce,map:new(be||Ft),string:new Ce}};const je=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};const Re=function(t,e){var r=t.__data__;return je(e)?r["string"==typeof e?"string":"hash"]:r.map};const Ne=function(t){var e=Re(this,t).delete(t);return this.size-=e?1:0,e};const Ie=function(t){return Re(this,t).get(t)};const Le=function(t){return Re(this,t).has(t)};const De=function(t,e){var r=Re(this,t),n=r.size;return r.set(t,e),this.size+=r.size==n?0:1,this};function Me(t){var e=-1,r=null==t?0:t.length;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}Me.prototype.clear=Pe,Me.prototype.delete=Ne,Me.prototype.get=Ie,Me.prototype.has=Le,Me.prototype.set=De;const Fe=Me;const Be=function(t,e){var r=this.__data__;if(r instanceof Ft){var n=r.__data__;if(!be||n.length<199)return n.push([t,e]),this.size=++r.size,this;r=this.__data__=new Fe(n)}return r.set(t,e),this.size=r.size,this};function Ve(t){var e=this.__data__=new Ft(t);this.size=e.size}Ve.prototype.clear=Bt,Ve.prototype.delete=Vt,Ve.prototype.get=Ut,Ve.prototype.has=Wt,Ve.prototype.set=Be;const Ue=Ve;const We=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n&&!1!==e(t[r],r,t););return t};const He=function(){try{var t=me(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();const Ye=function(t,e,r){"__proto__"==e&&He?He(t,e,{configurable:!0,enumerable:!0,value:r,writable:!0}):t[e]=r};var Ge=Object.prototype.hasOwnProperty;const $e=function(t,e,r){var n=t[e];Ge.call(t,e)&&Pt(n,r)&&(void 0!==r||e in t)||Ye(t,e,r)};const qe=function(t,e,r,n){var i=!r;r||(r={});for(var o=-1,a=e.length;++o<a;){var s=e[o],u=n?n(r[s],t[s],s,r,t):void 0;void 0===u&&(u=t[s]),i?Ye(r,s,u):$e(r,s,u)}return r};const ze=function(t,e){for(var r=-1,n=Array(t);++r<t;)n[r]=e(r);return n};const Xe=function(t){return null!=t&&"object"==typeof t};const Qe=function(t){return Xe(t)&&"[object Arguments]"==ee(t)};var Ze=Object.prototype,Je=Ze.hasOwnProperty,Ke=Ze.propertyIsEnumerable;const tr=Qe(function(){return arguments}())?Qe:function(t){return Xe(t)&&Je.call(t,"callee")&&!Ke.call(t,"callee")};const er=Array.isArray;const rr=function(){return!1};var nr="object"==typeof exports&&exports&&!exports.nodeType&&exports,ir=nr&&"object"==typeof module&&module&&!module.nodeType&&module,or=ir&&ir.exports===nr?Gt.Buffer:void 0;const ar=(or?or.isBuffer:void 0)||rr;var sr=/^(?:0|[1-9]\d*)$/;const ur=function(t,e){var r=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==r||"symbol"!=r&&sr.test(t))&&t>-1&&t%1==0&&t<e};const lr=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991};var cr={};cr["[object Float32Array]"]=cr["[object Float64Array]"]=cr["[object Int8Array]"]=cr["[object Int16Array]"]=cr["[object Int32Array]"]=cr["[object Uint8Array]"]=cr["[object Uint8ClampedArray]"]=cr["[object Uint16Array]"]=cr["[object Uint32Array]"]=!0,cr["[object Arguments]"]=cr["[object Array]"]=cr["[object ArrayBuffer]"]=cr["[object Boolean]"]=cr["[object DataView]"]=cr["[object Date]"]=cr["[object Error]"]=cr["[object Function]"]=cr["[object Map]"]=cr["[object Number]"]=cr["[object Object]"]=cr["[object RegExp]"]=cr["[object Set]"]=cr["[object String]"]=cr["[object WeakMap]"]=!1;const fr=function(t){return Xe(t)&&lr(t.length)&&!!cr[ee(t)]};const dr=function(t){return function(e){return t(e)}};var hr="object"==typeof exports&&exports&&!exports.nodeType&&exports,pr=hr&&"object"==typeof module&&module&&!module.nodeType&&module,gr=pr&&pr.exports===hr&&Ht.process;const yr=function(){try{var t=pr&&pr.require&&pr.require("util").types;return t||gr&&gr.binding&&gr.binding("util")}catch(t){}}();var vr=yr&&yr.isTypedArray;const mr=vr?dr(vr):fr;var br=Object.prototype.hasOwnProperty;const wr=function(t,e){var r=er(t),n=!r&&tr(t),i=!r&&!n&&ar(t),o=!r&&!n&&!i&&mr(t),a=r||n||i||o,s=a?ze(t.length,String):[],u=s.length;for(var l in t)!e&&!br.call(t,l)||a&&("length"==l||i&&("offset"==l||"parent"==l)||o&&("buffer"==l||"byteLength"==l||"byteOffset"==l)||ur(l,u))||s.push(l);return s};var _r=Object.prototype;const xr=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||_r)};const Sr=function(t,e){return function(r){return t(e(r))}};const Er=Sr(Object.keys,Object);var Tr=Object.prototype.hasOwnProperty;const kr=function(t){if(!xr(t))return Er(t);var e=[];for(var r in Object(t))Tr.call(t,r)&&"constructor"!=r&&e.push(r);return e};const Or=function(t){return null!=t&&lr(t.length)&&!ne(t)};const Ar=function(t){return Or(t)?wr(t):kr(t)};const Cr=function(t,e){return t&&qe(e,Ar(e),t)};const Pr=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e};var jr=Object.prototype.hasOwnProperty;const Rr=function(t){if(!re(t))return Pr(t);var e=xr(t),r=[];for(var n in t)("constructor"!=n||!e&&jr.call(t,n))&&r.push(n);return r};const Nr=function(t){return Or(t)?wr(t,!0):Rr(t)};const Ir=function(t,e){return t&&qe(e,Nr(e),t)};var Lr="object"==typeof exports&&exports&&!exports.nodeType&&exports,Dr=Lr&&"object"==typeof module&&module&&!module.nodeType&&module,Mr=Dr&&Dr.exports===Lr?Gt.Buffer:void 0,Fr=Mr?Mr.allocUnsafe:void 0;const Br=function(t,e){if(e)return t.slice();var r=t.length,n=Fr?Fr(r):new t.constructor(r);return t.copy(n),n};const Vr=function(t,e){var r=-1,n=t.length;for(e||(e=Array(n));++r<n;)e[r]=t[r];return e};const Ur=function(t,e){for(var r=-1,n=null==t?0:t.length,i=0,o=[];++r<n;){var a=t[r];e(a,r,t)&&(o[i++]=a)}return o};const Wr=function(){return[]};var Hr=Object.prototype.propertyIsEnumerable,Yr=Object.getOwnPropertySymbols;const Gr=Yr?function(t){return null==t?[]:(t=Object(t),Ur(Yr(t),(function(e){return Hr.call(t,e)})))}:Wr;const $r=function(t,e){return qe(t,Gr(t),e)};const qr=function(t,e){for(var r=-1,n=e.length,i=t.length;++r<n;)t[i+r]=e[r];return t};const zr=Sr(Object.getPrototypeOf,Object);const Xr=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)qr(e,Gr(t)),t=zr(t);return e}:Wr;const Qr=function(t,e){return qe(t,Xr(t),e)};const Zr=function(t,e,r){var n=e(t);return er(t)?n:qr(n,r(t))};const Jr=function(t){return Zr(t,Ar,Gr)};const Kr=function(t){return Zr(t,Nr,Xr)};const tn=me(Gt,"DataView");const en=me(Gt,"Promise");const rn=me(Gt,"Set");const nn=me(Gt,"WeakMap");var on=le(tn),an=le(be),sn=le(en),un=le(rn),ln=le(nn),cn=ee;(tn&&"[object DataView]"!=cn(new tn(new ArrayBuffer(1)))||be&&"[object Map]"!=cn(new be)||en&&"[object Promise]"!=cn(en.resolve())||rn&&"[object Set]"!=cn(new rn)||nn&&"[object WeakMap]"!=cn(new nn))&&(cn=function(t){var e=ee(t),r="[object Object]"==e?t.constructor:void 0,n=r?le(r):"";if(n)switch(n){case on:return"[object DataView]";case an:return"[object Map]";case sn:return"[object Promise]";case un:return"[object Set]";case ln:return"[object WeakMap]"}return e});const fn=cn;var dn=Object.prototype.hasOwnProperty;const hn=function(t){var e=t.length,r=new t.constructor(e);return e&&"string"==typeof t[0]&&dn.call(t,"index")&&(r.index=t.index,r.input=t.input),r};const pn=Gt.Uint8Array;const gn=function(t){var e=new t.constructor(t.byteLength);return new pn(e).set(new pn(t)),e};const yn=function(t,e){var r=e?gn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.byteLength)};var vn=/\w*$/;const mn=function(t){var e=new t.constructor(t.source,vn.exec(t));return e.lastIndex=t.lastIndex,e};var bn=$t?$t.prototype:void 0,wn=bn?bn.valueOf:void 0;const _n=function(t){return wn?Object(wn.call(t)):{}};const xn=function(t,e){var r=e?gn(t.buffer):t.buffer;return new t.constructor(r,t.byteOffset,t.length)};const Sn=function(t,e,r){var n=t.constructor;switch(e){case"[object ArrayBuffer]":return gn(t);case"[object Boolean]":case"[object Date]":return new n(+t);case"[object DataView]":return yn(t,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return xn(t,r);case"[object Map]":return new n;case"[object Number]":case"[object String]":return new n(t);case"[object RegExp]":return mn(t);case"[object Set]":return new n;case"[object Symbol]":return _n(t)}};var En=Object.create;const Tn=function(){function t(){}return function(e){if(!re(e))return{};if(En)return En(e);t.prototype=e;var r=new t;return t.prototype=void 0,r}}();const kn=function(t){return"function"!=typeof t.constructor||xr(t)?{}:Tn(zr(t))};const On=function(t){return Xe(t)&&"[object Map]"==fn(t)};var An=yr&&yr.isMap;const Cn=An?dr(An):On;const Pn=function(t){return Xe(t)&&"[object Set]"==fn(t)};var jn=yr&&yr.isSet;const Rn=jn?dr(jn):Pn;var Nn={};Nn["[object Arguments]"]=Nn["[object Array]"]=Nn["[object ArrayBuffer]"]=Nn["[object DataView]"]=Nn["[object Boolean]"]=Nn["[object Date]"]=Nn["[object Float32Array]"]=Nn["[object Float64Array]"]=Nn["[object Int8Array]"]=Nn["[object Int16Array]"]=Nn["[object Int32Array]"]=Nn["[object Map]"]=Nn["[object Number]"]=Nn["[object Object]"]=Nn["[object RegExp]"]=Nn["[object Set]"]=Nn["[object String]"]=Nn["[object Symbol]"]=Nn["[object Uint8Array]"]=Nn["[object Uint8ClampedArray]"]=Nn["[object Uint16Array]"]=Nn["[object Uint32Array]"]=!0,Nn["[object Error]"]=Nn["[object Function]"]=Nn["[object WeakMap]"]=!1;const In=function t(e,r,n,i,o,a){var s,u=1&r,l=2&r,c=4&r;if(n&&(s=o?n(e,i,o,a):n(e)),void 0!==s)return s;if(!re(e))return e;var f=er(e);if(f){if(s=hn(e),!u)return Vr(e,s)}else{var d=fn(e),h="[object Function]"==d||"[object GeneratorFunction]"==d;if(ar(e))return Br(e,u);if("[object Object]"==d||"[object Arguments]"==d||h&&!o){if(s=l||h?{}:kn(e),!u)return l?Qr(e,Ir(s,e)):$r(e,Cr(s,e))}else{if(!Nn[d])return o?e:{};s=Sn(e,d,u)}}a||(a=new Ue);var p=a.get(e);if(p)return p;a.set(e,s),Rn(e)?e.forEach((function(i){s.add(t(i,r,n,i,e,a))})):Cn(e)&&e.forEach((function(i,o){s.set(o,t(i,r,n,o,e,a))}));var g=f?void 0:(c?l?Kr:Jr:l?Nr:Ar)(e);return We(g||e,(function(i,o){g&&(i=e[o=i]),$e(s,o,t(i,r,n,o,e,a))})),s};const Ln=function(t){return In(t,5)};r(6203),r(65137),r(64043),r(57267),r(52003),r(22462);var Dn=r(30381),Mn=r.n(Dn),Fn=function(t,e){var r=e||Mn().locale();if(null==t)return{precision:"none"};if("string"==typeof t)return{value:t,precision:"nolang",lang:""};if(t.hasOwnProperty(r))return{value:t[r],precision:"exact",lang:r};if(r.indexOf("_")>-1&&t.hasOwnProperty(r.substr(0,2)))return{value:t[r.substr(0,2)],precision:"coarsen",lang:r.substr(0,2)};if(t.hasOwnProperty("en"))return{value:t.en,precision:"default",lang:"en"};if(t.hasOwnProperty(""))return{value:t[""],precision:"nolang",lang:""};var n=Object.keys(t);return n.length>0?{value:t[n[0]],precision:"any",lang:n[0]}:{precision:"none"}},Bn=function(t,e,r){var n=t.find(e,r);if(n.length>0){for(var i={},o=0;o<n.length;o++)i[n[o].getLanguage()||""]=n[o].getValue();return i}};const Vn={getLocalizedValue:Fn,getLocalizedMap:function(t,e,r){var n,i=e,o=r;t.getItem?(n=t.getGraph(),i=t.getValue(),o=t.getItem().getURIValueLabelProperties()):n=t,null!=o&&0!==o.length||(o=Wn.labelProperties);for(var a=0;a<o.length;a++){var s=o[a];if(Array.isArray(s)){for(var u=[],l=0;l<s.length;l++){var c=Bn(n,i,s[l]);c&&u.push(Fn(c).value)}if(u.length>0)return{"":u.join(" ")}}else{var f=Bn(n,i,s);if(f)return f}}},cloneArrayWithLabels:function(t,e){for(var r=[],n=0;n<t.length;n++){var i=t[n],o=Fn(i.label),a={value:i.value,label:o.value||i.value||""};!0===i.top&&(a.top=!0),null!=i.children&&(a.children=Ln(i.children)),!1===i.selectable?a.selectable=!1:a.selectable=!0,r.push(a)}return!0!==e&&r.sort((function(t,e){return t.label>e.label?1:-1})),r},extractGist:function(t,e){var r=e;if(r){-1===r.indexOf("$1")&&(r+="$1");var n="".concat(r).replace(/([.?*+^$[\]\\(){}|-])/g,"\\$1").replace("\\$1","(.*)"),i=new RegExp(n).exec(t);if(null!=i)return i[1]}return t},findFirstValue:function(t,e,r,n){var i=t.findFirstValueBinding(t.match(e,r,n),!1);if(i)return i.getChoice?Fn(i.getChoice().label).value:i.getGist()},generateUUID:function(){var t=(new Date).getTime();return"undefined"!=typeof performance&&"function"==typeof performance.now&&(t+=performance.now()),"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(e){var r=(t+16*Math.random())%16|0;return t=Math.floor(t/16),("x"===e?r:3&r|8).toString(16)}))}};var Un=function(t,e,r,n){if("URI"===t.getNodetype()||"RESOURCE"===t.getNodetype()){var i=Vn.getLocalizedMap(n,e,t.getURIValueLabelProperties());if(!i){var o=e.lastIndexOf("#"),a=e.lastIndexOf("/");i=o>0||a>0?{"":decodeURIComponent(e.substring(1+(o>a?o:a)))}:{"":e}}return{value:e,label:i}}return{value:e,label:e}};const Wn={hasDnDSupport:function(t){return!1},addDnD:function(t,e,r){return{}},attachExternalLinkBehaviour:function(){return!1},attachLinkBehaviour:function(t,e){return!1},openChoiceSelector:function(t,e){alert('This alert is a placeholder for a search dialog that should be provided as part of the integration of RDForms into a wider system.\nSimply override the methods "getChoices" and "openChoiceSelector" in the system module.'),e({value:"http://example.com/choice1",label:{en:"First choice",sv:"Första valet"}})},getChoice:function(t,e,r,n){return Un(t,e,0,n)},getFallbackChoice:Un,labelProperties:["http://www.w3.org/2000/01/rdf-schema#label","http://purl.org/dc/terms/title","http://purl.org/dc/elements/1.1/title","http://www.w3.org/2004/02/skos/core#prefLabel","http://xmlns.com/foaf/0.1/name","http://xmlns.com/foaf/name"],createURI:function(t,e){for(var r=e.getChildrenRootUri(),n=r.lastIndexOf("#"),i=-1===n?"".concat(r,"#"):r.substring(0,n+1),o=e.getGraph()._graph;;){var a=i+"0000".concat((Math.random()*Math.pow(36,4)<<0).toString(36)).slice(-4);if(null==o[a])return a}}},Hn=JSON.parse('{"edit_add":"Add","edit_remove":"Remove","edit_clear":"Clear","edit_browse":"Browse and select","edit_browse_create":"Browse and select or create","edit_expand":"Expand","edit_upgrade":"Provide additional information for this web address","info_label":"Label","info_property":"Property","info_description":"Description","info_missing":"No information","address_label":"Address","validation_min_required_one":"at least one value is required","validation_min_required_more":"a minimum of $1 values is required","validation_min_recommended_one":"at least one value is recommended","validation_min_recommended_more":"a minimum of $1 values is recommended","validation_max_one":"at most one value is allowed","validation_max_more":"a maximum of $1 values are allowed","validation_at_most_one_child":"A maximum of one value is allowed","validation_at_least_one_child":"A minimum of one value is required","validation_exactly_one_child":"Exactly one value is required","validation_deprecated":"This field is deprecated","validation_nodetype":"Wrong nodetype","validation_value":"Wrong value","validation_datatype":"Wrong datatype","validation_constraints":"Missing constraints","validation_pattern":"Value does not follow pattern","validation_language":"A language code is required","date_date":"Date","date_time":"Time","date_year":"Year","date_date_and_time":"Date and time","date_year_and_month":"Year and month","date_month_and_day":"Month and day","date_openDatePicker":"Open date picker dialog","date_openTimePicker":"Open time picker dialog","date_openYearPicker":"Open year picker dialog","date_nextMonth":"Next month","date_previousMonth":"Previous month","duration_years":"Years","duration_months":"Months","duration_days":"Days","duration_hours":"Hours","duration_minutes":"Minutes","mandatoryLabel":"Mandatory","recommendedLabel":"Recommended","optionalLabel":"Optional","today":"Today","mandatoryMark":"*","recommendedMark":"(Recommended)","optionalMark":"(Optional)","deprecatedField":"This field has been deprecated, please remove it.","missingValueField":"This field is required, please provide a value.","dependencyField":"This field depends on another field, please review the field it depends on or remove this value.","wrongValueField":"This is an invalid value, please change or remove it.","wrongDatatypeField":"The value has an invalid datatype, please change or remove it.","openLinkExternally":"Open link externally","showMore":"Show more","showLess":"Show less"}');function Yn(t){return(Yn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Gn,$n,qn,zn,Xn,Qn="body",Zn=[{value:"",label:{en:""}},{value:"bg",label:{en:"Bulgarian",bg:"български"}},{value:"es",label:{en:"Spanish",es:"Español"}},{value:"cs",label:{en:"Czech",cs:"čeština"}},{value:"da",label:{en:"Danish",da:"Dansk"}},{value:"no",label:{en:"Norwegian",no:"Norsk",nb:"Norsk",nn:"Norsk nynorsk"}},{value:"nb",label:{en:"Norwegian (bokmål)",nb:"Norsk bokmål",no:"Norsk bokmål",nn:"Norsk bokmål"}},{value:"nn",label:{en:"Norwegian (nynorsk)",nb:"Norsk nynorsk",no:"Norsk nynorsk",nn:"Norsk nynorsk"}},{value:"de",label:{en:"German",de:"Deutsch"}},{value:"et",label:{en:"Estonian",et:"Eesti keel"}},{value:"el",label:{en:"Greek",el:"ελληνικά"}},{value:"en",label:{en:"English"}},{value:"fr",label:{en:"French",fr:"Français"}},{value:"ga",label:{en:"Irish",ga:"Gaeilge"}},{value:"hr",label:{en:"Croatian",hr:"Hrvatski"}},{value:"it",label:{en:"Italian",it:"Italiano"}},{value:"lv",label:{en:"Latvian",lv:"Latviešu valoda"}},{value:"lt",label:{en:"Lithuanian",lt:"Lietuvių kalba"}},{value:"hu",label:{en:"Hungarian",hu:"Magyar"}},{value:"mt",label:{en:"Maltese",mt:"Malti"}},{value:"nl",label:{en:"Dutch",nl:"Nederlands"}},{value:"pl",label:{en:"Polish",pl:"Polski"}},{value:"pt",label:{en:"Portuguese",pt:"Português"}},{value:"ro",label:{en:"Romanian",ro:"Română"}},{value:"sk",label:{en:"Slovak",sk:"Slovenčina"}},{value:"sl",label:{en:"Slovenian",sl:"Slovenščina"}},{value:"fi",label:{en:"Finnish",fi:"Suomi"}},{value:"sv",label:{en:"Swedish",sv:"Svenska"}}],Jn={domQuery:function(){},domCreate:function(){},domCreateAfter:function(){},domClassToggle:function(){},domSetAttr:function(){},domText:function(){},createDomNode:function(t){return t instanceof Node?t:"string"==typeof t?document.getElementById(t):document.createElement("div")},destroyDomNode:function(){},presenterRegistry:new At,editorRegistry:new At,chooserRegistry:new At,renderPresenter:function(t,e,r){var n=Jn.presenterRegistry.getComponent(e.getItem());n&&(Jn.prePresenterRenderer(t,e,r),n(t,e,r),Jn.postPresenterRenderer(t,e,r))},renderEditor:function(t,e,r){var n=Jn.editorRegistry.getComponent(e.getItem());n&&(Jn.preEditorRenderer(t,e,r),n(t,e,r),Jn.postEditorRenderer(t,e,r))},renderValidationMessage:function(t,e,r){},renderSelect:function(){},getChoice:function(t,e){var r=Jn.chooserRegistry.getComponent(t);if(null==r)throw new Error("Error, no chooser available to retrieve a choice for item: ".concat(t.getId()));return r.getChoice(t,e)},hasOpenChoiceSelector:function(t){return null!=Jn.chooserRegistry.getComponent(t.getItem())},openChoiceSelector:function(t,e,r){var n=Jn.chooserRegistry.getComponent(t.getItem());if(null!=n&&n&&n.getChoice)n.show(t,e,r);else{var i=t.getItem();alert("Error, no chooser available to open a choice selector for: ".concat(i))}},getExtLinkClass:function(){return""},setMessages:function(t){Gn=t},getMessages:function(){return Gn||Hn},getLanguageList:function(){return $n||Zn},getPrimaryLanguageList:function(){if(!zn){for(var t,e=Jn.getLanguageList(),r=qn||[],n=[],i=0;i<e.length;i++){var o=e[i].value,a=r.indexOf(o);""===o&&(t=e[i]),-1!==a&&(n[a]=e[i])}zn=[];for(var s=0;s<n.length;s++)"object"===Yn(n[s])&&zn.push(n[s]);zn.length>0&&t&&zn.splice(0,0,t)}return zn},getNonPrimaryLanguageList:function(){if(!Xn){var t=Jn.getPrimaryLanguageList().length>0,e=Jn.getLanguageList(),r=qn||[];Xn=[];for(var n=0;n<e.length;n++){var i=e[n].value;-1===r.indexOf(i)&&(t&&""===i||Xn.push(e[n]))}}return Xn},setPrimaryLanguageCodes:function(t){Xn=null,zn=null,qn=t},setLanguageList:function(t){$n=t},filterTranslations:function(t,e,r){for(var n={},i=0;i<t.length;i++){var o=t[i].getLanguage();""===o||null==o?n.noLanguage=!0:o===e?n.best=!0:-1!==o.indexOf(e)||-1!==e.indexOf(o)?n.close=!0:0===o.indexOf(r)&&(n.defaultLanguage=!0)}return n.best?t.filter((function(t){return t.getLanguage()===e})):n.close?t.filter((function(t){var r=t.getLanguage();return r&&(-1!==r.indexOf(e)||-1!==e.indexOf(r))})):n.defaultLanguage?t.filter((function(t){var e=t.getLanguage();return e&&0===e.indexOf(r)})):t},setPopoverContainer:function(t){Qn=t},getPopoverContainer:function(){return Qn},preEditorViewRenderer:function(t,e){},prePresenterViewRenderer:function(t,e){},preEditorRenderer:function(){},postEditorRenderer:function(){},prePresenterRenderer:function(){},postPresenterRenderer:function(){},renderEditorLabel:function(){},renderEditorLabelScopeEnd:function(){},renderPresenterLabel:function(){},attachItemInfo:function(){},addCreateChildButton:function(){},addGroupButtons:function(){},addExpandButton:function(){},addRemoveButton:function(){},addPresenterTable:function(){},fillPresenterTable:function(){},addEditorTable:function(){},fillEditorTable:function(){},addTruncateControl:function(){}};Wn.getChoice=Jn.getChoice;var Kn=function(t,e,r){new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,binding:e,topLevel:!1,compact:r.view.compact,showLanguage:r.view.showLanguage,showDescription:r.view.showDescription,defaultLanguage:r.view.defaultLanguage,filterTranslations:r.view.filterTranslations,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t)};Jn.presenterRegistry.itemtype("group").register(Kn),Jn.presenterRegistry.itemtype("propertygroup").register(Kn);var ti=function(t,e,r){var n=new(0,r.view.constructor)({parentView:r.view,messages:r.view.messages,languages:r.view.languages,binding:e,topLevel:!1,compact:r.view.compact,showDescription:r.view.showDescription,truncate:r.view.truncate,truncateLimit:r.view.truncateLimit,includeLevel:r.view.includeLevel},t);r.view._subEditors.push(n)};Jn.editorRegistry.itemtype("group").register(ti),Jn.editorRegistry.itemtype("propertygroup").register(ti);const ei=Jn;var ri=r(19755),ni=r.n(ri);r(34338),r(88052),r(32349),r(81919),r(30050),r(77049),r(34284);function ii(t){return(ii="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ai(n.key),n)}}function ai(t){var e=function(t,e){if("object"!=ii(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ii(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ii(e)?e:String(e)}var si=0,ui=function(){function t(e){var r=e.item,n=e.statement,i=e.graph,o=e.matchingCode;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._item=r,this._statement=n,this._graph=i,this._ancestorValid=!0,this._cardinalityTracker=null,this._hash="b_".concat(si),this._matchingCode=o||"correct",si+=1}var e,r,n;return e=t,(r=[{key:"getGraph",value:function(){return this._graph||(this._statement?this._graph=this._statement.getGraph():this._parent&&(this._graph=this._parent.getGraph())),this._graph}},{key:"isReadOnly",value:function(){if(!("_readOnly"in this)){var t=this.getParent();t&&t._readOnly?this._readyOnly=!0:this._readOnly=!(!this._statement||!this._statement.getNamedGraph())}return this._readOnly}},{key:"remove",value:function(){}},{key:"setSubject",value:function(t){}},{key:"getValue",value:function(){}},{key:"setValue",value:function(t,e){}},{key:"getGist",value:function(){return Vn.extractGist(this.getValue(),this.getItem().getValueTemplate())}},{key:"setGist",value:function(t,e){var r=t,n=this.getItem().getValueTemplate();n&&r.length>0&&(-1===n.indexOf("$1")&&(n+="$1"),r=n.replace("$1",r)),this.setValue(r,e)}},{key:"getCardinalityTracker",value:function(){return this._cardinalityTracker}},{key:"setCardinalityTracker",value:function(t){this._cardinalityTracker=t}},{key:"getItem",value:function(){return this._item}},{key:"getStatement",value:function(){return this._statement}},{key:"getParent",value:function(){return this._parent}},{key:"setParent",value:function(t){this._parent=t}},{key:"isValid",value:function(){}},{key:"getMatchingCode",value:function(){return this._matchingCode}},{key:"setMatchingCode",value:function(t){this._matchingCode=t}},{key:"setAncestorValid",value:function(t){this._ancestorValid=t,this.updateAssertions()}},{key:"updateAssertions",value:function(){}},{key:"getHash",value:function(){return this._hash}},{key:"addListener",value:function(t){this._listeners||(this._listeners=[]),this._listeners.push(t)}},{key:"removeListener",value:function(t){if(this._listeners){var e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}}},{key:"bindingChange",value:function(t){if(this._listeners)for(var e=0;e<this._listeners.length;e++)this._listeners[e](t);this._parent&&this._parent.bindingChange(t),this._cardinalityTracker&&this._cardinalityTracker.touch()}},{key:"_isValidObjectValue",value:function(t){var e=t;if("string"!=typeof e&&null!==e)throw new Error("In a binding every object value need to be a string!");var r=this._item.getPattern();return r?null!=(e=Vn.extractGist(e,this.getItem().getValueTemplate()))&&""!==e&&new RegExp("^".concat(r,"$")).test(e):null!=e&&""!==e}},{key:"_isValidPredicateValue",value:function(t){if("string"!=typeof t&&null!==t)throw new Error("In a binding every predicate need to be a string!");return null!=t&&""!==t}}])&&oi(e.prototype,r),n&&oi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();const li={UNKNOWN:"unknown",OK:"correct",TOO_FEW_VALUES:"few",TOO_FEW_VALUES_MIN:"min",TOO_FEW_VALUES_PREF:"pref",TOO_MANY_VALUES:"many",AT_MOST_ONE_CHILD:"atmostonechild",AT_LEAST_ONE_CHILD:"atleastonechild",EXACTLY_ONE_CHILD:"exactlyonechild",WRONG_VALUE:"value",WRONG_PATTERN:"pattern",WRONG_NODETYPE:"nodetype",WRONG_DATATYPE:"datatype",MISSING_LANGUAGE:"language",MISSING_CONSTRAINTS:"constraints"};function ci(t){return(ci="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function fi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,di(n.key),n)}}function di(t){var e=function(t,e){if("object"!=ci(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ci(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ci(e)?e:String(e)}var hi=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._listener=[],this._limits=e.getCardinality()||{},this._counter=0,this._depsOk=!0,this._listeners=[],this._code=0}var e,r,n;return e=t,(r=[{key:"addListener",value:function(t){return this._listeners.push(t),t}},{key:"removeListener",value:function(t){this._listeners.splice(this._listeners.indexOf(t),1)}},{key:"cardinalityChanged",value:function(){this._listeners.forEach((function(t){return t()}))}},{key:"getCardinality",value:function(){return this._counter}},{key:"isMax",value:function(){return null!=this._limits.max&&this._counter>=this._limits.max}},{key:"isMin",value:function(){return null!=this._limits.min&&this._counter<=this._limits.min}},{key:"isFine",value:function(){return this._fine}},{key:"isDepsOk",value:function(){return this._depsOk}},{key:"getCode",value:function(){return this._code}},{key:"setCode",value:function(t){this._code!==t&&(this._code=t,this.cardinalityChanged())}},{key:"setDepsOk",value:function(t){this._depsOk!==t&&(this._code=li.UNKNOWN,this._depsOk=t,this.cardinalityChanged())}},{key:"increment",value:function(){this._counter+=1,this._code=li.UNKNOWN,this._checkCounter()}},{key:"decrement",value:function(){this._counter-=1,this._code=li.UNKNOWN,this._checkCounter()}},{key:"getCounter",value:function(){return this._counter}},{key:"checkCardinality",value:function(){this._checkCounter()}},{key:"touch",value:function(){this._code=li.UNKNOWN,this.cardinalityChanged()}},{key:"_checkCounter",value:function(){null!=this._limits.max&&this._counter===this._limits.max?this._fine=!0:null!=this._limits.max&&this._counter>this._limits.max?this._fine=!1:null!=this._limits.min&&this._counter===this._limits.min?this._fine=!0:null!=this._limits.min&&this._counter<this._limits.min&&(this._fine=!1),this.cardinalityChanged()}}])&&fi(e.prototype,r),n&&fi(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function pi(t){return(pi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function gi(t){return function(t){if(Array.isArray(t))return yi(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return yi(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(t);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return yi(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function yi(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function vi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,mi(n.key),n)}}function mi(t){var e=function(t,e){if("object"!=pi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=pi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==pi(e)?e:String(e)}function bi(t,e,r){return e=xi(e),function(t,e){if(e&&("object"===pi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],xi(t).constructor):e.apply(t,r))}function wi(){return(wi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=_i(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function _i(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=xi(t)););return t}function xi(t){return(xi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Si(t,e){return(Si=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Ei=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=bi(this,e,[t]);var n=t.constraints,i=void 0===n?[]:n,o=t.childrenRootUri,a=void 0===o?null:o;return r._constraints=i,r._childBindings=r._item.getChildren().map((function(){return[]})),r._rootUri=a,r._validPredicate=!0,r._validObject=!0,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate()),r._validObject=r._isValidObjectValue(r._statement.getValue(),r._statement.getType())),r._cachedChildBindings=null,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Si(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement&&this._statement.isObjectBlank()?"":this._statement&&this._statement.getValue()}},{key:"oneChildValidityChanged",value:function(t){return t!==this._oneValidChild&&!(!t&&(delete this._oneValidChild,this.isValid()))&&(this._oneValidChild=t,this._notifyValidityChange(t&&this._validPredicate&&this._validObject),this._validPredicate&&this._validObject)}},{key:"setSubject",value:function(t){this._statement?this._statement.setSubject(t):this.getChildBindings().forEach((function(e){return e.setSubject(t)}))}},{key:"getChildrenRootUri",value:function(){return this._statement?this._statement.getValue():null!=this._rootUri?this._rootUri:null!=this._parent?this._parent.getChildrenRootUri():void 0}},{key:"addChildBinding",value:function(t){this.addChildBindings([t])}},{key:"addChildBindings",value:function(t){var e=this;if(this._cachedChildBindings=null,Array.isArray(t)&&0!==t.length)for(var r=t[0].getItem(),n=this._item.getChildren(),i=function(){if(r===n[o]){var i=e._childBindings[o].length>0?e._childBindings[o][0].getCardinalityTracker():new hi(r);return e._childBindings[o]=e._childBindings[o].concat(t),t.forEach((function(t){t.setParent(e),t.setCardinalityTracker(i),i.increment()}),e),1}},o=n.length;o>=0&&!i();o--);}},{key:"removeChildBinding",value:function(t){this._cachedChildBindings=null;for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t.getItem()===e[r]){this._childBindings[r].splice(this._childBindings[r].indexOf(t),1),delete t._parent,t.getCardinalityTracker().decrement();break}this.oneChildValidityChanged(),this.bindingChange(t)}},{key:"getChildBindingsFor",value:function(t){for(var e=this._item.getChildren(),r=e.length;r>=0;r--)if(t===e[r])return this._childBindings[r]}},{key:"getItemGroupedChildBindings",value:function(){return this._childBindings}},{key:"getChildBindings",value:function(){var t;return null==this._cachedChildBindings&&(this._childBindings&&this._childBindings.length>0?this._cachedChildBindings=(t=[]).concat.apply(t,gi(this._childBindings)):this._cachedChildBindings=[]),this._cachedChildBindings}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!0)):(this._validPredicate=!1,!1!==e&&this._validObject&&("URI"===this.getItem().getNodetype()||this._oneValidChild)&&this._notifyValidityChange(!1)),this.updateAssertions()}},{key:"setValue",value:function(t){if("URI"!==this.getItem().getNodetype()||!this._statement)throw new Error("Cannot change the value of a group unless its nodetype is URI and also that it corresponds to a statement");var e=this._validObject;this._isValidObjectValue(t,"uri")?(this._validObject=!0,this._statement._o.type="uri",this._statement.setValue(t),this._constraints.forEach((function(e){return e.setSubject(t)})),this.getChildBindings().forEach((function(e){return e.setSubject(t)})),!e&&this._validPredicate&&this._notifyValidityChange(!0)):(this._validObject=!1,e&&this._validPredicate&&this._notifyValidityChange(!1))}},{key:"getPredicate",value:function(){return this._statement?this._statement.getPredicate():void 0}},{key:"remove",value:function(){this._oneValidChild=!1,this.setAncestorValid(!1),null!=this._parent&&this._parent.removeChildBinding(this),wi(xi(e.prototype),"remove",this).call(this,arguments)}},{key:"_isValid",value:function(){return"URI"===this.getItem().getNodetype()?this._validObject&&this._validPredicate:this._oneValidChild&&this._validPredicate&&this._validObject}},{key:"isValid",value:function(){return null==this._oneValidChild&&(this._oneValidChild=this._forceOneValidChildCheck()),this._isValid()}},{key:"setAncestorValid",value:function(t){var e=this;this._ancestorValid=t,this.updateAssertions(),this._childBindings.forEach((function(r){return r.forEach((function(r){return r.setAncestorValid(t&&e._isValid())}),e)}),this)}},{key:"updateAssertions",value:function(){null==this._oneValidChild&&this.isValid();var t=this._ancestorValid&&this._isValid();null!=this._statement&&this._statement.setAsserted(t),this._constraints.forEach((function(e){return e.setAsserted(t)})),this.getChildBindings().forEach((function(t){return t.updateAssertions()}))}},{key:"_forceOneValidChildCheck",value:function(){return this._childBindings.some((function(t){return t.some((function(t){return t.isValid()}))}))}},{key:"_notifyValidityChange",value:function(t){this._parent&&this._parent.oneChildValidityChanged(t)||(this.updateAssertions(),this._childBindings.forEach((function(e){return e.forEach((function(e){return e.setAncestorValid(t)}))})))}},{key:"_isValidObjectValue",value:function(t,r){return("URI"!==this.getItem().getNodetype()||"uri"===r)&&wi(xi(e.prototype),"_isValidObjectValue",this).call(this,t)}}])&&vi(r.prototype,n),i&&vi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(ui);function Ti(t){return(Ti="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ki(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Oi(n.key),n)}}function Oi(t){var e=function(t,e){if("object"!=Ti(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ti(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ti(e)?e:String(e)}var Ai=0,Ci=function(t,e,r){null==r||""===r||Array.isArray(r)&&0===r.length?delete t[e]:t[e]=r},Pi=function(){function t(e){var r=e.source,n=void 0===r?{}:r,i=e.bundle,o=e.itemStore;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=o,this._source=n,this._bundle=i,Ai+=1,this._internalId=Ai,this._styles=["heading","invisible","invisibleGroup","stars","commentOn","multiline","horizontalRadioButtons","verticalRadioButtons","horizontalCheckBoxes","verticalCheckBoxes","nonEditable","expandable","compact","nonCompact","dropDown","table","firstcolumnfixedtable","tree","externalLink","internalLink","noLink","image","label","tooltip","strictmatch","relaxedDatatypeMatch","viewAllTranslations","filterTranslations","email","atLeastOneChild","atMostOneChild","exactlyOneChild","noLabelInPresent","autoInitDate","autoUpdateDate","autoUUID","autoValue","showURI","showLink","showValue","showDescriptionInPresent","showDescriptionInEdit","textAsChoice","preserveOrderOfChoices","linkWithLabel","deprecated","inline","truncate","noTruncate","card","cardInPresent","cardInEdit"],this._getLocalizedValue=Vn.getLocalizedValue}var e,r,n;return e=t,(r=[{key:"getId",value:function(){var t=this.getSource(!0);return t.id||t["@id"]}},{key:"setId",value:function(t){Ci(this.getSource(!0),"id",t),delete s["@id"]}},{key:"getType",value:function(t){var e=this.getSource(t);return e.type||e["@type"]}},{key:"setType",value:function(t){Ci(this.getSource(!0),"type",t),delete s["@type"],this.refreshExtends()}},{key:"getExtends",value:function(){return this.getSource(!0).extends||""}},{key:"refreshExtends",value:function(){this.isExtention&&this.setExtends(this.getExtends())}},{key:"setExtends",value:function(t){var e=this.getSource(!0),r=this._itemStore.getItem(t);this._source=null==r?e:this._itemStore.createExtendedSource(r.getSource(),e),""===t||null==t?delete e.extends:e.extends=t}},{key:"isExtention",value:function(){return null!=this.getExtends()}},{key:"_getText",value:function(t,e,r){var n=this.getSource(r);return e?Vn.getLocalizedValue(n[t]):Vn.getLocalizedValue(n[t]).value}},{key:"_setText",value:function(t,e,r){var n=this.getSource(!0);n[t]=this._setLangHash(n[t],e,r),this.refreshExtends()}},{key:"_setTextMap",value:function(t,e){Ci(this.getSource(!0),t,e),this.refreshExtends()}},{key:"getLabel",value:function(t,e){return this._getText("label",t,e)}},{key:"setLabel",value:function(t,e){this._setText("label",t,e)}},{key:"getLabelMap",value:function(t){return this.getSource(t).label}},{key:"setLabelMap",value:function(t){this._setTextMap("label",t)}},{key:"getEditLabel",value:function(t,e){return this._getText("editlabel",t,e)}},{key:"setEditLabel",value:function(t,e){this._setText("editlabel",t,e)}},{key:"getEditLabelMap",value:function(t){return this.getSource(t).editlabel}},{key:"setEditLabelMap",value:function(t){this._setTextMap("editlabel",t)}},{key:"getDescription",value:function(t,e){return this._getText("description",t,e)}},{key:"setDescription",value:function(t,e){this._setText("description",t,e)}},{key:"getDescriptionMap",value:function(t){return this.getSource(t).description}},{key:"setDescriptionMap",value:function(t){this._setTextMap("description",t)}},{key:"getEditDescription",value:function(t,e){return this._getText("editdescription",t,e)}},{key:"setEditDescription",value:function(t,e){this._setText("editdescription",t,e)}},{key:"getEditDescriptionMap",value:function(t){return this.getSource(t).editdescription}},{key:"setEditDescriptionMap",value:function(t){this._setTextMap("editdescription",t)}},{key:"getHelp",value:function(t,e){return this._getText("help",t,e)}},{key:"setHelp",value:function(t,e){this._setText("help",t,e)}},{key:"getHelpMap",value:function(t){return this.getSource(t).help}},{key:"setHelpMap",value:function(t){this._setTextMap("help",t)}},{key:"getPlaceholder",value:function(t,e){return this._getText("placeholder",t,e)}},{key:"setPlaceholder",value:function(t,e){this._setText("placeholder",t,e)}},{key:"getPlaceholderMap",value:function(t){return this.getSource(t).placeholder}},{key:"setPlaceholderMap",value:function(t){this._setTextMap("placeholder",t)}},{key:"getPurpose",value:function(t,e){return this._getText("purpose",t,e)}},{key:"setPurpose",value:function(t,e){this._setText("purpose",t,e)}},{key:"getPurposeMap",value:function(t){return this.getSource(t).purpose}},{key:"setPurposeMap",value:function(t){this._setTextMap("purpose",t)}},{key:"getSpecification",value:function(t,e){return this._getText("specification",t,e)}},{key:"setSpecification",value:function(t,e){this._setText("specification",t,e)}},{key:"getSpecificationMap",value:function(t){return this.getSource(t).specification}},{key:"setSpecificationMap",value:function(t){this._setTextMap("specification",t)}},{key:"getText",value:function(t,e,r){var n=this.getSource(r).text||{};return e?Vn.getLocalizedValue(n[t]):Vn.getLocalizedValue(n[t]).value}},{key:"setText",value:function(t,e,r){var n=this.getSource(!0),i=n.text=n.text||{};i[t]=this._setLangHash(i[t],e,r),this.refreshExtends()}},{key:"setTextMap",value:function(t,e){var r=this.getSource(!0),n=r.text=r.text||{};Ci(n,t,e),this.refreshExtends()}},{key:"getEnhanced",value:function(t){var e=this.getSource(!0);return"boolean"==typeof e.enhanced?e.enhanced:e.enhanced&&e.enhanced[t]||!1}},{key:"setEnhanced",value:function(t,e){var r=this.getSource(!0);"boolean"==typeof t?!0===t?r.enhanced=!0:delete r.enhanced:(r.enhanced="boolean"==typeof r.enhanced?{}:r.enhanced||{},e?r.enhanced[t]=!0:(delete r.enhanced[t],0===Object.keys(r).length&&delete r.enhanced)),this.setExtends(this.getExtends())}},{key:"getProperty",value:function(t){var e=null,r=this.getSource(t);return r&&null!=(e=r.property)&&""!==e&&(e=c(e)),e}},{key:"setProperty",value:function(t){Ci(this.getSource(!0),"property",t),this.refreshExtends()}},{key:"getURIValueLabelProperties",value:function(t){var e=this.getSource(t).uriValueLabelProperties;return null!=e?e.map((function(t){return c(t)})):e}},{key:"setURIValueLabelProperties",value:function(t){Ci(this.getSource(!0),"uriValueLabelProperties",t),this.refreshExtends()}},{key:"getConstraints",value:function(t){var e=this.getSource(t).constraints;if(null!=e){var r={};return Object.keys(e).forEach((function(t){var n=e[t];Array.isArray(n)?r[c(t)]=n.map((function(t){return c(t)})):r[c(t)]=c(n)})),r}return e}},{key:"setConstraints",value:function(t){Ci(this.getSource(!0),"constraints",t),this.refreshExtends()}},{key:"getDeps",value:function(t){var e=this.getSource(t).deps;return null!=e?e.map((function(t){return"*"!==t&&".."!==t?c(t):t})):e}},{key:"setDeps",value:function(t){Ci(this.getSource(!0),"deps",t),this.refreshExtends()}},{key:"getDatatype",value:function(t){var e=this.getSource(t).datatype;return null!=e&&""!==e?Array.isArray(e)?e.map((function(t){return c(t)})):c(e):e}},{key:"setDatatype",value:function(t){Ci(this.getSource(!0),"datatype",t),this.refreshExtends()}},{key:"getPattern",value:function(t){return this.getSource(t).pattern}},{key:"setPattern",value:function(t){Ci(this.getSource(!0),"pattern",t),this.refreshExtends()}},{key:"getLanguage",value:function(t){return this.getSource(t).language}},{key:"setLanguage",value:function(t){Ci(this.getSource(!0),"language",t),this.refreshExtends()}},{key:"getMember",value:function(t){return this.getSource(t).member}},{key:"setMember",value:function(t){Ci(this.getSource(!0),"member",t),this.refreshExtends()}},{key:"getNodetype",value:function(t){var e=this.getSource(t);return e.nodetype||e.nodeType}},{key:"setNodetype",value:function(t){Ci(this.getSource(!0),"nodetype",t),this.refreshExtends()}},{key:"getValue",value:function(t){return this.getSource(t).value}},{key:"setValue",value:function(t){Ci(this.getSource(!0),"value",t),this.refreshExtends()}},{key:"getValueTemplate",value:function(t){return this.getSource(t).valueTemplate}},{key:"setValueTemplate",value:function(t){Ci(this.getSource(!0),"valueTemplate",t),this.refreshExtends()}},{key:"getCardinality",value:function(t){if(!this.getProperty()&&"text"===this.getType())return{min:1,max:1};var e=this.getSource(t);return e&&"cardinality"in e?e.cardinality:this.getProperty()?{}:{max:1}}},{key:"setCardinality",value:function(t){Ci(this.getSource(!0),"cardinality",t),this.refreshExtends()}},{key:"isEnabled",value:function(t){var e=this.getSource(t);return null==e.enabled||e.enabled}},{key:"setEnabled",value:function(t){var e=this.getSource(!0);t?delete e.enabled:e.enabled=t,this.refreshExtends()}},{key:"getClasses",value:function(t){var e=this.getSource(t);return e&&"cls"in e?e.cls:[]}},{key:"setClasses",value:function(t){Ci(this.getSource(!0),"cls",t),this.refreshExtends()}},{key:"hasClass",value:function(t,e){var r=this.getSource(e);return!!this.hasStyle(t,e)||null!=r.cls&&r.cls.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getAvailableStyles",value:function(){return this._styles}},{key:"getStyles",value:function(t){return this.getSource(t).styles||[]}},{key:"setStyles",value:function(t){Ci(this.getSource(!0),"styles",t),this.refreshExtends()}},{key:"hasStyle",value:function(t,e){var r=this.getSource(e);return!(!r||!("styles"in r))&&r.styles.some((function(e){return e.toLowerCase()===t.toLowerCase()}))}},{key:"getSource",value:function(t,e){if(!0===t)return this._source._extendedSource||this._source;if(!1===t){var r=this._itemStore.getItem(this.getExtends());return null==r?this._source:r.getSource()}return this._source}},{key:"getBundle",value:function(){return this._bundle}},{key:"toStringShort",value:function(){return"'".concat(this.getLabel(),"'").concat(this.getId()?" (ID: '".concat(this.getId(),"')"):"")}},{key:"toString",value:function(){var t=[];return this.getId()&&t.push("ID: '".concat(this.getId(),"'")),t.push("TYPE: '".concat(this.getType(),"'")),this.getProperty()&&t.push("PROPERTY: '".concat(this.getProperty(),"'")),this.getExtends()&&t.push("EXTENDS: '".concat(this.getExtends(),"'")),"'".concat(this.getLabel(),"' (").concat(t.join(", "),")")}},{key:"_setLangHash",value:function(t,e,r){var n=t||{};if("string"==typeof e)"string"==typeof r?n[r]=e:n[""]=e;else if("object"===Ti(e)&&null!==e)return e;return n}}])&&ki(e.prototype,r),n&&ki(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function ji(t){return(ji="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ri(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ni(n.key),n)}}function Ni(t){var e=function(t,e){if("object"!=ji(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ji(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ji(e)?e:String(e)}function Ii(t,e,r){return e=Mi(e),function(t,e){if(e&&("object"===ji(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Mi(t).constructor):e.apply(t,r))}function Li(){return(Li="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Di(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Di(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Mi(t)););return t}function Mi(t){return(Mi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Fi(t,e){return(Fi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Bi=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Ii(this,e,[t]))._children=t.children,null!=r._source.content&&(r._source.items=r._source.content,delete r._source.content),r._forceChildrenClones=!1,r._parent=null,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Fi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){var e,r=t&&this.isExtention(),n=r?this._ochildren:this._children;return null==n&&(n=this._itemStore.getChildren(this,r),!0===this.getSource().automatic&&this._itemStore.automaticSortAllowed&&((e=n).forEach((function(t){t.__label=(t.getLabel()||"").toLowerCase()})),e.sort((function(t,e){return null!=t._source.priority?null!=e._source.priority?t._source.priority>e._source.priority?-1:t._source.priority<e._source.priority?1:0:t._source.priority>0?-1:1:null!=e._source.priority?e._source.priority>0?1:-1:t.__label>e.__label?1:t.__label<e.__label?-1:0}))),this["_".concat(r?"o":"","children")]=n),n}},{key:"originalChildrenChanged",value:function(){this.isExtention()&&delete this._children}},{key:"setExtends",value:function(t){Li(Mi(e.prototype),"setExtends",this).call(this,t),delete this._children,delete this._ochildren}},{key:"getNodetype",value:function(){return Li(Mi(e.prototype),"getNodetype",this).call(this)||"RESOURCE"}}])&&Ri(r.prototype,n),i&&Ri(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Pi);function Vi(t){return(Vi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wi(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Hi(n.key),n)}}function Hi(t){var e=function(t,e){if("object"!=Vi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Vi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Vi(e)?e:String(e)}function Yi(t,e,r){return e=qi(e),function(t,e){if(e&&("object"===Vi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],qi(t).constructor):e.apply(t,r))}function Gi(){return(Gi="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=$i(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function $i(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=qi(t)););return t}function qi(t){return(qi=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function zi(t,e){return(zi=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Xi=function(t){function e(){return Ui(this,e),Yi(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&zi(t,e)}(e,t),r=e,(n=[{key:"getChildren",value:function(t){if(null==this._delegatedChildren){var r=function(){return{min:1,max:1,pref:1}},n=Gi(qi(e.prototype),"getChildren",this).call(this,t)||[];this._delegatedChildren=n.map((function(t){var e=Object.create(t);return e.getCardinality=r,e}))}return this._delegatedChildren}},{key:"getPropertyItem",value:function(){return this.getChildren()[0]}},{key:"getObjectItem",value:function(){return this.getChildren()[1]}}])&&Wi(r.prototype,n),i&&Wi(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Bi);function Qi(t){return(Qi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ji(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ki(n.key),n)}}function Ki(t){var e=function(t,e){if("object"!=Qi(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Qi(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Qi(e)?e:String(e)}function to(t,e,r){return e=eo(e),function(t,e){if(e&&("object"===Qi(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],eo(t).constructor):e.apply(t,r))}function eo(t){return(eo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function ro(t,e){return(ro=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var no=function(t){function e(){return Zi(this,e),to(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&ro(t,e)}(e,t),r=e,(n=[{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties}}])&&Ji(r.prototype,n),i&&Ji(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Pi);function io(t){return(io="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function oo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ao(n.key),n)}}function ao(t){var e=function(t,e){if("object"!=io(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=io(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==io(e)?e:String(e)}function so(t,e,r){return e=co(e),function(t,e){if(e&&("object"===io(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],co(t).constructor):e.apply(t,r))}function uo(){return(uo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=lo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function lo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=co(t)););return t}function co(t){return(co=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function fo(t,e){return(fo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ho=function(t){null!=t&&t.forEach((function(t){t.value=c(t.value)}))},po=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=so(this,e,[t]))._ontologyStore=t.ontologyStore,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&fo(t,e)}(e,t),r=e,(n=[{key:"getChoices",value:function(t){return this.getStaticChoices(t)||this.getDynamicChoices(t)||[]}},{key:"hasChoices",value:function(t){var e=this.getSource(t);return null!=e.ontologyUrl||null!=e.choices}},{key:"hasStaticChoices",value:function(t){return null!=this.getSource(t).choices}},{key:"getStaticChoices",value:function(t){var e=this.getSource(t);if(e.choices){var r=-1===this.getNodetype().indexOf("LITERAL");t&&this.isExtention()?this._origStaticIsSorted||(r&&ho(e.choices),this._origStaticIsSorted=!0):this._staticIsSorted||(r&&ho(e.choices),this._staticIsSorted=!0)}return e.choices}},{key:"setStaticChoices",value:function(t){var e=this.getSource(!0);e.choices!==t&&(null!=t&&(this._origStaticIsSorted=!0),e.choices=t,this.refreshExtends())}},{key:"setExtends",value:function(t){uo(co(e.prototype),"setExtends",this).call(this,t),delete this._staticIsSorted,delete this._origStaticIsSorted}},{key:"getDynamicChoices",value:function(t){var e=this;if(null==this._dynamicChoices){if(null==t)return this._dynamicChoices=this._ontologyStore.getChoices(this),this._dynamicChoices;this._ontologyStore.getChoices(this,(function(r){e._dynamicChoices=r,null==e._dynamicChoices&&(console.log("Failed lookup of choices for ".concat(e.getLabel())),console.log("OntologyUrl is: ".concat(e._source.ontologyUrl))),t(e._dynamicChoices)}))}else{if(null==t)return this._dynamicChoices;t(this._dynamicChoices)}}},{key:"getOntologyUrl",value:function(t){var e=this.getSource(t).ontologyUrl;return null!=e&&""!==e?c(e):e}},{key:"setOntologyUrl",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.ontologyUrl:e.ontologyUrl=t,this.refreshExtends()}},{key:"getLabelProperties",value:function(t){return this.getSource(t).labelProperties||["http://www.w3.org/2000/01/rdf-schema#label"]}},{key:"getParentProperty",value:function(t){var e=this.getSource(t).parentProperty;return null!=e&&""!==e?c(e):e}},{key:"setParentProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.parentProperty:e.parentProperty=t,this.refreshExtends()}},{key:"getHierarchyProperty",value:function(t){var e=this.getSource(t).hierarchyProperty;return null!=e&&""!==e?c(e):e}},{key:"setHierarchyProperty",value:function(t){var e=this.getSource(!0);null==t||""===t?delete e.hierarchyProperty:e.hierarchyProperty=t,this.refreshExtends()}},{key:"isParentPropertyInverted",value:function(t){return!0===this.getSource(t).isParentPropertyInverted}},{key:"setParentPropertyInverted",value:function(t){var e=this.getSource(!0);!0===t?e.isParentPropertyInverted=!0:delete e.isParentPropertyInverted,this.refreshExtends()}},{key:"isHierarchyPropertyInverted",value:function(t){return!0===this.getSource(t).isHierarchyPropertyInverted}},{key:"setHierarchyPropertyInverted",value:function(t){var e=this.getSource(!0);t?e.isHierarchyPropertyInverted=!0:delete e.isHierarchyPropertyInverted,this.refreshExtends()}}])&&oo(r.prototype,n),i&&oo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Pi);r(28436);function go(t){return(go="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function yo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,vo(n.key),n)}}function vo(t){var e=function(t,e){if("object"!=go(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=go(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==go(e)?e:String(e)}function mo(t,e,r){return e=_o(e),function(t,e){if(e&&("object"===go(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],_o(t).constructor):e.apply(t,r))}function bo(){return(bo="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=wo(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function wo(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=_o(t)););return t}function _o(t){return(_o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function xo(t,e){return(xo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var So=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=mo(this,e,[t]))._validObject=!0,r._validPredicate=!0,r._excludeFromTreeValidityCheck=!1,r._statement&&(r._validPredicate=r._isValidPredicateValue(r._statement.getPredicate(),!0),r._validObject=r._isValidObjectValue(r._statement.getValue())),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&xo(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._statement.getValue()}},{key:"setValue",value:function(t,e){var r="string"==typeof t?t.trim():t,n=this._validObject;this._isValidObjectValue(r)?(this._statement.setValue(r,e),this._validObject=!0,!0===n||!0!==this._validPredicate||this._excludeFromTreeValidityCheck||this._parent.oneChildValidityChanged(!0)):(""!==r&&null!==r||this._statement.setValue("",e),this._validObject=!1,!1!==n&&!0===this._validPredicate&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"setSubject",value:function(t){this._statement.setSubject(t)}},{key:"getPredicate",value:function(){return this._statement.getPredicate()}},{key:"setPredicate",value:function(t){var e=this._validPredicate;this._isValidPredicateValue(t)?(this._statement.setPredicate(t),this._validPredicate=!0,!0!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!0)):(this._validPredicate=!1,!1!==e&&!0===this._validObject&&this._parent.oneChildValidityChanged(!1)),this.updateAssertions()}},{key:"getLanguage",value:function(){return this._statement.getLanguage()}},{key:"setLanguage",value:function(t,e){this._statement.setLanguage(t,e),e||this.bindingChange(this)}},{key:"getDatatype",value:function(){return this._statement.getDatatype()}},{key:"setDatatype",value:function(t){this._statement.setDatatype(c(t)),this.updateAssertions()}},{key:"setExcludeFromTreeValidityCheck",value:function(t){this._excludeFromTreeValidityCheck=t}},{key:"remove",value:function(){this.setValue(null),this._parent.removeChildBinding(this),bo(_o(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){var t=this._ancestorValid&&this._validObject&&this._validPredicate;this._statement.setAsserted(t,!0),this.bindingChange(this)}},{key:"isValid",value:function(){return this._validObject&&this._validPredicate&&!this._excludeFromTreeValidityCheck}}])&&yo(r.prototype,n),i&&yo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(ui);function Eo(t){return(Eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function To(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ko(n.key),n)}}function ko(t){var e=function(t,e){if("object"!=Eo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Eo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Eo(e)?e:String(e)}function Oo(t,e,r){return e=Po(e),function(t,e){if(e&&("object"===Eo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Po(t).constructor):e.apply(t,r))}function Ao(){return(Ao="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Co(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Co(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Po(t)););return t}function Po(t){return(Po=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function jo(t,e){return(jo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Ro="http://www.w3.org/2000/01/rdf-schema#label",No="http://www.w3.org/2000/01/rdf-schema#seeAlso",Io=function(t){function e(t){var r,n=t.choice,i=t.item,o=t.statement,a=t.matchingCode;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Oo(this,e,[{choice:n,item:i,statement:o,matchingCode:a}]))._choice=n,r._validPredicate=null!=i.getProperty(),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&jo(t,e)}(e,t),r=e,i=[{key:"seeAlso",get:function(){return No}}],(n=[{key:"setChoice",value:function(t,e){this._choice=t,null==t?this.setValue(null,null,e):this.getValue()!==t.value&&this.setValue(t.value,t,e),t&&t.mismatch?this.setMatchingCode(li.WRONG_VALUE):t&&t.mismatch||this.getMatchingCode()!==li.WRONG_VALUE||this.setMatchingCode(li.OK)}},{key:"getChoice",value:function(){return this._choice}},{key:"setValue",value:function(t,r,n){var i=this.getValue();Ao(Po(e.prototype),"setValue",this).call(this,t,r,n);var o=this._statement.getGraph();if(o.findAndRemove(i,Ro,void 0,n),o.findAndRemove(i,No,void 0,n),null!=t&&null!=r&&(r.seeAlso&&r.inlineSeeAlso&&o.create(t,No,r.seeAlso,!0,n),!0===r.inlineLabel)){var a=r.label||{};Object.keys(a).forEach((function(e){return o.create(t,Ro,{value:a[e],lang:e,type:"literal"},!0,n)}))}}}])&&To(r.prototype,n),i&&To(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(So);function Lo(t){return(Lo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Do(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Mo(n.key),n)}}function Mo(t){var e=function(t,e){if("object"!=Lo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Lo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Lo(e)?e:String(e)}function Fo(t,e,r){return e=Bo(e),function(t,e){if(e&&("object"===Lo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Bo(t).constructor):e.apply(t,r))}function Bo(t){return(Bo=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Vo(t,e){return(Vo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Uo=function(t){function e(t){var r;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),(r=Fo(this,e,[t]))._objectBinding=t.objectBinding,r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Vo(t,e)}(e,t),r=e,(n=[{key:"remove",value:function(){}},{key:"setValue",value:function(t){this._objectBinding.setPredicate(t)}},{key:"getValue",value:function(){return this._objectBinding.getPredicate()}},{key:"isValid",value:function(){return!1}},{key:"updateAssertions",value:function(){}}])&&Do(r.prototype,n),i&&Do(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Io);function Wo(t){return(Wo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ho(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Yo(n.key),n)}}function Yo(t){var e=function(t,e){if("object"!=Wo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Wo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Wo(e)?e:String(e)}function Go(t,e,r){return e=$o(e),function(t,e){if(e&&("object"===Wo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],$o(t).constructor):e.apply(t,r))}function $o(t){return($o=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function qo(t,e){return(qo=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var zo=function(t){function e(t){var r;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),r=Go(this,e,[t]);var n=t.statement,i=t.constraints;r._statement=void 0,r._validPredicate=!0,r._constraints=[];var o,a=r._item.getChildren(),s=a[1];o=s instanceof Bi?new Ei({item:s,statement:n,constraints:i}):s instanceof po?new Io({item:s,statement:n}):new So({item:s,statement:n});var u=new Uo({item:a[0],objectBinding:o});return r.addChildBinding(u),r.addChildBinding(o),r}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&qo(t,e)}(e,t),r=e,(n=[{key:"getPredicateBinding",value:function(){return this._childBindings[0][0]}},{key:"getObjectBinding",value:function(){return this._childBindings[1][0]}},{key:"getGraph",value:function(){return this.getObjectBinding().getGraph()}}])&&Ho(r.prototype,n),i&&Ho(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ei);function Xo(t){return(Xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Qo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zo(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Jo(n.key),n)}}function Jo(t){var e=function(t,e){if("object"!=Xo(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Xo(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Xo(e)?e:String(e)}function Ko(t,e,r){return e=ra(e),function(t,e){if(e&&("object"===Xo(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ra(t).constructor):e.apply(t,r))}function ta(){return(ta="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=ea(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function ea(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ra(t)););return t}function ra(t){return(ra=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function na(t,e){return(na=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ia,oa,aa,sa,ua,la=function(t){function e(){return Qo(this,e),Ko(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&na(t,e)}(e,t),r=e,(n=[{key:"getValue",value:function(){return this._parent.getValue()}},{key:"setValue",value:function(t){return this._parent.setValue(t)}},{key:"getGist",value:function(){return this._parent.getGist()}},{key:"setGist",value:function(t,e){return this._parent.setGist(t,e)}},{key:"setSubject",value:function(t){}},{key:"getPredicate",value:function(){return this._parent.getPredicate()}},{key:"remove",value:function(){this._parent.removeChildBinding(this),ta(ra(e.prototype),"remove",this).call(this,arguments)}},{key:"updateAssertions",value:function(){}},{key:"isValid",value:function(){return!0}}])&&Zo(r.prototype,n),i&&Zo(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(So);function ca(t){return(ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var fa,da,ha,pa,ga,ya,va=!1,ma=function(t,e,r){var n=new Ei({item:r,childrenRootUri:e,graph:t});return ia(n),oa(n),n},ba=function(t,e,r){var n=new Ei({item:r,childrenRootUri:e,graph:t});return ia(n),va=!0,ia(n),va=!1,oa(n),n},wa=function(t,e,r,n){var i=t.findProperties(e),o=[],a={};if(null!=n){var s=function(t){null!=t&&(!function t(e){null!=e.getProperty()?a[e.getProperty()]=!0:e instanceof Bi&&e.getChildren().forEach(t)}(t),o.push(t))};n.forEach((function(t){var e=r.getItem(t);null!=e?e instanceof Bi&&null==e.getProperty()?e.getChildren().forEach(s):s(e):(e=r.getItemByProperty(t))?s(e):console.warn("Warning, when autodetecting a template: Required item '".concat(t,"' is neither an id for a loaded item or a property for a loaded item, ignoring."))}))}return i.forEach((function(t){if(!a[t]){var e=r.getItemByProperty(t);null!=e&&o.push(e)}}),void 0),r.createTemplateFromChildren(o)},_a=function(t){return Array.isArray(t.getDatatype())?t.getDatatype()[0]:t.getDatatype()},xa=function(t,e){var r,n,i=e.getChildren()[1],o=t.getGraph();i instanceof Bi?(r=o.create(t.getChildrenRootUri(),"",null,!1),n=ua(o,r.getSubject(),i)):r=i instanceof po?o.create(t.getChildrenRootUri(),"",{type:"uri",value:""},!1):o.create(t.getChildrenRootUri(),"",{type:"literal",value:""},!1);var a=new zo({item:e,statement:r,constraints:n});return t.addChildBinding(a),i instanceof Bi&&i.getChildren().forEach((function(t){Sa(a.getObjectBinding(),t)})),a},Sa=function(t,e,r){return e instanceof no?function(t,e){if(!e.getProperty()){var r=new la({item:e,statement:null,matchingCode:li.OK});return t.addChildBinding(r),r}var n=t.getGraph(),i=e.getNodetype(),o={value:"",type:"literal"};"URI"===i?o.type="uri":"DATATYPE_LITERAL"===i&&(o.datatype=_a(e));var a=e.getValue();if(null!=a&&0===t.getChildBindingsFor(e).length){o.value=a;var s=e.getLanguage();null!=s&&(o.lang=s)}var u=n.create(t.getChildrenRootUri(),e.getProperty(),o,!1),l=new So({item:e,statement:u});return t.addChildBinding(l),l}(t,e):e instanceof Xi?xa(t,e):e instanceof Bi?function(t,e,r){var n,i;if(void 0!==e.getProperty()){var o=t.getGraph();n=(e.getNodetype(),o.create(t.getChildrenRootUri(),e.getProperty(),null,!1)),i=ua(o,n.getValue(),e)}var a=new Ei({item:e,statement:n,constraints:i});t.addChildBinding(a);var s=e._source["@id"];if(s){if(r[s])return a;r[s]=!0}return a}(t,e,r||{}):e instanceof po?function(t,e){var r=t.getGraph(),n=e.getNodetype(),i={type:"literal",value:""};"DATATYPE_LITERAL"===n?i.datatype=_a(e):"RESOURCE"!==n&&"URI"!==n||(i.type="uri");var o=r.create(t.getChildrenRootUri(),e.getProperty(),i,!1),a=new Io({item:e,statement:o});t.addChildBinding(a);var s=e.getValue(),u=a.getCardinalityTracker();return null!=s&&1===u.getCounter()&&a.setChoice(ga(e,s,r),!0),a}(t,e):void 0};ia=function(t){va&&t.getChildBindings().forEach((function(t){"group"===t.getItem().getType()&&ia(t)})),t.getItem().getChildren().forEach((function(e){va?void 0!==e.getProperty()&&fa(t,e):fa(t,e)}))};fa=function(t,e){e instanceof po?function(t,e){if(null!=e.getProperty()){var r=[];t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(aa(t)){var n=da(e,t),i=ha(e,t),o=pa(e,t);if(n&&i&&o||va){var a=ga(e,t.getValue(),t.getGraph());if(void 0!==a){sa(t);var s=n?li.OK:li.WRONG_NODETYPE;i?o?a.mismatch&&(s=li.WRONG_VALUE):s=li.WRONG_PATTERN:s=li.WRONG_DATATYPE,r.push(new Io({item:e,statement:t,choice:a,matchingCode:s}))}}}})),r.length>0&&t.addChildBindings(r)}}(t,e):e instanceof Xi?function(t,e){var r,n,i,o,a=e.getPropertyItem(),s=e.getObjectItem(),u=t.getGraph(),l=[];u.find(t.getChildrenRootUri()).forEach((function(t){aa(t)&&da(s,t)&&pa(s,t)&&void 0!==(i=ga(a,t.getPredicate(),t.getGraph()))&&(n=null,s instanceof Bi?void 0!==(r=ya(u,t.getValue(),s))&&(sa(t),n=new zo({item:e,statement:t,constraints:r}),ia(n.getObjectBinding())):s instanceof po?void 0!==(o=ga(s,t.getValue(),t.getGraph()))&&(sa(t),(n=new zo({item:e,statement:t})).getObjectBinding().setChoice(o)):(sa(t),n=new zo({item:e,statement:t})),null!==n&&(n.getPredicateBinding().setChoice(i),l.push(n)))})),l.length>0&&t.addChildBindings(l)}(t,e):e instanceof Bi?function(t,e){var r,n,i,o,a=t.getGraph();void 0!==e.getProperty()?(r=a.find(t.getChildrenRootUri(),e.getProperty())).length>0&&(n=[],r.forEach((function(t){if(aa(t)){var r=pa(e,t),s=da(e,t);if((r&&s||va)&&(void 0!==(i=ya(a,t.getValue(),e))||va)){var u=s?li.OK:li.WRONG_NODETYPE;r?void 0===i&&(u=li.MISSING_CONSTRAINTS):u=li.WRONG_PATTERN,sa(t),o=new Ei({item:e,statement:t,constraints:i,matchingCode:u}),n.push(o),u===li.OK&&ia(o)}}})),t.addChildBindings(n)):(o=new Ei({item:e}),t.addChildBindings([o]),ia(o))}(t,e):e instanceof no&&function(t,e){var r=[];null==e.getProperty()?r.push(new la({item:e,statement:null,matchingCode:li.OK})):t.getGraph().find(t.getChildrenRootUri(),e.getProperty()).forEach((function(t){if(aa(t)&&pa(e,t)){var n=da(e,t),i=ha(e,t);if(n&&(i||e.hasStyle("relaxedDatatypeMatch"))||va){sa(t);var o=n?li.OK:li.WRONG_NODETYPE;i||(o=li.WRONG_DATATYPE),r.push(new So({item:e,statement:t,matchingCode:o}))}}})),r.length>0&&t.addChildBindings(r)}(t,e)},da=function(t,e){var r=e.getType();switch(t.getNodetype()){case"LITERAL":case"ONLY_LITERAL":case"PLAIN_LITERAL":case"LANGUAGE_LITERAL":case"DATATYPE_LITERAL":return"literal"===r;case"RESOURCE":return"uri"===r||"bnode"===r;case"URI":return"uri"===r;case"BLANK":return"bnode"===r}return!1},ha=function(t,e){var r="DATATYPE_LITERAL"===t.getNodetype()&&t.getDatatype()||null;return null==r||(Array.isArray(r)?-1!==r.indexOf(e.getDatatype()):e.getDatatype()===r)},pa=function(t,e){var r=t.getPattern(),n=Vn.extractGist(e.getValue(),t.getValueTemplate());if(void 0!==r)try{return new RegExp("^".concat(r,"$")).test(n)}catch(t){return!0}return!0},ya=function(t,e,r){var n,i=r.getConstraints(),o=[],a=function(r,i){if(1!==(n=t.find(e,r,{type:"uri",value:i})).length)return!1;o.push(n[0])};if("object"===ca(i)&&null!==i){for(var s,u=Object.keys(i),l=function(){var t=u[c],e=i[t];if(e instanceof Array){var r=!0;if(e.forEach((function(e){!1!==a(t,e)&&(r=!1)})),r)return{v:void 0}}else if(!1===a(t,e))return{v:void 0}},c=0;c<u.length;c++)if(s=l())return s.v;return o}return[]},ua=function(t,e,r){var n=[],i=r.getConstraints();return"object"===ca(i)&&null!==i&&Object.keys(i).forEach((function(r){var o=i[r];Array.isArray(o)?n.push(t.create(e,r,{type:"uri",value:o[0]},!1)):n.push(t.create(e,r,{type:"uri",value:o},!1))})),n},ga=function(t,e,r){var n,i;if(t.hasChoices()){for(i=t.getChoices(),n=0;n<i.length;n++)if(i[n].value===e)return i[n];if(!t.hasStyle("strictmatch")||va)return{value:e,label:{"":e},mismatch:!0}}else{var o=Vn.getLocalizedMap(r,e,t.getLabelProperties());null==o&&va&&(o={"":e,mismatch:!0});var a=r.findFirstValue(e,Io.seeAlso);if(null!=o){var s={label:o,value:e};return a&&(s.seeAlso=a),s}if(null!=Wn.getChoice)return Wn.getChoice(t,e,a,r)}},sa=function(t){t._dibbs=!0},aa=function(t){return!0!==t._dibbs},oa=function(t){var e,r,n,i=t.getItemGroupedChildBindings()||[];for(e=0;e<i.length;e++)for(n=i[e],r=0;r<n.length;r++){var o=n[r];o._statement&&delete o._statement._dibbs,(o instanceof Ei||o instanceof zo)&&oa(o)}};var Ea=function t(e,r){for(var n="/"===r[0]?r.slice(1):r,i=e.getItemGroupedChildBindings(),o=n[0],a=0;a<i.length;a++)for(var s=i[a],u=void 0,l=0;l<s.length;l++){var c=s[l],f=c.getItem();if(f instanceof po&&void 0===f.getProperty()&&o===f.getId()&&2===n.length&&n[1]===c.getValue())return c;if(c.isValid()){if("propertygroup"===f.getType())f=(c=c.getObjectBinding()).getItem();else if(void 0===f.getProperty()&&(u=t(c,n)))return u;if("*"===o||o===c.getPredicate()||o===f.getId())if("group"===f.getType()){if(u=t(c,n.slice(1)))return u}else if(1===n.length||"*"===n[1]||n[1]===c.getValue())return c}}},Ta=function(t,e){var r=e[0],n=t;if("/"===r){for(;n.getParent();)n=n.getParent();return n}if(".."===r){for(var i=0;i<e.length;i++){if(".."!==e[i]||!n.getParent())return n;n=n.getParent()}return n}return t},ka=function(t,e){var r=t.getId(),n={},i={};t.getChoices().forEach((function(t){n[t.value]=0,i[t.value]=t}));e.getChildBindings().forEach((function(t){var e=t.getItem().getDeps();if(e&&(e[0]===r||"/"===e[0]&&e[1]===r)){var i="/"===e[0]?e[2]:e[1],o=n[i];void 0!==o&&(n[i]=o+1)}}));var o,a=0;return Object.keys(n).forEach((function(t){(!o||n[t]>a)&&(o=t,a=n[t])})),i[o]};const Oa={detectLevel:function(t){if(t.mandatory>0){if(0===t.recommended&&0===t.optional)return"mandatory";if(0===t.optional)return"mixed_mandatory_recommended";if(0===t.recommended)return"mixed_mandatory_optional"}else{if(t.recommended>0)return 0===t.optional?"recommended":"mixed_recommended_optional";if(0===t.recommended&&t.recommended>0&&0===t.optional)return"optional"}return"mixed_all"},levelProfile:function(t){var e=function t(e,r,n){var i=r.getCardinality();return n&&"group"===r.getType()||(null!=i?i.min>0?e.mandatory+=1:i.pref>0?e.recommended+=1:e.optional+=1:e.optional+=1),"group"===r.getType()&&r.getChildren().forEach((function(r){return t(e,r)})),e}({mandatory:0,recommended:0,optional:0},t,!0);return e.itemCount=e.mandatory+e.recommended+e.optional,e},findFirstValueBinding:function t(e,r){if(e instanceof So)return e;for(var n=e.getItemGroupedChildBindings(),i=Mn().locale(),o=0;o<n.length;o++){var a=n[o],s=e.getItem().getChildren()[o];if(0!==a.length){if(!(s instanceof no))return t(a[0]);if("LANGUAGE_LITERAL"===s.getNodetype()){for(var u={firstValue:a[0]},l=0;l<a.length;l++){var c=a[l].getLanguage();null==c?u.emptyLanguageValue=a[l]:c===i?u.perfectLocaleLanguageValue=a[l]:c.substring(0,1)===i.substring(0,1)?u.localeLanguageValue=a[l]:-1!==c.indexOf("en")?u.defaultLanguageValue=a[l]:u.anyLanguageValue=a[l]}return u.perfectLocaleLanguageValue||u.localeLanguageValue||u.defaultLanguageValue||u.anyLanguageValue||u.firstValue}return a[0]}if(r){var f=Sa(e,s,{});return f instanceof So?(f.setLanguage(i),f):t(f,!0)}}},create:Sa,constructTemplate:wa,findPopularChoice:ka,match:ma,fuzzyMatch:ba,matchPathBelowBinding:Ea,findBindingRelativeToParentBinding:Ta,CODES:li};var Aa=function(t,e){var r=e;return null==r?r={errors:[],warnings:[],deprecated:[]}:(r.errors=r.errors||[],r.warnings=r.warnings||[],r.deprecated=r.deprecated||[]),Ra(t,r,!0)},Ca=function(t){for(var e=0,r=0;r<t.length;r++)t[r].isValid()&&(e+=1);return e},Pa=function(t,e){t.length>0&&t[0].getCardinalityTracker().setCode(e)},ja=function(t,e){if(e.hasStyle("deprecated"))return!0;var r=e.getDeps();if(r){var n=Ta(t,r);if(!Ea(n,r))return!0}return!1},Ra=function t(e,r,n){if(e.getMatchingCode()===li.OK){var i=e.getItem();if(!0===n||e.isValid()||null==i.getProperty()||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var o=i.getChildren();if(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild")||i.hasStyle("atLeastOneChild")||i.hasStyle("exactlyOneChild")){var a,s=e.getChildBindings(),u=Ca(s);u>1&&(i.hasStyle("disjoint")||i.hasStyle("atMostOneChild"))?a=li.AT_MOST_ONE_CHILD:1!==u&&i.hasStyle("exactlyOneChild")?a=li.EXACTLY_ONE_CHILD:0===u&&i.hasStyle("atLeastOneChild")&&(a=li.AT_LEAST_ONE_CHILD),a&&(Pa([e],a),o.length>0&&r.errors.push({parentBinding:e,item:o[0],code:a}))}else e.getItemGroupedChildBindings().forEach((function(t,n){var i=o[n];if(!ja(e,i)&&null!=i.getProperty()){var a=Ca(t),s=i.getCardinality();null!=s.min&&s.min>a?(r.errors.push({parentBinding:e,item:i,code:li.TOO_FEW_VALUES_MIN}),Pa(t,li.TOO_FEW_VALUES_MIN)):null!=s.pref&&s.pref>a&&r.warnings.push({parentBinding:e,item:i,code:li.TOO_FEW_VALUES_PREF}),null!=s.max&&s.max<a&&(r.errors.push({parentBinding:e,item:i,code:li.TOO_MANY_VALUES}),Pa(t,li.TOO_MANY_VALUES))}}),void 0);e.getChildBindings().forEach((function(n){var i=n.getItem();n.getMatchingCode()!==li.OK&&r.errors.push({parentBinding:n,item:i,code:n.getMatchingCode()}),i.hasStyle("deprecated")&&r.deprecated.push(n),ja(e,i)||"group"===i.getType()&&t(n,r)}))}return r}},Na=function(t,e){return t.find(null,"rdf:type",e).map((function(t){return t.getSubject()}))},Ia=function(t,e,r){for(var n=t;;){var i=n.getChildrenRootUri?n.getChildrenRootUri():n.getParent().getChildrenRootUri();if(i===e)return!0;if(r[i])return!1;n=n.getParent()}},La=function(t,e){var r=t,n=[];for(null!=e.getProperty()&&r.getItem()!==e&&n.push(l(e.getProperty()));null!=r.getItem().getProperty()&&n.push(l(r.getItem().getProperty())),null!=r.getParent();)r=r.getParent();return n.reverse(),n.join(" > ")},Da=function(t){var e=t.errors,r=t.warnings,n=t.deprecated;t.errors=e.map((function(t){return{path:La(t.parentBinding,t.item),code:t.code}})),t.warnings=r.map((function(t){return{path:La(t.parentBinding,t.item),code:t.code}})),t.deprecated=n.map((function(t){return function(t){return"".concat(La(t.getParent(),t.getItem())," > ").concat(t.getValue())}(t)}))},Ma=function(t,e,r,n){var i=ba(e,t,r),o=Aa(i);return function(t,e,r){var n=t.errors,i=t.warnings,o=t.deprecated;t.errors=n.filter((function(t){return Ia(t.parentBinding,e,r)})),t.warnings=i.filter((function(t){return Ia(t.parentBinding,e,r)})),t.deprecated=o.filter((function(t){return Ia(t,e,r)}))}(o,t,n||{}),Da(o),o};const Fa={graphReport:function(t,e){var r,n,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o={},a={},s={errors:0,warnings:0,deprecated:0,resources:[]};Object.keys(e).forEach((function(e){var r=Na(t,e);o[e]=r,r.forEach((function(t){a[t]=!0}))})),Object.keys(o).forEach((function(i){r=e[i],o[i].forEach((function(e){(n=Ma(e,t,r,a)).uri=e,n.type=i,n.template=r.getId(),s.resources.push(n),s.errors+=n.errors.length,s.warnings+=n.warnings.length,s.deprecated+=n.deprecated.length}))}));var u=[];return i.forEach((function(t){0===o[t].length&&u.push(t)})),u.length>0&&(s.mandatoryError=u,s.errors+=u.length),s},bindingReport:Aa};function Ba(t){return(Ba="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Va(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Ua(n.key),n)}}function Ua(t){var e=function(t,e){if("object"!=Ba(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ba(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ba(e)?e:String(e)}var Wa=0;function Ha(t){return(Ha="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ya(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ga(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,$a(n.key),n)}}function $a(t){var e=function(t,e){if("object"!=Ha(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ha(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ha(e)?e:String(e)}function qa(t,e,r){return e=Qa(e),function(t,e){if(e&&("object"===Ha(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],Qa(t).constructor):e.apply(t,r))}function za(){return(za="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=Xa(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function Xa(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=Qa(t)););return t}function Qa(t){return(Qa=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Za(t,e){return(Za=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var Ja=function(t,e,r){if(0===r.length||e.hasStyle("invisible"))return!1;if(e.getProperty())return!t.filterItem(e);if("group"===e.getType()){var n=e.getChildren();return 0===n.length||!!r[0].getItemGroupedChildBindings().find((function(e,r){return Ja(t,n[r],e)}))}return!0},Ka=function(t){function e(){return Ya(this,e),qa(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&Za(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this.showLanguage=!1!==t.showLanguage,this.filterTranslations=!1!==t.filterTranslations,this.defaultLanguage=t.defaultLanguage,this.styleCls=t.styleCls||"rdformsPresenter",za(Qa(e.prototype),"_handleParams",this).call(this,t)}},{key:"showNow",value:function(t,e){return Ja(this,t,e)}},{key:"skipBinding",value:function(t){var e=t.getItem(),r="group"===e.getType();return!(!e.getProperty()&&r&&0===e.getChildren().length)&&r&&0===t.getChildBindings().length}},{key:"prepareBindings",value:function(t,e){return t.hasStyle("filterTranslations")||this.filterTranslations&&"LANGUAGE_LITERAL"===t.getNodetype()&&!t.hasStyle("viewAllTranslations")?ei.filterTranslations(e,this.getLocale(),this.defaultLanguage):e}},{key:"addLabel",value:function(t,e,r){r.hasStyle("noLabelInPresent")?ei.domClassToggle(t,"rdformsInvisibleGroup",!0):ei.renderPresenterLabel(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return ei.addPresenterTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){return ei.fillPresenterTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ei.prePresenterViewRenderer(this.domNode,this.binding,{view:this,topLevel:this.topLevel})}},{key:"addComponent",value:function(t,e){ei.renderPresenter(t,e,this.context)}},{key:"truncateAt",value:function(t,e){return"group"!==t.getType()&&e&&e.length>this.truncateLimit&&(this.truncate||t.hasStyle("truncate"))&&!t.hasStyle("noTruncate")?this.truncateLimit:-1}}])&&Ga(r.prototype,n),i&&Ga(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(function(){function t(e,r){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._viewId=Wa,Wa+=1,this.locale=e.locale,this.defaultTextLanguage=e.defaultTextLanguage,this.messages=e.messages,this.parentView=e.parentView,this.srcNodeRef=r,this.binding=e.binding||null,this.template=e.template||null,this.graph=e.graph||null,this.resource=e.resource||"",this.topLevel=!1!==e.topLevel,this.compact=!1!==e.compact,this.showDescription=!0===e.showDescription,this.styleCls=e.styleCls||"",this.truncateLimit=void 0!==e.truncateLimit?e.truncateLimit:10,this.truncate=void 0!==e.truncate&&e.truncate,Array.isArray(e.filterPredicates)?this.filterPredicates=e.filterPredicates.reduce((function(t,e){return t[e]=!0,t}),{}):"object"===Ba(e.filterPredicates)?this.filterPredicates=e.filterPredicates:"string"==typeof e.filterPredicates?this.filterPredicates=e.filterPredicates.split(",").reduce((function(t,e){return t[e]=!0,t}),{}):this.filterPredicates=null,this.restrictToItem=e.restrictToItem,this.fuzzy=!0===e.fuzzy,this.markOrigin=!1!==e.markOrigin,this._handleParams(e),this._labelIndex={},this.domNode=ei.createDomNode(r,this),ei.domClassToggle(this.domNode,"rdforms",!0),ei.domClassToggle(this.domNode,this.styleCls,!0),this.render()}var e,r,n;return e=t,(r=[{key:"getParentView",value:function(){return this.parentView}},{key:"getNamedGraphId",value:function(t){if(this.markOrigin){this.namedGraphs||(this.namedGraphs={},this.namedGraphCounter=65);var e=this.namedGraphs[t];return void 0===e&&(e=String.fromCharCode(this.namedGraphCounter),this.namedGraphs[t]=e,this.namedGraphCounter+=1),e}}},{key:"getNamedGraphFromId",value:function(t){var e=this;return this.namedGraphs?Object.keys(this.namedGraphs).find((function(r){return e.namedGraphs[r]===t})):void 0}},{key:"destroy",value:function(){ei.destroyDomNode(this.domNode,this)}},{key:"getBinding",value:function(){return this.binding}},{key:"_handleParams",value:function(t){if(t.binding)this.binding=t.binding;else{if(this.template=t.template||this.template,this.graph=t.graph||this.graph,this.resource=t.resource||this.resource,null==this.graph||null==this.resource||null==this.template)return;this.fuzzy?(this.binding=ba(this.graph,this.resource,this.template),Aa(this.binding)):this.binding=ma(this.graph,this.resource,this.template)}}},{key:"showNow",value:function(){return!0}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(){}},{key:"addTable",value:function(){}},{key:"fillTable",value:function(){}},{key:"addLabel",value:function(){}},{key:"addComponent",value:function(){}},{key:"showAsTable",value:function(t){return"group"===t.getType()&&(t.hasStyle("table")||t.hasClass("rdformsTable"))}},{key:"show",value:function(t){this._handleParams(t),this.render()}},{key:"render",value:function(){if(ei.domText(this.domNode,""),null!=this.binding&&(this.messages||(this.messages=ei.getMessages()),null!=this.binding)){var t,e,r,n,i,o=this.binding.getItem().getChildren(),a=this.binding.getItemGroupedChildBindings();for(this._binding2node={},!this.compact&&!this.binding.getItem().hasStyle("compact")||this.binding.getItem().hasStyle("nonCompact")?ei.domClassToggle(this.domNode,"compact",!1):ei.domClassToggle(this.domNode,"compact",!0),this.preRenderView(),t=0;t<a.length;t++)if(n=a[t],i=o[t],(!this.restrictToItem||this.restrictToItem===i)&&this.showNow(i,n)){if(n=this.prepareBindings(i,n),this.showAsTable(i))this.context={view:this},r=this.createRowNode(r,n[0],i),n.length>0&&(e=this.addTable(r,n[0],i),this.fillTable(e,n));else if(n.length>0)if(this.isMultiValued(i))this.context={view:this},r=this.addRow(r,n[0],!0);else{for(var s=this.truncateAt(i,n),u=0;u<n.length;u++)this.context={view:this},r=this.addRow(r,n[u],0===u||n[u]instanceof Ei,u,s);if(-1!==s){var l=ei.domQuery(".rdformsFields",r);l&&ei.addTruncateControl(l,this.context)}}else this.context={view:this},r=this.createRowNode(r,null,i);n.length>0&&n[0].getCardinalityTracker().checkCardinality()}}}},{key:"addRow",value:function(t,e,r,n,i){var o,a,s=r,u=e.getItem();if(!this.skipBinding(e)){if(null==s&&(s=e instanceof Ei),!0===s){a=this.createRowNode(t,e,u);var l=ei.domCreate("div",a);ei.domClassToggle(l,"rdformsFields",!0),-1!==i&&ei.domClassToggle(l,"rdformsTruncated",!0),u.hasStyle("inline")&&ei.domClassToggle(l,"rdformsInline",!0),o=ei.domCreate("div",l),this.createEndOfRowNode(a,e,u)}else{var c=ei.domQuery(".rdformsFields",t);if(null!=c)o=ei.domCreate("div",c),ei.domClassToggle(o,"rdformsRepeatedValue",!0),-1!==i&&n>=i&&ei.domClassToggle(o,"rdformsMaybeTruncated",!0);else{var f=ei.domCreate("div",t);ei.domClassToggle(f,"rdformsFields",!0),u.hasStyle("inline")&&ei.domClassToggle(f,"rdformsInline",!0),o=ei.domCreate("div",f),this.createEndOfRowNode(a,e,u)}}if(this.markOrigin){var d=this.getNamedGraphId(e);d?(ei.domClassToggle(o,"rdformsOrigin",!0),ei.domClassToggle(o,"rdformsOrigin_".concat(d),!0)):(ei.domClassToggle(o,"rdformsOrigin",!0),ei.domClassToggle(o,"rdformsOrigin_default",!0))}return"group"===u.getType()?ei.domClassToggle(o,"rdformsGroup",!0):ei.domClassToggle(o,"rdformsField",!0),this._binding2node[e.getHash()]=o,this.addComponent(o,e),u.hasStyle("invisible")&&ei.domClassToggle(a||t,"rdformsInvisible",!0),a||t}}},{key:"createRowNode",value:function(t,e,r){var n;n=null==t?ei.domCreate("div",this.domNode,e?this.getRowIndex(e):void 0):ei.domCreateAfter("div",t,e?this.getRowIndex(e):void 0),r.getClasses().forEach((function(t){ei.domClassToggle(n,t,!0)})),ei.domClassToggle(n,"rdformsRow",!0),ei.domClassToggle(n,"rdformsTopLevel",this.topLevel),ei.domClassToggle(n,"rdformsInvisibleGroup",r.hasStyle("invisibleGroup")),ei.domClassToggle(n,"rdformsHeading",r.hasStyle("heading")),ei.domClassToggle(n,"notCompact","group"===r.getType()||r.hasStyle("nonCompact")),ei.domClassToggle(n,"rdformsCompactItem",r.hasStyle("compact")),this.addLabel(n,e,r),e&&this.filterBinding(e)&&ei.domClassToggle(n,"hiddenProperty",!0);var i=void 0!==this._subEditors;return(r.hasStyle("card")||r.hasStyle("cardInEdit")&&i||r.hasStyle("cardInPresent")&&!i)&&ei.domClassToggle(n,"rdformsCard",!0),n}},{key:"createEndOfRowNode",value:function(t,e,r){}},{key:"_getFilterPredicates",value:function(){return this.parentView?this.parentView._getFilterPredicates():this.filterPredicates}},{key:"filterBinding",value:function(t){return this.filterItem(t.getItem())}},{key:"filterItem",value:function(t){var e=this,r=this._getFilterPredicates();return!!r&&function t(r,n){var i=r.getId();if(i&&Object.keys(n).includes(i))return!0;var o=r.getProperty();if(o){for(var a=!0,s=e;s.parentView;)s.getBinding().getItem().getProperty()&&(a=!1),s=s.parentView;var l=u(o);return a?!0===n[o]||!0===n[l]||!0===n["*".concat(o)]||!0===n["".concat(l)]:!0===n["*".concat(o)]||!0===n["*".concat(l)]}if("group"===r.getType()){var c=r.getChildren()||[],f=!1;return c.forEach((function(e){t(e,n)||(f=!0)})),!f}return!1}(t,r)}},{key:"filterProperty",value:function(t){return!0===(this._getFilterPredicates()||{})[t]}},{key:"getLabelIndex",value:function(t){var e,r=this;return t.getParent().getChildBindingsFor(t.getItem()).reverse().find((function(t){return void 0!==(e=r._labelIndex[t.getHash()])})),void 0!==e?e:this.parentView?this.parentView.getLabelIndex(t.getParent()):""}},{key:"createLabelIndex",value:function(t){var e="".concat(t.getHash(),"_").concat(this._viewId,"_label");return this._labelIndex[t.getHash()]=e,e}},{key:"getRowIndex",value:function(t){return"".concat(t.getHash(),"_").concat(this._viewId,"_row")}},{key:"isMultiValued",value:function(t){return!1}},{key:"truncateAt",value:function(t,e){return-1}},{key:"getLocale",value:function(){return this.locale||(this.parentView?this.parentView.getLocale():Mn().locale())}},{key:"getDefaultTextLanguage",value:function(){return this.defaultTextLanguage||(this.parentView?this.parentView.getDefaultTextLanguage():this.getLocale())}}])&&Va(e.prototype,r),n&&Va(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}());function ts(t){return(ts="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function es(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rs(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,ns(n.key),n)}}function ns(t){var e=function(t,e){if("object"!=ts(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=ts(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==ts(e)?e:String(e)}function is(t,e,r){return e=ss(e),function(t,e){if(e&&("object"===ts(e)||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}(t,function(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return function(){return!!t}()}()?Reflect.construct(e,r||[],ss(t).constructor):e.apply(t,r))}function os(){return(os="undefined"!=typeof Reflect&&Reflect.get?Reflect.get.bind():function(t,e,r){var n=as(t,e);if(n){var i=Object.getOwnPropertyDescriptor(n,e);return i.get?i.get.call(arguments.length<3?t:r):i.value}}).apply(this,arguments)}function as(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=ss(t)););return t}function ss(t){return(ss=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function us(t,e){return(us=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t})(t,e)}var ls=function(t,e,r,n){if(e.hasStyle("presenterOnly"))return!1;if(e.hasStyle("deprecated")&&0===r.length)return!1;var i=e.getProperty();if(r.length>0){if(i)return!t.filterItem(e);if("group"!==e.getType())return!0;var o=e.getChildren();if(0===o.length)return!0;if(e.hasStyle("atLeastOneChild")||e.hasStyle("exactlyOneChild"))return!0;if(r[0].getItemGroupedChildBindings().find((function(e,r){return ls(t,o[r],e,n)})))return!0;if(!i)return!1}var a=e.getCardinality();switch(n){case"mandatory":return a&&a.min>=1;case"recommended":return a&&(a.min>=1||a.pref>=1);default:return!0}},cs=function(t){function e(){return es(this,e),is(this,e,arguments)}var r,n,i;return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),Object.defineProperty(t,"prototype",{writable:!1}),e&&us(t,e)}(e,t),r=e,(n=[{key:"_handleParams",value:function(t){this._subEditors=this._subEditors||[],this.includeLevel=t.includeLevel||"recommended",this.hideAddress=!1!==t.hideAddress,t.styleCls=t.styleCls||"rdformsEditor",t.filterTranslations=void 0!==t.filterTranslations&&t.filterTranslations,os(ss(e.prototype),"_handleParams",this).call(this,t)}},{key:"getSubEditorForBinding",value:function(t){return this._subEditors.find((function(e){return e.getBinding()===t}))}},{key:"report",value:function(t){var e=this,r=t||Aa(this.binding);Object.keys(this._binding2node).forEach((function(t){ei.domClassToggle(e._binding2node[t],"errorReport",!1)}));for(var n=function(){var t=r.errors[i];if(t.parentBinding===e.binding)if(t.code===li.TOO_FEW_VALUES_MIN){var n=t.item,o=n.getCardinality().min;e.binding.getChildBindingsFor(n).find((function(t){return o-=1,t.isValid()||ei.domClassToggle(e._binding2node[t.getHash()],"errorReport",!0),0===o}))}else t.code===li.AT_MOST_ONE_CHILD&&e.binding.getChildBindings().forEach((function(t){t.getMatchingCode()!==li.OK&&ei.domClassToggle(e._binding2node[t.getHash()],"errorReport",!0)}))},i=0;i<r.errors.length;i++)n();for(var o=0;o<this._subEditors.length;o++)this._subEditors[o].report(r)}},{key:"getIncludeLevel",value:function(){return this.includeLevel}},{key:"setIncludeLevel",value:function(t){this.includeLevel!==t&&(this.includeLevel=t,null!=this.graph&&null!=this.resource&&null!=this.template&&(this.binding=ma(this.graph,this.resource,this.template),this._subEditors=[],this.render()))}},{key:"show",value:function(t){this._subEditors=[],os(ss(e.prototype),"show",this).call(this,t)}},{key:"showNow",value:function(t,e){return ls(this,t,e,this.includeLevel)}},{key:"skipBinding",value:function(){return!1}},{key:"prepareBindings",value:function(t,e){var r,n=e,i=t.getCardinality();if(r=i.pref>0?i.pref:i.min>0?i.min:"propertygroup"===t.getType()?1:"group"===t.getType()?(t.getProperty(),1):1,t.hasStyle("nonEditable")&&!t.hasStyle("autoInitDate")&&!t.hasStyle("autoUpdateDate")&&!t.hasStyle("autoUUID")&&!t.hasStyle("autoValue")&&!t.getValue())return n;if(r>n.length)for(n=n.concat([]);r>n.length;)n.push(Sa(this.binding,t));return n}},{key:"addLabel",value:function(t,e,r){ei.renderEditorLabel(t,e,r,this.context)}},{key:"createEndOfRowNode",value:function(t,e,r){ei.renderEditorLabelScopeEnd(t,e,r,this.context)}},{key:"addTable",value:function(t,e){return e.getItem().hasStyle("nonEditable")?this.addComponent(t,e):ei.addEditorTable(t,e,{view:this})}},{key:"fillTable",value:function(t,e){ei.fillEditorTable(t,e,{view:this})}},{key:"preRenderView",value:function(){ei.preEditorViewRenderer(this.domNode,this.binding,{view:this,inEditor:!0,topLevel:this.topLevel,hideAddress:this.hideAddress})}},{key:"addComponent",value:function(t,e){this.context.inEditor=!0,e.getItem().hasStyle("nonEditable")?ei.renderPresenter(t,e,this.context):ei.renderEditor(t,e,this.context)}},{key:"createRowNode",value:function(t,r,n){if(null!=r||!n.hasStyle("nonEditable")){var i=os(ss(e.prototype),"createRowNode",this).call(this,t,r,n);if("choice"===n.getType()&&void 0===n.getProperty()){var o=ka(n,r.getParent());o&&r.setChoice(o)}var a=n.getDeps();if(a){var s=function(t){t?(ei.domClassToggle(i,"missingDepsWithValue",!1),ei.domClassToggle(i,"missingDeps",!1)):r.isValid()?ei.domClassToggle(i,"missingDepsWithValue",!0):ei.domClassToggle(i,"missingDeps",!0),r.getCardinalityTracker().setDepsOk(t)},u=Ta(r.getParent(),a);Ea(u,a)||s(!1),u.addListener((function t(){r.getParent()?s(Ea(u,a)):u.removeListener(t)}))}return this.filterBinding(r)&&ei.domClassToggle(i,"hiddenProperty",!0),n.hasStyle("deprecated")&&ei.domClassToggle(i,"rdformsDeprecated",!0),i}}},{key:"isMultiValued",value:function(t){return ei.multiValueSupport&&(t.hasStyle("horizontalCheckBoxes")||t.hasStyle("verticalCheckBoxes"))}},{key:"truncateAt",value:function(t,e){return-1}}])&&rs(r.prototype,n),i&&rs(r,i),Object.defineProperty(r,"prototype",{writable:!1}),e}(Ka);ei.renderPresenterLabel=function(t,e,r,n,i){var o=n.view instanceof cs&&r.getEditLabelMap()||r.getLabelMap(),a=Vn.getLocalizedValue(o,n.view.getLocale()).value;a=null!=a&&""!==a?a.charAt(0).toUpperCase()+a.slice(1):"";var s=r.hasStyle("heading")?ni()('<h2 class="rdformsLabel" tabindex="0">').text(a).appendTo(t):ni()('<div class="rdformsLabel" tabindex="0">').text(a).appendTo(t);e&&s.attr("id",n.view.createLabelIndex(e)),i&&s.addClass("rdformsLabelRow"),n&&(n.labelNode=s[0]);var u=n.view;if(r.hasStyle("showDescriptionInPresent")||u.showDescription){var l=r.hasStyle("compact")||u.compact&&!r.hasStyle("nonCompact")&&(u.topLevel&&"group"!==r.getType()||u.parentView&&u.parentView.topLevel&&u.binding.getItem().hasStyle("heading")),c=Vn.getLocalizedValue(r.getDescriptionMap(),n.view.getLocale()).value;!l&&c&&ni()('<div class="rdformsDescription" tabindex="0">').text(c).appendTo(t)}ei.attachItemInfo(r,s[0],n)},ei.attachItemInfo=function(t,e,r){if(null!=t&&null!=t.getDescriptionMap()){var n=Vn.getLocalizedValue(t.getDescriptionMap(),r.view.getLocale()).value;e.setAttribute("title",n)}};const fs=function(t){return function(e){return null==t?void 0:t[e]}}({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});const ds=function(t,e){for(var r=-1,n=null==t?0:t.length,i=Array(n);++r<n;)i[r]=e(t[r],r,t);return i};const hs=function(t){return"symbol"==typeof t||Xe(t)&&"[object Symbol]"==ee(t)};var ps=$t?$t.prototype:void 0,gs=ps?ps.toString:void 0;const ys=function t(e){if("string"==typeof e)return e;if(er(e))return ds(e,t)+"";if(hs(e))return gs?gs.call(e):"";var r=e+"";return"0"==r&&1/e==-1/0?"-0":r};const vs=function(t){return null==t?"":ys(t)};var ms=/[&<>"']/g,bs=RegExp(ms.source);const ws=function(t){return(t=vs(t))&&bs.test(t)?t.replace(ms,fs):t};var _s=function(t){switch(t){case"http://www.w3.org/2001/XMLSchema#dateTime":case"http://purl.org/dc/terms/W3CDTF":return"DateTime";case"http://www.w3.org/2001/XMLSchema#date":return"Date";case"http://www.w3.org/2001/XMLSchema#gYear":return"Year";case"http://www.w3.org/2001/XMLSchema#time":return"Time";case"http://www.w3.org/2001/XMLSchema#gYearMonth":return"YearMonth";case"http://www.w3.org/2001/XMLSchema#gMonthDay":return"MonthDay";default:return}},xs=function(t,e){var r=t.getValue();if(null!=r&&""!==r){var n=t.getItem(),i=function(t){try{if(t.includes(":")&&!t.includes("T")){var e=(new Date).toISOString().substr(0,11),r=new Date("".concat(e).concat(t));return r.setMinutes(r.getMinutes()+r.getTimezoneOffset()),r}return new Date(t)}catch(t){return null}}(r);if(i){var o=function(t){return t.indexOf("T")>0?"DateTime":t.indexOf(":")>0?"Time":/^\d\d\d\d-\d\d$/.test(t)?"YearMonth":/^\d\d-\d\d$/.test(t)?"MonthDay":t.length>4?"Date":"Year"}(r),a=_s(t.getDatatype()),s=function(t){var e=t.getDatatype();return Array.isArray(e)?_s(e[0]):_s(e)}(n),u=function(t){var e={},r=t.getDatatype();return(Array.isArray(r)?r:[r]).forEach((function(t){var r=_s(t);r&&(e[r]=!0)})),e}(n);return function(t,e,r){switch(t){case"DateTime":return Mn()(e).locale(r).format("lll");case"Date":return Mn()(e).locale(r).format("LL");case"Time":return Mn()(e).locale(r).format("LT");case"Year":return Mn()(e).locale(r).format("YYYY");case"YearMonth":return Mn()(e).locale(r).format("MMMM YYYY");case"MonthDay":return Mn()(e).locale(r).format("D MMMM");default:return""}}(u[a]?a:u[o]?o:s,i,e)}}},Ss=r(19755),Es=ei.presenterRegistry;Es.itemtype("text").nodetype("URI").register((function(t,e){var r=Vn.getLocalizedMap(e),n=Ss('<a class="rdformsUrl">').attr("title",e.getValue()).attr("href",e.getValue()).appendTo(t);e.getItem().hasStyle("showValue")?n.text(e.getValue()):r?n.text(Vn.getLocalizedValue(r).value):n.text(e.getGist()),e.getItem().hasStyle("externalLink")?Wn.attachExternalLinkBehaviour(n[0],e):Wn.attachLinkBehaviour(n[0],e)})),Es.itemtype("group").nodetype("URI").style("linkWithLabel").register((function(t,e,r){var n,i=e.getValue(),o=e.getItem().getChildren().find((function(t){return t.hasStyle("label")})),a=o?ei.filterTranslations(e.getChildBindingsFor(o),r.view.getLocale(),r.view.defaultLanguage):[],s=e.getItem().getChildren().find((function(t){return t.hasStyle("tooltip")})),u=s?ei.filterTranslations(e.getChildBindingsFor(s),r.view.getLocale(),r.view.defaultLanguage):[],l=u.length>0?u[0].getValue():i,c=Ss('<a class="rdformsUrl">').attr("title",l).attr("href",i).appendTo(t);if(a.length>0)n=a[0].getValue();else{var f=Vn.getLocalizedMap(e);n=e.getItem().hasStyle("showValue")?i:f?Vn.getLocalizedValue(f).value||i:e.getGist()}c.text(n),e.getItem().hasStyle("externalLink")?Wn.attachExternalLinkBehaviour(c[0],e):Wn.attachLinkBehaviour(c[0],e)})),Es.itemtype("text").nodetype("URI").style("image").register((function(t,e){Ss('<img class="rdformsImage">').attr("src",e.getGist()).appendTo(t)})),Es.itemtype("text").register((function(t,e,r){var n=e.getLanguage();r.view.showLanguage&&n&&Ss('<div class="rdformsLanguage">').text(n).appendTo(t);var i=ws(e.getItem().hasStyle("showValue")?e.getValue():e.getGist()).replace(/(\r\n|\r|\n)/g,"\n"),o=e.getParent();if(e.getItem().hasStyle("label")&&!0!==r.view.topLevel&&null!=o&&o.getItem().getChildren()[0]===e.getItem()&&null!=o.getStatement()&&"uri"===o.getStatement().getType()){var a=Ss('<a class="rdformsUrl">').attr("href",o.getStatement().getValue()).html(i).appendTo(t);n&&a.attr("lang",n),Wn.attachLinkBehaviour(a[0],o)}else{var s=Ss("<div>").html(i).appendTo(t);n&&s.attr("lang",n)}e.getItem().hasStyle("multiline")?Ss(t).toggleClass("rdformsMultiline",!0):Ss(t).toggleClass("rdformsSingleline",!0)})),Es.itemtype("text").datatype("xsd:duration").register((function(t,e,r){var n=function(t){var e,r=function(t){return t&&t.length>1?parseInt(t[0],10):0},n=r(t.match(/([0-9])*Y/)),i=r(t.match(/([0-9])*D/)),o=r(t.match(/([0-9])*H/)),a=0;if(-1===t.indexOf("T"))e=r(t.match(/([0-9])*M/));else{var s=t.split("T");e=r(s[0].match(/([0-9])*M/)),a=r(s[1].match(/([0-9])*M/))}return{years:n,months:e,days:i,hours:o,minutes:a}}(e.getValue()),i=r.view.messages,o=Ss("<div>").appendTo(t)[0];["years","months","days","hours","minutes"].forEach((function(t){n.hasOwnProperty(t)&&0!==n[t]&&Ss('<span class="durationLabel">'.concat(i["duration_".concat(t)],':</span><span class="durationValue">').concat(n[t],"</span>")).appendTo(o)}))}));var Ts=function(t,e,r){try{var n=xs(e,r.view.getLocale());Ss("<div>").html(n).appendTo(t)}catch(t){console.warn("Could not present date, expected ISO8601 format in the form 2001-01-01 \n (potentially with time given after a 'T' character as well) but found '".concat(e.getValue(),"' instead."))}};Es.itemtype("text").datatype("xsd:dateTime").register(Ts),Es.itemtype("text").datatype("xsd:date").register(Ts),Es.itemtype("text").datatype("xsd:time").register(Ts),Es.itemtype("text").datatype("xsd:gYear").register(Ts),Es.itemtype("text").datatype("xsd:gYearMonth").register(Ts),Es.itemtype("text").datatype("xsd:gMonthDay").register(Ts),Es.itemtype("text").datatype("dcterms:W3CDTF").register(Ts);var ks=r(19755),Os=ei.presenterRegistry,As=function(t){return function(e,r,n){var i,o=r.getChoice();o&&(o.description&&(i=Vn.getLocalizedValue(o.description,n.view.getLocale()).value),t(e,r,o,i,n.view.getLocale()))}};Os.itemtype("choice").style("image").register(As((function(t,e,r,n){ks('<img class="rdformsImage">').attr("src",r.value).attr("title",n||r.value).appendTo(t)}))),Os.itemtype("choice").style("stars").register(As((function(t,e,r){isNaN(parseInt(r.value,10))||ks('<span class="rdformsStar">').appendTo(t)}))),Os.itemtype("choice").register(As((function(t,e,r,n,i){var o,a=e.getItem(),s=Vn.getLocalizedValue(r.label,i);a.hasStaticChoices()&&!a.hasStyle("externalLink")||a.hasStyle("noLink")?o=ks("<div>").attr("title",n||r.seeAlso||r.value).text(Vn.getLocalizedValue(r.label,i).value).appendTo(t):(o=ks('<a class="rdformsUrl">').attr("href",r.seeAlso||r.value).attr("title",n||r.seeAlso||r.value).text(s.value).appendTo(t),a.hasStyle("externalLink")?Wn.attachExternalLinkBehaviour(o[0],e):Wn.attachLinkBehaviour(o[0],e)),null!=r.load&&r.load((function(){var t=Vn.getLocalizedValue(r.label,i);o.text(t.value),t.lang?o.attr("lang",t.lang):o.attr("lang",void 0)})),s.lang&&o.attr("lang",s.lang)}))),ei.addPresenterTable=function(t,e,r){var n=e.getItem(),i=n.getChildren(),o=ni()("<table>").addClass("rdformsGroup").appendTo(t);ni()("<thead>").appendTo(o);for(var a=ni()("<tr>").appendTo(o),s=0;s<i.length;s++){var u=ni()("<th>").appendTo(a),l=Vn.getLocalizedValue(i[s].getLabel(),r.view.getLocale()).value;ei.attachItemInfo(n,ni()("<span>").text(l).appendTo(u),r)}return o[0]},ei.fillPresenterTable=function(t,e,r){if(0!==e.length){var n,i,o,a,s=r.view.topLevel;for(r.view.topLevel=!1,n=0;n<e.length;n++)for(o=e[n].getItemGroupedChildBindings(),a=ni()("<tr>").appendTo(t),i=0;i<o.length;i++)o[i].length>0?ei.renderPresenter(ni()("<td>").appendTo(a),o[i][0],{view:r.view,noCardinalityButtons:!0}):ni()("<td>").appendTo(a);r.view.topLevel=s}};var Cs=function(t,e){var r=document.createElement(t);return e&&(r.id=e),r};ei.domQuery=function(t,e){return e.querySelector(t)},ei.domCreate=function(t,e,r){return e.appendChild(Cs(t,r))},ei.domCreateAfter=function(t,e,r){return e.parentNode.insertBefore(Cs(t,r),e.nextSibling)},ei.domSetAttr=function(t,e,r){""===r||null===r?t.removeAttribute(e):t.setAttribute(e,r)},ei.domText=function(t,e){t.innerText=e},ei.domClassToggle=function(t,e,r){e.split(" ").forEach((function(e){r?t.classList.add(e):t.classList.remove(e)}))},ei.prePresenterViewRenderer=ei.preEditorViewRenderer,ei.addTruncateControl=function(t,e){var r=e.view.messages,n=ei.domCreate("button",t);ei.domClassToggle(n,"rdformsShowMore",!0),n.innerText=r.showMore,n.onclick=function(){ei.domClassToggle(t,"rdformsTruncated",!1)};var i=ei.domCreate("button",t);ei.domClassToggle(i,"rdformsShowLess",!0),i.innerText=r.showLess,i.onclick=function(){ei.domClassToggle(t,"rdformsTruncated",!0)}};var Ps=r(93379),js=r.n(Ps),Rs=r(7795),Ns=r.n(Rs),Is=r(90569),Ls=r.n(Is),Ds=r(3565),Ms=r.n(Ds),Fs=r(19216),Bs=r.n(Fs),Vs=r(44589),Us=r.n(Vs),Ws=r(40719),Hs={};Hs.styleTagTransform=Us(),Hs.setAttributes=Ms(),Hs.insert=Ls().bind(null,"head"),Hs.domAPI=Ns(),Hs.insertStyleElement=Bs();js()(Ws.Z,Hs);Ws.Z&&Ws.Z.locals&&Ws.Z.locals;var Ys="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==r.g&&r.g||{},Gs="URLSearchParams"in Ys,$s="Symbol"in Ys&&"iterator"in Symbol,qs="FileReader"in Ys&&"Blob"in Ys&&function(){try{return new Blob,!0}catch(t){return!1}}(),zs="FormData"in Ys,Xs="ArrayBuffer"in Ys;if(Xs)var Qs=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],Zs=ArrayBuffer.isView||function(t){return t&&Qs.indexOf(Object.prototype.toString.call(t))>-1};function Js(t){if("string"!=typeof t&&(t=String(t)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(t)||""===t)throw new TypeError('Invalid character in header field name: "'+t+'"');return t.toLowerCase()}function Ks(t){return"string"!=typeof t&&(t=String(t)),t}function tu(t){var e={next:function(){var e=t.shift();return{done:void 0===e,value:e}}};return $s&&(e[Symbol.iterator]=function(){return e}),e}function eu(t){this.map={},t instanceof eu?t.forEach((function(t,e){this.append(e,t)}),this):Array.isArray(t)?t.forEach((function(t){if(2!=t.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+t.length);this.append(t[0],t[1])}),this):t&&Object.getOwnPropertyNames(t).forEach((function(e){this.append(e,t[e])}),this)}function ru(t){if(!t._noBody)return t.bodyUsed?Promise.reject(new TypeError("Already read")):void(t.bodyUsed=!0)}function nu(t){return new Promise((function(e,r){t.onload=function(){e(t.result)},t.onerror=function(){r(t.error)}}))}function iu(t){var e=new FileReader,r=nu(e);return e.readAsArrayBuffer(t),r}function ou(t){if(t.slice)return t.slice(0);var e=new Uint8Array(t.byteLength);return e.set(new Uint8Array(t)),e.buffer}function au(){return this.bodyUsed=!1,this._initBody=function(t){var e;this.bodyUsed=this.bodyUsed,this._bodyInit=t,t?"string"==typeof t?this._bodyText=t:qs&&Blob.prototype.isPrototypeOf(t)?this._bodyBlob=t:zs&&FormData.prototype.isPrototypeOf(t)?this._bodyFormData=t:Gs&&URLSearchParams.prototype.isPrototypeOf(t)?this._bodyText=t.toString():Xs&&qs&&((e=t)&&DataView.prototype.isPrototypeOf(e))?(this._bodyArrayBuffer=ou(t.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):Xs&&(ArrayBuffer.prototype.isPrototypeOf(t)||Zs(t))?this._bodyArrayBuffer=ou(t):this._bodyText=t=Object.prototype.toString.call(t):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof t?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Gs&&URLSearchParams.prototype.isPrototypeOf(t)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},qs&&(this.blob=function(){var t=ru(this);if(t)return t;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var t=ru(this);return t||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(qs)return this.blob().then(iu);throw new Error("could not read as ArrayBuffer")},this.text=function(){var t=ru(this);if(t)return t;if(this._bodyBlob)return function(t){var e=new FileReader,r=nu(e),n=/charset=([A-Za-z0-9_-]+)/.exec(t.type),i=n?n[1]:"utf-8";return e.readAsText(t,i),r}(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(function(t){for(var e=new Uint8Array(t),r=new Array(e.length),n=0;n<e.length;n++)r[n]=String.fromCharCode(e[n]);return r.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},zs&&(this.formData=function(){return this.text().then(lu)}),this.json=function(){return this.text().then(JSON.parse)},this}eu.prototype.append=function(t,e){t=Js(t),e=Ks(e);var r=this.map[t];this.map[t]=r?r+", "+e:e},eu.prototype.delete=function(t){delete this.map[Js(t)]},eu.prototype.get=function(t){return t=Js(t),this.has(t)?this.map[t]:null},eu.prototype.has=function(t){return this.map.hasOwnProperty(Js(t))},eu.prototype.set=function(t,e){this.map[Js(t)]=Ks(e)},eu.prototype.forEach=function(t,e){for(var r in this.map)this.map.hasOwnProperty(r)&&t.call(e,this.map[r],r,this)},eu.prototype.keys=function(){var t=[];return this.forEach((function(e,r){t.push(r)})),tu(t)},eu.prototype.values=function(){var t=[];return this.forEach((function(e){t.push(e)})),tu(t)},eu.prototype.entries=function(){var t=[];return this.forEach((function(e,r){t.push([r,e])})),tu(t)},$s&&(eu.prototype[Symbol.iterator]=eu.prototype.entries);var su=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function uu(t,e){if(!(this instanceof uu))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var r,n,i=(e=e||{}).body;if(t instanceof uu){if(t.bodyUsed)throw new TypeError("Already read");this.url=t.url,this.credentials=t.credentials,e.headers||(this.headers=new eu(t.headers)),this.method=t.method,this.mode=t.mode,this.signal=t.signal,i||null==t._bodyInit||(i=t._bodyInit,t.bodyUsed=!0)}else this.url=String(t);if(this.credentials=e.credentials||this.credentials||"same-origin",!e.headers&&this.headers||(this.headers=new eu(e.headers)),this.method=(r=e.method||this.method||"GET",n=r.toUpperCase(),su.indexOf(n)>-1?n:r),this.mode=e.mode||this.mode||null,this.signal=e.signal||this.signal||function(){if("AbortController"in Ys)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==e.cache&&"no-cache"!==e.cache)){var o=/([?&])_=[^&]*/;if(o.test(this.url))this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function lu(t){var e=new FormData;return t.trim().split("&").forEach((function(t){if(t){var r=t.split("="),n=r.shift().replace(/\+/g," "),i=r.join("=").replace(/\+/g," ");e.append(decodeURIComponent(n),decodeURIComponent(i))}})),e}function cu(t,e){if(!(this instanceof cu))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');if(e||(e={}),this.type="default",this.status=void 0===e.status?200:e.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===e.statusText?"":""+e.statusText,this.headers=new eu(e.headers),this.url=e.url||"",this._initBody(t)}uu.prototype.clone=function(){return new uu(this,{body:this._bodyInit})},au.call(uu.prototype),au.call(cu.prototype),cu.prototype.clone=function(){return new cu(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new eu(this.headers),url:this.url})},cu.error=function(){var t=new cu(null,{status:200,statusText:""});return t.ok=!1,t.status=0,t.type="error",t};var fu=[301,302,303,307,308];cu.redirect=function(t,e){if(-1===fu.indexOf(e))throw new RangeError("Invalid status code");return new cu(null,{status:e,headers:{location:t}})};var du=Ys.DOMException;try{new du}catch(t){(du=function(t,e){this.message=t,this.name=e;var r=Error(t);this.stack=r.stack}).prototype=Object.create(Error.prototype),du.prototype.constructor=du}function hu(t,e){return new Promise((function(r,n){var i=new uu(t,e);if(i.signal&&i.signal.aborted)return n(new du("Aborted","AbortError"));var o=new XMLHttpRequest;function a(){o.abort()}if(o.onload=function(){var t,e,n={statusText:o.statusText,headers:(t=o.getAllResponseHeaders()||"",e=new eu,t.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(t){return 0===t.indexOf("\n")?t.substr(1,t.length):t})).forEach((function(t){var r=t.split(":"),n=r.shift().trim();if(n){var i=r.join(":").trim();try{e.append(n,i)}catch(t){console.warn("Response "+t.message)}}})),e)};0===i.url.indexOf("file://")&&(o.status<200||o.status>599)?n.status=200:n.status=o.status,n.url="responseURL"in o?o.responseURL:n.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){r(new cu(a,n))}),0)},o.onerror=function(){setTimeout((function(){n(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){n(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){n(new du("Aborted","AbortError"))}),0)},o.open(i.method,function(t){try{return""===t&&Ys.location.href?Ys.location.href:t}catch(e){return t}}(i.url),!0),"include"===i.credentials?o.withCredentials=!0:"omit"===i.credentials&&(o.withCredentials=!1),"responseType"in o&&(qs?o.responseType="blob":Xs&&(o.responseType="arraybuffer")),e&&"object"==typeof e.headers&&!(e.headers instanceof eu||Ys.Headers&&e.headers instanceof Ys.Headers)){var s=[];Object.getOwnPropertyNames(e.headers).forEach((function(t){s.push(Js(t)),o.setRequestHeader(t,Ks(e.headers[t]))})),i.headers.forEach((function(t,e){-1===s.indexOf(e)&&o.setRequestHeader(e,t)}))}else i.headers.forEach((function(t,e){o.setRequestHeader(e,t)}));i.signal&&(i.signal.addEventListener("abort",a),o.onreadystatechange=function(){4===o.readyState&&i.signal.removeEventListener("abort",a)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}hu.polyfill=!0,Ys.fetch||(Ys.fetch=hu,Ys.Headers=eu,Ys.Request=uu,Ys.Response=cu);r(60429);const pu=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this};const gu=function(t){return this.__data__.has(t)};function yu(t){var e=-1,r=null==t?0:t.length;for(this.__data__=new Fe;++e<r;)this.add(t[e])}yu.prototype.add=yu.prototype.push=pu,yu.prototype.has=gu;const vu=yu;const mu=function(t,e){for(var r=-1,n=null==t?0:t.length;++r<n;)if(e(t[r],r,t))return!0;return!1};const bu=function(t,e){return t.has(e)};const wu=function(t,e,r,n,i,o){var a=1&r,s=t.length,u=e.length;if(s!=u&&!(a&&u>s))return!1;var l=o.get(t),c=o.get(e);if(l&&c)return l==e&&c==t;var f=-1,d=!0,h=2&r?new vu:void 0;for(o.set(t,e),o.set(e,t);++f<s;){var p=t[f],g=e[f];if(n)var y=a?n(g,p,f,e,t,o):n(p,g,f,t,e,o);if(void 0!==y){if(y)continue;d=!1;break}if(h){if(!mu(e,(function(t,e){if(!bu(h,e)&&(p===t||i(p,t,r,n,o)))return h.push(e)}))){d=!1;break}}else if(p!==g&&!i(p,g,r,n,o)){d=!1;break}}return o.delete(t),o.delete(e),d};const _u=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r};const xu=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r};var Su=$t?$t.prototype:void 0,Eu=Su?Su.valueOf:void 0;const Tu=function(t,e,r,n,i,o,a){switch(r){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!o(new pn(t),new pn(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return Pt(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var s=_u;case"[object Set]":var u=1&n;if(s||(s=xu),t.size!=e.size&&!u)return!1;var l=a.get(t);if(l)return l==e;n|=2,a.set(t,e);var c=wu(s(t),s(e),n,i,o,a);return a.delete(t),c;case"[object Symbol]":if(Eu)return Eu.call(t)==Eu.call(e)}return!1};var ku=Object.prototype.hasOwnProperty;const Ou=function(t,e,r,n,i,o){var a=1&r,s=Jr(t),u=s.length;if(u!=Jr(e).length&&!a)return!1;for(var l=u;l--;){var c=s[l];if(!(a?c in e:ku.call(e,c)))return!1}var f=o.get(t),d=o.get(e);if(f&&d)return f==e&&d==t;var h=!0;o.set(t,e),o.set(e,t);for(var p=a;++l<u;){var g=t[c=s[l]],y=e[c];if(n)var v=a?n(y,g,c,e,t,o):n(g,y,c,t,e,o);if(!(void 0===v?g===y||i(g,y,r,n,o):v)){h=!1;break}p||(p="constructor"==c)}if(h&&!p){var m=t.constructor,b=e.constructor;m==b||!("constructor"in t)||!("constructor"in e)||"function"==typeof m&&m instanceof m&&"function"==typeof b&&b instanceof b||(h=!1)}return o.delete(t),o.delete(e),h};var Au=Object.prototype.hasOwnProperty;const Cu=function(t,e,r,n,i,o){var a=er(t),s=er(e),u=a?"[object Array]":fn(t),l=s?"[object Array]":fn(e),c="[object Object]"==(u="[object Arguments]"==u?"[object Object]":u),f="[object Object]"==(l="[object Arguments]"==l?"[object Object]":l),d=u==l;if(d&&ar(t)){if(!ar(e))return!1;a=!0,c=!1}if(d&&!c)return o||(o=new Ue),a||mr(t)?wu(t,e,r,n,i,o):Tu(t,e,u,r,n,i,o);if(!(1&r)){var h=c&&Au.call(t,"__wrapped__"),p=f&&Au.call(e,"__wrapped__");if(h||p){var g=h?t.value():t,y=p?e.value():e;return o||(o=new Ue),i(g,y,r,n,o)}}return!!d&&(o||(o=new Ue),Ou(t,e,r,n,i,o))};const Pu=function t(e,r,n,i,o){return e===r||(null==e||null==r||!Xe(e)&&!Xe(r)?e!=e&&r!=r:Cu(e,r,n,i,t,o))};const ju=function(t,e){return Pu(t,e)};function Ru(t){return(Ru="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Nu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Iu(n.key),n)}}function Iu(t){var e=function(t,e){if("object"!=Ru(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Ru(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Ru(e)?e:String(e)}var Lu=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._registry={}}var e,r,n;return e=t,(r=[{key:"importRegistry",value:function(t){Object.assign(this._registry,t)}},{key:"getChoices",value:function(t,e){var r=this._findChoices(t);if(null==r);else{if(null==e)return r;e(r)}}},{key:"_findChoices",value:function(t){var e=this._registry[t.getOntologyUrl()];if(null!=e)for(var r=0;r<e.length;r++){var n=e[r];if(ju(n.constraints,t.getConstraints())&&t.getParentProperty()===n.parentProperty&&t.getHierarchyProperty()===n.hierarchyProperty&&t.isParentPropertyInverted()===(n.isParentPropertyInverted||!1)&&t.isHierarchyPropertyInverted()===(n.isHierarchyPropertyInverted||!1))return n.choices}}},{key:"_constructLoadUrl",value:function(t){var e=[];if(e.push("constr=".concat(encodeURIComponent(JSON.stringify(t.getConstraints())))),null!=t.getParentProperty()){var r=!0===t.isParentPropertyInverted()?"ipp=":"pp=";e.push(r+encodeURIComponent(t.getParentProperty()))}if(null!=t.getHierarchyProperty()){var n=!0===t.isHierarchyPropertyInverted()?"ihp=":"hp=";e.push(n+encodeURIComponent(t.getHierarchyProperty()))}return"".concat(t.getOntologyUrl(),"?").concat(e.join("&"))}}])&&Nu(e.prototype,r),n&&Nu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Du(t){return(Du="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Mu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Fu(n.key),n)}}function Fu(t){var e=function(t,e){if("object"!=Du(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Du(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Du(e)?e:String(e)}var Bu=0,Vu=function(){function t(e){var r=e.itemStore,n=e.source,i=e.path,o=e.readOnly,a=void 0!==o&&o;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._itemStore=r,this._source=n,this._path=i,this._readOnly=a,this._items=[],Bu+=1,this._id="_bundle_".concat(Bu),this._root=null,this._modified=!1}var e,r,n;return e=t,(r=[{key:"getInternalId",value:function(){return this._id}},{key:"getSource",value:function(){return this._source}},{key:"setRoot",value:function(t){return this._source.root=t,t}},{key:"getRoot",value:function(){if(this._source.root)return this._itemStore.getItem(this._source.root)}},{key:"getItemStore",value:function(){return this._itemStore}},{key:"getPath",value:function(){return this._path}},{key:"getItems",value:function(){return this._items}},{key:"addItem",value:function(t){this._items.push(t)}},{key:"removeItem",value:function(t){this._items.splice(this._items.indexOf(t),1)}},{key:"isModified",value:function(){return this._modified}},{key:"setModified",value:function(t){this._modified=t}},{key:"isReadOnly",value:function(){return this._readOnly||null==this._path}}])&&Mu(e.prototype,r),n&&Mu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();function Uu(t,e){for(var r=0;r<e.length;r++){var n=e[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(t,Wu(n.key),n)}}function Wu(t){var e=function(t,e){if("object"!=Hu(t)||!t)return t;var r=t[Symbol.toPrimitive];if(void 0!==r){var n=r.call(t,e||"default");if("object"!=Hu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==Hu(e)?e:String(e)}function Hu(t){return(Hu="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var Yu=function t(e,r){if(!e||!r)return void 0===r?e:r;if(Array.isArray(e)&&Array.isArray(r))return[].concat(origSource[key],extSource[key]);if("object"===Hu(e)&&"object"===Hu(r)){var n={};return Object.keys(e).concat(Object.keys(r)).forEach((function(i){n[i]=t(e[i],r[i])})),n}return r},Gu=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.automaticSortAllowed=!0,this.handleErrorAs="throw",this._bundles=[],this._registry={},this._registryByProperty={},this._ontologyStore=e||new Lu}var e,r,n;return e=t,(r=[{key:"getTemplate",value:function(t){return this.getItem(t)}},{key:"getChildren",value:function(t,e){if(null==t)return[];var r=t.getSource(!0),n=r.content||r.items||[];if(e)return this._createItems(n,t._forceChildrenClones,t.getBundle());var i=this.getItem(r.extends);if(i){var o=t.getChildren(!0);return t.getEnhanced("items")||0===o.length?i.getChildren().concat(o):o}return t.getChildren(!0)}},{key:"getItem",value:function(t){if(null!=t)return this._registry[t]}},{key:"getItems",value:function(){var t=this;return Object.keys(this._registry).map((function(e){return t._registry[e]}))}},{key:"renameItem",value:function(t,e){if(this._registry[e])this._handleError("Cannot rename to ".concat(e," since an item with that id already exists."));else if(""!==e&&null!==e){var r=this._registry[t];r&&(delete this._registry[t],this._registry[e]=r,r.setId(e));for(var n=function r(n){var i=n.content;if(i)for(var o=0;o<i.length;o++){var a=i[o];a.id!==t&&a["@id"]!==t||(a.id=e,delete a["@id"]),a.content&&r(a)}},i=this.getItems(),o=0;o<i.length;o++){var a=i[o];a instanceof Bi&&n(a._source)}}else this._handleError("Cannot give an item an empty string or null as id.")}},{key:"getItemIds",value:function(){return Object.keys(this._registry)}},{key:"getItemByProperty",value:function(t){return this._registryByProperty[t]}},{key:"detectTemplate",value:function(t,e,r){return wa(t,e,this,r)}},{key:"registerBundle",value:function(t){t.itemStore=this;var e=new Vu(t);this._bundles.push(e),t.source&&t.source.namespaces&&f(t.source.namespaces);var r=t.source.templates||t.source.auxilliary;return r instanceof Array&&this._createItems(r,!1,e),"object"===Hu(t.source.cachedChoices)&&this._ontologyStore.importRegistry(t.source.cachedChoices),e}},{key:"getBundles",value:function(){return this._bundles}},{key:"createTemplate",value:function(t){return this.registerBundle({source:t}).getRoot()}},{key:"createTemplateFromChildren",value:function(t){var e=this,r=(t||[]).map((function(t){return"string"==typeof t?e.getItem(t):t}));return new Bi({source:{},children:r,itemStore:this})}},{key:"setPriorities",value:function(t){this.priorities=t}},{key:"createExtendedSource",value:function(t,e){var r=Object.assign({},t,e);return e.enhanced&&(!0===e.enhanced?Object.keys(t).concat(Object.keys(e)):Object.keys(e.enhanced)).forEach((function(n){r[n]=Yu(t[n],e[n])})),r._extendedSource=e,r.extends=null,delete r.children,r}},{key:"createItem",value:function(t,e,r,n){var i,o=t.id||t["@id"],a=t.type||t["@type"];if(t.extends){var s=this._registry[t.extends];if(null==s&&this._handleError("Cannot find item to extend with id: ".concat(t.extends)),s){var u=this.createExtendedSource(s.getSource(),t);return this.createItem(u,!1,!1,n)}}if(null!=a){switch(a){case"text":i=new no({source:t,itemStore:this,bundle:n});break;case"choice":i=new po({source:t,itemStore:this,ontologyStore:this._ontologyStore,bundle:n});break;case"group":i=new Bi({source:t,children:null,itemStore:this,bundle:n});break;case"propertygroup":i=new Xi({source:t,children:null,itemStore:this,bundle:n})}return!0!==r&&(null!=t.property&&(this._registryByProperty[t.property]=i,this.priorities&&null!=this.priorities[t.property]&&(i.priority=this.priorities[t.property])),null!=o&&(this._registry[o]=i,null!=n&&n.addItem(i))),i}if(null!=o){if(null!=this._registry[o]){if(!0===e||Object.keys(t).find((function(t){return"id"!==t&&"@id"!==t}))){var l=Object.assign(Object.assign({},this._registry[o]._source),t);return this.createItem(l,!1,!0)}return this._registry[o]}this._handleError("Cannot find referenced subitem using identifier: ".concat(o))}else this._handleError("Cannot create subitem, `type` for creating new or `id` for referencing external are required.")}},{key:"removeItem",value:function(t,e){var r=t.getBundle();null!=r&&r.removeItem(t),null!=t.getId()&&delete this._registry[t.getId()];var n=t.getProperty();null!=n&&this._registryByProperty[n]===t&&delete this._registryByProperty[n]}},{key:"_createItems",value:function(t,e,r){var n=this;return t.map((function(i,o){var a="string"==typeof i?t[o]={id:i}:i;return n.createItem(a,e,!1,r)})).filter((function(t){return t}))}},{key:"_handleError",value:function(t){if("throw"===this.handleErrorAs)throw new Error(t);console[this.handleErrorAs](t)}}])&&Uu(e.prototype,r),n&&Uu(e,n),Object.defineProperty(e,"prototype",{writable:!1}),t}();r(73964),r(58373),r(66793),r(7629),r(77509);function $u(t){return($u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function qu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */qu=function(){return e};var t,e={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",u=o.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(t){l=function(t,e,r){return t[e]=r}}function c(t,e,r,n){var o=e&&e.prototype instanceof y?e:y,a=Object.create(o.prototype),s=new C(n||[]);return i(a,"_invoke",{value:T(t,r,s)}),a}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}e.wrap=c;var d="suspendedStart",h="executing",p="completed",g={};function y(){}function v(){}function m(){}var b={};l(b,a,(function(){return this}));var w=Object.getPrototypeOf,_=w&&w(w(P([])));_&&_!==r&&n.call(_,a)&&(b=_);var x=m.prototype=y.prototype=Object.create(b);function S(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function E(t,e){function r(i,o,a,s){var u=f(t[i],t,o);if("throw"!==u.type){var l=u.arg,c=l.value;return c&&"object"==$u(c)&&n.call(c,"__await")?e.resolve(c.__await).then((function(t){r("next",t,a,s)}),(function(t){r("throw",t,a,s)})):e.resolve(c).then((function(t){l.value=t,a(l)}),(function(t){return r("throw",t,a,s)}))}s(u.arg)}var o;i(this,"_invoke",{value:function(t,n){function i(){return new e((function(e,i){r(t,n,e,i)}))}return o=o?o.then(i,i):i()}})}function T(e,r,n){var i=d;return function(o,a){if(i===h)throw new Error("Generator is already running");if(i===p){if("throw"===o)throw a;return{value:t,done:!0}}for(n.method=o,n.arg=a;;){var s=n.delegate;if(s){var u=k(s,n);if(u){if(u===g)continue;return u}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var l=f(e,r,n);if("normal"===l.type){if(i=n.done?p:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(i=p,n.method="throw",n.arg=l.arg)}}}function k(e,r){var n=r.method,i=e.iterator[n];if(i===t)return r.delegate=null,"throw"===n&&e.iterator.return&&(r.method="return",r.arg=t,k(e,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var o=f(i,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,g;var a=o.arg;return a?a.done?(r[e.resultName]=a.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,g):a:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,g)}function O(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(O,this),this.reset(!0)}function P(e){if(e||""===e){var r=e[a];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var i=-1,o=function r(){for(;++i<e.length;)if(n.call(e,i))return r.value=e[i],r.done=!1,r;return r.value=t,r.done=!0,r};return o.next=o}}throw new TypeError($u(e)+" is not iterable")}return v.prototype=m,i(x,"constructor",{value:m,configurable:!0}),i(m,"constructor",{value:v,configurable:!0}),v.displayName=l(m,u,"GeneratorFunction"),e.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},e.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,m):(t.__proto__=m,l(t,u,"GeneratorFunction")),t.prototype=Object.create(x),t},e.awrap=function(t){return{__await:t}},S(E.prototype),l(E.prototype,s,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,i,o){void 0===o&&(o=Promise);var a=new E(c(t,r,n,i),o);return e.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},S(x),l(x,u,"Generator"),l(x,a,(function(){return this})),l(x,"toString",(function(){return"[object Generator]"})),e.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},e.values=P,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(A),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function i(n,i){return s.type="throw",s.arg=e,r.next=n,i&&(r.method="next",r.arg=t),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],s=a.completion;if("root"===a.tryLoc)return i("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),l=n.call(a,"finallyLoc");if(u&&l){if(this.prev<a.catchLoc)return i(a.catchLoc,!0);if(this.prev<a.finallyLoc)return i(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return i(a.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return i(a.finallyLoc)}}}},abrupt:function(t,e){for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev<i.finallyLoc){var o=i;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var a=o?o.completion:{};return a.type=t,a.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),A(r),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var i=n.arg;A(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:P(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),g}},e}function zu(t,e,r,n,i,o,a){try{var s=t[o](a),u=s.value}catch(t){return void r(t)}s.done?e(u):Promise.resolve(u).then(n,i)}function Xu(t){return function(){var e=this,r=arguments;return new Promise((function(n,i){var o=t.apply(e,r);function a(t){zu(o,n,i,a,s,"next",t)}function s(t){zu(o,n,i,a,s,"throw",t)}a(void 0)}))}}var Qu=function(t,e,r){var n="Fetching template bundle ".concat(r," failed.");if(t===e-1)throw Error("".concat(n," Cannot recover from this, please fix."));console.log("".concat(n," Will try to fetch from a fallback option."))},Zu=function(){var t=Xu(qu().mark((function t(e){var r,n,i,o,a;return qu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=e.length,o=0;case 2:if(!(o<r)){t.next=34;break}return t.prev=3,t.next=6,fetch(e[o]);case 6:n=t.sent,t.next=12;break;case 9:throw t.prev=9,t.t0=t.catch(3),Error("A network error ocurred while trying to fetch bundle ".concat(e[o]));case 12:if(!n||!n.ok){t.next=30;break}if(t.prev=13,!(a=n.headers.has("content-type")&&n.headers.get("content-type"))||!a.includes("application/json")){t.next=22;break}return t.next=18,n.json();case 18:return i=t.sent,t.abrupt("break",34);case 22:throw new Error("Failed fetching template ".concat(e[o],". Expected a JSON file and got ").concat(a));case 23:t.next=28;break;case 25:t.prev=25,t.t1=t.catch(13),Qu(o,r,e[o]);case 28:t.next=31;break;case 30:Qu(o,r,e[o]);case 31:o++,t.next=2;break;case 34:return t.abrupt("return",i);case 35:case"end":return t.stop()}}),t,null,[[3,9],[13,25]])})));return function(e){return t.apply(this,arguments)}}(),Ju=function(t){return t.map((function(t){return t instanceof Array?Zu(t):Promise.resolve(t)}))},Ku=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return e.map((function(e){return t.registerBundle({source:e})}))};const tl=function(){var t=Xu(qu().mark((function t(e){var r,n,i,o,a,s=arguments;return qu().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return r=s.length>1&&void 0!==s[1]?s[1]:[],n=s.length>2&&void 0!==s[2]?s[2]:function(){},0===r.length&&n&&n([]),i=Ju(r),t.next=6,Promise.all(i);case 6:return o=t.sent,a=Ku(e,o),n(a),t.abrupt("return",a);case 10:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()})(),n})());