@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
@@ -1 +0,0 @@
1
- var bind=function e(r,t){return function e(){var n=new Array(arguments.length);for(var i=0;i<n.length;i++){n[i]=arguments[i]}return r.apply(t,n)}};var toString=Object.prototype.toString;function isArray(e){return toString.call(e)==="[object Array]"}function isUndefined(e){return typeof e==="undefined"}function isBuffer(e){return e!==null&&!isUndefined(e)&&e.constructor!==null&&!isUndefined(e.constructor)&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function isArrayBuffer(e){return toString.call(e)==="[object ArrayBuffer]"}function isFormData(e){return typeof FormData!=="undefined"&&e instanceof FormData}function isArrayBufferView(e){var r;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){r=ArrayBuffer.isView(e)}else{r=e&&e.buffer&&e.buffer instanceof ArrayBuffer}return r}function isString(e){return typeof e==="string"}function isNumber(e){return typeof e==="number"}function isObject(e){return e!==null&&typeof e==="object"}function isPlainObject(e){if(toString.call(e)!=="[object Object]"){return false}var r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}function isDate(e){return toString.call(e)==="[object Date]"}function isFile(e){return toString.call(e)==="[object File]"}function isBlob(e){return toString.call(e)==="[object Blob]"}function isFunction(e){return toString.call(e)==="[object Function]"}function isStream(e){return isObject(e)&&isFunction(e.pipe)}function isURLSearchParams(e){return typeof URLSearchParams!=="undefined"&&e instanceof URLSearchParams}function trim(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function isStandardBrowserEnv(){if(typeof navigator!=="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")){return false}return typeof window!=="undefined"&&typeof document!=="undefined"}function forEach(e,r){if(e===null||typeof e==="undefined"){return}if(typeof e!=="object"){e=[e]}if(isArray(e)){for(var t=0,n=e.length;t<n;t++){r.call(null,e[t],t,e)}}else{for(var i in e){if(Object.prototype.hasOwnProperty.call(e,i)){r.call(null,e[i],i,e)}}}}function merge(){var e={};function r(r,t){if(isPlainObject(e[t])&&isPlainObject(r)){e[t]=merge(e[t],r)}else if(isPlainObject(r)){e[t]=merge({},r)}else if(isArray(r)){e[t]=r.slice()}else{e[t]=r}}for(var t=0,n=arguments.length;t<n;t++){forEach(arguments[t],r)}return e}function extend(e,r,t){forEach(r,(function r(n,i){if(t&&typeof n==="function"){e[i]=bind(n,t)}else{e[i]=n}}));return e}function stripBOM(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e}var utils={isArray:isArray,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString,isNumber:isNumber,isObject:isObject,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isFunction:isFunction,isStream:isStream,isURLSearchParams:isURLSearchParams,isStandardBrowserEnv:isStandardBrowserEnv,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM};function encode(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var buildURL=function e(r,t,n){if(!t){return r}var i;if(n){i=n(t)}else if(utils.isURLSearchParams(t)){i=t.toString()}else{var a=[];utils.forEach(t,(function e(r,t){if(r===null||typeof r==="undefined"){return}if(utils.isArray(r)){t=t+"[]"}else{r=[r]}utils.forEach(r,(function e(r){if(utils.isDate(r)){r=r.toISOString()}else if(utils.isObject(r)){r=JSON.stringify(r)}a.push(encode(t)+"="+encode(r))}))}));i=a.join("&")}if(i){var o=r.indexOf("#");if(o!==-1){r=r.slice(0,o)}r+=(r.indexOf("?")===-1?"?":"&")+i}return r};function InterceptorManager(){this.handlers=[]}InterceptorManager.prototype.use=function e(r,t,n){this.handlers.push({fulfilled:r,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1};InterceptorManager.prototype.eject=function e(r){if(this.handlers[r]){this.handlers[r]=null}};InterceptorManager.prototype.forEach=function e(r){utils.forEach(this.handlers,(function e(t){if(t!==null){r(t)}}))};var InterceptorManager_1=InterceptorManager;var normalizeHeaderName=function e(r,t){utils.forEach(r,(function e(n,i){if(i!==t&&i.toUpperCase()===t.toUpperCase()){r[t]=n;delete r[i]}}))};var enhanceError=function e(r,t,n,i,a){r.config=t;if(n){r.code=n}r.request=i;r.response=a;r.isAxiosError=true;r.toJSON=function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}};return r};var createError=function e(r,t,n,i,a){var o=new Error(r);return enhanceError(o,t,n,i,a)};var settle=function e(r,t,n){var i=n.config.validateStatus;if(!n.status||!i||i(n.status)){r(n)}else{t(createError("Request failed with status code "+n.status,n.config,null,n.request,n))}};var cookies=utils.isStandardBrowserEnv()?function e(){return{write:function e(r,t,n,i,a,o){var s=[];s.push(r+"="+encodeURIComponent(t));if(utils.isNumber(n)){s.push("expires="+new Date(n).toGMTString())}if(utils.isString(i)){s.push("path="+i)}if(utils.isString(a)){s.push("domain="+a)}if(o===true){s.push("secure")}document.cookie=s.join("; ")},read:function e(r){var t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function e(r){this.write(r,"",Date.now()-864e5)}}}():function e(){return{write:function e(){},read:function e(){return null},remove:function e(){}}}();var isAbsoluteURL=function e(r){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(r)};var combineURLs=function e(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r};var buildFullPath=function e(r,t){if(r&&!isAbsoluteURL(t)){return combineURLs(r,t)}return t};var ignoreDuplicateOf=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];var parseHeaders=function e(r){var t={};var n;var i;var a;if(!r){return t}utils.forEach(r.split("\n"),(function e(r){a=r.indexOf(":");n=utils.trim(r.substr(0,a)).toLowerCase();i=utils.trim(r.substr(a+1));if(n){if(t[n]&&ignoreDuplicateOf.indexOf(n)>=0){return}if(n==="set-cookie"){t[n]=(t[n]?t[n]:[]).concat([i])}else{t[n]=t[n]?t[n]+", "+i:i}}}));return t};var isURLSameOrigin=utils.isStandardBrowserEnv()?function e(){var r=/(msie|trident)/i.test(navigator.userAgent);var t=document.createElement("a");var n;function i(e){var n=e;if(r){t.setAttribute("href",n);n=t.href}t.setAttribute("href",n);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}n=i(window.location.href);return function e(r){var t=utils.isString(r)?i(r):r;return t.protocol===n.protocol&&t.host===n.host}}():function e(){return function e(){return true}}();var xhr=function e(r){return new Promise((function e(t,n){var i=r.data;var a=r.headers;var o=r.responseType;if(utils.isFormData(i)){delete a["Content-Type"]}var s=new XMLHttpRequest;if(r.auth){var u=r.auth.username||"";var c=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";a.Authorization="Basic "+btoa(u+":"+c)}var f=buildFullPath(r.baseURL,r.url);s.open(r.method.toUpperCase(),buildURL(f,r.params,r.paramsSerializer),true);s.timeout=r.timeout;function l(){if(!s){return}var e="getAllResponseHeaders"in s?parseHeaders(s.getAllResponseHeaders()):null;var i=!o||o==="text"||o==="json"?s.responseText:s.response;var a={data:i,status:s.status,statusText:s.statusText,headers:e,config:r,request:s};settle(t,n,a);s=null}if("onloadend"in s){s.onloadend=l}else{s.onreadystatechange=function e(){if(!s||s.readyState!==4){return}if(s.status===0&&!(s.responseURL&&s.responseURL.indexOf("file:")===0)){return}setTimeout(l)}}s.onabort=function e(){if(!s){return}n(createError("Request aborted",r,"ECONNABORTED",s));s=null};s.onerror=function e(){n(createError("Network Error",r,null,s));s=null};s.ontimeout=function e(){var t="timeout of "+r.timeout+"ms exceeded";if(r.timeoutErrorMessage){t=r.timeoutErrorMessage}n(createError(t,r,r.transitional&&r.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",s));s=null};if(utils.isStandardBrowserEnv()){var d=(r.withCredentials||isURLSameOrigin(f))&&r.xsrfCookieName?cookies.read(r.xsrfCookieName):undefined;if(d){a[r.xsrfHeaderName]=d}}if("setRequestHeader"in s){utils.forEach(a,(function e(r,t){if(typeof i==="undefined"&&t.toLowerCase()==="content-type"){delete a[t]}else{s.setRequestHeader(t,r)}}))}if(!utils.isUndefined(r.withCredentials)){s.withCredentials=!!r.withCredentials}if(o&&o!=="json"){s.responseType=r.responseType}if(typeof r.onDownloadProgress==="function"){s.addEventListener("progress",r.onDownloadProgress)}if(typeof r.onUploadProgress==="function"&&s.upload){s.upload.addEventListener("progress",r.onUploadProgress)}if(r.cancelToken){r.cancelToken.promise.then((function e(r){if(!s){return}s.abort();n(r);s=null}))}if(!i){i=null}s.send(i)}))};var DEFAULT_CONTENT_TYPE={"Content-Type":"application/x-www-form-urlencoded"};function setContentTypeIfUnset(e,r){if(!utils.isUndefined(e)&&utils.isUndefined(e["Content-Type"])){e["Content-Type"]=r}}function getDefaultAdapter(){var e;if(typeof XMLHttpRequest!=="undefined"){e=xhr}else if(typeof process!=="undefined"&&Object.prototype.toString.call(process)==="[object process]"){e=xhr}return e}function stringifySafely(e,r,t){if(utils.isString(e)){try{(r||JSON.parse)(e);return utils.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(t||JSON.stringify)(e)}var defaults={transitional:{silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false},adapter:getDefaultAdapter(),transformRequest:[function e(r,t){normalizeHeaderName(t,"Accept");normalizeHeaderName(t,"Content-Type");if(utils.isFormData(r)||utils.isArrayBuffer(r)||utils.isBuffer(r)||utils.isStream(r)||utils.isFile(r)||utils.isBlob(r)){return r}if(utils.isArrayBufferView(r)){return r.buffer}if(utils.isURLSearchParams(r)){setContentTypeIfUnset(t,"application/x-www-form-urlencoded;charset=utf-8");return r.toString()}if(utils.isObject(r)||t&&t["Content-Type"]==="application/json"){setContentTypeIfUnset(t,"application/json");return stringifySafely(r)}return r}],transformResponse:[function e(r){var t=this.transitional;var n=t&&t.silentJSONParsing;var i=t&&t.forcedJSONParsing;var a=!n&&this.responseType==="json";if(a||i&&utils.isString(r)&&r.length){try{return JSON.parse(r)}catch(e){if(a){if(e.name==="SyntaxError"){throw enhanceError(e,this,"E_JSON_PARSE")}throw e}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function e(r){return r>=200&&r<300}};defaults.headers={common:{Accept:"application/json, text/plain, */*"}};utils.forEach(["delete","get","head"],(function e(r){defaults.headers[r]={}}));utils.forEach(["post","put","patch"],(function e(r){defaults.headers[r]=utils.merge(DEFAULT_CONTENT_TYPE)}));var defaults_1=defaults;var transformData=function e(r,t,n){var i=this||defaults_1;utils.forEach(n,(function e(n){r=n.call(i,r,t)}));return r};var isCancel=function e(r){return!!(r&&r.__CANCEL__)};function throwIfCancellationRequested(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}}var dispatchRequest=function e(r){throwIfCancellationRequested(r);r.headers=r.headers||{};r.data=transformData.call(r,r.data,r.headers,r.transformRequest);r.headers=utils.merge(r.headers.common||{},r.headers[r.method]||{},r.headers);utils.forEach(["delete","get","head","post","put","patch","common"],(function e(t){delete r.headers[t]}));var t=r.adapter||defaults_1.adapter;return t(r).then((function e(t){throwIfCancellationRequested(r);t.data=transformData.call(r,t.data,t.headers,r.transformResponse);return t}),(function e(t){if(!isCancel(t)){throwIfCancellationRequested(r);if(t&&t.response){t.response.data=transformData.call(r,t.response.data,t.response.headers,r.transformResponse)}}return Promise.reject(t)}))};var mergeConfig=function e(r,t){t=t||{};var n={};var i=["url","method","data"];var a=["headers","auth","proxy","params"];var o=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"];var s=["validateStatus"];function u(e,r){if(utils.isPlainObject(e)&&utils.isPlainObject(r)){return utils.merge(e,r)}else if(utils.isPlainObject(r)){return utils.merge({},r)}else if(utils.isArray(r)){return r.slice()}return r}function c(e){if(!utils.isUndefined(t[e])){n[e]=u(r[e],t[e])}else if(!utils.isUndefined(r[e])){n[e]=u(undefined,r[e])}}utils.forEach(i,(function e(r){if(!utils.isUndefined(t[r])){n[r]=u(undefined,t[r])}}));utils.forEach(a,c);utils.forEach(o,(function e(i){if(!utils.isUndefined(t[i])){n[i]=u(undefined,t[i])}else if(!utils.isUndefined(r[i])){n[i]=u(undefined,r[i])}}));utils.forEach(s,(function e(i){if(i in t){n[i]=u(r[i],t[i])}else if(i in r){n[i]=u(undefined,r[i])}}));var f=i.concat(a).concat(o).concat(s);var l=Object.keys(r).concat(Object.keys(t)).filter((function e(r){return f.indexOf(r)===-1}));utils.forEach(l,c);return n};var _from="axios@^0.21.1";var _id="axios@0.21.4";var _inBundle=false;var _integrity="sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==";var _location="/axios";var _phantomChildren={};var _requested={type:"range",registry:true,raw:"axios@^0.21.1",name:"axios",escapedName:"axios",rawSpec:"^0.21.1",saveSpec:null,fetchSpec:"^0.21.1"};var _requiredBy=["/@verdocs/js-sdk"];var _resolved="https://registry.npmjs.org/axios/-/axios-0.21.4.tgz";var _shasum="c67b90dc0568e5c1cf2b0b858c43ba28e2eda575";var _spec="axios@^0.21.1";var _where="/Users/chad/projects/verdocs/web-sdk/verdocs-web-sdk/node_modules/@verdocs/js-sdk";var author={name:"Matt Zabriskie"};var browser={"./lib/adapters/http.js":"./lib/adapters/xhr.js"};var bugs={url:"https://github.com/axios/axios/issues"};var bundleDependencies=false;var bundlesize=[{path:"./dist/axios.min.js",threshold:"5kB"}];var dependencies={"follow-redirects":"^1.14.0"};var deprecated=false;var description="Promise based HTTP client for the browser and node.js";var devDependencies={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"};var homepage="https://axios-http.com";var jsdelivr="dist/axios.min.js";var keywords=["xhr","http","ajax","promise","node"];var license="MIT";var main="index.js";var name="axios";var repository={type:"git",url:"git+https://github.com/axios/axios.git"};var scripts={build:"NODE_ENV=production grunt build",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",examples:"node ./examples/server.js",fix:"eslint --fix lib/**/*.js",postversion:"git push && git push --tags",preversion:"npm test",start:"node ./sandbox/server.js",test:"grunt test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"};var typings="./index.d.ts";var unpkg="dist/axios.min.js";var version="0.21.4";var pkg={_from:_from,_id:_id,_inBundle:_inBundle,_integrity:_integrity,_location:_location,_phantomChildren:_phantomChildren,_requested:_requested,_requiredBy:_requiredBy,_resolved:_resolved,_shasum:_shasum,_spec:_spec,_where:_where,author:author,browser:browser,bugs:bugs,bundleDependencies:bundleDependencies,bundlesize:bundlesize,dependencies:dependencies,deprecated:deprecated,description:description,devDependencies:devDependencies,homepage:homepage,jsdelivr:jsdelivr,keywords:keywords,license:license,main:main,name:name,repository:repository,scripts:scripts,typings:typings,unpkg:unpkg,version:version};var validators$1={};["object","boolean","number","function","string","symbol"].forEach((function(e,r){validators$1[e]=function t(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}}));var deprecatedWarnings={};var currentVerArr=pkg.version.split(".");function isOlderVersion(e,r){var t=r?r.split("."):currentVerArr;var n=e.split(".");for(var i=0;i<3;i++){if(t[i]>n[i]){return true}else if(t[i]<n[i]){return false}}return false}validators$1.transitional=function e(r,t,n){var i=t&&isOlderVersion(t);function a(e,r){return"[Axios v"+pkg.version+"] Transitional option '"+e+"'"+r+(n?". "+n:"")}return function(e,n,o){if(r===false){throw new Error(a(n," has been removed in "+t))}if(i&&!deprecatedWarnings[n]){deprecatedWarnings[n]=true;console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))}return r?r(e,n,o):true}};function assertOptions(e,r,t){if(typeof e!=="object"){throw new TypeError("options must be an object")}var n=Object.keys(e);var i=n.length;while(i-- >0){var a=n[i];var o=r[a];if(o){var s=e[a];var u=s===undefined||o(s,a,e);if(u!==true){throw new TypeError("option "+a+" must be "+u)}continue}if(t!==true){throw Error("Unknown option "+a)}}}var validator={isOlderVersion:isOlderVersion,assertOptions:assertOptions,validators:validators$1};var validators=validator.validators;function Axios(e){this.defaults=e;this.interceptors={request:new InterceptorManager_1,response:new InterceptorManager_1}}Axios.prototype.request=function e(r){if(typeof r==="string"){r=arguments[1]||{};r.url=arguments[0]}else{r=r||{}}r=mergeConfig(this.defaults,r);if(r.method){r.method=r.method.toLowerCase()}else if(this.defaults.method){r.method=this.defaults.method.toLowerCase()}else{r.method="get"}var t=r.transitional;if(t!==undefined){validator.assertOptions(t,{silentJSONParsing:validators.transitional(validators.boolean,"1.0.0"),forcedJSONParsing:validators.transitional(validators.boolean,"1.0.0"),clarifyTimeoutError:validators.transitional(validators.boolean,"1.0.0")},false)}var n=[];var i=true;this.interceptors.request.forEach((function e(t){if(typeof t.runWhen==="function"&&t.runWhen(r)===false){return}i=i&&t.synchronous;n.unshift(t.fulfilled,t.rejected)}));var a=[];this.interceptors.response.forEach((function e(r){a.push(r.fulfilled,r.rejected)}));var o;if(!i){var s=[dispatchRequest,undefined];Array.prototype.unshift.apply(s,n);s=s.concat(a);o=Promise.resolve(r);while(s.length){o=o.then(s.shift(),s.shift())}return o}var u=r;while(n.length){var c=n.shift();var f=n.shift();try{u=c(u)}catch(e){f(e);break}}try{o=dispatchRequest(u)}catch(e){return Promise.reject(e)}while(a.length){o=o.then(a.shift(),a.shift())}return o};Axios.prototype.getUri=function e(r){r=mergeConfig(this.defaults,r);return buildURL(r.url,r.params,r.paramsSerializer).replace(/^\?/,"")};utils.forEach(["delete","get","head","options"],(function e(r){Axios.prototype[r]=function(e,t){return this.request(mergeConfig(t||{},{method:r,url:e,data:(t||{}).data}))}}));utils.forEach(["post","put","patch"],(function e(r){Axios.prototype[r]=function(e,t,n){return this.request(mergeConfig(n||{},{method:r,url:e,data:t}))}}));var Axios_1=Axios;function Cancel(e){this.message=e}Cancel.prototype.toString=function e(){return"Cancel"+(this.message?": "+this.message:"")};Cancel.prototype.__CANCEL__=true;var Cancel_1=Cancel;function CancelToken(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var r;this.promise=new Promise((function e(t){r=t}));var t=this;e((function e(n){if(t.reason){return}t.reason=new Cancel_1(n);r(t.reason)}))}CancelToken.prototype.throwIfRequested=function e(){if(this.reason){throw this.reason}};CancelToken.source=function e(){var r;var t=new CancelToken((function e(t){r=t}));return{token:t,cancel:r}};var CancelToken_1=CancelToken;var spread=function e(r){return function e(t){return r.apply(null,t)}};var isAxiosError=function e(r){return typeof r==="object"&&r.isAxiosError===true};function createInstance(e){var r=new Axios_1(e);var t=bind(Axios_1.prototype.request,r);utils.extend(t,Axios_1.prototype,r);utils.extend(t,r);return t}var axios$1=createInstance(defaults_1);axios$1.Axios=Axios_1;axios$1.create=function e(r){return createInstance(mergeConfig(axios$1.defaults,r))};axios$1.Cancel=Cancel_1;axios$1.CancelToken=CancelToken_1;axios$1.isCancel=isCancel;axios$1.all=function e(r){return Promise.all(r)};axios$1.spread=spread;axios$1.isAxiosError=isAxiosError;var axios_1=axios$1;var _default=axios$1;axios_1.default=_default;var axios=axios_1;var TRACE_ID=""+Math.floor(Math.random()*1e5);console.log("[JS-SDK Loaded]",TRACE_ID);var config={baseURL:"https://api.verdocs.com/",timeout:3e3,headers:{"X-Client-ID":"NONE"}};var recreateEndpoint=function(){endpoint=axios.create(config);endpoint.interceptors.request.use((function(e){console.log("[JS-SDK] "+TRACE_ID+" :: "+e.method.toUpperCase()+" "+e.url,JSON.stringify(e.data),JSON.stringify(e.headers));return e}))};var endpoint;recreateEndpoint();var getEndpoint=function(){if(!endpoint){recreateEndpoint()}return endpoint};var __awaiter=undefined&&undefined.__awaiter||function(e,r,t,n){function i(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,a){function o(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n["throw"](e))}catch(e){a(e)}}function u(e){e.done?t(e.value):i(e.value).then(o,s)}u((n=n.apply(e,r||[])).next())}))};var __generator=undefined&&undefined.__generator||function(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(e){return function(r){return u([e,r])}}function u(o){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,i&&(a=o[0]&2?i["return"]:o[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,o[1])).done)return a;if(i=0,a)o=[o[0]&2,a.value];switch(o[0]){case 0:case 1:a=o;break;case 4:t.label++;return{value:o[1],done:false};case 5:t.label++;i=o[1];o=[0];continue;case 7:o=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!a||o[1]>a[0]&&o[1]<a[3])){t.label=o[1];break}if(o[0]===6&&t.label<a[1]){t.label=a[1];a=o;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(o);break}if(a[2])t.ops.pop();t.trys.pop();continue}o=r.call(e,t)}catch(e){o=[6,e];i=0}finally{n=a=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};var getSearchHistory=function(){return __awaiter(void 0,void 0,void 0,(function(){return __generator(this,(function(e){return[2,getEndpoint().get("/search/history").then((function(e){return e.data}))]}))}))};export{getSearchHistory as g};
@@ -1 +0,0 @@
1
- var __extends=this&&this.__extends||function(){var e=function(t,r){e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r))e[r]=t[r]};return e(t,r)};return function(t,r){if(typeof r!=="function"&&r!==null)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");e(t,r);function n(){this.constructor=t}t.prototype=r===null?Object.create(r):(n.prototype=r.prototype,new n)}}();var __awaiter=this&&this.__awaiter||function(e,t,r,n){function a(e){return e instanceof r?e:new r((function(t){t(e)}))}return new(r||(r=Promise))((function(r,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function i(e){try{l(n["throw"](e))}catch(e){o(e)}}function l(e){e.done?r(e.value):a(e.value).then(s,i)}l((n=n.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,a,o,s;return s={next:i(0),throw:i(1),return:i(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function i(e){return function(t){return l([e,t])}}function l(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,a&&(o=s[0]&2?a["return"]:s[0]?a["throw"]||((o=a["return"])&&o.call(a),0):a.next)&&!(o=o.call(a,s[1])).done)return o;if(a=0,o)s=[s[0]&2,o.value];switch(s[0]){case 0:case 1:o=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;a=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(o=r.trys,o=o.length>0&&o[o.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!o||s[1]>o[0]&&s[1]<o[3])){r.label=s[1];break}if(s[0]===6&&r.label<o[1]){r.label=o[1];o=s;break}if(o&&r.label<o[2]){r.label=o[2];r.ops.push(s);break}if(o[2])r.ops.pop();r.trys.pop();continue}s=t.call(e,r)}catch(e){s=[6,e];a=0}finally{n=o=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(e,t){for(var r=0,n=t.length,a=e.length;r<n;r++,a++)e[a]=t[r];return e};var NAMESPACE="verdocs-web-sdk";var scopeId;var contentRef;var hostTagName;var useNativeShadowDom=false;var checkSlotFallbackVisibility=false;var checkSlotRelocate=false;var isSvgMode=false;var queuePending=false;var win=typeof window!=="undefined"?window:{};var doc=win.document||{head:{}};var plt={$flags$:0,$resourcesUrl$:"",jmp:function(e){return e()},raf:function(e){return requestAnimationFrame(e)},ael:function(e,t,r,n){return e.addEventListener(t,r,n)},rel:function(e,t,r,n){return e.removeEventListener(t,r,n)},ce:function(e,t){return new CustomEvent(e,t)}};var promiseResolve=function(e){return Promise.resolve(e)};var supportsConstructibleStylesheets=function(){try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replace==="function"}catch(e){}return false}();var addHostEventListeners=function(e,t,r,n){if(r){r.map((function(r){var n=r[0],a=r[1],o=r[2];var s=getHostListenerTarget(e,n);var i=hostListenerProxy(t,o);var l=hostListenerOpts(n);plt.ael(s,a,i,l);(t.$rmListeners$=t.$rmListeners$||[]).push((function(){return plt.rel(s,a,i,l)}))}))}};var hostListenerProxy=function(e,t){return function(r){try{{if(e.$flags$&256){e.$lazyInstance$[t](r)}else{(e.$queuedListeners$=e.$queuedListeners$||[]).push([t,r])}}}catch(e){consoleError(e)}}};var getHostListenerTarget=function(e,t){if(t&4)return doc;return e};var hostListenerOpts=function(e){return(e&2)!==0};var HYDRATED_CSS="{visibility:hidden}.hydrated{visibility:inherit}";var createTime=function(e,t){if(t===void 0){t=""}{return function(){return}}};var uniqueTime=function(e,t){{return function(){return}}};var rootAppliedStyles=new WeakMap;var registerStyle=function(e,t,r){var n=styles.get(e);if(supportsConstructibleStylesheets&&r){n=n||new CSSStyleSheet;n.replace(t)}else{n=t}styles.set(e,n)};var addStyle=function(e,t,r,n){var a=getScopeId(t);var o=styles.get(a);e=e.nodeType===11?e:doc;if(o){if(typeof o==="string"){e=e.head||e;var s=rootAppliedStyles.get(e);var i=void 0;if(!s){rootAppliedStyles.set(e,s=new Set)}if(!s.has(a)){{{i=doc.createElement("style");i.innerHTML=o}e.insertBefore(i,e.querySelector("link"))}if(s){s.add(a)}}}else if(!e.adoptedStyleSheets.includes(o)){e.adoptedStyleSheets=__spreadArray(__spreadArray([],e.adoptedStyleSheets),[o])}}return a};var attachStyles=function(e){var t=e.$cmpMeta$;var r=e.$hostElement$;var n=t.$flags$;var a=createTime("attachStyles",t.$tagName$);var o=addStyle(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);if(n&10){r["s-sc"]=o;r.classList.add(o+"-h")}a()};var getScopeId=function(e,t){return"sc-"+e.$tagName$};var EMPTY_OBJ={};var isDef=function(e){return e!=null};var isComplexType=function(e){e=typeof e;return e==="object"||e==="function"};var h=function(e,t){var r=[];for(var n=2;n<arguments.length;n++){r[n-2]=arguments[n]}var a=null;var o=null;var s=null;var i=false;var l=false;var c=[];var f=function(t){for(var r=0;r<t.length;r++){a=t[r];if(Array.isArray(a)){f(a)}else if(a!=null&&typeof a!=="boolean"){if(i=typeof e!=="function"&&!isComplexType(a)){a=String(a)}if(i&&l){c[c.length-1].$text$+=a}else{c.push(i?newVNode(null,a):a)}l=i}}};f(r);if(t){if(t.key){o=t.key}if(t.name){s=t.name}{var u=t.className||t.class;if(u){t.class=typeof u!=="object"?u:Object.keys(u).filter((function(e){return u[e]})).join(" ")}}}var $=newVNode(e,null);$.$attrs$=t;if(c.length>0){$.$children$=c}{$.$key$=o}{$.$name$=s}return $};var newVNode=function(e,t){var r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};{r.$attrs$=null}{r.$key$=null}{r.$name$=null}return r};var Host={};var isHost=function(e){return e&&e.$tag$===Host};var setAccessor=function(e,t,r,n,a,o){if(r!==n){var s=isMemberInElement(e,t);var i=t.toLowerCase();if(t==="class"){var l=e.classList;var c=parseClassList(r);var f=parseClassList(n);l.remove.apply(l,c.filter((function(e){return e&&!f.includes(e)})));l.add.apply(l,f.filter((function(e){return e&&!c.includes(e)})))}else if(t==="key");else if(t==="ref"){if(n){n(e)}}else if(!s&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"){t=t.slice(3)}else if(isMemberInElement(win,i)){t=i.slice(2)}else{t=i[2]+t.slice(3)}if(r){plt.rel(e,t,r,false)}if(n){plt.ael(e,t,n,false)}}else{var u=isComplexType(n);if((s||u&&n!==null)&&!a){try{if(!e.tagName.includes("-")){var $=n==null?"":n;if(t==="list"){s=false}else if(r==null||e[t]!=$){e[t]=$}}else{e[t]=n}}catch(e){}}if(n==null||n===false){if(n!==false||e.getAttribute(t)===""){{e.removeAttribute(t)}}}else if((!s||o&4||a)&&!u){n=n===true?"":n;{e.setAttribute(t,n)}}}}};var parseClassListRegex=/\s/;var parseClassList=function(e){return!e?[]:e.split(parseClassListRegex)};var updateElement=function(e,t,r,n){var a=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$;var o=e&&e.$attrs$||EMPTY_OBJ;var s=t.$attrs$||EMPTY_OBJ;{for(n in o){if(!(n in s)){setAccessor(a,n,o[n],undefined,r,t.$flags$)}}}for(n in s){setAccessor(a,n,o[n],s[n],r,t.$flags$)}};var createElm=function(e,t,r,n){var a=t.$children$[r];var o=0;var s;var i;var l;if(!useNativeShadowDom){checkSlotRelocate=true;if(a.$tag$==="slot"){if(scopeId){n.classList.add(scopeId+"-s")}a.$flags$|=a.$children$?2:1}}if(a.$text$!==null){s=a.$elm$=doc.createTextNode(a.$text$)}else if(a.$flags$&1){s=a.$elm$=doc.createTextNode("")}else{s=a.$elm$=doc.createElement(a.$flags$&2?"slot-fb":a.$tag$);{updateElement(null,a,isSvgMode)}if(isDef(scopeId)&&s["s-si"]!==scopeId){s.classList.add(s["s-si"]=scopeId)}if(a.$children$){for(o=0;o<a.$children$.length;++o){i=createElm(e,a,o,s);if(i){s.appendChild(i)}}}}{s["s-hn"]=hostTagName;if(a.$flags$&(2|1)){s["s-sr"]=true;s["s-cr"]=contentRef;s["s-sn"]=a.$name$||"";l=e&&e.$children$&&e.$children$[r];if(l&&l.$tag$===a.$tag$&&e.$elm$){putBackInOriginalLocation(e.$elm$,false)}}}return s};var putBackInOriginalLocation=function(e,t){plt.$flags$|=1;var r=e.childNodes;for(var n=r.length-1;n>=0;n--){var a=r[n];if(a["s-hn"]!==hostTagName&&a["s-ol"]){parentReferenceNode(a).insertBefore(a,referenceNode(a));a["s-ol"].remove();a["s-ol"]=undefined;checkSlotRelocate=true}if(t){putBackInOriginalLocation(a,t)}}plt.$flags$&=~1};var addVnodes=function(e,t,r,n,a,o){var s=e["s-cr"]&&e["s-cr"].parentNode||e;var i;if(s.shadowRoot&&s.tagName===hostTagName){s=s.shadowRoot}for(;a<=o;++a){if(n[a]){i=createElm(null,r,a,e);if(i){n[a].$elm$=i;s.insertBefore(i,referenceNode(t))}}}};var removeVnodes=function(e,t,r,n,a){for(;t<=r;++t){if(n=e[t]){a=n.$elm$;callNodeRefs(n);{checkSlotFallbackVisibility=true;if(a["s-ol"]){a["s-ol"].remove()}else{putBackInOriginalLocation(a,true)}}a.remove()}}};var updateChildren=function(e,t,r,n){var a=0;var o=0;var s=0;var i=0;var l=t.length-1;var c=t[0];var f=t[l];var u=n.length-1;var $=n[0];var d=n[u];var v;var p;while(a<=l&&o<=u){if(c==null){c=t[++a]}else if(f==null){f=t[--l]}else if($==null){$=n[++o]}else if(d==null){d=n[--u]}else if(isSameVnode(c,$)){patch(c,$);c=t[++a];$=n[++o]}else if(isSameVnode(f,d)){patch(f,d);f=t[--l];d=n[--u]}else if(isSameVnode(c,d)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(c.$elm$.parentNode,false)}patch(c,d);e.insertBefore(c.$elm$,f.$elm$.nextSibling);c=t[++a];d=n[--u]}else if(isSameVnode(f,$)){if(c.$tag$==="slot"||d.$tag$==="slot"){putBackInOriginalLocation(f.$elm$.parentNode,false)}patch(f,$);e.insertBefore(f.$elm$,c.$elm$);f=t[--l];$=n[++o]}else{s=-1;{for(i=a;i<=l;++i){if(t[i]&&t[i].$key$!==null&&t[i].$key$===$.$key$){s=i;break}}}if(s>=0){p=t[s];if(p.$tag$!==$.$tag$){v=createElm(t&&t[o],r,s,e)}else{patch(p,$);t[s]=undefined;v=p.$elm$}$=n[++o]}else{v=createElm(t&&t[o],r,o,e);$=n[++o]}if(v){{parentReferenceNode(c.$elm$).insertBefore(v,referenceNode(c.$elm$))}}}}if(a>l){addVnodes(e,n[u+1]==null?null:n[u+1].$elm$,r,n,o,u)}else if(o>u){removeVnodes(t,a,l)}};var isSameVnode=function(e,t){if(e.$tag$===t.$tag$){if(e.$tag$==="slot"){return e.$name$===t.$name$}{return e.$key$===t.$key$}}return false};var referenceNode=function(e){return e&&e["s-ol"]||e};var parentReferenceNode=function(e){return(e["s-ol"]?e["s-ol"]:e).parentNode};var patch=function(e,t){var r=t.$elm$=e.$elm$;var n=e.$children$;var a=t.$children$;var o=t.$tag$;var s=t.$text$;var i;if(s===null){{if(o==="slot");else{updateElement(e,t,isSvgMode)}}if(n!==null&&a!==null){updateChildren(r,n,t,a)}else if(a!==null){if(e.$text$!==null){r.textContent=""}addVnodes(r,null,t,a,0,a.length-1)}else if(n!==null){removeVnodes(n,0,n.length-1)}}else if(i=r["s-cr"]){i.parentNode.textContent=s}else if(e.$text$!==s){r.data=s}};var updateFallbackSlotVisibility=function(e){var t=e.childNodes;var r;var n;var a;var o;var s;var i;for(n=0,a=t.length;n<a;n++){r=t[n];if(r.nodeType===1){if(r["s-sr"]){s=r["s-sn"];r.hidden=false;for(o=0;o<a;o++){i=t[o].nodeType;if(t[o]["s-hn"]!==r["s-hn"]||s!==""){if(i===1&&s===t[o].getAttribute("slot")){r.hidden=true;break}}else{if(i===1||i===3&&t[o].textContent.trim()!==""){r.hidden=true;break}}}}updateFallbackSlotVisibility(r)}}};var relocateNodes=[];var relocateSlotContent=function(e){var t;var r;var n;var a;var o;var s;var i=0;var l=e.childNodes;var c=l.length;for(;i<c;i++){t=l[i];if(t["s-sr"]&&(r=t["s-cr"])&&r.parentNode){n=r.parentNode.childNodes;a=t["s-sn"];for(s=n.length-1;s>=0;s--){r=n[s];if(!r["s-cn"]&&!r["s-nr"]&&r["s-hn"]!==t["s-hn"]){if(isNodeLocatedInSlot(r,a)){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===r}));checkSlotFallbackVisibility=true;r["s-sn"]=r["s-sn"]||a;if(o){o.$slotRefNode$=t}else{relocateNodes.push({$slotRefNode$:t,$nodeToRelocate$:r})}if(r["s-sr"]){relocateNodes.map((function(e){if(isNodeLocatedInSlot(e.$nodeToRelocate$,r["s-sn"])){o=relocateNodes.find((function(e){return e.$nodeToRelocate$===r}));if(o&&!e.$slotRefNode$){e.$slotRefNode$=o.$slotRefNode$}}}))}}else if(!relocateNodes.some((function(e){return e.$nodeToRelocate$===r}))){relocateNodes.push({$nodeToRelocate$:r})}}}}if(t.nodeType===1){relocateSlotContent(t)}}};var isNodeLocatedInSlot=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 callNodeRefs=function(e){{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null);e.$children$&&e.$children$.map(callNodeRefs)}};var renderVdom=function(e,t){var r=e.$hostElement$;var n=e.$cmpMeta$;var a=e.$vnode$||newVNode(null,null);var o=isHost(t)?t:h(null,null,t);hostTagName=r.tagName;o.$tag$=null;o.$flags$|=4;e.$vnode$=o;o.$elm$=a.$elm$=r.shadowRoot||r;{scopeId=r["s-sc"]}{contentRef=r["s-cr"];useNativeShadowDom=(n.$flags$&1)!==0;checkSlotFallbackVisibility=false}patch(a,o);{plt.$flags$|=1;if(checkSlotRelocate){relocateSlotContent(o.$elm$);var s=void 0;var i=void 0;var l=void 0;var c=void 0;var f=void 0;var u=void 0;var $=0;for(;$<relocateNodes.length;$++){s=relocateNodes[$];i=s.$nodeToRelocate$;if(!i["s-ol"]){l=doc.createTextNode("");l["s-nr"]=i;i.parentNode.insertBefore(i["s-ol"]=l,i)}}for($=0;$<relocateNodes.length;$++){s=relocateNodes[$];i=s.$nodeToRelocate$;if(s.$slotRefNode$){c=s.$slotRefNode$.parentNode;f=s.$slotRefNode$.nextSibling;l=i["s-ol"];while(l=l.previousSibling){u=l["s-nr"];if(u&&u["s-sn"]===i["s-sn"]&&c===u.parentNode){u=u.nextSibling;if(!u||!u["s-nr"]){f=u;break}}}if(!f&&c!==i.parentNode||i.nextSibling!==f){if(i!==f){if(!i["s-hn"]&&i["s-ol"]){i["s-hn"]=i["s-ol"].parentNode.nodeName}c.insertBefore(i,f)}}}else{if(i.nodeType===1){i.hidden=true}}}}if(checkSlotFallbackVisibility){updateFallbackSlotVisibility(o.$elm$)}plt.$flags$&=~1;relocateNodes.length=0}};var getElement=function(e){return getHostRef(e).$hostElement$};var createEvent=function(e,t,r){var n=getElement(e);return{emit:function(e){return emitEvent(n,t,{bubbles:!!(r&4),composed:!!(r&2),cancelable:!!(r&1),detail:e})}}};var emitEvent=function(e,t,r){var n=plt.ce(t,r);e.dispatchEvent(n);return n};var attachToAncestor=function(e,t){if(t&&!e.$onRenderResolve$&&t["s-p"]){t["s-p"].push(new Promise((function(t){return e.$onRenderResolve$=t})))}};var scheduleUpdate=function(e,t){{e.$flags$|=16}if(e.$flags$&4){e.$flags$|=512;return}attachToAncestor(e,e.$ancestorComponent$);var r=function(){return dispatchHooks(e,t)};return writeTask(r)};var dispatchHooks=function(e,t){var r=createTime("scheduleUpdate",e.$cmpMeta$.$tagName$);var n=e.$lazyInstance$;var a;if(t){{e.$flags$|=256;if(e.$queuedListeners$){e.$queuedListeners$.map((function(e){var t=e[0],r=e[1];return safeCall(n,t,r)}));e.$queuedListeners$=null}}{a=safeCall(n,"componentWillLoad")}}r();return then(a,(function(){return updateComponent(e,n,t)}))};var updateComponent=function(e,t,r){return __awaiter(void 0,void 0,void 0,(function(){var n,a,o,s,i,l;return __generator(this,(function(c){n=e.$hostElement$;a=createTime("update",e.$cmpMeta$.$tagName$);o=n["s-rc"];if(r){attachStyles(e)}s=createTime("render",e.$cmpMeta$.$tagName$);{callRender(e,t)}if(o){o.map((function(e){return e()}));n["s-rc"]=undefined}s();a();{i=n["s-p"];l=function(){return postUpdateComponent(e)};if(i.length===0){l()}else{Promise.all(i).then(l);e.$flags$|=4;i.length=0}}return[2]}))}))};var callRender=function(e,t,r){try{t=t.render();{e.$flags$&=~16}{e.$flags$|=2}{{{renderVdom(e,t)}}}}catch(t){consoleError(t,e.$hostElement$)}return null};var postUpdateComponent=function(e){var t=e.$cmpMeta$.$tagName$;var r=e.$hostElement$;var n=createTime("postUpdate",t);var a=e.$lazyInstance$;var o=e.$ancestorComponent$;if(!(e.$flags$&64)){e.$flags$|=64;{addHydratedFlag(r)}{safeCall(a,"componentDidLoad")}n();{e.$onReadyResolve$(r);if(!o){appDidLoad()}}}else{n()}{if(e.$onRenderResolve$){e.$onRenderResolve$();e.$onRenderResolve$=undefined}if(e.$flags$&512){nextTick((function(){return scheduleUpdate(e,false)}))}e.$flags$&=~(4|512)}};var appDidLoad=function(e){{addHydratedFlag(doc.documentElement)}nextTick((function(){return emitEvent(win,"appload",{detail:{namespace:NAMESPACE}})}))};var safeCall=function(e,t,r){if(e&&e[t]){try{return e[t](r)}catch(e){consoleError(e)}}return undefined};var then=function(e,t){return e&&e.then?e.then(t):t()};var addHydratedFlag=function(e){return e.classList.add("hydrated")};var parsePropertyValue=function(e,t){if(e!=null&&!isComplexType(e)){if(t&4){return e==="false"?false:e===""||!!e}if(t&2){return parseFloat(e)}if(t&1){return String(e)}return e}return e};var getValue=function(e,t){return getHostRef(e).$instanceValues$.get(t)};var setValue=function(e,t,r,n){var a=getHostRef(e);var o=a.$hostElement$;var s=a.$instanceValues$.get(t);var i=a.$flags$;var l=a.$lazyInstance$;r=parsePropertyValue(r,n.$members$[t][0]);if((!(i&8)||s===undefined)&&r!==s){a.$instanceValues$.set(t,r);if(l){if(n.$watchers$&&i&128){var c=n.$watchers$[t];if(c){c.map((function(e){try{l[e](r,s,t)}catch(e){consoleError(e,o)}}))}}if((i&(2|16))===2){scheduleUpdate(a,false)}}}};var proxyComponent=function(e,t,r){if(t.$members$){if(e.watchers){t.$watchers$=e.watchers}var n=Object.entries(t.$members$);var a=e.prototype;n.map((function(e){var n=e[0],o=e[1][0];if(o&31||r&2&&o&32){Object.defineProperty(a,n,{get:function(){return getValue(this,n)},set:function(e){setValue(this,n,e,t)},configurable:true,enumerable:true})}}));if(r&1){var o=new Map;a.attributeChangedCallback=function(e,t,r){var n=this;plt.jmp((function(){var t=o.get(e);if(n.hasOwnProperty(t)){r=n[t];delete n[t]}n[t]=r===null&&typeof n[t]==="boolean"?false:r}))};e.observedAttributes=n.filter((function(e){var t=e[0],r=e[1];return r[0]&15})).map((function(e){var t=e[0],r=e[1];var n=r[1]||t;o.set(n,t);return n}))}}return e};var initializeComponent=function(e,t,r,n,a){return __awaiter(void 0,void 0,void 0,(function(){var e,n,o,s,i,l,c;return __generator(this,(function(f){switch(f.label){case 0:if(!((t.$flags$&32)===0))return[3,3];t.$flags$|=32;a=loadModule(r);if(!a.then)return[3,2];e=uniqueTime();return[4,a];case 1:a=f.sent();e();f.label=2;case 2:if(!a.isProxied){{r.$watchers$=a.watchers}proxyComponent(a,r,2);a.isProxied=true}n=createTime("createInstance",r.$tagName$);{t.$flags$|=8}try{new a(t)}catch(e){consoleError(e)}{t.$flags$&=~8}{t.$flags$|=128}n();if(a.style){o=a.style;s=getScopeId(r);if(!styles.has(s)){i=createTime("registerStyles",r.$tagName$);registerStyle(s,o,!!(r.$flags$&1));i()}}f.label=3;case 3:l=t.$ancestorComponent$;c=function(){return scheduleUpdate(t,true)};if(l&&l["s-rc"]){l["s-rc"].push(c)}else{c()}return[2]}}))}))};var connectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);var r=t.$cmpMeta$;var n=createTime("connectedCallback",r.$tagName$);if(!(t.$flags$&1)){t.$flags$|=1;{if(r.$flags$&(4|8)){setContentReference(e)}}{var a=e;while(a=a.parentNode||a.host){if(a["s-p"]){attachToAncestor(t,t.$ancestorComponent$=a);break}}}if(r.$members$){Object.entries(r.$members$).map((function(t){var r=t[0],n=t[1][0];if(n&31&&e.hasOwnProperty(r)){var a=e[r];delete e[r];e[r]=a}}))}{initializeComponent(e,t,r)}}else{addHostEventListeners(e,t,r.$listeners$)}n()}};var setContentReference=function(e){var t=e["s-cr"]=doc.createComment("");t["s-cn"]=true;e.insertBefore(t,e.firstChild)};var disconnectedCallback=function(e){if((plt.$flags$&1)===0){var t=getHostRef(e);{if(t.$rmListeners$){t.$rmListeners$.map((function(e){return e()}));t.$rmListeners$=undefined}}}};var bootstrapLazy=function(e,t){if(t===void 0){t={}}var r=createTime();var n=[];var a=t.exclude||[];var o=win.customElements;var s=doc.head;var i=s.querySelector("meta[charset]");var l=doc.createElement("style");var c=[];var f;var u=true;Object.assign(plt,t);plt.$resourcesUrl$=new URL(t.resourcesUrl||"./",doc.baseURI).href;e.map((function(e){return e[1].map((function(t){var r={$flags$:t[0],$tagName$:t[1],$members$:t[2],$listeners$:t[3]};{r.$members$=t[2]}{r.$listeners$=t[3]}{r.$watchers$={}}var s=r.$tagName$;var i=function(e){__extends(t,e);function t(t){var n=e.call(this,t)||this;t=n;registerHost(t,r);if(r.$flags$&1){{{t.attachShadow({mode:"open"})}}}return n}t.prototype.connectedCallback=function(){var e=this;if(f){clearTimeout(f);f=null}if(u){c.push(this)}else{plt.jmp((function(){return connectedCallback(e)}))}};t.prototype.disconnectedCallback=function(){var e=this;plt.jmp((function(){return disconnectedCallback(e)}))};t.prototype.componentOnReady=function(){return getHostRef(this).$onReadyPromise$};return t}(HTMLElement);r.$lazyBundleId$=e[0];if(!a.includes(s)&&!o.get(s)){n.push(s);o.define(s,proxyComponent(i,r,1))}}))}));{l.innerHTML=n+HYDRATED_CSS;l.setAttribute("data-styles","");s.insertBefore(l,i?i.nextSibling:s.firstChild)}u=false;if(c.length){c.map((function(e){return e.connectedCallback()}))}else{{plt.jmp((function(){return f=setTimeout(appDidLoad,30)}))}}r()};var getAssetPath=function(e){var t=new URL(e,plt.$resourcesUrl$);return t.origin!==win.location.origin?t.href:t.pathname};var hostRefs=new WeakMap;var getHostRef=function(e){return hostRefs.get(e)};var registerInstance=function(e,t){return hostRefs.set(t.$lazyInstance$=e,t)};var registerHost=function(e,t){var r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};{r.$onReadyPromise$=new Promise((function(e){return r.$onReadyResolve$=e}));e["s-p"]=[];e["s-rc"]=[]}addHostEventListeners(e,r,t.$listeners$);return hostRefs.set(e,r)};var isMemberInElement=function(e,t){return t in e};var consoleError=function(e,t){return(0,console.error)(e,t)};var cmpModules=new Map;var loadModule=function(e,t,r){var n=e.$tagName$.replace(/-/g,"_");var a=e.$lazyBundleId$;var o=cmpModules.get(a);if(o){return o[n]}return import("./"+a+".entry.js"+"").then((function(e){{cmpModules.set(a,e)}return e[n]}),consoleError)};var styles=new Map;var queueDomReads=[];var queueDomWrites=[];var queueTask=function(e,t){return function(r){e.push(r);if(!queuePending){queuePending=true;if(t&&plt.$flags$&4){nextTick(flush)}else{plt.raf(flush)}}}};var consume=function(e){for(var t=0;t<e.length;t++){try{e[t](performance.now())}catch(e){consoleError(e)}}e.length=0};var flush=function(){consume(queueDomReads);{consume(queueDomWrites);if(queuePending=queueDomReads.length>0){plt.raf(flush)}}};var nextTick=function(e){return promiseResolve().then(e)};var writeTask=queueTask(queueDomWrites,true);export{Host as H,getAssetPath as a,bootstrapLazy as b,createEvent as c,getElement as g,h,promiseResolve as p,registerInstance as r};
@@ -1 +0,0 @@
1
- import{r as e,c as s,h as t,H as a}from"./p-89be87e5.js";import{g as r}from"./p-cf030985.js";let i=class{constructor(t){e(this,t),this.entrySelected=s(this,"entrySelected",7),this.limit=10,this.saved=[]}componentDidLoad(){r().then((e=>{this.saved=e.saved})).catch((e=>console.warn("[Verdocs/search-saved] Error getting search history",e)))}handleSelectEntry(e){this.entrySelected.emit(e)}render(){return t(a,null,t("div",{class:"container"},t("p",{class:"title"},"Saved Searches"),t("div",{class:"items"},this.saved.slice(0,this.limit).map((e=>t("button",{class:"button",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>',onClick:()=>this.handleSelectEntry(e)},e.name))),this.saved.length<1&&t("div",{class:"empty"},"You do not have any saved searches."))))}};i.style="search-saved{font-family:sans-serif;font-family:var(--verdocs-font)}search-saved .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-saved .title{font-size:22px;font-weight:700;line-height:30px}search-saved .items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}search-saved .button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}search-saved .button:hover{cursor:pointer}search-saved .button:not(:last-child){margin-bottom:36px}search-saved .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-saved .empty{text-transform:none;line-height:22px;color:#ccc}";export{i as search_saved}
@@ -1 +0,0 @@
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(["./p-cbc784a6.system.js"],(function(e){"use strict";var t,r,n;return{setters:[function(e){t=e.r;r=e.c;n=e.h}],execute:function(){var o="top";var a="bottom";var i="right";var s="left";var f="auto";var u=[o,a,i,s];var c="start";var p="end";var d="clippingParents";var l="viewport";var v="popper";var h="reference";var m=u.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+p])}),[]);var g=[].concat(u,[f]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+p])}),[]);var b="beforeRead";var y="read";var w="afterRead";var x="beforeMain";var O="main";var j="afterMain";var D="beforeWrite";var k="write";var E="afterWrite";var _=[b,y,w,x,O,j,D,k,E];function M(e){return e?(e.nodeName||"").toLowerCase():null}function A(e){if(e==null){return window}if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t?t.defaultView||window:window}return e}function L(e){var t=A(e).Element;return e instanceof t||e instanceof Element}function B(e){var t=A(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function P(e){if(typeof ShadowRoot==="undefined"){return false}var t=A(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function W(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(!B(o)||!M(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 H(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 a=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:r[e]);var i=a.reduce((function(e,t){e[t]="";return e}),{});if(!B(n)||!M(n)){return}Object.assign(n.style,i);Object.keys(o).forEach((function(e){n.removeAttribute(e)}))}))}}var S={name:"applyStyles",enabled:true,phase:"write",fn:W,effect:H,requires:["computeStyles"]};function R(e){return e.split("-")[0]}function T(e,t){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=T(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 q(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t)){return true}else if(r&&P(r)){var n=t;do{if(n&&e.isSameNode(n)){return true}n=n.parentNode||n.host}while(n)}return false}function N(e){return A(e).getComputedStyle(e)}function V(e){return["table","td","th"].indexOf(M(e))>=0}function z(e){return((L(e)?e.ownerDocument:e.document)||window.document).documentElement}function I(e){if(M(e)==="html"){return e}return e.assignedSlot||e.parentNode||(P(e)?e.host:null)||z(e)}function U(e){if(!B(e)||N(e).position==="fixed"){return null}return e.offsetParent}function Y(e){var t=navigator.userAgent.toLowerCase().indexOf("firefox")!==-1;var r=navigator.userAgent.indexOf("Trident")!==-1;if(r&&B(e)){var n=N(e);if(n.position==="fixed"){return null}}var o=I(e);while(B(o)&&["html","body"].indexOf(M(o))<0){var a=N(o);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none"){return o}else{o=o.parentNode}}return null}function F(e){var t=A(e);var r=U(e);while(r&&V(r)&&N(r).position==="static"){r=U(r)}if(r&&(M(r)==="html"||M(r)==="body"&&N(r).position==="static")){return t}return r||Y(e)||t}function X(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var G=Math.max;var J=Math.min;var K=Math.round;function Q(e,t,r){return G(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,u))};function re(e){var t;var r=e.state,n=e.name,f=e.options;var u=r.elements.arrow;var c=r.modifiersData.popperOffsets;var p=R(r.placement);var d=X(p);var l=[s,i].indexOf(p)>=0;var v=l?"height":"width";if(!u||!c){return}var h=te(f.padding,r);var m=C(u);var g=d==="y"?o:s;var b=d==="y"?a:i;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=F(u);var O=x?d==="y"?x.clientHeight||0:x.clientWidth||0:0;var j=y/2-w/2;var D=h[g];var k=O-m[v]-h[b];var E=O/2-m[v]/2+j;var _=Q(D,E,k);var M=d;r.modifiersData[n]=(t={},t[M]=_,t.centerOffset=_-E,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(!q(t.elements.popper,o)){return}t.elements.arrow=o}var oe={name:"arrow",enabled:true,phase:"main",fn:re,effect:ne,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function ae(e){return e.split("-")[1]}var ie={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,u=e.variation,c=e.offsets,d=e.position,l=e.gpuAcceleration,v=e.adaptive,h=e.roundOffsets;var m=h===true?se(c):typeof h==="function"?h(c):c,g=m.x,b=g===void 0?0:g,y=m.y,w=y===void 0?0:y;var x=c.hasOwnProperty("x");var O=c.hasOwnProperty("y");var j=s;var D=o;var k=window;if(v){var E=F(r);var _="clientHeight";var M="clientWidth";if(E===A(r)){E=z(r);if(N(E).position!=="static"&&d==="absolute"){_="scrollHeight";M="scrollWidth"}}E=E;if(f===o||(f===s||f===i)&&u===p){D=a;w-=E[_]-n.height;w*=l?1:-1}if(f===s||(f===o||f===a)&&u===p){j=i;b-=E[M]-n.width;b*=l?1:-1}}var L=Object.assign({position:d},v&&ie);if(l){var B;return Object.assign({},L,(B={},B[D]=O?"0":"",B[j]=x?"0":"",B.transform=(k.devicePixelRatio||1)<=1?"translate("+b+"px, "+w+"px)":"translate3d("+b+"px, "+w+"px, 0)",B))}return Object.assign({},L,(t={},t[D]=O?w+"px":"",t[j]=x?b+"px":"",t.transform="",t))}function ue(e){var t=e.state,r=e.options;var n=r.gpuAcceleration,o=n===void 0?true:n,a=r.adaptive,i=a===void 0?true:a,s=r.roundOffsets,f=s===void 0?true:s;var u={placement:R(t.placement),variation:ae(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({},u,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:i,roundOffsets:f})))}if(t.modifiersData.arrow!=null){t.styles.arrow=Object.assign({},t.styles.arrow,fe(Object.assign({},u,{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:ue,data:{}};var pe={passive:true};function de(e){var t=e.state,r=e.instance,n=e.options;var o=n.scroll,a=o===void 0?true:o,i=n.resize,s=i===void 0?true:i;var f=A(t.elements.popper);var u=[].concat(t.scrollParents.reference,t.scrollParents.popper);if(a){u.forEach((function(e){e.addEventListener("scroll",r.update,pe)}))}if(s){f.addEventListener("resize",r.update,pe)}return function(){if(a){u.forEach((function(e){e.removeEventListener("scroll",r.update,pe)}))}if(s){f.removeEventListener("resize",r.update,pe)}}}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 he(e){return e.replace(/left|right|bottom|top/g,(function(e){return ve[e]}))}var me={start:"end",end:"start"};function ge(e){return e.replace(/start|end/g,(function(e){return me[e]}))}function be(e){var t=A(e);var r=t.pageXOffset;var n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function ye(e){return T(z(e)).left+be(e).scrollLeft}function we(e){var t=A(e);var r=z(e);var n=t.visualViewport;var o=r.clientWidth;var a=r.clientHeight;var i=0;var s=0;if(n){o=n.width;a=n.height;if(!/^((?!chrome|android).)*safari/i.test(navigator.userAgent)){i=n.offsetLeft;s=n.offsetTop}}return{width:o,height:a,x:i+ye(e),y:s}}function xe(e){var t;var r=z(e);var n=be(e);var o=(t=e.ownerDocument)==null?void 0:t.body;var a=G(r.scrollWidth,r.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0);var i=G(r.scrollHeight,r.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0);var s=-n.scrollLeft+ye(e);var f=-n.scrollTop;if(N(o||r).direction==="rtl"){s+=G(r.clientWidth,o?o.clientWidth:0)-a}return{width:a,height:i,x:s,y:f}}function Oe(e){var t=N(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+o+n)}function je(e){if(["html","body","#document"].indexOf(M(e))>=0){return e.ownerDocument.body}if(B(e)&&Oe(e)){return e}return je(I(e))}function De(e,t){var r;if(t===void 0){t=[]}var n=je(e);var o=n===((r=e.ownerDocument)==null?void 0:r.body);var a=A(n);var i=o?[a].concat(a.visualViewport||[],Oe(n)?n:[]):n;var s=t.concat(i);return o?s:s.concat(De(I(i)))}function ke(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ee(e){var t=T(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 _e(e,t){return t===l?ke(we(e)):B(t)?Ee(t):ke(xe(z(e)))}function Me(e){var t=De(I(e));var r=["absolute","fixed"].indexOf(N(e).position)>=0;var n=r&&B(e)?F(e):e;if(!L(n)){return[]}return t.filter((function(e){return L(e)&&q(e,n)&&M(e)!=="body"}))}function Ae(e,t,r){var n=t==="clippingParents"?Me(e):[].concat(t);var o=[].concat(n,[r]);var a=o[0];var i=o.reduce((function(t,r){var n=_e(e,r);t.top=G(n.top,t.top);t.right=J(n.right,t.right);t.bottom=J(n.bottom,t.bottom);t.left=G(n.left,t.left);return t}),_e(e,a));i.width=i.right-i.left;i.height=i.bottom-i.top;i.x=i.left;i.y=i.top;return i}function Le(e){var t=e.reference,r=e.element,n=e.placement;var f=n?R(n):null;var u=n?ae(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 a:v={x:d,y:t.y+t.height};break;case i: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 h=f?X(f):null;if(h!=null){var m=h==="y"?"height":"width";switch(u){case c:v[h]=v[h]-(t[m]/2-r[m]/2);break;case p:v[h]=v[h]+(t[m]/2-r[m]/2);break}}return v}function Be(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,p=r.rootBoundary,m=p===void 0?l:p,g=r.elementContext,b=g===void 0?v:g,y=r.altBoundary,w=y===void 0?false:y,x=r.padding,O=x===void 0?0:x;var j=$(typeof O!=="number"?O:ee(O,u));var D=b===v?h:v;var k=e.rects.popper;var E=e.elements[w?D:b];var _=Ae(L(E)?E:E.contextElement||z(e.elements.popper),c,m);var M=T(e.elements.reference);var A=Le({reference:M,element:k,strategy:"absolute",placement:s});var B=ke(Object.assign({},k,A));var P=b===v?B:M;var W={top:_.top-P.top+j.top,bottom:P.bottom-_.bottom+j.bottom,left:_.left-P.left+j.left,right:P.right-_.right+j.right};var H=e.modifiersData.offset;if(b===v&&H){var S=H[s];Object.keys(W).forEach((function(e){var t=[i,a].indexOf(e)>=0?1:-1;var r=[o,a].indexOf(e)>=0?"y":"x";W[e]+=S[r]*t}))}return W}function Pe(e,t){if(t===void 0){t={}}var r=t,n=r.placement,o=r.boundary,a=r.rootBoundary,i=r.padding,s=r.flipVariations,f=r.allowedAutoPlacements,c=f===void 0?g:f;var p=ae(n);var d=p?s?m:m.filter((function(e){return ae(e)===p})):u;var l=d.filter((function(e){return c.indexOf(e)>=0}));if(l.length===0){l=d}var v=l.reduce((function(t,r){t[r]=Be(e,{placement:r,boundary:o,rootBoundary:a,padding:i})[R(r)];return t}),{});return Object.keys(v).sort((function(e,t){return v[e]-v[t]}))}function We(e){if(R(e)===f){return[]}var t=he(e);return[ge(e),t,ge(t)]}function He(e){var t=e.state,r=e.options,n=e.name;if(t.modifiersData[n]._skip){return}var u=r.mainAxis,p=u===void 0?true:u,d=r.altAxis,l=d===void 0?true:d,v=r.fallbackPlacements,h=r.padding,m=r.boundary,g=r.rootBoundary,b=r.altBoundary,y=r.flipVariations,w=y===void 0?true:y,x=r.allowedAutoPlacements;var O=t.options.placement;var j=R(O);var D=j===O;var k=v||(D||!w?[he(O)]:We(O));var E=[O].concat(k).reduce((function(e,r){return e.concat(R(r)===f?Pe(t,{placement:r,boundary:m,rootBoundary:g,padding:h,flipVariations:w,allowedAutoPlacements:x}):r)}),[]);var _=t.rects.reference;var M=t.rects.popper;var A=new Map;var L=true;var B=E[0];for(var P=0;P<E.length;P++){var W=E[P];var H=R(W);var S=ae(W)===c;var T=[o,a].indexOf(H)>=0;var C=T?"width":"height";var q=Be(t,{placement:W,boundary:m,rootBoundary:g,altBoundary:b,padding:h});var N=T?S?i:s:S?a:o;if(_[C]>M[C]){N=he(N)}var V=he(N);var z=[];if(p){z.push(q[H]<=0)}if(l){z.push(q[N]<=0,q[V]<=0)}if(z.every((function(e){return e}))){B=W;L=false;break}A.set(W,z)}if(L){var I=w?3:1;var U=function e(t){var r=E.find((function(e){var r=A.get(e);if(r){return r.slice(0,t).every((function(e){return e}))}}));if(r){B=r;return"break"}};for(var Y=I;Y>0;Y--){var F=U(Y);if(F==="break")break}}if(t.placement!==B){t.modifiersData[n]._skip=true;t.placement=B;t.reset=true}}var Se={name:"flip",enabled:true,phase:"main",fn:He,requiresIfExists:["offset"],data:{_skip:false}};function Re(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 Te(e){return[o,i,a,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 a=t.modifiersData.preventOverflow;var i=Be(t,{elementContext:"reference"});var s=Be(t,{altBoundary:true});var f=Re(i,n);var u=Re(s,o,a);var c=Te(f);var p=Te(u);t.modifiersData[r]={referenceClippingOffsets:f,popperEscapeOffsets:u,isReferenceHidden:c,hasPopperEscaped:p};t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":p})}var qe={name:"hide",enabled:true,phase:"main",requiresIfExists:["preventOverflow"],fn:Ce};function Ne(e,t,r){var n=R(e);var a=[s,o].indexOf(n)>=0?-1:1;var f=typeof r==="function"?r(Object.assign({},t,{placement:e})):r,u=f[0],c=f[1];u=u||0;c=(c||0)*a;return[s,i].indexOf(n)>=0?{x:c,y:u}:{x:u,y:c}}function Ve(e){var t=e.state,r=e.options,n=e.name;var o=r.offset,a=o===void 0?[0,0]:o;var i=g.reduce((function(e,r){e[r]=Ne(r,t.rects,a);return e}),{});var s=i[t.placement],f=s.x,u=s.y;if(t.modifiersData.popperOffsets!=null){t.modifiersData.popperOffsets.x+=f;t.modifiersData.popperOffsets.y+=u}t.modifiersData[n]=i}var ze={name:"offset",enabled:true,phase:"main",requires:["popperOffsets"],fn:Ve};function Ie(e){var t=e.state,r=e.name;t.modifiersData[r]=Le({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})}var Ue={name:"popperOffsets",enabled:true,phase:"read",fn:Ie,data:{}};function Ye(e){return e==="x"?"y":"x"}function Fe(e){var t=e.state,r=e.options,n=e.name;var f=r.mainAxis,u=f===void 0?true:f,p=r.altAxis,d=p===void 0?false:p,l=r.boundary,v=r.rootBoundary,h=r.altBoundary,m=r.padding,g=r.tether,b=g===void 0?true:g,y=r.tetherOffset,w=y===void 0?0:y;var x=Be(t,{boundary:l,rootBoundary:v,padding:m,altBoundary:h});var O=R(t.placement);var j=ae(t.placement);var D=!j;var k=X(O);var E=Ye(k);var _=t.modifiersData.popperOffsets;var M=t.rects.reference;var A=t.rects.popper;var L=typeof w==="function"?w(Object.assign({},t.rects,{placement:t.placement})):w;var B={x:0,y:0};if(!_){return}if(u||d){var P=k==="y"?o:s;var W=k==="y"?a:i;var H=k==="y"?"height":"width";var S=_[k];var T=_[k]+x[P];var q=_[k]-x[W];var N=b?-A[H]/2:0;var V=j===c?M[H]:A[H];var z=j===c?-A[H]:-M[H];var I=t.elements.arrow;var U=b&&I?C(I):{width:0,height:0};var Y=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:Z();var K=Y[P];var $=Y[W];var ee=Q(0,M[H],U[H]);var te=D?M[H]/2-N-ee-K-L:V-ee-K-L;var re=D?-M[H]/2+N+ee+$+L:z+ee+$+L;var ne=t.elements.arrow&&F(t.elements.arrow);var oe=ne?k==="y"?ne.clientTop||0:ne.clientLeft||0:0;var ie=t.modifiersData.offset?t.modifiersData.offset[t.placement][k]:0;var se=_[k]+te-ie-oe;var fe=_[k]+re-ie;if(u){var ue=Q(b?J(T,se):T,S,b?G(q,fe):q);_[k]=ue;B[k]=ue-S}if(d){var ce=k==="x"?o:s;var pe=k==="x"?a:i;var de=_[E];var le=de+x[ce];var ve=de-x[pe];var he=Q(b?J(le,se):le,de,b?G(ve,fe):ve);_[E]=he;B[E]=he-de}}t.modifiersData[n]=B}var Xe={name:"preventOverflow",enabled:true,phase:"main",fn:Fe,requiresIfExists:["offset"]};function Ge(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Je(e){if(e===A(e)||!B(e)){return be(e)}else{return Ge(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=B(t);B(t)&&Ke(t);var o=z(t);var a=T(e);var i={scrollLeft:0,scrollTop:0};var s={x:0,y:0};if(n||!n&&!r){if(M(t)!=="body"||Oe(o)){i=Je(t)}if(B(t)){s=T(t);s.x+=t.clientLeft;s.y+=t.clientTop}else if(o){s.x=ye(o)}}return{x:a.left+i.scrollLeft-s.x,y:a.top+i.scrollTop-s.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 a=[].concat(e.requires||[],e.requiresIfExists||[]);a.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 _.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){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 rt={placement:"bottom",modifiers:[],strategy:"absolute"};function nt(){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 ot(e){if(e===void 0){e={}}var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,o=t.defaultOptions,a=o===void 0?rt:o;return function e(t,r,o){if(o===void 0){o=a}var i={placement:"bottom",orderedModifiers:[],options:Object.assign({},rt,a),modifiersData:{},elements:{reference:t,popper:r},attributes:{},styles:{}};var s=[];var f=false;var u={state:i,setOptions:function e(o){var s=typeof o==="function"?o(i.options):o;p();i.options=Object.assign({},a,i.options,s);i.scrollParents={reference:L(t)?De(t):t.contextElement?De(t.contextElement):[],popper:De(r)};var f=$e(tt([].concat(n,i.options.modifiers)));i.orderedModifiers=f.filter((function(e){return e.enabled}));c();return u.update()},forceUpdate:function e(){if(f){return}var t=i.elements,r=t.reference,n=t.popper;if(!nt(r,n)){return}i.rects={reference:Qe(r,F(n),i.options.strategy==="fixed"),popper:C(n)};i.reset=false;i.placement=i.options.placement;i.orderedModifiers.forEach((function(e){return i.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<i.orderedModifiers.length;o++){if(i.reset===true){i.reset=false;o=-1;continue}var a=i.orderedModifiers[o],s=a.fn,c=a.options,p=c===void 0?{}:c,d=a.name;if(typeof s==="function"){i=s({state:i,options:p,name:d,instance:u})||i}}},update:et((function(){return new Promise((function(e){u.forceUpdate();e(i)}))})),destroy:function e(){p();f=true}};if(!nt(t,r)){return u}u.setOptions(o).then((function(e){if(!f&&o.onFirstUpdate){o.onFirstUpdate(e)}}));function c(){i.orderedModifiers.forEach((function(e){var t=e.name,r=e.options,n=r===void 0?{}:r,o=e.effect;if(typeof o==="function"){var a=o({state:i,name:t,instance:u,options:n});var f=function e(){};s.push(a||f)}}))}function p(){s.forEach((function(e){return e()}));s=[]}return u}}var at=[le,Ue,ce,S,ze,Se,Xe,oe,qe];var it=ot({defaultModifiers:at});var st='<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 ft="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 ut=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=it(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:st,"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}());ut.style=ft}}}));
@@ -1 +0,0 @@
1
- import{r as t,h as o}from"./p-89be87e5.js";let n=class{constructor(o){t(this,o)}handleClick(t){t.preventDefault();let o=t.target;if(o.matches("toggle-icon-buttons")){o=t.target.shadowRoot;const n=o.activeElement;Array.from(n.parentElement.children).filter((t=>t!==n)).map((t=>t.classList.remove("selected"))),n.classList.contains("selected")||n.classList.add("selected")}}render(){return o("div",{class:"container"},o("span",{class:"label"},`${this.options.label}:`),o("div",{class:"buttons"},this.options.buttons.map(((t,n)=>o("button",{id:t.id,key:t.id,innerHTML:t.icon,class:n===this.options.defaultSelection?"selected":""})))))}};n.style="toggle-icon-buttons{font-family:sans-serif;font-family:var(--verdocs-font)}toggle-icon-buttons .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}toggle-icon-buttons .label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}toggle-icon-buttons .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}toggle-icon-buttons .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}toggle-icon-buttons .buttons button:not(:last-child){margin-right:11px}toggle-icon-buttons .buttons svg{width:30px;height:30px}toggle-icon-buttons .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";export{n as toggle_icon_buttons}
@@ -1 +0,0 @@
1
- import{r as t,h as e,a}from"./p-89be87e5.js";let l=class{constructor(e){t(this,e)}render(){return e("div",{class:"container"},e("div",{class:"template-img"},e("img",{src:a("template-card/dummy-image.png"),alt:"Dummy Image"})),e("span",{class:"template-name"},this.template.name),e("span",{class:"template-org-bname"},this.template.organization_business_name),e("div",{class:"template-org-name"},e("input",{type:"checkbox",id:"org-name",name:"org-name",checked:!0}),e("label",{htmlFor:"org-name"},this.template.organization_name)),e("hr",null),e("div",{class:"template-controls"},e("span",{class:"star-counter",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 9.24l-7.19-.62L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21 12 17.27 18.18 21l-1.63-7.03L22 9.24zM12 15.4l-3.76 2.27 1-4.28-3.32-2.88 4.38-.38L12 6.1l1.71 4.04 4.38.38-3.32 2.88 1 4.28L12 15.4z"/></svg>'},this.template.star_counter),e("span",{class:"pages",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm-1 4H8c-1.1 0-1.99.9-1.99 2L6 21c0 1.1.89 2 1.99 2H19c1.1 0 2-.9 2-2V11l-6-6zM8 21V7h6v5h5v9H8z"/></svg>'},this.template.pages),e("span",{class:"counter",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M22 6c0-1.1-.9-2-2-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6zm-2 0l-8 5-8-5h16zm0 12H4V8l8 5 8-5v10z"/></svg>'},this.template.counter),e("span",{class:"additional-controls",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"/></svg>'})))}static get assetsDirs(){return["template-card"]}};l.style="template-card{font-family:sans-serif;font-family:var(--verdocs-font)}template-card .container{height:640px;width:645px;-webkit-box-sizing:border-box;box-sizing:border-box;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#ffffff;-webkit-box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);box-shadow:2px 2px 5px rgba(51, 54, 75, 0.05);padding:52px 50px 20px 50px}template-card .template-img{width:545px;height:315px;background-color:salmon;margin-bottom:22px}template-card .template-name{font-size:28px;font-family:sans-serif;font-weight:700;margin-bottom:13px}template-card .template-org-bname{font-size:24px;font-family:sans-serif;font-weight:700;margin-bottom:12px}template-card .template-org-name{margin-bottom:34px}template-card .template-org-name label{font-size:24px;font-family:sans-serif;font-weight:700;color:#666666}template-card hr{width:100%;margin-bottom:17px;color:#aeb4bf}template-card .template-controls{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-pack:justify;justify-content:space-between;text-align:center;font-size:21px}template-card .template-controls span:nth-child(-n+3){border-right:1px solid #adb6bd}template-card .template-controls svg{fill:#adb6bd;height:30px;width:30px;margin-bottom:-8px;margin-right:18px}template-card .additional-controls svg{margin-right:0}template-card .additional-controls{-ms-flex:1;flex:1}template-card .pages,template-card .star-counter,template-card .counter{-ms-flex:2;flex:2}";export{l as template_card}
@@ -1 +0,0 @@
1
- import{r as e,h as t}from"./p-89be87e5.js";const s='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,20c-4.42,0-8-3.58-8-8 c0-4.42,3.58-8,8-8s8,3.58,8,8C20,16.42,16.42,20,12,20z"/><circle cx="7" cy="12" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="17" cy="12" r="1.5"/></g></g></svg>';let i=class{constructor(t){e(this,t)}render(){let e,i;switch(this.status){case"finished":case"complete":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>',i="Complete";break;case"in-progress":e=s,i="In Progress";break;case"pending":e=s,i="Pending";break;case"cancelled":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></svg>',i="Cancelled";break;case"declined":e='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>',i="Declined"}return t("div",{class:"container"},t("span",{class:"icon",innerHTML:e}),t("span",{class:"content"},i))}};i.style="document-status-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}document-status-indicator .container{width:195px;height:72px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#33364b;font-family:sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:16px;color:#ffffff}document-status-indicator .icon{margin-right:15px}document-status-indicator svg{height:24px;width:24px}";export{i as document_status_indicator}
@@ -1 +0,0 @@
1
- System.register([],(function(e){"use strict";return{execute:function(){var r=function e(r,t){return function e(){var n=new Array(arguments.length);for(var o=0;o<n.length;o++){n[o]=arguments[o]}return r.apply(t,n)}};var t=Object.prototype.toString;function n(e){return t.call(e)==="[object Array]"}function o(e){return typeof e==="undefined"}function a(e){return e!==null&&!o(e)&&e.constructor!==null&&!o(e.constructor)&&typeof e.constructor.isBuffer==="function"&&e.constructor.isBuffer(e)}function i(e){return t.call(e)==="[object ArrayBuffer]"}function s(e){return typeof FormData!=="undefined"&&e instanceof FormData}function u(e){var r;if(typeof ArrayBuffer!=="undefined"&&ArrayBuffer.isView){r=ArrayBuffer.isView(e)}else{r=e&&e.buffer&&e.buffer instanceof ArrayBuffer}return r}function f(e){return typeof e==="string"}function c(e){return typeof e==="number"}function l(e){return e!==null&&typeof e==="object"}function d(e){if(t.call(e)!=="[object Object]"){return false}var r=Object.getPrototypeOf(e);return r===null||r===Object.prototype}function p(e){return t.call(e)==="[object Date]"}function h(e){return t.call(e)==="[object File]"}function v(e){return t.call(e)==="[object Blob]"}function m(e){return t.call(e)==="[object Function]"}function g(e){return l(e)&&m(e.pipe)}function y(e){return typeof URLSearchParams!=="undefined"&&e instanceof URLSearchParams}function b(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function w(){if(typeof navigator!=="undefined"&&(navigator.product==="ReactNative"||navigator.product==="NativeScript"||navigator.product==="NS")){return false}return typeof window!=="undefined"&&typeof document!=="undefined"}function x(e,r){if(e===null||typeof e==="undefined"){return}if(typeof e!=="object"){e=[e]}if(n(e)){for(var t=0,o=e.length;t<o;t++){r.call(null,e[t],t,e)}}else{for(var a in e){if(Object.prototype.hasOwnProperty.call(e,a)){r.call(null,e[a],a,e)}}}}function j(){var e={};function r(r,t){if(d(e[t])&&d(r)){e[t]=j(e[t],r)}else if(d(r)){e[t]=j({},r)}else if(n(r)){e[t]=r.slice()}else{e[t]=r}}for(var t=0,o=arguments.length;t<o;t++){x(arguments[t],r)}return e}function E(e,t,n){x(t,(function t(o,a){if(n&&typeof o==="function"){e[a]=r(o,n)}else{e[a]=o}}));return e}function S(e){if(e.charCodeAt(0)===65279){e=e.slice(1)}return e}var k={isArray:n,isArrayBuffer:i,isBuffer:a,isFormData:s,isArrayBufferView:u,isString:f,isNumber:c,isObject:l,isPlainObject:d,isUndefined:o,isDate:p,isFile:h,isBlob:v,isFunction:m,isStream:g,isURLSearchParams:y,isStandardBrowserEnv:w,forEach:x,merge:j,extend:E,trim:b,stripBOM:S};function O(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}var N=function e(r,t,n){if(!t){return r}var o;if(n){o=n(t)}else if(k.isURLSearchParams(t)){o=t.toString()}else{var a=[];k.forEach(t,(function e(r,t){if(r===null||typeof r==="undefined"){return}if(k.isArray(r)){t=t+"[]"}else{r=[r]}k.forEach(r,(function e(r){if(k.isDate(r)){r=r.toISOString()}else if(k.isObject(r)){r=JSON.stringify(r)}a.push(O(t)+"="+O(r))}))}));o=a.join("&")}if(o){var i=r.indexOf("#");if(i!==-1){r=r.slice(0,i)}r+=(r.indexOf("?")===-1?"?":"&")+o}return r};function C(){this.handlers=[]}C.prototype.use=function e(r,t,n){this.handlers.push({fulfilled:r,rejected:t,synchronous:n?n.synchronous:false,runWhen:n?n.runWhen:null});return this.handlers.length-1};C.prototype.eject=function e(r){if(this.handlers[r]){this.handlers[r]=null}};C.prototype.forEach=function e(r){k.forEach(this.handlers,(function e(t){if(t!==null){r(t)}}))};var A=C;var T=function e(r,t){k.forEach(r,(function e(n,o){if(o!==t&&o.toUpperCase()===t.toUpperCase()){r[t]=n;delete r[o]}}))};var R=function e(r,t,n,o,a){r.config=t;if(n){r.code=n}r.request=o;r.response=a;r.isAxiosError=true;r.toJSON=function e(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}};return r};var P=function e(r,t,n,o,a){var i=new Error(r);return R(i,t,n,o,a)};var U=function e(r,t,n){var o=n.config.validateStatus;if(!n.status||!o||o(n.status)){r(n)}else{t(P("Request failed with status code "+n.status,n.config,null,n.request,n))}};var B=k.isStandardBrowserEnv()?function e(){return{write:function e(r,t,n,o,a,i){var s=[];s.push(r+"="+encodeURIComponent(t));if(k.isNumber(n)){s.push("expires="+new Date(n).toGMTString())}if(k.isString(o)){s.push("path="+o)}if(k.isString(a)){s.push("domain="+a)}if(i===true){s.push("secure")}document.cookie=s.join("; ")},read:function e(r){var t=document.cookie.match(new RegExp("(^|;\\s*)("+r+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function e(r){this.write(r,"",Date.now()-864e5)}}}():function e(){return{write:function e(){},read:function e(){return null},remove:function e(){}}}();var _=function e(r){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(r)};var L=function e(r,t){return t?r.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):r};var q=function e(r,t){if(r&&!_(t)){return L(r,t)}return t};var D=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];var J=function e(r){var t={};var n;var o;var a;if(!r){return t}k.forEach(r.split("\n"),(function e(r){a=r.indexOf(":");n=k.trim(r.substr(0,a)).toLowerCase();o=k.trim(r.substr(a+1));if(n){if(t[n]&&D.indexOf(n)>=0){return}if(n==="set-cookie"){t[n]=(t[n]?t[n]:[]).concat([o])}else{t[n]=t[n]?t[n]+", "+o:o}}}));return t};var H=k.isStandardBrowserEnv()?function e(){var r=/(msie|trident)/i.test(navigator.userAgent);var t=document.createElement("a");var n;function o(e){var n=e;if(r){t.setAttribute("href",n);n=t.href}t.setAttribute("href",n);return{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:t.pathname.charAt(0)==="/"?t.pathname:"/"+t.pathname}}n=o(window.location.href);return function e(r){var t=k.isString(r)?o(r):r;return t.protocol===n.protocol&&t.host===n.host}}():function e(){return function e(){return true}}();var M=function e(r){return new Promise((function e(t,n){var o=r.data;var a=r.headers;var i=r.responseType;if(k.isFormData(o)){delete a["Content-Type"]}var s=new XMLHttpRequest;if(r.auth){var u=r.auth.username||"";var f=r.auth.password?unescape(encodeURIComponent(r.auth.password)):"";a.Authorization="Basic "+btoa(u+":"+f)}var c=q(r.baseURL,r.url);s.open(r.method.toUpperCase(),N(c,r.params,r.paramsSerializer),true);s.timeout=r.timeout;function l(){if(!s){return}var e="getAllResponseHeaders"in s?J(s.getAllResponseHeaders()):null;var o=!i||i==="text"||i==="json"?s.responseText:s.response;var a={data:o,status:s.status,statusText:s.statusText,headers:e,config:r,request:s};U(t,n,a);s=null}if("onloadend"in s){s.onloadend=l}else{s.onreadystatechange=function e(){if(!s||s.readyState!==4){return}if(s.status===0&&!(s.responseURL&&s.responseURL.indexOf("file:")===0)){return}setTimeout(l)}}s.onabort=function e(){if(!s){return}n(P("Request aborted",r,"ECONNABORTED",s));s=null};s.onerror=function e(){n(P("Network Error",r,null,s));s=null};s.ontimeout=function e(){var t="timeout of "+r.timeout+"ms exceeded";if(r.timeoutErrorMessage){t=r.timeoutErrorMessage}n(P(t,r,r.transitional&&r.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",s));s=null};if(k.isStandardBrowserEnv()){var d=(r.withCredentials||H(c))&&r.xsrfCookieName?B.read(r.xsrfCookieName):undefined;if(d){a[r.xsrfHeaderName]=d}}if("setRequestHeader"in s){k.forEach(a,(function e(r,t){if(typeof o==="undefined"&&t.toLowerCase()==="content-type"){delete a[t]}else{s.setRequestHeader(t,r)}}))}if(!k.isUndefined(r.withCredentials)){s.withCredentials=!!r.withCredentials}if(i&&i!=="json"){s.responseType=r.responseType}if(typeof r.onDownloadProgress==="function"){s.addEventListener("progress",r.onDownloadProgress)}if(typeof r.onUploadProgress==="function"&&s.upload){s.upload.addEventListener("progress",r.onUploadProgress)}if(r.cancelToken){r.cancelToken.promise.then((function e(r){if(!s){return}s.abort();n(r);s=null}))}if(!o){o=null}s.send(o)}))};var z={"Content-Type":"application/x-www-form-urlencoded"};function F(e,r){if(!k.isUndefined(e)&&k.isUndefined(e["Content-Type"])){e["Content-Type"]=r}}function V(){var e;if(typeof XMLHttpRequest!=="undefined"){e=M}else if(typeof process!=="undefined"&&Object.prototype.toString.call(process)==="[object process]"){e=M}return e}function I(e,r,t){if(k.isString(e)){try{(r||JSON.parse)(e);return k.trim(e)}catch(e){if(e.name!=="SyntaxError"){throw e}}}return(t||JSON.stringify)(e)}var X={transitional:{silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false},adapter:V(),transformRequest:[function e(r,t){T(t,"Accept");T(t,"Content-Type");if(k.isFormData(r)||k.isArrayBuffer(r)||k.isBuffer(r)||k.isStream(r)||k.isFile(r)||k.isBlob(r)){return r}if(k.isArrayBufferView(r)){return r.buffer}if(k.isURLSearchParams(r)){F(t,"application/x-www-form-urlencoded;charset=utf-8");return r.toString()}if(k.isObject(r)||t&&t["Content-Type"]==="application/json"){F(t,"application/json");return I(r)}return r}],transformResponse:[function e(r){var t=this.transitional;var n=t&&t.silentJSONParsing;var o=t&&t.forcedJSONParsing;var a=!n&&this.responseType==="json";if(a||o&&k.isString(r)&&r.length){try{return JSON.parse(r)}catch(e){if(a){if(e.name==="SyntaxError"){throw R(e,this,"E_JSON_PARSE")}throw e}}}return r}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function e(r){return r>=200&&r<300}};X.headers={common:{Accept:"application/json, text/plain, */*"}};k.forEach(["delete","get","head"],(function e(r){X.headers[r]={}}));k.forEach(["post","put","patch"],(function e(r){X.headers[r]=k.merge(z)}));var G=X;var K=function e(r,t,n){var o=this||G;k.forEach(n,(function e(n){r=n.call(o,r,t)}));return r};var W=function e(r){return!!(r&&r.__CANCEL__)};function $(e){if(e.cancelToken){e.cancelToken.throwIfRequested()}}var Q=function e(r){$(r);r.headers=r.headers||{};r.data=K.call(r,r.data,r.headers,r.transformRequest);r.headers=k.merge(r.headers.common||{},r.headers[r.method]||{},r.headers);k.forEach(["delete","get","head","post","put","patch","common"],(function e(t){delete r.headers[t]}));var t=r.adapter||G.adapter;return t(r).then((function e(t){$(r);t.data=K.call(r,t.data,t.headers,r.transformResponse);return t}),(function e(t){if(!W(t)){$(r);if(t&&t.response){t.response.data=K.call(r,t.response.data,t.response.headers,r.transformResponse)}}return Promise.reject(t)}))};var Z=function e(r,t){t=t||{};var n={};var o=["url","method","data"];var a=["headers","auth","proxy","params"];var i=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"];var s=["validateStatus"];function u(e,r){if(k.isPlainObject(e)&&k.isPlainObject(r)){return k.merge(e,r)}else if(k.isPlainObject(r)){return k.merge({},r)}else if(k.isArray(r)){return r.slice()}return r}function f(e){if(!k.isUndefined(t[e])){n[e]=u(r[e],t[e])}else if(!k.isUndefined(r[e])){n[e]=u(undefined,r[e])}}k.forEach(o,(function e(r){if(!k.isUndefined(t[r])){n[r]=u(undefined,t[r])}}));k.forEach(a,f);k.forEach(i,(function e(o){if(!k.isUndefined(t[o])){n[o]=u(undefined,t[o])}else if(!k.isUndefined(r[o])){n[o]=u(undefined,r[o])}}));k.forEach(s,(function e(o){if(o in t){n[o]=u(r[o],t[o])}else if(o in r){n[o]=u(undefined,r[o])}}));var c=o.concat(a).concat(i).concat(s);var l=Object.keys(r).concat(Object.keys(t)).filter((function e(r){return c.indexOf(r)===-1}));k.forEach(l,f);return n};var Y="axios@^0.21.1";var ee="axios@0.21.4";var re=false;var te="sha512-ut5vewkiu8jjGBdqpM44XxjuCjq9LAKeHVmoVfHVzy8eHgxxq8SbAVQNovDA8mVi05kP0Ea/n/UzcSHcTJQfNg==";var ne="/axios";var oe={};var ae={type:"range",registry:true,raw:"axios@^0.21.1",name:"axios",escapedName:"axios",rawSpec:"^0.21.1",saveSpec:null,fetchSpec:"^0.21.1"};var ie=["/@verdocs/js-sdk"];var se="https://registry.npmjs.org/axios/-/axios-0.21.4.tgz";var ue="c67b90dc0568e5c1cf2b0b858c43ba28e2eda575";var fe="axios@^0.21.1";var ce="/Users/chad/projects/verdocs/web-sdk/verdocs-web-sdk/node_modules/@verdocs/js-sdk";var le={name:"Matt Zabriskie"};var de={"./lib/adapters/http.js":"./lib/adapters/xhr.js"};var pe={url:"https://github.com/axios/axios/issues"};var he=false;var ve=[{path:"./dist/axios.min.js",threshold:"5kB"}];var me={"follow-redirects":"^1.14.0"};var ge=false;var ye="Promise based HTTP client for the browser and node.js";var be={coveralls:"^3.0.0","es6-promise":"^4.2.4",grunt:"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1",karma:"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2",minimist:"^1.2.0",mocha:"^8.2.1",sinon:"^4.5.0","terser-webpack-plugin":"^4.2.3",typescript:"^4.0.5","url-search-params":"^0.10.0",webpack:"^4.44.2","webpack-dev-server":"^3.11.0"};var we="https://axios-http.com";var xe="dist/axios.min.js";var je=["xhr","http","ajax","promise","node"];var Ee="MIT";var Se="index.js";var ke="axios";var Oe={type:"git",url:"git+https://github.com/axios/axios.git"};var Ne={build:"NODE_ENV=production grunt build",coveralls:"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",examples:"node ./examples/server.js",fix:"eslint --fix lib/**/*.js",postversion:"git push && git push --tags",preversion:"npm test",start:"node ./sandbox/server.js",test:"grunt test",version:"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json"};var Ce="./index.d.ts";var Ae="dist/axios.min.js";var Te="0.21.4";var Re={_from:Y,_id:ee,_inBundle:re,_integrity:te,_location:ne,_phantomChildren:oe,_requested:ae,_requiredBy:ie,_resolved:se,_shasum:ue,_spec:fe,_where:ce,author:le,browser:de,bugs:pe,bundleDependencies:he,bundlesize:ve,dependencies:me,deprecated:ge,description:ye,devDependencies:be,homepage:we,jsdelivr:xe,keywords:je,license:Ee,main:Se,name:ke,repository:Oe,scripts:Ne,typings:Ce,unpkg:Ae,version:Te};var Pe={};["object","boolean","number","function","string","symbol"].forEach((function(e,r){Pe[e]=function t(n){return typeof n===e||"a"+(r<1?"n ":" ")+e}}));var Ue={};var Be=Re.version.split(".");function _e(e,r){var t=r?r.split("."):Be;var n=e.split(".");for(var o=0;o<3;o++){if(t[o]>n[o]){return true}else if(t[o]<n[o]){return false}}return false}Pe.transitional=function e(r,t,n){var o=t&&_e(t);function a(e,r){return"[Axios v"+Re.version+"] Transitional option '"+e+"'"+r+(n?". "+n:"")}return function(e,n,i){if(r===false){throw new Error(a(n," has been removed in "+t))}if(o&&!Ue[n]){Ue[n]=true;console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))}return r?r(e,n,i):true}};function Le(e,r,t){if(typeof e!=="object"){throw new TypeError("options must be an object")}var n=Object.keys(e);var o=n.length;while(o-- >0){var a=n[o];var i=r[a];if(i){var s=e[a];var u=s===undefined||i(s,a,e);if(u!==true){throw new TypeError("option "+a+" must be "+u)}continue}if(t!==true){throw Error("Unknown option "+a)}}}var qe={isOlderVersion:_e,assertOptions:Le,validators:Pe};var De=qe.validators;function Je(e){this.defaults=e;this.interceptors={request:new A,response:new A}}Je.prototype.request=function e(r){if(typeof r==="string"){r=arguments[1]||{};r.url=arguments[0]}else{r=r||{}}r=Z(this.defaults,r);if(r.method){r.method=r.method.toLowerCase()}else if(this.defaults.method){r.method=this.defaults.method.toLowerCase()}else{r.method="get"}var t=r.transitional;if(t!==undefined){qe.assertOptions(t,{silentJSONParsing:De.transitional(De.boolean,"1.0.0"),forcedJSONParsing:De.transitional(De.boolean,"1.0.0"),clarifyTimeoutError:De.transitional(De.boolean,"1.0.0")},false)}var n=[];var o=true;this.interceptors.request.forEach((function e(t){if(typeof t.runWhen==="function"&&t.runWhen(r)===false){return}o=o&&t.synchronous;n.unshift(t.fulfilled,t.rejected)}));var a=[];this.interceptors.response.forEach((function e(r){a.push(r.fulfilled,r.rejected)}));var i;if(!o){var s=[Q,undefined];Array.prototype.unshift.apply(s,n);s=s.concat(a);i=Promise.resolve(r);while(s.length){i=i.then(s.shift(),s.shift())}return i}var u=r;while(n.length){var f=n.shift();var c=n.shift();try{u=f(u)}catch(e){c(e);break}}try{i=Q(u)}catch(e){return Promise.reject(e)}while(a.length){i=i.then(a.shift(),a.shift())}return i};Je.prototype.getUri=function e(r){r=Z(this.defaults,r);return N(r.url,r.params,r.paramsSerializer).replace(/^\?/,"")};k.forEach(["delete","get","head","options"],(function e(r){Je.prototype[r]=function(e,t){return this.request(Z(t||{},{method:r,url:e,data:(t||{}).data}))}}));k.forEach(["post","put","patch"],(function e(r){Je.prototype[r]=function(e,t,n){return this.request(Z(n||{},{method:r,url:e,data:t}))}}));var He=Je;function Me(e){this.message=e}Me.prototype.toString=function e(){return"Cancel"+(this.message?": "+this.message:"")};Me.prototype.__CANCEL__=true;var ze=Me;function Fe(e){if(typeof e!=="function"){throw new TypeError("executor must be a function.")}var r;this.promise=new Promise((function e(t){r=t}));var t=this;e((function e(n){if(t.reason){return}t.reason=new ze(n);r(t.reason)}))}Fe.prototype.throwIfRequested=function e(){if(this.reason){throw this.reason}};Fe.source=function e(){var r;var t=new Fe((function e(t){r=t}));return{token:t,cancel:r}};var Ve=Fe;var Ie=function e(r){return function e(t){return r.apply(null,t)}};var Xe=function e(r){return typeof r==="object"&&r.isAxiosError===true};function Ge(e){var t=new He(e);var n=r(He.prototype.request,t);k.extend(n,He.prototype,t);k.extend(n,t);return n}var Ke=Ge(G);Ke.Axios=He;Ke.create=function e(r){return Ge(Z(Ke.defaults,r))};Ke.Cancel=ze;Ke.CancelToken=Ve;Ke.isCancel=W;Ke.all=function e(r){return Promise.all(r)};Ke.spread=Ie;Ke.isAxiosError=Xe;var We=Ke;var $e=Ke;We.default=$e;var Qe=We;var Ze=""+Math.floor(Math.random()*1e5);console.log("[JS-SDK Loaded]",Ze);var Ye={baseURL:"https://api.verdocs.com/",timeout:3e3,headers:{"X-Client-ID":"NONE"}};var er=function(){rr=Qe.create(Ye);rr.interceptors.request.use((function(e){console.log("[JS-SDK] "+Ze+" :: "+e.method.toUpperCase()+" "+e.url,JSON.stringify(e.data),JSON.stringify(e.headers));return e}))};var rr;er();var tr=function(){if(!rr){er()}return rr};var nr=undefined&&undefined.__awaiter||function(e,r,t,n){function o(e){return e instanceof t?e:new t((function(r){r(e)}))}return new(t||(t=Promise))((function(t,a){function i(e){try{u(n.next(e))}catch(e){a(e)}}function s(e){try{u(n["throw"](e))}catch(e){a(e)}}function u(e){e.done?t(e.value):o(e.value).then(i,s)}u((n=n.apply(e,r||[])).next())}))};var or=undefined&&undefined.__generator||function(e,r){var t={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,o,a,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(r){return u([e,r])}}function u(i){if(n)throw new TypeError("Generator is already executing.");while(t)try{if(n=1,o&&(a=i[0]&2?o["return"]:i[0]?o["throw"]||((a=o["return"])&&a.call(o),0):o.next)&&!(a=a.call(o,i[1])).done)return a;if(o=0,a)i=[i[0]&2,a.value];switch(i[0]){case 0:case 1:a=i;break;case 4:t.label++;return{value:i[1],done:false};case 5:t.label++;o=i[1];i=[0];continue;case 7:i=t.ops.pop();t.trys.pop();continue;default:if(!(a=t.trys,a=a.length>0&&a[a.length-1])&&(i[0]===6||i[0]===2)){t=0;continue}if(i[0]===3&&(!a||i[1]>a[0]&&i[1]<a[3])){t.label=i[1];break}if(i[0]===6&&t.label<a[1]){t.label=a[1];a=i;break}if(a&&t.label<a[2]){t.label=a[2];t.ops.push(i);break}if(a[2])t.ops.pop();t.trys.pop();continue}i=r.call(e,t)}catch(e){i=[6,e];o=0}finally{n=a=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};var ar=e("g",(function(){return nr(void 0,void 0,void 0,(function(){return or(this,(function(e){return[2,tr().get("/search/history").then((function(e){return e.data}))]}))}))}))}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js"],(function(t){"use strict";var o,n;return{setters:[function(t){o=t.r;n=t.h}],execute:function(){var e="toggle-icon-buttons{font-family:sans-serif;font-family:var(--verdocs-font)}toggle-icon-buttons .container{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#f2f5fa}toggle-icon-buttons .label{font-size:24px;font-weight:700;color:#33364b;-ms-flex-item-align:center;align-self:center;margin-right:27px;font-family:sans-serif}toggle-icon-buttons .buttons{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap}toggle-icon-buttons .buttons button{width:60px;height:60px;border:2px solid #654dcb;border-radius:5px;cursor:pointer}toggle-icon-buttons .buttons button:not(:last-child){margin-right:11px}toggle-icon-buttons .buttons svg{width:30px;height:30px}toggle-icon-buttons .buttons button:hover{background-color:#654dcb;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .buttons button:hover svg{fill:#f2f5fa;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected{background-color:#707ae5;-webkit-transition:0.25s;transition:0.25s}toggle-icon-buttons .selected svg{fill:#ffffff;-webkit-transition:0.25s;transition:0.25s}";var i=t("toggle_icon_buttons",function(){function t(t){o(this,t)}t.prototype.handleClick=function(t){t.preventDefault();var o=t.target;if(o.matches("toggle-icon-buttons")){o=t.target.shadowRoot;var n=o.activeElement;var e=Array.from(n.parentElement.children).filter((function(t){return t!==n}));e.map((function(t){return t.classList.remove("selected")}));if(!n.classList.contains("selected")){n.classList.add("selected")}}};t.prototype.render=function(){var t=this;return n("div",{class:"container"},n("span",{class:"label"},this.options.label+":"),n("div",{class:"buttons"},this.options.buttons.map((function(o,e){return n("button",{id:o.id,key:o.id,innerHTML:o.icon,class:e===t.options.defaultSelection?"selected":""})}))))};return t}());i.style=e}}}));
@@ -1 +0,0 @@
1
- import{r as t,c as n,h as e}from"./p-89be87e5.js";var r="top",o="bottom",i="right",a="left",u=[r,o,i,a],f=u.reduce((function(t,n){return t.concat([n+"-start",n+"-end"])}),[]),c=[].concat(u,["auto"]).reduce((function(t,n){return t.concat([n,n+"-start",n+"-end"])}),[]),s=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function d(t){return t?(t.nodeName||"").toLowerCase():null}function p(t){if(null==t)return window;if("[object Window]"!==t.toString()){var n=t.ownerDocument;return n&&n.defaultView||window}return t}function l(t){return t instanceof p(t).Element||t instanceof Element}function v(t){return t instanceof p(t).HTMLElement||t instanceof HTMLElement}function h(t){return"undefined"!=typeof ShadowRoot&&(t instanceof p(t).ShadowRoot||t instanceof ShadowRoot)}function b(t){return t.split("-")[0]}function m(t){var n=t.getBoundingClientRect();return{width:n.width/1,height:n.height/1,top:n.top/1,right:n.right/1,bottom:n.bottom/1,left:n.left/1,x:n.left/1,y:n.top/1}}function w(t){var n=m(t),e=t.offsetWidth,r=t.offsetHeight;return Math.abs(n.width-e)<=1&&(e=n.width),Math.abs(n.height-r)<=1&&(r=n.height),{x:t.offsetLeft,y:t.offsetTop,width:e,height:r}}function y(t,n){var e=n.getRootNode&&n.getRootNode();if(t.contains(n))return!0;if(e&&h(e)){var r=n;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function g(t){return p(t).getComputedStyle(t)}function x(t){return["table","td","th"].indexOf(d(t))>=0}function O(t){return((l(t)?t.ownerDocument:t.document)||window.document).documentElement}function j(t){return"html"===d(t)?t:t.assignedSlot||t.parentNode||(h(t)?t.host:null)||O(t)}function k(t){return v(t)&&"fixed"!==g(t).position?t.offsetParent:null}function M(t){for(var n=p(t),e=k(t);e&&x(e)&&"static"===g(e).position;)e=k(e);return e&&("html"===d(e)||"body"===d(e)&&"static"===g(e).position)?n:e||function(t){var n=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&v(t)&&"fixed"===g(t).position)return null;for(var e=j(t);v(e)&&["html","body"].indexOf(d(e))<0;){var r=g(e);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||n&&"filter"===r.willChange||n&&r.filter&&"none"!==r.filter)return e;e=e.parentNode}return null}(t)||n}function B(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}var L=Math.max,E=Math.min,S=Math.round;function q(t,n,e){return L(t,E(n,e))}function H(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function P(t,n){return n.reduce((function(n,e){return n[e]=t,n}),{})}function W(t){return t.split("-")[1]}var R={top:"auto",right:"auto",bottom:"auto",left:"auto"};function T(t){var n,e=t.popper,u=t.popperRect,f=t.placement,c=t.variation,s=t.offsets,d=t.position,l=t.gpuAcceleration,v=t.adaptive,h=t.roundOffsets,b=!0===h?function(t){var n=t.y,e=window.devicePixelRatio||1;return{x:S(S(t.x*e)/e)||0,y:S(S(n*e)/e)||0}}(s):"function"==typeof h?h(s):s,m=b.x,w=void 0===m?0:m,y=b.y,x=void 0===y?0:y,j=s.hasOwnProperty("x"),k=s.hasOwnProperty("y"),B=a,L=r,E=window;if(v){var q=M(e),H="clientHeight",P="clientWidth";q===p(e)&&"static"!==g(q=O(e)).position&&"absolute"===d&&(H="scrollHeight",P="scrollWidth"),q=q,f!==r&&(f!==a&&f!==i||"end"!==c)||(L=o,x-=q[H]-u.height,x*=l?1:-1),f!==a&&(f!==r&&f!==o||"end"!==c)||(B=i,w-=q[P]-u.width,w*=l?1:-1)}var W,T=Object.assign({position:d},v&&R);return Object.assign({},T,l?((W={})[L]=k?"0":"",W[B]=j?"0":"",W.transform=(E.devicePixelRatio||1)<=1?"translate("+w+"px, "+x+"px)":"translate3d("+w+"px, "+x+"px, 0)",W):((n={})[L]=k?x+"px":"",n[B]=j?w+"px":"",n.transform="",n))}var D={passive:!0},z={left:"right",right:"left",bottom:"top",top:"bottom"};function C(t){return t.replace(/left|right|bottom|top/g,(function(t){return z[t]}))}var I={start:"end",end:"start"};function A(t){return t.replace(/start|end/g,(function(t){return I[t]}))}function V(t){var n=p(t);return{scrollLeft:n.pageXOffset,scrollTop:n.pageYOffset}}function Y(t){return m(O(t)).left+V(t).scrollLeft}function _(t){var n=g(t);return/auto|scroll|overlay|hidden/.test(n.overflow+n.overflowY+n.overflowX)}function U(t){return["html","body","#document"].indexOf(d(t))>=0?t.ownerDocument.body:v(t)&&_(t)?t:U(j(t))}function F(t,n){var e;void 0===n&&(n=[]);var r=U(t),o=r===(null==(e=t.ownerDocument)?void 0:e.body),i=p(r),a=o?[i].concat(i.visualViewport||[],_(r)?r:[]):r,u=n.concat(a);return o?u:u.concat(F(j(a)))}function G(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function J(t,n){return"viewport"===n?G(function(t){var n=p(t),e=O(t),r=n.visualViewport,o=e.clientWidth,i=e.clientHeight,a=0,u=0;return r&&(o=r.width,i=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(a=r.offsetLeft,u=r.offsetTop)),{width:o,height:i,x:a+Y(t),y:u}}(t)):v(n)?function(t){var n=m(t);return n.top=n.top+t.clientTop,n.left=n.left+t.clientLeft,n.bottom=n.top+t.clientHeight,n.right=n.left+t.clientWidth,n.width=t.clientWidth,n.height=t.clientHeight,n.x=n.left,n.y=n.top,n}(n):G(function(t){var n,e=O(t),r=V(t),o=null==(n=t.ownerDocument)?void 0:n.body,i=L(e.scrollWidth,e.clientWidth,o?o.scrollWidth:0,o?o.clientWidth:0),a=L(e.scrollHeight,e.clientHeight,o?o.scrollHeight:0,o?o.clientHeight:0),u=-r.scrollLeft+Y(t),f=-r.scrollTop;return"rtl"===g(o||e).direction&&(u+=L(e.clientWidth,o?o.clientWidth:0)-i),{width:i,height:a,x:u,y:f}}(O(t)))}function K(t){var n,e=t.reference,u=t.element,f=t.placement,c=f?b(f):null,s=f?W(f):null,d=e.x+e.width/2-u.width/2,p=e.y+e.height/2-u.height/2;switch(c){case r:n={x:d,y:e.y-u.height};break;case o:n={x:d,y:e.y+e.height};break;case i:n={x:e.x+e.width,y:p};break;case a:n={x:e.x-u.width,y:p};break;default:n={x:e.x,y:e.y}}var l=c?B(c):null;if(null!=l){var v="y"===l?"height":"width";switch(s){case"start":n[l]=n[l]-(e[v]/2-u[v]/2);break;case"end":n[l]=n[l]+(e[v]/2-u[v]/2)}}return n}function N(t,n){void 0===n&&(n={});var e=n.placement,a=void 0===e?t.placement:e,f=n.boundary,c=void 0===f?"clippingParents":f,s=n.rootBoundary,p=void 0===s?"viewport":s,h=n.elementContext,b=void 0===h?"popper":h,w=n.altBoundary,x=void 0!==w&&w,k=n.padding,B=void 0===k?0:k,S=H("number"!=typeof B?B:P(B,u)),q=t.rects.popper,W=t.elements[x?"popper"===b?"reference":"popper":b],R=function(t,n,e){var r="clippingParents"===n?function(t){var n=F(j(t)),e=["absolute","fixed"].indexOf(g(t).position)>=0&&v(t)?M(t):t;return l(e)?n.filter((function(t){return l(t)&&y(t,e)&&"body"!==d(t)})):[]}(t):[].concat(n),o=[].concat(r,[e]),i=o.reduce((function(n,e){var r=J(t,e);return n.top=L(r.top,n.top),n.right=E(r.right,n.right),n.bottom=E(r.bottom,n.bottom),n.left=L(r.left,n.left),n}),J(t,o[0]));return i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}(l(W)?W:W.contextElement||O(t.elements.popper),c,p),T=m(t.elements.reference),D=K({reference:T,element:q,strategy:"absolute",placement:a}),z=G(Object.assign({},q,D)),C="popper"===b?z:T,I={top:R.top-C.top+S.top,bottom:C.bottom-R.bottom+S.bottom,left:R.left-C.left+S.left,right:C.right-R.right+S.right},A=t.modifiersData.offset;if("popper"===b&&A){var V=A[a];Object.keys(I).forEach((function(t){var n=[i,o].indexOf(t)>=0?1:-1,e=[r,o].indexOf(t)>=0?"y":"x";I[t]+=V[e]*n}))}return I}function Q(t,n){void 0===n&&(n={});var e=n.boundary,r=n.rootBoundary,o=n.padding,i=n.flipVariations,a=n.allowedAutoPlacements,s=void 0===a?c:a,d=W(n.placement),p=d?i?f:f.filter((function(t){return W(t)===d})):u,l=p.filter((function(t){return s.indexOf(t)>=0}));0===l.length&&(l=p);var v=l.reduce((function(n,i){return n[i]=N(t,{placement:i,boundary:e,rootBoundary:r,padding:o})[b(i)],n}),{});return Object.keys(v).sort((function(t,n){return v[t]-v[n]}))}function X(t,n,e){return void 0===e&&(e={x:0,y:0}),{top:t.top-n.height-e.y,right:t.right-n.width+e.x,bottom:t.bottom-n.height+e.y,left:t.left-n.width-e.x}}function Z(t){return[r,i,o,a].some((function(n){return t[n]>=0}))}function $(t,n,e){void 0===e&&(e=!1);var r=v(n);v(n)&&function(t){t.getBoundingClientRect()}(n);var o,i,a=O(n),u=m(t),f={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(r||!r&&!e)&&(("body"!==d(n)||_(a))&&(f=(o=n)!==p(o)&&v(o)?{scrollLeft:(i=o).scrollLeft,scrollTop:i.scrollTop}:V(o)),v(n)?((c=m(n)).x+=n.clientLeft,c.y+=n.clientTop):a&&(c.x=Y(a))),{x:u.left+f.scrollLeft-c.x,y:u.top+f.scrollTop-c.y,width:u.width,height:u.height}}function tt(t){var n=new Map,e=new Set,r=[];function o(t){e.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!e.has(t)){var r=n.get(t);r&&o(r)}})),r.push(t)}return t.forEach((function(t){n.set(t.name,t)})),t.forEach((function(t){e.has(t.name)||o(t)})),r}var nt={placement:"bottom",modifiers:[],strategy:"absolute"};function et(){for(var t=arguments.length,n=new Array(t),e=0;e<t;e++)n[e]=arguments[e];return!n.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function rt(t){void 0===t&&(t={});var n=t.defaultModifiers,e=void 0===n?[]:n,r=t.defaultOptions,o=void 0===r?nt:r;return function(t,n,r){void 0===r&&(r=o);var i,a,u={placement:"bottom",orderedModifiers:[],options:Object.assign({},nt,o),modifiersData:{},elements:{reference:t,popper:n},attributes:{},styles:{}},f=[],c=!1,d={state:u,setOptions:function(r){var i="function"==typeof r?r(u.options):r;p(),u.options=Object.assign({},o,u.options,i),u.scrollParents={reference:l(t)?F(t):t.contextElement?F(t.contextElement):[],popper:F(n)};var a,c,v=function(t){var n=tt(t);return s.reduce((function(t,e){return t.concat(n.filter((function(t){return t.phase===e})))}),[])}((a=[].concat(e,u.options.modifiers),c=a.reduce((function(t,n){var e=t[n.name];return t[n.name]=e?Object.assign({},e,n,{options:Object.assign({},e.options,n.options),data:Object.assign({},e.data,n.data)}):n,t}),{}),Object.keys(c).map((function(t){return c[t]}))));return u.orderedModifiers=v.filter((function(t){return t.enabled})),u.orderedModifiers.forEach((function(t){var n=t.options,e=t.effect;if("function"==typeof e){var r=e({state:u,name:t.name,instance:d,options:void 0===n?{}:n});f.push(r||function(){})}})),d.update()},forceUpdate:function(){if(!c){var t=u.elements,n=t.reference,e=t.popper;if(et(n,e)){u.rects={reference:$(n,M(e),"fixed"===u.options.strategy),popper:w(e)},u.reset=!1,u.placement=u.options.placement,u.orderedModifiers.forEach((function(t){return u.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<u.orderedModifiers.length;r++)if(!0!==u.reset){var o=u.orderedModifiers[r],i=o.fn,a=o.options;"function"==typeof i&&(u=i({state:u,options:void 0===a?{}:a,name:o.name,instance:d})||u)}else u.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){d.forceUpdate(),t(u)}))},function(){return a||(a=new Promise((function(t){Promise.resolve().then((function(){a=void 0,t(i())}))}))),a}),destroy:function(){p(),c=!0}};if(!et(t,n))return d;function p(){f.forEach((function(t){return t()})),f=[]}return d.setOptions(r).then((function(t){!c&&r.onFirstUpdate&&r.onFirstUpdate(t)})),d}}var ot=rt({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var n=t.state,e=t.instance,r=t.options,o=r.scroll,i=void 0===o||o,a=r.resize,u=void 0===a||a,f=p(n.elements.popper),c=[].concat(n.scrollParents.reference,n.scrollParents.popper);return i&&c.forEach((function(t){t.addEventListener("scroll",e.update,D)})),u&&f.addEventListener("resize",e.update,D),function(){i&&c.forEach((function(t){t.removeEventListener("scroll",e.update,D)})),u&&f.removeEventListener("resize",e.update,D)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var n=t.state;n.modifiersData[t.name]=K({reference:n.rects.reference,element:n.rects.popper,strategy:"absolute",placement:n.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var n=t.state,e=t.options,r=e.gpuAcceleration,o=void 0===r||r,i=e.adaptive,a=void 0===i||i,u=e.roundOffsets,f=void 0===u||u,c={placement:b(n.placement),variation:W(n.placement),popper:n.elements.popper,popperRect:n.rects.popper,gpuAcceleration:o};null!=n.modifiersData.popperOffsets&&(n.styles.popper=Object.assign({},n.styles.popper,T(Object.assign({},c,{offsets:n.modifiersData.popperOffsets,position:n.options.strategy,adaptive:a,roundOffsets:f})))),null!=n.modifiersData.arrow&&(n.styles.arrow=Object.assign({},n.styles.arrow,T(Object.assign({},c,{offsets:n.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:f})))),n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-placement":n.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var n=t.state;Object.keys(n.elements).forEach((function(t){var e=n.styles[t]||{},r=n.attributes[t]||{},o=n.elements[t];v(o)&&d(o)&&(Object.assign(o.style,e),Object.keys(r).forEach((function(t){var n=r[t];!1===n?o.removeAttribute(t):o.setAttribute(t,!0===n?"":n)})))}))},effect:function(t){var n=t.state,e={popper:{position:n.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(n.elements.popper.style,e.popper),n.styles=e,n.elements.arrow&&Object.assign(n.elements.arrow.style,e.arrow),function(){Object.keys(n.elements).forEach((function(t){var r=n.elements[t],o=n.attributes[t]||{},i=Object.keys(n.styles.hasOwnProperty(t)?n.styles[t]:e[t]).reduce((function(t,n){return t[n]="",t}),{});v(r)&&d(r)&&(Object.assign(r.style,i),Object.keys(o).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var n=t.state,e=t.name,o=t.options.offset,u=void 0===o?[0,0]:o,f=c.reduce((function(t,e){return t[e]=function(t,n,e){var o=b(t),u=[a,r].indexOf(o)>=0?-1:1,f="function"==typeof e?e(Object.assign({},n,{placement:t})):e,c=f[0],s=f[1];return c=c||0,s=(s||0)*u,[a,i].indexOf(o)>=0?{x:s,y:c}:{x:c,y:s}}(e,n.rects,u),t}),{}),s=f[n.placement],d=s.y;null!=n.modifiersData.popperOffsets&&(n.modifiersData.popperOffsets.x+=s.x,n.modifiersData.popperOffsets.y+=d),n.modifiersData[e]=f}},{name:"flip",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,u=t.name;if(!n.modifiersData[u]._skip){for(var f=e.mainAxis,c=void 0===f||f,s=e.altAxis,d=void 0===s||s,p=e.fallbackPlacements,l=e.padding,v=e.boundary,h=e.rootBoundary,m=e.altBoundary,w=e.flipVariations,y=void 0===w||w,g=e.allowedAutoPlacements,x=n.options.placement,O=b(x),j=p||(O!==x&&y?function(t){if("auto"===b(t))return[];var n=C(t);return[A(t),n,A(n)]}(x):[C(x)]),k=[x].concat(j).reduce((function(t,e){return t.concat("auto"===b(e)?Q(n,{placement:e,boundary:v,rootBoundary:h,padding:l,flipVariations:y,allowedAutoPlacements:g}):e)}),[]),M=n.rects.reference,B=n.rects.popper,L=new Map,E=!0,S=k[0],q=0;q<k.length;q++){var H=k[q],P=b(H),R="start"===W(H),T=[r,o].indexOf(P)>=0,D=T?"width":"height",z=N(n,{placement:H,boundary:v,rootBoundary:h,altBoundary:m,padding:l}),I=T?R?i:a:R?o:r;M[D]>B[D]&&(I=C(I));var V=C(I),Y=[];if(c&&Y.push(z[P]<=0),d&&Y.push(z[I]<=0,z[V]<=0),Y.every((function(t){return t}))){S=H,E=!1;break}L.set(H,Y)}if(E)for(var _=function(t){var n=k.find((function(n){var e=L.get(n);if(e)return e.slice(0,t).every((function(t){return t}))}));if(n)return S=n,"break"},U=y?3:1;U>0&&"break"!==_(U);U--);n.placement!==S&&(n.modifiersData[u]._skip=!0,n.placement=S,n.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var n=t.state,e=t.options,u=t.name,f=e.mainAxis,c=void 0===f||f,s=e.altAxis,d=void 0!==s&&s,p=e.tether,l=void 0===p||p,v=e.tetherOffset,h=void 0===v?0:v,m=N(n,{boundary:e.boundary,rootBoundary:e.rootBoundary,padding:e.padding,altBoundary:e.altBoundary}),y=b(n.placement),g=W(n.placement),x=!g,O=B(y),j="x"===O?"y":"x",k=n.modifiersData.popperOffsets,S=n.rects.reference,H=n.rects.popper,P="function"==typeof h?h(Object.assign({},n.rects,{placement:n.placement})):h,R={x:0,y:0};if(k){if(c||d){var T="y"===O?r:a,D="y"===O?o:i,z="y"===O?"height":"width",C=k[O],I=k[O]+m[T],A=k[O]-m[D],V=l?-H[z]/2:0,Y="start"===g?S[z]:H[z],_="start"===g?-H[z]:-S[z],U=n.elements.arrow,F=l&&U?w(U):{width:0,height:0},G=n.modifiersData["arrow#persistent"]?n.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=G[T],K=G[D],Q=q(0,S[z],F[z]),X=x?S[z]/2-V-Q-J-P:Y-Q-J-P,Z=x?-S[z]/2+V+Q+K+P:_+Q+K+P,$=n.elements.arrow&&M(n.elements.arrow),tt=n.modifiersData.offset?n.modifiersData.offset[n.placement][O]:0,nt=k[O]+X-tt-($?"y"===O?$.clientTop||0:$.clientLeft||0:0),et=k[O]+Z-tt;if(c){var rt=q(l?E(I,nt):I,C,l?L(A,et):A);k[O]=rt,R[O]=rt-C}if(d){var ot=k[j],it=ot+m["x"===O?r:a],at=ot-m["x"===O?o:i],ut=q(l?E(it,nt):it,ot,l?L(at,et):at);k[j]=ut,R[j]=ut-ot}}n.modifiersData[u]=R}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(t){var n,e=t.state,f=t.name,c=t.options,s=e.elements.arrow,d=e.modifiersData.popperOffsets,p=b(e.placement),l=B(p),v=[a,i].indexOf(p)>=0?"height":"width";if(s&&d){var h=function(t,n){return H("number"!=typeof(t="function"==typeof t?t(Object.assign({},n.rects,{placement:n.placement})):t)?t:P(t,u))}(c.padding,e),m=w(s),y="y"===l?r:a,g="y"===l?o:i,x=e.rects.reference[v]+e.rects.reference[l]-d[l]-e.rects.popper[v],O=d[l]-e.rects.reference[l],j=M(s),k=j?"y"===l?j.clientHeight||0:j.clientWidth||0:0,L=k/2-m[v]/2+(x/2-O/2),E=q(h[y],L,k-m[v]-h[g]);e.modifiersData[f]=((n={})[l]=E,n.centerOffset=E-L,n)}},effect:function(t){var n=t.state,e=t.options.element,r=void 0===e?"[data-popper-arrow]":e;null!=r&&("string"!=typeof r||(r=n.elements.popper.querySelector(r)))&&y(n.elements.popper,r)&&(n.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var n=t.state,e=t.name,r=n.rects.reference,o=n.rects.popper,i=n.modifiersData.preventOverflow,a=N(n,{elementContext:"reference"}),u=N(n,{altBoundary:!0}),f=X(a,r),c=X(u,o,i),s=Z(f),d=Z(c);n.modifiersData[e]={referenceClippingOffsets:f,popperEscapeOffsets:c,isReferenceHidden:s,hasPopperEscaped:d},n.attributes.popper=Object.assign({},n.attributes.popper,{"data-popper-reference-hidden":s,"data-popper-escaped":d})}}]});let it=class{constructor(e){t(this,e),this.optionSelected=n(this,"optionSelected",7),this.options=[]}componentWillLoad(){this.isOpen=!!this.open}componentDidLoad(){this.popper=ot(this.dropdownButton,this.dropdownMenu,{placement:"bottom-start",modifiers:[{name:"offset",options:{offset:[0,10]}}]})}handleSelectOption(t){this.isOpen=!1,this.optionSelected.emit(t)}showDropdown(){var t,n;this.isOpen=!0,this.dropdownMenu.setAttribute("data-show",""),this.dropdownMenu.removeAttribute("aria-hidden"),null===(t=this.popper)||void 0===t||t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!0}]}))),null===(n=this.popper)||void 0===n||n.update()}hideDropdown(){var t;this.isOpen=!1,this.dropdownMenu.removeAttribute("data-show"),this.dropdownMenu.setAttribute("aria-hidden","true"),null===(t=this.popper)||void 0===t||t.setOptions((t=>({...t,modifiers:[...t.modifiers,{name:"eventListeners",enabled:!1}]})))}toggleDropdown(){this.isOpen?this.hideDropdown():this.showDropdown()}render(){var t;return e("div",{class:{open:!!this.isOpen}},e("button",{class:"arrow",innerHTML:'<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',"aria-label":"Open Menu",onClick:()=>this.toggleDropdown(),onBlur:()=>this.hideDropdown(),ref:t=>this.dropdownButton=t}),e("div",{class:"items","aria-hidden":!this.open,ref:t=>this.dropdownMenu=t},null===(t=this.options)||void 0===t?void 0:t.map((t=>e("button",{onClick:()=>this.handleSelectOption(t),class:"option",disabled:t.disabled},t.label)))))}};it.style="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}";export{it as dropdown_menu}
@@ -1 +0,0 @@
1
- import{r as e,h as p}from"./p-89be87e5.js";let o=class{constructor(p){e(this,p)}render(){var e,o,s,l,i,n;return p("div",{class:"container"},p("span",{class:"icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><rect fill="none" height="24" width="24"/><g><path d="M4,13c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2s-2,0.9-2,2C2,12.1,2.9,13,4,13z M5.13,14.1C4.76,14.04,4.39,14,4,14 c-0.99,0-1.93,0.21-2.78,0.58C0.48,14.9,0,15.62,0,16.43V18l4.5,0v-1.61C4.5,15.56,4.73,14.78,5.13,14.1z M20,13c1.1,0,2-0.9,2-2 c0-1.1-0.9-2-2-2s-2,0.9-2,2C18,12.1,18.9,13,20,13z M24,16.43c0-0.81-0.48-1.53-1.22-1.85C21.93,14.21,20.99,14,20,14 c-0.39,0-0.76,0.04-1.13,0.1c0.4,0.68,0.63,1.46,0.63,2.29V18l4.5,0V16.43z M16.24,13.65c-1.17-0.52-2.61-0.9-4.24-0.9 c-1.63,0-3.07,0.39-4.24,0.9C6.68,14.13,6,15.21,6,16.39V18h12v-1.61C18,15.21,17.32,14.13,16.24,13.65z M8.07,16 c0.09-0.23,0.13-0.39,0.91-0.69c0.97-0.38,1.99-0.56,3.02-0.56s2.05,0.18,3.02,0.56c0.77,0.3,0.81,0.46,0.91,0.69H8.07z M12,8 c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S11.45,8,12,8 M12,6c-1.66,0-3,1.34-3,3c0,1.66,1.34,3,3,3s3-1.34,3-3 C15,7.34,13.66,6,12,6L12,6z"/></g></svg>'}),p("span",{class:"content"},null===(e=this.organization)||void 0===e?void 0:e.name),p("div",{class:"popup"},p("div",{class:"popup-header"},p("span",{class:"status"}),p("span",{class:"title"},null===(o=this.organization)||void 0===o?void 0:o.name)),p("div",{class:"popup-body"},p("span",{class:"joined"},p("b",null,"Joined")," ",null===(s=this.organization)||void 0===s?void 0:s.created_at),p("span",{class:"followers"},p("b",null,"Followers")," ",null===(l=this.organization)||void 0===l?void 0:l.followers),p("span",{class:"website"},p("b",null,"Website")),p("span",{class:"templates"},p("b",null,"Templates")," ",null===(i=this.organization)||void 0===i?void 0:i.templates),p("span",null,null===(n=this.organization)||void 0===n?void 0:n.website))))}};o.style="org-popup{font-family:sans-serif;font-family:var(--verdocs-font)}org-popup .container{width:242px;height:64px;background-color:#33364b;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}org-popup .container:hover>.popup{display:-ms-flexbox;display:flex;background:#ffffff;color:#33364b}org-popup .icon{-ms-flex:1;flex:1;margin-left:15px;margin-right:0px}org-popup .icon svg{width:24px;margin-bottom:-5px}org-popup .content{color:#fff;-ms-flex:4;flex:4;font-family:sans-serif}org-popup .popup{position:absolute;top:-1px;left:-4px;display:none;border:1px solid var(--verdocs-background-dark);border-radius:10px;width:326px;height:220px;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-family:sans-serif}org-popup .popup-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;width:242px;height:69px;-ms-flex-pack:justify;justify-content:space-between;font-size:21px;color:#4c56cb}org-popup .popup-body{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:256.2px;height:95px;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-size:13px;text-transform:uppercase}org-popup .popup-body span{display:block;-ms-flex:2 80px;flex:2 80px;margin-left:7px}org-popup .popup-body span:last-child{margin-top:5px}org-popup .status{width:29px;height:29px;background-color:#aeb4bf;border-radius:50%}";export{o as org_popup}
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js"],(function(e){"use strict";var o,p;return{setters:[function(e){o=e.r;p=e.h}],execute:function(){var s='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><rect fill="none" height="24" width="24"/><g><path d="M4,13c1.1,0,2-0.9,2-2c0-1.1-0.9-2-2-2s-2,0.9-2,2C2,12.1,2.9,13,4,13z M5.13,14.1C4.76,14.04,4.39,14,4,14 c-0.99,0-1.93,0.21-2.78,0.58C0.48,14.9,0,15.62,0,16.43V18l4.5,0v-1.61C4.5,15.56,4.73,14.78,5.13,14.1z M20,13c1.1,0,2-0.9,2-2 c0-1.1-0.9-2-2-2s-2,0.9-2,2C18,12.1,18.9,13,20,13z M24,16.43c0-0.81-0.48-1.53-1.22-1.85C21.93,14.21,20.99,14,20,14 c-0.39,0-0.76,0.04-1.13,0.1c0.4,0.68,0.63,1.46,0.63,2.29V18l4.5,0V16.43z M16.24,13.65c-1.17-0.52-2.61-0.9-4.24-0.9 c-1.63,0-3.07,0.39-4.24,0.9C6.68,14.13,6,15.21,6,16.39V18h12v-1.61C18,15.21,17.32,14.13,16.24,13.65z M8.07,16 c0.09-0.23,0.13-0.39,0.91-0.69c0.97-0.38,1.99-0.56,3.02-0.56s2.05,0.18,3.02,0.56c0.77,0.3,0.81,0.46,0.91,0.69H8.07z M12,8 c0.55,0,1,0.45,1,1s-0.45,1-1,1s-1-0.45-1-1S11.45,8,12,8 M12,6c-1.66,0-3,1.34-3,3c0,1.66,1.34,3,3,3s3-1.34,3-3 C15,7.34,13.66,6,12,6L12,6z"/></g></svg>';var i="org-popup{font-family:sans-serif;font-family:var(--verdocs-font)}org-popup .container{width:242px;height:64px;background-color:#33364b;position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}org-popup .container:hover>.popup{display:-ms-flexbox;display:flex;background:#ffffff;color:#33364b}org-popup .icon{-ms-flex:1;flex:1;margin-left:15px;margin-right:0px}org-popup .icon svg{width:24px;margin-bottom:-5px}org-popup .content{color:#fff;-ms-flex:4;flex:4;font-family:sans-serif}org-popup .popup{position:absolute;top:-1px;left:-4px;display:none;border:1px solid var(--verdocs-background-dark);border-radius:10px;width:326px;height:220px;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-family:sans-serif}org-popup .popup-header{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-align:center;align-items:center;width:242px;height:69px;-ms-flex-pack:justify;justify-content:space-between;font-size:21px;color:#4c56cb}org-popup .popup-body{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;width:256.2px;height:95px;-ms-flex-pack:space-evenly;justify-content:space-evenly;font-size:13px;text-transform:uppercase}org-popup .popup-body span{display:block;-ms-flex:2 80px;flex:2 80px;margin-left:7px}org-popup .popup-body span:last-child{margin-top:5px}org-popup .status{width:29px;height:29px;background-color:#aeb4bf;border-radius:50%}";var n=e("org_popup",function(){function e(e){o(this,e)}e.prototype.render=function(){var e,o,i,n,t,l;return p("div",{class:"container"},p("span",{class:"icon",innerHTML:s}),p("span",{class:"content"},(e=this.organization)===null||e===void 0?void 0:e.name),p("div",{class:"popup"},p("div",{class:"popup-header"},p("span",{class:"status"}),p("span",{class:"title"},(o=this.organization)===null||o===void 0?void 0:o.name)),p("div",{class:"popup-body"},p("span",{class:"joined"},p("b",null,"Joined")," ",(i=this.organization)===null||i===void 0?void 0:i.created_at),p("span",{class:"followers"},p("b",null,"Followers")," ",(n=this.organization)===null||n===void 0?void 0:n.followers),p("span",{class:"website"},p("b",null,"Website")),p("span",{class:"templates"},p("b",null,"Templates")," ",(t=this.organization)===null||t===void 0?void 0:t.templates),p("span",null,(l=this.organization)===null||l===void 0?void 0:l.website))))};return e}());n.style=i}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js"],(function(e){"use strict";var r,t,o,n;return{setters:[function(e){r=e.r;t=e.c;o=e.h;n=e.H}],execute:function(){var i='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M23.4809 20.7176L17.9111 15.2536C19.0961 13.6368 19.727 11.6926 19.7128 9.70131C19.7201 7.53345 18.9846 5.42606 17.6244 3.71753C16.2642 2.009 14.3581 0.798456 12.2123 0.280282C10.0665 -0.237892 7.80552 -0.0336342 5.79227 0.86026C3.77902 1.75415 2.13038 3.28582 1.1111 5.20931C0.0918114 7.1328 -0.238985 9.33652 0.171813 11.4666C0.582612 13.5967 1.71117 15.5296 3.37628 16.9548C5.0414 18.3801 7.14646 19.2151 9.35344 19.3257C11.5604 19.4364 13.7413 18.8162 15.5458 17.5649L21.1372 23.05L21.1563 23.0663C21.4841 23.3487 21.9039 23.507 22.3401 23.5128C22.7823 23.5125 23.2063 23.3402 23.5191 23.0337V23.0337C23.6749 22.8812 23.7979 22.6995 23.8804 22.4993C23.963 22.2991 24.0036 22.0847 23.9997 21.8688C23.9959 21.6529 23.9477 21.44 23.858 21.2428C23.7683 21.0456 23.639 20.8682 23.4778 20.7212L23.4809 20.7176ZM14.5167 14.1975C13.4564 15.2349 12.0623 15.8797 10.5719 16.022C9.08145 16.1644 7.58681 15.7955 6.34249 14.9781C5.09816 14.1608 4.18109 12.9456 3.74751 11.5395C3.31393 10.1334 3.39064 8.6233 3.96455 7.26643C4.53846 5.90955 5.57409 4.7898 6.89507 4.09787C8.21606 3.40594 9.74071 3.18461 11.2093 3.4716C12.678 3.75858 13.9998 4.53612 14.9497 5.6718C15.8996 6.80748 16.4188 8.23105 16.4189 9.7001C16.4196 10.5357 16.2519 11.3632 15.9254 12.135C15.599 12.9069 15.1202 13.6078 14.5167 14.1975V14.1975Z" fill="white"/>\n</svg>\n';var s='<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">\n<path d="M14.0739 11.7565L19.7127 6.23228C20.0875 5.85692 20.0875 5.25309 19.7127 4.87773L19.0213 4.20046C18.6382 3.82511 18.0219 3.82511 17.6387 4.20046L12 9.72472L6.36127 4.20046C5.97814 3.82511 5.36179 3.82511 4.97866 4.20046L4.28735 4.87773C3.90422 5.25309 3.90422 5.85692 4.28735 6.23228L9.92608 11.7565L4.28735 17.2808C3.90422 17.6561 3.90422 18.26 4.28735 18.6353L4.97866 19.3126C5.36179 19.688 5.97814 19.688 6.36127 19.3126L12 13.7883L17.6387 19.3126C18.0219 19.688 18.6382 19.688 19.0213 19.3126L19.7127 18.6353C20.0958 18.26 20.0958 17.6561 19.7127 17.2808L14.0739 11.7565Z" fill="white"/>\n</svg>\n';var a="search-box{font-family:sans-serif;font-family:var(--verdocs-font)}search-box form{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;height:45px;-webkit-box-sizing:border-box;box-sizing:border-box;margin:5px 0 0;border-radius:5px;-ms-flex-align:center;align-items:center;background-color:#fff;padding:0 8px;border-width:1px;border-style:solid;border-color:var(--verdocs-container-border-color)}search-box form input{-webkit-box-sizing:border-box;box-sizing:border-box;height:43px;width:100%;font-size:18px;border:none}search-box form button.search{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:4px;border:none;width:100px;height:28px;font-weight:700;font-size:10px;letter-spacing:1px;background-color:#50be80;text-transform:uppercase;color:#fff}search-box form .type{background-color:#707ae5;height:30px;display:-ms-inline-flexbox;display:inline-flex;padding:1px 0 2px 10px;font-size:13px;line-height:16px;border-radius:4px;-ms-flex-pack:center;justify-content:center;text-transform:uppercase;-ms-flex-align:center;align-items:center;-ms-flex-direction:row;flex-direction:row;color:#fff;margin-right:10px}search-box form .type button{border:none;color:#fff;margin:5px 0 0 8px;background:transparent}search-box form svg{width:12px;height:12px;margin-right:6px}search-box ::-webkit-input-placeholder{color:#aeb4bf}search-box ::-moz-placeholder{color:#aeb4bf}search-box :-ms-input-placeholder{color:#aeb4bf}search-box ::-ms-input-placeholder{color:#aeb4bf}search-box ::placeholder{color:#aeb4bf}";var l=e("search_box",function(){function e(e){r(this,e);this.search=t(this,"search",7);this.type="all"}e.prototype.handleSubmit=function(e){e.preventDefault();this.search.emit({type:this.type,q:this.q})};e.prototype.handleChange=function(e){this.q=e.target.value};e.prototype.render=function(){var e=this;return o(n,null,o("form",{onSubmit:function(r){return e.handleSubmit(r)}},this.type!==undefined&&this.type!=="all"&&o("span",{class:"type"},this.type,"s ",o("button",{class:"remove",innerHTML:s})),o("input",{type:"text",placeholder:"search documents, templates, people...",value:this.q,onInput:function(r){return e.handleChange(r)}}),o("button",{onClick:function(r){return e.handleSubmit(r)},class:"search"},o("span",{innerHTML:i}),"Search")))};return e}());l.style=a}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h;r=t.H}],execute:function(){var s=":host{display:block}";var u=t("search_embed",function(){function t(t){e(this,t)}t.prototype.render=function(){return n(r,null,n("slot",null))};return t}());u.style=s}}}));
@@ -1 +0,0 @@
1
- import{r as s,h as r,H as e}from"./p-89be87e5.js";let l=class{constructor(r){s(this,r)}render(){return r(e,null,r("slot",null))}};l.style=":host{display:block}";export{l as search_embed}
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js","./p-33f73371.system.js"],(function(e){"use strict";var t,n,s,r,a;return{setters:[function(e){t=e.r;n=e.c;s=e.h;r=e.H},function(e){a=e.g}],execute:function(){var i='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var o="search-saved{font-family:sans-serif;font-family:var(--verdocs-font)}search-saved .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-saved .title{font-size:22px;font-weight:700;line-height:30px}search-saved .items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}search-saved .button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}search-saved .button:hover{cursor:pointer}search-saved .button:not(:last-child){margin-bottom:36px}search-saved .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-saved .empty{text-transform:none;line-height:22px;color:#ccc}";var l=e("search_saved",function(){function e(e){t(this,e);this.entrySelected=n(this,"entrySelected",7);this.limit=10;this.saved=[]}e.prototype.componentDidLoad=function(){var e=this;a().then((function(t){e.saved=t.saved})).catch((function(e){return console.warn("[Verdocs/search-saved] Error getting search history",e)}))};e.prototype.handleSelectEntry=function(e){this.entrySelected.emit(e)};e.prototype.render=function(){var e=this;return s(r,null,s("div",{class:"container"},s("p",{class:"title"},"Saved Searches"),s("div",{class:"items"},this.saved.slice(0,this.limit).map((function(t){return s("button",{class:"button",innerHTML:i,onClick:function(){return e.handleSelectEntry(t)}},t.name)})),this.saved.length<1&&s("div",{class:"empty"},"You do not have any saved searches."))))};return e}());l.style=o}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.r;n=e.h}],execute:function(){var r="tags-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}tags-indicator .container{width:270px;height:35px;background-color:#33364b;font-family:sans-serif;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:center;align-items:center;-ms-flex-pack:start;justify-content:flex-start}tags-indicator .tags{display:-ms-inline-flexbox;display:inline-flex;-webkit-box-sizing:border-box;box-sizing:border-box;-ms-flex-preferred-size:content;flex-basis:content;padding:7px 12px;margin:0 5px;height:28px;background-color:#f4f4f9;text-transform:uppercase;font-size:12px;font-weight:700;color:#33374a;border-radius:5px;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center}";var i=e("tags_indicator",function(){function e(e){t(this,e)}e.prototype.render=function(){var e;return n("div",{class:"container"},(e=this.tags)===null||e===void 0?void 0:e.map((function(e){return n("span",{class:"tags"},e)})))};return e}());i.style=r}}}));
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js"],(function(e){"use strict";var t,n;return{setters:[function(e){t=e.r;n=e.h}],execute:function(){var i='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z"/></svg>';var s='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z"/></svg>';var r='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z"/></svg>';var c='<svg xmlns="http://www.w3.org/2000/svg" enable-background="new 0 0 24 24" height="24px" viewBox="0 0 24 24" width="24px" fill="#ffffff"><g><rect fill="none" height="24" width="24"/></g><g><g><path d="M12,2C6.48,2,2,6.48,2,12c0,5.52,4.48,10,10,10s10-4.48,10-10C22,6.48,17.52,2,12,2z M12,20c-4.42,0-8-3.58-8-8 c0-4.42,3.58-8,8-8s8,3.58,8,8C20,16.42,16.42,20,12,20z"/><circle cx="7" cy="12" r="1.5"/><circle cx="12" cy="12" r="1.5"/><circle cx="17" cy="12" r="1.5"/></g></g></svg>';var a="document-status-indicator{font-family:sans-serif;font-family:var(--verdocs-font)}document-status-indicator .container{width:195px;height:72px;display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:nowrap;flex-wrap:nowrap;background-color:#33364b;font-family:sans-serif;-ms-flex-pack:center;justify-content:center;-ms-flex-align:center;align-items:center;font-size:16px;color:#ffffff}document-status-indicator .icon{margin-right:15px}document-status-indicator svg{height:24px;width:24px}";var f=e("document_status_indicator",function(){function e(e){t(this,e)}e.prototype.render=function(){var e;var t;switch(this.status){case"finished":e=r;t="Complete";break;case"complete":e=r;t="Complete";break;case"in-progress":e=c;t="In Progress";break;case"pending":e=c;t="Pending";break;case"cancelled":e=i;t="Cancelled";break;case"declined":e=s;t="Declined";break}return n("div",{class:"container"},n("span",{class:"icon",innerHTML:e}),n("span",{class:"content"},t))};return e}());f.style=a}}}));
@@ -1 +0,0 @@
1
- import{r as e,c as t,h as i,H as s}from"./p-89be87e5.js";let r=class{constructor(i){e(this,i),this.entrySelected=t(this,"entrySelected",7)}handleSelectEntry(e){this.entrySelected.emit(e)}computePagesText(e){return e<2?`${e} Page`:`${e} Pages`}computeRecipientsText(e){return"object"==typeof e?e.join(", "):e>1?`${e} Recipients`:`${e} Recipient`}render(){var e,t;return i(s,null,i("div",{class:"container"},i("p",{class:"title"},"My Starred Items"),i("div",{class:"items"},null===(e=this.options)||void 0===e?void 0:e.map((e=>i("button",{class:"item",onClick:()=>this.handleSelectEntry(e)},i("div",{class:"icon",innerHTML:'<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M8 16h8v2H8zm0-4h8v2H8zm6-10H6c-1.1 0-2 .9-2 2v16c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm4 18H6V4h7v5h5v11z"/></svg>'}),i("div",{class:"details"},i("div",{class:"item-title"},e.params.q),i("div",{class:"info"},e.pages?`${this.computePagesText(e.pages)} `:"",e.recipients?this.computeRecipientsText(e.recipients):""))))),((null===(t=this.options)||void 0===t?void 0:t.length)||[])<1&&i("div",{class:"empty"},"You do not have any starred items."))))}};r.style="search-starred{font-family:sans-serif;font-family:var(--verdocs-font)}search-starred .container{display:-ms-flexbox;display:flex;width:240px;color:#ffffff;-ms-flex-direction:column;flex-direction:column;text-transform:uppercase;padding:10px 10px 20px 10px;background-color:var(--verdocs-background-dark)}search-starred .title{font-size:22px;font-weight:700;line-height:30px}search-starred .items{display:-ms-flexbox;display:flex;margin-top:20px;-ms-flex-direction:column;flex-direction:column}search-starred .item{border:none;display:-ms-flexbox;display:flex;text-align:left;margin-bottom:20px;-ms-flex-direction:row;flex-direction:row;background:transparent}search-starred .item:hover{cursor:pointer}search-starred .icon{-ms-flex:0 0 22px;flex:0 0 22px;margin-right:14px}search-starred .icon svg{fill:#707ae5;width:22px;height:22px}search-starred .details{display:-ms-flexbox;display:flex;overflow:hidden;-ms-flex-direction:column;flex-direction:column}search-starred .item-title{font-size:16px;font-weight:400;color:#ffffff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}search-starred .info{font-size:14px;font-weight:500;line-height:23px;color:#aeb4bf}search-starred .empty{text-transform:none;line-height:22px;color:#ccc}";export{r as search_starred}
@@ -1 +0,0 @@
1
- System.register(["./p-cbc784a6.system.js","./p-33f73371.system.js"],(function(e){"use strict";var t,n,r,i,s;return{setters:[function(e){t=e.r;n=e.c;r=e.h;i=e.H},function(e){s=e.g}],execute:function(){var c='<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 0 24 24" width="24px" fill="#000000"><path d="M0 0h24v24H0V0z" fill="none"/><path d="M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"/></svg>';var o="search-recent{font-family:sans-serif;font-family:var(--verdocs-font)}search-recent .container{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;width:240px;background-color:var(--verdocs-background-dark);text-transform:uppercase;padding:10px 10px 20px 10px;font-family:sans-serif;color:#ffffff}search-recent .title{font-size:22px;font-weight:700;line-height:30px}search-recent .items{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-align:start;align-items:flex-start;margin-top:20px}search-recent .button{background:transparent;border:none;height:20px;font-size:16px;font-family:sans-serif;color:#ffffff;line-height:26px;display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center}search-recent .button:hover{cursor:pointer}search-recent .button:not(:last-child){margin-bottom:36px}search-recent .button svg{fill:#707ae5;width:28px;height:28px;margin-right:26px}search-recent .pill{font-size:14px;display:-ms-inline-flexbox;display:inline-flex;padding:3px 8px;border-radius:6px;margin-right:8px;background-color:#999999;color:#333}search-recent .empty{text-transform:none;line-height:22px;color:#ccc}";var a=e("search_recent",function(){function e(e){t(this,e);this.entrySelected=n(this,"entrySelected",7);this.limit=10;this.recent=[]}e.prototype.componentDidLoad=function(){var e=this;s().then((function(t){e.recent=t.recent})).catch((function(e){return console.warn("[Verdocs/search-recent] Error getting search history",e)}))};e.prototype.handleSelectEntry=function(e){this.entrySelected.emit(e)};e.prototype.render=function(){var e=this;return r(i,null,r("div",{class:"container"},r("p",{class:"title"},"Recent Searches"),r("div",{class:"items"},this.recent.slice(0,this.limit).map((function(t){return r("button",{class:"button",innerHTML:c,onClick:function(){return e.handleSelectEntry(t)}},t.params.type&&r("span",{class:"pill"},"type: ",t.params.type),t.params.q)})),this.recent.length<1&&r("div",{class:"empty"},"You do not have any recent searches."))))};return e}());a.style=o}}}));