@verdocs/web-sdk 1.0.15 → 1.0.19

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 (160) hide show
  1. package/dist/cjs/{Content-986f7a13.js → Content-1d98b2f3.js} +297 -17
  2. package/dist/cjs/app-globals-3a1e7e63.js +5 -0
  3. package/dist/cjs/css-shim-88cc6900.js +6 -0
  4. package/dist/cjs/document-status-indicator.cjs.entry.js +1 -1
  5. package/dist/cjs/dom-95afd968.js +75 -0
  6. package/dist/cjs/dropdown-menu.cjs.entry.js +191 -4
  7. package/dist/cjs/index-0b9c3c7d.js +3064 -0
  8. package/dist/cjs/loader.cjs.js +19 -3
  9. package/dist/cjs/org-popup.cjs.entry.js +1 -1
  10. package/dist/cjs/pdf-viewer.cjs.entry.js +87 -6
  11. package/dist/cjs/search-box.cjs.entry.js +19 -7
  12. package/dist/cjs/search-embed.cjs.entry.js +1 -1
  13. package/dist/cjs/search-quick-functions.cjs.entry.js +1 -1
  14. package/dist/cjs/search-recent.cjs.entry.js +2 -2
  15. package/dist/cjs/search-saved.cjs.entry.js +2 -2
  16. package/dist/cjs/search-starred.cjs.entry.js +1 -1
  17. package/dist/cjs/search-tabs.cjs.entry.js +1 -1
  18. package/dist/cjs/shadow-css-71d0f821.js +391 -0
  19. package/dist/cjs/tags-indicator.cjs.entry.js +1 -1
  20. package/dist/cjs/template-card.cjs.entry.js +1 -1
  21. package/dist/cjs/toggle-icon-buttons.cjs.entry.js +1 -1
  22. package/dist/cjs/verdocs-web-sdk.cjs.js +113 -5
  23. package/dist/collection/collection-manifest.json +2 -2
  24. package/dist/collection/components/elements/search-box/search-box.css +4 -0
  25. package/dist/collection/components/elements/search-box/search-box.js +73 -14
  26. package/dist/collection/components/elements/search-box/search-box.stories.js +3 -1
  27. package/dist/custom-elements/index.js +597 -34
  28. package/dist/docs.json +40 -5
  29. package/dist/esm/{Content-386637c8.js → Content-0d614ff3.js} +297 -17
  30. package/dist/esm/app-globals-0f993ce5.js +3 -0
  31. package/dist/esm/css-shim-c64026cd.js +4 -0
  32. package/dist/esm/document-status-indicator.entry.js +1 -1
  33. package/dist/esm/dom-a712b575.js +73 -0
  34. package/dist/esm/dropdown-menu.entry.js +191 -4
  35. package/dist/esm/index-81ec66c1.js +3027 -0
  36. package/dist/esm/loader.js +19 -3
  37. package/dist/esm/org-popup.entry.js +1 -1
  38. package/dist/esm/pdf-viewer.entry.js +87 -6
  39. package/dist/esm/search-box.entry.js +19 -7
  40. package/dist/esm/search-embed.entry.js +1 -1
  41. package/dist/esm/search-quick-functions.entry.js +1 -1
  42. package/dist/esm/search-recent.entry.js +2 -2
  43. package/dist/esm/search-saved.entry.js +2 -2
  44. package/dist/esm/search-starred.entry.js +1 -1
  45. package/dist/esm/search-tabs.entry.js +1 -1
  46. package/dist/esm/shadow-css-1e16431b.js +389 -0
  47. package/dist/esm/tags-indicator.entry.js +1 -1
  48. package/dist/esm/template-card.entry.js +1 -1
  49. package/dist/esm/toggle-icon-buttons.entry.js +1 -1
  50. package/dist/esm/verdocs-web-sdk.js +113 -5
  51. package/dist/esm-es5/Content-0d614ff3.js +1 -0
  52. package/dist/esm-es5/app-globals-0f993ce5.js +1 -0
  53. package/dist/esm-es5/css-shim-c64026cd.js +1 -0
  54. package/dist/esm-es5/document-status-indicator.entry.js +1 -1
  55. package/dist/esm-es5/dom-a712b575.js +21 -0
  56. package/dist/esm-es5/dropdown-menu.entry.js +1 -1
  57. package/dist/esm-es5/index-81ec66c1.js +1 -0
  58. package/dist/esm-es5/loader.js +1 -1
  59. package/dist/esm-es5/org-popup.entry.js +1 -1
  60. package/dist/esm-es5/pdf-viewer.entry.js +2 -2
  61. package/dist/esm-es5/search-box.entry.js +1 -1
  62. package/dist/esm-es5/search-embed.entry.js +1 -1
  63. package/dist/esm-es5/search-quick-functions.entry.js +1 -1
  64. package/dist/esm-es5/search-recent.entry.js +1 -1
  65. package/dist/esm-es5/search-saved.entry.js +1 -1
  66. package/dist/esm-es5/search-starred.entry.js +1 -1
  67. package/dist/esm-es5/search-tabs.entry.js +1 -1
  68. package/dist/esm-es5/shadow-css-1e16431b.js +12 -0
  69. package/dist/esm-es5/tags-indicator.entry.js +1 -1
  70. package/dist/esm-es5/template-card.entry.js +1 -1
  71. package/dist/esm-es5/toggle-icon-buttons.entry.js +1 -1
  72. package/dist/esm-es5/verdocs-web-sdk.js +1 -1
  73. package/dist/types/components/elements/search-box/search-box.d.ts +20 -5
  74. package/dist/types/components/elements/search-box/search-box.stories.d.ts +3 -1
  75. package/dist/types/components.d.ts +23 -1
  76. package/dist/verdocs-web-sdk/Content-0d614ff3.js +2175 -0
  77. package/dist/verdocs-web-sdk/Content-42ddf5ec.system.js +1 -0
  78. package/dist/verdocs-web-sdk/app-globals-0f993ce5.js +3 -0
  79. package/dist/verdocs-web-sdk/app-globals-497eb362.system.js +1 -0
  80. package/dist/verdocs-web-sdk/css-shim-0e9af51a.system.js +1 -0
  81. package/dist/verdocs-web-sdk/css-shim-c64026cd.js +4 -0
  82. package/dist/verdocs-web-sdk/document-status-indicator.entry.js +55 -0
  83. package/dist/verdocs-web-sdk/document-status-indicator.system.entry.js +1 -0
  84. package/dist/verdocs-web-sdk/dom-a712b575.js +73 -0
  85. package/dist/verdocs-web-sdk/dom-f6327147.system.js +21 -0
  86. package/dist/verdocs-web-sdk/dropdown-menu.entry.js +1990 -0
  87. package/dist/verdocs-web-sdk/dropdown-menu.system.entry.js +1 -0
  88. package/dist/verdocs-web-sdk/index-46cb292b.system.js +1 -0
  89. package/dist/verdocs-web-sdk/index-81ec66c1.js +3027 -0
  90. package/dist/verdocs-web-sdk/index.esm.js +1 -0
  91. package/dist/verdocs-web-sdk/{p-50ea2036.system.js → index.system.js} +0 -0
  92. package/dist/verdocs-web-sdk/org-popup.entry.js +21 -0
  93. package/dist/verdocs-web-sdk/org-popup.system.entry.js +1 -0
  94. package/dist/verdocs-web-sdk/pdf-viewer.entry.js +13754 -0
  95. package/dist/verdocs-web-sdk/pdf-viewer.system.entry.js +23 -0
  96. package/dist/verdocs-web-sdk/search-box.entry.js +46 -0
  97. package/dist/verdocs-web-sdk/search-box.system.entry.js +1 -0
  98. package/dist/verdocs-web-sdk/search-embed.entry.js +15 -0
  99. package/dist/verdocs-web-sdk/search-embed.system.entry.js +1 -0
  100. package/dist/verdocs-web-sdk/search-quick-functions.entry.js +27 -0
  101. package/dist/verdocs-web-sdk/search-quick-functions.system.entry.js +1 -0
  102. package/dist/verdocs-web-sdk/search-recent.entry.js +35 -0
  103. package/dist/verdocs-web-sdk/search-recent.system.entry.js +1 -0
  104. package/dist/verdocs-web-sdk/search-saved.entry.js +35 -0
  105. package/dist/verdocs-web-sdk/search-saved.system.entry.js +1 -0
  106. package/dist/verdocs-web-sdk/search-starred.entry.js +42 -0
  107. package/dist/verdocs-web-sdk/search-starred.system.entry.js +1 -0
  108. package/dist/verdocs-web-sdk/search-tabs.entry.js +16 -0
  109. package/dist/verdocs-web-sdk/search-tabs.system.entry.js +1 -0
  110. package/dist/verdocs-web-sdk/shadow-css-1e16431b.js +389 -0
  111. package/dist/verdocs-web-sdk/shadow-css-ef154fe4.system.js +13 -0
  112. package/dist/verdocs-web-sdk/tags-indicator.entry.js +16 -0
  113. package/dist/verdocs-web-sdk/tags-indicator.system.entry.js +1 -0
  114. package/dist/verdocs-web-sdk/template-card.entry.js +24 -0
  115. package/dist/verdocs-web-sdk/template-card.system.entry.js +1 -0
  116. package/dist/verdocs-web-sdk/toggle-icon-buttons.entry.js +28 -0
  117. package/dist/verdocs-web-sdk/toggle-icon-buttons.system.entry.js +1 -0
  118. package/dist/verdocs-web-sdk/verdocs-web-sdk.css +12 -1
  119. package/dist/verdocs-web-sdk/verdocs-web-sdk.esm.js +125 -1
  120. package/dist/verdocs-web-sdk/verdocs-web-sdk.js +1 -1
  121. package/dist/verdocs-web-sdk/verdocs-web-sdk.system.js +1 -0
  122. package/package.json +5 -5
  123. package/dist/cjs/index-e2fb537e.js +0 -1631
  124. package/dist/custom-elements.json +0 -266
  125. package/dist/esm/index-183a8995.js +0 -1602
  126. package/dist/esm-es5/Content-386637c8.js +0 -1
  127. package/dist/esm-es5/index-183a8995.js +0 -1
  128. package/dist/verdocs-web-sdk/p-153879ad.entry.js +0 -1
  129. package/dist/verdocs-web-sdk/p-1d1bc463.system.entry.js +0 -1
  130. package/dist/verdocs-web-sdk/p-29cb7cbc.entry.js +0 -1
  131. package/dist/verdocs-web-sdk/p-2cec77cf.entry.js +0 -1
  132. package/dist/verdocs-web-sdk/p-32a5788a.entry.js +0 -1
  133. package/dist/verdocs-web-sdk/p-33f73371.system.js +0 -1
  134. package/dist/verdocs-web-sdk/p-349248f0.system.entry.js +0 -1
  135. package/dist/verdocs-web-sdk/p-36082c90.entry.js +0 -1
  136. package/dist/verdocs-web-sdk/p-3a032151.entry.js +0 -1
  137. package/dist/verdocs-web-sdk/p-3cc8281f.system.entry.js +0 -1
  138. package/dist/verdocs-web-sdk/p-440d8a73.system.entry.js +0 -1
  139. package/dist/verdocs-web-sdk/p-4d4e090f.system.entry.js +0 -1
  140. package/dist/verdocs-web-sdk/p-55660c24.entry.js +0 -1
  141. package/dist/verdocs-web-sdk/p-63107dd5.system.entry.js +0 -1
  142. package/dist/verdocs-web-sdk/p-6b569aa1.system.entry.js +0 -1
  143. package/dist/verdocs-web-sdk/p-6e033b90.system.entry.js +0 -1
  144. package/dist/verdocs-web-sdk/p-6ee008ff.entry.js +0 -1
  145. package/dist/verdocs-web-sdk/p-7ab216be.system.entry.js +0 -1
  146. package/dist/verdocs-web-sdk/p-7d10b067.system.entry.js +0 -23
  147. package/dist/verdocs-web-sdk/p-89be87e5.js +0 -1
  148. package/dist/verdocs-web-sdk/p-92e7863c.system.entry.js +0 -1
  149. package/dist/verdocs-web-sdk/p-99ebfee7.system.entry.js +0 -1
  150. package/dist/verdocs-web-sdk/p-9af63b8a.system.js +0 -1
  151. package/dist/verdocs-web-sdk/p-9da35744.entry.js +0 -1
  152. package/dist/verdocs-web-sdk/p-b3d5601a.entry.js +0 -1
  153. package/dist/verdocs-web-sdk/p-b466e003.entry.js +0 -1
  154. package/dist/verdocs-web-sdk/p-bb99a203.entry.js +0 -1
  155. package/dist/verdocs-web-sdk/p-cbc784a6.system.js +0 -1
  156. package/dist/verdocs-web-sdk/p-cf030985.js +0 -1
  157. package/dist/verdocs-web-sdk/p-d73f486f.entry.js +0 -23
  158. package/dist/verdocs-web-sdk/p-dea09611.entry.js +0 -1
  159. package/dist/verdocs-web-sdk/p-e34538bd.system.entry.js +0 -1
  160. package/dist/verdocs-web-sdk/p-e59eda0c.system.entry.js +0 -1
@@ -0,0 +1 @@
1
+ var __assign=this&&this.__assign||function(){__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++){t=arguments[r];for(var o in t)if(Object.prototype.hasOwnProperty.call(t,o))e[o]=t[o]}return e};return __assign.apply(this,arguments)};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,o=e.length;r<n;r++,o++)e[o]=t[r];return e};System.register(["./index-46cb292b.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.e;n=e.h}],execute:function(){var o="top";var i="bottom";var a="right";var s="left";var f="auto";var p=[o,i,a,s];var c="start";var u="end";var d="clippingParents";var l="viewport";var v="popper";var m="reference";var h=p.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]);var b=[].concat(p,[f]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]);var g="beforeRead";var y="read";var w="afterRead";var x="beforeMain";var O="main";var k="afterMain";var j="beforeWrite";var E="write";var S="afterWrite";var D=[g,y,w,x,O,k,j,E,S];function A(e){return e?(e.nodeName||"").toLowerCase():null}function M(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function P(e){var t=M(e).Element;return e instanceof t||e instanceof Element}function _(e){var t=M(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function L(e){if(typeof ShadowRoot==="undefined"){return false}var t=M(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function q(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var r=t.styles[e]||{};var n=t.attributes[e]||{};var o=t.elements[e];if(!_(o)||!A(o)){return}Object.assign(o.style,r);Object.keys(n).forEach((function(e){var t=n[e];if(t===false){o.removeAttribute(e)}else{o.setAttribute(e,t===true?"":t)}}))}))}function B(e){var t=e.state;var r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};Object.assign(t.elements.popper.style,r.popper);t.styles=r;if(t.elements.arrow){Object.assign(t.elements.arrow.style,r.arrow)}return function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e];var o=t.attributes[e]||{};var i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var a=i.reduce((function(e,t){e[t]="";return e}),{});if(!_(n)||!A(n)){return}Object.assign(n.style,a);Object.keys(o).forEach((function(e){n.removeAttribute(e)}))}))}}var T={name:"applyStyles",enabled:true,phase:"write",fn:q,effect:B,requires:["computeStyles"]};function H(e){return e.split("-")[0]}function W(e,t){if(t===void 0){t=false}var r=e.getBoundingClientRect();var n=1;var o=1;return{width:r.width/n,height:r.height/o,top:r.top/o,right:r.right/n,bottom:r.bottom/o,left:r.left/n,x:r.left/n,y:r.top/o}}function C(e){var t=W(e);var r=e.offsetWidth;var n=e.offsetHeight;if(Math.abs(t.width-r)<=1){r=t.width}if(Math.abs(t.height-n)<=1){n=t.height}return{x:e.offsetLeft,y:e.offsetTop,width:r,height:n}}function R(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&L(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function I(e){return M(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(A(e))>=0}function N(e){return((P(e)?e.ownerDocument:e.document)||window.document).documentElement}function z(e){if(A(e)==="html"){return e}return e.assignedSlot||e.parentNode||(L(e)?e.host:null)||N(e)}function U(e){if(!_(e)||I(e).position==="fixed"){return null}return e.offsetParent}function F(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&_(e)){var n=I(e);if(n.position==="fixed"){return null}}var o=z(e);while(_(o)&&["html","body"].indexOf(A(o))<0){var i=I(o);if(i.transform!=="none"||i.perspective!=="none"||i.contain==="paint"||["transform","perspective"].indexOf(i.willChange)!==-1||t&&i.willChange==="filter"||t&&i.filter&&i.filter!=="none"){return o}else{o=o.parentNode}}return null}function Y(e){var t=M(e);var r=U(e);while(r&&V(r)&&I(r).position==="static"){r=U(r)}if(r&&(A(r)==="html"||A(r)==="body"&&I(r).position==="static")){return t}return r||F(e)||t}function G(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var X=Math.max;var J=Math.min;var K=Math.round;function Q(e,t,r){return X(e,J(t,r))}function Z(){return{top:0,right:0,bottom:0,left:0}}function $(e){return Object.assign({},Z(),e)}function ee(e,t){return t.reduce((function(t,r){t[r]=e;return t}),{})}var te=function e(t,r){t=typeof t==="function"?t(Object.assign({},r.rects,{placement:r.placement})):t;return $(typeof t!=="number"?t:ee(t,p))};function re(e){var t;var r=e.state,n=e.name,f=e.options;var p=r.elements.arrow;var c=r.modifiersData.popperOffsets;var u=H(r.placement);var d=G(u);var l=[s,a].indexOf(u)>=0;var v=l?"height":"width";if(!p||!c){return}var m=te(f.padding,r);var h=C(p);var b=d==="y"?o:s;var g=d==="y"?i:a;var y=r.rects.reference[v]+r.rects.reference[d]-c[d]-r.rects.popper[v];var w=c[d]-r.rects.reference[d];var x=Y(p);var O=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;var k=y/2-w/2;var j=m[b];var E=O-h[v]-m[g];var S=O/2-h[v]/2+k;var D=Q(j,S,E);var A=d;r.modifiersData[n]=(t={},t[A]=D,t.centerOffset=D-S,t)}function ne(e){var t=e.state,r=e.options;var n=r.element,o=n===void 0?"[data-popper-arrow]":n;if(o==null){return}if(typeof o==="string"){o=t.elements.popper.querySelector(o);if(!o){return}}if("development"!=="production"){if(!_(o)){console.error(['Popper: "arrow" element must be an HTMLElement (not an SVGElement).',"To use an SVG arrow, wrap it in an HTMLElement that will be used as","the arrow."].join(" "))}}if(!R(t.elements.popper,o)){if("development"!=="production"){console.error(['Popper: "arrow" modifier\'s `element` must be a child of the popper',"element."].join(" "))}return}t.elements.arrow=o}var oe={name:"arrow",enabled:true,phase:"main",fn:re,effect:ne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ie(e){return e.split("-")[1]}var ae={top:"auto",right:"auto",bottom:"auto",left:"auto"};function se(e){var t=e.x,r=e.y;var n=window;var o=n.devicePixelRatio||1;return{x:K(K(t*o)/o)||0,y:K(K(r*o)/o)||0}}function fe(e){var t;var r=e.popper,n=e.popperRect,f=e.placement,p=e.variation,c=e.offsets,d=e.position,l=e.gpuAcceleration,v=e.adaptive,m=e.roundOffsets;var h=m===true?se(c):typeof m==="function"?m(c):c,b=h.x,g=b===void 0?0:b,y=h.y,w=y===void 0?0:y;var x=c.hasOwnProperty("x");var O=c.hasOwnProperty("y");var k=s;var j=o;var E=window;if(v){var S=Y(r);var D="clientHeight";var A="clientWidth";if(S===M(r)){S=N(r);if(I(S).position!=="static"&&d==="absolute"){D="scrollHeight";A="scrollWidth"}}S=S;if(f===o||(f===s||f===a)&&p===u){j=i;w-=S[D]-n.height;w*=l?1:-1}if(f===s||(f===o||f===i)&&p===u){k=a;g-=S[A]-n.width;g*=l?1:-1}}var P=Object.assign({position:d},v&&ae);if(l){var _;return Object.assign({},P,(_={},_[j]=O?"0":"",_[k]=x?"0":"",_.transform=(E.devicePixelRatio||1)<=1?"translate("+g+"px, "+w+"px)":"translate3d("+g+"px, "+w+"px, 0)",_))}return Object.assign({},P,(t={},t[j]=O?w+"px":"",t[k]=x?g+"px":"",t.transform="",t))}function pe(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,o=n===void 0?true:n,i=r.adaptive,a=i===void 0?true:i,s=r.roundOffsets,f=s===void 0?true:s;if("development"!=="production"){var p=I(t.elements.popper).transitionProperty||"";if(a&&["transform","top","right","bottom","left"].some((function(e){return p.indexOf(e)>=0}))){console.warn(["Popper: Detected CSS transitions on at least one of the following",'CSS properties: "transform", "top", "right", "bottom", "left".',"\n\n",'Disable the "computeStyles" modifier\'s `adaptive` option to allow',"for smooth transitions, or remove these properties from the CSS","transition declaration on the popper element if only transitioning","opacity or background-color for example.","\n\n","We recommend using the popper element as a wrapper around an inner","element that can have any CSS property transitioned for animations."].join(" "))}}var c={placement:H(t.placement),variation:ie(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:o};if(t.modifiersData.popperOffsets!=null){t.styles.popper=Object.assign({},t.styles.popper,fe(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:false,roundOffsets:f})))}t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}var ce={name:"computeStyles",enabled:true,phase:"beforeWrite",fn:pe,data:{}};var ue={passive:true};function de(e){var t=e.state,r=e.instance,n=e.options;var o=n.scroll,i=o===void 0?true:o,a=n.resize,s=a===void 0?true:a;var f=M(t.elements.popper);var p=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(i){p.forEach((function(e){e.addEventListener("scroll",r.update,ue)}))}if(s){f.addEventListener("resize",r.update,ue)}return function(){if(i){p.forEach((function(e){e.removeEventListener("scroll",r.update,ue)}))}if(s){f.removeEventListener("resize",r.update,ue)}}}var le={name:"eventListeners",enabled:true,phase:"write",fn:function e(){},effect:de,data:{}};var ve={left:"right",right:"left",bottom:"top",top:"bottom"};function me(e){return e.replace(/left|right|bottom|top/g,(function(e){return ve[e]}))}var he={start:"end",end:"start"};function be(e){return e.replace(/start|end/g,(function(e){return he[e]}))}function ge(e){var t=M(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return W(N(e)).left+ge(e).scrollLeft}function we(e){var t=M(e);var r=N(e);var n=t.visualViewport;var o=r.clientWidth;var i=r.clientHeight;var a=0;var s=0;if(n){o=n.width;i=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){a=n.offsetLeft;s=n.offsetTop}}return{width:o,height:i,x:a+ye(e),y:s}}function xe(e){var t;var r=N(e);var n=ge(e);var o=(t=e.ownerDocument)==null?void 0:t.body;var i=X(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0);var a=X(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);var s=-n.scrollLeft+ye(e);var f=-n.scrollTop;if(I(o||r).direction==="rtl"){s+=X(r.clientWidth,o?o.clientWidth:0)-i}return{width:i,height:a,x:s,y:f}}function Oe(e){var t=I(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function ke(e){if(["html","body","#document"].indexOf(A(e))>=0){return e.ownerDocument.body}if(_(e)&&Oe(e)){return e}return ke(z(e))}function je(e,t){var r;if(t===void 0){t=[]}var n=ke(e);var o=n===((r=e.ownerDocument)==null?void 0:r.body);var i=M(n);var a=o?[i].concat(i.visualViewport||[],Oe(n)?n:[]):n;var s=t.concat(a);return o?s:s.concat(je(z(a)))}function Ee(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Se(e){var t=W(e);t.top=t.top+e.clientTop;t.left=t.left+e.clientLeft;t.bottom=t.top+e.clientHeight;t.right=t.left+e.clientWidth;t.width=e.clientWidth;t.height=e.clientHeight;t.x=t.left;t.y=t.top;return t}function De(e,t){return t===l?Ee(we(e)):_(t)?Se(t):Ee(xe(N(e)))}function Ae(e){var t=je(z(e));var r=["absolute","fixed"].indexOf(I(e).position)>=0;var n=r&&_(e)?Y(e):e;if(!P(n)){return[]}return t.filter((function(e){return P(e)&&R(e,n)&&A(e)!=="body"}))}function Me(e,t,r){var n=t==="clippingParents"?Ae(e):[].concat(t);var o=[].concat(n,[r]);var i=o[0];var a=o.reduce((function(t,r){var n=De(e,r);t.top=X(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=X(n.left,t.left);return t}),De(e,i));a.width=a.right-a.left;a.height=a.bottom-a.top;a.x=a.left;a.y=a.top;return a}function Pe(e){var t=e.reference,r=e.element,n=e.placement;var f=n?H(n):null;var p=n?ie(n):null;var d=t.x+t.width/2-r.width/2;var l=t.y+t.height/2-r.height/2;var v;switch(f){case o:v={x:d,y:t.y-r.height};break;case i:v={x:d,y:t.y+t.height};break;case a:v={x:t.x+t.width,y:l};break;case s:v={x:t.x-r.width,y:l};break;default:v={x:t.x,y:t.y}}var m=f?G(f):null;if(m!=null){var h=m==="y"?"height":"width";switch(p){case c:v[m]=v[m]-(t[h]/2-r[h]/2);break;case u:v[m]=v[m]+(t[h]/2-r[h]/2);break;default:}}return v}function _e(e,t){if(t===void 0){t={}}var r=t,n=r.placement,s=n===void 0?e.placement:n,f=r.boundary,c=f===void 0?d:f,u=r.rootBoundary,h=u===void 0?l:u,b=r.elementContext,g=b===void 0?v:b,y=r.altBoundary,w=y===void 0?false:y,x=r.padding,O=x===void 0?0:x;var k=$(typeof O!=="number"?O:ee(O,p));var j=g===v?m:v;var E=e.rects.popper;var S=e.elements[w?j:g];var D=Me(P(S)?S:S.contextElement||N(e.elements.popper),c,h);var A=W(e.elements.reference);var M=Pe({reference:A,element:E,strategy:"absolute",placement:s});var _=Ee(Object.assign({},E,M));var L=g===v?_:A;var q={top:D.top-L.top+k.top,bottom:L.bottom-D.bottom+k.bottom,left:D.left-L.left+k.left,right:L.right-D.right+k.right};var B=e.modifiersData.offset;if(g===v&&B){var T=B[s];Object.keys(q).forEach((function(e){var t=[a,i].indexOf(e)>=0?1:-1;var r=[o,i].indexOf(e)>=0?"y":"x";q[e]+=T[r]*t}))}return q}function Le(e,t){if(t===void 0){t={}}var r=t,n=r.placement,o=r.boundary,i=r.rootBoundary,a=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,c=f===void 0?b:f;var u=ie(n);var d=u?s?h:h.filter((function(e){return ie(e)===u})):p;var l=d.filter((function(e){return c.indexOf(e)>=0}));if(l.length===0){l=d;if("development"!=="production"){console.error(["Popper: The `allowedAutoPlacements` option did not allow any","placements. Ensure the `placement` option matches the variation","of the allowed placements.",'For example, "auto" cannot be used to allow "bottom-start".','Use "auto-start" instead.'].join(" "))}}var v=l.reduce((function(t,r){t[r]=_e(e,{placement:r,boundary:o,rootBoundary:i,padding:a})[H(r)];return t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function qe(e){if(H(e)===f){return[]}var t=me(e);return[be(e),t,be(t)]}function Be(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var p=r.mainAxis,u=p===void 0?true:p,d=r.altAxis,l=d===void 0?true:d,v=r.fallbackPlacements,m=r.padding,h=r.boundary,b=r.rootBoundary,g=r.altBoundary,y=r.flipVariations,w=y===void 0?true:y,x=r.allowedAutoPlacements;var O=t.options.placement;var k=H(O);var j=k===O;var E=v||(j||!w?[me(O)]:qe(O));var S=[O].concat(E).reduce((function(e,r){return e.concat(H(r)===f?Le(t,{placement:r,boundary:h,rootBoundary:b,padding:m,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var D=t.rects.reference;var A=t.rects.popper;var M=new Map;var P=true;var _=S[0];for(var L=0;L<S.length;L++){var q=S[L];var B=H(q);var T=ie(q)===c;var W=[o,i].indexOf(B)>=0;var C=W?"width":"height";var R=_e(t,{placement:q,boundary:h,rootBoundary:b,altBoundary:g,padding:m});var I=W?T?a:s:T?i:o;if(D[C]>A[C]){I=me(I)}var V=me(I);var N=[];if(u){N.push(R[B]<=0)}if(l){N.push(R[I]<=0,R[V]<=0)}if(N.every((function(e){return e}))){_=q;P=false;break}M.set(q,N)}if(P){var z=w?3:1;var U=function e(t){var r=S.find((function(e){var r=M.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){_=r;return"break"}};for(var F=z;F>0;F--){var Y=U(F);if(Y==="break")break}}if(t.placement!==_){t.modifiersData[n]._skip=true;t.placement=_;t.reset=true}}var Te={name:"flip",enabled:true,phase:"main",fn:Be,requiresIfExists:["offset"],data:{_skip:false}};function He(e,t,r){if(r===void 0){r={x:0,y:0}}return{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function We(e){return[o,a,i,s].some((function(t){return e[t]>=0}))}function Ce(e){var t=e.state,r=e.name;var n=t.rects.reference;var o=t.rects.popper;var i=t.modifiersData.preventOverflow;var a=_e(t,{elementContext:"reference"});var s=_e(t,{altBoundary:true});var f=He(a,n);var p=He(s,o,i);var c=We(f);var u=We(p);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:p,isReferenceHidden:c,hasPopperEscaped:u};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}var Re={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Ce};function Ie(e,t,r){var n=H(e);var i=[s,o].indexOf(n)>=0?-1:1;var f=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,p=f[0],c=f[1];p=p||0;c=(c||0)*i;return[s,a].indexOf(n)>=0?{x:c,y:p}:{x:p,y:c}}function Ve(e){var t=e.state,r=e.options,n=e.name;var o=r.offset,i=o===void 0?[0,0]:o;var a=b.reduce((function(e,r){e[r]=Ie(r,t.rects,i);return e}),{});var s=a[t.placement],f=s.x,p=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=p}t.modifiersData[n]=a}var Ne={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function ze(e){var t=e.state,r=e.name;t.modifiersData[r]=Pe({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ue={name:"popperOffsets",enabled:true,phase:"read",fn:ze,data:{}};function Fe(e){return e==="x"?"y":"x"}function Ye(e){var t=e.state,r=e.options,n=e.name;var f=r.mainAxis,p=f===void 0?true:f,u=r.altAxis,d=u===void 0?false:u,l=r.boundary,v=r.rootBoundary,m=r.altBoundary,h=r.padding,b=r.tether,g=b===void 0?true:b,y=r.tetherOffset,w=y===void 0?0:y;var x=_e(t,{boundary:l,rootBoundary:v,padding:h,altBoundary:m});var O=H(t.placement);var k=ie(t.placement);var j=!k;var E=G(O);var S=Fe(E);var D=t.modifiersData.popperOffsets;var A=t.rects.reference;var M=t.rects.popper;var P=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var _={x:0,y:0};if(!D){return}if(p||d){var L=E==="y"?o:s;var q=E==="y"?i:a;var B=E==="y"?"height":"width";var T=D[E];var W=D[E]+x[L];var R=D[E]-x[q];var I=g?-M[B]/2:0;var V=k===c?A[B]:M[B];var N=k===c?-M[B]:-A[B];var z=t.elements.arrow;var U=g&&z?C(z):{width:0,height:0};var F=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z();var K=F[L];var $=F[q];var ee=Q(0,A[B],U[B]);var te=j?A[B]/2-I-ee-K-P:V-ee-K-P;var re=j?-A[B]/2+I+ee+$+P:N+ee+$+P;var ne=t.elements.arrow&&Y(t.elements.arrow);var oe=ne?E==="y"?ne.clientTop||0:ne.clientLeft||0:0;var ae=t.modifiersData.offset?t.modifiersData.offset[t.placement][E]:0;var se=D[E]+te-ae-oe;var fe=D[E]+re-ae;if(p){var pe=Q(g?J(W,se):W,T,g?X(R,fe):R);D[E]=pe;_[E]=pe-T}if(d){var ce=E==="x"?o:s;var ue=E==="x"?i:a;var de=D[S];var le=de+x[ce];var ve=de-x[ue];var me=Q(g?J(le,se):le,de,g?X(ve,fe):ve);D[S]=me;_[S]=me-de}}t.modifiersData[n]=_}var Ge={name:"preventOverflow",enabled:true,phase:"main",fn:Ye,requiresIfExists:["offset"]};function Xe(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Je(e){if(e===M(e)||!_(e)){return ge(e)}else{return Xe(e)}}function Ke(e){var t=e.getBoundingClientRect();var r=t.width/e.offsetWidth||1;var n=t.height/e.offsetHeight||1;return r!==1||n!==1}function Qe(e,t,r){if(r===void 0){r=false}var n=_(t);var o=_(t)&&Ke(t);var i=N(t);var a=W(e,o);var s={scrollLeft:0,scrollTop:0};var f={x:0,y:0};if(n||!n&&!r){if(A(t)!=="body"||Oe(i)){s=Je(t)}if(_(t)){f=W(t,true);f.x+=t.clientLeft;f.y+=t.clientTop}else if(i){f.x=ye(i)}}return{x:a.left+s.scrollLeft-f.x,y:a.top+s.scrollTop-f.y,width:a.width,height:a.height}}function Ze(e){var t=new Map;var r=new Set;var n=[];e.forEach((function(e){t.set(e.name,e)}));function o(e){r.add(e.name);var i=[].concat(e.requires||[],e.requiresIfExists||[]);i.forEach((function(e){if(!r.has(e)){var n=t.get(e);if(n){o(n)}}}));n.push(e)}e.forEach((function(e){if(!r.has(e.name)){o(e)}}));return n}function $e(e){var t=Ze(e);return D.reduce((function(e,r){return e.concat(t.filter((function(e){return e.phase===r})))}),[])}function et(e){var t;return function(){if(!t){t=new Promise((function(r){Promise.resolve().then((function(){t=undefined;r(e())}))}))}return t}}function tt(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++){r[n-1]=arguments[n]}return[].concat(r).reduce((function(e,t){return e.replace(/%s/,t)}),e)}var rt='Popper: modifier "%s" provided an invalid %s property, expected %s but got %s';var nt='Popper: modifier "%s" requires "%s", but "%s" modifier is not available';var ot=["name","enabled","phase","fn","effect","requires","options"];function it(e){e.forEach((function(t){[].concat(Object.keys(t),ot).filter((function(e,t,r){return r.indexOf(e)===t})).forEach((function(r){switch(r){case"name":if(typeof t.name!=="string"){console.error(tt(rt,String(t.name),'"name"','"string"','"'+String(t.name)+'"'))}break;case"enabled":if(typeof t.enabled!=="boolean"){console.error(tt(rt,t.name,'"enabled"','"boolean"','"'+String(t.enabled)+'"'))}break;case"phase":if(D.indexOf(t.phase)<0){console.error(tt(rt,t.name,'"phase"',"either "+D.join(", "),'"'+String(t.phase)+'"'))}break;case"fn":if(typeof t.fn!=="function"){console.error(tt(rt,t.name,'"fn"','"function"','"'+String(t.fn)+'"'))}break;case"effect":if(t.effect!=null&&typeof t.effect!=="function"){console.error(tt(rt,t.name,'"effect"','"function"','"'+String(t.fn)+'"'))}break;case"requires":if(t.requires!=null&&!Array.isArray(t.requires)){console.error(tt(rt,t.name,'"requires"','"array"','"'+String(t.requires)+'"'))}break;case"requiresIfExists":if(!Array.isArray(t.requiresIfExists)){console.error(tt(rt,t.name,'"requiresIfExists"','"array"','"'+String(t.requiresIfExists)+'"'))}break;case"options":case"data":break;default:console.error('PopperJS: an invalid property has been provided to the "'+t.name+'" modifier, valid properties are '+ot.map((function(e){return'"'+e+'"'})).join(", ")+'; but "'+r+'" was provided.')}t.requires&&t.requires.forEach((function(r){if(e.find((function(e){return e.name===r}))==null){console.error(tt(nt,String(t.name),r,r))}}))}))}))}function at(e,t){var r=new Set;return e.filter((function(e){var n=t(e);if(!r.has(n)){r.add(n);return true}}))}function st(e){var t=e.reduce((function(e,t){var r=e[t.name];e[t.name]=r?Object.assign({},r,t,{options:Object.assign({},r.options,t.options),data:Object.assign({},r.data,t.data)}):t;return e}),{});return Object.keys(t).map((function(e){return t[e]}))}var ft="Popper: Invalid reference or popper argument provided. They must be either a DOM element or virtual element.";var pt="Popper: An infinite loop in the modifiers cycle has been detected! The cycle has been interrupted to prevent a browser crash.";var ct={placement:"bottom",modifiers:[],strategy:"absolute"};function ut(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++){t[r]=arguments[r]}return!t.some((function(e){return!(e&&typeof e.getBoundingClientRect==="function")}))}function dt(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,i=o===void 0?ct:o;return function e(t,r,o){if(o===void 0){o=i}var a={placement:"bottom",orderedModifiers:[],options:Object.assign({},ct,i),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var p=false;var c={state:a,setOptions:function e(o){var s=typeof o==="function"?o(a.options):o;d();a.options=Object.assign({},i,a.options,s);a.scrollParents={reference:P(t)?je(t):t.contextElement?je(t.contextElement):[],popper:je(r)};var p=$e(st([].concat(n,a.options.modifiers)));a.orderedModifiers=p.filter((function(e){return e.enabled}));if("development"!=="production"){var l=at([].concat(p,a.options.modifiers),(function(e){var t=e.name;return t}));it(l);if(H(a.options.placement)===f){var v=a.orderedModifiers.find((function(e){var t=e.name;return t==="flip"}));if(!v){console.error(['Popper: "auto" placements require the "flip" modifier be',"present and enabled to work."].join(" "))}}var m=I(r),h=m.marginTop,b=m.marginRight,g=m.marginBottom,y=m.marginLeft;if([h,b,g,y].some((function(e){return parseFloat(e)}))){console.warn(['Popper: CSS "margin" styles cannot be used to apply padding',"between the popper and its reference element or boundary.","To replicate margin, use the `offset` modifier, as well as","the `padding` option in the `preventOverflow` and `flip`","modifiers."].join(" "))}}u();return c.update()},forceUpdate:function e(){if(p){return}var t=a.elements,r=t.reference,n=t.popper;if(!ut(r,n)){if("development"!=="production"){console.error(ft)}return}a.rects={reference:Qe(r,Y(n),a.options.strategy==="fixed"),popper:C(n)};a.reset=false;a.placement=a.options.placement;a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));var o=0;for(var i=0;i<a.orderedModifiers.length;i++){if("development"!=="production"){o+=1;if(o>100){console.error(pt);break}}if(a.reset===true){a.reset=false;i=-1;continue}var s=a.orderedModifiers[i],f=s.fn,u=s.options,d=u===void 0?{}:u,l=s.name;if(typeof f==="function"){a=f({state:a,options:d,name:l,instance:c})||a}}},update:et((function(){return new Promise((function(e){c.forceUpdate();e(a)}))})),destroy:function e(){d();p=true}};if(!ut(t,r)){if("development"!=="production"){console.error(ft)}return c}c.setOptions(o).then((function(e){if(!p&&o.onFirstUpdate){o.onFirstUpdate(e)}}));function u(){a.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,o=e.effect;if(typeof o==="function"){var i=o({state:a,name:t,instance:c,options:n});var f=function e(){};s.push(i||f)}}))}function d(){s.forEach((function(e){return e()}));s=[]}return c}}var lt=dt();var vt=[le,Ue,ce,T];var mt=dt({defaultModifiers:vt});var ht=[le,Ue,ce,T,Ne,Te,Ge,oe,Re];var bt=dt({defaultModifiers:ht});var gt='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#50BE80"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M7 10l5 5 5-5H7z"/></svg>\n';var yt="dropdown-menu{font-family:sans-serif;font-family:var(--verdocs-font)}dropdown-menu .arrow{width:32px;height:26px;background:#fff;border-radius:4px;-ms-flex-align:center;align-items:center;display:-ms-inline-flexbox;display:inline-flex;border:1px solid #ccc;-ms-flex-pack:center;justify-content:center}dropdown-menu .arrow svg{fill:#50be80;-webkit-transition:0.3s;transition:0.3s}dropdown-menu .items{width:200px;display:none;border-radius:5px;background:#33364b;border:1px solid #654dcb}dropdown-menu .items[data-show]{display:block}dropdown-menu .option{width:100%;color:#fff;border:none;display:block;text-align:left;background:none;padding:10px 20px}dropdown-menu .option:hover{cursor:pointer;background:#50be80}dropdown-menu .option[disabled]{color:#aaa}dropdown-menu .option[disabled]:hover{color:#aaa;cursor:inherit;background:transparent}dropdown-menu .open .items{display:block}dropdown-menu .open .arrow{background:#4c56cb;border:1px solid #707ae5}dropdown-menu .open .arrow svg{-webkit-transform:scaleY(-1);transform:scaleY(-1);fill:#fff}";var wt=e("dropdown_menu",function(){function e(e){t(this,e);this.optionSelected=r(this,"optionSelected",7);this.options=[]}e.prototype.componentWillLoad=function(){this.isOpen=!!this.open};e.prototype.componentDidLoad=function(){this.popper=bt(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]})};e.prototype.handleSelectOption=function(e){this.isOpen=false;this.optionSelected.emit(e)};e.prototype.showDropdown=function(){var e,t;this.isOpen=true;this.dropdownMenu.setAttribute("data-show","");this.dropdownMenu.removeAttribute("aria-hidden");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers),[{name:"eventListeners",enabled:true}])})}));(t=this.popper)===null||t===void 0?void 0:t.update()};e.prototype.hideDropdown=function(){var e;this.isOpen=false;this.dropdownMenu.removeAttribute("data-show");this.dropdownMenu.setAttribute("aria-hidden","true");(e=this.popper)===null||e===void 0?void 0:e.setOptions((function(e){return __assign(__assign({},e),{modifiers:__spreadArray(__spreadArray([],e.modifiers),[{name:"eventListeners",enabled:false}])})}))};e.prototype.toggleDropdown=function(){if(this.isOpen){this.hideDropdown()}else{this.showDropdown()}};e.prototype.render=function(){var e=this;var t;return n("div",{class:{open:!!this.isOpen}},n("button",{class:"arrow",innerHTML:gt,"aria-label":"Open Menu",onClick:function(){return e.toggleDropdown()},onBlur:function(){return e.hideDropdown()},ref:function(t){return e.dropdownButton=t}}),n("div",{class:"items","aria-hidden":!this.open,ref:function(t){return e.dropdownMenu=t}},(t=this.options)===null||t===void 0?void 0:t.map((function(t){return n("button",{onClick:function(){return e.handleSelectOption(t)},class:"option",disabled:t.disabled},t.label)}))))};return e}());wt.style=yt}}}));
@@ -0,0 +1 @@
1
+ var __extends=this&&this.__extends||function(){var e=function(t,n){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)if(Object.prototype.hasOwnProperty.call(t,n))e[n]=t[n]};return e(t,n)};return function(t,n){if(typeof n!=="function"&&n!==null)throw new TypeError("Class extends value "+String(n)+" is not a constructor or null");e(t,n);function r(){this.constructor=t}t.prototype=n===null?Object.create(n):(r.prototype=n.prototype,new r)}}();var __awaiter=this&&this.__awaiter||function(e,t,n,r){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,o){function i(e){try{l(r.next(e))}catch(e){o(e)}}function s(e){try{l(r["throw"](e))}catch(e){o(e)}}function l(e){e.done?n(e.value):a(e.value).then(i,s)}l((r=r.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},r,a,o,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(e){return function(t){return l([e,t])}}function l(i){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,a&&(o=i[0]&2?a["return"]:i[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,i[1])).done)return o;if(a=0,o)i=[i[0]&2,o.value];switch(i[0]){case 0:case 1:o=i;break;case 4:n.label++;return{value:i[1],done:false};case 5:n.label++;a=i[1];i=[0];continue;case 7:i=n.ops.pop();n.trys.pop();continue;default:if(!(o=n.trys,o=o.length>0&&o[o.length-1])&&(i[0]===6||i[0]===2)){n=0;continue}if(i[0]===3&&(!o||i[1]>o[0]&&i[1]<o[3])){n.label=i[1];break}if(i[0]===6&&n.label<o[1]){n.label=o[1];o=i;break}if(o&&n.label<o[2]){n.label=o[2];n.ops.push(i);break}if(o[2])n.ops.pop();n.trys.pop();continue}i=t.call(e,n)}catch(e){i=[6,e];a=0}finally{r=o=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var n=0,r=t.length,a=e.length;n<r;n++,a++)e[a]=t[n];return e};System.register([],(function(e,t){"use strict";return{execute:function(){var n=this;var r=e("N","verdocs-web-sdk");var a=e("B",{allRenderFn:true,appendChildSlotFix:false,asyncLoading:true,asyncQueue:false,attachStyles:true,cloneNodeFix:false,cmpDidLoad:true,cmpDidRender:false,cmpDidUnload:false,cmpDidUpdate:false,cmpShouldUpdate:false,cmpWillLoad:true,cmpWillRender:false,cmpWillUpdate:false,connectedCallback:false,constructableCSS:false,cssAnnotations:true,cssVarShim:false,devTools:true,disconnectedCallback:false,dynamicImportShim:false,element:false,event:true,hasRenderFn:true,hostListener:true,hostListenerTarget:true,hostListenerTargetBody:false,hostListenerTargetDocument:true,hostListenerTargetParent:false,hostListenerTargetWindow:false,hotModuleReplacement:true,hydrateClientSide:false,hydrateServerSide:false,hydratedAttribute:false,hydratedClass:true,initializeNextTick:false,invisiblePrehydration:true,isDebug:false,isDev:true,isTesting:false,lazyLoad:true,lifecycle:true,lifecycleDOMEvents:false,member:true,method:false,mode:false,observeAttribute:true,profile:true,prop:true,propBoolean:true,propMutable:false,propNumber:true,propString:true,reflect:false,safari10:false,scoped:false,scopedSlotTextContentFix:false,scriptDataOpts:false,shadowDelegatesFocus:false,shadowDom:true,shadowDomShim:false,slot:true,slotChildNodesFix:false,slotRelocation:true,state:true,style:true,svg:false,taskQueue:true,transformTagName:false,updatable:true,vdomAttribute:true,vdomClass:true,vdomFunctional:false,vdomKey:true,vdomListener:true,vdomPropOrAttr:true,vdomRef:true,vdomRender:true,vdomStyle:false,vdomText:true,vdomXlink:false,watchCallback:true});var o={};var i;var s;var l;var f;var u=0;var c=false;var d=false;var $=false;var v=false;var h=null;var m=0;var p=false;var g=e("w",typeof window!=="undefined"?window:{});var y=e("C",a.cssVarShim?g.CSS:null);var b=e("d",g.document||{head:{}});var w=e("H",g.HTMLElement||function(){function e(){}return e}());var S=e("p",{$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,n,r){return e.addEventListener(t,n,r)},rel:function(e,t,n,r){return e.removeEventListener(t,n,r)},ce:function(e,t){return new CustomEvent(e,t)}});var N=function(e){Object.assign(S,e)};var R=a.shadowDomShim&&a.shadowDom?function(){return(b.head.attachShadow+"").indexOf("[native")>-1}():true;var C=function(){var e=false;try{b.addEventListener("e",null,Object.defineProperty({},"passive",{get:function(){e=true}}))}catch(e){}return e}();var L=e("a",(function(e){return Promise.resolve(e)}));var x=a.constructableCSS?function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}():false;var T={};var k=function(e,t,n,r){if(a.hostListener&&n){if(a.hostListenerTargetParent){if(r){n=n.filter((function(e){var t=e[0];return t&32}))}else{n=n.filter((function(e){var t=e[0];return!(t&32)}))}}n.map((function(n){var r=n[0],o=n[1],i=n[2];var s=a.hostListenerTarget?D(e,r):e;var l=_(t,i);var f=A(r);S.ael(s,o,l,f);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return S.rel(s,o,l,f)}))}))}};var _=function(e,t){return function(n){try{if(a.lazyLoad){if(e.$flags$&256){e.$lazyInstance$[t](n)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,n])}}else{e.$hostElement$[t](n)}}catch(e){zt(e)}}};var D=function(e,t){if(a.hostListenerTargetDocument&&t&4)return b;if(a.hostListenerTargetWindow&&t&8)return g;if(a.hostListenerTargetBody&&t&16)return b.body;if(a.hostListenerTargetParent&&t&32)return e.parentElement;return e};var A=function(e){return C?{passive:(e&1)!==0,capture:(e&2)!==0}:(e&2)!==0};var E="r";var O="o";var P="s";var I="t";var z="s-id";var j="sty-id";var M="c-id";var B="{visibility:hidden}.hydrated{visibility:inherit}";var U="http://www.w3.org/1999/xlink";var F=function(e,t){if(t===void 0){t=""}if(a.profile&&performance.mark){var n="st:"+e+":"+t+":"+u++;performance.mark(n);return function(){return performance.measure("[Stencil] "+e+"() <"+t+">",n)}}else{return function(){return}}};var H=function(e,t){if(a.profile&&performance.mark){if(performance.getEntriesByName(e).length===0){performance.mark(e)}return function(){if(performance.getEntriesByName(t).length===0){performance.measure(t,e)}}}else{return function(){return}}};var V=function(e){var t;var n=Et(e);if(!n){return undefined}var r=n.$flags$;var a=n.$hostElement$;return t={renderCount:n.$renderCount$,flags:{hasRendered:!!(r&2),hasConnected:!!(r&1),isWaitingForChildren:!!(r&4),isConstructingInstance:!!(r&8),isQueuedForUpdate:!!(r&16),hasInitializedComponent:!!(r&32),hasLoadedComponent:!!(r&64),isWatchReady:!!(r&128),isListenReady:!!(r&256),needsRerender:!!(r&512)},instanceValues:n.$instanceValues$,ancestorComponent:n.$ancestorComponent$,hostElement:a,lazyInstance:n.$lazyInstance$,vnode:n.$vnode$,modeName:n.$modeName$,onReadyPromise:n.$onReadyPromise$,onReadyResolve:n.$onReadyResolve$,onInstancePromise:n.$onInstancePromise$,onInstanceResolve:n.$onInstanceResolve$,onRenderResolve:n.$onRenderResolve$,queuedListeners:n.$queuedListeners$,rmListeners:n.$rmListeners$},t["s-id"]=a["s-id"],t["s-cr"]=a["s-cr"],t["s-lr"]=a["s-lr"],t["s-p"]=a["s-p"],t["s-rc"]=a["s-rc"],t["s-sc"]=a["s-sc"],t};var W=function(){if(a.devTools){var e=g.stencil=g.stencil||{};var t=e.inspect;e.inspect=function(e){var n=V(e);if(!n&&typeof t==="function"){n=t(e)}return n}}};var q=new WeakMap;var Q=function(e,t,n){var r=Wt.get(e);if(x&&n){r=r||new CSSStyleSheet;r.replace(t)}else{r=t}Wt.set(e,r)};var K=function(e,t,n,r){var o=J(t,n);var i=Wt.get(o);if(!a.attachStyles){return o}e=e.nodeType===11?e:b;if(i){if(typeof i==="string"){e=e.head||e;var s=q.get(e);var l=void 0;if(!s){q.set(e,s=new Set)}if(!s.has(o)){if(a.hydrateClientSide&&e.host&&(l=e.querySelector("["+j+'="'+o+'"]'))){l.innerHTML=i}else{if(a.cssVarShim&&S.$cssShim$){l=S.$cssShim$.createHostStyle(r,o,i,!!(t.$flags$&10));var f=l["s-sc"];if(f){o=f;s=null}}else{l=b.createElement("style");l.innerHTML=i}if(a.hydrateServerSide||a.hotModuleReplacement){l.setAttribute(j,o)}e.insertBefore(l,e.querySelector("link"))}if(s){s.add(o)}}}else if(a.constructableCSS&&!e.adoptedStyleSheets.includes(i)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[i])}}return o};var X=function(e){var t=e.$cmpMeta$;var n=e.$hostElement$;var r=t.$flags$;var o=F("attachStyles",t.$tagName$);var i=K(a.shadowDom&&R&&n.shadowRoot?n.shadowRoot:n.getRootNode(),t,e.$modeName$,n);if((a.shadowDom||a.scoped)&&a.cssAnnotations&&r&10){n["s-sc"]=i;n.classList.add(i+"-h");if(a.scoped&&r&2){n.classList.add(i+"-s")}}o()};var J=function(e,t){return"sc-"+(a.mode&&t&&e.$flags$&32?e.$tagName$+"-"+t:e.$tagName$)};var G=function(e){return e.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{")};var Y=function(e){return qt.map((function(t){return t(e)})).find((function(e){return!!e}))};var Z=function(e){return qt.push(e)};var ee=function(e){return Et(e).$modeName$};var te={};var ne="http://www.w3.org/2000/svg";var re="http://www.w3.org/1999/xhtml";var ae=function(e){return e!=null};var oe=function(e){e=typeof e;return e==="object"||e==="function"};var ie=e("h",(function(e,t){var n=[];for(var r=2;r<arguments.length;r++){n[r-2]=arguments[r]}var o=null;var i=null;var s=null;var l=false;var f=false;var u=[];var c=function(t){for(var n=0;n<t.length;n++){o=t[n];if(Array.isArray(o)){c(o)}else if(o!=null&&typeof o!=="boolean"){if(l=typeof e!=="function"&&!oe(o)){o=String(o)}else if(a.isDev&&typeof e!=="function"&&o.$flags$===undefined){Mt("vNode passed as children has unexpected type.\nMake sure it's using the correct h() function.\nEmpty objects can also be the cause, look for JSX comments that became objects.")}if(l&&f){u[u.length-1].$text$+=o}else{u.push(l?se(null,o):o)}f=l}}};c(n);if(t){if(a.isDev&&e==="input"){$e(t)}if(a.vdomKey&&t.key){i=t.key}if(a.slotRelocation&&t.name){s=t.name}if(a.vdomClass){var d=t.className||t.class;if(d){t.class=typeof d!=="object"?d:Object.keys(d).filter((function(e){return d[e]})).join(" ")}}}if(a.isDev&&u.some(fe)){Mt("The <Host> must be the single root component. Make sure:\n- You are NOT using hostData() and <Host> in the same component.\n- <Host> is used once, and it's the single root component of the render() function.")}if(a.vdomFunctional&&typeof e==="function"){return e(t===null?{}:t,u,ue)}var $=se(e,null);$.$attrs$=t;if(u.length>0){$.$children$=u}if(a.vdomKey){$.$key$=i}if(a.slotRelocation){$.$name$=s}return $}));var se=function(e,t){var n={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};if(a.vdomAttribute){n.$attrs$=null}if(a.vdomKey){n.$key$=null}if(a.slotRelocation){n.$name$=null}return n};var le=e("f",{});var fe=function(e){return e&&e.$tag$===le};var ue={forEach:function(e,t){return e.map(ce).forEach(t)},map:function(e,t){return e.map(ce).map(t).map(de)}};var ce=function(e){return{vattrs:e.$attrs$,vchildren:e.$children$,vkey:e.$key$,vname:e.$name$,vtag:e.$tag$,vtext:e.$text$}};var de=function(e){if(typeof e.vtag==="function"){var t=Object.assign({},e.vattrs);if(e.vkey){t.key=e.vkey}if(e.vname){t.name=e.vname}return ie.apply(void 0,__spreadArray([e.vtag,t],e.vchildren||[]))}var n=se(e.vtag,e.vtext);n.$attrs$=e.vattrs;n.$children$=e.vchildren;n.$key$=e.vkey;n.$name$=e.vname;return n};var $e=function(e){var t=Object.keys(e);var n=t.indexOf("type");var r=t.indexOf("min");var a=t.indexOf("max");var o=t.indexOf("min");var i=t.indexOf("value");if(i===-1){return}if(i<n||i<r||i<a||i<o){Bt('The "value" prop of <input> should be set after "min", "max", "type" and "step"')}};var ve=function(e,t,n,r,o,i){if(n!==r){var s=It(e,t);var l=t.toLowerCase();if(a.vdomClass&&t==="class"){var f=e.classList;var u=me(n);var c=me(r);f.remove.apply(f,u.filter((function(e){return e&&!c.includes(e)})));f.add.apply(f,c.filter((function(e){return e&&!u.includes(e)})))}else if(a.vdomStyle&&t==="style"){if(a.updatable){for(var d in n){if(!r||r[d]==null){if(!a.hydrateServerSide&&d.includes("-")){e.style.removeProperty(d)}else{e.style[d]=""}}}}for(var d in r){if(!n||r[d]!==n[d]){if(!a.hydrateServerSide&&d.includes("-")){e.style.setProperty(d,r[d])}else{e.style[d]=r[d]}}}}else if(a.vdomKey&&t==="key");else if(a.vdomRef&&t==="ref"){if(r){r(e)}}else if(a.vdomListener&&(a.lazyLoad?!s:!e.__lookupSetter__(t))&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(It(g,l)){t=l.slice(2)}else{t=l[2]+t.slice(3)}if(n){S.rel(e,t,n,false)}if(r){S.ael(e,t,r,false)}}else if(a.vdomPropOrAttr){var $=oe(r);if((s||$&&r!==null)&&!o){try{if(!e.tagName.includes("-")){var v=r==null?"":r;if(t==="list"){s=false}else if(n==null||e[t]!=v){e[t]=v}}else{e[t]=r}}catch(e){}}var h=false;if(a.vdomXlink){if(l!==(l=l.replace(/^xlink\:?/,""))){t=l;h=true}}if(r==null||r===false){if(r!==false||e.getAttribute(t)===""){if(a.vdomXlink&&h){e.removeAttributeNS(U,t)}else{e.removeAttribute(t)}}}else if((!s||i&4||o)&&!$){r=r===true?"":r;if(a.vdomXlink&&h){e.setAttributeNS(U,t,r)}else{e.setAttribute(t,r)}}}}};var he=/\s/;var me=function(e){return!e?[]:e.split(he)};var pe=function(e,t,n,r){var o=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var i=e&&e.$attrs$||te;var s=t.$attrs$||te;if(a.updatable){for(r in i){if(!(r in s)){ve(o,r,i[r],undefined,n,t.$flags$)}}}for(r in s){ve(o,r,i[r],s[r],n,t.$flags$)}};var ge=function(e,t,n,r){var o=t.$children$[n];var f=0;var u;var d;var h;if(a.slotRelocation&&!c){$=true;if(o.$tag$==="slot"){if(i){r.classList.add(i+"-s")}o.$flags$|=o.$children$?2:1}}if(a.isDev&&o.$elm$){Mt("The JSX "+(o.$text$!==null?'"'+o.$text$+'" text':'"'+o.$tag$+'" element')+" node should not be shared within the same renderer. The renderer caches element lookups in order to improve performance. However, a side effect from this is that the exact same JSX node should not be reused. For more information please see https://stenciljs.com/docs/templating-jsx#avoid-shared-jsx-nodes")}if(a.vdomText&&o.$text$!==null){u=o.$elm$=b.createTextNode(o.$text$)}else if(a.slotRelocation&&o.$flags$&1){u=o.$elm$=a.isDebug||a.hydrateServerSide?Ee(o):b.createTextNode("")}else{if(a.svg&&!v){v=o.$tag$==="svg"}u=o.$elm$=a.svg?b.createElementNS(v?ne:re,a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$):b.createElement(a.slotRelocation&&o.$flags$&2?"slot-fb":o.$tag$);if(a.svg&&v&&o.$tag$==="foreignObject"){v=false}if(a.vdomAttribute){pe(null,o,v)}if((a.shadowDom||a.scoped)&&ae(i)&&u["s-si"]!==i){u.classList.add(u["s-si"]=i)}if(o.$children$){for(f=0;f<o.$children$.length;++f){d=ge(e,o,f,u);if(d){u.appendChild(d)}}}if(a.svg){if(o.$tag$==="svg"){v=false}else if(u.tagName==="foreignObject"){v=true}}}if(a.slotRelocation){u["s-hn"]=l;if(o.$flags$&(2|1)){u["s-sr"]=true;u["s-cr"]=s;u["s-sn"]=o.$name$||"";h=e&&e.$children$&&e.$children$[n];if(h&&h.$tag$===o.$tag$&&e.$elm$){ye(e.$elm$,false)}}}return u};var ye=function(e,t){S.$flags$|=1;var n=e.childNodes;for(var r=n.length-1;r>=0;r--){var a=n[r];if(a["s-hn"]!==l&&a["s-ol"]){Ce(a).insertBefore(a,Re(a));a["s-ol"].remove();a["s-ol"]=undefined;$=true}if(t){ye(a,t)}}S.$flags$&=~1};var be=function(e,t,n,r,o,i){var s=a.slotRelocation&&e["s-cr"]&&e["s-cr"].parentNode||e;var f;if(a.shadowDom&&s.shadowRoot&&s.tagName===l){s=s.shadowRoot}for(;o<=i;++o){if(r[o]){f=ge(null,n,o,e);if(f){r[o].$elm$=f;s.insertBefore(f,a.slotRelocation?Re(t):t)}}}};var we=function(e,t,n,r,o){for(;t<=n;++t){if(r=e[t]){o=r.$elm$;De(r);if(a.slotRelocation){d=true;if(o["s-ol"]){o["s-ol"].remove()}else{ye(o,true)}}o.remove()}}};var Se=function(e,t,n,r){var o=0;var i=0;var s=0;var l=0;var f=t.length-1;var u=t[0];var c=t[f];var d=r.length-1;var $=r[0];var v=r[d];var h;var m;while(o<=f&&i<=d){if(u==null){u=t[++o]}else if(c==null){c=t[--f]}else if($==null){$=r[++i]}else if(v==null){v=r[--d]}else if(Ne(u,$)){Le(u,$);u=t[++o];$=r[++i]}else if(Ne(c,v)){Le(c,v);c=t[--f];v=r[--d]}else if(Ne(u,v)){if(a.slotRelocation&&(u.$tag$==="slot"||v.$tag$==="slot")){ye(u.$elm$.parentNode,false)}Le(u,v);e.insertBefore(u.$elm$,c.$elm$.nextSibling);u=t[++o];v=r[--d]}else if(Ne(c,$)){if(a.slotRelocation&&(u.$tag$==="slot"||v.$tag$==="slot")){ye(c.$elm$.parentNode,false)}Le(c,$);e.insertBefore(c.$elm$,u.$elm$);c=t[--f];$=r[++i]}else{s=-1;if(a.vdomKey){for(l=o;l<=f;++l){if(t[l]&&t[l].$key$!==null&&t[l].$key$===$.$key$){s=l;break}}}if(a.vdomKey&&s>=0){m=t[s];if(m.$tag$!==$.$tag$){h=ge(t&&t[i],n,s,e)}else{Le(m,$);t[s]=undefined;h=m.$elm$}$=r[++i]}else{h=ge(t&&t[i],n,i,e);$=r[++i]}if(h){if(a.slotRelocation){Ce(u.$elm$).insertBefore(h,Re(u.$elm$))}else{u.$elm$.parentNode.insertBefore(h,u.$elm$)}}}}if(o>f){be(e,r[d+1]==null?null:r[d+1].$elm$,n,r,i,d)}else if(a.updatable&&i>d){we(t,o,f)}};var Ne=function(e,t){if(e.$tag$===t.$tag$){if(a.slotRelocation&&e.$tag$==="slot"){return e.$name$===t.$name$}if(a.vdomKey){return e.$key$===t.$key$}return true}return false};var Re=function(e){return e&&e["s-ol"]||e};var Ce=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var Le=function(e,t){var n=t.$elm$=e.$elm$;var r=e.$children$;var o=t.$children$;var i=t.$tag$;var s=t.$text$;var l;if(!a.vdomText||s===null){if(a.svg){v=i==="svg"?true:i==="foreignObject"?false:v}if(a.vdomAttribute||a.reflect){if(a.slot&&i==="slot");else{pe(e,t,v)}}if(a.updatable&&r!==null&&o!==null){Se(n,r,t,o)}else if(o!==null){if(a.updatable&&a.vdomText&&e.$text$!==null){n.textContent=""}be(n,null,t,o,0,o.length-1)}else if(a.updatable&&r!==null){we(r,0,r.length-1)}if(a.svg&&v&&i==="svg"){v=false}}else if(a.vdomText&&a.slotRelocation&&(l=n["s-cr"])){l.parentNode.textContent=s}else if(a.vdomText&&e.$text$!==s){n.data=s}};var xe=function(e){var t=e.childNodes;var n;var r;var a;var o;var i;var s;for(r=0,a=t.length;r<a;r++){n=t[r];if(n.nodeType===1){if(n["s-sr"]){i=n["s-sn"];n.hidden=false;for(o=0;o<a;o++){s=t[o].nodeType;if(t[o]["s-hn"]!==n["s-hn"]||i!==""){if(s===1&&i===t[o].getAttribute("slot")){n.hidden=true;break}}else{if(s===1||s===3&&t[o].textContent.trim()!==""){n.hidden=true;break}}}}xe(n)}}};var Te=[];var ke=function(e){var t;var n;var r;var a;var o;var i;var s=0;var l=e.childNodes;var f=l.length;for(;s<f;s++){t=l[s];if(t["s-sr"]&&(n=t["s-cr"])&&n.parentNode){r=n.parentNode.childNodes;a=t["s-sn"];for(i=r.length-1;i>=0;i--){n=r[i];if(!n["s-cn"]&&!n["s-nr"]&&n["s-hn"]!==t["s-hn"]){if(_e(n,a)){o=Te.find((function(e){return e.$nodeToRelocate$===n}));d=true;n["s-sn"]=n["s-sn"]||a;if(o){o.$slotRefNode$=t}else{Te.push({$slotRefNode$:t,$nodeToRelocate$:n})}if(n["s-sr"]){Te.map((function(e){if(_e(e.$nodeToRelocate$,n["s-sn"])){o=Te.find((function(e){return e.$nodeToRelocate$===n}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!Te.some((function(e){return e.$nodeToRelocate$===n}))){Te.push({$nodeToRelocate$:n})}}}}if(t.nodeType===1){ke(t)}}};var _e=function(e,t){if(e.nodeType===1){if(e.getAttribute("slot")===null&&t===""){return true}if(e.getAttribute("slot")===t){return true}return false}if(e["s-sn"]===t){return true}return t===""};var De=function(e){if(a.vdomRef){e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(De)}};var Ae=function(e,t){var n=e.$hostElement$;var r=e.$cmpMeta$;var o=e.$vnode$||se(null,null);var f=fe(t)?t:ie(null,null,t);l=n.tagName;if(a.isDev&&Array.isArray(t)&&t.some(fe)){throw new Error('The <Host> must be the single root component.\nLooks like the render() function of "'+l.toLowerCase()+'" is returning an array that contains the <Host>.\n\nThe render() function should look like this instead:\n\nrender() {\n // Do not return an array\n return (\n <Host>{content}</Host>\n );\n}\n ')}if(a.reflect&&r.$attrsToReflect$){f.$attrs$=f.$attrs$||{};r.$attrsToReflect$.map((function(e){var t=e[0],r=e[1];return f.$attrs$[r]=n[t]}))}f.$tag$=null;f.$flags$|=4;e.$vnode$=f;f.$elm$=o.$elm$=a.shadowDom?n.shadowRoot||n:n;if(a.scoped||a.shadowDom){i=n["s-sc"]}if(a.slotRelocation){s=n["s-cr"];c=R&&(r.$flags$&1)!==0;d=false}Le(o,f);if(a.slotRelocation){S.$flags$|=1;if($){ke(f.$elm$);var u=void 0;var v=void 0;var h=void 0;var m=void 0;var p=void 0;var g=void 0;var y=0;for(;y<Te.length;y++){u=Te[y];v=u.$nodeToRelocate$;if(!v["s-ol"]){h=a.isDebug||a.hydrateServerSide?Oe(v):b.createTextNode("");h["s-nr"]=v;v.parentNode.insertBefore(v["s-ol"]=h,v)}}for(y=0;y<Te.length;y++){u=Te[y];v=u.$nodeToRelocate$;if(u.$slotRefNode$){m=u.$slotRefNode$.parentNode;p=u.$slotRefNode$.nextSibling;h=v["s-ol"];while(h=h.previousSibling){g=h["s-nr"];if(g&&g["s-sn"]===v["s-sn"]&&m===g.parentNode){g=g.nextSibling;if(!g||!g["s-nr"]){p=g;break}}}if(!p&&m!==v.parentNode||v.nextSibling!==p){if(v!==p){if(!v["s-hn"]&&v["s-ol"]){v["s-hn"]=v["s-ol"].parentNode.nodeName}m.insertBefore(v,p)}}}else{if(v.nodeType===1){v.hidden=true}}}}if(d){xe(f.$elm$)}S.$flags$&=~1;Te.length=0}};var Ee=function(e){return b.createComment("<slot"+(e.$name$?' name="'+e.$name$+'"':"")+"> (host="+l.toLowerCase()+")")};var Oe=function(e){return b.createComment("org-location for "+(e.localName?"<"+e.localName+"> (host="+e["s-hn"]+")":"["+e.textContent+"]"))};var Pe=e("g",(function(e){return a.lazyLoad?Et(e).$hostElement$:e}));var Ie=e("e",(function(e,t,n){var r=Pe(e);return{emit:function(e){if(a.isDev&&!r.isConnected){Bt('The "'+t+'" event was emitted, but the dispatcher node is no longer connected to the dom.')}return ze(r,t,{bubbles:!!(n&4),composed:!!(n&2),cancelable:!!(n&1),detail:e})}}}));var ze=function(e,t,n){var r=S.ce(t,n);e.dispatchEvent(r);return r};var je=function(e,t){if(a.asyncLoading&&t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var Me=function(e,t){if(a.taskQueue&&a.updatable){e.$flags$|=16}if(a.asyncLoading&&e.$flags$&4){e.$flags$|=512;return}je(e,e.$ancestorComponent$);var n=function(){return Be(e,t)};return a.taskQueue?nn(n):n()};var Be=function(e,t){var n=e.$hostElement$;var r=F("scheduleUpdate",e.$cmpMeta$.$tagName$);var o=a.lazyLoad?e.$lazyInstance$:n;var i;if(t){if(a.lazyLoad&&a.hostListener){e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],n=e[1];return Qe(o,t,n)}));e.$queuedListeners$=null}}Xe(n,"componentWillLoad");if(a.cmpWillLoad){i=Qe(o,"componentWillLoad")}}else{Xe(n,"componentWillUpdate");if(a.cmpWillUpdate){i=Qe(o,"componentWillUpdate")}}Xe(n,"componentWillRender");if(a.cmpWillRender){i=Ke(i,(function(){return Qe(o,"componentWillRender")}))}r();return Ke(i,(function(){return Ue(e,o,t)}))};var Ue=function(e,t,r){return __awaiter(n,void 0,void 0,(function(){var n,o,i,s,l,f;return __generator(this,(function(u){switch(u.label){case 0:n=e.$hostElement$;o=F("update",e.$cmpMeta$.$tagName$);i=n["s-rc"];if(a.style&&r){X(e)}s=F("render",e.$cmpMeta$.$tagName$);if(a.isDev){e.$flags$|=1024}if(!a.hydrateServerSide)return[3,2];return[4,Fe(e,t,n)];case 1:u.sent();return[3,3];case 2:Fe(e,t,n);u.label=3;case 3:if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.updateHost(n)}if(a.isDev){e.$renderCount$++;e.$flags$&=~1024}if(a.hydrateServerSide){try{Ge(n);if(r){if(e.$cmpMeta$.$flags$&1){n["s-en"]=""}else if(e.$cmpMeta$.$flags$&2){n["s-en"]="c"}}}catch(e){zt(e,n)}}if(a.asyncLoading&&i){i.map((function(e){return e()}));n["s-rc"]=undefined}s();o();if(a.asyncLoading){l=n["s-p"];f=function(){return Ve(e)};if(l.length===0){f()}else{Promise.all(l).then(f);e.$flags$|=4;l.length=0}}else{Ve(e)}return[2]}}))}))};var Fe=function(e,t,n){var r=a.allRenderFn?true:false;var o=a.lazyLoad?true:false;var i=a.taskQueue?true:false;var s=a.updatable?true:false;try{h=t;t=r?t.render():t.render&&t.render();if(s&&i){e.$flags$&=~16}if(s||o){e.$flags$|=2}if(a.hasRenderFn||a.reflect){if(a.vdomRender||a.reflect){if(a.hydrateServerSide){return Promise.resolve(t).then((function(t){return Ae(e,t)}))}else{Ae(e,t)}}else{n.textContent=t}}}catch(t){zt(t,e.$hostElement$)}h=null;return null};var He=function(){return h};var Ve=function(e){var t=e.$cmpMeta$.$tagName$;var n=e.$hostElement$;var r=F("postUpdate",t);var o=a.lazyLoad?e.$lazyInstance$:n;var i=e.$ancestorComponent$;if(a.cmpDidRender){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidRender");if(a.isDev){e.$flags$&=~1024}}Xe(n,"componentDidRender");if(!(e.$flags$&64)){e.$flags$|=64;if(a.asyncLoading&&a.cssAnnotations){Je(n)}if(a.cmpDidLoad){if(a.isDev){e.$flags$|=2048}Qe(o,"componentDidLoad");if(a.isDev){e.$flags$&=~2048}}Xe(n,"componentDidLoad");r();if(a.asyncLoading){e.$onReadyResolve$(n);if(!i){qe(t)}}}else{if(a.cmpDidUpdate){if(a.isDev){e.$flags$|=1024}Qe(o,"componentDidUpdate");if(a.isDev){e.$flags$&=~1024}}Xe(n,"componentDidUpdate");r()}if(a.hotModuleReplacement){n["s-hmr-load"]&&n["s-hmr-load"]()}if(a.method&&a.lazyLoad){e.$onInstanceResolve$(n)}if(a.asyncLoading){if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){en((function(){return Me(e,false)}))}e.$flags$&=~(4|512)}};var We=function(e){if(a.updatable){var t=Et(e);var n=t.$hostElement$.isConnected;if(n&&(t.$flags$&(2|16))===2){Me(t,false)}return n}return false};var qe=function(e){if(a.cssAnnotations){Je(b.documentElement)}if(a.asyncQueue){S.$flags$|=2}en((function(){return ze(g,"appload",{detail:{namespace:r}})}));if(a.profile&&performance.measure){performance.measure("[Stencil] "+r+" initial load (by "+e+")","st:app:start")}};var Qe=function(e,t,n){if(e&&e[t]){try{return e[t](n)}catch(e){zt(e)}}return undefined};var Ke=function(e,t){return e&&e.then?e.then(t):t()};var Xe=function(e,t){if(a.lifecycleDOMEvents){ze(e,"stencil_"+t,{bubbles:true,composed:true,detail:{namespace:r}})}};var Je=function(e){return a.hydratedClass?e.classList.add("hydrated"):a.hydratedAttribute?e.setAttribute("hydrated",""):undefined};var Ge=function(e){var t=e.children;if(t!=null){for(var n=0,r=t.length;n<r;n++){var a=t[n];if(typeof a.connectedCallback==="function"){a.connectedCallback()}Ge(a)}}};var Ye=function(e,t,n,r){var o=F("hydrateClient",t);var i=e.shadowRoot;var s=[];var l=[];var f=a.shadowDom&&i?[]:null;var u=r.$vnode$=se(t,null);if(!S.$orgLocNodes$){et(b.body,S.$orgLocNodes$=new Map)}e[z]=n;e.removeAttribute(z);Ze(u,s,l,f,e,e,n);s.map((function(e){var n=e.$hostId$+"."+e.$nodeId$;var r=S.$orgLocNodes$.get(n);var a=e.$elm$;if(r&&R&&r["s-en"]===""){r.parentNode.insertBefore(a,r.nextSibling)}if(!i){a["s-hn"]=t;if(r){a["s-ol"]=r;a["s-ol"]["s-nr"]=a}}S.$orgLocNodes$.delete(n)}));if(a.shadowDom&&i){f.map((function(e){if(e){i.appendChild(e)}}))}o()};var Ze=function(e,t,n,r,o,i,s){var l;var f;var u;var c;if(i.nodeType===1){l=i.getAttribute(M);if(l){f=l.split(".");if(f[0]===s||f[0]==="0"){u={$flags$:0,$hostId$:f[0],$nodeId$:f[1],$depth$:f[2],$index$:f[3],$tag$:i.tagName.toLowerCase(),$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null};t.push(u);i.removeAttribute(M);if(!e.$children$){e.$children$=[]}e.$children$[u.$index$]=u;e=u;if(r&&u.$depth$==="0"){r[u.$index$]=u.$elm$}}}for(c=i.childNodes.length-1;c>=0;c--){Ze(e,t,n,r,o,i.childNodes[c],s)}if(i.shadowRoot){for(c=i.shadowRoot.childNodes.length-1;c>=0;c--){Ze(e,t,n,r,o,i.shadowRoot.childNodes[c],s)}}}else if(i.nodeType===8){f=i.nodeValue.split(".");if(f[1]===s||f[1]==="0"){l=f[0];u={$flags$:0,$hostId$:f[1],$nodeId$:f[2],$depth$:f[3],$index$:f[4],$elm$:i,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null};if(l===I){u.$elm$=i.nextSibling;if(u.$elm$&&u.$elm$.nodeType===3){u.$text$=u.$elm$.textContent;t.push(u);i.remove();if(!e.$children$){e.$children$=[]}e.$children$[u.$index$]=u;if(r&&u.$depth$==="0"){r[u.$index$]=u.$elm$}}}else if(u.$hostId$===s){if(l===P){u.$tag$="slot";if(f[5]){i["s-sn"]=u.$name$=f[5]}else{i["s-sn"]=""}i["s-sr"]=true;if(a.shadowDom&&r){u.$elm$=b.createElement(u.$tag$);if(u.$name$){u.$elm$.setAttribute("name",u.$name$)}i.parentNode.insertBefore(u.$elm$,i);i.remove();if(u.$depth$==="0"){r[u.$index$]=u.$elm$}}n.push(u);if(!e.$children$){e.$children$=[]}e.$children$[u.$index$]=u}else if(l===E){if(a.shadowDom&&r){i.remove()}else if(a.slotRelocation){o["s-cr"]=i;i["s-cn"]=true}}}}}else if(e&&e.$tag$==="style"){var d=se(null,i.textContent);d.$elm$=i;d.$index$="0";e.$children$=[d]}};var et=function(e,t){if(e.nodeType===1){var n=0;for(;n<e.childNodes.length;n++){et(e.childNodes[n],t)}if(e.shadowRoot){for(n=0;n<e.shadowRoot.childNodes.length;n++){et(e.shadowRoot.childNodes[n],t)}}}else if(e.nodeType===8){var r=e.nodeValue.split(".");if(r[0]===O){t.set(r[1]+"."+r[2],e);e.nodeValue="";e["s-en"]=r[3]}}};var tt=function(e,t){if(e!=null&&!oe(e)){if(a.propBoolean&&t&4){return e==="false"?false:e===""||!!e}if(a.propNumber&&t&2){return parseFloat(e)}if(a.propString&&t&1){return String(e)}return e}return e};var nt=function(e,t){return Et(e).$instanceValues$.get(t)};var rt=function(e,t,n,r){var o=Et(e);var i=a.lazyLoad?o.$hostElement$:e;var s=o.$instanceValues$.get(t);var l=o.$flags$;var f=a.lazyLoad?o.$lazyInstance$:i;n=tt(n,r.$members$[t][0]);if((!a.lazyLoad||!(l&8)||s===undefined)&&n!==s){o.$instanceValues$.set(t,n);if(a.isDev){if(o.$flags$&1024){Bt('The state/prop "'+t+'" changed during rendering. This can potentially lead to infinite-loops and other bugs.',"\nElement",i,"\nNew value",n,"\nOld value",s)}else if(o.$flags$&2048){Bt('The state/prop "'+t+'" changed during "componentDidLoad()", this triggers extra re-renders, try to setup on "componentWillLoad()"',"\nElement",i,"\nNew value",n,"\nOld value",s)}}if(!a.lazyLoad||f){if(a.watchCallback&&r.$watchers$&&l&128){var u=r.$watchers$[t];if(u){u.map((function(e){try{f[e](n,s,t)}catch(e){zt(e,i)}}))}}if(a.updatable&&(l&(2|16))===2){if(a.cmpShouldUpdate&&f.componentShouldUpdate){if(f.componentShouldUpdate(n,s,t)===false){return}}Me(o,false)}}}};var at=function(e,t,n){if(a.member&&t.$members$){if(a.watchCallback&&e.watchers){t.$watchers$=e.watchers}var r=Object.entries(t.$members$);var o=e.prototype;r.map((function(e){var r=e[0],i=e[1][0];if((a.prop||a.state)&&(i&31||(!a.lazyLoad||n&2)&&i&32)){Object.defineProperty(o,r,{get:function(){return nt(this,r)},set:function(e){if(a.isDev){var o=Et(this);if((n&1)===0&&(o.$flags$&8)===0&&(i&31)!==0&&(i&1024)===0){Bt('@Prop() "'+r+'" on <'+t.$tagName$+"> is immutable but was modified from within the component.\nMore information: https://stenciljs.com/docs/properties#prop-mutability")}}rt(this,r,e,t)},configurable:true,enumerable:true})}else if(a.lazyLoad&&a.method&&n&1&&i&64){Object.defineProperty(o,r,{value:function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}var n=Et(this);return n.$onInstancePromise$.then((function(){var t;return(t=n.$lazyInstance$)[r].apply(t,e)}))}})}}));if(a.observeAttribute&&(!a.lazyLoad||n&1)){var i=new Map;o.attributeChangedCallback=function(e,t,n){var r=this;S.jmp((function(){var t=i.get(e);if(r.hasOwnProperty(t)){n=r[t];delete r[t]}else if(o.hasOwnProperty(t)&&typeof r[t]==="number"&&r[t]==n){return}r[t]=n===null&&typeof r[t]==="boolean"?false:n}))};e.observedAttributes=r.filter((function(e){var t=e[0],n=e[1];return n[0]&15})).map((function(e){var n=e[0],r=e[1];var o=r[1]||n;i.set(o,n);if(a.reflect&&r[0]&512){t.$attrsToReflect$.push([n,o])}return o}))}}return e};var ot=function(e,r,o,i,s){return __awaiter(n,void 0,void 0,(function(){var n,l,f,u,c,d,$;return __generator(this,(function(v){switch(v.label){case 0:if(!((a.lazyLoad||a.hydrateServerSide||a.style)&&(r.$flags$&32)===0))return[3,7];if(!(a.lazyLoad||a.hydrateClientSide))return[3,3];r.$flags$|=32;s=Vt(o,r,i);if(!s.then)return[3,2];n=H("st:load:"+o.$tagName$+":"+r.$modeName$,"[Stencil] Load module for <"+o.$tagName$+">");return[4,s];case 1:s=v.sent();n();v.label=2;case 2:if((a.isDev||a.isDebug)&&!s){throw new Error('Constructor for "'+o.$tagName$+"#"+r.$modeName$+'" was not found')}if(a.member&&!s.isProxied){if(a.watchCallback){o.$watchers$=s.watchers}at(s,o,2);s.isProxied=true}l=F("createInstance",o.$tagName$);if(a.member){r.$flags$|=8}try{new s(r)}catch(e){zt(e)}if(a.member){r.$flags$&=~8}if(a.watchCallback){r.$flags$|=128}l();it(r.$lazyInstance$);return[3,4];case 3:s=e.constructor;r.$flags$|=32;customElements.whenDefined(o.$tagName$).then((function(){return r.$flags$|=128}));v.label=4;case 4:if(!(a.style&&s.style))return[3,7];f=s.style;if(a.mode&&typeof f!=="string"){f=f[r.$modeName$=Y(e)];if(a.hydrateServerSide&&r.$modeName$){e.setAttribute("s-mode",r.$modeName$)}}u=J(o,r.$modeName$);if(!!Wt.has(u))return[3,7];c=F("registerStyles",o.$tagName$);if(!(!a.hydrateServerSide&&a.shadowDom&&a.shadowDomShim&&o.$flags$&8))return[3,6];return[4,t.import("./shadow-css-ef154fe4.system.js").then((function(e){return e.scopeCss(f,u,false)}))];case 5:f=v.sent();v.label=6;case 6:Q(u,f,!!(o.$flags$&1));c();v.label=7;case 7:d=r.$ancestorComponent$;$=function(){return Me(r,true)};if(a.asyncLoading&&d&&d["s-rc"]){d["s-rc"].push($)}else{$()}return[2]}}))}))};var it=function(e){if(a.lazyLoad&&a.connectedCallback){Qe(e,"connectedCallback")}};var st=function(e){if((S.$flags$&1)===0){var t=Et(e);var n=t.$cmpMeta$;var r=F("connectedCallback",n.$tagName$);if(a.hostListenerTargetParent){k(e,t,n.$listeners$,true)}if(!(t.$flags$&1)){t.$flags$|=1;var o=void 0;if(a.hydrateClientSide){o=e.getAttribute(z);if(o){if(a.shadowDom&&R&&n.$flags$&1){var i=a.mode?K(e.shadowRoot,n,e.getAttribute("s-mode")):K(e.shadowRoot,n);e.classList.remove(i+"-h",i+"-s")}Ye(e,n.$tagName$,o,t)}}if(a.slotRelocation&&!o){if(a.hydrateServerSide||(a.slot||a.shadowDom)&&n.$flags$&(4|8)){lt(e)}}if(a.asyncLoading){var s=e;while(s=s.parentNode||s.host){if(a.hydrateClientSide&&s.nodeType===1&&s.hasAttribute("s-id")&&s["s-p"]||s["s-p"]){je(t,t.$ancestorComponent$=s);break}}}if(a.prop&&!a.hydrateServerSide&&n.$members$){Object.entries(n.$members$).map((function(t){var n=t[0],r=t[1][0];if(r&31&&e.hasOwnProperty(n)){var a=e[n];delete e[n];e[n]=a}}))}if(a.initializeNextTick){en((function(){return ot(e,t,n)}))}else{ot(e,t,n)}}else{k(e,t,n.$listeners$,false);it(t.$lazyInstance$)}r()}};var lt=function(e){var t=e["s-cr"]=b.createComment(a.isDebug?"content-ref (host="+e.localName+")":"");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var ft=function(e){if((S.$flags$&1)===0){var t=Et(e);var n=a.lazyLoad?t.$lazyInstance$:e;if(a.hostListener){if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}if(a.cssVarShim&&S.$cssShim$){S.$cssShim$.removeHost(e)}if(a.lazyLoad&&a.disconnectedCallback){Qe(n,"disconnectedCallback")}if(a.cmpDidUnload){Qe(n,"componentDidUnload")}}};var ut=function(e,t){customElements.define(t[1],ct(e,t))};var ct=function(e,t){var n={$flags$:t[0],$tagName$:t[1]};if(a.member){n.$members$=t[2]}if(a.hostListener){n.$listeners$=t[3]}if(a.watchCallback){n.$watchers$=e.$watchers$}if(a.reflect){n.$attrsToReflect$=[]}if(a.shadowDom&&!R&&n.$flags$&1){n.$flags$|=8}var r=e.prototype.connectedCallback;var o=e.prototype.disconnectedCallback;Object.assign(e.prototype,{__registerHost:function(){Pt(this,n)},connectedCallback:function(){st(this);if(a.connectedCallback&&r){r.call(this)}},disconnectedCallback:function(){ft(this);if(a.disconnectedCallback&&o){o.call(this)}},__attachShadow:function(){if(R){if(a.shadowDelegatesFocus){this.attachShadow({mode:"open",delegatesFocus:!!(n.$flags$&16)})}else{this.attachShadow({mode:"open"})}}else{this.shadowRoot=this}}});e.is=n.$tagName$;return at(e,n,1|2)};var dt=function(e){if(a.style&&a.mode&&!a.lazyLoad){var t=Y(e);var n=Et(e);if(n.$modeName$!==t){var r=n.$cmpMeta$;var o=e["s-sc"];var i=J(r,t);var s=e.constructor.style[t];var l=r.$flags$;if(s){if(!Wt.has(i)){Q(i,s,!!(l&1))}n.$modeName$=t;e.classList.remove(o+"-h",o+"-s");X(n);We(e)}}}};var $t=function(e,t,n){var r=Et(e);r.$flags$=1;e["s-hmr-load"]=function(){delete e["s-hmr-load"]};ot(e,r,t,n)};var vt=function(e){var t=e.cloneNode;e.cloneNode=function(e){var n=this;var r=a.shadowDom?n.shadowRoot&&R:false;var o=t.call(n,r?e:false);if(a.slot&&!r&&e){var i=0;var s=void 0,l=void 0;var f=["s-id","s-cr","s-lr","s-rc","s-sc","s-p","s-cn","s-sr","s-sn","s-hn","s-ol","s-nr","s-si"];for(;i<n.childNodes.length;i++){s=n.childNodes[i]["s-nr"];l=f.every((function(e){return!n.childNodes[i][e]}));if(s){if(a.appendChildSlotFix&&o.__appendChild){o.__appendChild(s.cloneNode(true))}else{o.appendChild(s.cloneNode(true))}}if(l){o.appendChild(n.childNodes[i].cloneNode(true))}}}return o}};var ht=function(e){e.__appendChild=e.appendChild;e.appendChild=function(e){var t=e["s-sn"]=gt(e);var n=yt(this.childNodes,t);if(n){var r=bt(n,t);var a=r[r.length-1];return a.parentNode.insertBefore(e,a.nextSibling)}return this.__appendChild(e)}};var mt=function(e,t){if(a.scoped&&t.$flags$&2){var n=Object.getOwnPropertyDescriptor(Node.prototype,"textContent");Object.defineProperty(e,"__textContent",n);Object.defineProperty(e,"textContent",{get:function(){var e;var t=yt(this.childNodes,"");if(((e=t===null||t===void 0?void 0:t.nextSibling)===null||e===void 0?void 0:e.nodeType)===3){return t.nextSibling.textContent}else if(t){return t.textContent}else{return this.__textContent}},set:function(e){var t;var n=yt(this.childNodes,"");if(((t=n===null||n===void 0?void 0:n.nextSibling)===null||t===void 0?void 0:t.nodeType)===3){n.nextSibling.textContent=e}else if(n){n.textContent=e}else{this.__textContent=e;var r=this["s-cr"];if(r){this.insertBefore(r,this.firstChild)}}}})}};var pt=function(e,t){var n=function(e){__extends(t,e);function t(){return e!==null&&e.apply(this,arguments)||this}t.prototype.item=function(e){return this[e]};return t}(Array);if(t.$flags$&8){var r=e.__lookupGetter__("childNodes");Object.defineProperty(e,"children",{get:function(){return this.childNodes.map((function(e){return e.nodeType===1}))}});Object.defineProperty(e,"childElementCount",{get:function(){return e.children.length}});Object.defineProperty(e,"childNodes",{get:function(){var e=r.call(this);if((S.$flags$&1)===0&&Et(this).$flags$&2){var t=new n;for(var a=0;a<e.length;a++){var o=e[a]["s-nr"];if(o){t.push(o)}}return t}return n.from(e)}})}};var gt=function(e){return e["s-sn"]||e.nodeType===1&&e.getAttribute("slot")||""};var yt=function(e,t){var n=0;var r;for(;n<e.length;n++){r=e[n];if(r["s-sr"]&&r["s-sn"]===t){return r}r=yt(r.childNodes,t);if(r){return r}}return null};var bt=function(e,t){var n=[e];while((e=e.nextSibling)&&e["s-sn"]===t){n.push(e)}return n};var wt=e("b",(function(e,t){if(t===void 0){t={}}if(a.profile&&performance.mark){performance.mark("st:app:start")}W();var n=F("bootstrapLazy");var r=[];var o=t.exclude||[];var i=g.customElements;var s=b.head;var l=s.querySelector("meta[charset]");var f=b.createElement("style");var u=[];var c=b.querySelectorAll("["+j+"]");var d;var $=true;var v=0;Object.assign(S,t);S.$resourcesUrl$=new URL(t.resourcesUrl||"./",b.baseURI).href;if(a.asyncQueue){if(t.syncQueue){S.$flags$|=4}}if(a.hydrateClientSide){S.$flags$|=2}if(a.hydrateClientSide&&a.shadowDom){for(;v<c.length;v++){Q(c[v].getAttribute(j),G(c[v].innerHTML),true)}}e.map((function(e){e[1].map((function(n){var s={$flags$:n[0],$tagName$:n[1],$members$:n[2],$listeners$:n[3]};if(a.member){s.$members$=n[2]}if(a.hostListener){s.$listeners$=n[3]}if(a.reflect){s.$attrsToReflect$=[]}if(a.watchCallback){s.$watchers$={}}if(a.shadowDom&&!R&&s.$flags$&1){s.$flags$|=8}var l=a.transformTagName&&t.transformTagName?t.transformTagName(s.$tagName$):s.$tagName$;var f=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;Pt(t,s);if(a.shadowDom&&s.$flags$&1){if(R){if(a.shadowDelegatesFocus){t.attachShadow({mode:"open",delegatesFocus:!!(s.$flags$&16)})}else{t.attachShadow({mode:"open"})}}else if(!a.hydrateServerSide&&!("shadowRoot"in t)){t.shadowRoot=t}}if(a.slotChildNodesFix){pt(t,s)}return n}t.prototype.connectedCallback=function(){var e=this;if(d){clearTimeout(d);d=null}if($){u.push(this)}else{S.jmp((function(){return st(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;S.jmp((function(){return ft(e)}))};t.prototype.componentOnReady=function(){return Et(this).$onReadyPromise$};return t}(HTMLElement);if(a.cloneNodeFix){vt(f.prototype)}if(a.appendChildSlotFix){ht(f.prototype)}if(a.hotModuleReplacement){f.prototype["s-hmr"]=function(e){$t(this,s,e)}}if(a.scopedSlotTextContentFix){mt(f.prototype,s)}s.$lazyBundleId$=e[0];if(!o.includes(l)&&!i.get(l)){r.push(l);i.define(l,at(f,s,1))}}))}));if(a.invisiblePrehydration&&(a.hydratedClass||a.hydratedAttribute)){f.innerHTML=r+B;f.setAttribute("data-styles","");s.insertBefore(f,l?l.nextSibling:s.firstChild)}$=false;if(u.length){u.map((function(e){return e.connectedCallback()}))}else{if(a.profile){S.jmp((function(){return d=setTimeout(qe,30,"timeout")}))}else{S.jmp((function(){return d=setTimeout(qe,30)}))}}n()}));var St=e("i",(function(e){var t=new URL(e,S.$resourcesUrl$);return t.origin!==g.location.origin?t.href:t.pathname}));var Nt=function(e){return S.$resourcesUrl$=e};var Rt=function(e,t){var n=function(){var e=b.querySelector(t);if(!e){e=b.createElement(t);b.body.appendChild(e)}return typeof e.componentOnReady==="function"?e.componentOnReady():Promise.resolve(e)};var r=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return n().then((function(t){return t.create.apply(t,e)}))};return{create:r,componentOnReady:n}};var Ct=function(e,t){if(t in T){return T[t]}else if(t==="window"){return g}else if(t==="document"){return b}else if(t==="isServer"||t==="isPrerender"){return a.hydrateServerSide?true:false}else if(t==="isClient"){return a.hydrateServerSide?false:true}else if(t==="resourcesUrl"||t==="publicPath"){return St(".")}else if(t==="queue"){return{write:nn,read:tn,tick:{then:function(e){return en(e)}}}}return undefined};var Lt=function(e,t){if(e!=null){var n={hostIds:0,rootLevelIds:0,staticComponents:new Set(t)};var r=[];xt(e,e.body,n,r);r.forEach((function(t){if(t!=null){var r=t["s-nr"];var a=r["s-host-id"];var o=r["s-node-id"];var i=a+"."+o;if(a==null){a=0;n.rootLevelIds++;o=n.rootLevelIds;i=a+"."+o;if(r.nodeType===1){r.setAttribute(M,i)}else if(r.nodeType===3){if(a===0){var s=r.nodeValue.trim();if(s===""){t.remove();return}}var l=e.createComment(i);l.nodeValue=I+"."+i;r.parentNode.insertBefore(l,r)}}var f=O+"."+i;var u=t.parentElement;if(u){if(u["s-en"]===""){f+="."}else if(u["s-en"]==="c"){f+=".c"}}t.nodeValue=f}}))}};var xt=function(e,t,n,r){if(t==null){return}if(t["s-nr"]!=null){r.push(t)}if(t.nodeType===1){t.childNodes.forEach((function(t){var a=Et(t);if(a!=null&&!n.staticComponents.has(t.nodeName.toLowerCase())){var o={nodeIds:0};Tt(e,t,a.$vnode$,n,o)}xt(e,t,n,r)}))}};var Tt=function(e,t,n,r,a){if(n!=null){var o=++r.hostIds;t.setAttribute(z,o);if(t["s-cr"]!=null){t["s-cr"].nodeValue=E+"."+o}if(n.$children$!=null){var i=0;n.$children$.forEach((function(t,n){kt(e,t,a,o,i,n)}))}if(t&&n&&n.$elm$&&!t.hasAttribute("c-id")){var s=t.parentElement;if(s&&s.childNodes){var l=Array.from(s.childNodes);var f=l.find((function(e){return e.nodeType===8&&e["s-sr"]}));if(f){var u=l.indexOf(t)-1;n.$elm$.setAttribute(M,f["s-host-id"]+"."+f["s-node-id"]+".0."+u)}}}}};var kt=function(e,t,n,r,a,o){var i=t.$elm$;if(i==null){return}var s=n.nodeIds++;var l=r+"."+s+"."+a+"."+o;i["s-host-id"]=r;i["s-node-id"]=s;if(i.nodeType===1){i.setAttribute(M,l)}else if(i.nodeType===3){var f=i.parentNode;var u=f.nodeName;if(u!=="STYLE"&&u!=="SCRIPT"){var c=I+"."+l;var d=e.createComment(c);f.insertBefore(d,i)}}else if(i.nodeType===8){if(i["s-sr"]){var $=i["s-sn"]||"";var v=P+"."+l+"."+$;i.nodeValue=v}}if(t.$children$!=null){var h=a+1;t.$children$.forEach((function(t,a){kt(e,t,n,r,h,a)}))}};var _t=function(e){return Object.assign(S,e)};var Dt=function(e,t){return t};var At=new WeakMap;var Et=function(e){return At.get(e)};var Ot=e("r",(function(e,t){return At.set(t.$lazyInstance$=e,t)}));var Pt=function(e,t){var n={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};if(a.isDev){n.$renderCount$=0}if(a.method&&a.lazyLoad){n.$onInstancePromise$=new Promise((function(e){return n.$onInstanceResolve$=e}))}if(a.asyncLoading){n.$onReadyPromise$=new Promise((function(e){return n.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}k(e,n,t.$listeners$,false);return At.set(e,n)};var It=function(e,t){return t in e};var zt=function(e,t){return(f||console.error)(e,t)};var jt=a.isTesting?["STENCIL:"]:["%cstencil","color: white;background:#4c47ff;font-weight: bold; font-size:10px; padding:2px 6px; border-radius: 5px"];var Mt=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.error.apply(console,__spreadArray(__spreadArray([],jt),e))};var Bt=function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.warn.apply(console,__spreadArray(__spreadArray([],jt),e))};var Ut=e("c",(function(){var e=[];for(var t=0;t<arguments.length;t++){e[t]=arguments[t]}return console.info.apply(console,__spreadArray(__spreadArray([],jt),e))}));var Ft=function(e){return f=e};var Ht=new Map;var Vt=function(e,n,r){var o=e.$tagName$.replace(/-/g,"_");var i=e.$lazyBundleId$;if(a.isDev&&typeof i!=="string"){Mt("Trying to lazily load component <"+e.$tagName$+'> with style mode "'+n.$modeName$+'", but it does not exist.');return undefined}var s=!a.hotModuleReplacement?Ht.get(i):false;if(s){return s[o]}return t.import("./"+i+".entry.js"+(a.hotModuleReplacement&&r?"?s-hmr="+r:"")).then((function(e){if(!a.hotModuleReplacement){Ht.set(i,e)}return e[o]}),zt)};var Wt=new Map;var qt=[];var Qt=[];var Kt=[];var Xt=[];var Jt=function(e,t){return function(n){e.push(n);if(!p){p=true;if(t&&S.$flags$&4){en(Zt)}else{S.raf(Zt)}}}};var Gt=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){zt(e)}}e.length=0};var Yt=function(e,t){var n=0;var r=0;while(n<e.length&&(r=performance.now())<t){try{e[n++](r)}catch(e){zt(e)}}if(n===e.length){e.length=0}else if(n!==0){e.splice(0,n)}};var Zt=function(){if(a.asyncQueue){m++}Gt(Qt);if(a.asyncQueue){var e=(S.$flags$&6)===2?performance.now()+14*Math.ceil(m*(1/10)):Infinity;Yt(Kt,e);Yt(Xt,e);if(Kt.length>0){Xt.push.apply(Xt,Kt);Kt.length=0}if(p=Qt.length+Kt.length+Xt.length>0){S.raf(Zt)}else{m=0}}else{Gt(Kt);if(p=Qt.length>0){S.raf(Zt)}}};var en=function(e){return L().then(e)};var tn=Jt(Qt,false);var nn=Jt(Kt,true);var rn={isDev:a.isDev?true:false,isBrowser:true,isServer:false,isTesting:a.isTesting?true:false}}}}));