@dnb/eufemia 9.12.4 → 9.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (197) hide show
  1. package/CHANGELOG.md +11 -10
  2. package/cjs/components/autocomplete/Autocomplete.js +9 -16
  3. package/cjs/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.css +4 -0
  4. package/cjs/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.scss +3 -0
  5. package/cjs/components/button/style/themes/_button-mixins.scss +14 -5
  6. package/cjs/components/button/style/themes/dnb-button-theme-open-banking.css +10 -10
  7. package/cjs/components/button/style/themes/dnb-button-theme-ui.css +10 -10
  8. package/cjs/components/button/style/themes/dnb-button-theme-ui.scss +1 -0
  9. package/cjs/components/date-picker/DatePickerAddon.js +1 -1
  10. package/cjs/components/date-picker/DatePickerCalc.js +2 -0
  11. package/cjs/components/date-picker/DatePickerCalendar.js +2 -2
  12. package/cjs/components/date-picker/DatePickerFooter.js +2 -2
  13. package/cjs/components/date-picker/DatePickerInput.js +18 -21
  14. package/cjs/components/date-picker/DatePickerProvider.js +4 -18
  15. package/cjs/components/dropdown/Dropdown.js +2 -0
  16. package/cjs/components/form-status/FormStatus.js +2 -0
  17. package/cjs/components/global-error/GlobalError.js +2 -0
  18. package/cjs/components/global-status/GlobalStatus.d.ts +1 -1
  19. package/cjs/components/global-status/GlobalStatus.js +2 -0
  20. package/cjs/components/heading/Heading.js +2 -0
  21. package/cjs/components/heading/HeadingCounter.js +2 -0
  22. package/cjs/components/heading/HeadingHelpers.js +2 -0
  23. package/cjs/components/heading/HeadingProvider.js +2 -0
  24. package/cjs/components/icon/Icon.js +2 -0
  25. package/cjs/components/input/Input.js +2 -0
  26. package/cjs/components/input-masked/InputMasked.js +25 -29
  27. package/cjs/components/logo/Logo.js +2 -0
  28. package/cjs/components/modal/Modal.js +2 -0
  29. package/cjs/components/modal/ModalContent.js +7 -3
  30. package/cjs/components/number-format/NumberUtils.js +2 -0
  31. package/cjs/components/pagination/PaginationInfinity.js +2 -0
  32. package/cjs/components/pagination/PaginationProvider.js +2 -0
  33. package/cjs/components/progress-indicator/ProgressIndicator.js +2 -0
  34. package/cjs/components/progress-indicator/ProgressIndicatorCircular.js +2 -0
  35. package/cjs/components/progress-indicator/ProgressIndicatorLinear.js +2 -0
  36. package/cjs/components/slider/Slider.js +2 -0
  37. package/cjs/components/space/SpacingHelper.js +2 -0
  38. package/cjs/components/step-indicator/StepIndicator.js +2 -0
  39. package/cjs/components/tabs/Tabs.js +2 -0
  40. package/cjs/components/textarea/Textarea.js +2 -0
  41. package/cjs/components/tooltip/TooltipPortal.js +2 -0
  42. package/cjs/components/tooltip/TooltipWithEvents.js +2 -0
  43. package/cjs/elements/H.js +2 -0
  44. package/cjs/elements/Table.js +2 -0
  45. package/cjs/extensions/payment-card/PaymentCard.js +2 -0
  46. package/cjs/fragments/drawer-list/DrawerList.js +2 -0
  47. package/cjs/fragments/drawer-list/DrawerListHelpers.js +2 -0
  48. package/cjs/fragments/drawer-list/DrawerListPortal.js +2 -0
  49. package/cjs/fragments/drawer-list/DrawerListProvider.js +9 -1
  50. package/cjs/shared/AnimateHeight.js +2 -0
  51. package/cjs/shared/component-helper.js +2 -0
  52. package/cjs/style/stylis.js +2 -0
  53. package/cjs/style/themes/theme-open-banking/dnb-theme-open-banking.css +24 -20
  54. package/cjs/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +2 -2
  55. package/cjs/style/themes/theme-ui/dnb-theme-ui.css +14 -10
  56. package/cjs/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
  57. package/components/autocomplete/Autocomplete.js +8 -16
  58. package/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.css +4 -0
  59. package/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.scss +3 -0
  60. package/components/button/style/themes/_button-mixins.scss +14 -5
  61. package/components/button/style/themes/dnb-button-theme-open-banking.css +10 -10
  62. package/components/button/style/themes/dnb-button-theme-ui.css +10 -10
  63. package/components/button/style/themes/dnb-button-theme-ui.scss +1 -0
  64. package/components/date-picker/DatePickerAddon.js +1 -1
  65. package/components/date-picker/DatePickerCalc.js +1 -0
  66. package/components/date-picker/DatePickerCalendar.js +2 -2
  67. package/components/date-picker/DatePickerFooter.js +2 -2
  68. package/components/date-picker/DatePickerInput.js +17 -21
  69. package/components/date-picker/DatePickerProvider.js +4 -18
  70. package/components/dropdown/Dropdown.js +1 -0
  71. package/components/form-status/FormStatus.js +1 -0
  72. package/components/global-error/GlobalError.js +1 -0
  73. package/components/global-status/GlobalStatus.d.ts +1 -1
  74. package/components/global-status/GlobalStatus.js +1 -0
  75. package/components/heading/Heading.js +2 -0
  76. package/components/heading/HeadingCounter.js +1 -0
  77. package/components/heading/HeadingHelpers.js +1 -0
  78. package/components/heading/HeadingProvider.js +1 -0
  79. package/components/icon/Icon.js +1 -0
  80. package/components/input/Input.js +1 -0
  81. package/components/input-masked/InputMasked.js +24 -29
  82. package/components/logo/Logo.js +2 -0
  83. package/components/modal/Modal.js +1 -0
  84. package/components/modal/ModalContent.js +6 -3
  85. package/components/number-format/NumberUtils.js +1 -0
  86. package/components/pagination/PaginationInfinity.js +1 -0
  87. package/components/pagination/PaginationProvider.js +1 -0
  88. package/components/progress-indicator/ProgressIndicator.js +1 -0
  89. package/components/progress-indicator/ProgressIndicatorCircular.js +2 -0
  90. package/components/progress-indicator/ProgressIndicatorLinear.js +2 -0
  91. package/components/slider/Slider.js +1 -0
  92. package/components/space/SpacingHelper.js +1 -0
  93. package/components/step-indicator/StepIndicator.js +1 -0
  94. package/components/tabs/Tabs.js +1 -0
  95. package/components/textarea/Textarea.js +2 -0
  96. package/components/tooltip/TooltipPortal.js +1 -0
  97. package/components/tooltip/TooltipWithEvents.js +2 -0
  98. package/elements/H.js +2 -0
  99. package/elements/Table.js +1 -0
  100. package/es/components/autocomplete/Autocomplete.js +5 -15
  101. package/es/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.css +4 -0
  102. package/es/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.scss +3 -0
  103. package/es/components/button/style/themes/_button-mixins.scss +14 -5
  104. package/es/components/button/style/themes/dnb-button-theme-open-banking.css +10 -10
  105. package/es/components/button/style/themes/dnb-button-theme-ui.css +10 -10
  106. package/es/components/button/style/themes/dnb-button-theme-ui.scss +1 -0
  107. package/es/components/date-picker/DatePickerAddon.js +1 -1
  108. package/es/components/date-picker/DatePickerCalendar.js +2 -2
  109. package/es/components/date-picker/DatePickerFooter.js +2 -2
  110. package/es/components/date-picker/DatePickerInput.js +17 -21
  111. package/es/components/date-picker/DatePickerProvider.js +4 -14
  112. package/es/components/global-status/GlobalStatus.d.ts +1 -1
  113. package/es/components/input-masked/InputMasked.js +23 -27
  114. package/es/components/modal/ModalContent.js +5 -3
  115. package/es/fragments/drawer-list/DrawerListProvider.js +7 -1
  116. package/es/style/themes/theme-open-banking/dnb-theme-open-banking.css +24 -20
  117. package/es/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +2 -2
  118. package/es/style/themes/theme-ui/dnb-theme-ui.css +14 -10
  119. package/es/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
  120. package/esm/components/autocomplete/Autocomplete.js +8 -16
  121. package/esm/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.css +4 -0
  122. package/esm/components/autocomplete/style/themes/dnb-autocomplete-theme-ui.scss +3 -0
  123. package/esm/components/button/style/themes/_button-mixins.scss +14 -5
  124. package/esm/components/button/style/themes/dnb-button-theme-open-banking.css +10 -10
  125. package/esm/components/button/style/themes/dnb-button-theme-ui.css +10 -10
  126. package/esm/components/button/style/themes/dnb-button-theme-ui.scss +1 -0
  127. package/esm/components/date-picker/DatePickerAddon.js +1 -1
  128. package/esm/components/date-picker/DatePickerCalc.js +1 -0
  129. package/esm/components/date-picker/DatePickerCalendar.js +2 -2
  130. package/esm/components/date-picker/DatePickerFooter.js +2 -2
  131. package/esm/components/date-picker/DatePickerInput.js +17 -21
  132. package/esm/components/date-picker/DatePickerProvider.js +4 -18
  133. package/esm/components/dropdown/Dropdown.js +1 -0
  134. package/esm/components/form-status/FormStatus.js +1 -0
  135. package/esm/components/global-error/GlobalError.js +1 -0
  136. package/esm/components/global-status/GlobalStatus.d.ts +1 -1
  137. package/esm/components/global-status/GlobalStatus.js +1 -0
  138. package/esm/components/heading/Heading.js +2 -0
  139. package/esm/components/heading/HeadingCounter.js +1 -0
  140. package/esm/components/heading/HeadingHelpers.js +1 -0
  141. package/esm/components/heading/HeadingProvider.js +1 -0
  142. package/esm/components/icon/Icon.js +1 -0
  143. package/esm/components/input/Input.js +1 -0
  144. package/esm/components/input-masked/InputMasked.js +24 -29
  145. package/esm/components/logo/Logo.js +2 -0
  146. package/esm/components/modal/Modal.js +1 -0
  147. package/esm/components/modal/ModalContent.js +6 -3
  148. package/esm/components/number-format/NumberUtils.js +1 -0
  149. package/esm/components/pagination/PaginationInfinity.js +1 -0
  150. package/esm/components/pagination/PaginationProvider.js +1 -0
  151. package/esm/components/progress-indicator/ProgressIndicator.js +1 -0
  152. package/esm/components/progress-indicator/ProgressIndicatorCircular.js +2 -0
  153. package/esm/components/progress-indicator/ProgressIndicatorLinear.js +2 -0
  154. package/esm/components/slider/Slider.js +1 -0
  155. package/esm/components/space/SpacingHelper.js +1 -0
  156. package/esm/components/step-indicator/StepIndicator.js +1 -0
  157. package/esm/components/tabs/Tabs.js +1 -0
  158. package/esm/components/textarea/Textarea.js +2 -0
  159. package/esm/components/tooltip/TooltipPortal.js +1 -0
  160. package/esm/components/tooltip/TooltipWithEvents.js +2 -0
  161. package/esm/dnb-ui-basis.min.mjs +2 -2
  162. package/esm/dnb-ui-components.min.mjs +3 -3
  163. package/esm/dnb-ui-elements.min.mjs +3 -3
  164. package/esm/dnb-ui-extensions.min.mjs +4 -4
  165. package/esm/dnb-ui-lib.min.mjs +4 -4
  166. package/esm/dnb-ui-web-components.min.mjs +4 -4
  167. package/esm/elements/H.js +2 -0
  168. package/esm/elements/Table.js +1 -0
  169. package/esm/extensions/payment-card/PaymentCard.js +1 -0
  170. package/esm/fragments/drawer-list/DrawerList.js +1 -0
  171. package/esm/fragments/drawer-list/DrawerListHelpers.js +1 -0
  172. package/esm/fragments/drawer-list/DrawerListPortal.js +1 -0
  173. package/esm/fragments/drawer-list/DrawerListProvider.js +11 -3
  174. package/esm/shared/AnimateHeight.js +1 -0
  175. package/esm/shared/component-helper.js +1 -0
  176. package/esm/style/themes/theme-open-banking/dnb-theme-open-banking.css +24 -20
  177. package/esm/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +2 -2
  178. package/esm/style/themes/theme-ui/dnb-theme-ui.css +14 -10
  179. package/esm/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
  180. package/extensions/payment-card/PaymentCard.js +1 -0
  181. package/fragments/drawer-list/DrawerList.js +1 -0
  182. package/fragments/drawer-list/DrawerListHelpers.js +1 -0
  183. package/fragments/drawer-list/DrawerListPortal.js +1 -0
  184. package/fragments/drawer-list/DrawerListProvider.js +11 -3
  185. package/package.json +8 -8
  186. package/shared/AnimateHeight.js +1 -0
  187. package/shared/component-helper.js +1 -0
  188. package/style/themes/theme-open-banking/dnb-theme-open-banking.css +24 -20
  189. package/style/themes/theme-open-banking/dnb-theme-open-banking.min.css +2 -2
  190. package/style/themes/theme-ui/dnb-theme-ui.css +14 -10
  191. package/style/themes/theme-ui/dnb-theme-ui.min.css +2 -2
  192. package/umd/dnb-ui-basis.min.js +3 -3
  193. package/umd/dnb-ui-components.min.js +4 -4
  194. package/umd/dnb-ui-elements.min.js +4 -4
  195. package/umd/dnb-ui-extensions.min.js +5 -5
  196. package/umd/dnb-ui-lib.min.js +5 -5
  197. package/umd/dnb-ui-web-components.min.js +5 -5
@@ -1,4 +1,4 @@
1
- import e from"react";import t from"react-dom";var n="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}var i=r,a=o;function c(e){if(i===setTimeout)return setTimeout(e,0);if((i===r||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}"function"==typeof n.setTimeout&&(i=setTimeout),"function"==typeof n.clearTimeout&&(a=clearTimeout);var l,u=[],s=!1,f=-1;function d(){s&&l&&(s=!1,l.length?u=l.concat(u):f=-1,u.length&&p())}function p(){if(!s){var e=c(d);s=!0;for(var t=u.length;t;){for(l=u,u=[];++f<t;)l&&l[f].run();f=-1,t=u.length}l=null,s=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===o||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}h.prototype.run=function(){this.fun.apply(null,this.array)};function v(){}var y=v,m=v,g=v,b=v,w=v,O=v,E=v;var _=n.performance||{},x=_.now||_.mozNow||_.msNow||_.oNow||_.webkitNow||function(){return(new Date).getTime()};var k=new Date;var S={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||s||c(p)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:y,addListener:m,once:g,off:b,removeListener:w,removeAllListeners:O,emit:E,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*x.call(_),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-k)/1e3}},j=function(e){return e&&e.Math==Math&&e},P=j("object"==typeof globalThis&&globalThis)||j("object"==typeof window&&window)||j("object"==typeof self&&self)||j("object"==typeof P&&P)||function(){return this}()||Function("return this")(),T={},L=function(e){try{return!!e()}catch(e){return!0}},M=!L((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),C={},N={}.propertyIsEnumerable,A=Object.getOwnPropertyDescriptor,R=A&&!N.call({1:2},1);C.f=R?function(e){var t=A(this,e);return!!t&&t.enumerable}:N;var I,D,H=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},F={}.toString,z=function(e){return F.call(e).slice(8,-1)},B=z,V="".split,$=L((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?V.call(e,""):Object(e)}:Object,G=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},U=$,W=G,q=function(e){return U(W(e))},Y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},K=P,X=function(e){return"function"==typeof e?e:void 0},Z=function(e,t){return arguments.length<2?X(K[e]):K[e]&&K[e][t]},J=Z("navigator","userAgent")||"",Q=P,ee=J,te=Q.process,ne=Q.Deno,re=te&&te.versions||ne&&ne.version,oe=re&&re.v8;oe?D=(I=oe.split("."))[0]<4?1:I[0]+I[1]:ee&&(!(I=ee.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=ee.match(/Chrome\/(\d+)/))&&(D=I[1]);var ie=D&&+D,ae=ie,ce=L,le=!!Object.getOwnPropertySymbols&&!ce((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ae&&ae<41})),ue=le&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=Z,fe=ue?function(e){return"symbol"==typeof e}:function(e){var t=se("Symbol");return"function"==typeof t&&Object(e)instanceof t},de=Y,pe={exports:{}},he=P,ve=function(e,t){try{Object.defineProperty(he,e,{value:t,configurable:!0,writable:!0})}catch(n){he[e]=t}return t},ye=ve,me=P["__core-js_shared__"]||ye("__core-js_shared__",{}),ge=me;(pe.exports=function(e,t){return ge[e]||(ge[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.17.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var be=G,we=function(e){return Object(be(e))},Oe=we,Ee={}.hasOwnProperty,_e=Object.hasOwn||function(e,t){return Ee.call(Oe(e),t)},xe=0,ke=Math.random(),Se=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++xe+ke).toString(36)},je=P,Pe=pe.exports,Te=_e,Le=Se,Me=le,Ce=ue,Ne=Pe("wks"),Ae=je.Symbol,Re=Ce?Ae:Ae&&Ae.withoutSetter||Le,Ie=function(e){return Te(Ne,e)&&(Me||"string"==typeof Ne[e])||(Me&&Te(Ae,e)?Ne[e]=Ae[e]:Ne[e]=Re("Symbol."+e)),Ne[e]},De=Y,He=fe,Fe=function(e,t){var n,r;if("string"===t&&"function"==typeof(n=e.toString)&&!de(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!de(r=n.call(e)))return r;if("string"!==t&&"function"==typeof(n=e.toString)&&!de(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},ze=Ie("toPrimitive"),Be=function(e,t){if(!De(e)||He(e))return e;var n,r=e[ze];if(void 0!==r){if(void 0===t&&(t="default"),n=r.call(e,t),!De(n)||He(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),Fe(e,t)},Ve=Be,$e=fe,Ge=function(e){var t=Ve(e,"string");return $e(t)?t:String(t)},Ue=Y,We=P.document,qe=Ue(We)&&Ue(We.createElement),Ye=function(e){return qe?We.createElement(e):{}},Ke=Ye,Xe=!M&&!L((function(){return 7!=Object.defineProperty(Ke("div"),"a",{get:function(){return 7}}).a})),Ze=M,Je=C,Qe=H,et=q,tt=Ge,nt=_e,rt=Xe,ot=Object.getOwnPropertyDescriptor;T.f=Ze?ot:function(e,t){if(e=et(e),t=tt(t),rt)try{return ot(e,t)}catch(e){}if(nt(e,t))return Qe(!Je.f.call(e,t),e[t])};var it={},at=Y,ct=function(e){if(!at(e))throw TypeError(String(e)+" is not an object");return e},lt=M,ut=Xe,st=ct,ft=Ge,dt=Object.defineProperty;it.f=lt?dt:function(e,t,n){if(st(e),t=ft(t),st(n),ut)try{return dt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var pt=it,ht=H,vt=M?function(e,t,n){return pt.f(e,t,ht(1,n))}:function(e,t,n){return e[t]=n,e},yt={exports:{}},mt=me,gt=Function.toString;"function"!=typeof mt.inspectSource&&(mt.inspectSource=function(e){return gt.call(e)});var bt,wt,Ot,Et=mt.inspectSource,_t=Et,xt=P.WeakMap,kt="function"==typeof xt&&/native code/.test(_t(xt)),St=pe.exports,jt=Se,Pt=St("keys"),Tt=function(e){return Pt[e]||(Pt[e]=jt(e))},Lt={},Mt=kt,Ct=Y,Nt=vt,At=_e,Rt=me,It=Tt,Dt=Lt,Ht=P.WeakMap;if(Mt||Rt.state){var Ft=Rt.state||(Rt.state=new Ht),zt=Ft.get,Bt=Ft.has,Vt=Ft.set;bt=function(e,t){if(Bt.call(Ft,e))throw new TypeError("Object already initialized");return t.facade=e,Vt.call(Ft,e,t),t},wt=function(e){return zt.call(Ft,e)||{}},Ot=function(e){return Bt.call(Ft,e)}}else{var $t=It("state");Dt[$t]=!0,bt=function(e,t){if(At(e,$t))throw new TypeError("Object already initialized");return t.facade=e,Nt(e,$t,t),t},wt=function(e){return At(e,$t)?e[$t]:{}},Ot=function(e){return At(e,$t)}}var Gt={set:bt,get:wt,has:Ot,enforce:function(e){return Ot(e)?wt(e):bt(e,{})},getterFor:function(e){return function(t){var n;if(!Ct(t)||(n=wt(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Ut=P,Wt=vt,qt=_e,Yt=ve,Kt=Et,Xt=Gt.get,Zt=Gt.enforce,Jt=String(String).split("String");(yt.exports=function(e,t,n,r){var o,i=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||qt(n,"name")||Wt(n,"name",t),(o=Zt(n)).source||(o.source=Jt.join("string"==typeof t?t:""))),e!==Ut?(i?!c&&e[t]&&(a=!0):delete e[t],a?e[t]=n:Wt(e,t,n)):a?e[t]=n:Yt(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Xt(this).source||Kt(this)}));var Qt={},en=Math.ceil,tn=Math.floor,nn=function(e){return isNaN(e=+e)?0:(e>0?tn:en)(e)},rn=nn,on=Math.min,an=function(e){return e>0?on(rn(e),9007199254740991):0},cn=nn,ln=Math.max,un=Math.min,sn=function(e,t){var n=cn(e);return n<0?ln(n+t,0):un(n,t)},fn=q,dn=an,pn=sn,hn=function(e){return function(t,n,r){var o,i=fn(t),a=dn(i.length),c=pn(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},vn={includes:hn(!0),indexOf:hn(!1)},yn=_e,mn=q,gn=vn.indexOf,bn=Lt,wn=function(e,t){var n,r=mn(e),o=0,i=[];for(n in r)!yn(bn,n)&&yn(r,n)&&i.push(n);for(;t.length>o;)yn(r,n=t[o++])&&(~gn(i,n)||i.push(n));return i},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],En=wn,_n=On.concat("length","prototype");Qt.f=Object.getOwnPropertyNames||function(e){return En(e,_n)};var xn={};xn.f=Object.getOwnPropertySymbols;var kn=Qt,Sn=xn,jn=ct,Pn=Z("Reflect","ownKeys")||function(e){var t=kn.f(jn(e)),n=Sn.f;return n?t.concat(n(e)):t},Tn=_e,Ln=Pn,Mn=T,Cn=it,Nn=L,An=/#|\.prototype\./,Rn=function(e,t){var n=Dn[In(e)];return n==Fn||n!=Hn&&("function"==typeof t?Nn(t):!!t)},In=Rn.normalize=function(e){return String(e).replace(An,".").toLowerCase()},Dn=Rn.data={},Hn=Rn.NATIVE="N",Fn=Rn.POLYFILL="P",zn=Rn,Bn=P,Vn=T.f,$n=vt,Gn=yt.exports,Un=ve,Wn=function(e,t){for(var n=Ln(t),r=Cn.f,o=Mn.f,i=0;i<n.length;i++){var a=n[i];Tn(e,a)||r(e,a,o(t,a))}},qn=zn,Yn=function(e,t){var n,r,o,i,a,c=e.target,l=e.global,u=e.stat;if(n=l?Bn:u?Bn[c]||Un(c,{}):(Bn[c]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Vn(n,r))&&a.value:n[r],!qn(l?r:c+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Wn(i,o)}(e.sham||o&&o.sham)&&$n(i,"sham",!0),Gn(n,r,i,e)}},Kn=wn,Xn=On,Zn=Object.keys||function(e){return Kn(e,Xn)},Jn=we,Qn=Zn;Yn({target:"Object",stat:!0,forced:L((function(){Qn(1)}))},{keys:function(e){return Qn(Jn(e))}});var er,tr=z,nr=Array.isArray||function(e){return"Array"==tr(e)},rr=fe,or=function(e){if(rr(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)},ir=it,ar=ct,cr=Zn,lr=M?Object.defineProperties:function(e,t){ar(e);for(var n,r=cr(t),o=r.length,i=0;o>i;)ir.f(e,n=r[i++],t[n]);return e},ur=Z("document","documentElement"),sr=ct,fr=lr,dr=On,pr=Lt,hr=ur,vr=Ye,yr=Tt("IE_PROTO"),mr=function(){},gr=function(e){return"<script>"+e+"<\/script>"},br=function(e){e.write(gr("")),e.close();var t=e.parentWindow.Object;return e=null,t},wr=function(){try{er=new ActiveXObject("htmlfile")}catch(e){}var e,t;wr="undefined"!=typeof document?document.domain&&er?br(er):((t=vr("iframe")).style.display="none",hr.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(gr("document.F=Object")),e.close(),e.F):br(er);for(var n=dr.length;n--;)delete wr.prototype[dr[n]];return wr()};pr[yr]=!0;var Or=Object.create||function(e,t){var n;return null!==e?(mr.prototype=sr(e),n=new mr,mr.prototype=null,n[yr]=e):n=wr(),void 0===t?n:fr(n,t)},Er={},_r=q,xr=Qt.f,kr={}.toString,Sr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Er.f=function(e){return Sr&&"[object Window]"==kr.call(e)?function(e){try{return xr(e)}catch(e){return Sr.slice()}}(e):xr(_r(e))};var jr={},Pr=Ie;jr.f=Pr;var Tr=P,Lr=_e,Mr=jr,Cr=it.f,Nr=it.f,Ar=_e,Rr=Ie("toStringTag"),Ir=function(e,t,n){e&&!Ar(e=n?e:e.prototype,Rr)&&Nr(e,Rr,{configurable:!0,value:t})},Dr=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Hr=Dr,Fr=function(e,t,n){if(Hr(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},zr=Y,Br=nr,Vr=Ie("species"),$r=function(e){var t;return Br(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!Br(t.prototype)?zr(t)&&null===(t=t[Vr])&&(t=void 0):t=void 0),void 0===t?Array:t},Gr=function(e,t){return new($r(e))(0===t?0:t)},Ur=Fr,Wr=$,qr=we,Yr=an,Kr=Gr,Xr=[].push,Zr=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,c=5==e||i;return function(l,u,s,f){for(var d,p,h=qr(l),v=Wr(h),y=Ur(u,s,3),m=Yr(v.length),g=0,b=f||Kr,w=t?b(l,m):n||a?b(l,0):void 0;m>g;g++)if((c||g in v)&&(p=y(d=v[g],g,h),e))if(t)w[g]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return g;case 2:Xr.call(w,d)}else switch(e){case 4:return!1;case 7:Xr.call(w,d)}return i?-1:r||o?o:w}},Jr={forEach:Zr(0),map:Zr(1),filter:Zr(2),some:Zr(3),every:Zr(4),find:Zr(5),findIndex:Zr(6),filterReject:Zr(7)},Qr=Yn,eo=P,to=Z,no=M,ro=le,oo=L,io=_e,ao=nr,co=Y,lo=fe,uo=ct,so=we,fo=q,po=Ge,ho=or,vo=H,yo=Or,mo=Zn,go=Qt,bo=Er,wo=xn,Oo=T,Eo=it,_o=C,xo=vt,ko=yt.exports,So=pe.exports,jo=Lt,Po=Se,To=Ie,Lo=jr,Mo=function(e){var t=Tr.Symbol||(Tr.Symbol={});Lr(t,e)||Cr(t,e,{value:Mr.f(e)})},Co=Ir,No=Gt,Ao=Jr.forEach,Ro=Tt("hidden"),Io=To("toPrimitive"),Do=No.set,Ho=No.getterFor("Symbol"),Fo=Object.prototype,zo=eo.Symbol,Bo=to("JSON","stringify"),Vo=Oo.f,$o=Eo.f,Go=bo.f,Uo=_o.f,Wo=So("symbols"),qo=So("op-symbols"),Yo=So("string-to-symbol-registry"),Ko=So("symbol-to-string-registry"),Xo=So("wks"),Zo=eo.QObject,Jo=!Zo||!Zo.prototype||!Zo.prototype.findChild,Qo=no&&oo((function(){return 7!=yo($o({},"a",{get:function(){return $o(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Vo(Fo,t);r&&delete Fo[t],$o(e,t,n),r&&e!==Fo&&$o(Fo,t,r)}:$o,ei=function(e,t){var n=Wo[e]=yo(zo.prototype);return Do(n,{type:"Symbol",tag:e,description:t}),no||(n.description=t),n},ti=function(e,t,n){e===Fo&&ti(qo,t,n),uo(e);var r=po(t);return uo(n),io(Wo,r)?(n.enumerable?(io(e,Ro)&&e[Ro][r]&&(e[Ro][r]=!1),n=yo(n,{enumerable:vo(0,!1)})):(io(e,Ro)||$o(e,Ro,vo(1,{})),e[Ro][r]=!0),Qo(e,r,n)):$o(e,r,n)},ni=function(e,t){uo(e);var n=fo(t),r=mo(n).concat(ai(n));return Ao(r,(function(t){no&&!ri.call(n,t)||ti(e,t,n[t])})),e},ri=function(e){var t=po(e),n=Uo.call(this,t);return!(this===Fo&&io(Wo,t)&&!io(qo,t))&&(!(n||!io(this,t)||!io(Wo,t)||io(this,Ro)&&this[Ro][t])||n)},oi=function(e,t){var n=fo(e),r=po(t);if(n!==Fo||!io(Wo,r)||io(qo,r)){var o=Vo(n,r);return!o||!io(Wo,r)||io(n,Ro)&&n[Ro][r]||(o.enumerable=!0),o}},ii=function(e){var t=Go(fo(e)),n=[];return Ao(t,(function(e){io(Wo,e)||io(jo,e)||n.push(e)})),n},ai=function(e){var t=e===Fo,n=Go(t?qo:fo(e)),r=[];return Ao(n,(function(e){!io(Wo,e)||t&&!io(Fo,e)||r.push(Wo[e])})),r};(ro||(ko((zo=function(){if(this instanceof zo)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?ho(arguments[0]):void 0,t=Po(e),n=function(e){this===Fo&&n.call(qo,e),io(this,Ro)&&io(this[Ro],t)&&(this[Ro][t]=!1),Qo(this,t,vo(1,e))};return no&&Jo&&Qo(Fo,t,{configurable:!0,set:n}),ei(t,e)}).prototype,"toString",(function(){return Ho(this).tag})),ko(zo,"withoutSetter",(function(e){return ei(Po(e),e)})),_o.f=ri,Eo.f=ti,Oo.f=oi,go.f=bo.f=ii,wo.f=ai,Lo.f=function(e){return ei(To(e),e)},no&&($o(zo.prototype,"description",{configurable:!0,get:function(){return Ho(this).description}}),ko(Fo,"propertyIsEnumerable",ri,{unsafe:!0}))),Qr({global:!0,wrap:!0,forced:!ro,sham:!ro},{Symbol:zo}),Ao(mo(Xo),(function(e){Mo(e)})),Qr({target:"Symbol",stat:!0,forced:!ro},{for:function(e){var t=ho(e);if(io(Yo,t))return Yo[t];var n=zo(t);return Yo[t]=n,Ko[n]=t,n},keyFor:function(e){if(!lo(e))throw TypeError(e+" is not a symbol");if(io(Ko,e))return Ko[e]},useSetter:function(){Jo=!0},useSimple:function(){Jo=!1}}),Qr({target:"Object",stat:!0,forced:!ro,sham:!no},{create:function(e,t){return void 0===t?yo(e):ni(yo(e),t)},defineProperty:ti,defineProperties:ni,getOwnPropertyDescriptor:oi}),Qr({target:"Object",stat:!0,forced:!ro},{getOwnPropertyNames:ii,getOwnPropertySymbols:ai}),Qr({target:"Object",stat:!0,forced:oo((function(){wo.f(1)}))},{getOwnPropertySymbols:function(e){return wo.f(so(e))}}),Bo)&&Qr({target:"JSON",stat:!0,forced:!ro||oo((function(){var e=zo();return"[null]"!=Bo([e])||"{}"!=Bo({a:e})||"{}"!=Bo(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(co(t)||void 0!==e)&&!lo(e))return ao(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!lo(t))return t}),o[1]=t,Bo.apply(null,o)}});zo.prototype[Io]||xo(zo.prototype,Io,zo.prototype.valueOf),Co(zo,"Symbol"),jo[Ro]=!0;var ci=L,li=ie,ui=Ie("species"),si=function(e){return li>=51||!ci((function(){var t=[];return(t.constructor={})[ui]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},fi=Jr.filter;Yn({target:"Array",proto:!0,forced:!si("filter")},{filter:function(e){return fi(this,e,arguments.length>1?arguments[1]:void 0)}});var di=Yn,pi=L,hi=q,vi=T.f,yi=M,mi=pi((function(){vi(1)}));di({target:"Object",stat:!0,forced:!yi||mi,sham:!yi},{getOwnPropertyDescriptor:function(e,t){return vi(hi(e),t)}});var gi={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},bi=Ye("span").classList,wi=bi&&bi.constructor&&bi.constructor.prototype,Oi=wi===Object.prototype?void 0:wi,Ei=L,_i=function(e,t){var n=[][e];return!!n&&Ei((function(){n.call(null,t||function(){throw 1},1)}))},xi=Jr.forEach,ki=P,Si=gi,ji=Oi,Pi=_i("forEach")?[].forEach:function(e){return xi(this,e,arguments.length>1?arguments[1]:void 0)},Ti=vt,Li=function(e){if(e&&e.forEach!==Pi)try{Ti(e,"forEach",Pi)}catch(t){e.forEach=Pi}};for(var Mi in Si)Li(ki[Mi]&&ki[Mi].prototype);Li(ji);var Ci=Ge,Ni=it,Ai=H,Ri=function(e,t,n){var r=Ci(t);r in e?Ni.f(e,r,Ai(0,n)):e[r]=n},Ii=Pn,Di=q,Hi=T,Fi=Ri;Yn({target:"Object",stat:!0,sham:!M},{getOwnPropertyDescriptors:function(e){for(var t,n,r=Di(e),o=Hi.f,i=Ii(r),a={},c=0;i.length>c;)void 0!==(n=o(r,t=i[c++]))&&Fi(a,t,n);return a}});var zi=Dr,Bi=Y,Vi=[].slice,$i={},Gi=function(e,t,n){if(!(t in $i)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";$i[t]=Function("C,a","return new C("+r.join(",")+")")}return $i[t](e,n)},Ui=Function.bind||function(e){var t=zi(this),n=Vi.call(arguments,1),r=function(){var o=n.concat(Vi.call(arguments));return this instanceof r?Gi(t,o.length,o):t.apply(e,o)};return Bi(t.prototype)&&(r.prototype=t.prototype),r},Wi=Yn,qi=Dr,Yi=ct,Ki=Y,Xi=Or,Zi=Ui,Ji=L,Qi=Z("Reflect","construct"),ea=Ji((function(){function e(){}return!(Qi((function(){}),[],e)instanceof e)})),ta=!Ji((function(){Qi((function(){}))})),na=ea||ta;function ra(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aa(e,t,n){return t&&ia(e.prototype,t),n&&ia(e,n),e}function ca(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function la(e,t){return la=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},la(e,t)}function ua(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&la(e,t)}function sa(e){return sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sa(e)}function fa(e,t){if(t&&("object"===sa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ca(e)}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},da(e)}function pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(){return ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ha.apply(this,arguments)}Wi({target:"Reflect",stat:!0,forced:na,sham:na},{construct:function(e,t){qi(e),Yi(t);var n=arguments.length<3?e:qi(arguments[2]);if(ta&&!ea)return Qi(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(Zi.apply(e,r))}var o=n.prototype,i=Xi(Ki(o)?o:Object.prototype),a=Function.apply.call(e,i,t);return Ki(a)?a:i}});var va={exports:{}},ya={},ma="function"==typeof Symbol&&Symbol.for,ga=ma?Symbol.for("react.element"):60103,ba=ma?Symbol.for("react.portal"):60106,wa=ma?Symbol.for("react.fragment"):60107,Oa=ma?Symbol.for("react.strict_mode"):60108,Ea=ma?Symbol.for("react.profiler"):60114,_a=ma?Symbol.for("react.provider"):60109,xa=ma?Symbol.for("react.context"):60110,ka=ma?Symbol.for("react.async_mode"):60111,Sa=ma?Symbol.for("react.concurrent_mode"):60111,ja=ma?Symbol.for("react.forward_ref"):60112,Pa=ma?Symbol.for("react.suspense"):60113,Ta=ma?Symbol.for("react.suspense_list"):60120,La=ma?Symbol.for("react.memo"):60115,Ma=ma?Symbol.for("react.lazy"):60116,Ca=ma?Symbol.for("react.block"):60121,Na=ma?Symbol.for("react.fundamental"):60117,Aa=ma?Symbol.for("react.responder"):60118,Ra=ma?Symbol.for("react.scope"):60119;function Ia(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ga:switch(e=e.type){case ka:case Sa:case wa:case Ea:case Oa:case Pa:return e;default:switch(e=e&&e.$$typeof){case xa:case ja:case Ma:case La:case _a:return e;default:return t}}case ba:return t}}}function Da(e){return Ia(e)===Sa}ya.AsyncMode=ka,ya.ConcurrentMode=Sa,ya.ContextConsumer=xa,ya.ContextProvider=_a,ya.Element=ga,ya.ForwardRef=ja,ya.Fragment=wa,ya.Lazy=Ma,ya.Memo=La,ya.Portal=ba,ya.Profiler=Ea,ya.StrictMode=Oa,ya.Suspense=Pa,ya.isAsyncMode=function(e){return Da(e)||Ia(e)===ka},ya.isConcurrentMode=Da,ya.isContextConsumer=function(e){return Ia(e)===xa},ya.isContextProvider=function(e){return Ia(e)===_a},ya.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ga},ya.isForwardRef=function(e){return Ia(e)===ja},ya.isFragment=function(e){return Ia(e)===wa},ya.isLazy=function(e){return Ia(e)===Ma},ya.isMemo=function(e){return Ia(e)===La},ya.isPortal=function(e){return Ia(e)===ba},ya.isProfiler=function(e){return Ia(e)===Ea},ya.isStrictMode=function(e){return Ia(e)===Oa},ya.isSuspense=function(e){return Ia(e)===Pa},ya.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===wa||e===Sa||e===Ea||e===Oa||e===Pa||e===Ta||"object"==typeof e&&null!==e&&(e.$$typeof===Ma||e.$$typeof===La||e.$$typeof===_a||e.$$typeof===xa||e.$$typeof===ja||e.$$typeof===Na||e.$$typeof===Aa||e.$$typeof===Ra||e.$$typeof===Ca)},ya.typeOf=Ia;
1
+ import e from"react";import t from"react-dom";var n="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function r(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}var i=r,a=o;function c(e){if(i===setTimeout)return setTimeout(e,0);if((i===r||!i)&&setTimeout)return i=setTimeout,setTimeout(e,0);try{return i(e,0)}catch(t){try{return i.call(null,e,0)}catch(t){return i.call(this,e,0)}}}"function"==typeof n.setTimeout&&(i=setTimeout),"function"==typeof n.clearTimeout&&(a=clearTimeout);var l,u=[],s=!1,f=-1;function d(){s&&l&&(s=!1,l.length?u=l.concat(u):f=-1,u.length&&p())}function p(){if(!s){var e=c(d);s=!0;for(var t=u.length;t;){for(l=u,u=[];++f<t;)l&&l[f].run();f=-1,t=u.length}l=null,s=!1,function(e){if(a===clearTimeout)return clearTimeout(e);if((a===o||!a)&&clearTimeout)return a=clearTimeout,clearTimeout(e);try{a(e)}catch(t){try{return a.call(null,e)}catch(t){return a.call(this,e)}}}(e)}}function h(e,t){this.fun=e,this.array=t}h.prototype.run=function(){this.fun.apply(null,this.array)};function v(){}var y=v,m=v,g=v,b=v,w=v,O=v,E=v;var _=n.performance||{},x=_.now||_.mozNow||_.msNow||_.oNow||_.webkitNow||function(){return(new Date).getTime()};var k=new Date;var S={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];u.push(new h(e,t)),1!==u.length||s||c(p)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:y,addListener:m,once:g,off:b,removeListener:w,removeAllListeners:O,emit:E,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*x.call(_),n=Math.floor(t),r=Math.floor(t%1*1e9);return e&&(n-=e[0],(r-=e[1])<0&&(n--,r+=1e9)),[n,r]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-k)/1e3}},j=function(e){return e&&e.Math==Math&&e},P=j("object"==typeof globalThis&&globalThis)||j("object"==typeof window&&window)||j("object"==typeof self&&self)||j("object"==typeof P&&P)||function(){return this}()||Function("return this")(),T={},L=function(e){try{return!!e()}catch(e){return!0}},M=!L((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]})),A={},C={}.propertyIsEnumerable,N=Object.getOwnPropertyDescriptor,R=N&&!C.call({1:2},1);A.f=R?function(e){var t=N(this,e);return!!t&&t.enumerable}:C;var I,D,H=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}},F={}.toString,z=function(e){return F.call(e).slice(8,-1)},B=z,V="".split,$=L((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==B(e)?V.call(e,""):Object(e)}:Object,G=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e},U=$,W=G,q=function(e){return U(W(e))},Y=function(e){return"object"==typeof e?null!==e:"function"==typeof e},K=P,X=function(e){return"function"==typeof e?e:void 0},Z=function(e,t){return arguments.length<2?X(K[e]):K[e]&&K[e][t]},J=Z("navigator","userAgent")||"",Q=P,ee=J,te=Q.process,ne=Q.Deno,re=te&&te.versions||ne&&ne.version,oe=re&&re.v8;oe?D=(I=oe.split("."))[0]<4?1:I[0]+I[1]:ee&&(!(I=ee.match(/Edge\/(\d+)/))||I[1]>=74)&&(I=ee.match(/Chrome\/(\d+)/))&&(D=I[1]);var ie=D&&+D,ae=ie,ce=L,le=!!Object.getOwnPropertySymbols&&!ce((function(){var e=Symbol();return!String(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&ae&&ae<41})),ue=le&&!Symbol.sham&&"symbol"==typeof Symbol.iterator,se=Z,fe=ue?function(e){return"symbol"==typeof e}:function(e){var t=se("Symbol");return"function"==typeof t&&Object(e)instanceof t},de=Y,pe={exports:{}},he=P,ve=function(e,t){try{Object.defineProperty(he,e,{value:t,configurable:!0,writable:!0})}catch(n){he[e]=t}return t},ye=ve,me=P["__core-js_shared__"]||ye("__core-js_shared__",{}),ge=me;(pe.exports=function(e,t){return ge[e]||(ge[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.17.3",mode:"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"});var be=G,we=function(e){return Object(be(e))},Oe=we,Ee={}.hasOwnProperty,_e=Object.hasOwn||function(e,t){return Ee.call(Oe(e),t)},xe=0,ke=Math.random(),Se=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++xe+ke).toString(36)},je=P,Pe=pe.exports,Te=_e,Le=Se,Me=le,Ae=ue,Ce=Pe("wks"),Ne=je.Symbol,Re=Ae?Ne:Ne&&Ne.withoutSetter||Le,Ie=function(e){return Te(Ce,e)&&(Me||"string"==typeof Ce[e])||(Me&&Te(Ne,e)?Ce[e]=Ne[e]:Ce[e]=Re("Symbol."+e)),Ce[e]},De=Y,He=fe,Fe=function(e,t){var n,r;if("string"===t&&"function"==typeof(n=e.toString)&&!de(r=n.call(e)))return r;if("function"==typeof(n=e.valueOf)&&!de(r=n.call(e)))return r;if("string"!==t&&"function"==typeof(n=e.toString)&&!de(r=n.call(e)))return r;throw TypeError("Can't convert object to primitive value")},ze=Ie("toPrimitive"),Be=function(e,t){if(!De(e)||He(e))return e;var n,r=e[ze];if(void 0!==r){if(void 0===t&&(t="default"),n=r.call(e,t),!De(n)||He(n))return n;throw TypeError("Can't convert object to primitive value")}return void 0===t&&(t="number"),Fe(e,t)},Ve=Be,$e=fe,Ge=function(e){var t=Ve(e,"string");return $e(t)?t:String(t)},Ue=Y,We=P.document,qe=Ue(We)&&Ue(We.createElement),Ye=function(e){return qe?We.createElement(e):{}},Ke=Ye,Xe=!M&&!L((function(){return 7!=Object.defineProperty(Ke("div"),"a",{get:function(){return 7}}).a})),Ze=M,Je=A,Qe=H,et=q,tt=Ge,nt=_e,rt=Xe,ot=Object.getOwnPropertyDescriptor;T.f=Ze?ot:function(e,t){if(e=et(e),t=tt(t),rt)try{return ot(e,t)}catch(e){}if(nt(e,t))return Qe(!Je.f.call(e,t),e[t])};var it={},at=Y,ct=function(e){if(!at(e))throw TypeError(String(e)+" is not an object");return e},lt=M,ut=Xe,st=ct,ft=Ge,dt=Object.defineProperty;it.f=lt?dt:function(e,t,n){if(st(e),t=ft(t),st(n),ut)try{return dt(e,t,n)}catch(e){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(e[t]=n.value),e};var pt=it,ht=H,vt=M?function(e,t,n){return pt.f(e,t,ht(1,n))}:function(e,t,n){return e[t]=n,e},yt={exports:{}},mt=me,gt=Function.toString;"function"!=typeof mt.inspectSource&&(mt.inspectSource=function(e){return gt.call(e)});var bt,wt,Ot,Et=mt.inspectSource,_t=Et,xt=P.WeakMap,kt="function"==typeof xt&&/native code/.test(_t(xt)),St=pe.exports,jt=Se,Pt=St("keys"),Tt=function(e){return Pt[e]||(Pt[e]=jt(e))},Lt={},Mt=kt,At=Y,Ct=vt,Nt=_e,Rt=me,It=Tt,Dt=Lt,Ht=P.WeakMap;if(Mt||Rt.state){var Ft=Rt.state||(Rt.state=new Ht),zt=Ft.get,Bt=Ft.has,Vt=Ft.set;bt=function(e,t){if(Bt.call(Ft,e))throw new TypeError("Object already initialized");return t.facade=e,Vt.call(Ft,e,t),t},wt=function(e){return zt.call(Ft,e)||{}},Ot=function(e){return Bt.call(Ft,e)}}else{var $t=It("state");Dt[$t]=!0,bt=function(e,t){if(Nt(e,$t))throw new TypeError("Object already initialized");return t.facade=e,Ct(e,$t,t),t},wt=function(e){return Nt(e,$t)?e[$t]:{}},Ot=function(e){return Nt(e,$t)}}var Gt={set:bt,get:wt,has:Ot,enforce:function(e){return Ot(e)?wt(e):bt(e,{})},getterFor:function(e){return function(t){var n;if(!At(t)||(n=wt(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return n}}},Ut=P,Wt=vt,qt=_e,Yt=ve,Kt=Et,Xt=Gt.get,Zt=Gt.enforce,Jt=String(String).split("String");(yt.exports=function(e,t,n,r){var o,i=!!r&&!!r.unsafe,a=!!r&&!!r.enumerable,c=!!r&&!!r.noTargetGet;"function"==typeof n&&("string"!=typeof t||qt(n,"name")||Wt(n,"name",t),(o=Zt(n)).source||(o.source=Jt.join("string"==typeof t?t:""))),e!==Ut?(i?!c&&e[t]&&(a=!0):delete e[t],a?e[t]=n:Wt(e,t,n)):a?e[t]=n:Yt(t,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&Xt(this).source||Kt(this)}));var Qt={},en=Math.ceil,tn=Math.floor,nn=function(e){return isNaN(e=+e)?0:(e>0?tn:en)(e)},rn=nn,on=Math.min,an=function(e){return e>0?on(rn(e),9007199254740991):0},cn=nn,ln=Math.max,un=Math.min,sn=function(e,t){var n=cn(e);return n<0?ln(n+t,0):un(n,t)},fn=q,dn=an,pn=sn,hn=function(e){return function(t,n,r){var o,i=fn(t),a=dn(i.length),c=pn(r,a);if(e&&n!=n){for(;a>c;)if((o=i[c++])!=o)return!0}else for(;a>c;c++)if((e||c in i)&&i[c]===n)return e||c||0;return!e&&-1}},vn={includes:hn(!0),indexOf:hn(!1)},yn=_e,mn=q,gn=vn.indexOf,bn=Lt,wn=function(e,t){var n,r=mn(e),o=0,i=[];for(n in r)!yn(bn,n)&&yn(r,n)&&i.push(n);for(;t.length>o;)yn(r,n=t[o++])&&(~gn(i,n)||i.push(n));return i},On=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"],En=wn,_n=On.concat("length","prototype");Qt.f=Object.getOwnPropertyNames||function(e){return En(e,_n)};var xn={};xn.f=Object.getOwnPropertySymbols;var kn=Qt,Sn=xn,jn=ct,Pn=Z("Reflect","ownKeys")||function(e){var t=kn.f(jn(e)),n=Sn.f;return n?t.concat(n(e)):t},Tn=_e,Ln=Pn,Mn=T,An=it,Cn=L,Nn=/#|\.prototype\./,Rn=function(e,t){var n=Dn[In(e)];return n==Fn||n!=Hn&&("function"==typeof t?Cn(t):!!t)},In=Rn.normalize=function(e){return String(e).replace(Nn,".").toLowerCase()},Dn=Rn.data={},Hn=Rn.NATIVE="N",Fn=Rn.POLYFILL="P",zn=Rn,Bn=P,Vn=T.f,$n=vt,Gn=yt.exports,Un=ve,Wn=function(e,t){for(var n=Ln(t),r=An.f,o=Mn.f,i=0;i<n.length;i++){var a=n[i];Tn(e,a)||r(e,a,o(t,a))}},qn=zn,Yn=function(e,t){var n,r,o,i,a,c=e.target,l=e.global,u=e.stat;if(n=l?Bn:u?Bn[c]||Un(c,{}):(Bn[c]||{}).prototype)for(r in t){if(i=t[r],o=e.noTargetGet?(a=Vn(n,r))&&a.value:n[r],!qn(l?r:c+(u?".":"#")+r,e.forced)&&void 0!==o){if(typeof i==typeof o)continue;Wn(i,o)}(e.sham||o&&o.sham)&&$n(i,"sham",!0),Gn(n,r,i,e)}},Kn=wn,Xn=On,Zn=Object.keys||function(e){return Kn(e,Xn)},Jn=we,Qn=Zn;Yn({target:"Object",stat:!0,forced:L((function(){Qn(1)}))},{keys:function(e){return Qn(Jn(e))}});var er,tr=z,nr=Array.isArray||function(e){return"Array"==tr(e)},rr=fe,or=function(e){if(rr(e))throw TypeError("Cannot convert a Symbol value to a string");return String(e)},ir=it,ar=ct,cr=Zn,lr=M?Object.defineProperties:function(e,t){ar(e);for(var n,r=cr(t),o=r.length,i=0;o>i;)ir.f(e,n=r[i++],t[n]);return e},ur=Z("document","documentElement"),sr=ct,fr=lr,dr=On,pr=Lt,hr=ur,vr=Ye,yr=Tt("IE_PROTO"),mr=function(){},gr=function(e){return"<script>"+e+"<\/script>"},br=function(e){e.write(gr("")),e.close();var t=e.parentWindow.Object;return e=null,t},wr=function(){try{er=new ActiveXObject("htmlfile")}catch(e){}var e,t;wr="undefined"!=typeof document?document.domain&&er?br(er):((t=vr("iframe")).style.display="none",hr.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(gr("document.F=Object")),e.close(),e.F):br(er);for(var n=dr.length;n--;)delete wr.prototype[dr[n]];return wr()};pr[yr]=!0;var Or=Object.create||function(e,t){var n;return null!==e?(mr.prototype=sr(e),n=new mr,mr.prototype=null,n[yr]=e):n=wr(),void 0===t?n:fr(n,t)},Er={},_r=q,xr=Qt.f,kr={}.toString,Sr="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];Er.f=function(e){return Sr&&"[object Window]"==kr.call(e)?function(e){try{return xr(e)}catch(e){return Sr.slice()}}(e):xr(_r(e))};var jr={},Pr=Ie;jr.f=Pr;var Tr=P,Lr=_e,Mr=jr,Ar=it.f,Cr=it.f,Nr=_e,Rr=Ie("toStringTag"),Ir=function(e,t,n){e&&!Nr(e=n?e:e.prototype,Rr)&&Cr(e,Rr,{configurable:!0,value:t})},Dr=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e},Hr=Dr,Fr=function(e,t,n){if(Hr(e),void 0===t)return e;switch(n){case 0:return function(){return e.call(t)};case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,o){return e.call(t,n,r,o)}}return function(){return e.apply(t,arguments)}},zr=Y,Br=nr,Vr=Ie("species"),$r=function(e){var t;return Br(e)&&("function"!=typeof(t=e.constructor)||t!==Array&&!Br(t.prototype)?zr(t)&&null===(t=t[Vr])&&(t=void 0):t=void 0),void 0===t?Array:t},Gr=function(e,t){return new($r(e))(0===t?0:t)},Ur=Fr,Wr=$,qr=we,Yr=an,Kr=Gr,Xr=[].push,Zr=function(e){var t=1==e,n=2==e,r=3==e,o=4==e,i=6==e,a=7==e,c=5==e||i;return function(l,u,s,f){for(var d,p,h=qr(l),v=Wr(h),y=Ur(u,s,3),m=Yr(v.length),g=0,b=f||Kr,w=t?b(l,m):n||a?b(l,0):void 0;m>g;g++)if((c||g in v)&&(p=y(d=v[g],g,h),e))if(t)w[g]=p;else if(p)switch(e){case 3:return!0;case 5:return d;case 6:return g;case 2:Xr.call(w,d)}else switch(e){case 4:return!1;case 7:Xr.call(w,d)}return i?-1:r||o?o:w}},Jr={forEach:Zr(0),map:Zr(1),filter:Zr(2),some:Zr(3),every:Zr(4),find:Zr(5),findIndex:Zr(6),filterReject:Zr(7)},Qr=Yn,eo=P,to=Z,no=M,ro=le,oo=L,io=_e,ao=nr,co=Y,lo=fe,uo=ct,so=we,fo=q,po=Ge,ho=or,vo=H,yo=Or,mo=Zn,go=Qt,bo=Er,wo=xn,Oo=T,Eo=it,_o=A,xo=vt,ko=yt.exports,So=pe.exports,jo=Lt,Po=Se,To=Ie,Lo=jr,Mo=function(e){var t=Tr.Symbol||(Tr.Symbol={});Lr(t,e)||Ar(t,e,{value:Mr.f(e)})},Ao=Ir,Co=Gt,No=Jr.forEach,Ro=Tt("hidden"),Io=To("toPrimitive"),Do=Co.set,Ho=Co.getterFor("Symbol"),Fo=Object.prototype,zo=eo.Symbol,Bo=to("JSON","stringify"),Vo=Oo.f,$o=Eo.f,Go=bo.f,Uo=_o.f,Wo=So("symbols"),qo=So("op-symbols"),Yo=So("string-to-symbol-registry"),Ko=So("symbol-to-string-registry"),Xo=So("wks"),Zo=eo.QObject,Jo=!Zo||!Zo.prototype||!Zo.prototype.findChild,Qo=no&&oo((function(){return 7!=yo($o({},"a",{get:function(){return $o(this,"a",{value:7}).a}})).a}))?function(e,t,n){var r=Vo(Fo,t);r&&delete Fo[t],$o(e,t,n),r&&e!==Fo&&$o(Fo,t,r)}:$o,ei=function(e,t){var n=Wo[e]=yo(zo.prototype);return Do(n,{type:"Symbol",tag:e,description:t}),no||(n.description=t),n},ti=function(e,t,n){e===Fo&&ti(qo,t,n),uo(e);var r=po(t);return uo(n),io(Wo,r)?(n.enumerable?(io(e,Ro)&&e[Ro][r]&&(e[Ro][r]=!1),n=yo(n,{enumerable:vo(0,!1)})):(io(e,Ro)||$o(e,Ro,vo(1,{})),e[Ro][r]=!0),Qo(e,r,n)):$o(e,r,n)},ni=function(e,t){uo(e);var n=fo(t),r=mo(n).concat(ai(n));return No(r,(function(t){no&&!ri.call(n,t)||ti(e,t,n[t])})),e},ri=function(e){var t=po(e),n=Uo.call(this,t);return!(this===Fo&&io(Wo,t)&&!io(qo,t))&&(!(n||!io(this,t)||!io(Wo,t)||io(this,Ro)&&this[Ro][t])||n)},oi=function(e,t){var n=fo(e),r=po(t);if(n!==Fo||!io(Wo,r)||io(qo,r)){var o=Vo(n,r);return!o||!io(Wo,r)||io(n,Ro)&&n[Ro][r]||(o.enumerable=!0),o}},ii=function(e){var t=Go(fo(e)),n=[];return No(t,(function(e){io(Wo,e)||io(jo,e)||n.push(e)})),n},ai=function(e){var t=e===Fo,n=Go(t?qo:fo(e)),r=[];return No(n,(function(e){!io(Wo,e)||t&&!io(Fo,e)||r.push(Wo[e])})),r};(ro||(ko((zo=function(){if(this instanceof zo)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?ho(arguments[0]):void 0,t=Po(e),n=function(e){this===Fo&&n.call(qo,e),io(this,Ro)&&io(this[Ro],t)&&(this[Ro][t]=!1),Qo(this,t,vo(1,e))};return no&&Jo&&Qo(Fo,t,{configurable:!0,set:n}),ei(t,e)}).prototype,"toString",(function(){return Ho(this).tag})),ko(zo,"withoutSetter",(function(e){return ei(Po(e),e)})),_o.f=ri,Eo.f=ti,Oo.f=oi,go.f=bo.f=ii,wo.f=ai,Lo.f=function(e){return ei(To(e),e)},no&&($o(zo.prototype,"description",{configurable:!0,get:function(){return Ho(this).description}}),ko(Fo,"propertyIsEnumerable",ri,{unsafe:!0}))),Qr({global:!0,wrap:!0,forced:!ro,sham:!ro},{Symbol:zo}),No(mo(Xo),(function(e){Mo(e)})),Qr({target:"Symbol",stat:!0,forced:!ro},{for:function(e){var t=ho(e);if(io(Yo,t))return Yo[t];var n=zo(t);return Yo[t]=n,Ko[n]=t,n},keyFor:function(e){if(!lo(e))throw TypeError(e+" is not a symbol");if(io(Ko,e))return Ko[e]},useSetter:function(){Jo=!0},useSimple:function(){Jo=!1}}),Qr({target:"Object",stat:!0,forced:!ro,sham:!no},{create:function(e,t){return void 0===t?yo(e):ni(yo(e),t)},defineProperty:ti,defineProperties:ni,getOwnPropertyDescriptor:oi}),Qr({target:"Object",stat:!0,forced:!ro},{getOwnPropertyNames:ii,getOwnPropertySymbols:ai}),Qr({target:"Object",stat:!0,forced:oo((function(){wo.f(1)}))},{getOwnPropertySymbols:function(e){return wo.f(so(e))}}),Bo)&&Qr({target:"JSON",stat:!0,forced:!ro||oo((function(){var e=zo();return"[null]"!=Bo([e])||"{}"!=Bo({a:e})||"{}"!=Bo(Object(e))}))},{stringify:function(e,t,n){for(var r,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(r=t,(co(t)||void 0!==e)&&!lo(e))return ao(t)||(t=function(e,t){if("function"==typeof r&&(t=r.call(this,e,t)),!lo(t))return t}),o[1]=t,Bo.apply(null,o)}});zo.prototype[Io]||xo(zo.prototype,Io,zo.prototype.valueOf),Ao(zo,"Symbol"),jo[Ro]=!0;var ci=L,li=ie,ui=Ie("species"),si=function(e){return li>=51||!ci((function(){var t=[];return(t.constructor={})[ui]=function(){return{foo:1}},1!==t[e](Boolean).foo}))},fi=Jr.filter;Yn({target:"Array",proto:!0,forced:!si("filter")},{filter:function(e){return fi(this,e,arguments.length>1?arguments[1]:void 0)}});var di=Yn,pi=L,hi=q,vi=T.f,yi=M,mi=pi((function(){vi(1)}));di({target:"Object",stat:!0,forced:!yi||mi,sham:!yi},{getOwnPropertyDescriptor:function(e,t){return vi(hi(e),t)}});var gi={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},bi=Ye("span").classList,wi=bi&&bi.constructor&&bi.constructor.prototype,Oi=wi===Object.prototype?void 0:wi,Ei=L,_i=function(e,t){var n=[][e];return!!n&&Ei((function(){n.call(null,t||function(){throw 1},1)}))},xi=Jr.forEach,ki=P,Si=gi,ji=Oi,Pi=_i("forEach")?[].forEach:function(e){return xi(this,e,arguments.length>1?arguments[1]:void 0)},Ti=vt,Li=function(e){if(e&&e.forEach!==Pi)try{Ti(e,"forEach",Pi)}catch(t){e.forEach=Pi}};for(var Mi in Si)Li(ki[Mi]&&ki[Mi].prototype);Li(ji);var Ai=Ge,Ci=it,Ni=H,Ri=function(e,t,n){var r=Ai(t);r in e?Ci.f(e,r,Ni(0,n)):e[r]=n},Ii=Pn,Di=q,Hi=T,Fi=Ri;Yn({target:"Object",stat:!0,sham:!M},{getOwnPropertyDescriptors:function(e){for(var t,n,r=Di(e),o=Hi.f,i=Ii(r),a={},c=0;i.length>c;)void 0!==(n=o(r,t=i[c++]))&&Fi(a,t,n);return a}});var zi=Dr,Bi=Y,Vi=[].slice,$i={},Gi=function(e,t,n){if(!(t in $i)){for(var r=[],o=0;o<t;o++)r[o]="a["+o+"]";$i[t]=Function("C,a","return new C("+r.join(",")+")")}return $i[t](e,n)},Ui=Function.bind||function(e){var t=zi(this),n=Vi.call(arguments,1),r=function(){var o=n.concat(Vi.call(arguments));return this instanceof r?Gi(t,o.length,o):t.apply(e,o)};return Bi(t.prototype)&&(r.prototype=t.prototype),r},Wi=Yn,qi=Dr,Yi=ct,Ki=Y,Xi=Or,Zi=Ui,Ji=L,Qi=Z("Reflect","construct"),ea=Ji((function(){function e(){}return!(Qi((function(){}),[],e)instanceof e)})),ta=!Ji((function(){Qi((function(){}))})),na=ea||ta;function ra(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function oa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function ia(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function aa(e,t,n){return t&&ia(e.prototype,t),n&&ia(e,n),e}function ca(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function la(e,t){return la=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},la(e,t)}function ua(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&la(e,t)}function sa(e){return sa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},sa(e)}function fa(e,t){if(t&&("object"===sa(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return ca(e)}function da(e){return da=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},da(e)}function pa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ha(){return ha=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ha.apply(this,arguments)}Wi({target:"Reflect",stat:!0,forced:na,sham:na},{construct:function(e,t){qi(e),Yi(t);var n=arguments.length<3?e:qi(arguments[2]);if(ta&&!ea)return Qi(e,t,n);if(e==n){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var r=[null];return r.push.apply(r,t),new(Zi.apply(e,r))}var o=n.prototype,i=Xi(Ki(o)?o:Object.prototype),a=Function.apply.call(e,i,t);return Ki(a)?a:i}});var va={exports:{}},ya={},ma="function"==typeof Symbol&&Symbol.for,ga=ma?Symbol.for("react.element"):60103,ba=ma?Symbol.for("react.portal"):60106,wa=ma?Symbol.for("react.fragment"):60107,Oa=ma?Symbol.for("react.strict_mode"):60108,Ea=ma?Symbol.for("react.profiler"):60114,_a=ma?Symbol.for("react.provider"):60109,xa=ma?Symbol.for("react.context"):60110,ka=ma?Symbol.for("react.async_mode"):60111,Sa=ma?Symbol.for("react.concurrent_mode"):60111,ja=ma?Symbol.for("react.forward_ref"):60112,Pa=ma?Symbol.for("react.suspense"):60113,Ta=ma?Symbol.for("react.suspense_list"):60120,La=ma?Symbol.for("react.memo"):60115,Ma=ma?Symbol.for("react.lazy"):60116,Aa=ma?Symbol.for("react.block"):60121,Ca=ma?Symbol.for("react.fundamental"):60117,Na=ma?Symbol.for("react.responder"):60118,Ra=ma?Symbol.for("react.scope"):60119;function Ia(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case ga:switch(e=e.type){case ka:case Sa:case wa:case Ea:case Oa:case Pa:return e;default:switch(e=e&&e.$$typeof){case xa:case ja:case Ma:case La:case _a:return e;default:return t}}case ba:return t}}}function Da(e){return Ia(e)===Sa}ya.AsyncMode=ka,ya.ConcurrentMode=Sa,ya.ContextConsumer=xa,ya.ContextProvider=_a,ya.Element=ga,ya.ForwardRef=ja,ya.Fragment=wa,ya.Lazy=Ma,ya.Memo=La,ya.Portal=ba,ya.Profiler=Ea,ya.StrictMode=Oa,ya.Suspense=Pa,ya.isAsyncMode=function(e){return Da(e)||Ia(e)===ka},ya.isConcurrentMode=Da,ya.isContextConsumer=function(e){return Ia(e)===xa},ya.isContextProvider=function(e){return Ia(e)===_a},ya.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===ga},ya.isForwardRef=function(e){return Ia(e)===ja},ya.isFragment=function(e){return Ia(e)===wa},ya.isLazy=function(e){return Ia(e)===Ma},ya.isMemo=function(e){return Ia(e)===La},ya.isPortal=function(e){return Ia(e)===ba},ya.isProfiler=function(e){return Ia(e)===Ea},ya.isStrictMode=function(e){return Ia(e)===Oa},ya.isSuspense=function(e){return Ia(e)===Pa},ya.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===wa||e===Sa||e===Ea||e===Oa||e===Pa||e===Ta||"object"==typeof e&&null!==e&&(e.$$typeof===Ma||e.$$typeof===La||e.$$typeof===_a||e.$$typeof===xa||e.$$typeof===ja||e.$$typeof===Ca||e.$$typeof===Na||e.$$typeof===Ra||e.$$typeof===Aa)},ya.typeOf=Ia;
2
2
  /*
3
3
  object-assign
4
4
  (c) Sindre Sorhus
@@ -10,8 +10,8 @@ Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.pr
10
10
  Licensed under the MIT License (MIT), see
11
11
  http://jedwatson.github.io/classnames
12
12
  */
13
- za=Va,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)n.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&n.push(a)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var c in o)e.call(o,c)&&o[c]&&n.push(c);else n.push(o.toString())}}return n.join(" ")}za.exports?(t.default=t,za.exports=t):window.classNames=t}();var $a=Va.exports;function Ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ua(e,t){if(e){if("string"==typeof e)return Ga(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ga(e,t):void 0}}function Wa(e){return function(e){if(Array.isArray(e))return Ga(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ua(e)||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 qa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||Ua(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ya=ct,Ka=function(){var e=Ya(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Xa={},Za=L,Ja=P.RegExp;Xa.UNSUPPORTED_Y=Za((function(){var e=Ja("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Xa.BROKEN_CARET=Za((function(){var e=Ja("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var Qa=L,ec=P.RegExp,tc=Qa((function(){var e=ec(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),nc=L,rc=P.RegExp,oc=nc((function(){var e=rc("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),ic=or,ac=Ka,cc=Xa,lc=pe.exports,uc=Or,sc=Gt.get,fc=tc,dc=oc,pc=RegExp.prototype.exec,hc=lc("native-string-replace",String.prototype.replace),vc=pc,yc=function(){var e=/a/,t=/b*/g;return pc.call(e,"a"),pc.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),mc=cc.UNSUPPORTED_Y||cc.BROKEN_CARET,gc=void 0!==/()??/.exec("")[1];(yc||gc||mc||fc||dc)&&(vc=function(e){var t,n,r,o,i,a,c,l=this,u=sc(l),s=ic(e),f=u.raw;if(f)return f.lastIndex=l.lastIndex,t=vc.call(f,s),l.lastIndex=f.lastIndex,t;var d=u.groups,p=mc&&l.sticky,h=ac.call(l),v=l.source,y=0,m=s;if(p&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),m=s.slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==s.charAt(l.lastIndex-1))&&(v="(?: "+v+")",m=" "+m,y++),n=new RegExp("^(?:"+v+")",h)),gc&&(n=new RegExp("^"+v+"$(?!\\s)",h)),yc&&(r=l.lastIndex),o=pc.call(p?n:l,m),p?o?(o.input=o.input.slice(y),o[0]=o[0].slice(y),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:yc&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),gc&&o&&o.length>1&&hc.call(o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=uc(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var bc=vc;Yn({target:"RegExp",proto:!0,forced:/./.exec!==bc},{exec:bc});var wc=yt.exports,Oc=bc,Ec=L,_c=Ie,xc=vt,kc=_c("species"),Sc=RegExp.prototype,jc=function(e,t,n,r){var o=_c(e),i=!Ec((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Ec((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[kc]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var c=/./[o],l=t(o,""[e],(function(e,t,n,r,o){var a=t.exec;return a===Oc||a===Sc.exec?i&&!o?{done:!0,value:c.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));wc(String.prototype,e,l[0]),wc(Sc,o,l[1])}r&&xc(Sc[o],"sham",!0)},Pc=nn,Tc=or,Lc=G,Mc=function(e){return function(t,n){var r,o,i=Tc(Lc(t)),a=Pc(n),c=i.length;return a<0||a>=c?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Cc={codeAt:Mc(!1),charAt:Mc(!0)},Nc=Cc.charAt,Ac=function(e,t,n){return t+(n?Nc(e,t).length:1)},Rc=we,Ic=Math.floor,Dc="".replace,Hc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Fc=/\$([$&'`]|\d{1,2})/g,zc=z,Bc=bc,Vc=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==zc(e))throw TypeError("RegExp#exec called on incompatible receiver");return Bc.call(e,t)},$c=jc,Gc=L,Uc=ct,Wc=nn,qc=an,Yc=or,Kc=G,Xc=Ac,Zc=function(e,t,n,r,o,i){var a=n+e.length,c=r.length,l=Fc;return void 0!==o&&(o=Rc(o),l=Hc),Dc.call(i,l,(function(i,l){var u;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(a);case"<":u=o[l.slice(1,-1)];break;default:var s=+l;if(0===s)return i;if(s>c){var f=Ic(s/10);return 0===f?i:f<=c?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):i}u=r[s-1]}return void 0===u?"":u}))},Jc=Vc,Qc=Ie("replace"),el=Math.max,tl=Math.min,nl="$0"==="a".replace(/./,"$0"),rl=!!/./[Qc]&&""===/./[Qc]("a","$0");$c("replace",(function(e,t,n){var r=rl?"$":"$0";return[function(e,n){var r=Kc(this),o=null==e?void 0:e[Qc];return void 0!==o?o.call(e,r,n):t.call(Yc(r),e,n)},function(e,o){var i=Uc(this),a=Yc(e);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var c=n(t,i,a,o);if(c.done)return c.value}var l="function"==typeof o;l||(o=Yc(o));var u=i.global;if(u){var s=i.unicode;i.lastIndex=0}for(var f=[];;){var d=Jc(i,a);if(null===d)break;if(f.push(d),!u)break;""===Yc(d[0])&&(i.lastIndex=Xc(a,qc(i.lastIndex),s))}for(var p,h="",v=0,y=0;y<f.length;y++){d=f[y];for(var m=Yc(d[0]),g=el(tl(Wc(d.index),a.length),0),b=[],w=1;w<d.length;w++)b.push(void 0===(p=d[w])?p:String(p));var O=d.groups;if(l){var E=[m].concat(b,g,a);void 0!==O&&E.push(O);var _=Yc(o.apply(void 0,E))}else _=Zc(m,a,g,b,O,o);g>=v&&(h+=a.slice(v,g)+_,v=g+m.length)}return h+a.slice(v)}]}),!!Gc((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!nl||rl);var ol=Y,il=z,al=Ie("match"),cl=function(e){var t;return ol(e)&&(void 0!==(t=e[al])?!!t:"RegExp"==il(e))},ll=ct,ul=Dr,sl=Ie("species"),fl=function(e,t){var n,r=ll(e).constructor;return void 0===r||null==(n=ll(r)[sl])?t:ul(n)},dl=jc,pl=cl,hl=ct,vl=G,yl=fl,ml=Ac,gl=an,bl=or,wl=Vc,Ol=bc,El=L,_l=Xa.UNSUPPORTED_Y,xl=[].push,kl=Math.min;dl("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=bl(vl(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!pl(e))return t.call(r,e,o);for(var i,a,c,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),s=0,f=new RegExp(e.source,u+"g");(i=Ol.call(f,r))&&!((a=f.lastIndex)>s&&(l.push(r.slice(s,i.index)),i.length>1&&i.index<r.length&&xl.apply(l,i.slice(1)),c=i[0].length,s=a,l.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return s===r.length?!c&&f.test("")||l.push(""):l.push(r.slice(s)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=vl(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(bl(o),t,n)},function(e,o){var i=hl(this),a=bl(e),c=n(r,i,a,o,r!==t);if(c.done)return c.value;var l=yl(i,RegExp),u=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_l?"g":"y"),f=new l(_l?"^(?:"+i.source+")":i,s),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===wl(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=_l?0:h;var y,m=wl(f,_l?a.slice(h):a);if(null===m||(y=kl(gl(f.lastIndex+(_l?h:0)),a.length))===p)h=ml(a,h,u);else{if(v.push(a.slice(p,h)),v.length===d)return v;for(var g=1;g<=m.length-1;g++)if(v.push(m[g]),v.length===d)return v;h=p=y}}return v.push(a.slice(p)),v}]}),!!El((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),_l);var Sl=Dr,jl=we,Pl=$,Tl=an,Ll=function(e){return function(t,n,r,o){Sl(n);var i=jl(t),a=Pl(i),c=Tl(i.length),l=e?c-1:0,u=e?-1:1;if(r<2)for(;;){if(l in a){o=a[l],l+=u;break}if(l+=u,e?l<0:c<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:c>l;l+=u)l in a&&(o=n(o,a[l],l,i));return o}},Ml={left:Ll(!1),right:Ll(!0)},Cl="process"==z(P.process),Nl=Ml.left,Al=ie,Rl=Cl;Yn({target:"Array",proto:!0,forced:!_i("reduce")||!Rl&&Al>79&&Al<83},{reduce:function(e){return Nl(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var Il=Jr.map;Yn({target:"Array",proto:!0,forced:!si("map")},{map:function(e){return Il(this,e,arguments.length>1?arguments[1]:void 0)}});var Dl=Or,Hl=it,Fl=Ie("unscopables"),zl=Array.prototype;null==zl[Fl]&&Hl.f(zl,Fl,{configurable:!0,value:Dl(null)});var Bl=function(e){zl[Fl][e]=!0},Vl=Yn,$l=Jr.find,Gl=Bl,Ul=!0;"find"in[]&&Array(1).find((function(){Ul=!1})),Vl({target:"Array",proto:!0,forced:Ul},{find:function(e){return $l(this,e,arguments.length>1?arguments[1]:void 0)}}),Gl("find");var Wl=M,ql=Zn,Yl=q,Kl=C.f,Xl=function(e){return function(t){for(var n,r=Yl(t),o=ql(r),i=o.length,a=0,c=[];i>a;)n=o[a++],Wl&&!Kl.call(r,n)||c.push(e?[n,r[n]]:r[n]);return c}},Zl={entries:Xl(!0),values:Xl(!1)}.entries;Yn({target:"Object",stat:!0},{entries:function(e){return Zl(e)}});var Jl=nr,Ql=[].reverse,eu=[1,2];Yn({target:"Array",proto:!0,forced:String(eu)===String(eu.reverse())},{reverse:function(){return Jl(this)&&(this.length=this.length),Ql.call(this)}});var tu=Yn,nu=vn.indexOf,ru=_i,ou=[].indexOf,iu=!!ou&&1/[1].indexOf(1,-0)<0,au=ru("indexOf");tu({target:"Array",proto:!0,forced:iu||!au},{indexOf:function(e){return iu?ou.apply(this,arguments)||0:nu(this,e,arguments.length>1?arguments[1]:void 0)}});var cu=Yn,lu=L,uu=nr,su=Y,fu=we,du=an,pu=Ri,hu=Gr,vu=si,yu=ie,mu=Ie("isConcatSpreadable"),gu=yu>=51||!lu((function(){var e=[];return e[mu]=!1,e.concat()[0]!==e})),bu=vu("concat"),wu=function(e){if(!su(e))return!1;var t=e[mu];return void 0!==t?!!t:uu(e)};cu({target:"Array",proto:!0,forced:!gu||!bu},{concat:function(e){var t,n,r,o,i,a=fu(this),c=hu(a,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(wu(i=-1===t?a:arguments[t])){if(l+(o=du(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,l++)n in i&&pu(c,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");pu(c,l++,i)}return c.length=l,c}});var Ou=vn.includes,Eu=Bl;Yn({target:"Array",proto:!0},{includes:function(e){return Ou(this,e,arguments.length>1?arguments[1]:void 0)}}),Eu("includes");var _u=Yn,xu=q,ku=[].join,Su=$!=Object,ju=_i("join",",");_u({target:"Array",proto:!0,forced:Su||!ju},{join:function(e){return ku.call(xu(this),void 0===e?",":e)}});var Pu=ct,Tu=an,Lu=or,Mu=G,Cu=Ac,Nu=Vc;jc("match",(function(e,t,n){return[function(t){var n=Mu(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](Lu(n))},function(e){var r=Pu(this),o=Lu(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Nu(r,o);var a=r.unicode;r.lastIndex=0;for(var c,l=[],u=0;null!==(c=Nu(r,o));){var s=Lu(c[0]);l[u]=s,""===s&&(r.lastIndex=Cu(o,Tu(r.lastIndex),a)),u++}return 0===u?null:l}]}));var Au=Y,Ru=ct,Iu=function(e){if(!Au(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Du=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Ru(n),Iu(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),Hu=Y,Fu=Du,zu=function(e,t,n){var r,o;return Fu&&"function"==typeof(r=t.constructor)&&r!==n&&Hu(o=r.prototype)&&o!==n.prototype&&Fu(e,o),e},Bu=Z,Vu=it,$u=M,Gu=Ie("species"),Uu=function(e){var t=Bu(e),n=Vu.f;$u&&t&&!t[Gu]&&n(t,Gu,{configurable:!0,get:function(){return this}})},Wu=M,qu=P,Yu=zn,Ku=zu,Xu=vt,Zu=it.f,Ju=Qt.f,Qu=cl,es=or,ts=Ka,ns=Xa,rs=yt.exports,os=L,is=_e,as=Gt.enforce,cs=Uu,ls=tc,us=oc,ss=Ie("match"),fs=qu.RegExp,ds=fs.prototype,ps=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,hs=/a/g,vs=/a/g,ys=new fs(hs)!==hs,ms=ns.UNSUPPORTED_Y,gs=Wu&&(!ys||ms||ls||us||os((function(){return vs[ss]=!1,fs(hs)!=hs||fs(vs)==vs||"/a/i"!=fs(hs,"i")})));if(Yu("RegExp",gs)){for(var bs=function(e,t){var n,r,o,i,a,c,l=this instanceof bs,u=Qu(e),s=void 0===t,f=[],d=e;if(!l&&u&&s&&e.constructor===bs)return e;if((u||e instanceof bs)&&(e=e.source,s&&(t="flags"in d?d.flags:ts.call(d))),e=void 0===e?"":es(e),t=void 0===t?"":es(t),d=e,ls&&"dotAll"in hs&&(r=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,ms&&"sticky"in hs&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),us&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},c=!1,l=!1,u=0,s="";r<=n;r++){if("\\"===(t=e.charAt(r)))t+=e.charAt(++r);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:ps.test(e.slice(r+1))&&(r+=2,l=!0),o+=t,u++;continue;case">"===t&&l:if(""===s||is(a,s))throw new SyntaxError("Invalid capture group name");a[s]=!0,i.push([s,u]),l=!1,s="";continue}l?s+=t:o+=t}return[o,i]}(e),e=i[0],f=i[1]),a=Ku(fs(e,t),l?this:ds,bs),(r||o||f.length)&&(c=as(a),r&&(c.dotAll=!0,c.raw=bs(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=e.charAt(r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++r);return o}(e),n)),o&&(c.sticky=!0),f.length&&(c.groups=f)),e!==d)try{Xu(a,"source",""===d?"(?:)":d)}catch(e){}return a},ws=function(e){e in bs||Zu(bs,e,{configurable:!0,get:function(){return fs[e]},set:function(t){fs[e]=t}})},Os=Ju(fs),Es=0;Os.length>Es;)ws(Os[Es++]);ds.constructor=bs,bs.prototype=ds,rs(qu,"RegExp",bs)}cs("RegExp");var _s=yt.exports,xs=ct,ks=or,Ss=L,js=Ka,Ps=RegExp.prototype,Ts=Ps.toString,Ls=Ss((function(){return"/a/b"!=Ts.call({source:"a",flags:"b"})})),Ms="toString"!=Ts.name;(Ls||Ms)&&_s(RegExp.prototype,"toString",(function(){var e=xs(this),t=ks(e.source),n=e.flags;return"/"+t+"/"+ks(void 0===n&&e instanceof RegExp&&!("flags"in Ps)?js.call(e):n)}),{unsafe:!0});var Cs=cl,Ns=Ie("match"),As=function(e){if(Cs(e))throw TypeError("The method doesn't accept regular expressions");return e},Rs=G,Is=or;Yn({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Ns]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~Is(Rs(this)).indexOf(Is(As(e)),arguments.length>1?arguments[1]:void 0)}});var Ds=Yn,Hs=L,Fs=Y,zs=Object.isFrozen;Ds({target:"Object",stat:!0,forced:Hs((function(){zs(1)}))},{isFrozen:function(e){return!Fs(e)||!!zs&&zs(e)}});var Bs=Yn,Vs=Y,$s=nr,Gs=sn,Us=an,Ws=q,qs=Ri,Ys=Ie,Ks=si("slice"),Xs=Ys("species"),Zs=[].slice,Js=Math.max;Bs({target:"Array",proto:!0,forced:!Ks},{slice:function(e,t){var n,r,o,i=Ws(this),a=Us(i.length),c=Gs(e,a),l=Gs(void 0===t?a:t,a);if($s(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!$s(n.prototype)?Vs(n)&&null===(n=n[Xs])&&(n=void 0):n=void 0,n===Array||void 0===n))return Zs.call(i,c,l);for(r=new(void 0===n?Array:n)(Js(l-c,0)),o=0;c<l;c++,o++)c in i&&qs(r,o,i[c]);return r.length=o,r}});var Qs={};Qs[Ie("toStringTag")]="z";var ef="[object z]"===String(Qs),tf=ef,nf=z,rf=Ie("toStringTag"),of="Arguments"==nf(function(){return arguments}()),af=tf?nf:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),rf))?n:of?nf(t):"Object"==(r=nf(t))&&"function"==typeof t.callee?"Arguments":r},cf=af,lf=ef?{}.toString:function(){return"[object "+cf(this)+"]"},uf=ef,sf=yt.exports,ff=lf;uf||sf(Object.prototype,"toString",ff,{unsafe:!0});var df=ct,pf=function(e,t,n){var r,o;df(e);try{if(void 0===(r=e.return)){if("throw"===t)throw n;return n}r=r.call(e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return df(r),n},hf=ct,vf=pf,yf={},mf=yf,gf=Ie("iterator"),bf=Array.prototype,wf=function(e){return void 0!==e&&(mf.Array===e||bf[gf]===e)},Of=af,Ef=yf,_f=Ie("iterator"),xf=function(e){if(null!=e)return e[_f]||e["@@iterator"]||Ef[Of(e)]},kf=ct,Sf=xf,jf=function(e,t){var n=arguments.length<2?Sf(e):t;if("function"!=typeof n)throw TypeError(String(e)+" is not iterable");return kf(n.call(e))},Pf=Fr,Tf=we,Lf=function(e,t,n,r){try{return r?t(hf(n)[0],n[1]):t(n)}catch(t){vf(e,"throw",t)}},Mf=wf,Cf=an,Nf=Ri,Af=jf,Rf=xf,If=Ie("iterator"),Df=!1;try{var Hf=0,Ff={next:function(){return{done:!!Hf++}},return:function(){Df=!0}};Ff[If]=function(){return this},Array.from(Ff,(function(){throw 2}))}catch(e){}var zf=function(e,t){if(!t&&!Df)return!1;var n=!1;try{var r={};r[If]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Bf=function(e){var t,n,r,o,i,a,c=Tf(e),l="function"==typeof this?this:Array,u=arguments.length,s=u>1?arguments[1]:void 0,f=void 0!==s,d=Rf(c),p=0;if(f&&(s=Pf(s,u>2?arguments[2]:void 0,2)),null==d||l==Array&&Mf(d))for(n=new l(t=Cf(c.length));t>p;p++)a=f?s(c[p],p):c[p],Nf(n,p,a);else for(i=(o=Af(c,d)).next,n=new l;!(r=i.call(o)).done;p++)a=f?Lf(o,s,[r.value,p],!0):r.value,Nf(n,p,a);return n.length=p,n};Yn({target:"Array",stat:!0,forced:!zf((function(e){Array.from(e)}))},{from:Bf});var Vf,$f,Gf,Uf=!L((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),Wf=_e,qf=we,Yf=Uf,Kf=Tt("IE_PROTO"),Xf=Object.prototype,Zf=Yf?Object.getPrototypeOf:function(e){return e=qf(e),Wf(e,Kf)?e[Kf]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Xf:null},Jf=L,Qf=Zf,ed=vt,td=Ie("iterator"),nd=!1;[].keys&&("next"in(Gf=[].keys())?($f=Qf(Qf(Gf)))!==Object.prototype&&(Vf=$f):nd=!0);var rd=null==Vf||Jf((function(){var e={};return Vf[td].call(e)!==e}));rd&&(Vf={}),"function"!=typeof Vf[td]&&ed(Vf,td,(function(){return this}));var od={IteratorPrototype:Vf,BUGGY_SAFARI_ITERATORS:nd},id=od.IteratorPrototype,ad=Or,cd=H,ld=Ir,ud=yf,sd=function(){return this},fd=Yn,dd=function(e,t,n){var r=t+" Iterator";return e.prototype=ad(id,{next:cd(1,n)}),ld(e,r,!1),ud[r]=sd,e},pd=Zf,hd=Du,vd=Ir,yd=vt,md=yt.exports,gd=yf,bd=od.IteratorPrototype,wd=od.BUGGY_SAFARI_ITERATORS,Od=Ie("iterator"),Ed=function(){return this},_d=function(e,t,n,r,o,i,a){dd(n,t,r);var c,l,u,s=function(e){if(e===o&&v)return v;if(!wd&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[Od]||p["@@iterator"]||o&&p[o],v=!wd&&h||s(o),y="Array"==t&&p.entries||h;if(y&&(c=pd(y.call(new e)))!==Object.prototype&&c.next&&(pd(c)!==bd&&(hd?hd(c,bd):"function"!=typeof c[Od]&&yd(c,Od,Ed)),vd(c,f,!0)),"values"==o&&h&&"values"!==h.name&&(d=!0,v=function(){return h.call(this)}),p[Od]!==v&&yd(p,Od,v),gd[t]=v,o)if(l={values:s("values"),keys:i?v:s("keys"),entries:s("entries")},a)for(u in l)(wd||d||!(u in p))&&md(p,u,l[u]);else fd({target:t,proto:!0,forced:wd||d},l);return l},xd=Cc.charAt,kd=or,Sd=Gt,jd=_d,Pd=Sd.set,Td=Sd.getterFor("String Iterator");jd(String,"String",(function(e){Pd(this,{type:"String Iterator",string:kd(e),index:0})}),(function(){var e,t=Td(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=xd(n,r),t.index+=e.length,{value:e,done:!1})}));var Ld=G,Md=or,Cd="[\t\n\v\f\r                 \u2028\u2029\ufeff]",Nd=RegExp("^"+Cd+Cd+"*"),Ad=RegExp(Cd+Cd+"*$"),Rd=function(e){return function(t){var n=Md(Ld(t));return 1&e&&(n=n.replace(Nd,"")),2&e&&(n=n.replace(Ad,"")),n}},Id={start:Rd(1),end:Rd(2),trim:Rd(3)},Dd=L,Hd="\t\n\v\f\r                 \u2028\u2029\ufeff",Fd=Id.trim;Yn({target:"String",proto:!0,forced:function(e){return Dd((function(){return!!Hd[e]()||"​…᠎"!="​…᠎"[e]()||Hd[e].name!==e}))}("trim")},{trim:function(){return Fd(this)}});var zd={exports:{}};!function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,i=String(e);return(n=r[i.toLowerCase()])?n:(n=o[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var i;if(i=r[t.toLowerCase()])return i===n;if(i=o[t.toLowerCase()])return i===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};
13
+ za=Va,function(){var e={}.hasOwnProperty;function t(){for(var n=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)n.push(o);else if(Array.isArray(o)){if(o.length){var a=t.apply(null,o);a&&n.push(a)}}else if("object"===i)if(o.toString===Object.prototype.toString)for(var c in o)e.call(o,c)&&o[c]&&n.push(c);else n.push(o.toString())}}return n.join(" ")}za.exports?(t.default=t,za.exports=t):window.classNames=t}();var $a=Va.exports;function Ga(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Ua(e,t){if(e){if("string"==typeof e)return Ga(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ga(e,t):void 0}}function Wa(e){return function(e){if(Array.isArray(e))return Ga(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ua(e)||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 qa(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i=[],a=!0,c=!1;try{for(n=n.call(e);!(a=(r=n.next()).done)&&(i.push(r.value),!t||i.length!==t);a=!0);}catch(e){c=!0,o=e}finally{try{a||null==n.return||n.return()}finally{if(c)throw o}}return i}}(e,t)||Ua(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Ya=ct,Ka=function(){var e=Ya(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t},Xa={},Za=L,Ja=P.RegExp;Xa.UNSUPPORTED_Y=Za((function(){var e=Ja("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),Xa.BROKEN_CARET=Za((function(){var e=Ja("^r","gy");return e.lastIndex=2,null!=e.exec("str")}));var Qa=L,ec=P.RegExp,tc=Qa((function(){var e=ec(".","s");return!(e.dotAll&&e.exec("\n")&&"s"===e.flags)})),nc=L,rc=P.RegExp,oc=nc((function(){var e=rc("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})),ic=or,ac=Ka,cc=Xa,lc=pe.exports,uc=Or,sc=Gt.get,fc=tc,dc=oc,pc=RegExp.prototype.exec,hc=lc("native-string-replace",String.prototype.replace),vc=pc,yc=function(){var e=/a/,t=/b*/g;return pc.call(e,"a"),pc.call(t,"a"),0!==e.lastIndex||0!==t.lastIndex}(),mc=cc.UNSUPPORTED_Y||cc.BROKEN_CARET,gc=void 0!==/()??/.exec("")[1];(yc||gc||mc||fc||dc)&&(vc=function(e){var t,n,r,o,i,a,c,l=this,u=sc(l),s=ic(e),f=u.raw;if(f)return f.lastIndex=l.lastIndex,t=vc.call(f,s),l.lastIndex=f.lastIndex,t;var d=u.groups,p=mc&&l.sticky,h=ac.call(l),v=l.source,y=0,m=s;if(p&&(-1===(h=h.replace("y","")).indexOf("g")&&(h+="g"),m=s.slice(l.lastIndex),l.lastIndex>0&&(!l.multiline||l.multiline&&"\n"!==s.charAt(l.lastIndex-1))&&(v="(?: "+v+")",m=" "+m,y++),n=new RegExp("^(?:"+v+")",h)),gc&&(n=new RegExp("^"+v+"$(?!\\s)",h)),yc&&(r=l.lastIndex),o=pc.call(p?n:l,m),p?o?(o.input=o.input.slice(y),o[0]=o[0].slice(y),o.index=l.lastIndex,l.lastIndex+=o[0].length):l.lastIndex=0:yc&&o&&(l.lastIndex=l.global?o.index+o[0].length:r),gc&&o&&o.length>1&&hc.call(o[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(o[i]=void 0)})),o&&d)for(o.groups=a=uc(null),i=0;i<d.length;i++)a[(c=d[i])[0]]=o[c[1]];return o});var bc=vc;Yn({target:"RegExp",proto:!0,forced:/./.exec!==bc},{exec:bc});var wc=yt.exports,Oc=bc,Ec=L,_c=Ie,xc=vt,kc=_c("species"),Sc=RegExp.prototype,jc=function(e,t,n,r){var o=_c(e),i=!Ec((function(){var t={};return t[o]=function(){return 7},7!=""[e](t)})),a=i&&!Ec((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[kc]=function(){return n},n.flags="",n[o]=/./[o]),n.exec=function(){return t=!0,null},n[o](""),!t}));if(!i||!a||n){var c=/./[o],l=t(o,""[e],(function(e,t,n,r,o){var a=t.exec;return a===Oc||a===Sc.exec?i&&!o?{done:!0,value:c.call(t,n,r)}:{done:!0,value:e.call(n,t,r)}:{done:!1}}));wc(String.prototype,e,l[0]),wc(Sc,o,l[1])}r&&xc(Sc[o],"sham",!0)},Pc=nn,Tc=or,Lc=G,Mc=function(e){return function(t,n){var r,o,i=Tc(Lc(t)),a=Pc(n),c=i.length;return a<0||a>=c?e?"":void 0:(r=i.charCodeAt(a))<55296||r>56319||a+1===c||(o=i.charCodeAt(a+1))<56320||o>57343?e?i.charAt(a):r:e?i.slice(a,a+2):o-56320+(r-55296<<10)+65536}},Ac={codeAt:Mc(!1),charAt:Mc(!0)},Cc=Ac.charAt,Nc=function(e,t,n){return t+(n?Cc(e,t).length:1)},Rc=we,Ic=Math.floor,Dc="".replace,Hc=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Fc=/\$([$&'`]|\d{1,2})/g,zc=z,Bc=bc,Vc=function(e,t){var n=e.exec;if("function"==typeof n){var r=n.call(e,t);if("object"!=typeof r)throw TypeError("RegExp exec method returned something other than an Object or null");return r}if("RegExp"!==zc(e))throw TypeError("RegExp#exec called on incompatible receiver");return Bc.call(e,t)},$c=jc,Gc=L,Uc=ct,Wc=nn,qc=an,Yc=or,Kc=G,Xc=Nc,Zc=function(e,t,n,r,o,i){var a=n+e.length,c=r.length,l=Fc;return void 0!==o&&(o=Rc(o),l=Hc),Dc.call(i,l,(function(i,l){var u;switch(l.charAt(0)){case"$":return"$";case"&":return e;case"`":return t.slice(0,n);case"'":return t.slice(a);case"<":u=o[l.slice(1,-1)];break;default:var s=+l;if(0===s)return i;if(s>c){var f=Ic(s/10);return 0===f?i:f<=c?void 0===r[f-1]?l.charAt(1):r[f-1]+l.charAt(1):i}u=r[s-1]}return void 0===u?"":u}))},Jc=Vc,Qc=Ie("replace"),el=Math.max,tl=Math.min,nl="$0"==="a".replace(/./,"$0"),rl=!!/./[Qc]&&""===/./[Qc]("a","$0");$c("replace",(function(e,t,n){var r=rl?"$":"$0";return[function(e,n){var r=Kc(this),o=null==e?void 0:e[Qc];return void 0!==o?o.call(e,r,n):t.call(Yc(r),e,n)},function(e,o){var i=Uc(this),a=Yc(e);if("string"==typeof o&&-1===o.indexOf(r)&&-1===o.indexOf("$<")){var c=n(t,i,a,o);if(c.done)return c.value}var l="function"==typeof o;l||(o=Yc(o));var u=i.global;if(u){var s=i.unicode;i.lastIndex=0}for(var f=[];;){var d=Jc(i,a);if(null===d)break;if(f.push(d),!u)break;""===Yc(d[0])&&(i.lastIndex=Xc(a,qc(i.lastIndex),s))}for(var p,h="",v=0,y=0;y<f.length;y++){d=f[y];for(var m=Yc(d[0]),g=el(tl(Wc(d.index),a.length),0),b=[],w=1;w<d.length;w++)b.push(void 0===(p=d[w])?p:String(p));var O=d.groups;if(l){var E=[m].concat(b,g,a);void 0!==O&&E.push(O);var _=Yc(o.apply(void 0,E))}else _=Zc(m,a,g,b,O,o);g>=v&&(h+=a.slice(v,g)+_,v=g+m.length)}return h+a.slice(v)}]}),!!Gc((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!nl||rl);var ol=Y,il=z,al=Ie("match"),cl=function(e){var t;return ol(e)&&(void 0!==(t=e[al])?!!t:"RegExp"==il(e))},ll=ct,ul=Dr,sl=Ie("species"),fl=function(e,t){var n,r=ll(e).constructor;return void 0===r||null==(n=ll(r)[sl])?t:ul(n)},dl=jc,pl=cl,hl=ct,vl=G,yl=fl,ml=Nc,gl=an,bl=or,wl=Vc,Ol=bc,El=L,_l=Xa.UNSUPPORTED_Y,xl=[].push,kl=Math.min;dl("split",(function(e,t,n){var r;return r="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,n){var r=bl(vl(this)),o=void 0===n?4294967295:n>>>0;if(0===o)return[];if(void 0===e)return[r];if(!pl(e))return t.call(r,e,o);for(var i,a,c,l=[],u=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),s=0,f=new RegExp(e.source,u+"g");(i=Ol.call(f,r))&&!((a=f.lastIndex)>s&&(l.push(r.slice(s,i.index)),i.length>1&&i.index<r.length&&xl.apply(l,i.slice(1)),c=i[0].length,s=a,l.length>=o));)f.lastIndex===i.index&&f.lastIndex++;return s===r.length?!c&&f.test("")||l.push(""):l.push(r.slice(s)),l.length>o?l.slice(0,o):l}:"0".split(void 0,0).length?function(e,n){return void 0===e&&0===n?[]:t.call(this,e,n)}:t,[function(t,n){var o=vl(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,n):r.call(bl(o),t,n)},function(e,o){var i=hl(this),a=bl(e),c=n(r,i,a,o,r!==t);if(c.done)return c.value;var l=yl(i,RegExp),u=i.unicode,s=(i.ignoreCase?"i":"")+(i.multiline?"m":"")+(i.unicode?"u":"")+(_l?"g":"y"),f=new l(_l?"^(?:"+i.source+")":i,s),d=void 0===o?4294967295:o>>>0;if(0===d)return[];if(0===a.length)return null===wl(f,a)?[a]:[];for(var p=0,h=0,v=[];h<a.length;){f.lastIndex=_l?0:h;var y,m=wl(f,_l?a.slice(h):a);if(null===m||(y=kl(gl(f.lastIndex+(_l?h:0)),a.length))===p)h=ml(a,h,u);else{if(v.push(a.slice(p,h)),v.length===d)return v;for(var g=1;g<=m.length-1;g++)if(v.push(m[g]),v.length===d)return v;h=p=y}}return v.push(a.slice(p)),v}]}),!!El((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var n="ab".split(e);return 2!==n.length||"a"!==n[0]||"b"!==n[1]})),_l);var Sl=Dr,jl=we,Pl=$,Tl=an,Ll=function(e){return function(t,n,r,o){Sl(n);var i=jl(t),a=Pl(i),c=Tl(i.length),l=e?c-1:0,u=e?-1:1;if(r<2)for(;;){if(l in a){o=a[l],l+=u;break}if(l+=u,e?l<0:c<=l)throw TypeError("Reduce of empty array with no initial value")}for(;e?l>=0:c>l;l+=u)l in a&&(o=n(o,a[l],l,i));return o}},Ml={left:Ll(!1),right:Ll(!0)},Al="process"==z(P.process),Cl=Ml.left,Nl=ie,Rl=Al;Yn({target:"Array",proto:!0,forced:!_i("reduce")||!Rl&&Nl>79&&Nl<83},{reduce:function(e){return Cl(this,e,arguments.length,arguments.length>1?arguments[1]:void 0)}});var Il=Jr.map;Yn({target:"Array",proto:!0,forced:!si("map")},{map:function(e){return Il(this,e,arguments.length>1?arguments[1]:void 0)}});var Dl=G,Hl=or,Fl="[\t\n\v\f\r                 \u2028\u2029\ufeff]",zl=RegExp("^"+Fl+Fl+"*"),Bl=RegExp(Fl+Fl+"*$"),Vl=function(e){return function(t){var n=Hl(Dl(t));return 1&e&&(n=n.replace(zl,"")),2&e&&(n=n.replace(Bl,"")),n}},$l={start:Vl(1),end:Vl(2),trim:Vl(3)},Gl=or,Ul=$l.trim,Wl=P.parseFloat,ql=1/Wl("\t\n\v\f\r                 \u2028\u2029\ufeff-0")!=-1/0?function(e){var t=Ul(Gl(e)),n=Wl(t);return 0===n&&"-"==t.charAt(0)?-0:n}:Wl;Yn({global:!0,forced:parseFloat!=ql},{parseFloat:ql});var Yl=Or,Kl=it,Xl=Ie("unscopables"),Zl=Array.prototype;null==Zl[Xl]&&Kl.f(Zl,Xl,{configurable:!0,value:Yl(null)});var Jl=function(e){Zl[Xl][e]=!0},Ql=Yn,eu=Jr.find,tu=Jl,nu=!0;"find"in[]&&Array(1).find((function(){nu=!1})),Ql({target:"Array",proto:!0,forced:nu},{find:function(e){return eu(this,e,arguments.length>1?arguments[1]:void 0)}}),tu("find");var ru=M,ou=Zn,iu=q,au=A.f,cu=function(e){return function(t){for(var n,r=iu(t),o=ou(r),i=o.length,a=0,c=[];i>a;)n=o[a++],ru&&!au.call(r,n)||c.push(e?[n,r[n]]:r[n]);return c}},lu={entries:cu(!0),values:cu(!1)}.entries;Yn({target:"Object",stat:!0},{entries:function(e){return lu(e)}});var uu=nr,su=[].reverse,fu=[1,2];Yn({target:"Array",proto:!0,forced:String(fu)===String(fu.reverse())},{reverse:function(){return uu(this)&&(this.length=this.length),su.call(this)}});var du=Yn,pu=vn.indexOf,hu=_i,vu=[].indexOf,yu=!!vu&&1/[1].indexOf(1,-0)<0,mu=hu("indexOf");du({target:"Array",proto:!0,forced:yu||!mu},{indexOf:function(e){return yu?vu.apply(this,arguments)||0:pu(this,e,arguments.length>1?arguments[1]:void 0)}});var gu=Yn,bu=L,wu=nr,Ou=Y,Eu=we,_u=an,xu=Ri,ku=Gr,Su=si,ju=ie,Pu=Ie("isConcatSpreadable"),Tu=ju>=51||!bu((function(){var e=[];return e[Pu]=!1,e.concat()[0]!==e})),Lu=Su("concat"),Mu=function(e){if(!Ou(e))return!1;var t=e[Pu];return void 0!==t?!!t:wu(e)};gu({target:"Array",proto:!0,forced:!Tu||!Lu},{concat:function(e){var t,n,r,o,i,a=Eu(this),c=ku(a,0),l=0;for(t=-1,r=arguments.length;t<r;t++)if(Mu(i=-1===t?a:arguments[t])){if(l+(o=_u(i.length))>9007199254740991)throw TypeError("Maximum allowed index exceeded");for(n=0;n<o;n++,l++)n in i&&xu(c,l,i[n])}else{if(l>=9007199254740991)throw TypeError("Maximum allowed index exceeded");xu(c,l++,i)}return c.length=l,c}});var Au=vn.includes,Cu=Jl;Yn({target:"Array",proto:!0},{includes:function(e){return Au(this,e,arguments.length>1?arguments[1]:void 0)}}),Cu("includes");var Nu=Yn,Ru=q,Iu=[].join,Du=$!=Object,Hu=_i("join",",");Nu({target:"Array",proto:!0,forced:Du||!Hu},{join:function(e){return Iu.call(Ru(this),void 0===e?",":e)}});var Fu=ct,zu=an,Bu=or,Vu=G,$u=Nc,Gu=Vc;jc("match",(function(e,t,n){return[function(t){var n=Vu(this),r=null==t?void 0:t[e];return void 0!==r?r.call(t,n):new RegExp(t)[e](Bu(n))},function(e){var r=Fu(this),o=Bu(e),i=n(t,r,o);if(i.done)return i.value;if(!r.global)return Gu(r,o);var a=r.unicode;r.lastIndex=0;for(var c,l=[],u=0;null!==(c=Gu(r,o));){var s=Bu(c[0]);l[u]=s,""===s&&(r.lastIndex=$u(o,zu(r.lastIndex),a)),u++}return 0===u?null:l}]}));var Uu=Y,Wu=ct,qu=function(e){if(!Uu(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e},Yu=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return Wu(n),qu(r),t?e.call(n,r):n.__proto__=r,n}}():void 0),Ku=Y,Xu=Yu,Zu=function(e,t,n){var r,o;return Xu&&"function"==typeof(r=t.constructor)&&r!==n&&Ku(o=r.prototype)&&o!==n.prototype&&Xu(e,o),e},Ju=Z,Qu=it,es=M,ts=Ie("species"),ns=function(e){var t=Ju(e),n=Qu.f;es&&t&&!t[ts]&&n(t,ts,{configurable:!0,get:function(){return this}})},rs=M,os=P,is=zn,as=Zu,cs=vt,ls=it.f,us=Qt.f,ss=cl,fs=or,ds=Ka,ps=Xa,hs=yt.exports,vs=L,ys=_e,ms=Gt.enforce,gs=ns,bs=tc,ws=oc,Os=Ie("match"),Es=os.RegExp,_s=Es.prototype,xs=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ks=/a/g,Ss=/a/g,js=new Es(ks)!==ks,Ps=ps.UNSUPPORTED_Y,Ts=rs&&(!js||Ps||bs||ws||vs((function(){return Ss[Os]=!1,Es(ks)!=ks||Es(Ss)==Ss||"/a/i"!=Es(ks,"i")})));if(is("RegExp",Ts)){for(var Ls=function(e,t){var n,r,o,i,a,c,l=this instanceof Ls,u=ss(e),s=void 0===t,f=[],d=e;if(!l&&u&&s&&e.constructor===Ls)return e;if((u||e instanceof Ls)&&(e=e.source,s&&(t="flags"in d?d.flags:ds.call(d))),e=void 0===e?"":fs(e),t=void 0===t?"":fs(t),d=e,bs&&"dotAll"in ks&&(r=!!t&&t.indexOf("s")>-1)&&(t=t.replace(/s/g,"")),n=t,Ps&&"sticky"in ks&&(o=!!t&&t.indexOf("y")>-1)&&(t=t.replace(/y/g,"")),ws&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a={},c=!1,l=!1,u=0,s="";r<=n;r++){if("\\"===(t=e.charAt(r)))t+=e.charAt(++r);else if("]"===t)c=!1;else if(!c)switch(!0){case"["===t:c=!0;break;case"("===t:xs.test(e.slice(r+1))&&(r+=2,l=!0),o+=t,u++;continue;case">"===t&&l:if(""===s||ys(a,s))throw new SyntaxError("Invalid capture group name");a[s]=!0,i.push([s,u]),l=!1,s="";continue}l?s+=t:o+=t}return[o,i]}(e),e=i[0],f=i[1]),a=as(Es(e,t),l?this:_s,Ls),(r||o||f.length)&&(c=ms(a),r&&(c.dotAll=!0,c.raw=Ls(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=e.charAt(r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+e.charAt(++r);return o}(e),n)),o&&(c.sticky=!0),f.length&&(c.groups=f)),e!==d)try{cs(a,"source",""===d?"(?:)":d)}catch(e){}return a},Ms=function(e){e in Ls||ls(Ls,e,{configurable:!0,get:function(){return Es[e]},set:function(t){Es[e]=t}})},As=us(Es),Cs=0;As.length>Cs;)Ms(As[Cs++]);_s.constructor=Ls,Ls.prototype=_s,hs(os,"RegExp",Ls)}gs("RegExp");var Ns=yt.exports,Rs=ct,Is=or,Ds=L,Hs=Ka,Fs=RegExp.prototype,zs=Fs.toString,Bs=Ds((function(){return"/a/b"!=zs.call({source:"a",flags:"b"})})),Vs="toString"!=zs.name;(Bs||Vs)&&Ns(RegExp.prototype,"toString",(function(){var e=Rs(this),t=Is(e.source),n=e.flags;return"/"+t+"/"+Is(void 0===n&&e instanceof RegExp&&!("flags"in Fs)?Hs.call(e):n)}),{unsafe:!0});var $s=cl,Gs=Ie("match"),Us=function(e){if($s(e))throw TypeError("The method doesn't accept regular expressions");return e},Ws=G,qs=or;Yn({target:"String",proto:!0,forced:!function(e){var t=/./;try{"/./"[e](t)}catch(n){try{return t[Gs]=!1,"/./"[e](t)}catch(e){}}return!1}("includes")},{includes:function(e){return!!~qs(Ws(this)).indexOf(qs(Us(e)),arguments.length>1?arguments[1]:void 0)}});var Ys=Yn,Ks=L,Xs=Y,Zs=Object.isFrozen;Ys({target:"Object",stat:!0,forced:Ks((function(){Zs(1)}))},{isFrozen:function(e){return!Xs(e)||!!Zs&&Zs(e)}});var Js=Yn,Qs=Y,ef=nr,tf=sn,nf=an,rf=q,of=Ri,af=Ie,cf=si("slice"),lf=af("species"),uf=[].slice,sf=Math.max;Js({target:"Array",proto:!0,forced:!cf},{slice:function(e,t){var n,r,o,i=rf(this),a=nf(i.length),c=tf(e,a),l=tf(void 0===t?a:t,a);if(ef(i)&&("function"!=typeof(n=i.constructor)||n!==Array&&!ef(n.prototype)?Qs(n)&&null===(n=n[lf])&&(n=void 0):n=void 0,n===Array||void 0===n))return uf.call(i,c,l);for(r=new(void 0===n?Array:n)(sf(l-c,0)),o=0;c<l;c++,o++)c in i&&of(r,o,i[c]);return r.length=o,r}});var ff={};ff[Ie("toStringTag")]="z";var df="[object z]"===String(ff),pf=df,hf=z,vf=Ie("toStringTag"),yf="Arguments"==hf(function(){return arguments}()),mf=pf?hf:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=Object(e),vf))?n:yf?hf(t):"Object"==(r=hf(t))&&"function"==typeof t.callee?"Arguments":r},gf=mf,bf=df?{}.toString:function(){return"[object "+gf(this)+"]"},wf=df,Of=yt.exports,Ef=bf;wf||Of(Object.prototype,"toString",Ef,{unsafe:!0});var _f,xf,kf,Sf=!L((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})),jf=_e,Pf=we,Tf=Sf,Lf=Tt("IE_PROTO"),Mf=Object.prototype,Af=Tf?Object.getPrototypeOf:function(e){return e=Pf(e),jf(e,Lf)?e[Lf]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?Mf:null},Cf=L,Nf=Af,Rf=vt,If=Ie("iterator"),Df=!1;[].keys&&("next"in(kf=[].keys())?(xf=Nf(Nf(kf)))!==Object.prototype&&(_f=xf):Df=!0);var Hf=null==_f||Cf((function(){var e={};return _f[If].call(e)!==e}));Hf&&(_f={}),"function"!=typeof _f[If]&&Rf(_f,If,(function(){return this}));var Ff={IteratorPrototype:_f,BUGGY_SAFARI_ITERATORS:Df},zf={},Bf=Ff.IteratorPrototype,Vf=Or,$f=H,Gf=Ir,Uf=zf,Wf=function(){return this},qf=function(e,t,n){var r=t+" Iterator";return e.prototype=Vf(Bf,{next:$f(1,n)}),Gf(e,r,!1),Uf[r]=Wf,e},Yf=Yn,Kf=qf,Xf=G,Zf=an,Jf=or,Qf=Dr,ed=ct,td=cl,nd=Ka,rd=vt,od=L,id=fl,ad=Nc,cd=Gt,ld=Ie("matchAll"),ud=cd.set,sd=cd.getterFor("RegExp String Iterator"),fd=RegExp.prototype,dd=fd.exec,pd="".matchAll,hd=!!pd&&!od((function(){"a".matchAll(/./)})),vd=Kf((function(e,t,n,r){ud(this,{type:"RegExp String Iterator",regexp:e,string:t,global:n,unicode:r,done:!1})}),"RegExp String",(function(){var e=sd(this);if(e.done)return{value:void 0,done:!0};var t=e.regexp,n=e.string,r=function(e,t){var n,r=e.exec;if("function"==typeof r){if("object"!=typeof(n=r.call(e,t)))throw TypeError("Incorrect exec result");return n}return dd.call(e,t)}(t,n);return null===r?{value:void 0,done:e.done=!0}:e.global?(""===Jf(r[0])&&(t.lastIndex=ad(n,Zf(t.lastIndex),e.unicode)),{value:r,done:!1}):(e.done=!0,{value:r,done:!1})})),yd=function(e){var t,n,r,o,i,a,c=ed(this),l=Jf(e);return t=id(c,RegExp),void 0===(n=c.flags)&&c instanceof RegExp&&!("flags"in fd)&&(n=nd.call(c)),r=void 0===n?"":Jf(n),o=new t(t===RegExp?c.source:c,r),i=!!~r.indexOf("g"),a=!!~r.indexOf("u"),o.lastIndex=Zf(c.lastIndex),new vd(o,l,i,a)};Yf({target:"String",proto:!0,forced:hd},{matchAll:function(e){var t,n,r=Xf(this);if(null!=e){if(td(e)&&!~Jf(Xf("flags"in fd?e.flags:nd.call(e))).indexOf("g"))throw TypeError("`.matchAll` does not allow non-global regexes");if(hd)return pd.apply(r,arguments);if(null!=(n=e[ld]))return Qf(n).call(e,r)}else if(hd)return pd.apply(r,arguments);return t=Jf(r),new RegExp(e,"g")[ld](t)}}),ld in fd||rd(fd,ld,yd);var md=ct,gd=function(e,t,n){var r,o;md(e);try{if(void 0===(r=e.return)){if("throw"===t)throw n;return n}r=r.call(e)}catch(e){o=!0,r=e}if("throw"===t)throw n;if(o)throw r;return md(r),n},bd=ct,wd=gd,Od=zf,Ed=Ie("iterator"),_d=Array.prototype,xd=function(e){return void 0!==e&&(Od.Array===e||_d[Ed]===e)},kd=mf,Sd=zf,jd=Ie("iterator"),Pd=function(e){if(null!=e)return e[jd]||e["@@iterator"]||Sd[kd(e)]},Td=ct,Ld=Pd,Md=function(e,t){var n=arguments.length<2?Ld(e):t;if("function"!=typeof n)throw TypeError(String(e)+" is not iterable");return Td(n.call(e))},Ad=Fr,Cd=we,Nd=function(e,t,n,r){try{return r?t(bd(n)[0],n[1]):t(n)}catch(t){wd(e,"throw",t)}},Rd=xd,Id=an,Dd=Ri,Hd=Md,Fd=Pd,zd=Ie("iterator"),Bd=!1;try{var Vd=0,$d={next:function(){return{done:!!Vd++}},return:function(){Bd=!0}};$d[zd]=function(){return this},Array.from($d,(function(){throw 2}))}catch(e){}var Gd=function(e,t){if(!t&&!Bd)return!1;var n=!1;try{var r={};r[zd]=function(){return{next:function(){return{done:n=!0}}}},e(r)}catch(e){}return n},Ud=function(e){var t,n,r,o,i,a,c=Cd(e),l="function"==typeof this?this:Array,u=arguments.length,s=u>1?arguments[1]:void 0,f=void 0!==s,d=Fd(c),p=0;if(f&&(s=Ad(s,u>2?arguments[2]:void 0,2)),null==d||l==Array&&Rd(d))for(n=new l(t=Id(c.length));t>p;p++)a=f?s(c[p],p):c[p],Dd(n,p,a);else for(i=(o=Hd(c,d)).next,n=new l;!(r=i.call(o)).done;p++)a=f?Nd(o,s,[r.value,p],!0):r.value,Dd(n,p,a);return n.length=p,n};Yn({target:"Array",stat:!0,forced:!Gd((function(e){Array.from(e)}))},{from:Ud});var Wd=Yn,qd=qf,Yd=Af,Kd=Yu,Xd=Ir,Zd=vt,Jd=yt.exports,Qd=zf,ep=Ff.IteratorPrototype,tp=Ff.BUGGY_SAFARI_ITERATORS,np=Ie("iterator"),rp=function(){return this},op=function(e,t,n,r,o,i,a){qd(n,t,r);var c,l,u,s=function(e){if(e===o&&v)return v;if(!tp&&e in p)return p[e];switch(e){case"keys":case"values":case"entries":return function(){return new n(this,e)}}return function(){return new n(this)}},f=t+" Iterator",d=!1,p=e.prototype,h=p[np]||p["@@iterator"]||o&&p[o],v=!tp&&h||s(o),y="Array"==t&&p.entries||h;if(y&&(c=Yd(y.call(new e)))!==Object.prototype&&c.next&&(Yd(c)!==ep&&(Kd?Kd(c,ep):"function"!=typeof c[np]&&Zd(c,np,rp)),Xd(c,f,!0)),"values"==o&&h&&"values"!==h.name&&(d=!0,v=function(){return h.call(this)}),p[np]!==v&&Zd(p,np,v),Qd[t]=v,o)if(l={values:s("values"),keys:i?v:s("keys"),entries:s("entries")},a)for(u in l)(tp||d||!(u in p))&&Jd(p,u,l[u]);else Wd({target:t,proto:!0,forced:tp||d},l);return l},ip=Ac.charAt,ap=or,cp=Gt,lp=op,up=cp.set,sp=cp.getterFor("String Iterator");lp(String,"String",(function(e){up(this,{type:"String Iterator",string:ap(e),index:0})}),(function(){var e,t=sp(this),n=t.string,r=t.index;return r>=n.length?{value:void 0,done:!0}:(e=ip(n,r),t.index+=e.length,{value:e,done:!1})}));var fp=L,dp="\t\n\v\f\r                 \u2028\u2029\ufeff",pp=$l.trim;Yn({target:"String",proto:!0,forced:function(e){return fp((function(){return!!dp[e]()||"​…᠎"!="​…᠎"[e]()||dp[e].name!==e}))}("trim")},{trim:function(){return pp(this)}});var hp={exports:{}};!function(e,t){function n(e){if(e&&"object"==typeof e){var t=e.which||e.keyCode||e.charCode;t&&(e=t)}if("number"==typeof e)return a[e];var n,i=String(e);return(n=r[i.toLowerCase()])?n:(n=o[i.toLowerCase()])||(1===i.length?i.charCodeAt(0):void 0)}n.isEventKey=function(e,t){if(e&&"object"==typeof e){var n=e.which||e.keyCode||e.charCode;if(null==n)return!1;if("string"==typeof t){var i;if(i=r[t.toLowerCase()])return i===n;if(i=o[t.toLowerCase()])return i===n}else if("number"==typeof t)return t===n;return!1}};var r=(t=e.exports=n).code=t.codes={backspace:8,tab:9,enter:13,shift:16,ctrl:17,alt:18,"pause/break":19,"caps lock":20,esc:27,space:32,"page up":33,"page down":34,end:35,home:36,left:37,up:38,right:39,down:40,insert:45,delete:46,command:91,"left command":91,"right command":93,"numpad *":106,"numpad +":107,"numpad -":109,"numpad .":110,"numpad /":111,"num lock":144,"scroll lock":145,"my computer":182,"my calculator":183,";":186,"=":187,",":188,"-":189,".":190,"/":191,"`":192,"[":219,"\\":220,"]":221,"'":222},o=t.aliases={windows:91,"⇧":16,"⌥":18,"⌃":17,"⌘":91,ctl:17,control:17,option:18,pause:19,break:19,caps:20,return:13,escape:27,spc:32,spacebar:32,pgup:33,pgdn:34,ins:45,del:46,cmd:91};
14
14
  /*!
15
15
  * Programatically add the following
16
16
  */
17
- for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var c in o)r[c]=o[c]}(zd,zd.exports);var Bd,Vd=zd.exports,$d={exports:{}};Bd=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",r=n,o=Date.now(),i="false",a=["button","input","select","textarea"],c=[],l=[16,17,18,91,93],u=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},h=!1;try{var v=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,v)}catch(e){}var y=function(){var e=!!h&&{passive:!0};document.addEventListener("DOMContentLoaded",m),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",w)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",w)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",w),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(S(),w,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",O),window.addEventListener("focusout",E)},m=function(){if(i=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(r=window.sessionStorage.getItem("what-intent"))}catch(e){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=x(e));var i=!u.length&&-1===l.indexOf(t),c=u.length&&-1!==u.indexOf(t),f="keyboard"===o&&t&&(i||c)||"mouse"===o||"touch"===o;if(k(o)&&(f=!1),f&&n!==o&&(_("input",n=o),b("input")),f&&r!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(_("intent",r=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),j(t)},w=function(e){var t=s[e.type];"pointer"===t&&(t=x(e)),P(e),(!f&&!k(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(_("intent",r=t),b("intent"))},O=function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):E()},E=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},_=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},x=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},k=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},S=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},j=function(e){for(var t=0,o=c.length;t<o;t++)c[t].type===e&&c[t].fn.call(void 0,"input"===e?n:r)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!0},T=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(s[S()]="mouse",y()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){u=e},registerOnChange:function(e,t){c.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=c.length;t<n;t++)if(c[t].fn===e)return t}(e);(t||0===t)&&c.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])};var Gd=$d.exports=Bd();function Ud(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function Wd(e,t,n){return Wd=Ud()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&la(o,n.prototype),o},Wd.apply(null,arguments)}function qd(e){var t="function"==typeof Map?new Map:void 0;return qd=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return Wd(e,arguments,da(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),la(r,e)},qd(e)}var Yd=M,Kd=it.f,Xd=Function.prototype,Zd=Xd.toString,Jd=/^\s*function ([^ (]*)/;Yd&&!("name"in Xd)&&Kd(Xd,"name",{configurable:!0,get:function(){try{return Zd.call(this).match(Jd)[1]}catch(e){return""}}});var Qd=M,ep=P,tp=zn,np=yt.exports,rp=_e,op=z,ip=zu,ap=fe,cp=Be,lp=L,up=Or,sp=Qt.f,fp=T.f,dp=it.f,pp=Id.trim,hp=ep.Number,vp=hp.prototype,yp="Number"==op(up(vp)),mp=function(e){if(ap(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,i,a,c,l,u=cp(e,"number");if("string"==typeof u&&u.length>2)if(43===(t=(u=pp(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,c=0;c<a;c++)if((l=i.charCodeAt(c))<48||l>o)return NaN;return parseInt(i,r)}return+u};if(tp("Number",!hp(" 0o1")||!hp("0b1")||hp("+0x1"))){for(var gp,bp=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof bp&&(yp?lp((function(){vp.valueOf.call(n)})):"Number"!=op(n))?ip(new hp(mp(t)),n,bp):mp(t)},wp=Qd?sp(hp):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Op=0;wp.length>Op;Op++)rp(hp,gp=wp[Op])&&!rp(bp,gp)&&dp(bp,gp,fp(hp,gp));bp.prototype=vp,vp.constructor=bp,np(ep,"Number",bp)}function Ep(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:null},n=t.message,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if("object"===sa(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var _p=q,xp=Bl,kp=yf,Sp=Gt,jp=_d,Pp=Sp.set,Tp=Sp.getterFor("Array Iterator"),Lp=jp(Array,"Array",(function(e,t){Pp(this,{type:"Array Iterator",target:_p(e),index:0,kind:t})}),(function(){var e=Tp(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");kp.Arguments=kp.Array,xp("keys"),xp("values"),xp("entries");var Mp={exports:{}},Cp=!L((function(){return Object.isExtensible(Object.preventExtensions({}))})),Np=Yn,Ap=Lt,Rp=Y,Ip=_e,Dp=it.f,Hp=Qt,Fp=Er,zp=Cp,Bp=!1,Vp=Se("meta"),$p=0,Gp=Object.isExtensible||function(){return!0},Up=function(e){Dp(e,Vp,{value:{objectID:"O"+$p++,weakData:{}}})},Wp=Mp.exports={enable:function(){Wp.enable=function(){},Bp=!0;var e=Hp.f,t=[].splice,n={};n[Vp]=1,e(n).length&&(Hp.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===Vp){t.call(r,o,1);break}return r},Np({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:Fp.f}))},fastKey:function(e,t){if(!Rp(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!Ip(e,Vp)){if(!Gp(e))return"F";if(!t)return"E";Up(e)}return e[Vp].objectID},getWeakData:function(e,t){if(!Ip(e,Vp)){if(!Gp(e))return!0;if(!t)return!1;Up(e)}return e[Vp].weakData},onFreeze:function(e){return zp&&Bp&&Gp(e)&&!Ip(e,Vp)&&Up(e),e}};Ap[Vp]=!0;var qp=ct,Yp=wf,Kp=an,Xp=Fr,Zp=jf,Jp=xf,Qp=pf,eh=function(e,t){this.stopped=e,this.result=t},th=function(e,t,n){var r,o,i,a,c,l,u,s=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=Xp(t,s,1+f+p),v=function(e){return r&&Qp(r,"normal",e),new eh(!0,e)},y=function(e){return f?(qp(e),p?h(e[0],e[1],v):h(e[0],e[1])):p?h(e,v):h(e)};if(d)r=e;else{if("function"!=typeof(o=Jp(e)))throw TypeError("Target is not iterable");if(Yp(o)){for(i=0,a=Kp(e.length);a>i;i++)if((c=y(e[i]))&&c instanceof eh)return c;return new eh(!1)}r=Zp(e,o)}for(l=r.next;!(u=l.call(r)).done;){try{c=y(u.value)}catch(e){Qp(r,"throw",e)}if("object"==typeof c&&c&&c instanceof eh)return c}return new eh(!1)},nh=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},rh=Yn,oh=P,ih=zn,ah=yt.exports,ch=Mp.exports,lh=th,uh=nh,sh=Y,fh=L,dh=zf,ph=Ir,hh=zu,vh=yt.exports,yh=function(e,t,n){for(var r in t)vh(e,r,t[r],n);return e},mh=it.f,gh=Or,bh=yh,wh=Fr,Oh=nh,Eh=th,_h=_d,xh=Uu,kh=M,Sh=Mp.exports.fastKey,jh=Gt.set,Ph=Gt.getterFor,Th={getConstructor:function(e,t,n,r){var o=e((function(e,i){Oh(e,o,t),jh(e,{type:t,index:gh(null),first:void 0,last:void 0,size:0}),kh||(e.size=0),null!=i&&Eh(i,e[r],{that:e,AS_ENTRIES:n})})),i=Ph(t),a=function(e,t,n){var r,o,a=i(e),l=c(e,t);return l?l.value=n:(a.last=l={index:o=Sh(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=l),r&&(r.next=l),kh?a.size++:e.size++,"F"!==o&&(a.index[o]=l)),e},c=function(e,t){var n,r=i(e),o=Sh(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return bh(o.prototype,{clear:function(){for(var e=i(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,kh?e.size=0:this.size=0},delete:function(e){var t=this,n=i(t),r=c(t,e);if(r){var o=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=o),o&&(o.previous=a),n.first==r&&(n.first=o),n.last==r&&(n.last=a),kh?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=i(this),r=wh(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),bh(o.prototype,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return a(this,0===e?0:e,t)}}:{add:function(e){return a(this,e=0===e?0:e,e)}}),kh&&mh(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=Ph(t),i=Ph(r);_h(e,t,(function(e,t){jh(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),xh(t)}},Lh=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=oh[e],c=a&&a.prototype,l=a,u={},s=function(e){var t=c[e];ah(c,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!sh(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return o&&!sh(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!sh(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(ih(e,"function"!=typeof a||!(o||c.forEach&&!fh((function(){(new a).entries().next()})))))l=n.getConstructor(t,e,r,i),ch.enable();else if(ih(e,!0)){var f=new l,d=f[i](o?{}:-0,1)!=f,p=fh((function(){f.has(1)})),h=dh((function(e){new a(e)})),v=!o&&fh((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((l=t((function(t,n){uh(t,l,e);var o=hh(new a,t,l);return null!=n&&lh(n,o[i],{that:o,AS_ENTRIES:r}),o}))).prototype=c,c.constructor=l),(p||v)&&(s("delete"),s("has"),r&&s("get")),(v||d)&&s(i),o&&c.clear&&delete c.clear}return u[e]=l,rh({global:!0,forced:l!=a},u),ph(l,e),o||n.setStrong(l,e,r),l};Lh("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),Th);var Mh=P,Ch=gi,Nh=Oi,Ah=Lp,Rh=vt,Ih=Ie,Dh=Ih("iterator"),Hh=Ih("toStringTag"),Fh=Ah.values,zh=function(e,t){if(e){if(e[Dh]!==Fh)try{Rh(e,Dh,Fh)}catch(t){e[Dh]=Fh}if(e[Hh]||Rh(e,Hh,t),Ch[t])for(var n in Ah)if(e[n]!==Ah[n])try{Rh(e,n,Ah[n])}catch(t){e[n]=Ah[n]}}};for(var Bh in Ch)zh(Mh[Bh]&&Mh[Bh].prototype,Bh);zh(Nh,"DOMTokenList");var Vh,$h,Gh,Uh,Wh=P.Promise,qh=/(?:ipad|iphone|ipod).*applewebkit/i.test(J),Yh=P,Kh=L,Xh=Fr,Zh=ur,Jh=Ye,Qh=qh,ev=Cl,tv=Yh.setImmediate,nv=Yh.clearImmediate,rv=Yh.process,ov=Yh.MessageChannel,iv=Yh.Dispatch,av=0,cv={};try{Vh=Yh.location}catch(e){}var lv=function(e){if(cv.hasOwnProperty(e)){var t=cv[e];delete cv[e],t()}},uv=function(e){return function(){lv(e)}},sv=function(e){lv(e.data)},fv=function(e){Yh.postMessage(String(e),Vh.protocol+"//"+Vh.host)};tv&&nv||(tv=function(e){for(var t=[],n=arguments.length,r=1;n>r;)t.push(arguments[r++]);return cv[++av]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},$h(av),av},nv=function(e){delete cv[e]},ev?$h=function(e){rv.nextTick(uv(e))}:iv&&iv.now?$h=function(e){iv.now(uv(e))}:ov&&!Qh?(Uh=(Gh=new ov).port2,Gh.port1.onmessage=sv,$h=Xh(Uh.postMessage,Uh,1)):Yh.addEventListener&&"function"==typeof postMessage&&!Yh.importScripts&&Vh&&"file:"!==Vh.protocol&&!Kh(fv)?($h=fv,Yh.addEventListener("message",sv,!1)):$h="onreadystatechange"in Jh("script")?function(e){Zh.appendChild(Jh("script")).onreadystatechange=function(){Zh.removeChild(this),lv(e)}}:function(e){setTimeout(uv(e),0)});var dv,pv,hv,vv,yv,mv,gv,bv,wv={set:tv,clear:nv},Ov=P,Ev=/ipad|iphone|ipod/i.test(J)&&void 0!==Ov.Pebble,_v=/web0s(?!.*chrome)/i.test(J),xv=P,kv=T.f,Sv=wv.set,jv=qh,Pv=Ev,Tv=_v,Lv=Cl,Mv=xv.MutationObserver||xv.WebKitMutationObserver,Cv=xv.document,Nv=xv.process,Av=xv.Promise,Rv=kv(xv,"queueMicrotask"),Iv=Rv&&Rv.value;Iv||(dv=function(){var e,t;for(Lv&&(e=Nv.domain)&&e.exit();pv;){t=pv.fn,pv=pv.next;try{t()}catch(e){throw pv?vv():hv=void 0,e}}hv=void 0,e&&e.enter()},jv||Lv||Tv||!Mv||!Cv?!Pv&&Av&&Av.resolve?((gv=Av.resolve(void 0)).constructor=Av,bv=gv.then,vv=function(){bv.call(gv,dv)}):vv=Lv?function(){Nv.nextTick(dv)}:function(){Sv.call(xv,dv)}:(yv=!0,mv=Cv.createTextNode(""),new Mv(dv).observe(mv,{characterData:!0}),vv=function(){mv.data=yv=!yv}));var Dv=Iv||function(e){var t={fn:e,next:void 0};hv&&(hv.next=t),pv||(pv=t,vv()),hv=t},Hv={},Fv=Dr,zv=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=Fv(t),this.reject=Fv(n)};Hv.f=function(e){return new zv(e)};var Bv,Vv,$v,Gv,Uv=ct,Wv=Y,qv=Hv,Yv=P,Kv="object"==typeof window,Xv=Yn,Zv=P,Jv=Z,Qv=Wh,ey=yt.exports,ty=yh,ny=Du,ry=Ir,oy=Uu,iy=Y,ay=Dr,cy=nh,ly=Et,uy=th,sy=zf,fy=fl,dy=wv.set,py=Dv,hy=function(e,t){if(Uv(e),Wv(t)&&t.constructor===e)return t;var n=qv.f(e);return(0,n.resolve)(t),n.promise},vy=function(e,t){var n=Yv.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},yy=Hv,my=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},gy=Gt,by=zn,wy=Kv,Oy=Cl,Ey=ie,_y=Ie("species"),xy="Promise",ky=gy.get,Sy=gy.set,jy=gy.getterFor(xy),Py=Qv&&Qv.prototype,Ty=Qv,Ly=Py,My=Zv.TypeError,Cy=Zv.document,Ny=Zv.process,Ay=yy.f,Ry=Ay,Iy=!!(Cy&&Cy.createEvent&&Zv.dispatchEvent),Dy="function"==typeof PromiseRejectionEvent,Hy=!1,Fy=by(xy,(function(){var e=ly(Ty),t=e!==String(Ty);if(!t&&66===Ey)return!0;if(Ey>=51&&/native code/.test(e))return!1;var n=new Ty((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[_y]=r,!(Hy=n.then((function(){}))instanceof r)||!t&&wy&&!Dy})),zy=Fy||!sy((function(e){Ty.all(e).catch((function(){}))})),By=function(e){var t;return!(!iy(e)||"function"!=typeof(t=e.then))&&t},Vy=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;py((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,c,l,u=n[i++],s=o?u.ok:u.fail,f=u.resolve,d=u.reject,p=u.domain;try{s?(o||(2===e.rejection&&Wy(e),e.rejection=1),!0===s?a=r:(p&&p.enter(),a=s(r),p&&(p.exit(),l=!0)),a===u.promise?d(My("Promise-chain cycle")):(c=By(a))?c.call(a,f,d):f(a)):d(r)}catch(e){p&&!l&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&Gy(e)}))}},$y=function(e,t,n){var r,o;Iy?((r=Cy.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),Zv.dispatchEvent(r)):r={promise:t,reason:n},!Dy&&(o=Zv["on"+e])?o(r):"unhandledrejection"===e&&vy("Unhandled promise rejection",n)},Gy=function(e){dy.call(Zv,(function(){var t,n=e.facade,r=e.value;if(Uy(e)&&(t=my((function(){Oy?Ny.emit("unhandledRejection",r,n):$y("unhandledrejection",n,r)})),e.rejection=Oy||Uy(e)?2:1,t.error))throw t.value}))},Uy=function(e){return 1!==e.rejection&&!e.parent},Wy=function(e){dy.call(Zv,(function(){var t=e.facade;Oy?Ny.emit("rejectionHandled",t):$y("rejectionhandled",t,e.value)}))},qy=function(e,t,n){return function(r){e(t,r,n)}},Yy=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,Vy(e,!0))},Ky=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw My("Promise can't be resolved itself");var r=By(t);r?py((function(){var n={done:!1};try{r.call(t,qy(Ky,n,e),qy(Yy,n,e))}catch(t){Yy(n,t,e)}})):(e.value=t,e.state=1,Vy(e,!1))}catch(t){Yy({done:!1},t,e)}}};if(Fy&&(Ly=(Ty=function(e){cy(this,Ty,xy),ay(e),Bv.call(this);var t=ky(this);try{e(qy(Ky,t),qy(Yy,t))}catch(e){Yy(t,e)}}).prototype,(Bv=function(e){Sy(this,{type:xy,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=ty(Ly,{then:function(e,t){var n=jy(this),r=Ay(fy(this,Ty));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Oy?Ny.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&Vy(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),Vv=function(){var e=new Bv,t=ky(e);this.promise=e,this.resolve=qy(Ky,t),this.reject=qy(Yy,t)},yy.f=Ay=function(e){return e===Ty||e===$v?new Vv(e):Ry(e)},"function"==typeof Qv&&Py!==Object.prototype)){Gv=Py.then,Hy||(ey(Py,"then",(function(e,t){var n=this;return new Ty((function(e,t){Gv.call(n,e,t)})).then(e,t)}),{unsafe:!0}),ey(Py,"catch",Ly.catch,{unsafe:!0}));try{delete Py.constructor}catch(e){}ny&&ny(Py,Ly)}Xv({global:!0,wrap:!0,forced:Fy},{Promise:Ty}),ry(Ty,xy,!1),oy(xy),$v=Jv(xy),Xv({target:xy,stat:!0,forced:Fy},{reject:function(e){var t=Ay(this);return t.reject.call(void 0,e),t.promise}}),Xv({target:xy,stat:!0,forced:Fy},{resolve:function(e){return hy(this,e)}}),Xv({target:xy,stat:!0,forced:zy},{all:function(e){var t=this,n=Ay(t),r=n.resolve,o=n.reject,i=my((function(){var n=ay(t.resolve),i=[],a=0,c=1;uy(e,(function(e){var l=a++,u=!1;i.push(void 0),c++,n.call(t,e).then((function(e){u||(u=!0,i[l]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=Ay(t),r=n.reject,o=my((function(){var o=ay(t.resolve);uy(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var Xy=Yn,Zy=sn,Jy=nn,Qy=an,em=we,tm=Gr,nm=Ri,rm=si("splice"),om=Math.max,im=Math.min;function am(e,t){var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,c=function(e,t){(t=t.toLowerCase())in l||(l[e]=(l[e]||[]).concat(t),l[t]=l[t.toUpperCase()]=e)},l=(r.create||r)(null),u={};for(n in e)for(i in e[n])for(o=e[n][i],l[i]=o,t=0;t<o.length;t++)l[o[t].toLowerCase()]=l[o[t].toUpperCase()]=i;return u.get=function(e){return"string"==typeof e?l[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in l)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return a.test(e)?c(e,t):c(t,e),u},u}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!==sa(t)&&(t={type:t||"auto"});var i,a,c,l,u,s,f,d,p,h="registerElement",v="__registerElement"+(1e5*e.Math.random()>>0),y="addEventListener",m="attached",g="Callback",b="detached",w="extends",O="attributeChangedCallback",E="createdCallback",_="ADDITION",x="MODIFICATION",k="REMOVAL",S="DOMAttrModified",j="DOMContentLoaded",P="<",T="=",L=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,M=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],C=[],N=[],A="",R=n.documentElement,I=C.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},D=r.prototype,H=D.hasOwnProperty,F=D.isPrototypeOf,z=r.defineProperty,B=[],V=r.getOwnPropertyDescriptor,$=r.getOwnPropertyNames,G=r.getPrototypeOf,U=r.setPrototypeOf,W=!!r.__proto__,q="__dreCEv1",Y=e.customElements,K=!/^force/.test(t.type)&&!!(Y&&Y.define&&Y.get&&Y.whenDefined),X=r.create||r,Z=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[I.call(t,e)]},set:function(r,o){(e=I.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},J=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},Q=!1,ee=X(null),te=X(null),ne=new Z,re=function(e){return e.toLowerCase()},oe=r.create||function e(t){return t?(e.prototype=t,new e):this},ie=U||(W?function(e,t){return e.__proto__=t,e}:$&&V?function(){function e(e,t){for(var n,r=$(t),o=0,i=r.length;o<i;o++)n=r[o],H.call(e,n)||z(e,n,V(t,n))}return function(t,n){do{e(t,n)}while((n=G(n))&&!F.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ae=e.MutationObserver||e.WebKitMutationObserver,ce=(e.HTMLElement||e.Element||e.Node).prototype,le=!F.call(ce,R),ue=le?function(e,t,n){return e[t]=n.value,e}:z,se=le?function(e){return 1===e.nodeType}:function(e){return F.call(ce,e)},fe=le&&[],de=ce.attachShadow,pe=ce.cloneNode,he=ce.dispatchEvent,ve=ce.getAttribute,ye=ce.hasAttribute,me=ce.removeAttribute,ge=ce.setAttribute,be=n.createElement,we=be,Oe=ae&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ee=ae||function(e){je=!1,R.removeEventListener(S,Ee)},_e=0,xe=h in n&&!/^force-all/.test(t.type),ke=!0,Se=!1,je=!0,Pe=!0,Te=!0;function Le(){var e=i.splice(0,i.length);for(_e=0;e.length;)e.shift().call(null,e.shift())}function Me(e,t){for(var n=0,r=e.length;n<r;n++)Be(e[n],t)}function Ce(e){return function(t){se(t)&&(Be(t,e),A.length&&Me(t.querySelectorAll(A),e))}}function Ne(e){var t=ve.call(e,"is"),n=e.nodeName.toUpperCase(),r=I.call(C,t?T+t.toUpperCase():P+n);return t&&-1<r&&!Ae(n,t)?-1:r}function Ae(e,t){return-1<A.indexOf(e+'[is="'+t+'"]')}function Re(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e.ADDITION||2,a=e.REMOVAL||3;!Te||o&&o!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t.attributeChangedCallback(r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Ie(e){var t=Ce(e);return function(e){i.push(t,e.target),_e&&clearTimeout(_e),_e=setTimeout(Le,1)}}function De(e){Pe&&(Pe=!1,e.currentTarget.removeEventListener(j,De)),A.length&&Me((e.target||n).querySelectorAll(A),e.detail===b?b:m),le&&function(){for(var e,t=0,n=fe.length;t<n;t++)e=fe[t],R.contains(e)||(n--,fe.splice(t--,1),Be(e,b))}()}function He(e,t){var n=this;ge.call(n,e,t),a.call(n,{target:n})}function Fe(e,t){ie(e,t),u?u.observe(e,Oe):(je&&(e.setAttribute=He,e[v]=l(e),e.addEventListener("DOMSubtreeModified",a)),e.addEventListener(S,Re)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function ze(e){throw new Error("A "+e+" type is already registered")}function Be(e,t){var n,r,o=Ne(e);-1<o&&(f(e,N[o]),o=0,t!==m||e.attached?t!==b||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",o=1):(e.detached=!1,e.attached=!0,r="connected",o=1,le&&I.call(fe,e)<0&&fe.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function Ve(){}function $e(e,t,r){var o=r&&r.extends||"",i=t.prototype,a=oe(i),c=t.observedAttributes||B,l={prototype:a};ue(a,E,{value:function(){if(Q)Q=!1;else if(!this[q]){this[q]=!0,new t(this),i.createdCallback&&i.createdCallback.call(this);var e=ee[ne.get(t)];(!K||e.create.length>1)&&We(this)}}}),ue(a,O,{value:function(e){-1<I.call(c,e)&&i.attributeChangedCallback.apply(this,arguments)}}),i.connectedCallback&&ue(a,"attachedCallback",{value:i.connectedCallback}),i.disconnectedCallback&&ue(a,"detachedCallback",{value:i.disconnectedCallback}),o&&(l.extends=o),e=e.toUpperCase(),ee[e]={constructor:t,create:o?[o,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),l),qe(e),te[e].r()}function Ge(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function Ue(e){return"string"==typeof e?e:e&&e.is||""}function We(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:B,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function qe(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new J((function(t){te[e].r=t}))),te[e].p}function Ye(){Y&&delete e.customElements,z(e,"customElements",{configurable:!0,value:new Ve}),z(e,"CustomElementRegistry",{configurable:!0,value:Ve});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[q]||(Q=!0,t=ee[ne.get(e.constructor)],(e=(o=K&&1===t.create.length)?Reflect.construct(r,B,t.constructor):n.createElement.apply(n,t.create))[q]=!0,Q=!1,o||We(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){z(r,q,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=Ue(t);return n?we.call(this,e,re(n)):we.call(this,e)},xe||(Se=!0,n.registerElement(""))}if(ae&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ae((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=V(ce,"innerHTML"))&&p.set;n&&z(ce,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),p=null})).observe(p,{childList:!0,subtree:!0}),p.innerHTML=""),xe||(U||W?(f=function(e,t){F.call(t,e)||Fe(e,t)},d=Fe):(f=function(e,t){e[v]||(e[v]=r(!0),Fe(e,t))},d=f),le?(je=!1,function(){var e=V(ce,y),t=e.value,n=function(e){var t=new CustomEvent(S,{bubbles:!0});t.attrName=e,t.prevValue=ve.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,me.call(this,e),he.call(this,t)},r=function(e,t){var n=ye.call(this,e),r=n&&ve.call(this,e),o=new CustomEvent(S,{bubbles:!0});ge.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o.ADDITION=o.attrChange=0,he.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[v],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(S,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,he.call(n,t))};e.value=function(e,i,a){e===S&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[v]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},z(ce,y,e)}()):ae||(R.addEventListener(S,Ee),R.setAttribute(v,1),R.removeAttribute(v),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[v],o[v]=n=l(o),n){if(!(r in t))return c(0,o,r,t[r],n[r],_);if(n[r]!==t[r])return c(1,o,r,t[r],n[r],x)}for(r in t)if(!(r in n))return c(2,o,r,t[r],n[r],k)}},c=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,Re(a)},l=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),ke&&(ke=!1,ae?(u=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ae((function(r){for(var o,i,a,c=0,l=r.length;c<l;c++)"childList"===(o=r[c]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Te&&i.attributeChangedCallback&&"style"!==o.attributeName&&(a=ve.call(i,o.attributeName))!==o.oldValue&&i.attributeChangedCallback(o.attributeName,o.oldValue,a))}))}(Ce(m),Ce(b)),s=function(e){return u.observe(e,{childList:!0,subtree:!0}),e},s(n),de&&(ce.attachShadow=function(){return s(de.apply(this,arguments))})):(i=[],n.addEventListener("DOMNodeInserted",Ie(m)),n.addEventListener("DOMNodeRemoved",Ie(b))),n.addEventListener(j,De),n.addEventListener("readystatechange",De),ce.cloneNode=function(e){var t=pe.call(this,!!e),n=Ne(t);return-1<n&&d(t,N[n]),e&&A.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],d(t,N[Ne(t)])}(t.querySelectorAll(A)),t}),Se)return Se=!1;if(-2<I.call(C,T+r)+I.call(C,P+r)&&ze(e),!L.test(r)||-1<I.call(M,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return l?n.createElement(f,r):n.createElement(f)},c=t||D,l=H.call(c,w),f=l?t.extends.toUpperCase():r;return l&&-1<I.call(C,P+f)&&ze(f),o=C.push((l?T:P)+r)-1,A=A.concat(A.length?",":"",l?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=N[o]=H.call(c,"prototype")?c.prototype:oe(ce),A.length&&Me(n.querySelectorAll(A),m),a},n.createElement=we=function(e,t){var r=Ue(t),o=r?be.call(n,e,re(r)):be.call(n,e),i=""+e,a=I.call(C,(r?T:P)+(r||i).toUpperCase()),c=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),c&&(c=Ae(i.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,c&&d(o,N[a]),o}),Ve.prototype={constructor:Ve,define:K?function(e,t,n){if(n)$e(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),Y.define(e,t)}}:$e,get:K?function(e){return Y.get(e)||Ge(e)}:Ge,whenDefined:K?function(e){return J.race([Y.whenDefined(e),qe(e)])}:qe},!Y||/^force/.test(t.type))Ye();else if(!t.noBuiltIn)try{!function(t,r,o){if(r.extends="a",(t.prototype=oe(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(o,t,r),ve.call(n.createElement("a",{is:o}),"is")!==o||K&&ve.call(new t,"is")!==o)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ye()}if(!t.noBuiltIn)try{be.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function cm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?cm(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):cm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function um(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}Xy({target:"Array",proto:!0,forced:!rm},{splice:function(e,t){var n,r,o,i,a,c,l=em(this),u=Qy(l.length),s=Zy(e,u),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=u-s):(n=f-2,r=im(om(Jy(t),0),u-s)),u+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=tm(l,r),i=0;i<r;i++)(a=s+i)in l&&nm(o,i,l[a]);if(o.length=r,n<r){for(i=s;i<u-r;i++)c=i+n,(a=i+r)in l?l[c]=l[a]:delete l[c];for(i=u;i>u-r+n;i--)delete l[i-1]}else if(n>r)for(i=u-r;i>s;i--)c=i+n-1,(a=i+r-1)in l?l[c]=l[a]:delete l[c];for(i=0;i<n;i++)l[i+s]=arguments[i+2];return l.length=u-r+n,o}});var sm=void 0!==S&&!1,fm=sm,dm="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],pm=function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.attributesExcludelist,c=void 0===a?["id"]:a;if(n||(n=r.displayName||r.name),-1===dm.indexOf(n)){if(dm.push(n),"undefined"==typeof document||"undefined"==typeof window)return null;fm||(fm=!0,am(window)),o&&(o=vm(o));var l=function(n){ua(a,qd(HTMLElement));var i=um(a);function a(t){var n;return oa(this,a),(n=i.call(this,t))._elementRef=e.createRef(),n._customMethods={},n._customEvents=[],n._isConnected=!1,n._props={},n}return aa(a,[{key:"connectedCallback",value:function(){this.updateChildren(),this.renderElement(),this._isConnected=!0}},{key:"attributeChangedCallback",value:function(e,t,n){return!(!this._isConnected||t===n)&&(this.renderElement(),n)}},{key:"disconnectedCallback",value:function(){sm||t.unmountComponentAtNode(this),this._children&&delete this._children,this._isConnected&&delete this._isConnected,this._elementRef&&delete this._elementRef,this._customMethods&&delete this._customMethods,this._customEvents&&delete this._customEvents,this._props=null,this._ref=null}},{key:"updateChildren",value:function(){this._children=[];var e,t,n=this.childNodes;for(e=n.length;e--;)(t=ym(n[e]))&&this._children.push(t)}},{key:"connectEvents",value:function(){for(var t={},n=this.attributes.length;n--;)t[this.attributes[n].name]=this.attributes[n].value;t.events&&(t.event=t.events,delete t.events);var r=[].concat(Wa(t.event?t.event.split(","):[]),Wa(Object.entries(t).map((function(e){var t=qa(e,2),n=t[0],r=t[1];return n&&/^(on_|on[A-Z]|render_)/.test(n)?n+"="+r:null})).filter(Boolean)));return r.length>0&&(r.forEach((function(n){var r=qa(n.split("="),2),o=r[0],i=r[1];o=gm[o]||o,t[o]=function(){try{var t=i.split("."),n=qa(t,2),r=n[0],a=n[1];a=a?window[r][a]:window[r];for(var c=arguments.length,l=new Array(c),u=0;u<c;u++)l[u]=arguments[u];var s=a.apply(r,[].concat(l));if(s instanceof HTMLElement){for(var f=[],d=s.childNodes,p=s.attributes,h={},v=d.length;v--;)f.push(ym(d[v]));for(var y=p.length;y--;)h[mm[p[y].name]||p[y].name]=p[y].value;var m=s.nodeName.toLowerCase();return s.remove(),e.createElement(m,h,f)}return s}catch(e){new Ep("The '".concat(o,"' event has failed. '").concat(i,"' has to exist on a 'window' scope!"),e)}}})),delete t.event),t}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=pa({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,o=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:o}),o}},{key:"removeEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._customEvents=this._customEvents.reduce((function(n,r){t?r.eventCallback!==t&&n.push(r):r.eventWrapper!==e&&n.push(r);return n}),[])}},{key:"fireEvent",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this._customEvents.forEach((function(n){var o=n.eventName,i=n.eventCallback;o===e&&"function"==typeof i&&i.apply(t,[].concat(r))}))}},{key:"renderElement",value:function(){var n=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var i in o=lm(lm(lm({},this._props),this.connectEvents()),o))"true"===o[i]?o[i]=!0:"false"===o[i]?o[i]=!1:void 0===o[i]||null===o[i]||isNaN(Number(o[i]))||(o[i]=Number(o[i]));for(var a=c.length;a--;)o[c[a]]&&this.removeAttribute(c[a]);return this._children&&this._children.length>0&&(o.children=this._children),this._elementRef&&(o.ref=this._elementRef),o.custom_element||(o.custom_element=this),o.custom_method||(o.custom_method=function(e,t){n[e]=n._customMethods[e]=t}),this._props=o,this._ref=e.createElement(r,o),t.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return o||[]}}]),a}();return window.customElements.define(n,l)}},hm=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},vm=function(e){return Array.isArray(e)?e.filter(hm):Object.entries(e||{}).reduce((function(e,t){var n=qa(t,1)[0];return e.push(n),e}),[]).filter(hm)},ym=function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(3===n.nodeType)return n.nodeValue;if(1!==n.nodeType)return null;var o=[],i={},a=0,c=n.attributes,l=n.childNodes;for(a=c.length;a--;)i[c[a].name]=c[a].value;for(a=l.length;a--;)o[a]=t(l[a]);return i.key="key".concat(1e3*Math.random()),e.createElement(r||n.nodeName.toLowerCase(),i,o)},mm={class:"className",for:"htmlFor"},gm={onclick:"onClick"};function bm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wm(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bm(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Om;Gd.specificKeys([9]),Om=function e(){if("undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!=typeof navigator){try{"undefined"!=typeof window&&window.IS_TEST?document.documentElement.setAttribute("data-os","other"):null!==navigator.platform.match(new RegExp("Mac|iPad|iPhone|iPod"))?document.documentElement.setAttribute("data-os","mac"):null!==navigator.platform.match(new RegExp("Win"))?document.documentElement.setAttribute("data-os","win"):null!==navigator.platform.match(new RegExp("Linux"))&&document.documentElement.setAttribute("data-os","linux")}catch(e){Lm(e)}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Om):Om();var Em=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===sa(n)&&Object.entries(n).forEach((function(e){var n=qa(e,2),r=n[0],o=n[1];ha(t,pa({},r,o))})),delete t.attributes)}if(null!==t.disabled&&"false"!==t.disabled||delete t.disabled,void 0!==t.space&&delete t.space,void 0!==t.top&&delete t.top,void 0!==t.right&&delete t.right,void 0!==t.bottom&&delete t.bottom,void 0!==t.left&&delete t.left,void 0!==t.no_collapse?delete t.no_collapse:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var r=e.tabindex;"off"===r&&(r="-1"),t.tabIndex=r}if(t&&"object"===sa(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},_m=function e(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r[0];return!0!==i&&!1!==i||(r.shift(),i&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=ha(t,Object.entries(n).reduce((function(n,r){var o=qa(r,2),i=o[0],a=o[1];return null!==a&&("object"===sa(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(n[i]=a)):n[i]=a),n}),{}))),t}),t)},xm=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=r.reduce((function(e,t){return t&&(e=wm(wm({},e),t)),e}),{});return wm(wm({},e),Object.entries(i).reduce((function(n,r){var o=qa(r,2),i=o[0],a=o[1];return void 0!==e[i]&&e[i]===t[i]&&(n[i]=a),n}),{}))},km=function(e){return null!=e&&("true"===String(e)||"1"===String(e))};!function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};oa(this,e),pa(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(Sm(o))return;for(var i,a=0,c=n.length;a<c;++a)if(i=o,n[a])do{if(i===n[a])return;i=i&&i.parentNode}while(i);"function"==typeof r&&r()}catch(e){Lm(e)}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){r.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof n&&n({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===Vd(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=Vd(e);o.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}aa(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}])}();var Sm=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&jm(e)},jm=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},Pm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+Tm++).slice(-t)},Tm=0,Lm=function(){};function Mm(t){var n=t;if(t&&t.current&&!e.isValidElement(t.current)&&t.current._ref){var r=Mm(t.current._ref);r&&Object.prototype.hasOwnProperty.call(r,"current")&&(n=r)}return n}function Cm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Nm("aria-describedby",t)}function Nm(e,t){return""===(t=(t=t.map((function(n){return n&&t.includes(n[e])?null:(n&&void 0!==n[e]&&(n=n[e]),"string"!=typeof n&&(n=null),n)}))).filter(Boolean).join(" "))&&(t=void 0),t}!function(){function e(){return oa(this,e),this.bypassElement=null,this.bypassSelectors=[],this}aa(e,[{key:"setBypassElement",value:function(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}},{key:"setBypassSelector",value:function(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}},{key:"activate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.nodesToInvalidate||this._runInvalidaiton(e)}},{key:"revert",value:function(){this._revertInvalidation(),this.nodesToInvalidate=null}},{key:"_runInvalidaiton",value:function(e){"undefined"!=typeof document&&(this.nodesToInvalidate=this.getNodesToInvalidate(e),Array.isArray(this.nodesToInvalidate)&&this.nodesToInvalidate.forEach((function(e){try{e&&void 0===e._orig_tabindex&&e.hasAttribute("tabindex")&&(e._orig_tabindex=e.getAttribute("tabindex")),e&&void 0===e._orig_ariahidden&&e.hasAttribute("aria-hidden")&&(e._orig_ariahidden=e.getAttribute("aria-hidden")),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true")}catch(e){}})))}},{key:"_revertInvalidation",value:function(){this.nodesToInvalidate&&this.nodesToInvalidate.forEach((function(e){try{e&&void 0!==e._orig_tabindex?(e.setAttribute("tabindex",e._orig_tabindex),e._orig_tabindex=null,delete e._orig_tabindex):e.removeAttribute("tabindex"),e&&void 0!==e._orig_ariahidden?(e.setAttribute("aria-hidden",e._orig_ariahidden),e._orig_ariahidden=null,delete e._orig_ariahidden):e.removeAttribute("aria-hidden")}catch(e){}}))}},{key:"getNodesToInvalidate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"!=typeof document){"string"==typeof e&&(e=document.querySelector(e));var t=this.bypassSelectors&&this.bypassSelectors.length>0?Array.from((this.bypassElement||document).querySelectorAll(this.bypassSelectors?this.bypassSelectors.map((function(e){return"".concat(e," *")})).join(", "):"*")):[],n=e?"*":"html *",r=this.bypassSelectors.map((function(e){return":not(".concat(e,")")})).join(""),o="".concat(n," ").concat(r,":not(script):not(style):not(path)");return Array.from((e||document.documentElement).querySelectorAll(o)).filter((function(e){return!t.includes(e)}))}}}])}();var Am={space:Ba.oneOfType([Ba.string,Ba.number,Ba.bool,Ba.shape({top:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),right:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),bottom:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),left:Ba.oneOfType([Ba.string,Ba.number,Ba.bool])})]),top:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),right:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),bottom:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),left:Ba.oneOfType([Ba.string,Ba.number,Ba.bool])},Rm={"xx-small":.25,"x-small":.5,small:1,medium:1.5,large:2,"x-large":3,"xx-large":3.5,"xx-large-x2":7},Im=function(e){if("string"==typeof e)e=e.split(/ /g);else{if("boolean"==typeof e)return["small"];if("number"==typeof e)return[e]}return e?e.filter((function(e){return e&&e.length>0})):null},Dm=function(e){return Im(e).map((function(e){return function(e){return/-x2$/.test(e)?2*Rm[e.replace(/-x2$/,"")]:Rm[e]||0}(e)})).reduce((function(e,t){return t>0?e+=t:t<0&&(e-=t),e}),0)},Hm=function(e){return"number"==typeof e&&(e=String(e)),(Im(e)||[]).reduce((function(e,t){if(t){var n=t[0];if(parseFloat(n)>-1){var r=parseFloat(t);r>=8&&/[0-9]px/.test(t)&&(r/=16);var o=Fm(r);o?t=o:zm(r).forEach((function(t){t&&e.push(t)}))}parseFloat(t)>0||e.push(t)}return e}),[])},Fm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnObject,r=void 0!==n&&n,o=Object.entries(Rm).find((function(t){var n=qa(t,2),r=n[0],o=n[1];return r&&o===e}))||null;return r?o:o?o[0]:o},zm=function e(t){var n=[],r=Object.entries(Rm).reverse().find((function(e){var n=qa(e,2),r=n[0],o=n[1];return r&&t>=o})),o=r&&r[1]||t,i=Fm(o,{returnObject:!0});if(i){var a=i[0];n.push(a);var c=e(t-parseFloat(i[1]));c.forEach((function(e){var t=n.indexOf(e);-1!==t&&(n[t]="".concat(e,"-x2"))})),n=[].concat(Wa(n),Wa(c))}return n},Bm=function(e){return e&&["top","right","bottom","left"].includes(e)},Vm=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(void 0!==e.space){for(var n in("string"==typeof e.space||"number"==typeof e.space||"boolean"==typeof e.space&&e.space)&&(e.top=e.right=e.bottom=e.left=e.space),e.space)!e[n]&&Bm(n)&&(e[n]=e.space[n]);delete e.space}return Object.entries(e).reduce((function(e,n){var r=qa(n,2),o=r[0],i=r[1];if(Bm(o)){if("0"===String(i)||"false"===String(i))e.push("dnb-space__".concat(o,"--zero"));else if(i){var a=Hm(i),c=Dm(a);if(c>10)Lm("Spacing of more than 10rem is not supported! You used ".concat(c," / (").concat(a.join(","),")"));else{var l=zm(c);e=[].concat(Wa(e),Wa(l.map((function(e){return"dnb-space__".concat(o,"--").concat(e)}))))}}}else"no_collapse"===o&&(e.push("dnb-space--no-collapse"),t&&$m(t)&&e.push("dnb-space--inline"));return e}),[])},$m=function(e){var t=!1;switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"p":t=!0}return t};function Gm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Um(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gm(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wm=Um(Um({},{"nb-NO":{DatePicker:{day:"dag",month:"måned",year:"år",start:"fra",end:"til",selected_date:"Valgt dato: %s",selected_month:"Valgt måned %s",selected_year:"Valgt år %s",next_month:"Neste måned %s",prev_month:"Forrige måned %s",next_year:"Neste år %s",prev_year:"Forrige år %s",open_picker_text:"åpne datovelger",mask_order:"dd/mm/yyyy",mask_placeholder:"dd.mm.åååå",date_format:"yyyy-MM-dd",return_format:"yyyy-MM-dd",submit_button_text:"Ok",cancel_button_text:"Avbryt",reset_button_text:"Tilbakestill"},Anchor:{target_blank_title:"Åpner et nytt vindu"},GlobalStatus:{default_title:"En feil har skjedd",close_text:"Lukk",status_anchor_text:"Gå til %s"},GlobalError:{404:{title:"Oisann! Vi finner ikke siden du leter etter …",text:"Sikker på at du har skrevet riktig adresse? Eller har vi rotet med lenkene? Prøv på nytt, eller [gå tilbake der du kom fra](/back).",alt:"Dame søker i tom eske"},500:{title:"Oops, her ble det en teknisk feil!",text:"Tjenesten fungerer ikke slik den skal for øyeblikket, men prøv igjen senere.",alt:"Mann leter etter spor"}},ProgressIndicator:{indicator_label:"Vennligst vent ..."},Dropdown:{title:"Valgmeny"},Autocomplete:{title:"Skriv og velg",submit_button_title:"Vis alternativer",no_options:"Ingen alternativer",show_all:"Vis alt",aria_live_options:"%s alternativer",indicator_label:"Henter data ..."},Modal:{dialog_title:"Separat Vindu",close_title:"Lukk"},NumberFormat:{clipboard_copy:"Kopiert"},HelpButton:{title:"Hjelpetekst",aria_role:"Hjelp-knapp"},Input:{submit_button_title:"Send knapp",clear_button_title:"Nullstill",show_password:"Vis passord",hide_password:"Skjul passord"},Pagination:{button_title:"Side %s",next_title:"Neste side",prev_title:"Forrige side",more_pages:"%s flere sider",is_loading_text:"Laster nytt innhold",load_button_text:"Vis mer innhold"},Skeleton:{aria_busy:"Behandler data ...",aria_ready:"Klar til å samhandle"},StepIndicator:{overview_title:"Stegoversikt",step_title_extended:"Du er på steg %step av %count",step_title:"Steg %step av %count"},Slider:{add_title:"Øk (%s)",subtract_title:"Reduser (%s)"},PaymentCard:{text_card_number:"Kortnummer",text_expired:"Utgått",text_blocked:"Sperret"},Logo:{alt:"DNB Logo"}}}),{"en-GB":{DatePicker:{day:"Day",month:"Month",year:"Year",start:"from",end:"to",selected_date:"Selected date: %s",selected_month:"Selected month %s",selected_year:"Selected year %s",next_month:"Next month %s",prev_month:"Previous month %s",next_year:"Next year %s",prev_year:"Previous year %s",open_picker_text:"Open date picker",mask_order:"dd/mm/yyyy",mask_placeholder:"dd/mm/yyyy",date_format:"yyyy-MM-dd",return_format:"yyyy-MM-dd",submit_button_text:"OK",cancel_button_text:"Cancel",reset_button_text:"Reset"},Anchor:{target_blank_title:"Opens a new Window"},GlobalStatus:{default_title:"An error has occurred",close_text:"Close",status_anchor_text:"Go to %s"},GlobalError:{404:{title:"Oops! We can't find the page you're looking for …",text:"Did we messed with the links? Try again, or [go back where you came from](/back).",alt:"Lady searching in empty box"},500:{title:"Ohh, a technical error happened!",text:"The service is not working properly at the moment, but try again later.",alt:"Man looking for clues"}},ProgressIndicator:{indicator_label:"Please wait ..."},Dropdown:{title:"Option Menu"},Autocomplete:{title:"Type and select",submit_button_title:"Show options",no_options:"No option",show_all:"Show everything",aria_live_options:"%s options",indicator_label:"Getting data ..."},Modal:{dialog_title:"Dialog Window",close_title:"Close"},NumberFormat:{clipboard_copy:"Copied"},HelpButton:{title:"Help text",aria_role:"Help button"},Skeleton:{aria_busy:"In progress ...",aria_ready:"Ready to interact"},Input:{submit_button_title:"Submit button",clear_button_title:"Clear value",show_password:"Show password",hide_password:"Hide password"},Pagination:{button_title:"Page %s",next_title:"Next page",prev_title:"Previous page",more_pages:"%s more pages",is_loading_text:"Loading new content",load_button_text:"Show more content"},StepIndicator:{overview_title:"Steps Overview",step_title_extended:"You are on step %step of %count",step_title:"Step %step of %count"},Slider:{add_title:"Increase (%s)",subtract_title:"Decrease (%s)"},PaymentCard:{text_card_number:"Card number",text_expired:"Expired",text_blocked:"Blocked"},Logo:{alt:"DNB Logo"}}});function qm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ym(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qm(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Km(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var Xm=e.createContext(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?_m(Wm,e.locales):Wm;e.__newContext&&(ha(e,e.__newContext),delete e.__newContext);var n=Km(e.locale||"nb-NO",t),r=t[n]||Wm["nb-NO"]||{};t[n]&&(t[n]=Jm(t[n],r));var o=Ym(Ym({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==n)return o.locales[t]}return o.translation},locales:t},e),{},{translation:r});return o}({locale:"nb-NO",currency:"NOK",currency_display:"code"})),Zm=Xm;function Jm(e,t){for(var n in e)if(String(n).includes(".")){var r=n.split(".");t[r[0]]&&function(){var t=e[n],o=r.length-1;r.forEach((function(n,r){e[n]=r===o?t:e[n],e=e[n]||{}}))}()}return e}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=k(a,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=s(e,t,n);if("normal"===l.type){if(r=n.done?h:d,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function y(){}function m(){}function g(){}var b={};l(b,i,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==n&&r.call(O,i)&&(b=O);var E=g.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:t,done:!0}}return m.prototype=g,l(E,"constructor",g),l(g,"constructor",m),m.displayName=l(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,c,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},_(x.prototype),l(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(E),l(E,c,"Generator"),l(E,i,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,P.prototype={constructor:P,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(j),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var Qm,eg,tg,ng,rg,og,ig,ag=!1;ag="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(Qm=navigator)||void 0===Qm?void 0:Qm.userAgent),"undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(eg=navigator)||void 0===eg?void 0:eg.platform),"undefined"!=typeof navigator&&/safari/i.test(null===(tg=navigator)||void 0===tg?void 0:tg.userAgent)&&/chrome/i.test(null===(ng=navigator)||void 0===ng?void 0:ng.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(rg=navigator)||void 0===rg?void 0:rg.platform),"undefined"!=typeof navigator&&new RegExp("Mac|iPad|iPhone|iPod","i").test(null===(og=navigator)||void 0===og?void 0:og.platform),"undefined"!=typeof navigator&&new RegExp("Linux","i").test(null===(ig=navigator)||void 0===ig?void 0:ig.platform);var cg=["className","children","__element","style"];function lg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ug(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var fg=function(t){ua(r,e.PureComponent);var n=sg(r);function r(){return oa(this,r),n.apply(this,arguments)}return aa(r,[{key:"render",value:function(){var t=this.props,n=t.className,r=t.children,o=t.__element,i=t.style,a=ra(t,cg),c=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;Array.isArray(t)||(t=[t]);var r=function t(r){if(e.isValidElement(r))if("string"==typeof r.props.children)r=r.props.children.trim();else{if(!Array.isArray(r.props.children))return null;r=r.props.children.reduce((function(e,r){return"string"!=typeof r&&(r=t(r)),"string"==typeof r&&(e=(e+(n||"")+r).trim()),e}),"")}return r};return t.map((function(e){return r(e)})).filter(Boolean).join(n).trim()}(r);if("string"==typeof c){var l=c.trim().length;if(l>0)return e.createElement(o,ug({className:$a("dnb-skeleton dnb-skeleton--font",n),"data-skeleton-chars":String(l),style:ug(ug({},i||{}),{},pa({},ag?"maxWidth":"--skeleton-chars","".concat(l,"ch")))},a),r)}return e.createElement(o,ha({},a,{className:n,style:i}))}}]),r}();pa(fg,"defaultProps",{__element:null,children:null,className:null,style:null});var dg=["className","class","internalClass","css","is","inner_ref","skeleton","skeleton_method"];function pg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var hg=e.forwardRef((function(t,n){return e.createElement(vg,ha({inner_ref:n},t))}));hg.defaultProps={is:null,skeleton:null,skeleton_method:"font",className:null,class:null,internalClass:null,css:null,children:null};var vg=function(t){ua(r,e.PureComponent);var n=pg(r);function r(){return oa(this,r),n.apply(this,arguments)}return aa(r,[{key:"render",value:function(){var t=this.context?xm(this.props,hg.defaultProps,{skeleton:this.context.skeleton},this.context.FormRow):this.props,n=t.className,r=t.class,o=t.internalClass,i=t.css,a=t.is,c=t.inner_ref,l=t.skeleton,u=t.skeleton_method,s=ra(t,dg),f=o||("string"==typeof a?"dnb-".concat(a):"");return s.className=$a(n,r,i,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return km(t)||!1!==t&&null!=n&&n.skeleton?$a(r,"dnb-skeleton",e&&"dnb-skeleton--".concat(e)):r}(u,l,this.context),Vm(s,"string"==typeof a?"dnb-".concat(a):null),!new RegExp("".concat(f,"(\\s|$)")).test(String(n))&&f),Em(null,s),function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(km(t)||!1!==t&&null!=o&&o.skeleton)&&(e.disabled=!0,e["aria-disabled"]=!0,e["aria-label"]=null==o||null===(n=o.translation)||void 0===n||null===(r=n.Skeleton)||void 0===r?void 0:r.aria_busy)}(s,l,this.context),"function"!=typeof a&&c&&(s.ref=c),e.createElement(a,s)}}]),r}();pa(vg,"contextType",Zm),pa(vg,"defaultProps",hg.defaultProps);var yg=hg;function mg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function gg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var bg,wg=function(t){ua(r,e.PureComponent);var n=gg(r);function r(){var t;oa(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return pa(ca(t=n.call.apply(n,[this].concat(i))),"_rootRef",e.createRef()),pa(ca(t),"offset",16),pa(ca(t),"state",{hide:null,hover:null,width:0,height:0}),pa(ca(t),"handleMouseEnter",(function(){km(t.props.active)&&t.props.useHover&&t.setState({hover:!0})})),pa(ca(t),"handleMouseLeave",(function(){t.props.useHover&&t.setState({hover:!1})})),t}return aa(r,[{key:"componentDidMount",value:function(){km(this.props.active)&&this.updateSize(),this.addPositionObserver()}},{key:"componentDidUpdate",value:function(e){this.props!==e&&this.updateSize()}},{key:"componentWillUnmount",value:function(){this.removePositionObserver()}},{key:"addPositionObserver",value:function(){var e=this;if(!this.resizeObserver&&"undefined"!=typeof document)try{this.resizeObserver=new ResizeObserver((function(t){clearTimeout(e._ddt),e._ddt=setTimeout((function(){e.setState({w:t[0].contentRect.width,h:t[0].contentRect.height})}),30)})),this.resizeObserver.observe(document.body)}catch(e){}}},{key:"removePositionObserver",value:function(){clearTimeout(this._ddt),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"getGlobalStyle",value:function(){return this.props.targetElement?this.makeStyle(this.props.position,this.props.arrow):{display:"none"}}},{key:"makeStyle",value:function(e,t){var n=this;if("undefined"==typeof window)return{};var r=0;try{var o=this.props,i=o.targetElement,a=o.align,c=o.fixed_position,l=o.clientX,u=i.getBoundingClientRect(),s={width:i.offsetWidth,height:i.offsetHeight};i.offsetHeight||(s.width=u.width,s.height=u.height);var f=void 0!==window.scrollY?window.scrollY:window.pageYOffset,d=void 0!==window.scrollX?window.scrollX:window.pageXOffset,p=(km(c)?0:f)+u.top,h=s.width>400,v=l-function(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}(i)+u.left/2+(this._rootRef.current?this._rootRef.current.offsetWidth:0),y=d+u.left,m=h&&v<s.width?v:y,g=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.style);"left"===a?r=-s.width/2:"right"===a&&(r=s.width/2);var b={left:function(){g.top=p+s.height/2-n.state.height/2,g.left=m-n.state.width-n.offset},right:function(){g.top=p+s.height/2-n.state.height/2,g.left=m+s.width+n.offset},top:function(){g.left=m-n.state.width/2+s.width/2+r,g.top=p-n.state.height-n.offset},bottom:function(){g.left=m-n.state.width/2+s.width/2+r,g.top=p+s.height+n.offset}},w={left:function(){g.left=m+s.width/2-n.offset+r},right:function(){g.left=m-n.state.width+s.width/2+n.offset+r},top:function(){g.top=p+s.height/2-n.offset},bottom:function(){g.top=p+s.height/2-n.state.height+n.offset}};return b[e]&&b[e](),w[t]&&w[t](),g}catch(e){return{}}}},{key:"checkWindowPosition",value:function(e){if(e.left<0)e.left=this.offset;else try{e.left+this.state.width-window.innerWidth>0&&(e.left=window.innerWidth-this.state.width-this.offset)}catch(e){}return e}},{key:"updateSize",value:function(){try{this.state.height||(this._rootRef.current.style.left="");var e=this._rootRef.current.offsetWidth,t=this._rootRef.current.offsetHeight;e===this.state.width&&t===this.state.height||this.setState({width:e,height:t})}catch(e){}}},{key:"render",value:function(){var t=this.props,n=t.internal_id,r=t.active,o=t.attributes,i=t.arrow,a=t.position,c=t.animate_position,l=t.fixed_position,u=t.no_animation,s=t.children,f=this.state,d=f.hover,p=f.hide,h=km(r)||d;return h&&(this._style=this.checkWindowPosition(this.getGlobalStyle())),e.createElement("span",ha({role:"tooltip","aria-hidden":!0,style:this._style,ref:this._rootRef,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},o,{className:$a(o.className,h?"dnb-tooltip--active":p&&"dnb-tooltip--hide",km(c)&&"dnb-tooltip--animate_position",km(u)&&"dnb-tooltip--no-animation",km(l)&&"dnb-tooltip--fixed")}),i&&e.createElement("span",{className:"dnb-tooltip__arrow dnb-tooltip__arrow__arrow--".concat(i," dnb-tooltip__arrow__position--").concat(a)}),e.createElement("span",{id:n,className:"dnb-tooltip__content"},s))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!t.leaveInDOM||e.active||t.hover||(t.hide=!0),(e.active||t.hover)&&(t.leaveInDOM=!0,t.hide=!1),t}}]),r}();function Og(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}pa(wg,"defaultProps",{internal_id:null,targetElement:null,clientX:null,active:!1,position:"center",arrow:null,align:null,animate_position:null,fixed_position:null,no_animation:null,useHover:!0,style:null,attributes:null,children:null}),"undefined"!=typeof window?(window.tooltipPortal=window.tooltipPortal||{},bg=window.tooltipPortal):bg={};var Eg=function(n){ua(o,e.PureComponent);var r=Og(o);function o(){var n;oa(this,o);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return pa(ca(n=r.call.apply(r,[this].concat(a))),"state",{isMounted:!1}),pa(ca(n),"init",(function(){var e=n.props,t=e.group,r=e.active;bg[t]=bg[t]||{},bg[t].node||(bg[t].node=n.useRootElement()),n.setState({isMounted:!0,active:r},(function(){n.isMainGorup()||n.renderPortal()}))})),pa(ca(n),"renderPortal",(function(){var r=n.getTargetElement(),o=n.props.group;if(bg[o].timeout&&clearTimeout(bg[o].timeout),n.handleAria(r),n.isMainGorup())return t.createPortal(e.createElement(wg,ha({targetElement:r},n.props,{active:n.state.active})),bg[o].node);t.render(e.createElement(wg,ha({targetElement:r},n.props,{active:n.state.active})),bg[o].node)})),n}return aa(o,[{key:"componentDidMount",value:function(){"complete"===document.readyState?this.init():"undefined"!=typeof window&&window.addEventListener("load",this.init)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.group,o=n.active,i=n.hide_delay;bg[r]&&o!==e.active&&(o&&!e.active?this.setState({active:!0},(function(){t.isMainGorup()||t.renderPortal()})):!o&&e.active&&(bg[r].timeout=setTimeout((function(){t.setState({active:!1},(function(){t.isMainGorup()||t.renderPortal()}))}),parseFloat(i))))}},{key:"isMainGorup",value:function(){return"main"===this.props.group}},{key:"componentWillUnmount",value:function(){var e=this.props.group;if(bg[e]){this.isMainGorup()||t.unmountComponentAtNode(bg[e].node),clearTimeout(bg[e].timeout);try{document.body.removeChild(bg[e].node)}catch(e){}bg[e]=null}}},{key:"getTargetElement",value:function(){if("undefined"!=typeof document){var e=this.props.target;return"string"==typeof e?"undefined"!=typeof document&&document.querySelector(e):e}}},{key:"useRootElement",value:function(){if("undefined"!=typeof document)try{var e=document.createElement("div");return e.classList.add("dnb-tooltip__portal"),e.classList.add("dnb-core-style"),document.body.appendChild(e),e}catch(e){Lm(e)}}},{key:"handleAria",value:function(e){try{if(!e.classList.contains("dnb-tooltip__wrapper")){var t={"aria-describedby":e.getAttribute("aria-describedby")};e.setAttribute("aria-describedby",Cm(t,this.props.internal_id))}}catch(e){}}},{key:"render",value:function(){return this.state.isMounted&&this.isMainGorup()?this.renderPortal():null}}]),o}();pa(Eg,"defaultProps",{internal_id:null,active:!1,group:"main",hide_delay:500});var _g=["children","target"];function xg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Sg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var jg=function(t){ua(r,e.PureComponent);var n=Sg(r);function r(t){var o;return oa(this,r),pa(ca(o=n.call(this,t)),"state",{isActive:!1,isNotSemanticElement:!1}),pa(ca(o),"handleSemanticElement",(function(){try{var e=document.querySelector('*[aria-describedby*="'.concat(o.props.internal_id,'"]'));if(e){var t=e.getAttribute("role");!/div|p|span/i.test(null==e?void 0:e.tagName)||t&&"text"!==t||o.setState({isNotSemanticElement:!0})}}catch(e){Lm(e)}})),pa(ca(o),"addEvents",(function(){var e=Mm(o._ref).current;try{e.addEventListener("click",o.onMouseLeave),e.addEventListener("focus",o.onFocus),e.addEventListener("blur",o.onMouseLeave),e.addEventListener("mouseenter",o.onMouseEnter),e.addEventListener("mouseleave",o.onMouseLeave),e.addEventListener("touchstart",o.onMouseEnter),e.addEventListener("touchend",o.onMouseLeave)}catch(e){Lm(e)}})),pa(ca(o),"isTouch",(function(e){return/touch/i.test(e.type)})),pa(ca(o),"onFocus",(function(e){try{if("keyboard"===document.documentElement.getAttribute("data-whatintent"))return o.onMouseEnter(e)}catch(e){Lm(e)}})),pa(ca(o),"onMouseEnter",(function(e){try{if(o.isTouch(e))e.currentTarget.style.userSelect="none"}catch(e){Lm(e)}clearTimeout(o._onEnterTimeout),o._onEnterTimeout=setTimeout((function(){o.setState({isActive:!0,clientX:e.clientX})}),"undefined"==typeof window||window.IS_TEST?1:parseFloat(o.props.show_delay)||1)})),pa(ca(o),"onMouseLeave",(function(e){try{if(o.isTouch(e))e.currentTarget.style.userSelect=""}catch(e){Lm(e)}clearTimeout(o._onEnterTimeout),o.setState({isActive:!1})})),o._ref=Object.prototype.hasOwnProperty.call(t.target,"current")?t.target:e.createRef(),o}return aa(r,[{key:"componentDidMount",value:function(){var e=this;this.setState({_isMounted:!0},(function(){e.addEvents(),e.handleSemanticElement()}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this._onEnterTimeout);var e=Mm(this._ref).current;if(e)try{e.removeEventListener("click",this.onMouseLeave),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onMouseLeave),e.removeEventListener("mouseenter",this.onMouseEnter),e.removeEventListener("mouseleave",this.onMouseLeave),e.removeEventListener("touchstart",this.onMouseEnter),e.removeEventListener("touchend",this.onMouseLeave)}catch(e){Lm(e)}}},{key:"render",value:function(){var t=this.props,n=t.children,r=t.target,o=ra(t,_g),i=null;if(e.isValidElement(r)){var a=this.state.isNotSemanticElement?function(e){return e.tabIndex="0",e.className=$a("dnb-tooltip__wrapper dnb-tab-focus",e.className),e}({className:o.className}):{};i=e.cloneElement(r,kg(kg({ref:this._ref},a),{},{"aria-describedby":Cm(r.props,this.props.internal_id)}))}return e.createElement(e.Fragment,null,i,this.state._isMounted&&e.createElement(Eg,ha({key:"tooltip",active:this.state.isActive,target:Mm(this._ref).current,clientX:this.state.clientX},o),n))}}]),r}();pa(jg,"defaultProps",{internal_id:null,show_delay:1,target:null,children:null});var Pg=["target_element","target_selector","class","className","id","tooltip","group","size","animate_position","fixed_position","no_animation","show_delay","hide_delay","active","position","arrow","align"];function Tg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Mg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var Cg=function(t){ua(o,e.PureComponent);var r=Mg(o);function o(e){var t;return oa(this,o),(t=r.call(this,e))._id=e.id||Pm(),t}return aa(o,[{key:"getPropsFromTooltipProp",value:function(){return this.props.tooltip?e.isValidElement(this.props.tooltip)&&this.props.tooltip.props?this.props.tooltip.props:{children:this.props.tooltip}:null}},{key:"render",value:function(){var t=this.getPropsFromTooltipProp(),n=xm(this.props,o.defaultProps,t,this.context.getTranslation(this.props).Tooltip,this.context.FormRow,this.context.Tooltip),r=n.target_element,i=n.target_selector,a=n.class,c=n.className;n.id,n.tooltip;var l=n.group,u=n.size;n.animate_position,n.fixed_position,n.no_animation,n.show_delay,n.hide_delay,n.active,n.position,n.arrow,n.align;var s=ra(n,Pg),f=o.getContent(n),d=Lg({className:$a("dnb-tooltip",Vm(n),a,c,"large"===u&&"dnb-tooltip--large")},s);Em(this.props,d);var p=Lg(Lg(Lg({},this.props),t),{},{internal_id:this._id,group:this.props.id||l});return null===p.active&&delete p.active,e.createElement(e.Fragment,null,r?e.createElement(jg,ha({target:r,attributes:d},p),f):i&&e.createElement(Eg,ha({target:i,attributes:d},p),f))}}],[{key:"enableWebComponent",value:function(){pm(null==o?void 0:o.tagName,o,o.defaultProps)}},{key:"getContent",value:function(t){return function(t){if(!t)return null;if(void 0!==n&&Array.isArray(n.registeredElements)&&n.registeredElements.length>0){var r=null;if(Object.entries(t).reverse().map((function(n){var o=qa(n,2),i=o[0],a=o[1];return i.includes("render_")&&/^render_/.test(i)&&"function"==typeof a?(r&&(Object.isFrozen(t)&&(t=wm({},t)),t.children=r),r=e.createElement(e.Fragment,{key:i},a(t))):null})).filter(Boolean),r)return r}var o="function"==typeof t.children?t.children(t):t.children;if(Array.isArray(o)){var i=o.reduce((function(e,t){return"string"!=typeof t&&"number"!=typeof t||e.push(t),e}),[]);if(i.length===o.length&&i.length>0)return i.join("")}return o}(t)}}]),o}();pa(Cg,"tagName","dnb-tooltip"),pa(Cg,"contextType",Zm),pa(Cg,"defaultProps",{id:null,group:"main",size:"basis",active:null,position:"top",arrow:"center",align:null,animate_position:!1,fixed_position:!1,no_animation:!1,show_delay:300,hide_delay:500,target_selector:null,target_element:null,class:null,className:null,children:null,tooltip:null});var Ng=["element","className","children","tooltip","omitClass","inner_ref"];function Ag(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var Rg=e.forwardRef((function(t,n){return e.createElement(Ig,ha({inner_ref:n},t))}));Rg.defaultProps={element:null,href:null,to:null,omitClass:null,target_blank_title:null,target:null,className:null,tooltip:null,children:null};var Ig=function(t){ua(r,e.PureComponent);var n=Ag(r);function r(t){var o;return oa(this,r),pa(ca(o=n.call(this,t)),"state",{}),o._id=t.id||"id"+Pm(),o._ref=t.inner_ref||e.createRef(),o}return aa(r,[{key:"render",value:function(){var t=xm(this.props,Rg.defaultProps,{skeleton:this.context&&this.context.skeleton},this.context.getTranslation(this.props).Anchor,this.context.Anchor),n=t.element,r=t.className,o=t.children,i=t.tooltip,a=t.omitClass;t.inner_ref;var c=ra(t,Ng),l="_blank"===t.target&&!t.title;return c.className=$a(r,!0!==a&&"dnb-anchor","_blank"===t.target&&"string"!=typeof o&&"dnb-anchor--no-icon"),e.createElement(e.Fragment,null,e.createElement(yg,ha({is:n||"a"},c,{inner_ref:this._ref}),o),l&&e.createElement(Cg,{show_delay:100,id:this._id+"-tooltip",target_element:this._ref,tooltip:i},t.title||t.target_blank_title))}}]),r}();pa(Ig,"contextType",Zm),pa(Ig,"tagName","dnb-anchor"),pa(Ig,"defaultProps",Rg.defaultProps);var Dg=Rg;function Hg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zg=e.forwardRef((function(t,n){return e.createElement(yg,ha({is:"blockquote",skeleton_method:"font-only",inner_ref:n},t))}));zg.tagName="dnb-blockquote",zg.propTypes=Fg(Fg({},Am),{},{children:Ba.node}),zg.defaultProps={children:null};var Bg=zg;function Vg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $g(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Vg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Vg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Gg=e.forwardRef((function(t,n){return e.createElement(yg,ha({is:"code",inner_ref:n},t))}));Gg.tagName="dnb-code",Gg.propTypes=$g($g({},Am),{},{children:Ba.node}),Gg.defaultProps={children:null};var Ug=Gg;function Wg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function qg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Yg=e.forwardRef((function(t,n){return e.createElement(yg,ha({is:"dd",inner_ref:n},t))}));Yg.tagName="dnb-dd",Yg.propTypes=qg(qg({},Am),{},{children:Ba.node}),Yg.defaultProps={children:null};var Kg=Yg;function Xg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jg=e.forwardRef((function(t,n){return e.createElement(yg,ha({is:"div",skeleton_method:"shape",inner_ref:n},t))}));Jg.tagName="dnb-div",Jg.propTypes=Zg(Zg({},Am),{},{children:Ba.node}),Jg.defaultProps={children:null};var Qg=Jg,eb=function(t){return e.createElement(yg,ha({is:"dl"},t,{skeleton:!1}))};eb.tagName="dnb-dl",eb.defaultProps={children:null};var tb=eb;function nb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nb(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ob=e.forwardRef((function(t,n){return e.createElement(yg,ha({is:"dt",inner_ref:n},t))}));ob.tagName="dnb-dt",ob.propTypes=rb(rb({},Am),{},{children:Ba.node}),ob.defaultProps={children:null};var ib=ob;e.createRef(),e.createRef(null),e.createRef(),e.createRef(!1);var ab=e.createRef(null);var cb=["is","level","style_type","size","className"];function lb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var ub=function(t){ua(r,e.PureComponent);var n=lb(r);function r(e){var t;return oa(this,r),t=n.call(this,e),"use"===e.level&&function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).overwriteContext,n=void 0!==t&&t;ab.current={level:e,overwriteContext:n}}(parseFloat(e.is.substr(1))),t}return aa(r,[{key:"render",value:function(){var t=this.props,n=t.is;t.level;var r=t.style_type,o=t.size,i=t.className,a=ra(t,cb);return r&&(o=r),e.createElement(yg,ha({is:n,internalClass:$a(i,o&&"dnb-h--".concat(o))},a))}}]),r}();pa(ub,"defaultProps",{className:null,level:null,is:"h1",size:"xx-large",style_type:null,children:null});var sb=function(t){return e.createElement(ub,ha({is:"h1"},t))};sb.tagName="dnb-h1",sb.defaultProps={level:null,size:"xx-large",children:null};var fb=sb,db=function(t){return e.createElement(ub,ha({is:"h2"},t))};db.tagName="dnb-h2",db.defaultProps={level:null,size:"large",children:null};var pb=db,hb=function(t){return e.createElement(ub,ha({is:"h3"},t))};hb.tagName="dnb-h3",hb.defaultProps={level:null,size:"medium",children:null};var vb=hb,yb=function(t){return e.createElement(ub,ha({is:"h4"},t))};yb.tagName="dnb-h4",yb.defaultProps={level:null,size:"basis",children:null};var mb=yb,gb=function(t){return e.createElement(ub,ha({is:"h5"},t))};gb.tagName="dnb-h5",gb.defaultProps={level:null,size:"small",children:null};var bb=gb,wb=function(t){return e.createElement(ub,ha({is:"h6"},t))};wb.tagName="dnb-h6",wb.defaultProps={level:null,size:"x-small",children:null};var Ob=wb,Eb=["fullscreen","light","medium"],_b=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.fullscreen,r=t.light,o=t.medium,i=ra(t,Eb);return n&&(i.className=$a(i.className,"dnb-hr--fullscreen")),r&&(i.className=$a(i.className,"dnb-hr--light")),o&&(i.className=$a(i.className,"dnb-hr--medium")),e.createElement(yg,ha({is:"hr"},i))};_b.tagName="dnb-hr",_b.defaultProps={className:null,light:null,medium:null,fullscreen:null};var xb=_b,kb=["caption","alt","element","skeleton","img_class","className","class"],Sb=function(t){var n=t.caption,r=t.alt,o=t.element,i=t.skeleton,a=t.img_class,c=t.className,l=t.class,u=ra(t,kb),s=qa(e.useState(!1),2),f=s[0],d=s[1];return e.createElement(yg,{is:o,internalClass:"dnb-img",className:$a(c,l,Vm(u,u.is)),skeleton:i,skeleton_method:"shape"},e.createElement(yg,ha({is:"img",alt:r,internalClass:"dnb-img__img"+(f?" dnb-img__img--error":""),className:a,skeleton:i,onError:function(){return d(!0)}},function(e){var t=ha({},e);for(var n in t)Bm(n)&&delete t[n];return t}(u))),n&&e.createElement("figcaption",null,n))};Sb.tagName="dnb-img",Sb.defaultProps={skeleton:null,className:null,class:null,img_class:null,element:"figure",css:null,caption:null,children:null};var jb=Sb,Pb=G,Tb=or,Lb=/"/g,Mb=function(e,t,n,r){var o=Tb(Pb(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+Tb(r).replace(Lb,"&quot;")+'"'),i+">"+o+"</"+t+">"},Cb=L,Nb=function(e){return Cb((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))},Ab=Mb;Yn({target:"String",proto:!0,forced:Nb("small")},{small:function(){return Ab(this,"small","","")}});var Rb=Mb;Yn({target:"String",proto:!0,forced:Nb("bold")},{bold:function(){return Rb(this,"b","","")}});var Ib=["style_type","modifier","element","className","small","medium","bold","size"],Db=function(t){var n=t.style_type,r=t.modifier,o=t.element,i=t.className,a=t.small,c=t.medium,l=t.bold,u=t.size,s=ra(t,Ib);return"string"==typeof r&&/ /.test(r)?r=r.split(/ /g):Array.isArray(r)||(r=[r]),n&&r.push(n),!0===c?r.push("medium"):!0===l&&r.push("bold"),r=r.filter(Boolean).reduce((function(e,t){return["x-small","small"].includes(t)?"".concat(e," dnb-p__size--").concat(t):"".concat(e," dnb-p--").concat(t)}),""),u?i=$a(i,"dnb-p__size--".concat(u)):!0===a&&(i=$a(i,"dnb-p__size--small")),e.createElement(yg,ha({is:o},s,{className:$a("dnb-p",r,i)}))};Db.tagName="dnb-p",Db.defaultProps={element:"p",className:null,small:null,medium:null,bold:null,size:null,style_type:null,modifier:null,children:null};var Hb=Db,Fb=function(t){return e.createElement(Hb,ha({style_type:"ingress"},t))};Fb.tagName="dnb-p--ingress";var zb=Fb;function Bb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bb(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $b=e.forwardRef((function(t,n){return e.createElement(yg,ha({is:"p",inner_ref:n},t))}));$b.tagName="dnb-lead",$b.propTypes=Vb(Vb({},Am),{},{children:Ba.node}),$b.defaultProps={children:null};var Gb=$b,Ub=["nested","inside","outside"],Wb=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.nested,r=t.inside,o=t.outside,i=ra(t,Ub);return n&&(i.className=$a(i.className,"dnb-ul--nested")),r&&(i.className=$a(i.className,"dnb-ul--inside")),o&&(i.className=$a(i.className,"dnb-ul--outside")),e.createElement(yg,ha({is:"ul"},i,{skeleton:!1}))};Wb.tagName="dnb-ul",Wb.defaultProps={className:null,inside:null,outside:null,nested:null,children:null};var qb=Wb,Yb=["nested","inside","outside"],Kb=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.nested,r=t.inside,o=t.outside,i=ra(t,Yb);return n&&(i.className=$a(i.className,"dnb-ol--nested")),r&&(i.className=$a(i.className,"dnb-ol--inside")),o&&(i.className=$a(i.className,"dnb-ol--outside")),e.createElement(yg,ha({is:"ol"},i,{skeleton:!1}))};Kb.tagName="dnb-ol",Kb.defaultProps={className:null,inside:null,outside:null,nested:null};var Xb=Kb,Zb=["className"],Jb=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.className,r=ra(t,Zb);return Array.isArray(r.children)&&r.children.forEach((function(e){!e||e.type!==qb&&e.type!==Xb||(n=$a(n,"is-nested"))})),e.createElement(yg,ha({is:"li"},r,{className:n}))};Jb.tagName="dnb-li",Jb.defaultProps={className:null};var Qb=Jb,ew=Dg;ew.tagName="dnb-link";var tw=ew,nw=function(t){return e.createElement(Hb,t)};nw.tagName="dnb-p";var rw=nw;function ow(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function iw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ow(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ow(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var aw=e.forwardRef((function(t,n){return e.createElement(yg,ha({is:"span",inner_ref:n},t))}));aw.tagName="dnb-span",aw.propTypes=iw(iw({},Am),{},{children:Ba.node}),aw.defaultProps={children:null};var cw,lw=aw,uw=["sticky"];function sw(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var fw=function(t){ua(r,e.PureComponent);var n=sw(r);function r(t){var o;return oa(this,r),pa(ca(o=n.call(this,t)),"init",(function(){if(o._isMounted&&km(o.props.sticky)&&(o.enableStickyHeader(),o.intersectionObserver&&o._ref.current))try{var e=o._ref.current;e.querySelector("thead > tr:first-of-type").classList.add("sticky");var t,n=e.querySelector("tbody > tr.dnb-table__sticky-helper > td:first-of-type")||o.getTdElement(e);if(n)null===(t=o.intersectionObserver)||void 0===t||t.observe(n)}catch(e){o.stickyWarning(e)}})),o._ref=e.createRef(),o}return aa(r,[{key:"componentDidMount",value:function(){this._isMounted=!0,"complete"===document.readyState?this.init():"undefined"!=typeof window&&window.addEventListener("load",this.init)}},{key:"componentWillUnmount",value:function(){var e;this._isMounted=!1,"undefined"!=typeof window&&window.removeEventListener("load",this.init),null===(e=this.intersectionObserver)||void 0===e||e.disconnect()}},{key:"getTdElement",value:function(e){return e.querySelector("tbody > tr:not(.dnb-table__sticky-helper):first-of-type > td:first-of-type, tbody > .dnb-table__tr:first-of-type > .dnb-table__td:first-of-type")}},{key:"getThElement",value:function(e){return e.querySelector("thead > tr:first-of-type > th:first-of-type, thead > .dnb-table__tr:first-of-type > .dnb-table__th:first-of-type")}},{key:"enableStickyHeader",value:function(){var e=this;if("undefined"!=typeof window&&"undefined"!=typeof IntersectionObserver&&this._ref.current){var t,n,r,o=this._ref.current,i=80,a=64,c=0;try{t=o.querySelector("thead > tr:first-of-type, thead > .dnb-table__tr:first-of-type"),n=this.getThElement(o),r=this.getTdElement(o),(c=parseFloat(this.props.sticky_offset)||c)>0&&("string"==typeof this.props.sticky_offset&&String(this.props.sticky_offset).includes("em")&&(c*=16),t.style.top=this.props.sticky_offset),i=n&&parseFloat(window.getComputedStyle(n).height)||i,a=r&&parseFloat(window.getComputedStyle(r).height)||a}catch(e){this.stickyWarning(e)}var l=i+a+c;this.intersectionObserver=new IntersectionObserver((function(n){var r=qa(n,1)[0];try{r.isIntersecting?t.classList.remove("show-shadow"):t.classList.add("show-shadow")}catch(t){e.stickyWarning(t)}}),{rootMargin:"-".concat(l,"px 0px 0px 0px")})}}},{key:"stickyWarning",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";Lm("Could not enable Sticky mode in table:",e)}},{key:"render",value:function(){var t=this.props;t.sticky;var n=ra(t,uw);return e.createElement(yg,ha({is:"table"},n,{ref:this._ref}))}}],[{key:"enableWebComponent",value:function(){pm(r.tagName,r,r.defaultProps)}}]),r}();pa(fw,"tagName","dnb-table"),pa(fw,"defaultProps",{sticky:!1,sticky_offset:null,children:null}),fw.StickyHelper=function(){return cw||(cw=e.createElement("tr",{className:"dnb-table__sticky-helper"},e.createElement("td",null)))};var dw=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createElement(yg,ha({is:"td"},t,{internalClass:"dnb-table__td",skeleton_method:"font-only"}))};dw.tagName="dnb-table__td",dw.defaultProps={children:null};var pw=dw,hw=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createElement(yg,ha({is:"th"},t,{internalClass:"dnb-table__th",skeleton_method:"font-only"}))};hw.tagName="dnb-table__th",hw.defaultProps={children:null};var vw=hw,yw=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createElement(yg,ha({is:"tr"},t,{internalClass:"dnb-table__tr",skeleton_method:"font-only"}))};yw.tagName="dnb-table__tr",yw.defaultProps={children:null};var mw=yw;export{Dg as Anchor,Bg as Blockquote,Ug as Code,Kg as Dd,Qg as Div,tb as Dl,ib as Dt,ub as H,fb as H1,pb as H2,vb as H3,mb as H4,bb as H5,Ob as H6,xb as Hr,jb as Img,zb as Ingress,Gb as Lead,Qb as Li,tw as Link,Xb as Ol,Hb as P,rw as Paragraph,lw as Span,fw as Table,pw as Td,vw as Th,mw as Tr,qb as Ul};
17
+ for(i=97;i<123;i++)r[String.fromCharCode(i)]=i-32;for(var i=48;i<58;i++)r[i-48]=i;for(i=1;i<13;i++)r["f"+i]=i+111;for(i=0;i<10;i++)r["numpad "+i]=i+96;var a=t.names=t.title={};for(i in r)a[r[i]]=i;for(var c in o)r[c]=o[c]}(hp,hp.exports);var vp,yp=hp.exports,mp={exports:{}};vp=function(){return function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t){e.exports=function(){if("undefined"==typeof document||"undefined"==typeof window)return{ask:function(){return"initial"},element:function(){return null},ignoreKeys:function(){},specificKeys:function(){},registerOnChange:function(){},unRegisterOnChange:function(){}};var e=document.documentElement,t=null,n="initial",r=n,o=Date.now(),i="false",a=["button","input","select","textarea"],c=[],l=[16,17,18,91,93],u=[],s={keydown:"keyboard",keyup:"keyboard",mousedown:"mouse",mousemove:"mouse",MSPointerDown:"pointer",MSPointerMove:"pointer",pointerdown:"pointer",pointermove:"pointer",touchstart:"touch",touchend:"touch"},f=!1,d={x:null,y:null},p={2:"touch",3:"touch",4:"mouse"},h=!1;try{var v=Object.defineProperty({},"passive",{get:function(){h=!0}});window.addEventListener("test",null,v)}catch(e){}var y=function(){var e=!!h&&{passive:!0};document.addEventListener("DOMContentLoaded",m),window.PointerEvent?(window.addEventListener("pointerdown",g),window.addEventListener("pointermove",w)):window.MSPointerEvent?(window.addEventListener("MSPointerDown",g),window.addEventListener("MSPointerMove",w)):(window.addEventListener("mousedown",g),window.addEventListener("mousemove",w),"ontouchstart"in window&&(window.addEventListener("touchstart",g,e),window.addEventListener("touchend",g))),window.addEventListener(S(),w,e),window.addEventListener("keydown",g),window.addEventListener("keyup",g),window.addEventListener("focusin",O),window.addEventListener("focusout",E)},m=function(){if(i=!(e.getAttribute("data-whatpersist")||"false"===document.body.getAttribute("data-whatpersist")))try{window.sessionStorage.getItem("what-input")&&(n=window.sessionStorage.getItem("what-input")),window.sessionStorage.getItem("what-intent")&&(r=window.sessionStorage.getItem("what-intent"))}catch(e){}b("input"),b("intent")},g=function(e){var t=e.which,o=s[e.type];"pointer"===o&&(o=x(e));var i=!u.length&&-1===l.indexOf(t),c=u.length&&-1!==u.indexOf(t),f="keyboard"===o&&t&&(i||c)||"mouse"===o||"touch"===o;if(k(o)&&(f=!1),f&&n!==o&&(_("input",n=o),b("input")),f&&r!==o){var d=document.activeElement;d&&d.nodeName&&(-1===a.indexOf(d.nodeName.toLowerCase())||"button"===d.nodeName.toLowerCase()&&!T(d,"form"))&&(_("intent",r=o),b("intent"))}},b=function(t){e.setAttribute("data-what"+t,"input"===t?n:r),j(t)},w=function(e){var t=s[e.type];"pointer"===t&&(t=x(e)),P(e),(!f&&!k(t)||f&&"wheel"===e.type||"mousewheel"===e.type||"DOMMouseScroll"===e.type)&&r!==t&&(_("intent",r=t),b("intent"))},O=function(n){n.target.nodeName?(t=n.target.nodeName.toLowerCase(),e.setAttribute("data-whatelement",t),n.target.classList&&n.target.classList.length&&e.setAttribute("data-whatclasses",n.target.classList.toString().replace(" ",","))):E()},E=function(){t=null,e.removeAttribute("data-whatelement"),e.removeAttribute("data-whatclasses")},_=function(e,t){if(i)try{window.sessionStorage.setItem("what-"+e,t)}catch(e){}},x=function(e){return"number"==typeof e.pointerType?p[e.pointerType]:"pen"===e.pointerType?"touch":e.pointerType},k=function(e){var t=Date.now(),r="mouse"===e&&"touch"===n&&t-o<200;return o=t,r},S=function(){return"onwheel"in document.createElement("div")?"wheel":void 0!==document.onmousewheel?"mousewheel":"DOMMouseScroll"},j=function(e){for(var t=0,o=c.length;t<o;t++)c[t].type===e&&c[t].fn.call(void 0,"input"===e?n:r)},P=function(e){d.x!==e.screenX||d.y!==e.screenY?(f=!1,d.x=e.screenX,d.y=e.screenY):f=!0},T=function(e,t){var n=window.Element.prototype;if(n.matches||(n.matches=n.msMatchesSelector||n.webkitMatchesSelector),n.closest)return e.closest(t);do{if(e.matches(t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null};return"addEventListener"in window&&Array.prototype.indexOf&&(s[S()]="mouse",y()),{ask:function(e){return"intent"===e?r:n},element:function(){return t},ignoreKeys:function(e){l=e},specificKeys:function(e){u=e},registerOnChange:function(e,t){c.push({fn:e,type:t||"input"})},unRegisterOnChange:function(e){var t=function(e){for(var t=0,n=c.length;t<n;t++)if(c[t].fn===e)return t}(e);(t||0===t)&&c.splice(t,1)},clearStorage:function(){window.sessionStorage.clear()}}}()}])};var gp=mp.exports=vp();function bp(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function wp(e,t,n){return wp=bp()?Reflect.construct:function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&la(o,n.prototype),o},wp.apply(null,arguments)}function Op(e){var t="function"==typeof Map?new Map:void 0;return Op=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return wp(e,arguments,da(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),la(r,e)},Op(e)}var Ep=M,_p=it.f,xp=Function.prototype,kp=xp.toString,Sp=/^\s*function ([^ (]*)/;Ep&&!("name"in xp)&&_p(xp,"name",{configurable:!0,get:function(){try{return kp.call(this).match(Sp)[1]}catch(e){return""}}});var jp=M,Pp=P,Tp=zn,Lp=yt.exports,Mp=_e,Ap=z,Cp=Zu,Np=fe,Rp=Be,Ip=L,Dp=Or,Hp=Qt.f,Fp=T.f,zp=it.f,Bp=$l.trim,Vp=Pp.Number,$p=Vp.prototype,Gp="Number"==Ap(Dp($p)),Up=function(e){if(Np(e))throw TypeError("Cannot convert a Symbol value to a number");var t,n,r,o,i,a,c,l,u=Rp(e,"number");if("string"==typeof u&&u.length>2)if(43===(t=(u=Bp(u)).charCodeAt(0))||45===t){if(88===(n=u.charCodeAt(2))||120===n)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:r=2,o=49;break;case 79:case 111:r=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,c=0;c<a;c++)if((l=i.charCodeAt(c))<48||l>o)return NaN;return parseInt(i,r)}return+u};if(Tp("Number",!Vp(" 0o1")||!Vp("0b1")||Vp("+0x1"))){for(var Wp,qp=function(e){var t=arguments.length<1?0:e,n=this;return n instanceof qp&&(Gp?Ip((function(){$p.valueOf.call(n)})):"Number"!=Ap(n))?Cp(new Vp(Up(t)),n,qp):Up(t)},Yp=jp?Hp(Vp):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),Kp=0;Yp.length>Kp;Kp++)Mp(Vp,Wp=Yp[Kp])&&!Mp(qp,Wp)&&zp(qp,Wp,Fp(Vp,Wp));qp.prototype=$p,$p.constructor=qp,Lp(Pp,"Number",qp)}function Xp(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{message:null},n=t.message,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:100;if("object"===sa(e)&&(n=e.message),this.err=new Error("".concat(e,"\n\n").concat(n)),500===r)throw this.err;console.log(this.err)}var Zp=q,Jp=Jl,Qp=zf,eh=Gt,th=op,nh=eh.set,rh=eh.getterFor("Array Iterator"),oh=th(Array,"Array",(function(e,t){nh(this,{type:"Array Iterator",target:Zp(e),index:0,kind:t})}),(function(){var e=rh(this),t=e.target,n=e.kind,r=e.index++;return!t||r>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==n?{value:r,done:!1}:"values"==n?{value:t[r],done:!1}:{value:[r,t[r]],done:!1}}),"values");Qp.Arguments=Qp.Array,Jp("keys"),Jp("values"),Jp("entries");var ih={exports:{}},ah=!L((function(){return Object.isExtensible(Object.preventExtensions({}))})),ch=Yn,lh=Lt,uh=Y,sh=_e,fh=it.f,dh=Qt,ph=Er,hh=ah,vh=!1,yh=Se("meta"),mh=0,gh=Object.isExtensible||function(){return!0},bh=function(e){fh(e,yh,{value:{objectID:"O"+mh++,weakData:{}}})},wh=ih.exports={enable:function(){wh.enable=function(){},vh=!0;var e=dh.f,t=[].splice,n={};n[yh]=1,e(n).length&&(dh.f=function(n){for(var r=e(n),o=0,i=r.length;o<i;o++)if(r[o]===yh){t.call(r,o,1);break}return r},ch({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:ph.f}))},fastKey:function(e,t){if(!uh(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!sh(e,yh)){if(!gh(e))return"F";if(!t)return"E";bh(e)}return e[yh].objectID},getWeakData:function(e,t){if(!sh(e,yh)){if(!gh(e))return!0;if(!t)return!1;bh(e)}return e[yh].weakData},onFreeze:function(e){return hh&&vh&&gh(e)&&!sh(e,yh)&&bh(e),e}};lh[yh]=!0;var Oh=ct,Eh=xd,_h=an,xh=Fr,kh=Md,Sh=Pd,jh=gd,Ph=function(e,t){this.stopped=e,this.result=t},Th=function(e,t,n){var r,o,i,a,c,l,u,s=n&&n.that,f=!(!n||!n.AS_ENTRIES),d=!(!n||!n.IS_ITERATOR),p=!(!n||!n.INTERRUPTED),h=xh(t,s,1+f+p),v=function(e){return r&&jh(r,"normal",e),new Ph(!0,e)},y=function(e){return f?(Oh(e),p?h(e[0],e[1],v):h(e[0],e[1])):p?h(e,v):h(e)};if(d)r=e;else{if("function"!=typeof(o=Sh(e)))throw TypeError("Target is not iterable");if(Eh(o)){for(i=0,a=_h(e.length);a>i;i++)if((c=y(e[i]))&&c instanceof Ph)return c;return new Ph(!1)}r=kh(e,o)}for(l=r.next;!(u=l.call(r)).done;){try{c=y(u.value)}catch(e){jh(r,"throw",e)}if("object"==typeof c&&c&&c instanceof Ph)return c}return new Ph(!1)},Lh=function(e,t,n){if(!(e instanceof t))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return e},Mh=Yn,Ah=P,Ch=zn,Nh=yt.exports,Rh=ih.exports,Ih=Th,Dh=Lh,Hh=Y,Fh=L,zh=Gd,Bh=Ir,Vh=Zu,$h=yt.exports,Gh=function(e,t,n){for(var r in t)$h(e,r,t[r],n);return e},Uh=it.f,Wh=Or,qh=Gh,Yh=Fr,Kh=Lh,Xh=Th,Zh=op,Jh=ns,Qh=M,ev=ih.exports.fastKey,tv=Gt.set,nv=Gt.getterFor,rv={getConstructor:function(e,t,n,r){var o=e((function(e,i){Kh(e,o,t),tv(e,{type:t,index:Wh(null),first:void 0,last:void 0,size:0}),Qh||(e.size=0),null!=i&&Xh(i,e[r],{that:e,AS_ENTRIES:n})})),i=nv(t),a=function(e,t,n){var r,o,a=i(e),l=c(e,t);return l?l.value=n:(a.last=l={index:o=ev(t,!0),key:t,value:n,previous:r=a.last,next:void 0,removed:!1},a.first||(a.first=l),r&&(r.next=l),Qh?a.size++:e.size++,"F"!==o&&(a.index[o]=l)),e},c=function(e,t){var n,r=i(e),o=ev(t);if("F"!==o)return r.index[o];for(n=r.first;n;n=n.next)if(n.key==t)return n};return qh(o.prototype,{clear:function(){for(var e=i(this),t=e.index,n=e.first;n;)n.removed=!0,n.previous&&(n.previous=n.previous.next=void 0),delete t[n.index],n=n.next;e.first=e.last=void 0,Qh?e.size=0:this.size=0},delete:function(e){var t=this,n=i(t),r=c(t,e);if(r){var o=r.next,a=r.previous;delete n.index[r.index],r.removed=!0,a&&(a.next=o),o&&(o.previous=a),n.first==r&&(n.first=o),n.last==r&&(n.last=a),Qh?n.size--:t.size--}return!!r},forEach:function(e){for(var t,n=i(this),r=Yh(e,arguments.length>1?arguments[1]:void 0,3);t=t?t.next:n.first;)for(r(t.value,t.key,this);t&&t.removed;)t=t.previous},has:function(e){return!!c(this,e)}}),qh(o.prototype,n?{get:function(e){var t=c(this,e);return t&&t.value},set:function(e,t){return a(this,0===e?0:e,t)}}:{add:function(e){return a(this,e=0===e?0:e,e)}}),Qh&&Uh(o.prototype,"size",{get:function(){return i(this).size}}),o},setStrong:function(e,t,n){var r=t+" Iterator",o=nv(t),i=nv(r);Zh(e,t,(function(e,t){tv(this,{type:r,target:e,state:o(e),kind:t,last:void 0})}),(function(){for(var e=i(this),t=e.kind,n=e.last;n&&n.removed;)n=n.previous;return e.target&&(e.last=n=n?n.next:e.state.first)?"keys"==t?{value:n.key,done:!1}:"values"==t?{value:n.value,done:!1}:{value:[n.key,n.value],done:!1}:(e.target=void 0,{value:void 0,done:!0})}),n?"entries":"values",!n,!0),Jh(t)}},ov=function(e,t,n){var r=-1!==e.indexOf("Map"),o=-1!==e.indexOf("Weak"),i=r?"set":"add",a=Ah[e],c=a&&a.prototype,l=a,u={},s=function(e){var t=c[e];Nh(c,e,"add"==e?function(e){return t.call(this,0===e?0:e),this}:"delete"==e?function(e){return!(o&&!Hh(e))&&t.call(this,0===e?0:e)}:"get"==e?function(e){return o&&!Hh(e)?void 0:t.call(this,0===e?0:e)}:"has"==e?function(e){return!(o&&!Hh(e))&&t.call(this,0===e?0:e)}:function(e,n){return t.call(this,0===e?0:e,n),this})};if(Ch(e,"function"!=typeof a||!(o||c.forEach&&!Fh((function(){(new a).entries().next()})))))l=n.getConstructor(t,e,r,i),Rh.enable();else if(Ch(e,!0)){var f=new l,d=f[i](o?{}:-0,1)!=f,p=Fh((function(){f.has(1)})),h=zh((function(e){new a(e)})),v=!o&&Fh((function(){for(var e=new a,t=5;t--;)e[i](t,t);return!e.has(-0)}));h||((l=t((function(t,n){Dh(t,l,e);var o=Vh(new a,t,l);return null!=n&&Ih(n,o[i],{that:o,AS_ENTRIES:r}),o}))).prototype=c,c.constructor=l),(p||v)&&(s("delete"),s("has"),r&&s("get")),(v||d)&&s(i),o&&c.clear&&delete c.clear}return u[e]=l,Mh({global:!0,forced:l!=a},u),Bh(l,e),o||n.setStrong(l,e,r),l};ov("Map",(function(e){return function(){return e(this,arguments.length?arguments[0]:void 0)}}),rv);var iv=P,av=gi,cv=Oi,lv=oh,uv=vt,sv=Ie,fv=sv("iterator"),dv=sv("toStringTag"),pv=lv.values,hv=function(e,t){if(e){if(e[fv]!==pv)try{uv(e,fv,pv)}catch(t){e[fv]=pv}if(e[dv]||uv(e,dv,t),av[t])for(var n in lv)if(e[n]!==lv[n])try{uv(e,n,lv[n])}catch(t){e[n]=lv[n]}}};for(var vv in av)hv(iv[vv]&&iv[vv].prototype,vv);hv(cv,"DOMTokenList");var yv,mv,gv,bv,wv=P.Promise,Ov=/(?:ipad|iphone|ipod).*applewebkit/i.test(J),Ev=P,_v=L,xv=Fr,kv=ur,Sv=Ye,jv=Ov,Pv=Al,Tv=Ev.setImmediate,Lv=Ev.clearImmediate,Mv=Ev.process,Av=Ev.MessageChannel,Cv=Ev.Dispatch,Nv=0,Rv={};try{yv=Ev.location}catch(e){}var Iv=function(e){if(Rv.hasOwnProperty(e)){var t=Rv[e];delete Rv[e],t()}},Dv=function(e){return function(){Iv(e)}},Hv=function(e){Iv(e.data)},Fv=function(e){Ev.postMessage(String(e),yv.protocol+"//"+yv.host)};Tv&&Lv||(Tv=function(e){for(var t=[],n=arguments.length,r=1;n>r;)t.push(arguments[r++]);return Rv[++Nv]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},mv(Nv),Nv},Lv=function(e){delete Rv[e]},Pv?mv=function(e){Mv.nextTick(Dv(e))}:Cv&&Cv.now?mv=function(e){Cv.now(Dv(e))}:Av&&!jv?(bv=(gv=new Av).port2,gv.port1.onmessage=Hv,mv=xv(bv.postMessage,bv,1)):Ev.addEventListener&&"function"==typeof postMessage&&!Ev.importScripts&&yv&&"file:"!==yv.protocol&&!_v(Fv)?(mv=Fv,Ev.addEventListener("message",Hv,!1)):mv="onreadystatechange"in Sv("script")?function(e){kv.appendChild(Sv("script")).onreadystatechange=function(){kv.removeChild(this),Iv(e)}}:function(e){setTimeout(Dv(e),0)});var zv,Bv,Vv,$v,Gv,Uv,Wv,qv,Yv={set:Tv,clear:Lv},Kv=P,Xv=/ipad|iphone|ipod/i.test(J)&&void 0!==Kv.Pebble,Zv=/web0s(?!.*chrome)/i.test(J),Jv=P,Qv=T.f,ey=Yv.set,ty=Ov,ny=Xv,ry=Zv,oy=Al,iy=Jv.MutationObserver||Jv.WebKitMutationObserver,ay=Jv.document,cy=Jv.process,ly=Jv.Promise,uy=Qv(Jv,"queueMicrotask"),sy=uy&&uy.value;sy||(zv=function(){var e,t;for(oy&&(e=cy.domain)&&e.exit();Bv;){t=Bv.fn,Bv=Bv.next;try{t()}catch(e){throw Bv?$v():Vv=void 0,e}}Vv=void 0,e&&e.enter()},ty||oy||ry||!iy||!ay?!ny&&ly&&ly.resolve?((Wv=ly.resolve(void 0)).constructor=ly,qv=Wv.then,$v=function(){qv.call(Wv,zv)}):$v=oy?function(){cy.nextTick(zv)}:function(){ey.call(Jv,zv)}:(Gv=!0,Uv=ay.createTextNode(""),new iy(zv).observe(Uv,{characterData:!0}),$v=function(){Uv.data=Gv=!Gv}));var fy=sy||function(e){var t={fn:e,next:void 0};Vv&&(Vv.next=t),Bv||(Bv=t,$v()),Vv=t},dy={},py=Dr,hy=function(e){var t,n;this.promise=new e((function(e,r){if(void 0!==t||void 0!==n)throw TypeError("Bad Promise constructor");t=e,n=r})),this.resolve=py(t),this.reject=py(n)};dy.f=function(e){return new hy(e)};var vy,yy,my,gy,by=ct,wy=Y,Oy=dy,Ey=P,_y="object"==typeof window,xy=Yn,ky=P,Sy=Z,jy=wv,Py=yt.exports,Ty=Gh,Ly=Yu,My=Ir,Ay=ns,Cy=Y,Ny=Dr,Ry=Lh,Iy=Et,Dy=Th,Hy=Gd,Fy=fl,zy=Yv.set,By=fy,Vy=function(e,t){if(by(e),wy(t)&&t.constructor===e)return t;var n=Oy.f(e);return(0,n.resolve)(t),n.promise},$y=function(e,t){var n=Ey.console;n&&n.error&&(1===arguments.length?n.error(e):n.error(e,t))},Gy=dy,Uy=function(e){try{return{error:!1,value:e()}}catch(e){return{error:!0,value:e}}},Wy=Gt,qy=zn,Yy=_y,Ky=Al,Xy=ie,Zy=Ie("species"),Jy="Promise",Qy=Wy.get,em=Wy.set,tm=Wy.getterFor(Jy),nm=jy&&jy.prototype,rm=jy,om=nm,im=ky.TypeError,am=ky.document,cm=ky.process,lm=Gy.f,um=lm,sm=!!(am&&am.createEvent&&ky.dispatchEvent),fm="function"==typeof PromiseRejectionEvent,dm=!1,pm=qy(Jy,(function(){var e=Iy(rm),t=e!==String(rm);if(!t&&66===Xy)return!0;if(Xy>=51&&/native code/.test(e))return!1;var n=new rm((function(e){e(1)})),r=function(e){e((function(){}),(function(){}))};return(n.constructor={})[Zy]=r,!(dm=n.then((function(){}))instanceof r)||!t&&Yy&&!fm})),hm=pm||!Hy((function(e){rm.all(e).catch((function(){}))})),vm=function(e){var t;return!(!Cy(e)||"function"!=typeof(t=e.then))&&t},ym=function(e,t){if(!e.notified){e.notified=!0;var n=e.reactions;By((function(){for(var r=e.value,o=1==e.state,i=0;n.length>i;){var a,c,l,u=n[i++],s=o?u.ok:u.fail,f=u.resolve,d=u.reject,p=u.domain;try{s?(o||(2===e.rejection&&wm(e),e.rejection=1),!0===s?a=r:(p&&p.enter(),a=s(r),p&&(p.exit(),l=!0)),a===u.promise?d(im("Promise-chain cycle")):(c=vm(a))?c.call(a,f,d):f(a)):d(r)}catch(e){p&&!l&&p.exit(),d(e)}}e.reactions=[],e.notified=!1,t&&!e.rejection&&gm(e)}))}},mm=function(e,t,n){var r,o;sm?((r=am.createEvent("Event")).promise=t,r.reason=n,r.initEvent(e,!1,!0),ky.dispatchEvent(r)):r={promise:t,reason:n},!fm&&(o=ky["on"+e])?o(r):"unhandledrejection"===e&&$y("Unhandled promise rejection",n)},gm=function(e){zy.call(ky,(function(){var t,n=e.facade,r=e.value;if(bm(e)&&(t=Uy((function(){Ky?cm.emit("unhandledRejection",r,n):mm("unhandledrejection",n,r)})),e.rejection=Ky||bm(e)?2:1,t.error))throw t.value}))},bm=function(e){return 1!==e.rejection&&!e.parent},wm=function(e){zy.call(ky,(function(){var t=e.facade;Ky?cm.emit("rejectionHandled",t):mm("rejectionhandled",t,e.value)}))},Om=function(e,t,n){return function(r){e(t,r,n)}},Em=function(e,t,n){e.done||(e.done=!0,n&&(e=n),e.value=t,e.state=2,ym(e,!0))},_m=function(e,t,n){if(!e.done){e.done=!0,n&&(e=n);try{if(e.facade===t)throw im("Promise can't be resolved itself");var r=vm(t);r?By((function(){var n={done:!1};try{r.call(t,Om(_m,n,e),Om(Em,n,e))}catch(t){Em(n,t,e)}})):(e.value=t,e.state=1,ym(e,!1))}catch(t){Em({done:!1},t,e)}}};if(pm&&(om=(rm=function(e){Ry(this,rm,Jy),Ny(e),vy.call(this);var t=Qy(this);try{e(Om(_m,t),Om(Em,t))}catch(e){Em(t,e)}}).prototype,(vy=function(e){em(this,{type:Jy,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=Ty(om,{then:function(e,t){var n=tm(this),r=lm(Fy(this,rm));return r.ok="function"!=typeof e||e,r.fail="function"==typeof t&&t,r.domain=Ky?cm.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&ym(n,!1),r.promise},catch:function(e){return this.then(void 0,e)}}),yy=function(){var e=new vy,t=Qy(e);this.promise=e,this.resolve=Om(_m,t),this.reject=Om(Em,t)},Gy.f=lm=function(e){return e===rm||e===my?new yy(e):um(e)},"function"==typeof jy&&nm!==Object.prototype)){gy=nm.then,dm||(Py(nm,"then",(function(e,t){var n=this;return new rm((function(e,t){gy.call(n,e,t)})).then(e,t)}),{unsafe:!0}),Py(nm,"catch",om.catch,{unsafe:!0}));try{delete nm.constructor}catch(e){}Ly&&Ly(nm,om)}xy({global:!0,wrap:!0,forced:pm},{Promise:rm}),My(rm,Jy,!1),Ay(Jy),my=Sy(Jy),xy({target:Jy,stat:!0,forced:pm},{reject:function(e){var t=lm(this);return t.reject.call(void 0,e),t.promise}}),xy({target:Jy,stat:!0,forced:pm},{resolve:function(e){return Vy(this,e)}}),xy({target:Jy,stat:!0,forced:hm},{all:function(e){var t=this,n=lm(t),r=n.resolve,o=n.reject,i=Uy((function(){var n=Ny(t.resolve),i=[],a=0,c=1;Dy(e,(function(e){var l=a++,u=!1;i.push(void 0),c++,n.call(t,e).then((function(e){u||(u=!0,i[l]=e,--c||r(i))}),o)})),--c||r(i)}));return i.error&&o(i.value),n.promise},race:function(e){var t=this,n=lm(t),r=n.reject,o=Uy((function(){var o=Ny(t.resolve);Dy(e,(function(e){o.call(t,e).then(n.resolve,r)}))}));return o.error&&r(o.value),n.promise}});var xm=Yn,km=sn,Sm=nn,jm=an,Pm=we,Tm=Gr,Lm=Ri,Mm=si("splice"),Am=Math.max,Cm=Math.min;function Nm(e,t){var n=e.document,r=e.Object,o=function(e){var t,n,o,i,a=/^[A-Z]+[a-z]/,c=function(e,t){(t=t.toLowerCase())in l||(l[e]=(l[e]||[]).concat(t),l[t]=l[t.toUpperCase()]=e)},l=(r.create||r)(null),u={};for(n in e)for(i in e[n])for(o=e[n][i],l[i]=o,t=0;t<o.length;t++)l[o[t].toLowerCase()]=l[o[t].toUpperCase()]=i;return u.get=function(e){return"string"==typeof e?l[e]||(a.test(e)?[]:""):function(e){var t,n=[];for(t in l)e.test(t)&&n.push(t);return n}(e)},u.set=function(e,t){return a.test(e)?c(e,t):c(t,e),u},u}({collections:{HTMLAllCollection:["all"],HTMLCollection:["forms"],HTMLFormControlsCollection:["elements"],HTMLOptionsCollection:["options"]},elements:{Element:["element"],HTMLAnchorElement:["a"],HTMLAppletElement:["applet"],HTMLAreaElement:["area"],HTMLAttachmentElement:["attachment"],HTMLAudioElement:["audio"],HTMLBRElement:["br"],HTMLBaseElement:["base"],HTMLBodyElement:["body"],HTMLButtonElement:["button"],HTMLCanvasElement:["canvas"],HTMLContentElement:["content"],HTMLDListElement:["dl"],HTMLDataElement:["data"],HTMLDataListElement:["datalist"],HTMLDetailsElement:["details"],HTMLDialogElement:["dialog"],HTMLDirectoryElement:["dir"],HTMLDivElement:["div"],HTMLDocument:["document"],HTMLElement:["element","abbr","address","article","aside","b","bdi","bdo","cite","code","command","dd","dfn","dt","em","figcaption","figure","footer","header","i","kbd","mark","nav","noscript","rp","rt","ruby","s","samp","section","small","strong","sub","summary","sup","u","var","wbr"],HTMLEmbedElement:["embed"],HTMLFieldSetElement:["fieldset"],HTMLFontElement:["font"],HTMLFormElement:["form"],HTMLFrameElement:["frame"],HTMLFrameSetElement:["frameset"],HTMLHRElement:["hr"],HTMLHeadElement:["head"],HTMLHeadingElement:["h1","h2","h3","h4","h5","h6"],HTMLHtmlElement:["html"],HTMLIFrameElement:["iframe"],HTMLImageElement:["img"],HTMLInputElement:["input"],HTMLKeygenElement:["keygen"],HTMLLIElement:["li"],HTMLLabelElement:["label"],HTMLLegendElement:["legend"],HTMLLinkElement:["link"],HTMLMapElement:["map"],HTMLMarqueeElement:["marquee"],HTMLMediaElement:["media"],HTMLMenuElement:["menu"],HTMLMenuItemElement:["menuitem"],HTMLMetaElement:["meta"],HTMLMeterElement:["meter"],HTMLModElement:["del","ins"],HTMLOListElement:["ol"],HTMLObjectElement:["object"],HTMLOptGroupElement:["optgroup"],HTMLOptionElement:["option"],HTMLOutputElement:["output"],HTMLParagraphElement:["p"],HTMLParamElement:["param"],HTMLPictureElement:["picture"],HTMLPreElement:["pre"],HTMLProgressElement:["progress"],HTMLQuoteElement:["blockquote","q","quote"],HTMLScriptElement:["script"],HTMLSelectElement:["select"],HTMLShadowElement:["shadow"],HTMLSlotElement:["slot"],HTMLSourceElement:["source"],HTMLSpanElement:["span"],HTMLStyleElement:["style"],HTMLTableCaptionElement:["caption"],HTMLTableCellElement:["td","th"],HTMLTableColElement:["col","colgroup"],HTMLTableElement:["table"],HTMLTableRowElement:["tr"],HTMLTableSectionElement:["thead","tbody","tfoot"],HTMLTemplateElement:["template"],HTMLTextAreaElement:["textarea"],HTMLTimeElement:["time"],HTMLTitleElement:["title"],HTMLTrackElement:["track"],HTMLUListElement:["ul"],HTMLUnknownElement:["unknown","vhgroupv","vkeygen"],HTMLVideoElement:["video"]},nodes:{Attr:["node"],Audio:["audio"],CDATASection:["node"],CharacterData:["node"],Comment:["#comment"],Document:["#document"],DocumentFragment:["#document-fragment"],DocumentType:["node"],HTMLDocument:["#document"],Image:["img"],Option:["option"],ProcessingInstruction:["node"],ShadowRoot:["#shadow-root"],Text:["#text"],XMLDocument:["xml"]}});"object"!==sa(t)&&(t={type:t||"auto"});var i,a,c,l,u,s,f,d,p,h="registerElement",v="__registerElement"+(1e5*e.Math.random()>>0),y="addEventListener",m="attached",g="Callback",b="detached",w="extends",O="attributeChangedCallback",E="createdCallback",_="ADDITION",x="MODIFICATION",k="REMOVAL",S="DOMAttrModified",j="DOMContentLoaded",P="<",T="=",L=/^[A-Z][A-Z0-9]*(?:-[A-Z0-9]+)+$/,M=["ANNOTATION-XML","COLOR-PROFILE","FONT-FACE","FONT-FACE-SRC","FONT-FACE-URI","FONT-FACE-FORMAT","FONT-FACE-NAME","MISSING-GLYPH"],A=[],C=[],N="",R=n.documentElement,I=A.indexOf||function(e){for(var t=this.length;t--&&this[t]!==e;);return t},D=r.prototype,H=D.hasOwnProperty,F=D.isPrototypeOf,z=r.defineProperty,B=[],V=r.getOwnPropertyDescriptor,$=r.getOwnPropertyNames,G=r.getPrototypeOf,U=r.setPrototypeOf,W=!!r.__proto__,q="__dreCEv1",Y=e.customElements,K=!/^force/.test(t.type)&&!!(Y&&Y.define&&Y.get&&Y.whenDefined),X=r.create||r,Z=e.Map||function(){var e,t=[],n=[];return{get:function(e){return n[I.call(t,e)]},set:function(r,o){(e=I.call(t,r))<0?n[t.push(r)-1]=o:n[e]=o}}},J=e.Promise||function(e){var t=[],n=!1,r={catch:function(){return r},then:function(e){return t.push(e),n&&setTimeout(o,1),r}};function o(e){for(n=!0;t.length;)t.shift()(e)}return e(o),r},Q=!1,ee=X(null),te=X(null),ne=new Z,re=function(e){return e.toLowerCase()},oe=r.create||function e(t){return t?(e.prototype=t,new e):this},ie=U||(W?function(e,t){return e.__proto__=t,e}:$&&V?function(){function e(e,t){for(var n,r=$(t),o=0,i=r.length;o<i;o++)n=r[o],H.call(e,n)||z(e,n,V(t,n))}return function(t,n){do{e(t,n)}while((n=G(n))&&!F.call(n,t));return t}}():function(e,t){for(var n in t)e[n]=t[n];return e}),ae=e.MutationObserver||e.WebKitMutationObserver,ce=(e.HTMLElement||e.Element||e.Node).prototype,le=!F.call(ce,R),ue=le?function(e,t,n){return e[t]=n.value,e}:z,se=le?function(e){return 1===e.nodeType}:function(e){return F.call(ce,e)},fe=le&&[],de=ce.attachShadow,pe=ce.cloneNode,he=ce.dispatchEvent,ve=ce.getAttribute,ye=ce.hasAttribute,me=ce.removeAttribute,ge=ce.setAttribute,be=n.createElement,we=be,Oe=ae&&{attributes:!0,characterData:!0,attributeOldValue:!0},Ee=ae||function(e){je=!1,R.removeEventListener(S,Ee)},_e=0,xe=h in n&&!/^force-all/.test(t.type),ke=!0,Se=!1,je=!0,Pe=!0,Te=!0;function Le(){var e=i.splice(0,i.length);for(_e=0;e.length;)e.shift().call(null,e.shift())}function Me(e,t){for(var n=0,r=e.length;n<r;n++)Be(e[n],t)}function Ae(e){return function(t){se(t)&&(Be(t,e),N.length&&Me(t.querySelectorAll(N),e))}}function Ce(e){var t=ve.call(e,"is"),n=e.nodeName.toUpperCase(),r=I.call(A,t?T+t.toUpperCase():P+n);return t&&-1<r&&!Ne(n,t)?-1:r}function Ne(e,t){return-1<N.indexOf(e+'[is="'+t+'"]')}function Re(e){var t=e.currentTarget,n=e.attrChange,r=e.attrName,o=e.target,i=e.ADDITION||2,a=e.REMOVAL||3;!Te||o&&o!==t||!t.attributeChangedCallback||"style"===r||e.prevValue===e.newValue&&(""!==e.newValue||n!==i&&n!==a)||t.attributeChangedCallback(r,n===i?null:e.prevValue,n===a?null:e.newValue)}function Ie(e){var t=Ae(e);return function(e){i.push(t,e.target),_e&&clearTimeout(_e),_e=setTimeout(Le,1)}}function De(e){Pe&&(Pe=!1,e.currentTarget.removeEventListener(j,De)),N.length&&Me((e.target||n).querySelectorAll(N),e.detail===b?b:m),le&&function(){for(var e,t=0,n=fe.length;t<n;t++)e=fe[t],R.contains(e)||(n--,fe.splice(t--,1),Be(e,b))}()}function He(e,t){var n=this;ge.call(n,e,t),a.call(n,{target:n})}function Fe(e,t){ie(e,t),u?u.observe(e,Oe):(je&&(e.setAttribute=He,e[v]=l(e),e.addEventListener("DOMSubtreeModified",a)),e.addEventListener(S,Re)),e.createdCallback&&Te&&(e.created=!0,e.createdCallback(),e.created=!1)}function ze(e){throw new Error("A "+e+" type is already registered")}function Be(e,t){var n,r,o=Ce(e);-1<o&&(f(e,C[o]),o=0,t!==m||e.attached?t!==b||e.detached||(e.attached=!1,e.detached=!0,r="disconnected",o=1):(e.detached=!1,e.attached=!0,r="connected",o=1,le&&I.call(fe,e)<0&&fe.push(e)),o&&(n=e[t+g]||e[r+g])&&n.call(e))}function Ve(){}function $e(e,t,r){var o=r&&r.extends||"",i=t.prototype,a=oe(i),c=t.observedAttributes||B,l={prototype:a};ue(a,E,{value:function(){if(Q)Q=!1;else if(!this[q]){this[q]=!0,new t(this),i.createdCallback&&i.createdCallback.call(this);var e=ee[ne.get(t)];(!K||e.create.length>1)&&We(this)}}}),ue(a,O,{value:function(e){-1<I.call(c,e)&&i.attributeChangedCallback.apply(this,arguments)}}),i.connectedCallback&&ue(a,"attachedCallback",{value:i.connectedCallback}),i.disconnectedCallback&&ue(a,"detachedCallback",{value:i.disconnectedCallback}),o&&(l.extends=o),e=e.toUpperCase(),ee[e]={constructor:t,create:o?[o,re(e)]:[e]},ne.set(t,e),n.registerElement(e.toLowerCase(),l),qe(e),te[e].r()}function Ge(e){var t=ee[e.toUpperCase()];return t&&t.constructor}function Ue(e){return"string"==typeof e?e:e&&e.is||""}function We(e){for(var t,n=e.attributeChangedCallback,r=n?e.attributes:B,o=r.length;o--;)t=r[o],n.call(e,t.name||t.nodeName,null,t.value||t.nodeValue)}function qe(e){return(e=e.toUpperCase())in te||(te[e]={},te[e].p=new J((function(t){te[e].r=t}))),te[e].p}function Ye(){Y&&delete e.customElements,z(e,"customElements",{configurable:!0,value:new Ve}),z(e,"CustomElementRegistry",{configurable:!0,value:Ve});for(var t=function(t){var r=e[t];if(r){e[t]=function(e){var t,o;return e||(e=this),e[q]||(Q=!0,t=ee[ne.get(e.constructor)],(e=(o=K&&1===t.create.length)?Reflect.construct(r,B,t.constructor):n.createElement.apply(n,t.create))[q]=!0,Q=!1,o||We(e)),e},e[t].prototype=r.prototype;try{r.prototype.constructor=e[t]}catch(n){z(r,q,{value:e[t]})}}},r=o.get(/^HTML[A-Z]*[a-z]/),i=r.length;i--;t(r[i]));n.createElement=function(e,t){var n=Ue(t);return n?we.call(this,e,re(n)):we.call(this,e)},xe||(Se=!0,n.registerElement(""))}if(ae&&((p=n.createElement("div")).innerHTML="<div><div></div></div>",new ae((function(e,t){if(e[0]&&"childList"==e[0].type&&!e[0].removedNodes[0].childNodes.length){var n=(p=V(ce,"innerHTML"))&&p.set;n&&z(ce,"innerHTML",{set:function(e){for(;this.lastChild;)this.removeChild(this.lastChild);n.call(this,e)}})}t.disconnect(),p=null})).observe(p,{childList:!0,subtree:!0}),p.innerHTML=""),xe||(U||W?(f=function(e,t){F.call(t,e)||Fe(e,t)},d=Fe):(f=function(e,t){e[v]||(e[v]=r(!0),Fe(e,t))},d=f),le?(je=!1,function(){var e=V(ce,y),t=e.value,n=function(e){var t=new CustomEvent(S,{bubbles:!0});t.attrName=e,t.prevValue=ve.call(this,e),t.newValue=null,t.REMOVAL=t.attrChange=2,me.call(this,e),he.call(this,t)},r=function(e,t){var n=ye.call(this,e),r=n&&ve.call(this,e),o=new CustomEvent(S,{bubbles:!0});ge.call(this,e,t),o.attrName=e,o.prevValue=n?r:null,o.newValue=t,n?o.MODIFICATION=o.attrChange=1:o.ADDITION=o.attrChange=0,he.call(this,o)},o=function(e){var t,n=e.currentTarget,r=n[v],o=e.propertyName;r.hasOwnProperty(o)&&(r=r[o],(t=new CustomEvent(S,{bubbles:!0})).attrName=r.name,t.prevValue=r.value||null,t.newValue=r.value=n[o]||null,null==t.prevValue?t.ADDITION=t.attrChange=0:t.MODIFICATION=t.attrChange=1,he.call(n,t))};e.value=function(e,i,a){e===S&&this.attributeChangedCallback&&this.setAttribute!==r&&(this[v]={className:{name:"class",value:this.className}},this.setAttribute=r,this.removeAttribute=n,t.call(this,"propertychange",o)),t.call(this,e,i,a)},z(ce,y,e)}()):ae||(R.addEventListener(S,Ee),R.setAttribute(v,1),R.removeAttribute(v),je&&(a=function(e){var t,n,r,o=this;if(o===e.target){for(r in t=o[v],o[v]=n=l(o),n){if(!(r in t))return c(0,o,r,t[r],n[r],_);if(n[r]!==t[r])return c(1,o,r,t[r],n[r],x)}for(r in t)if(!(r in n))return c(2,o,r,t[r],n[r],k)}},c=function(e,t,n,r,o,i){var a={attrChange:e,currentTarget:t,attrName:n,prevValue:r,newValue:o};a[i]=e,Re(a)},l=function(e){for(var t,n,r={},o=e.attributes,i=0,a=o.length;i<a;i++)"setAttribute"!==(n=(t=o[i]).name)&&(r[n]=t.value);return r})),n.registerElement=function(e,t){if(r=e.toUpperCase(),ke&&(ke=!1,ae?(u=function(e,t){function n(e,t){for(var n=0,r=e.length;n<r;t(e[n++]));}return new ae((function(r){for(var o,i,a,c=0,l=r.length;c<l;c++)"childList"===(o=r[c]).type?(n(o.addedNodes,e),n(o.removedNodes,t)):(i=o.target,Te&&i.attributeChangedCallback&&"style"!==o.attributeName&&(a=ve.call(i,o.attributeName))!==o.oldValue&&i.attributeChangedCallback(o.attributeName,o.oldValue,a))}))}(Ae(m),Ae(b)),s=function(e){return u.observe(e,{childList:!0,subtree:!0}),e},s(n),de&&(ce.attachShadow=function(){return s(de.apply(this,arguments))})):(i=[],n.addEventListener("DOMNodeInserted",Ie(m)),n.addEventListener("DOMNodeRemoved",Ie(b))),n.addEventListener(j,De),n.addEventListener("readystatechange",De),ce.cloneNode=function(e){var t=pe.call(this,!!e),n=Ce(t);return-1<n&&d(t,C[n]),e&&N.length&&function(e){for(var t,n=0,r=e.length;n<r;n++)t=e[n],d(t,C[Ce(t)])}(t.querySelectorAll(N)),t}),Se)return Se=!1;if(-2<I.call(A,T+r)+I.call(A,P+r)&&ze(e),!L.test(r)||-1<I.call(M,r))throw new Error("The type "+e+" is invalid");var r,o,a=function(){return l?n.createElement(f,r):n.createElement(f)},c=t||D,l=H.call(c,w),f=l?t.extends.toUpperCase():r;return l&&-1<I.call(A,P+f)&&ze(f),o=A.push((l?T:P)+r)-1,N=N.concat(N.length?",":"",l?f+'[is="'+e.toLowerCase()+'"]':f),a.prototype=C[o]=H.call(c,"prototype")?c.prototype:oe(ce),N.length&&Me(n.querySelectorAll(N),m),a},n.createElement=we=function(e,t){var r=Ue(t),o=r?be.call(n,e,re(r)):be.call(n,e),i=""+e,a=I.call(A,(r?T:P)+(r||i).toUpperCase()),c=-1<a;return r&&(o.setAttribute("is",r=r.toLowerCase()),c&&(c=Ne(i.toUpperCase(),r))),Te=!n.createElement.innerHTMLHelper,c&&d(o,C[a]),o}),Ve.prototype={constructor:Ve,define:K?function(e,t,n){if(n)$e(e,t,n);else{var r=e.toUpperCase();ee[r]={constructor:t,create:[r]},ne.set(t,r),Y.define(e,t)}}:$e,get:K?function(e){return Y.get(e)||Ge(e)}:Ge,whenDefined:K?function(e){return J.race([Y.whenDefined(e),qe(e)])}:qe},!Y||/^force/.test(t.type))Ye();else if(!t.noBuiltIn)try{!function(t,r,o){if(r.extends="a",(t.prototype=oe(HTMLAnchorElement.prototype)).constructor=t,e.customElements.define(o,t,r),ve.call(n.createElement("a",{is:o}),"is")!==o||K&&ve.call(new t,"is")!==o)throw r}((function e(){return Reflect.construct(HTMLAnchorElement,[],e)}),{},"document-register-element-a")}catch(e){Ye()}if(!t.noBuiltIn)try{be.call(n,"a","a")}catch(e){re=function(e){return{is:e.toLowerCase()}}}}function Rm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Im(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rm(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dm(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}xm({target:"Array",proto:!0,forced:!Mm},{splice:function(e,t){var n,r,o,i,a,c,l=Pm(this),u=jm(l.length),s=km(e,u),f=arguments.length;if(0===f?n=r=0:1===f?(n=0,r=u-s):(n=f-2,r=Cm(Am(Sm(t),0),u-s)),u+n-r>9007199254740991)throw TypeError("Maximum allowed length exceeded");for(o=Tm(l,r),i=0;i<r;i++)(a=s+i)in l&&Lm(o,i,l[a]);if(o.length=r,n<r){for(i=s;i<u-r;i++)c=i+n,(a=i+r)in l?l[c]=l[a]:delete l[c];for(i=u;i>u-r+n;i--)delete l[i-1]}else if(n>r)for(i=u-r;i>s;i--)c=i+n-1,(a=i+r-1)in l?l[c]=l[a]:delete l[c];for(i=0;i<n;i++)l[i+s]=arguments[i+2];return l.length=u-r+n,o}});var Hm=void 0!==S&&!1,Fm=Hm,zm="undefined"!=typeof window&&(window.registeredElements=window.registeredElements||[])||[],Bm=function(n,r){var o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},a=i.attributesExcludelist,c=void 0===a?["id"]:a;if(n||(n=r.displayName||r.name),-1===zm.indexOf(n)){if(zm.push(n),"undefined"==typeof document||"undefined"==typeof window)return null;Fm||(Fm=!0,Nm(window)),o&&(o=$m(o));var l=function(n){ua(a,Op(HTMLElement));var i=Dm(a);function a(t){var n;return oa(this,a),(n=i.call(this,t))._elementRef=e.createRef(),n._customMethods={},n._customEvents=[],n._isConnected=!1,n._props={},n}return aa(a,[{key:"connectedCallback",value:function(){this.updateChildren(),this.renderElement(),this._isConnected=!0}},{key:"attributeChangedCallback",value:function(e,t,n){return!(!this._isConnected||t===n)&&(this.renderElement(),n)}},{key:"disconnectedCallback",value:function(){Hm||t.unmountComponentAtNode(this),this._children&&delete this._children,this._isConnected&&delete this._isConnected,this._elementRef&&delete this._elementRef,this._customMethods&&delete this._customMethods,this._customEvents&&delete this._customEvents,this._props=null,this._ref=null}},{key:"updateChildren",value:function(){this._children=[];var e,t,n=this.childNodes;for(e=n.length;e--;)(t=Gm(n[e]))&&this._children.push(t)}},{key:"connectEvents",value:function(){for(var t={},n=this.attributes.length;n--;)t[this.attributes[n].name]=this.attributes[n].value;t.events&&(t.event=t.events,delete t.events);var r=[].concat(Wa(t.event?t.event.split(","):[]),Wa(Object.entries(t).map((function(e){var t=qa(e,2),n=t[0],r=t[1];return n&&/^(on_|on[A-Z]|render_)/.test(n)?n+"="+r:null})).filter(Boolean)));return r.length>0&&(r.forEach((function(n){var r=qa(n.split("="),2),o=r[0],i=r[1];o=Wm[o]||o,t[o]=function(){try{var t=i.split("."),n=qa(t,2),r=n[0],a=n[1];a=a?window[r][a]:window[r];for(var c=arguments.length,l=new Array(c),u=0;u<c;u++)l[u]=arguments[u];var s=a.apply(r,[].concat(l));if(s instanceof HTMLElement){for(var f=[],d=s.childNodes,p=s.attributes,h={},v=d.length;v--;)f.push(Gm(d[v]));for(var y=p.length;y--;)h[Um[p[y].name]||p[y].name]=p[y].value;var m=s.nodeName.toLowerCase();return s.remove(),e.createElement(m,h,f)}return s}catch(e){new Xp("The '".concat(o,"' event has failed. '").concat(i,"' has to exist on a 'window' scope!"),e)}}})),delete t.event),t}},{key:"setProps",value:function(e,t){return"string"==typeof e&&(e=pa({},e,t)),this.renderElement(e)}},{key:"getRef",value:function(){return this._ref}},{key:"addEvent",value:function(e,t){var n,r=this,o=function(e){return t.apply(r,[e])};return null===(n=this._customEvents)||void 0===n||n.push({eventName:e,eventCallback:t,eventWrapper:o}),o}},{key:"removeEvent",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;this._customEvents=this._customEvents.reduce((function(n,r){t?r.eventCallback!==t&&n.push(r):r.eventWrapper!==e&&n.push(r);return n}),[])}},{key:"fireEvent",value:function(e){for(var t=this,n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];this._customEvents.forEach((function(n){var o=n.eventName,i=n.eventCallback;o===e&&"function"==typeof i&&i.apply(t,[].concat(r))}))}},{key:"renderElement",value:function(){var n=this,o=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};for(var i in o=Im(Im(Im({},this._props),this.connectEvents()),o))"true"===o[i]?o[i]=!0:"false"===o[i]?o[i]=!1:void 0===o[i]||null===o[i]||isNaN(Number(o[i]))||(o[i]=Number(o[i]));for(var a=c.length;a--;)o[c[a]]&&this.removeAttribute(c[a]);return this._children&&this._children.length>0&&(o.children=this._children),this._elementRef&&(o.ref=this._elementRef),o.custom_element||(o.custom_element=this),o.custom_method||(o.custom_method=function(e,t){n[e]=n._customMethods[e]=t}),this._props=o,this._ref=e.createElement(r,o),t.render(this._ref,this),this}}],[{key:"observedAttributes",get:function(){return o||[]}}]),a}();return window.customElements.define(n,l)}},Vm=function(e){return e&&!/[A-Z]/.test(e)&&!/children/.test(e)},$m=function(e){return Array.isArray(e)?e.filter(Vm):Object.entries(e||{}).reduce((function(e,t){var n=qa(t,1)[0];return e.push(n),e}),[]).filter(Vm)},Gm=function t(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(3===n.nodeType)return n.nodeValue;if(1!==n.nodeType)return null;var o=[],i={},a=0,c=n.attributes,l=n.childNodes;for(a=c.length;a--;)i[c[a].name]=c[a].value;for(a=l.length;a--;)o[a]=t(l[a]);return i.key="key".concat(1e3*Math.random()),e.createElement(r||n.nodeName.toLowerCase(),i,o)},Um={class:"className",for:"htmlFor"},Wm={onclick:"onClick"};function qm(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ym(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qm(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qm(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Km;gp.specificKeys([9]),Km=function e(){if("undefined"!=typeof document&&"undefined"!=typeof window&&"undefined"!=typeof navigator){try{"undefined"!=typeof window&&window.IS_TEST?document.documentElement.setAttribute("data-os","other"):null!==navigator.platform.match(new RegExp("Mac|iPad|iPhone|iPod"))?document.documentElement.setAttribute("data-os","mac"):null!==navigator.platform.match(new RegExp("Win"))?document.documentElement.setAttribute("data-os","win"):null!==navigator.platform.match(new RegExp("Linux"))&&document.documentElement.setAttribute("data-os","linux")}catch(e){og(e)}document.removeEventListener("DOMContentLoaded",e)}},"undefined"!=typeof document&&"loading"===document.readyState?document.addEventListener("DOMContentLoaded",Km):Km();var Xm=function(e,t){if(e&&e.attributes){var n=e.attributes;n&&("{"===n[0]&&(n=JSON.parse(n)),n&&"object"===sa(n)&&Object.entries(n).forEach((function(e){var n=qa(e,2),r=n[0],o=n[1];ha(t,pa({},r,o))})),delete t.attributes)}if(null!==t.disabled&&"false"!==t.disabled||delete t.disabled,void 0!==t.space&&delete t.space,void 0!==t.top&&delete t.top,void 0!==t.right&&delete t.right,void 0!==t.bottom&&delete t.bottom,void 0!==t.left&&delete t.left,void 0!==t.no_collapse?delete t.no_collapse:"true"===t.disabled&&(t.disabled=!0),!0===t.disabled&&(t["aria-disabled"]=!0),e&&e.tabindex){var r=e.tabindex;"off"===r&&(r="-1"),t.tabIndex=r}if(t&&"object"===sa(t))for(var o in t)"function"!=typeof t[o]||/(^[a-z]{1,}[A-Z]{1})/.test(o)?(null===t[o]||/[^a-z-]/i.test(o))&&delete t[o]:delete t[o];return t},Zm=function e(){for(var t={},n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r[0];return!0!==i&&!1!==i||(r.shift(),i&&(t=r.shift())),r.reduce((function(t,n){return n&&(t=ha(t,Object.entries(n).reduce((function(n,r){var o=qa(r,2),i=o[0],a=o[1];return null!==a&&("object"===sa(a)?(a=e(t[i]||{},a),Object.keys(a).length>0&&(n[i]=a)):n[i]=a),n}),{}))),t}),t)},Jm=function(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i=r.reduce((function(e,t){return t&&(e=Ym(Ym({},e),t)),e}),{});return Ym(Ym({},e),Object.entries(i).reduce((function(n,r){var o=qa(r,2),i=o[0],a=o[1];return void 0!==e[i]&&e[i]===t[i]&&(n[i]=a),n}),{}))},Qm=function(e){return null!=e&&("true"===String(e)||"1"===String(e))};!function(){function e(t,n){var r=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};oa(this,e),pa(this,"checkOutsideClick",(function(e){var t=e.event,n=e.ignoreElements,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;try{var o=t.target;if("HTML"===(null==o?void 0:o.tagName)&&(t.pageX>document.documentElement.clientWidth-40||t.pageY>document.documentElement.clientHeight-40))return;if(eg(o))return;for(var i,a=0,c=n.length;a<c;++a)if(i=o,n[a])do{if(i===n[a])return;i=i&&i.parentNode}while(i);"function"==typeof r&&r()}catch(e){og(e)}})),this.handleClickOutside||"undefined"==typeof document||"undefined"==typeof window||(Array.isArray(t)||(t=[t]),this.handleClickOutside=function(e){r.checkOutsideClick({event:e,ignoreElements:t},(function(){return"function"==typeof n&&n({event:e})}))},document.addEventListener("mousedown",this.handleClickOutside),this.keydownCallback=function(e){"esc"===yp(e)&&(window.removeEventListener("keydown",r.keydownCallback),"function"==typeof n&&n({event:e}))},window.addEventListener("keydown",this.keydownCallback),o.includedKeys&&(this.keyupCallback=function(e){var t=yp(e);o.includedKeys.includes(t)&&"function"==typeof r.handleClickOutside&&r.handleClickOutside(e,(function(){r.keyupCallback&&window.removeEventListener("keyup",r.keyupCallback)}))},window.addEventListener("keyup",this.keyupCallback)))}aa(e,[{key:"remove",value:function(){this.handleClickOutside&&"undefined"!=typeof document&&(document.removeEventListener("mousedown",this.handleClickOutside),this.handleClickOutside=null),this.keydownCallback&&"undefined"!=typeof window&&(window.removeEventListener("keydown",this.keydownCallback),this.keydownCallback=null),this.keyupCallback&&"undefined"!=typeof window&&(window.removeEventListener("keyup",this.keyupCallback),this.keyupCallback=null)}}])}();var eg=function(e){return e&&(e.scrollHeight>e.offsetHeight||e.scrollWidth>e.offsetWidth)&&tg(e)},tg=function(e){var t="undefined"!=typeof window?window.getComputedStyle(e):{};return/scroll|auto/i.test((t.overflow||"")+(t.overflowX||"")+(t.overflowY||""))},ng=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:8;return e+String(Math.random().toString(36).substr(2,t)+rg++).slice(-t)},rg=0,og=function(){};function ig(t){var n=t;if(t&&t.current&&!e.isValidElement(t.current)&&t.current._ref){var r=ig(t.current._ref);r&&Object.prototype.hasOwnProperty.call(r,"current")&&(n=r)}return n}function ag(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return cg("aria-describedby",t)}function cg(e,t){return""===(t=(t=t.map((function(n){return n&&t.includes(n[e])?null:(n&&void 0!==n[e]&&(n=n[e]),"string"!=typeof n&&(n=null),n)}))).filter(Boolean).join(" "))&&(t=void 0),t}!function(){function e(){return oa(this,e),this.bypassElement=null,this.bypassSelectors=[],this}aa(e,[{key:"setBypassElement",value:function(e){return e instanceof HTMLElement&&(this.bypassElement=e),this}},{key:"setBypassSelector",value:function(e){return Array.isArray(e)||(e=[e]),this.bypassSelectors=e,this}},{key:"activate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;this.nodesToInvalidate||this._runInvalidaiton(e)}},{key:"revert",value:function(){this._revertInvalidation(),this.nodesToInvalidate=null}},{key:"_runInvalidaiton",value:function(e){"undefined"!=typeof document&&(this.nodesToInvalidate=this.getNodesToInvalidate(e),Array.isArray(this.nodesToInvalidate)&&this.nodesToInvalidate.forEach((function(e){try{e&&void 0===e._orig_tabindex&&e.hasAttribute("tabindex")&&(e._orig_tabindex=e.getAttribute("tabindex")),e&&void 0===e._orig_ariahidden&&e.hasAttribute("aria-hidden")&&(e._orig_ariahidden=e.getAttribute("aria-hidden")),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true")}catch(e){}})))}},{key:"_revertInvalidation",value:function(){this.nodesToInvalidate&&this.nodesToInvalidate.forEach((function(e){try{e&&void 0!==e._orig_tabindex?(e.setAttribute("tabindex",e._orig_tabindex),e._orig_tabindex=null,delete e._orig_tabindex):e.removeAttribute("tabindex"),e&&void 0!==e._orig_ariahidden?(e.setAttribute("aria-hidden",e._orig_ariahidden),e._orig_ariahidden=null,delete e._orig_ariahidden):e.removeAttribute("aria-hidden")}catch(e){}}))}},{key:"getNodesToInvalidate",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;if("undefined"!=typeof document){"string"==typeof e&&(e=document.querySelector(e));var t=this.bypassSelectors&&this.bypassSelectors.length>0?Array.from((this.bypassElement||document).querySelectorAll(this.bypassSelectors?this.bypassSelectors.map((function(e){return"".concat(e," *")})).join(", "):"*")):[],n=e?"*":"html *",r=this.bypassSelectors.map((function(e){return":not(".concat(e,")")})).join(""),o="".concat(n," ").concat(r,":not(script):not(style):not(path)");return Array.from((e||document.documentElement).querySelectorAll(o)).filter((function(e){return!t.includes(e)}))}}}])}();var lg={space:Ba.oneOfType([Ba.string,Ba.number,Ba.bool,Ba.shape({top:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),right:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),bottom:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),left:Ba.oneOfType([Ba.string,Ba.number,Ba.bool])})]),top:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),right:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),bottom:Ba.oneOfType([Ba.string,Ba.number,Ba.bool]),left:Ba.oneOfType([Ba.string,Ba.number,Ba.bool])},ug={"xx-small":.25,"x-small":.5,small:1,medium:1.5,large:2,"x-large":3,"xx-large":3.5,"xx-large-x2":7},sg=function(e){if("string"==typeof e)e=e.split(/ /g);else{if("boolean"==typeof e)return["small"];if("number"==typeof e)return[e]}return e?e.filter((function(e){return e&&e.length>0})):null},fg=function(e){return sg(e).map((function(e){return function(e){return/-x2$/.test(e)?2*ug[e.replace(/-x2$/,"")]:ug[e]||0}(e)})).reduce((function(e,t){return t>0?e+=t:t<0&&(e-=t),e}),0)},dg=function(e){return"number"==typeof e&&(e=String(e)),(sg(e)||[]).reduce((function(e,t){if(t){var n=t[0];if(parseFloat(n)>-1){var r=parseFloat(t);r>=8&&/[0-9]px/.test(t)&&(r/=16);var o=pg(r);o?t=o:hg(r).forEach((function(t){t&&e.push(t)}))}parseFloat(t)>0||e.push(t)}return e}),[])},pg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.returnObject,r=void 0!==n&&n,o=Object.entries(ug).find((function(t){var n=qa(t,2),r=n[0],o=n[1];return r&&o===e}))||null;return r?o:o?o[0]:o},hg=function e(t){var n=[],r=Object.entries(ug).reverse().find((function(e){var n=qa(e,2),r=n[0],o=n[1];return r&&t>=o})),o=r&&r[1]||t,i=pg(o,{returnObject:!0});if(i){var a=i[0];n.push(a);var c=e(t-parseFloat(i[1]));c.forEach((function(e){var t=n.indexOf(e);-1!==t&&(n[t]="".concat(e,"-x2"))})),n=[].concat(Wa(n),Wa(c))}return n},vg=function(e){return e&&["top","right","bottom","left"].includes(e)},yg=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(void 0!==e.space){for(var n in("string"==typeof e.space||"number"==typeof e.space||"boolean"==typeof e.space&&e.space)&&(e.top=e.right=e.bottom=e.left=e.space),e.space)!e[n]&&vg(n)&&(e[n]=e.space[n]);delete e.space}return Object.entries(e).reduce((function(e,n){var r=qa(n,2),o=r[0],i=r[1];if(vg(o)){if("0"===String(i)||"false"===String(i))e.push("dnb-space__".concat(o,"--zero"));else if(i){var a=dg(i),c=fg(a);if(c>10)og("Spacing of more than 10rem is not supported! You used ".concat(c," / (").concat(a.join(","),")"));else{var l=hg(c);e=[].concat(Wa(e),Wa(l.map((function(e){return"dnb-space__".concat(o,"--").concat(e)}))))}}}else"no_collapse"===o&&(e.push("dnb-space--no-collapse"),t&&mg(t)&&e.push("dnb-space--inline"));return e}),[])},mg=function(e){var t=!1;switch(e){case"h1":case"h2":case"h3":case"h4":case"h5":case"h6":case"p":t=!0}return t};function gg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wg=bg(bg({},{"nb-NO":{DatePicker:{day:"dag",month:"måned",year:"år",start:"fra",end:"til",selected_date:"Valgt dato: %s",selected_month:"Valgt måned %s",selected_year:"Valgt år %s",next_month:"Neste måned %s",prev_month:"Forrige måned %s",next_year:"Neste år %s",prev_year:"Forrige år %s",open_picker_text:"åpne datovelger",mask_order:"dd/mm/yyyy",mask_placeholder:"dd.mm.åååå",date_format:"yyyy-MM-dd",return_format:"yyyy-MM-dd",submit_button_text:"Ok",cancel_button_text:"Avbryt",reset_button_text:"Tilbakestill"},Anchor:{target_blank_title:"Åpner et nytt vindu"},GlobalStatus:{default_title:"En feil har skjedd",close_text:"Lukk",status_anchor_text:"Gå til %s"},GlobalError:{404:{title:"Oisann! Vi finner ikke siden du leter etter …",text:"Sikker på at du har skrevet riktig adresse? Eller har vi rotet med lenkene? Prøv på nytt, eller [gå tilbake der du kom fra](/back).",alt:"Dame søker i tom eske"},500:{title:"Oops, her ble det en teknisk feil!",text:"Tjenesten fungerer ikke slik den skal for øyeblikket, men prøv igjen senere.",alt:"Mann leter etter spor"}},ProgressIndicator:{indicator_label:"Vennligst vent ..."},Dropdown:{title:"Valgmeny"},Autocomplete:{title:"Skriv og velg",submit_button_title:"Vis alternativer",no_options:"Ingen alternativer",show_all:"Vis alt",aria_live_options:"%s alternativer",indicator_label:"Henter data ..."},Modal:{dialog_title:"Separat Vindu",close_title:"Lukk"},NumberFormat:{clipboard_copy:"Kopiert"},HelpButton:{title:"Hjelpetekst",aria_role:"Hjelp-knapp"},Input:{submit_button_title:"Send knapp",clear_button_title:"Nullstill",show_password:"Vis passord",hide_password:"Skjul passord"},Pagination:{button_title:"Side %s",next_title:"Neste side",prev_title:"Forrige side",more_pages:"%s flere sider",is_loading_text:"Laster nytt innhold",load_button_text:"Vis mer innhold"},Skeleton:{aria_busy:"Behandler data ...",aria_ready:"Klar til å samhandle"},StepIndicator:{overview_title:"Stegoversikt",step_title_extended:"Du er på steg %step av %count",step_title:"Steg %step av %count"},Slider:{add_title:"Øk (%s)",subtract_title:"Reduser (%s)"},PaymentCard:{text_card_number:"Kortnummer",text_expired:"Utgått",text_blocked:"Sperret"},Logo:{alt:"DNB Logo"}}}),{"en-GB":{DatePicker:{day:"Day",month:"Month",year:"Year",start:"from",end:"to",selected_date:"Selected date: %s",selected_month:"Selected month %s",selected_year:"Selected year %s",next_month:"Next month %s",prev_month:"Previous month %s",next_year:"Next year %s",prev_year:"Previous year %s",open_picker_text:"Open date picker",mask_order:"dd/mm/yyyy",mask_placeholder:"dd/mm/yyyy",date_format:"yyyy-MM-dd",return_format:"yyyy-MM-dd",submit_button_text:"OK",cancel_button_text:"Cancel",reset_button_text:"Reset"},Anchor:{target_blank_title:"Opens a new Window"},GlobalStatus:{default_title:"An error has occurred",close_text:"Close",status_anchor_text:"Go to %s"},GlobalError:{404:{title:"Oops! We can't find the page you're looking for …",text:"Did we messed with the links? Try again, or [go back where you came from](/back).",alt:"Lady searching in empty box"},500:{title:"Ohh, a technical error happened!",text:"The service is not working properly at the moment, but try again later.",alt:"Man looking for clues"}},ProgressIndicator:{indicator_label:"Please wait ..."},Dropdown:{title:"Option Menu"},Autocomplete:{title:"Type and select",submit_button_title:"Show options",no_options:"No option",show_all:"Show everything",aria_live_options:"%s options",indicator_label:"Getting data ..."},Modal:{dialog_title:"Dialog Window",close_title:"Close"},NumberFormat:{clipboard_copy:"Copied"},HelpButton:{title:"Help text",aria_role:"Help button"},Skeleton:{aria_busy:"In progress ...",aria_ready:"Ready to interact"},Input:{submit_button_title:"Submit button",clear_button_title:"Clear value",show_password:"Show password",hide_password:"Hide password"},Pagination:{button_title:"Page %s",next_title:"Next page",prev_title:"Previous page",more_pages:"%s more pages",is_loading_text:"Loading new content",load_button_text:"Show more content"},StepIndicator:{overview_title:"Steps Overview",step_title_extended:"You are on step %step of %count",step_title:"Step %step of %count"},Slider:{add_title:"Increase (%s)",subtract_title:"Decrease (%s)"},PaymentCard:{text_card_number:"Card number",text_expired:"Expired",text_blocked:"Blocked"},Logo:{alt:"DNB Logo"}}});function Og(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Eg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Og(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Og(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _g(e,t){return t[e]||"en"!==e&&"en"!==e.split("-")[0]?e:"en-GB"}var xg=e.createContext(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.locales?Zm(wg,e.locales):wg;e.__newContext&&(ha(e,e.__newContext),delete e.__newContext);var n=_g(e.locale||"nb-NO",t),r=t[n]||wg["nb-NO"]||{};t[n]&&(t[n]=Sg(t[n],r));var o=Eg(Eg({updateTranslation:function(e,t){o.translation=o.locales[e]=t},getTranslation:function(e){if(e){var t=e.lang||e.locale;if(t&&o.locales[t]&&t!==n)return o.locales[t]}return o.translation},locales:t},e),{},{translation:r});return o}({locale:"nb-NO",currency:"NOK",currency_display:"code"})),kg=xg;function Sg(e,t){for(var n in e)if(String(n).includes(".")){var r=n.split(".");t[r[0]]&&function(){var t=e[n],o=r.length-1;r.forEach((function(n,r){e[n]=r===o?t:e[n],e=e[n]||{}}))}()}return e}!function(e){var t=function(e){var t,n=Object.prototype,r=n.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{l({},"")}catch(e){l=function(e,t,n){return e[t]=n}}function u(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=function(e,t,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===h){if("throw"===o)throw i;return L()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=k(a,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=h,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var l=s(e,t,n);if("normal"===l.type){if(r=n.done?h:d,l.arg===v)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r=h,n.method="throw",n.arg=l.arg)}}}(e,n,a),i}function s(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=u;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",v={};function y(){}function m(){}function g(){}var b={};l(b,i,(function(){return this}));var w=Object.getPrototypeOf,O=w&&w(w(T([])));O&&O!==n&&r.call(O,i)&&(b=O);var E=g.prototype=y.prototype=Object.create(b);function _(e){["next","throw","return"].forEach((function(t){l(e,t,(function(e){return this._invoke(t,e)}))}))}function x(e,t){function n(o,i,a,c){var l=s(e[o],e,i);if("throw"!==l.type){var u=l.arg,f=u.value;return f&&"object"==typeof f&&r.call(f,"__await")?t.resolve(f.__await).then((function(e){n("next",e,a,c)}),(function(e){n("throw",e,a,c)})):t.resolve(f).then((function(e){u.value=e,a(u)}),(function(e){return n("throw",e,a,c)}))}c(l.arg)}var o;this._invoke=function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}}function k(e,n){var r=e.iterator[n.method];if(r===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,k(e,n),"throw"===n.method))return v;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=s(r,e.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,v;var i=o.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,v):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,v)}function S(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function j(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function P(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(S,this),this.reset(!0)}function T(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function n(){for(;++o<e.length;)if(r.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:t,done:!0}}return m.prototype=g,l(E,"constructor",g),l(g,"constructor",m),m.displayName=l(g,c,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,l(e,c,"GeneratorFunction")),e.prototype=Object.create(E),e},e.awrap=function(e){return{__await:e}},_(x.prototype),l(x.prototype,a,(function(){return this})),e.AsyncIterator=x,e.async=function(t,n,r,o,i){void 0===i&&(i=Promise);var a=new x(u(t,n,r,o),i);return e.isGeneratorFunction(n)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},_(E),l(E,c,"Generator"),l(E,i,(function(){return this})),l(E,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},e.values=T,P.prototype={constructor:P,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(j),!e)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function o(r,o){return c.type="throw",c.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var l=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(l&&u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(l){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),v},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),j(n),v}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;j(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:T(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),v}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}}({exports:{}});var jg,Pg,Tg,Lg,Mg,Ag,Cg,Ng=!1;Ng="undefined"!=typeof window&&"undefined"!=typeof document&&!!window.MSInputMethodContext&&!!document.documentMode,"undefined"!=typeof navigator&&/edge/i.test(null===(jg=navigator)||void 0===jg?void 0:jg.userAgent),"undefined"!=typeof navigator&&new RegExp("iOS|iPhone|iPad|iPod","i").test(null===(Pg=navigator)||void 0===Pg?void 0:Pg.platform),"undefined"!=typeof navigator&&/safari/i.test(null===(Tg=navigator)||void 0===Tg?void 0:Tg.userAgent)&&/chrome/i.test(null===(Lg=navigator)||void 0===Lg?void 0:Lg.userAgent),"undefined"!=typeof navigator&&new RegExp("Win","i").test(null===(Mg=navigator)||void 0===Mg?void 0:Mg.platform),"undefined"!=typeof navigator&&new RegExp("Mac|iPad|iPhone|iPod","i").test(null===(Ag=navigator)||void 0===Ag?void 0:Ag.platform),"undefined"!=typeof navigator&&new RegExp("Linux","i").test(null===(Cg=navigator)||void 0===Cg?void 0:Cg.platform);var Rg=["className","children","__element","style"];function Ig(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ig(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ig(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Hg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var Fg=function(t){ua(r,e.PureComponent);var n=Hg(r);function r(){return oa(this,r),n.apply(this,arguments)}return aa(r,[{key:"render",value:function(){var t=this.props,n=t.className,r=t.children,o=t.__element,i=t.style,a=ra(t,Rg),c=function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;Array.isArray(t)||(t=[t]);var r=function t(r){if(e.isValidElement(r))if("string"==typeof r.props.children)r=r.props.children.trim();else{if(!Array.isArray(r.props.children))return null;r=r.props.children.reduce((function(e,r){return"string"!=typeof r&&(r=t(r)),"string"==typeof r&&(e=(e+(n||"")+r).trim()),e}),"")}return r};return t.map((function(e){return r(e)})).filter(Boolean).join(n).trim()}(r);if("string"==typeof c){var l=c.trim().length;if(l>0)return e.createElement(o,Dg({className:$a("dnb-skeleton dnb-skeleton--font",n),"data-skeleton-chars":String(l),style:Dg(Dg({},i||{}),{},pa({},Ng?"maxWidth":"--skeleton-chars","".concat(l,"ch")))},a),r)}return e.createElement(o,ha({},a,{className:n,style:i}))}}]),r}();pa(Fg,"defaultProps",{__element:null,children:null,className:null,style:null});var zg=["className","class","internalClass","css","is","inner_ref","skeleton","skeleton_method"];function Bg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var Vg=e.forwardRef((function(t,n){return e.createElement($g,ha({inner_ref:n},t))}));Vg.defaultProps={is:null,skeleton:null,skeleton_method:"font",className:null,class:null,internalClass:null,css:null,children:null};var $g=function(t){ua(r,e.PureComponent);var n=Bg(r);function r(){return oa(this,r),n.apply(this,arguments)}return aa(r,[{key:"render",value:function(){var t=this.context?Jm(this.props,Vg.defaultProps,{skeleton:this.context.skeleton},this.context.FormRow):this.props,n=t.className,r=t.class,o=t.internalClass,i=t.css,a=t.is,c=t.inner_ref,l=t.skeleton,u=t.skeleton_method,s=ra(t,zg),f=o||("string"==typeof a?"dnb-".concat(a):"");return s.className=$a(n,r,i,function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return Qm(t)||!1!==t&&null!=n&&n.skeleton?$a(r,"dnb-skeleton",e&&"dnb-skeleton--".concat(e)):r}(u,l,this.context),yg(s,"string"==typeof a?"dnb-".concat(a):null),!new RegExp("".concat(f,"(\\s|$)")).test(String(n))&&f),Xm(null,s),function(e,t){var n,r,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;(Qm(t)||!1!==t&&null!=o&&o.skeleton)&&(e.disabled=!0,e["aria-disabled"]=!0,e["aria-label"]=null==o||null===(n=o.translation)||void 0===n||null===(r=n.Skeleton)||void 0===r?void 0:r.aria_busy)}(s,l,this.context),"function"!=typeof a&&c&&(s.ref=c),e.createElement(a,s)}}]),r}();pa($g,"contextType",kg),pa($g,"defaultProps",Vg.defaultProps);var Gg=Vg;function Ug(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Wg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var qg,Yg=function(t){ua(r,e.PureComponent);var n=Wg(r);function r(){var t;oa(this,r);for(var o=arguments.length,i=new Array(o),a=0;a<o;a++)i[a]=arguments[a];return pa(ca(t=n.call.apply(n,[this].concat(i))),"_rootRef",e.createRef()),pa(ca(t),"offset",16),pa(ca(t),"state",{hide:null,hover:null,width:0,height:0}),pa(ca(t),"handleMouseEnter",(function(){Qm(t.props.active)&&t.props.useHover&&t.setState({hover:!0})})),pa(ca(t),"handleMouseLeave",(function(){t.props.useHover&&t.setState({hover:!1})})),t}return aa(r,[{key:"componentDidMount",value:function(){Qm(this.props.active)&&this.updateSize(),this.addPositionObserver()}},{key:"componentDidUpdate",value:function(e){this.props!==e&&this.updateSize()}},{key:"componentWillUnmount",value:function(){this.removePositionObserver()}},{key:"addPositionObserver",value:function(){var e=this;if(!this.resizeObserver&&"undefined"!=typeof document)try{this.resizeObserver=new ResizeObserver((function(t){clearTimeout(e._ddt),e._ddt=setTimeout((function(){e.setState({w:t[0].contentRect.width,h:t[0].contentRect.height})}),30)})),this.resizeObserver.observe(document.body)}catch(e){}}},{key:"removePositionObserver",value:function(){clearTimeout(this._ddt),this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null)}},{key:"getGlobalStyle",value:function(){return this.props.targetElement?this.makeStyle(this.props.position,this.props.arrow):{display:"none"}}},{key:"makeStyle",value:function(e,t){var n=this;if("undefined"==typeof window)return{};var r=0;try{var o=this.props,i=o.targetElement,a=o.align,c=o.fixed_position,l=o.clientX,u=i.getBoundingClientRect(),s={width:i.offsetWidth,height:i.offsetHeight};i.offsetHeight||(s.width=u.width,s.height=u.height);var f=void 0!==window.scrollY?window.scrollY:window.pageYOffset,d=void 0!==window.scrollX?window.scrollX:window.pageXOffset,p=(Qm(c)?0:f)+u.top,h=s.width>400,v=l-function(e){var t=0;if(e)do{isNaN(e.offsetLeft)||(t+=e.offsetLeft)}while(e=e.offsetParent);return t}(i)+u.left/2+(this._rootRef.current?this._rootRef.current.offsetWidth:0),y=d+u.left,m=h&&v<s.width?v:y,g=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ug(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ug(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},this.props.style);"left"===a?r=-s.width/2:"right"===a&&(r=s.width/2);var b={left:function(){g.top=p+s.height/2-n.state.height/2,g.left=m-n.state.width-n.offset},right:function(){g.top=p+s.height/2-n.state.height/2,g.left=m+s.width+n.offset},top:function(){g.left=m-n.state.width/2+s.width/2+r,g.top=p-n.state.height-n.offset},bottom:function(){g.left=m-n.state.width/2+s.width/2+r,g.top=p+s.height+n.offset}},w={left:function(){g.left=m+s.width/2-n.offset+r},right:function(){g.left=m-n.state.width+s.width/2+n.offset+r},top:function(){g.top=p+s.height/2-n.offset},bottom:function(){g.top=p+s.height/2-n.state.height+n.offset}};return b[e]&&b[e](),w[t]&&w[t](),g}catch(e){return{}}}},{key:"checkWindowPosition",value:function(e){if(e.left<0)e.left=this.offset;else try{e.left+this.state.width-window.innerWidth>0&&(e.left=window.innerWidth-this.state.width-this.offset)}catch(e){}return e}},{key:"updateSize",value:function(){try{this.state.height||(this._rootRef.current.style.left="");var e=this._rootRef.current.offsetWidth,t=this._rootRef.current.offsetHeight;e===this.state.width&&t===this.state.height||this.setState({width:e,height:t})}catch(e){}}},{key:"render",value:function(){var t=this.props,n=t.internal_id,r=t.active,o=t.attributes,i=t.arrow,a=t.position,c=t.animate_position,l=t.fixed_position,u=t.no_animation,s=t.children,f=this.state,d=f.hover,p=f.hide,h=Qm(r)||d;return h&&(this._style=this.checkWindowPosition(this.getGlobalStyle())),e.createElement("span",ha({role:"tooltip","aria-hidden":!0,style:this._style,ref:this._rootRef,onMouseEnter:this.handleMouseEnter,onMouseLeave:this.handleMouseLeave},o,{className:$a(o.className,h?"dnb-tooltip--active":p&&"dnb-tooltip--hide",Qm(c)&&"dnb-tooltip--animate_position",Qm(u)&&"dnb-tooltip--no-animation",Qm(l)&&"dnb-tooltip--fixed")}),i&&e.createElement("span",{className:"dnb-tooltip__arrow dnb-tooltip__arrow__arrow--".concat(i," dnb-tooltip__arrow__position--").concat(a)}),e.createElement("span",{id:n,className:"dnb-tooltip__content"},s))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!t.leaveInDOM||e.active||t.hover||(t.hide=!0),(e.active||t.hover)&&(t.leaveInDOM=!0,t.hide=!1),t}}]),r}();function Kg(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}pa(Yg,"defaultProps",{internal_id:null,targetElement:null,clientX:null,active:!1,position:"center",arrow:null,align:null,animate_position:null,fixed_position:null,no_animation:null,useHover:!0,style:null,attributes:null,children:null}),"undefined"!=typeof window?(window.tooltipPortal=window.tooltipPortal||{},qg=window.tooltipPortal):qg={};var Xg=function(n){ua(o,e.PureComponent);var r=Kg(o);function o(){var n;oa(this,o);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return pa(ca(n=r.call.apply(r,[this].concat(a))),"state",{isMounted:!1}),pa(ca(n),"init",(function(){var e=n.props,t=e.group,r=e.active;qg[t]=qg[t]||{},qg[t].node||(qg[t].node=n.useRootElement()),n.setState({isMounted:!0,active:r},(function(){n.isMainGorup()||n.renderPortal()}))})),pa(ca(n),"renderPortal",(function(){var r=n.getTargetElement(),o=n.props.group;if(qg[o].timeout&&clearTimeout(qg[o].timeout),n.handleAria(r),n.isMainGorup())return t.createPortal(e.createElement(Yg,ha({targetElement:r},n.props,{active:n.state.active})),qg[o].node);t.render(e.createElement(Yg,ha({targetElement:r},n.props,{active:n.state.active})),qg[o].node)})),n}return aa(o,[{key:"componentDidMount",value:function(){"complete"===document.readyState?this.init():"undefined"!=typeof window&&window.addEventListener("load",this.init)}},{key:"componentDidUpdate",value:function(e){var t=this,n=this.props,r=n.group,o=n.active,i=n.hide_delay;qg[r]&&o!==e.active&&(o&&!e.active?this.setState({active:!0},(function(){t.isMainGorup()||t.renderPortal()})):!o&&e.active&&(qg[r].timeout=setTimeout((function(){t.setState({active:!1},(function(){t.isMainGorup()||t.renderPortal()}))}),parseFloat(i))))}},{key:"isMainGorup",value:function(){return"main"===this.props.group}},{key:"componentWillUnmount",value:function(){var e=this.props.group;if(qg[e]){this.isMainGorup()||t.unmountComponentAtNode(qg[e].node),clearTimeout(qg[e].timeout);try{document.body.removeChild(qg[e].node)}catch(e){}qg[e]=null}}},{key:"getTargetElement",value:function(){if("undefined"!=typeof document){var e=this.props.target;return"string"==typeof e?"undefined"!=typeof document&&document.querySelector(e):e}}},{key:"useRootElement",value:function(){if("undefined"!=typeof document)try{var e=document.createElement("div");return e.classList.add("dnb-tooltip__portal"),e.classList.add("dnb-core-style"),document.body.appendChild(e),e}catch(e){og(e)}}},{key:"handleAria",value:function(e){try{if(!e.classList.contains("dnb-tooltip__wrapper")){var t={"aria-describedby":e.getAttribute("aria-describedby")};e.setAttribute("aria-describedby",ag(t,this.props.internal_id))}}catch(e){}}},{key:"render",value:function(){return this.state.isMounted&&this.isMainGorup()?this.renderPortal():null}}]),o}();pa(Xg,"defaultProps",{internal_id:null,active:!1,group:"main",hide_delay:500});var Zg=["children","target"];function Jg(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qg(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jg(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jg(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function eb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var tb=function(t){ua(r,e.PureComponent);var n=eb(r);function r(t){var o;return oa(this,r),pa(ca(o=n.call(this,t)),"state",{isActive:!1,isNotSemanticElement:!1}),pa(ca(o),"handleSemanticElement",(function(){try{var e=document.querySelector('*[aria-describedby*="'.concat(o.props.internal_id,'"]'));if(e){var t=e.getAttribute("role");!/div|p|span/i.test(null==e?void 0:e.tagName)||t&&"text"!==t||o.setState({isNotSemanticElement:!0})}}catch(e){og(e)}})),pa(ca(o),"addEvents",(function(){var e=ig(o._ref).current;try{e.addEventListener("click",o.onMouseLeave),e.addEventListener("focus",o.onFocus),e.addEventListener("blur",o.onMouseLeave),e.addEventListener("mouseenter",o.onMouseEnter),e.addEventListener("mouseleave",o.onMouseLeave),e.addEventListener("touchstart",o.onMouseEnter),e.addEventListener("touchend",o.onMouseLeave)}catch(e){og(e)}})),pa(ca(o),"isTouch",(function(e){return/touch/i.test(e.type)})),pa(ca(o),"onFocus",(function(e){try{if("keyboard"===document.documentElement.getAttribute("data-whatintent"))return o.onMouseEnter(e)}catch(e){og(e)}})),pa(ca(o),"onMouseEnter",(function(e){try{if(o.isTouch(e))e.currentTarget.style.userSelect="none"}catch(e){og(e)}clearTimeout(o._onEnterTimeout),o._onEnterTimeout=setTimeout((function(){o.setState({isActive:!0,clientX:e.clientX})}),"undefined"==typeof window||window.IS_TEST?1:parseFloat(o.props.show_delay)||1)})),pa(ca(o),"onMouseLeave",(function(e){try{if(o.isTouch(e))e.currentTarget.style.userSelect=""}catch(e){og(e)}clearTimeout(o._onEnterTimeout),o.setState({isActive:!1})})),o._ref=Object.prototype.hasOwnProperty.call(t.target,"current")?t.target:e.createRef(),o}return aa(r,[{key:"componentDidMount",value:function(){var e=this;this.setState({_isMounted:!0},(function(){e.addEvents(),e.handleSemanticElement()}))}},{key:"componentWillUnmount",value:function(){clearTimeout(this._onEnterTimeout);var e=ig(this._ref).current;if(e)try{e.removeEventListener("click",this.onMouseLeave),e.removeEventListener("focus",this.onFocus),e.removeEventListener("blur",this.onMouseLeave),e.removeEventListener("mouseenter",this.onMouseEnter),e.removeEventListener("mouseleave",this.onMouseLeave),e.removeEventListener("touchstart",this.onMouseEnter),e.removeEventListener("touchend",this.onMouseLeave)}catch(e){og(e)}}},{key:"render",value:function(){var t=this.props,n=t.children,r=t.target,o=ra(t,Zg),i=null;if(e.isValidElement(r)){var a=this.state.isNotSemanticElement?function(e){return e.tabIndex="0",e.className=$a("dnb-tooltip__wrapper dnb-tab-focus",e.className),e}({className:o.className}):{};i=e.cloneElement(r,Qg(Qg({ref:this._ref},a),{},{"aria-describedby":ag(r.props,this.props.internal_id)}))}return e.createElement(e.Fragment,null,i,this.state._isMounted&&e.createElement(Xg,ha({key:"tooltip",active:this.state.isActive,target:ig(this._ref).current,clientX:this.state.clientX},o),n))}}]),r}();pa(tb,"defaultProps",{internal_id:null,show_delay:1,target:null,children:null});var nb=["target_element","target_selector","class","className","id","tooltip","group","size","animate_position","fixed_position","no_animation","show_delay","hide_delay","active","position","arrow","align"];function rb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ob(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rb(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ib(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var ab=function(t){ua(o,e.PureComponent);var r=ib(o);function o(e){var t;return oa(this,o),(t=r.call(this,e))._id=e.id||ng(),t}return aa(o,[{key:"getPropsFromTooltipProp",value:function(){return this.props.tooltip?e.isValidElement(this.props.tooltip)&&this.props.tooltip.props?this.props.tooltip.props:{children:this.props.tooltip}:null}},{key:"render",value:function(){var t=this.getPropsFromTooltipProp(),n=Jm(this.props,o.defaultProps,t,this.context.getTranslation(this.props).Tooltip,this.context.FormRow,this.context.Tooltip),r=n.target_element,i=n.target_selector,a=n.class,c=n.className;n.id,n.tooltip;var l=n.group,u=n.size;n.animate_position,n.fixed_position,n.no_animation,n.show_delay,n.hide_delay,n.active,n.position,n.arrow,n.align;var s=ra(n,nb),f=o.getContent(n),d=ob({className:$a("dnb-tooltip",yg(n),a,c,"large"===u&&"dnb-tooltip--large")},s);Xm(this.props,d);var p=ob(ob(ob({},this.props),t),{},{internal_id:this._id,group:this.props.id||l});return null===p.active&&delete p.active,e.createElement(e.Fragment,null,r?e.createElement(tb,ha({target:r,attributes:d},p),f):i&&e.createElement(Xg,ha({target:i,attributes:d},p),f))}}],[{key:"enableWebComponent",value:function(){Bm(null==o?void 0:o.tagName,o,o.defaultProps)}},{key:"getContent",value:function(t){return function(t){if(!t)return null;if(void 0!==n&&Array.isArray(n.registeredElements)&&n.registeredElements.length>0){var r=null;if(Object.entries(t).reverse().map((function(n){var o=qa(n,2),i=o[0],a=o[1];return i.includes("render_")&&/^render_/.test(i)&&"function"==typeof a?(r&&(Object.isFrozen(t)&&(t=Ym({},t)),t.children=r),r=e.createElement(e.Fragment,{key:i},a(t))):null})).filter(Boolean),r)return r}var o="function"==typeof t.children?t.children(t):t.children;if(Array.isArray(o)){var i=o.reduce((function(e,t){return"string"!=typeof t&&"number"!=typeof t||e.push(t),e}),[]);if(i.length===o.length&&i.length>0)return i.join("")}return o}(t)}}]),o}();pa(ab,"tagName","dnb-tooltip"),pa(ab,"contextType",kg),pa(ab,"defaultProps",{id:null,group:"main",size:"basis",active:null,position:"top",arrow:"center",align:null,animate_position:!1,fixed_position:!1,no_animation:!1,show_delay:300,hide_delay:500,target_selector:null,target_element:null,class:null,className:null,children:null,tooltip:null});var cb=["element","className","children","tooltip","omitClass","inner_ref"];function lb(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var ub=e.forwardRef((function(t,n){return e.createElement(sb,ha({inner_ref:n},t))}));ub.defaultProps={element:null,href:null,to:null,omitClass:null,target_blank_title:null,target:null,className:null,tooltip:null,children:null};var sb=function(t){ua(r,e.PureComponent);var n=lb(r);function r(t){var o;return oa(this,r),pa(ca(o=n.call(this,t)),"state",{}),o._id=t.id||"id"+ng(),o._ref=t.inner_ref||e.createRef(),o}return aa(r,[{key:"render",value:function(){var t=Jm(this.props,ub.defaultProps,{skeleton:this.context&&this.context.skeleton},this.context.getTranslation(this.props).Anchor,this.context.Anchor),n=t.element,r=t.className,o=t.children,i=t.tooltip,a=t.omitClass;t.inner_ref;var c=ra(t,cb),l="_blank"===t.target&&!t.title;return c.className=$a(r,!0!==a&&"dnb-anchor","_blank"===t.target&&"string"!=typeof o&&"dnb-anchor--no-icon"),e.createElement(e.Fragment,null,e.createElement(Gg,ha({is:n||"a"},c,{inner_ref:this._ref}),o),l&&e.createElement(ab,{show_delay:100,id:this._id+"-tooltip",target_element:this._ref,tooltip:i},t.title||t.target_blank_title))}}]),r}();pa(sb,"contextType",kg),pa(sb,"tagName","dnb-anchor"),pa(sb,"defaultProps",ub.defaultProps);var fb=ub;function db(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?db(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):db(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var hb=e.forwardRef((function(t,n){return e.createElement(Gg,ha({is:"blockquote",skeleton_method:"font-only",inner_ref:n},t))}));hb.tagName="dnb-blockquote",hb.propTypes=pb(pb({},lg),{},{children:Ba.node}),hb.defaultProps={children:null};var vb=hb;function yb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function mb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yb(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var gb=e.forwardRef((function(t,n){return e.createElement(Gg,ha({is:"code",inner_ref:n},t))}));gb.tagName="dnb-code",gb.propTypes=mb(mb({},lg),{},{children:Ba.node}),gb.defaultProps={children:null};var bb=gb;function wb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ob(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wb(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Eb=e.forwardRef((function(t,n){return e.createElement(Gg,ha({is:"dd",inner_ref:n},t))}));Eb.tagName="dnb-dd",Eb.propTypes=Ob(Ob({},lg),{},{children:Ba.node}),Eb.defaultProps={children:null};var _b=Eb;function xb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xb(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Sb=e.forwardRef((function(t,n){return e.createElement(Gg,ha({is:"div",skeleton_method:"shape",inner_ref:n},t))}));Sb.tagName="dnb-div",Sb.propTypes=kb(kb({},lg),{},{children:Ba.node}),Sb.defaultProps={children:null};var jb=Sb,Pb=function(t){return e.createElement(Gg,ha({is:"dl"},t,{skeleton:!1}))};Pb.tagName="dnb-dl",Pb.defaultProps={children:null};var Tb=Pb;function Lb(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Mb(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lb(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lb(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ab=e.forwardRef((function(t,n){return e.createElement(Gg,ha({is:"dt",inner_ref:n},t))}));Ab.tagName="dnb-dt",Ab.propTypes=Mb(Mb({},lg),{},{children:Ba.node}),Ab.defaultProps={children:null};var Cb=Ab;e.createRef(),e.createRef(null),e.createRef(),e.createRef(!1);var Nb=e.createRef(null);var Rb=["is","level","style_type","size","className"];function Ib(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var Db=function(t){ua(r,e.PureComponent);var n=Ib(r);function r(e){var t;return oa(this,r),t=n.call(this,e),"use"===e.level&&function(e){var t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).overwriteContext,n=void 0!==t&&t;Nb.current={level:e,overwriteContext:n}}(parseFloat(e.is.substr(1))),t}return aa(r,[{key:"render",value:function(){var t=this.props,n=t.is;t.level;var r=t.style_type,o=t.size,i=t.className,a=ra(t,Rb);return r&&(o=r),e.createElement(Gg,ha({is:n,internalClass:$a(i,o&&"dnb-h--".concat(o))},a))}}]),r}();pa(Db,"defaultProps",{className:null,level:null,is:"h1",size:"xx-large",style_type:null,children:null});var Hb=function(t){return e.createElement(Db,ha({is:"h1"},t))};Hb.tagName="dnb-h1",Hb.defaultProps={level:null,size:"xx-large",children:null};var Fb=Hb,zb=function(t){return e.createElement(Db,ha({is:"h2"},t))};zb.tagName="dnb-h2",zb.defaultProps={level:null,size:"large",children:null};var Bb=zb,Vb=function(t){return e.createElement(Db,ha({is:"h3"},t))};Vb.tagName="dnb-h3",Vb.defaultProps={level:null,size:"medium",children:null};var $b=Vb,Gb=function(t){return e.createElement(Db,ha({is:"h4"},t))};Gb.tagName="dnb-h4",Gb.defaultProps={level:null,size:"basis",children:null};var Ub=Gb,Wb=function(t){return e.createElement(Db,ha({is:"h5"},t))};Wb.tagName="dnb-h5",Wb.defaultProps={level:null,size:"small",children:null};var qb=Wb,Yb=function(t){return e.createElement(Db,ha({is:"h6"},t))};Yb.tagName="dnb-h6",Yb.defaultProps={level:null,size:"x-small",children:null};var Kb=Yb,Xb=["fullscreen","light","medium"],Zb=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.fullscreen,r=t.light,o=t.medium,i=ra(t,Xb);return n&&(i.className=$a(i.className,"dnb-hr--fullscreen")),r&&(i.className=$a(i.className,"dnb-hr--light")),o&&(i.className=$a(i.className,"dnb-hr--medium")),e.createElement(Gg,ha({is:"hr"},i))};Zb.tagName="dnb-hr",Zb.defaultProps={className:null,light:null,medium:null,fullscreen:null};var Jb=Zb,Qb=["caption","alt","element","skeleton","img_class","className","class"],ew=function(t){var n=t.caption,r=t.alt,o=t.element,i=t.skeleton,a=t.img_class,c=t.className,l=t.class,u=ra(t,Qb),s=qa(e.useState(!1),2),f=s[0],d=s[1];return e.createElement(Gg,{is:o,internalClass:"dnb-img",className:$a(c,l,yg(u,u.is)),skeleton:i,skeleton_method:"shape"},e.createElement(Gg,ha({is:"img",alt:r,internalClass:"dnb-img__img"+(f?" dnb-img__img--error":""),className:a,skeleton:i,onError:function(){return d(!0)}},function(e){var t=ha({},e);for(var n in t)vg(n)&&delete t[n];return t}(u))),n&&e.createElement("figcaption",null,n))};ew.tagName="dnb-img",ew.defaultProps={skeleton:null,className:null,class:null,img_class:null,element:"figure",css:null,caption:null,children:null};var tw=ew,nw=G,rw=or,ow=/"/g,iw=function(e,t,n,r){var o=rw(nw(e)),i="<"+t;return""!==n&&(i+=" "+n+'="'+rw(r).replace(ow,"&quot;")+'"'),i+">"+o+"</"+t+">"},aw=L,cw=function(e){return aw((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))},lw=iw;Yn({target:"String",proto:!0,forced:cw("small")},{small:function(){return lw(this,"small","","")}});var uw=iw;Yn({target:"String",proto:!0,forced:cw("bold")},{bold:function(){return uw(this,"b","","")}});var sw=["style_type","modifier","element","className","small","medium","bold","size"],fw=function(t){var n=t.style_type,r=t.modifier,o=t.element,i=t.className,a=t.small,c=t.medium,l=t.bold,u=t.size,s=ra(t,sw);return"string"==typeof r&&/ /.test(r)?r=r.split(/ /g):Array.isArray(r)||(r=[r]),n&&r.push(n),!0===c?r.push("medium"):!0===l&&r.push("bold"),r=r.filter(Boolean).reduce((function(e,t){return["x-small","small"].includes(t)?"".concat(e," dnb-p__size--").concat(t):"".concat(e," dnb-p--").concat(t)}),""),u?i=$a(i,"dnb-p__size--".concat(u)):!0===a&&(i=$a(i,"dnb-p__size--small")),e.createElement(Gg,ha({is:o},s,{className:$a("dnb-p",r,i)}))};fw.tagName="dnb-p",fw.defaultProps={element:"p",className:null,small:null,medium:null,bold:null,size:null,style_type:null,modifier:null,children:null};var dw=fw,pw=function(t){return e.createElement(dw,ha({style_type:"ingress"},t))};pw.tagName="dnb-p--ingress";var hw=pw;function vw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vw(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var mw=e.forwardRef((function(t,n){return e.createElement(Gg,ha({is:"p",inner_ref:n},t))}));mw.tagName="dnb-lead",mw.propTypes=yw(yw({},lg),{},{children:Ba.node}),mw.defaultProps={children:null};var gw=mw,bw=["nested","inside","outside"],ww=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.nested,r=t.inside,o=t.outside,i=ra(t,bw);return n&&(i.className=$a(i.className,"dnb-ul--nested")),r&&(i.className=$a(i.className,"dnb-ul--inside")),o&&(i.className=$a(i.className,"dnb-ul--outside")),e.createElement(Gg,ha({is:"ul"},i,{skeleton:!1}))};ww.tagName="dnb-ul",ww.defaultProps={className:null,inside:null,outside:null,nested:null,children:null};var Ow=ww,Ew=["nested","inside","outside"],_w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.nested,r=t.inside,o=t.outside,i=ra(t,Ew);return n&&(i.className=$a(i.className,"dnb-ol--nested")),r&&(i.className=$a(i.className,"dnb-ol--inside")),o&&(i.className=$a(i.className,"dnb-ol--outside")),e.createElement(Gg,ha({is:"ol"},i,{skeleton:!1}))};_w.tagName="dnb-ol",_w.defaultProps={className:null,inside:null,outside:null,nested:null};var xw=_w,kw=["className"],Sw=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.className,r=ra(t,kw);return Array.isArray(r.children)&&r.children.forEach((function(e){!e||e.type!==Ow&&e.type!==xw||(n=$a(n,"is-nested"))})),e.createElement(Gg,ha({is:"li"},r,{className:n}))};Sw.tagName="dnb-li",Sw.defaultProps={className:null};var jw=Sw,Pw=fb;Pw.tagName="dnb-link";var Tw=Pw,Lw=function(t){return e.createElement(dw,t)};Lw.tagName="dnb-p";var Mw=Lw;function Aw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Cw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Aw(Object(n),!0).forEach((function(t){pa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Aw(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nw=e.forwardRef((function(t,n){return e.createElement(Gg,ha({is:"span",inner_ref:n},t))}));Nw.tagName="dnb-span",Nw.propTypes=Cw(Cw({},lg),{},{children:Ba.node}),Nw.defaultProps={children:null};var Rw,Iw=Nw,Dw=["sticky"];function Hw(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=da(e);if(t){var o=da(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fa(this,n)}}var Fw=function(t){ua(r,e.PureComponent);var n=Hw(r);function r(t){var o;return oa(this,r),pa(ca(o=n.call(this,t)),"init",(function(){if(o._isMounted&&Qm(o.props.sticky)&&(o.enableStickyHeader(),o.intersectionObserver&&o._ref.current))try{var e=o._ref.current;e.querySelector("thead > tr:first-of-type").classList.add("sticky");var t,n=e.querySelector("tbody > tr.dnb-table__sticky-helper > td:first-of-type")||o.getTdElement(e);if(n)null===(t=o.intersectionObserver)||void 0===t||t.observe(n)}catch(e){o.stickyWarning(e)}})),o._ref=e.createRef(),o}return aa(r,[{key:"componentDidMount",value:function(){this._isMounted=!0,"complete"===document.readyState?this.init():"undefined"!=typeof window&&window.addEventListener("load",this.init)}},{key:"componentWillUnmount",value:function(){var e;this._isMounted=!1,"undefined"!=typeof window&&window.removeEventListener("load",this.init),null===(e=this.intersectionObserver)||void 0===e||e.disconnect()}},{key:"getTdElement",value:function(e){return e.querySelector("tbody > tr:not(.dnb-table__sticky-helper):first-of-type > td:first-of-type, tbody > .dnb-table__tr:first-of-type > .dnb-table__td:first-of-type")}},{key:"getThElement",value:function(e){return e.querySelector("thead > tr:first-of-type > th:first-of-type, thead > .dnb-table__tr:first-of-type > .dnb-table__th:first-of-type")}},{key:"enableStickyHeader",value:function(){var e=this;if("undefined"!=typeof window&&"undefined"!=typeof IntersectionObserver&&this._ref.current){var t,n,r,o=this._ref.current,i=80,a=64,c=0;try{t=o.querySelector("thead > tr:first-of-type, thead > .dnb-table__tr:first-of-type"),n=this.getThElement(o),r=this.getTdElement(o),(c=parseFloat(this.props.sticky_offset)||c)>0&&("string"==typeof this.props.sticky_offset&&String(this.props.sticky_offset).includes("em")&&(c*=16),t.style.top=this.props.sticky_offset),i=n&&parseFloat(window.getComputedStyle(n).height)||i,a=r&&parseFloat(window.getComputedStyle(r).height)||a}catch(e){this.stickyWarning(e)}var l=i+a+c;this.intersectionObserver=new IntersectionObserver((function(n){var r=qa(n,1)[0];try{r.isIntersecting?t.classList.remove("show-shadow"):t.classList.add("show-shadow")}catch(t){e.stickyWarning(t)}}),{rootMargin:"-".concat(l,"px 0px 0px 0px")})}}},{key:"stickyWarning",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";og("Could not enable Sticky mode in table:",e)}},{key:"render",value:function(){var t=this.props;t.sticky;var n=ra(t,Dw);return e.createElement(Gg,ha({is:"table"},n,{ref:this._ref}))}}],[{key:"enableWebComponent",value:function(){Bm(r.tagName,r,r.defaultProps)}}]),r}();pa(Fw,"tagName","dnb-table"),pa(Fw,"defaultProps",{sticky:!1,sticky_offset:null,children:null}),Fw.StickyHelper=function(){return Rw||(Rw=e.createElement("tr",{className:"dnb-table__sticky-helper"},e.createElement("td",null)))};var zw=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createElement(Gg,ha({is:"td"},t,{internalClass:"dnb-table__td",skeleton_method:"font-only"}))};zw.tagName="dnb-table__td",zw.defaultProps={children:null};var Bw=zw,Vw=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createElement(Gg,ha({is:"th"},t,{internalClass:"dnb-table__th",skeleton_method:"font-only"}))};Vw.tagName="dnb-table__th",Vw.defaultProps={children:null};var $w=Vw,Gw=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return e.createElement(Gg,ha({is:"tr"},t,{internalClass:"dnb-table__tr",skeleton_method:"font-only"}))};Gw.tagName="dnb-table__tr",Gw.defaultProps={children:null};var Uw=Gw;export{fb as Anchor,vb as Blockquote,bb as Code,_b as Dd,jb as Div,Tb as Dl,Cb as Dt,Db as H,Fb as H1,Bb as H2,$b as H3,Ub as H4,qb as H5,Kb as H6,Jb as Hr,tw as Img,hw as Ingress,gw as Lead,jw as Li,Tw as Link,xw as Ol,dw as P,Mw as Paragraph,Iw as Span,Fw as Table,Bw as Td,$w as Th,Uw as Tr,Ow as Ul};