@pod-os/elements 0.34.1-rc.b99fa4c.0 → 0.34.1-rc.f73863c.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/cjs/pos-add-literal-value_3.cjs.entry.js +1 -1
  2. package/dist/cjs/pos-add-new-thing_29.cjs.entry.js +16 -18
  3. package/dist/cjs/pos-app-generic.cjs.entry.js +1 -1
  4. package/dist/cjs/pos-app-ldp-container.cjs.entry.js +1 -1
  5. package/dist/cjs/pos-app-rdf-document.cjs.entry.js +1 -1
  6. package/dist/cjs/pos-container-item_3.cjs.entry.js +2 -2
  7. package/dist/cjs/pos-markdown-document.cjs.entry.js +1 -1
  8. package/dist/collection/apps/pos-app-dashboard/pos-app-dashboard.js +1 -4
  9. package/dist/collection/apps/pos-app-dashboard/pos-app-dashboard.js.map +1 -1
  10. package/dist/collection/apps/pos-app-dashboard/pos-example-resources/pos-example-resources.js +1 -1
  11. package/dist/collection/apps/pos-app-dashboard/pos-getting-started/pos-getting-started.js +1 -1
  12. package/dist/collection/apps/pos-app-generic/pos-app-generic.js +1 -1
  13. package/dist/collection/apps/pos-app-ldp-container/pos-app-ldp-container.js +1 -1
  14. package/dist/collection/apps/pos-app-rdf-document/pos-app-rdf-document.js +1 -1
  15. package/dist/collection/apps/pos-app-settings/pos-app-settings.js +1 -1
  16. package/dist/collection/apps/pos-app-settings/pos-setting-offline-cache/pos-setting-offline-cache.js +1 -1
  17. package/dist/collection/components/pos-add-new-thing/pos-add-new-thing.js +1 -1
  18. package/dist/collection/components/pos-container-contents/pos-container-toolbar/pos-container-toolbar.js +1 -1
  19. package/dist/collection/components/pos-container-contents/pos-create-new-container-item/pos-create-new-container-item.js +1 -1
  20. package/dist/collection/components/pos-dialog/pos-dialog.js +1 -1
  21. package/dist/collection/components/pos-error-toast/pos-error-toast.js +1 -1
  22. package/dist/collection/components/pos-literals/pos-literals.js +1 -1
  23. package/dist/collection/components/pos-login/pos-login.js +1 -1
  24. package/dist/collection/components/pos-login-form/pos-login-form.js +1 -1
  25. package/dist/collection/components/pos-markdown-document/pos-markdown-document.js +1 -1
  26. package/dist/collection/components/pos-navigation/bar/pos-navigation-bar.js +1 -1
  27. package/dist/collection/components/pos-navigation/pos-navigation.js +1 -1
  28. package/dist/collection/components/pos-new-thing-form/pos-new-thing-form.js +1 -1
  29. package/dist/collection/components/pos-router/pos-router.js +1 -1
  30. package/dist/collection/components/pos-select-term/pos-select-term.js +1 -1
  31. package/dist/collection/components/pos-upload/pos-upload.js +1 -1
  32. package/dist/components/pos-add-new-thing2.js +1 -1
  33. package/dist/components/pos-app-dashboard2.js +1 -4
  34. package/dist/components/pos-app-dashboard2.js.map +1 -1
  35. package/dist/components/pos-app-generic.js +1 -1
  36. package/dist/components/pos-app-ldp-container.js +1 -1
  37. package/dist/components/pos-app-rdf-document.js +1 -1
  38. package/dist/components/pos-app-settings2.js +1 -1
  39. package/dist/components/pos-container-toolbar2.js +1 -1
  40. package/dist/components/pos-create-new-container-item2.js +1 -1
  41. package/dist/components/pos-dialog2.js +1 -1
  42. package/dist/components/pos-error-toast2.js +1 -1
  43. package/dist/components/pos-example-resources2.js +1 -1
  44. package/dist/components/pos-getting-started2.js +1 -1
  45. package/dist/components/pos-literals2.js +1 -1
  46. package/dist/components/pos-login-form2.js +1 -1
  47. package/dist/components/pos-login2.js +1 -1
  48. package/dist/components/pos-markdown-document2.js +1 -1
  49. package/dist/components/pos-navigation-bar2.js +1 -1
  50. package/dist/components/pos-navigation2.js +1 -1
  51. package/dist/components/pos-new-thing-form2.js +1 -1
  52. package/dist/components/pos-router2.js +1 -1
  53. package/dist/components/pos-select-term2.js +1 -1
  54. package/dist/components/pos-setting-offline-cache2.js +1 -1
  55. package/dist/components/pos-upload2.js +1 -1
  56. package/dist/elements/elements.esm.js +1 -1
  57. package/dist/elements/p-3f4669c1.entry.js +2 -0
  58. package/dist/elements/{p-fd1e1303.entry.js → p-4b794053.entry.js} +2 -2
  59. package/dist/elements/p-5b1d2385.entry.js +2 -0
  60. package/dist/elements/{p-98268692.entry.js → p-626f5777.entry.js} +6 -6
  61. package/dist/elements/p-626f5777.entry.js.map +1 -0
  62. package/dist/elements/{p-cf711bb5.entry.js → p-651bb8ce.entry.js} +2 -2
  63. package/dist/elements/{p-37711fd4.entry.js → p-bcdbde5d.entry.js} +2 -2
  64. package/dist/elements/p-cd97614b.entry.js +2 -0
  65. package/dist/esm/pos-add-literal-value_3.entry.js +1 -1
  66. package/dist/esm/pos-add-new-thing_29.entry.js +16 -18
  67. package/dist/esm/pos-app-generic.entry.js +1 -1
  68. package/dist/esm/pos-app-ldp-container.entry.js +1 -1
  69. package/dist/esm/pos-app-rdf-document.entry.js +1 -1
  70. package/dist/esm/pos-container-item_3.entry.js +2 -2
  71. package/dist/esm/pos-markdown-document.entry.js +1 -1
  72. package/package.json +1 -1
  73. package/dist/elements/p-659b128e.entry.js +0 -2
  74. package/dist/elements/p-98268692.entry.js.map +0 -1
  75. package/dist/elements/p-b6bd2c13.entry.js +0 -2
  76. package/dist/elements/p-c3f423e3.entry.js +0 -2
  77. /package/dist/elements/{p-659b128e.entry.js.map → p-3f4669c1.entry.js.map} +0 -0
  78. /package/dist/elements/{p-fd1e1303.entry.js.map → p-4b794053.entry.js.map} +0 -0
  79. /package/dist/elements/{p-c3f423e3.entry.js.map → p-5b1d2385.entry.js.map} +0 -0
  80. /package/dist/elements/{p-cf711bb5.entry.js.map → p-651bb8ce.entry.js.map} +0 -0
  81. /package/dist/elements/{p-37711fd4.entry.js.map → p-bcdbde5d.entry.js.map} +0 -0
  82. /package/dist/elements/{p-b6bd2c13.entry.js.map → p-cd97614b.entry.js.map} +0 -0
@@ -1,4 +1,4 @@
1
- import{r as e,h as t,H as i,c as s,a as r,d as o,f as n}from"./p-CTyMYUsB.js";import{i as a,E as l,T as d,c,_ as p,n as u,S as h,x as f,d as m,r as Q,w as b,e as y,f as g}from"./p-BQSzBvyx.js";import{c as x,s as U,B}from"./p-CUu6JLQN.js";import{P as v,c as F,d as E}from"./p-D1zKFnHd.js";import{c as w}from"./p-vFMstSdt.js";import{L as S,e as D,s as R,a as k,g as L,b as N,w as C,S as V}from"./p-D0vX0PL3.js";import{a as I,i as T,t as z,e as P}from"./p-BENWPB03.js";import{s as J}from"./p-BW_CkW1K.js";import{s as G}from"./p-jlzl8vRd.js";import{u as M}from"./p-D0uCfr1-.js";const A=":host{font-family:var(--font-sans);display:block}button#new{cursor:pointer;display:flex;align-items:center;justify-content:center;border:none;width:var(--size-10);height:var(--size-10);background-color:var(--pos-primary-color);color:var(--pos-primary-text-color);font-size:var(--scale-6);border-radius:var(--radius-xs);padding:var(--size-2)}button#new:hover,button#new:focus{outline:none;filter:brightness(110%);box-shadow:var(--shadow-sm)}pos-new-thing-form{margin:var(--scale-3)}";const H=class{constructor(t){e(this,t)}openDialog(){this.dialog.showModal()}render(){return t(i,{key:"9a60547270fcc455679acdfe6de75da57e513b1f"},t("button",{key:"32a8ba00ef511587024c843663e281e2b6930c19",id:"new",title:"Add a new thing",onClick:()=>this.openDialog()},t("sl-icon",{key:"6faf99cef999b441410770b0509f5a8d6a10f7e9",name:"plus-circle"})),t("pos-dialog",{key:"f6cd827c19d3dfe33500f03e561f399e11d728ce",ref:e=>this.dialog=e},t("span",{key:"ff40b8f28a349a1ad6db11e2d427d74ea5fbd300",slot:"title"},"Add a new thing"),t("pos-new-thing-form",{key:"e48257160d78d025e6213bd61c4953261d4829c2",slot:"content",referenceUri:this.referenceUri})))}};H.style=A;const Z=localStorage.getItem("settings");const W=Z?JSON.parse(Z):{offlineCache:false};const _=x(W);O();j();function O(){_.on("set",(()=>{const e=JSON.stringify(_.state);localStorage.setItem("settings",e)}))}function j(){window.addEventListener("storage",(e=>{if(e.key==="settings"&&e.newValue){const t=JSON.parse(e.newValue);_.state.offlineCache=t.offlineCache}}))}const Y=(e,t)=>t.some((t=>e instanceof t));let $;let K;function X(){return $||($=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function q(){return K||(K=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const ee=new WeakMap;const te=new WeakMap;const ie=new WeakMap;function se(e){const t=new Promise(((t,i)=>{const s=()=>{e.removeEventListener("success",r);e.removeEventListener("error",o)};const r=()=>{t(de(e.result));s()};const o=()=>{i(e.error);s()};e.addEventListener("success",r);e.addEventListener("error",o)}));ie.set(t,e);return t}function re(e){if(ee.has(e))return;const t=new Promise(((t,i)=>{const s=()=>{e.removeEventListener("complete",r);e.removeEventListener("error",o);e.removeEventListener("abort",o)};const r=()=>{t();s()};const o=()=>{i(e.error||new DOMException("AbortError","AbortError"));s()};e.addEventListener("complete",r);e.addEventListener("error",o);e.addEventListener("abort",o)}));ee.set(e,t)}let oe={get(e,t,i){if(e instanceof IDBTransaction){if(t==="done")return ee.get(e);if(t==="store"){return i.objectStoreNames[1]?undefined:i.objectStore(i.objectStoreNames[0])}}return de(e[t])},set(e,t,i){e[t]=i;return true},has(e,t){if(e instanceof IDBTransaction&&(t==="done"||t==="store")){return true}return t in e}};function ne(e){oe=e(oe)}function ae(e){if(q().includes(e)){return function(...t){e.apply(ce(this),t);return de(this.request)}}return function(...t){return de(e.apply(ce(this),t))}}function le(e){if(typeof e==="function")return ae(e);if(e instanceof IDBTransaction)re(e);if(Y(e,X()))return new Proxy(e,oe);return e}function de(e){if(e instanceof IDBRequest)return se(e);if(te.has(e))return te.get(e);const t=le(e);if(t!==e){te.set(e,t);ie.set(t,e)}return t}const ce=e=>ie.get(e);function pe(e,t,{blocked:i,upgrade:s,blocking:r,terminated:o}={}){const n=indexedDB.open(e,t);const a=de(n);if(s){n.addEventListener("upgradeneeded",(e=>{s(de(n.result),e.oldVersion,e.newVersion,de(n.transaction),e)}))}if(i){n.addEventListener("blocked",(e=>i(e.oldVersion,e.newVersion,e)))}a.then((e=>{if(o)e.addEventListener("close",(()=>o()));if(r){e.addEventListener("versionchange",(e=>r(e.oldVersion,e.newVersion,e)))}})).catch((()=>{}));return a}const ue=["get","getKey","getAll","getAllKeys","count"];const he=["put","add","delete","clear"];const fe=new Map;function me(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t==="string")){return}if(fe.get(t))return fe.get(t);const i=t.replace(/FromIndex$/,"");const s=t!==i;const r=he.includes(i);if(!(i in(s?IDBIndex:IDBObjectStore).prototype)||!(r||ue.includes(i))){return}const o=async function(e,...t){const o=this.transaction(e,r?"readwrite":"readonly");let n=o.store;if(s)n=n.index(t.shift());return(await Promise.all([n[i](...t),r&&o.done]))[0]};fe.set(t,o);return o}ne((e=>({...e,get:(t,i,s)=>me(t,i)||e.get(t,i,s),has:(t,i)=>!!me(t,i)||e.has(t,i)})));const Qe=["continue","continuePrimaryKey","advance"];const be={};const ye=new WeakMap;const ge=new WeakMap;const xe={get(e,t){if(!Qe.includes(t))return e[t];let i=be[t];if(!i){i=be[t]=function(...e){ye.set(this,ge.get(this)[t](...e))}}return i}};async function*Ue(...e){let t=this;if(!(t instanceof IDBCursor)){t=await t.openCursor(...e)}if(!t)return;t=t;const i=new Proxy(t,xe);ge.set(i,t);ie.set(i,ce(t));while(t){yield i;t=await(ye.get(i)||t.continue());ye.delete(i)}}function Be(e,t){return t===Symbol.asyncIterator&&Y(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&Y(e,[IDBIndex,IDBObjectStore])}ne((e=>({...e,get(t,i,s){if(Be(t,i))return Ue;return e.get(t,i,s)},has(t,i){return Be(t,i)||e.has(t,i)}})));class ve{constructor(){this.dbPromise=pe("OfflineCacheDB",1,{upgrade(e){if(!e.objectStoreNames.contains("documents")){const t=e.createObjectStore("documents",{keyPath:"url"});t.createIndex("url-revision",["url","revision"])}}})}async clear(){const e=await this.dbPromise;return e.clear("documents")}async get(e){const t=await this.dbPromise;return await t.get("documents",e)}async put(e){const t=await this.dbPromise;const i=await t.getFromIndex("documents","url-revision",[e.url,e.revision]);if(i){return}await t.put("documents",e)}}class Fe{isOnline(){return navigator.onLine}}const Ee=(e,t)=>new v({session:e,offlineCache:t.offlineCache?new ve:new F,onlineStatus:new Fe});var we=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function Se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}var De=crypto;const Re=e=>e instanceof CryptoKey;const ke=async(e,t)=>{const i=`SHA-${e.slice(-3)}`;return new Uint8Array(await De.subtle.digest(i,t))};var Le=ke;const Ne=new TextEncoder;const Ce=new TextDecoder;function Ve(...e){const t=e.reduce(((e,{length:t})=>e+t),0);const i=new Uint8Array(t);let s=0;for(const t of e){i.set(t,s);s+=t.length}return i}const Ie=e=>{let t=e;if(typeof t==="string"){t=Ne.encode(t)}const i=32768;const s=[];for(let e=0;e<t.length;e+=i){s.push(String.fromCharCode.apply(null,t.subarray(e,e+i)))}return btoa(s.join(""))};const Te=e=>Ie(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");const ze=e=>{const t=atob(e);const i=new Uint8Array(t.length);for(let e=0;e<t.length;e++){i[e]=t.charCodeAt(e)}return i};const Pe=e=>{let t=e;if(t instanceof Uint8Array){t=Ce.decode(t)}t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return ze(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class Je extends Error{constructor(e,t){super(e,t);this.code="ERR_JOSE_GENERIC";this.name=this.constructor.name;Error.captureStackTrace?.(this,this.constructor)}}Je.code="ERR_JOSE_GENERIC";class Ge extends Je{constructor(e,t,i="unspecified",s="unspecified"){super(e,{cause:{claim:i,reason:s,payload:t}});this.code="ERR_JWT_CLAIM_VALIDATION_FAILED";this.claim=i;this.reason=s;this.payload=t}}Ge.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class Me extends Je{constructor(e,t,i="unspecified",s="unspecified"){super(e,{cause:{claim:i,reason:s,payload:t}});this.code="ERR_JWT_EXPIRED";this.claim=i;this.reason=s;this.payload=t}}Me.code="ERR_JWT_EXPIRED";class Ae extends Je{constructor(){super(...arguments);this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}Ae.code="ERR_JOSE_ALG_NOT_ALLOWED";class He extends Je{constructor(){super(...arguments);this.code="ERR_JOSE_NOT_SUPPORTED"}}He.code="ERR_JOSE_NOT_SUPPORTED";class Ze extends Je{constructor(e="decryption operation failed",t){super(e,t);this.code="ERR_JWE_DECRYPTION_FAILED"}}Ze.code="ERR_JWE_DECRYPTION_FAILED";class We extends Je{constructor(){super(...arguments);this.code="ERR_JWE_INVALID"}}We.code="ERR_JWE_INVALID";class _e extends Je{constructor(){super(...arguments);this.code="ERR_JWS_INVALID"}}_e.code="ERR_JWS_INVALID";class Oe extends Je{constructor(){super(...arguments);this.code="ERR_JWT_INVALID"}}Oe.code="ERR_JWT_INVALID";class je extends Je{constructor(){super(...arguments);this.code="ERR_JWK_INVALID"}}je.code="ERR_JWK_INVALID";class Ye extends Je{constructor(){super(...arguments);this.code="ERR_JWKS_INVALID"}}Ye.code="ERR_JWKS_INVALID";class $e extends Je{constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t);this.code="ERR_JWKS_NO_MATCHING_KEY"}}$e.code="ERR_JWKS_NO_MATCHING_KEY";class Ke extends Je{constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t);this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}Ke.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class Xe extends Je{constructor(e="request timed out",t){super(e,t);this.code="ERR_JWKS_TIMEOUT"}}Xe.code="ERR_JWKS_TIMEOUT";class qe extends Je{constructor(e="signature verification failed",t){super(e,t);this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}qe.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";function et(e,t="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function tt(e,t){return e.name===t}function it(e){return parseInt(e.name.slice(4),10)}function st(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}function rt(e,t){if(t.length&&!t.some((t=>e.usages.includes(t)))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){const i=t.pop();e+=`one of ${t.join(", ")}, or ${i}.`}else if(t.length===2){e+=`one of ${t[0]} or ${t[1]}.`}else{e+=`${t[0]}.`}throw new TypeError(e)}}function ot(e,t,...i){switch(t){case"HS256":case"HS384":case"HS512":{if(!tt(e.algorithm,"HMAC"))throw et("HMAC");const i=parseInt(t.slice(2),10);const s=it(e.algorithm.hash);if(s!==i)throw et(`SHA-${i}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!tt(e.algorithm,"RSASSA-PKCS1-v1_5"))throw et("RSASSA-PKCS1-v1_5");const i=parseInt(t.slice(2),10);const s=it(e.algorithm.hash);if(s!==i)throw et(`SHA-${i}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!tt(e.algorithm,"RSA-PSS"))throw et("RSA-PSS");const i=parseInt(t.slice(2),10);const s=it(e.algorithm.hash);if(s!==i)throw et(`SHA-${i}`,"algorithm.hash");break}case"EdDSA":{if(e.algorithm.name!=="Ed25519"&&e.algorithm.name!=="Ed448"){throw et("Ed25519 or Ed448")}break}case"Ed25519":{if(!tt(e.algorithm,"Ed25519"))throw et("Ed25519");break}case"ES256":case"ES384":case"ES512":{if(!tt(e.algorithm,"ECDSA"))throw et("ECDSA");const i=st(t);const s=e.algorithm.namedCurve;if(s!==i)throw et(i,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}rt(e,i)}function nt(e,t,...i){i=i.filter(Boolean);if(i.length>2){const t=i.pop();e+=`one of type ${i.join(", ")}, or ${t}.`}else if(i.length===2){e+=`one of type ${i[0]} or ${i[1]}.`}else{e+=`of type ${i[0]}.`}if(t==null){e+=` Received ${t}`}else if(typeof t==="function"&&t.name){e+=` Received function ${t.name}`}else if(typeof t==="object"&&t!=null){if(t.constructor?.name){e+=` Received an instance of ${t.constructor.name}`}}return e}var at=(e,...t)=>nt("Key must be ",e,...t);function lt(e,t,...i){return nt(`Key for the ${e} algorithm must be `,t,...i)}var dt=e=>{if(Re(e)){return true}return e?.[Symbol.toStringTag]==="KeyObject"};const ct=["CryptoKey"];const pt=(...e)=>{const t=e.filter(Boolean);if(t.length===0||t.length===1){return true}let i;for(const e of t){const t=Object.keys(e);if(!i||i.size===0){i=new Set(t);continue}for(const e of t){if(i.has(e)){return false}i.add(e)}}return true};var ut=pt;function ht(e){return typeof e==="object"&&e!==null}function ft(e){if(!ht(e)||Object.prototype.toString.call(e)!=="[object Object]"){return false}if(Object.getPrototypeOf(e)===null){return true}let t=e;while(Object.getPrototypeOf(t)!==null){t=Object.getPrototypeOf(t)}return Object.getPrototypeOf(e)===t}var mt=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:i}=t.algorithm;if(typeof i!=="number"||i<2048){throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}};function Qt(e){return ft(e)&&typeof e.kty==="string"}function bt(e){return e.kty!=="oct"&&typeof e.d==="string"}function yt(e){return e.kty!=="oct"&&typeof e.d==="undefined"}function gt(e){return Qt(e)&&e.kty==="oct"&&typeof e.k==="string"}function xt(e){let t;let i;switch(e.kty){case"RSA":{switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`};i=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`};i=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`};i=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}case"EC":{switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"};i=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"};i=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"};i=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv};i=e.d?["deriveBits"]:[];break;default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}case"OKP":{switch(e.alg){case"Ed25519":t={name:"Ed25519"};i=e.d?["sign"]:["verify"];break;case"EdDSA":t={name:e.crv};i=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv};i=e.d?["deriveBits"]:[];break;default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}default:throw new He('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:i}}const Ut=async e=>{if(!e.alg){throw new TypeError('"alg" argument is required when "jwk.alg" is not present')}const{algorithm:t,keyUsages:i}=xt(e);const s=[t,e.ext??false,e.key_ops??i];const r={...e};delete r.alg;delete r.use;return De.subtle.importKey("jwk",r,...s)};var Bt=Ut;const vt=e=>Pe(e);let Ft;let Et;const wt=e=>e?.[Symbol.toStringTag]==="KeyObject";const St=async(e,t,i,s,r=false)=>{let o=e.get(t);if(o?.[s]){return o[s]}const n=await Bt({...i,alg:s});if(r)Object.freeze(t);if(!o){e.set(t,{[s]:n})}else{o[s]=n}return n};const Dt=(e,t)=>{if(wt(e)){let i=e.export({format:"jwk"});delete i.d;delete i.dp;delete i.dq;delete i.p;delete i.q;delete i.qi;if(i.k){return vt(i.k)}Et||(Et=new WeakMap);return St(Et,e,i,t)}if(Qt(e)){if(e.k)return Pe(e.k);Et||(Et=new WeakMap);const i=St(Et,e,e,t,true);return i}return e};const Rt=(e,t)=>{if(wt(e)){let i=e.export({format:"jwk"});if(i.k){return vt(i.k)}Ft||(Ft=new WeakMap);return St(Ft,e,i,t)}if(Qt(e)){if(e.k)return Pe(e.k);Ft||(Ft=new WeakMap);const i=St(Ft,e,e,t,true);return i}return e};var kt={normalizePublicKey:Dt,normalizePrivateKey:Rt};async function Lt(e,t){if(!ft(e)){throw new TypeError("JWK must be an object")}t||(t=e.alg);switch(e.kty){case"oct":if(typeof e.k!=="string"||!e.k){throw new TypeError('missing "k" (Key Value) Parameter value')}return Pe(e.k);case"RSA":if("oth"in e&&e.oth!==undefined){throw new He('RSA JWK "oth" (Other Primes Info) Parameter value is not supported')}case"EC":case"OKP":return Bt({...e,alg:t});default:throw new He('Unsupported "kty" (Key Type) Parameter value')}}const Nt=e=>e?.[Symbol.toStringTag];const Ct=(e,t,i)=>{if(t.use!==undefined&&t.use!=="sig"){throw new TypeError("Invalid key for this operation, when present its use must be sig")}if(t.key_ops!==undefined&&t.key_ops.includes?.(i)!==true){throw new TypeError(`Invalid key for this operation, when present its key_ops must include ${i}`)}if(t.alg!==undefined&&t.alg!==e){throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`)}return true};const Vt=(e,t,i,s)=>{if(t instanceof Uint8Array)return;if(s&&Qt(t)){if(gt(t)&&Ct(e,t,i))return;throw new TypeError(`JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present`)}if(!dt(t)){throw new TypeError(lt(e,t,...ct,"Uint8Array",s?"JSON Web Key":null))}if(t.type!=="secret"){throw new TypeError(`${Nt(t)} instances for symmetric algorithms must be of type "secret"`)}};const It=(e,t,i,s)=>{if(s&&Qt(t)){switch(i){case"sign":if(bt(t)&&Ct(e,t,i))return;throw new TypeError(`JSON Web Key for this operation be a private JWK`);case"verify":if(yt(t)&&Ct(e,t,i))return;throw new TypeError(`JSON Web Key for this operation be a public JWK`)}}if(!dt(t)){throw new TypeError(lt(e,t,...ct,s?"JSON Web Key":null))}if(t.type==="secret"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithms must not be of type "secret"`)}if(i==="sign"&&t.type==="public"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm signing must be of type "private"`)}if(i==="decrypt"&&t.type==="public"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm decryption must be of type "private"`)}if(t.algorithm&&i==="verify"&&t.type==="private"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm verifying must be of type "public"`)}if(t.algorithm&&i==="encrypt"&&t.type==="private"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm encryption must be of type "public"`)}};function Tt(e,t,i,s){const r=t.startsWith("HS")||t==="dir"||t.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(t);if(r){Vt(t,i,s,e)}else{It(t,i,s,e)}}Tt.bind(undefined,false);const zt=Tt.bind(undefined,true);function Pt(e,t,i,s,r){if(r.crit!==undefined&&s?.crit===undefined){throw new e('"crit" (Critical) Header Parameter MUST be integrity protected')}if(!s||s.crit===undefined){return new Set}if(!Array.isArray(s.crit)||s.crit.length===0||s.crit.some((e=>typeof e!=="string"||e.length===0))){throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present')}let o;if(i!==undefined){o=new Map([...Object.entries(i),...t.entries()])}else{o=t}for(const t of s.crit){if(!o.has(t)){throw new He(`Extension Header Parameter "${t}" is not recognized`)}if(r[t]===undefined){throw new e(`Extension Header Parameter "${t}" is missing`)}if(o.get(t)&&s[t]===undefined){throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}}return new Set(s.crit)}const Jt=(e,t)=>{if(t!==undefined&&(!Array.isArray(t)||t.some((e=>typeof e!=="string")))){throw new TypeError(`"${e}" option must be an array of strings`)}if(!t){return undefined}return new Set(t)};var Gt=Jt;const Mt=async e=>{if(e instanceof Uint8Array){return{kty:"oct",k:Te(e)}}if(!Re(e)){throw new TypeError(at(e,...ct,"Uint8Array"))}if(!e.extractable){throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK")}const{ext:t,key_ops:i,alg:s,use:r,...o}=await De.subtle.exportKey("jwk",e);return o};var At=Mt;async function Ht(e){return At(e)}function Zt(e,t){const i=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:i,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:i,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:i,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:i,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":return{name:"Ed25519"};case"EdDSA":return{name:t.name};default:throw new He(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function Wt(e,t,i){if(i==="sign"){t=await kt.normalizePrivateKey(t,e)}if(i==="verify"){t=await kt.normalizePublicKey(t,e)}if(Re(t)){ot(t,e,i);return t}if(t instanceof Uint8Array){if(!e.startsWith("HS")){throw new TypeError(at(t,...ct))}return De.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},false,[i])}throw new TypeError(at(t,...ct,"Uint8Array","JSON Web Key"))}const _t=async(e,t,i,s)=>{const r=await Wt(e,t,"verify");mt(e,r);const o=Zt(e,r.algorithm);try{return await De.subtle.verify(o,r,i,s)}catch{return false}};var Ot=_t;async function jt(e,t,i){if(!ft(e)){throw new _e("Flattened JWS must be an object")}if(e.protected===undefined&&e.header===undefined){throw new _e('Flattened JWS must have either of the "protected" or "header" members')}if(e.protected!==undefined&&typeof e.protected!=="string"){throw new _e("JWS Protected Header incorrect type")}if(e.payload===undefined){throw new _e("JWS Payload missing")}if(typeof e.signature!=="string"){throw new _e("JWS Signature missing or incorrect type")}if(e.header!==undefined&&!ft(e.header)){throw new _e("JWS Unprotected Header incorrect type")}let s={};if(e.protected){try{const t=Pe(e.protected);s=JSON.parse(Ce.decode(t))}catch{throw new _e("JWS Protected Header is invalid")}}if(!ut(s,e.header)){throw new _e("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const r={...s,...e.header};const o=Pt(_e,new Map([["b64",true]]),i?.crit,s,r);let n=true;if(o.has("b64")){n=s.b64;if(typeof n!=="boolean"){throw new _e('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:a}=r;if(typeof a!=="string"||!a){throw new _e('JWS "alg" (Algorithm) Header Parameter missing or invalid')}const l=i&&Gt("algorithms",i.algorithms);if(l&&!l.has(a)){throw new Ae('"alg" (Algorithm) Header Parameter value not allowed')}if(n){if(typeof e.payload!=="string"){throw new _e("JWS Payload must be a string")}}else if(typeof e.payload!=="string"&&!(e.payload instanceof Uint8Array)){throw new _e("JWS Payload must be a string or an Uint8Array instance")}let d=false;if(typeof t==="function"){t=await t(s,e);d=true;zt(a,t,"verify");if(Qt(t)){t=await Lt(t,a)}}else{zt(a,t,"verify")}const c=Ve(Ne.encode(e.protected??""),Ne.encode("."),typeof e.payload==="string"?Ne.encode(e.payload):e.payload);let p;try{p=Pe(e.signature)}catch{throw new _e("Failed to base64url decode the signature")}const u=await Ot(a,t,p,c);if(!u){throw new qe}let h;if(n){try{h=Pe(e.payload)}catch{throw new _e("Failed to base64url decode the payload")}}else if(typeof e.payload==="string"){h=Ne.encode(e.payload)}else{h=e.payload}const f={payload:h};if(e.protected!==undefined){f.protectedHeader=s}if(e.header!==undefined){f.unprotectedHeader=e.header}if(d){return{...f,key:t}}return f}async function Yt(e,t,i){if(e instanceof Uint8Array){e=Ce.decode(e)}if(typeof e!=="string"){throw new _e("Compact JWS must be a string or Uint8Array")}const{0:s,1:r,2:o,length:n}=e.split(".");if(n!==3){throw new _e("Invalid Compact JWS")}const a=await jt({payload:r,protected:s,signature:o},t,i);const l={payload:a.payload,protectedHeader:a.protectedHeader};if(typeof t==="function"){return{...l,key:a.key}}return l}var $t=e=>Math.floor(e.getTime()/1e3);const Kt=60;const Xt=Kt*60;const qt=Xt*24;const ei=qt*7;const ti=qt*365.25;const ii=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;var si=e=>{const t=ii.exec(e);if(!t||t[4]&&t[1]){throw new TypeError("Invalid time period format")}const i=parseFloat(t[2]);const s=t[3].toLowerCase();let r;switch(s){case"sec":case"secs":case"second":case"seconds":case"s":r=Math.round(i);break;case"minute":case"minutes":case"min":case"mins":case"m":r=Math.round(i*Kt);break;case"hour":case"hours":case"hr":case"hrs":case"h":r=Math.round(i*Xt);break;case"day":case"days":case"d":r=Math.round(i*qt);break;case"week":case"weeks":case"w":r=Math.round(i*ei);break;default:r=Math.round(i*ti);break}if(t[1]==="-"||t[4]==="ago"){return-r}return r};const ri=e=>e.toLowerCase().replace(/^application\//,"");const oi=(e,t)=>{if(typeof e==="string"){return t.includes(e)}if(Array.isArray(e)){return t.some(Set.prototype.has.bind(new Set(e)))}return false};var ni=(e,t,i={})=>{let s;try{s=JSON.parse(Ce.decode(t))}catch{}if(!ft(s)){throw new Oe("JWT Claims Set must be a top-level JSON object")}const{typ:r}=i;if(r&&(typeof e.typ!=="string"||ri(e.typ)!==ri(r))){throw new Ge('unexpected "typ" JWT header value',s,"typ","check_failed")}const{requiredClaims:o=[],issuer:n,subject:a,audience:l,maxTokenAge:d}=i;const c=[...o];if(d!==undefined)c.push("iat");if(l!==undefined)c.push("aud");if(a!==undefined)c.push("sub");if(n!==undefined)c.push("iss");for(const e of new Set(c.reverse())){if(!(e in s)){throw new Ge(`missing required "${e}" claim`,s,e,"missing")}}if(n&&!(Array.isArray(n)?n:[n]).includes(s.iss)){throw new Ge('unexpected "iss" claim value',s,"iss","check_failed")}if(a&&s.sub!==a){throw new Ge('unexpected "sub" claim value',s,"sub","check_failed")}if(l&&!oi(s.aud,typeof l==="string"?[l]:l)){throw new Ge('unexpected "aud" claim value',s,"aud","check_failed")}let p;switch(typeof i.clockTolerance){case"string":p=si(i.clockTolerance);break;case"number":p=i.clockTolerance;break;case"undefined":p=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:u}=i;const h=$t(u||new Date);if((s.iat!==undefined||d)&&typeof s.iat!=="number"){throw new Ge('"iat" claim must be a number',s,"iat","invalid")}if(s.nbf!==undefined){if(typeof s.nbf!=="number"){throw new Ge('"nbf" claim must be a number',s,"nbf","invalid")}if(s.nbf>h+p){throw new Ge('"nbf" claim timestamp check failed',s,"nbf","check_failed")}}if(s.exp!==undefined){if(typeof s.exp!=="number"){throw new Ge('"exp" claim must be a number',s,"exp","invalid")}if(s.exp<=h-p){throw new Me('"exp" claim timestamp check failed',s,"exp","check_failed")}}if(d){const e=h-s.iat;const t=typeof d==="number"?d:si(d);if(e-p>t){throw new Me('"iat" claim timestamp check failed (too far in the past)',s,"iat","check_failed")}if(e<0-p){throw new Ge('"iat" claim timestamp check failed (it should be in the past)',s,"iat","check_failed")}}return s};async function ai(e,t,i){const s=await Yt(e,t,i);if(s.protectedHeader.crit?.includes("b64")&&s.protectedHeader.b64===false){throw new Oe("JWTs MUST NOT use unencoded payload")}const r=ni(s.protectedHeader,s.payload,i);const o={payload:r,protectedHeader:s.protectedHeader};if(typeof t==="function"){return{...o,key:s.key}}return o}const li=async(e,t,i)=>{const s=await Wt(e,t,"sign");mt(e,s);const r=await De.subtle.sign(Zt(e,s.algorithm),s,i);return new Uint8Array(r)};var di=li;class ci{constructor(e){if(!(e instanceof Uint8Array)){throw new TypeError("payload must be an instance of Uint8Array")}this._payload=e}setProtectedHeader(e){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=e;return this}setUnprotectedHeader(e){if(this._unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this._unprotectedHeader=e;return this}async sign(e,t){if(!this._protectedHeader&&!this._unprotectedHeader){throw new _e("either setProtectedHeader or setUnprotectedHeader must be called before #sign()")}if(!ut(this._protectedHeader,this._unprotectedHeader)){throw new _e("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const i={...this._protectedHeader,...this._unprotectedHeader};const s=Pt(_e,new Map([["b64",true]]),t?.crit,this._protectedHeader,i);let r=true;if(s.has("b64")){r=this._protectedHeader.b64;if(typeof r!=="boolean"){throw new _e('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:o}=i;if(typeof o!=="string"||!o){throw new _e('JWS "alg" (Algorithm) Header Parameter missing or invalid')}zt(o,e,"sign");let n=this._payload;if(r){n=Ne.encode(Te(n))}let a;if(this._protectedHeader){a=Ne.encode(Te(JSON.stringify(this._protectedHeader)))}else{a=Ne.encode("")}const l=Ve(a,Ne.encode("."),n);const d=await di(o,e,l);const c={signature:Te(d),payload:""};if(r){c.payload=Ce.decode(n)}if(this._unprotectedHeader){c.header=this._unprotectedHeader}if(this._protectedHeader){c.protected=Ce.decode(a)}return c}}class pi{constructor(e){this._flattened=new ci(e)}setProtectedHeader(e){this._flattened.setProtectedHeader(e);return this}async sign(e,t){const i=await this._flattened.sign(e,t);if(i.payload===undefined){throw new TypeError("use the flattened module for creating JWS with b64: false")}return`${i.protected}.${i.payload}.${i.signature}`}}function ui(e,t){if(!Number.isFinite(t)){throw new TypeError(`Invalid ${e} input`)}return t}class hi{constructor(e={}){if(!ft(e)){throw new TypeError("JWT Claims Set MUST be an object")}this._payload=e}setIssuer(e){this._payload={...this._payload,iss:e};return this}setSubject(e){this._payload={...this._payload,sub:e};return this}setAudience(e){this._payload={...this._payload,aud:e};return this}setJti(e){this._payload={...this._payload,jti:e};return this}setNotBefore(e){if(typeof e==="number"){this._payload={...this._payload,nbf:ui("setNotBefore",e)}}else if(e instanceof Date){this._payload={...this._payload,nbf:ui("setNotBefore",$t(e))}}else{this._payload={...this._payload,nbf:$t(new Date)+si(e)}}return this}setExpirationTime(e){if(typeof e==="number"){this._payload={...this._payload,exp:ui("setExpirationTime",e)}}else if(e instanceof Date){this._payload={...this._payload,exp:ui("setExpirationTime",$t(e))}}else{this._payload={...this._payload,exp:$t(new Date)+si(e)}}return this}setIssuedAt(e){if(typeof e==="undefined"){this._payload={...this._payload,iat:$t(new Date)}}else if(e instanceof Date){this._payload={...this._payload,iat:ui("setIssuedAt",$t(e))}}else if(typeof e==="string"){this._payload={...this._payload,iat:ui("setIssuedAt",$t(new Date)+si(e))}}else{this._payload={...this._payload,iat:ui("setIssuedAt",e)}}return this}}class fi extends hi{setProtectedHeader(e){this._protectedHeader=e;return this}async sign(e,t){const i=new pi(Ne.encode(JSON.stringify(this._payload)));i.setProtectedHeader(this._protectedHeader);if(Array.isArray(this._protectedHeader?.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===false){throw new Oe("JWTs MUST NOT use unencoded payload")}return i.sign(e,t)}}const mi=(e,t)=>{if(typeof e!=="string"||!e){throw new je(`${t} missing or invalid`)}};async function Qi(e,t){if(!ft(e)){throw new TypeError("JWK must be an object")}t??(t="sha256");if(t!=="sha256"&&t!=="sha384"&&t!=="sha512"){throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"')}let i;switch(e.kty){case"EC":mi(e.crv,'"crv" (Curve) Parameter');mi(e.x,'"x" (X Coordinate) Parameter');mi(e.y,'"y" (Y Coordinate) Parameter');i={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":mi(e.crv,'"crv" (Subtype of Key Pair) Parameter');mi(e.x,'"x" (Public Key) Parameter');i={crv:e.crv,kty:e.kty,x:e.x};break;case"RSA":mi(e.e,'"e" (Exponent) Parameter');mi(e.n,'"n" (Modulus) Parameter');i={e:e.e,kty:e.kty,n:e.n};break;case"oct":mi(e.k,'"k" (Key Value) Parameter');i={k:e.k,kty:e.kty};break;default:throw new He('"kty" (Key Type) Parameter missing or unsupported')}const s=Ne.encode(JSON.stringify(i));return Te(await Le(t,s))}function bi(e){switch(typeof e==="string"&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new He('Unsupported "alg" value for a JSON Web Key Set')}}function yi(e){return e&&typeof e==="object"&&Array.isArray(e.keys)&&e.keys.every(gi)}function gi(e){return ft(e)}function xi(e){if(typeof structuredClone==="function"){return structuredClone(e)}return JSON.parse(JSON.stringify(e))}class Ui{constructor(e){this._cached=new WeakMap;if(!yi(e)){throw new Ye("JSON Web Key Set malformed")}this._jwks=xi(e)}async getKey(e,t){const{alg:i,kid:s}={...e,...t?.header};const r=bi(i);const o=this._jwks.keys.filter((e=>{let t=r===e.kty;if(t&&typeof s==="string"){t=s===e.kid}if(t&&typeof e.alg==="string"){t=i===e.alg}if(t&&typeof e.use==="string"){t=e.use==="sig"}if(t&&Array.isArray(e.key_ops)){t=e.key_ops.includes("verify")}if(t){switch(i){case"ES256":t=e.crv==="P-256";break;case"ES256K":t=e.crv==="secp256k1";break;case"ES384":t=e.crv==="P-384";break;case"ES512":t=e.crv==="P-521";break;case"Ed25519":t=e.crv==="Ed25519";break;case"EdDSA":t=e.crv==="Ed25519"||e.crv==="Ed448";break}}return t}));const{0:n,length:a}=o;if(a===0){throw new $e}if(a!==1){const e=new Ke;const{_cached:t}=this;e[Symbol.asyncIterator]=async function*(){for(const e of o){try{yield await Bi(t,e,i)}catch{}}};throw e}return Bi(this._cached,n,i)}}async function Bi(e,t,i){const s=e.get(t)||e.set(t,{}).get(t);if(s[i]===undefined){const e=await Lt({...t,ext:true},i);if(e instanceof Uint8Array||e.type!=="public"){throw new Ye("JSON Web Key Set members must be public keys")}s[i]=e}return s[i]}function vi(e){const t=new Ui(e);const i=async(e,i)=>t.getKey(e,i);Object.defineProperties(i,{jwks:{value:()=>xi(t._jwks),enumerable:true,configurable:false,writable:false}});return i}const Fi=async(e,t,i)=>{let s;let r;let o=false;if(typeof AbortController==="function"){s=new AbortController;r=setTimeout((()=>{o=true;s.abort()}),t)}const n=await fetch(e.href,{signal:s?s.signal:undefined,redirect:"manual",headers:i.headers}).catch((e=>{if(o)throw new Xe;throw e}));if(r!==undefined)clearTimeout(r);if(n.status!==200){throw new Je("Expected 200 OK from the JSON Web Key Set HTTP response")}try{return await n.json()}catch{throw new Je("Failed to parse the JSON Web Key Set HTTP response as JSON")}};var Ei=Fi;function wi(){return typeof WebSocketPair!=="undefined"||typeof navigator!=="undefined"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime!=="undefined"&&EdgeRuntime==="vercel"}let Si;if(typeof navigator==="undefined"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 ")){const e="jose";const t="v5.10.0";Si=`${e}/${t}`}const Di=Symbol();function Ri(e,t){if(typeof e!=="object"||e===null){return false}if(!("uat"in e)||typeof e.uat!=="number"||Date.now()-e.uat>=t){return false}if(!("jwks"in e)||!ft(e.jwks)||!Array.isArray(e.jwks.keys)||!Array.prototype.every.call(e.jwks.keys,ft)){return false}return true}class ki{constructor(e,t){if(!(e instanceof URL)){throw new TypeError("url must be an instance of URL")}this._url=new URL(e.href);this._options={agent:t?.agent,headers:t?.headers};this._timeoutDuration=typeof t?.timeoutDuration==="number"?t?.timeoutDuration:5e3;this._cooldownDuration=typeof t?.cooldownDuration==="number"?t?.cooldownDuration:3e4;this._cacheMaxAge=typeof t?.cacheMaxAge==="number"?t?.cacheMaxAge:6e5;if(t?.[Di]!==undefined){this._cache=t?.[Di];if(Ri(t?.[Di],this._cacheMaxAge)){this._jwksTimestamp=this._cache.uat;this._local=vi(this._cache.jwks)}}}coolingDown(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cooldownDuration:false}fresh(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cacheMaxAge:false}async getKey(e,t){if(!this._local||!this.fresh()){await this.reload()}try{return await this._local(e,t)}catch(i){if(i instanceof $e){if(this.coolingDown()===false){await this.reload();return this._local(e,t)}}throw i}}async reload(){if(this._pendingFetch&&wi()){this._pendingFetch=undefined}const e=new Headers(this._options.headers);if(Si&&!e.has("User-Agent")){e.set("User-Agent",Si);this._options.headers=Object.fromEntries(e.entries())}this._pendingFetch||(this._pendingFetch=Ei(this._url,this._timeoutDuration,this._options).then((e=>{this._local=vi(e);if(this._cache){this._cache.uat=Date.now();this._cache.jwks=e}this._jwksTimestamp=Date.now();this._pendingFetch=undefined})).catch((e=>{this._pendingFetch=undefined;throw e})));await this._pendingFetch}}function Li(e,t){const i=new ki(e,t);const s=async(e,t)=>i.getKey(e,t);Object.defineProperties(s,{coolingDown:{get:()=>i.coolingDown(),enumerable:true,configurable:false},fresh:{get:()=>i.fresh(),enumerable:true,configurable:false},reload:{value:()=>i.reload(),enumerable:true,configurable:false,writable:false},reloading:{get:()=>!!i._pendingFetch,enumerable:true,configurable:false},jwks:{value:()=>i._local?.jwks(),enumerable:true,configurable:false,writable:false}});return s}const Ni=Pe;function Ci(e){if(typeof e!=="string")throw new Oe("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:i}=e.split(".");if(i===5)throw new Oe("Only JWTs using Compact JWS serialization can be decoded");if(i!==3)throw new Oe("Invalid JWT");if(!t)throw new Oe("JWTs must contain a payload");let s;try{s=Ni(t)}catch{throw new Oe("Failed to base64url decode the payload")}let r;try{r=JSON.parse(Ce.decode(s))}catch{throw new Oe("Failed to parse the decoded payload as JSON")}if(!ft(r))throw new Oe("Invalid JWT Claims Set");return r}function Vi(e){const t=e?.modulusLength??2048;if(typeof t!=="number"||t<2048){throw new He("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used")}return t}async function Ii(e,t){let i;let s;switch(e){case"PS256":case"PS384":case"PS512":i={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Vi(t)};s=["sign","verify"];break;case"RS256":case"RS384":case"RS512":i={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Vi(t)};s=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":i={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Vi(t)};s=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":i={name:"ECDSA",namedCurve:"P-256"};s=["sign","verify"];break;case"ES384":i={name:"ECDSA",namedCurve:"P-384"};s=["sign","verify"];break;case"ES512":i={name:"ECDSA",namedCurve:"P-521"};s=["sign","verify"];break;case"Ed25519":i={name:"Ed25519"};s=["sign","verify"];break;case"EdDSA":{s=["sign","verify"];const e="Ed25519";switch(e){case"Ed25519":case"Ed448":i={name:e};break;default:throw new He("Invalid or unsupported crv option provided")}break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{s=["deriveKey","deriveBits"];const e="P-256";switch(e){case"P-256":case"P-384":case"P-521":{i={name:"ECDH",namedCurve:e};break}case"X25519":case"X448":i={name:e};break;default:throw new He("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}break}default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return De.subtle.generateKey(i,false,s)}async function Ti(e,t){return Ii(e,t)}const zi=async(e,t)=>{const i={...t,grant_types:["authorization_code","refresh_token"],id_token_signed_response_alg:"ES256",token_endpoint_auth_method:"none",application_type:"web",subject_type:"public"};return fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})};class Pi{dbName;storeName;dbVersion;db=null;constructor(e="soidc",t="session",i=1){this.dbName=e;this.storeName=t;this.dbVersion=i}async init(){return new Promise(((e,t)=>{const i=indexedDB.open(this.dbName,this.dbVersion);i.onerror=e=>{t(new Error(`Database error: ${e.target.error}`))};i.onsuccess=t=>{this.db=t.target.result;e(this)};i.onupgradeneeded=e=>{const t=e.target.result;if(!t.objectStoreNames.contains(this.storeName)){t.createObjectStore(this.storeName)}}}))}async setItem(e,t){if(!this.db){await this.init()}return new Promise(((i,s)=>{const r=this.db.transaction(this.storeName,"readwrite");r.oncomplete=()=>{i()};r.onerror=t=>{s(new Error(`Transaction error for setItem(${e},...): ${t.target.error}`))};r.onabort=t=>{s(new Error(`Transaction aborted for setItem(${e},...): ${t.target.error}`))};const o=r.objectStore(this.storeName);o.put(t,e)}))}async getItem(e){if(!this.db){await this.init()}return new Promise(((t,i)=>{const s=this.db.transaction(this.storeName,"readonly");s.onerror=t=>{i(new Error(`Transaction error for getItem(${e}): ${t.target.error}`))};s.onabort=t=>{i(new Error(`Transaction aborted for getItem(${e}): ${t.target.error}`))};const r=s.objectStore(this.storeName);const o=r.get(e);o.onsuccess=()=>{t(o.result||null)}}))}async deleteItem(e){if(!this.db){await this.init()}return new Promise(((t,i)=>{const s=this.db.transaction(this.storeName,"readwrite");s.oncomplete=()=>{t()};s.onerror=t=>{i(new Error(`Transaction error for deleteItem(${e}): ${t.target.error}`))};s.onabort=t=>{i(new Error(`Transaction aborted for deleteItem(${e}): ${t.target.error}`))};const r=s.objectStore(this.storeName);r.delete(e)}))}async clear(){if(!this.db){await this.init()}return new Promise(((e,t)=>{const i=this.db.transaction(this.storeName,"readwrite");i.oncomplete=()=>{e()};i.onerror=e=>{t(new Error(`Transaction error for clear(): ${e.target.error}`))};i.onabort=e=>{t(new Error(`Transaction aborted for clear(): ${e.target.error}`))};const s=i.objectStore(this.storeName);s.clear()}))}close(){if(this.db){this.db.close();this.db=null}}}const Ji=async(e,t,i)=>{const s=new URL(t);const r=s.origin+s.pathname+s.search;const o=new URL(e).origin;const n=await fetch(`${o}/.well-known/openid-configuration`).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));const a=n["issuer"];const l=e=>e.endsWith("/")?e.slice(0,-1):e;if(l(e)!==l(a)){throw new Error("RFC 9207 - iss != idp - "+a+" != "+e)}sessionStorage.setItem("idp",a);sessionStorage.setItem("token_endpoint",n["token_endpoint"]);sessionStorage.setItem("jwks_uri",n["jwks_uri"]);let d=i?.client_id;if(!d){const e=n["registration_endpoint"];const t=await zi(e,i??{redirect_uris:[r]}).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));d=t["client_id"];sessionStorage.setItem("client_id",d)}const{pkce_code_verifier:c,pkce_code_challenge:p}=await Gi();sessionStorage.setItem("pkce_code_verifier",c);const u=window.crypto.randomUUID();sessionStorage.setItem("csrf_token",u);const h=n["authorization_endpoint"]+`?response_type=code`+`&redirect_uri=${encodeURIComponent(r)}`+`&scope=openid offline_access webid`+`&client_id=${encodeURIComponent(d)}`+`&code_challenge_method=S256`+`&code_challenge=${p}`+`&state=${u}`+`&prompt=consent`;window.location.href=h};const Gi=async()=>{const e=window.crypto.randomUUID()+"-"+window.crypto.randomUUID();const t=new Uint8Array(await window.crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e)));const i=btoa(String.fromCharCode(...t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return{pkce_code_verifier:e,pkce_code_challenge:i}};const Mi=async e=>{const t=new URL(window.location.href);const i=t.searchParams.get("code");if(i===null){return{clientDetails:e}}const s=sessionStorage.getItem("idp");if(s===null||t.searchParams.get("iss")!=s){throw new Error("RFC 9207 - iss != idp - "+t.searchParams.get("iss")+" != "+s)}if(t.searchParams.get("state")!=sessionStorage.getItem("csrf_token")){throw new Error("RFC 6749 - state != csrf_token - "+t.searchParams.get("state")+" != "+sessionStorage.getItem("csrf_token"))}t.searchParams.delete("iss");t.searchParams.delete("state");t.searchParams.delete("code");window.history.pushState({},document.title,t.toString());const r=sessionStorage.getItem("pkce_code_verifier");if(r===null){throw new Error("Access Token Request preparation - Could not find in sessionStorage: pkce_code_verifier")}const o=e?.client_id||sessionStorage.getItem("client_id");if(!o){throw new Error("Access Token Request preparation - Could not find in sessionStorage: client_id (dynamic registration)")}const n=sessionStorage.getItem("token_endpoint");if(n===null){throw new Error("Access Token Request preparation - Could not find in sessionStorage: token_endpoint")}const a=await Ti("ES256");const l=await Ai(i,r,t.toString(),o,n,a).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));const d=l["access_token"];const c=sessionStorage.getItem("jwks_uri");if(c===null){throw new Error("Access Token validation preparation - Could not find in sessionStorage: jwks_uri")}const p=Li(new URL(c));const{payload:u}=await ai(d,p,{issuer:s,audience:"solid"});const h=await Qi(await Ht(a.publicKey));if(u["cnf"]["jkt"]!=h){throw new Error("Access Token validation failed on `jkt`: jkt != DPoP thumbprint - "+u["cnf"]["jkt"]+" != "+h)}if(u["client_id"]!=o){throw new Error("Access Token validation failed on `client_id`: JWT payload != client_id - "+u["client_id"]+" != "+o)}const f={...l,dpop_key_pair:a};const m={idp:s,jwks_uri:c,token_endpoint:n};if(!e)e={redirect_uris:[window.location.href]};e.client_id=o;const Q=await(new Pi).init();await Promise.all([Q.setItem("idp",s),Q.setItem("jwks_uri",c),Q.setItem("token_endpoint",n),Q.setItem("client_id",o),Q.setItem("dpop_keypair",a),Q.setItem("refresh_token",l["refresh_token"])]);Q.close();sessionStorage.removeItem("csrf_token");sessionStorage.removeItem("pkce_code_verifier");sessionStorage.removeItem("idp");sessionStorage.removeItem("jwks_uri");sessionStorage.removeItem("token_endpoint");sessionStorage.removeItem("client_id");return{clientDetails:e,idpDetails:m,tokenDetails:f}};const Ai=async(e,t,i,s,r,o)=>{const n=await Ht(o.publicKey);n.alg="ES256";const a=await new fi({htu:r,htm:"POST"}).setIssuedAt().setJti(window.crypto.randomUUID()).setProtectedHeader({alg:"ES256",typ:"dpop+jwt",jwk:n}).sign(o.privateKey);return fetch(r,{method:"POST",headers:{dpop:a,"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"authorization_code",code:e,code_verifier:t,redirect_uri:i,client_id:s})})};const Hi=async()=>{const e=await(new Pi).init();const t=await e.getItem("client_id");const i=await e.getItem("token_endpoint");const s=await e.getItem("dpop_keypair");const r=await e.getItem("refresh_token");if(t===null||i===null||s===null||r===null){throw new Error("Could not refresh tokens: details missing from database.")}const o=await Zi(r,t,i,s).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));const n=o["access_token"];const a=await e.getItem("idp");if(a===null){throw new Error("Access Token validation preparation - Could not find in sessionDatabase: idp")}const l=await e.getItem("jwks_uri");if(l===null){throw new Error("Access Token validation preparation - Could not find in sessionDatabase: jwks_uri")}const d=Li(new URL(l));const{payload:c}=await ai(n,d,{issuer:a,audience:"solid"});const p=await Qi(await Ht(s.publicKey));if(c["cnf"]["jkt"]!=p){throw new Error("Access Token validation failed on `jkt`: jkt != DPoP thumbprint - "+c["cnf"]["jkt"]+" != "+p)}if(c["client_id"]!=t){throw new Error("Access Token validation failed on `client_id`: JWT payload != client_id - "+c["client_id"]+" != "+t)}await e.setItem("refresh_token",o["refresh_token"]);e.close();return{...o,dpop_key_pair:s}};const Zi=async(e,t,i,s)=>{const r=await Ht(s.publicKey);r.alg="ES256";const o=await new fi({htu:i,htm:"POST"}).setIssuedAt().setJti(window.crypto.randomUUID()).setProtectedHeader({alg:"ES256",typ:"dpop+jwt",jwk:r}).sign(s.privateKey);return fetch(i,{method:"POST",headers:{dpop:o,"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:e,client_id:t})})};class Wi{sessionInformation;isActive_=false;webId_=undefined;currentAth_=undefined;tokenRefreshTimeout;sessionDeactivateTimeout;onSessionExpirationWarning;constructor(e,t){this.sessionInformation={clientDetails:e};this.onSessionExpirationWarning=t?.onSessionExpirationWarning}async login(e,t){await Ji(e,t,this.sessionInformation.clientDetails)}async logout(){if(this.sessionDeactivateTimeout)clearTimeout(this.sessionDeactivateTimeout);this.sessionDeactivateTimeout=undefined;if(this.tokenRefreshTimeout)clearTimeout(this.tokenRefreshTimeout);this.tokenRefreshTimeout=undefined;this.sessionInformation.idpDetails=undefined;this.sessionInformation.tokenDetails=undefined;this.isActive_=false;this.webId_=undefined;if(this.sessionInformation.clientDetails?.client_id)try{new URL(this.sessionInformation.clientDetails.client_id)}catch(e){this.sessionInformation.clientDetails.client_id=undefined}const e=await(new Pi).init();await e.clear();e.close()}async handleRedirectFromLogin(){const e=await Mi(this.sessionInformation.clientDetails);if(!e.tokenDetails){return}this.sessionInformation=e;await this.setSessionDetails()}async restore(){await Hi().then((e=>{this.sessionInformation.tokenDetails=e;return this.setSessionDetails()})).catch((e=>{}))}async createSignedDPoPToken(e){if(!this.sessionInformation.tokenDetails||!this.currentAth_){throw new Error("Session not established.")}e.ath=this.currentAth_;const t=await Ht(this.sessionInformation.tokenDetails.dpop_key_pair.publicKey);return new fi(e).setIssuedAt().setJti(window.crypto.randomUUID()).setProtectedHeader({alg:"ES256",typ:"dpop+jwt",jwk:t}).sign(this.sessionInformation.tokenDetails.dpop_key_pair.privateKey)}async authFetch(e,t,i){let s;let r;let o;if(e instanceof Request){s=new URL(e.url);r=t?.method||e?.method||"GET";o=new Headers(e.headers)}else{t=t||{};s=new URL(e.toString());r=t.method||"GET";o=t.headers?new Headers(t.headers):new Headers}if(this.sessionInformation.tokenDetails){i=i??{htu:`${s.origin}${s.pathname}`,htm:r.toUpperCase()};const e=await this.createSignedDPoPToken(i);o.set("dpop",e);o.set("authorization",`DPoP ${this.sessionInformation.tokenDetails.access_token}`)}if(e instanceof Request){return fetch(new Request(e,{...t,headers:o}))}return fetch(s,{...t,headers:o})}get isActive(){return this.isActive_}get webId(){return this.webId_}async setSessionDetails(){if(!this.sessionInformation.tokenDetails?.access_token){this.logout()}this.currentAth_=await this.computeAth(this.sessionInformation.tokenDetails.access_token);this.webId_=Ci(this.sessionInformation.tokenDetails.access_token)["webid"];this.isActive_=this.webId!==undefined;this.setSessionDeactivateTimeout();this.setTokenRefreshTimeout()}setSessionDeactivateTimeout(){const e=5;const t=(this.sessionInformation.tokenDetails.expires_in-e)*1e3;if(this.sessionDeactivateTimeout)clearTimeout(this.sessionDeactivateTimeout);this.sessionDeactivateTimeout=setTimeout((()=>this.logout()),t)}setTokenRefreshTimeout(){const e=95;const t=(this.sessionInformation.tokenDetails.expires_in-e)*1e3;if(this.tokenRefreshTimeout)clearTimeout(this.tokenRefreshTimeout);this.tokenRefreshTimeout=setTimeout((async()=>{const e=await Hi().catch((e=>{if(this.onSessionExpirationWarning)this.onSessionExpirationWarning();return undefined}));if(!e){return}this.sessionInformation.tokenDetails=e;this.setSessionDetails()}),t)}async computeAth(e){const t=new TextEncoder;const i=t.encode(e);const s=await crypto.subtle.digest("SHA-256",i);const r=Array.from(new Uint8Array(s));const o=btoa(String.fromCharCode(...r));const n=o.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return n}}class _i{get authenticatedFetch(){return this._authenticatedFetch}constructor(){this.onSessionRestoreCallback=()=>{};this.sessionInfo$=new w.BehaviorSubject({isLoggedIn:false,webId:undefined});this.session=new Wi;this._authenticatedFetch=this.session.authFetch.bind(this.session)}async handleIncomingRedirect(e=false){await this.session.handleRedirectFromLogin();if(e){await this.session.restore();if(this.session.isActive){this.onSessionRestoreCallback(window.location.href)}}this.sessionInfo$.next({isLoggedIn:this.session.isActive,webId:this.session.webId})}async login(e){return this.session.login(e,window.location.href)}async logout(){await this.session.logout();this.sessionInfo$.next({isLoggedIn:false,webId:undefined})}observeSession(){return this.sessionInfo$}onSessionRestore(e){this.onSessionRestoreCallback=e}}var Oi=a`
1
+ import{r as e,h as t,H as i,c as s,a as r,d as o,f as n}from"./p-CTyMYUsB.js";import{i as a,E as l,T as d,c,_ as p,n as u,S as h,x as f,d as m,r as Q,w as b,e as y,f as g}from"./p-BQSzBvyx.js";import{c as x,s as U,B}from"./p-CUu6JLQN.js";import{P as v,c as F,d as E}from"./p-D1zKFnHd.js";import{c as w}from"./p-vFMstSdt.js";import{L as S,e as D,s as R,a as k,g as L,b as N,w as C,S as V}from"./p-D0vX0PL3.js";import{a as I,i as T,t as z,e as P}from"./p-BENWPB03.js";import{s as J}from"./p-BW_CkW1K.js";import{s as G}from"./p-jlzl8vRd.js";import{u as M}from"./p-D0uCfr1-.js";const A=":host{font-family:var(--font-sans);display:block}button#new{cursor:pointer;display:flex;align-items:center;justify-content:center;border:none;width:var(--size-10);height:var(--size-10);background-color:var(--pos-primary-color);color:var(--pos-primary-text-color);font-size:var(--scale-6);border-radius:var(--radius-xs);padding:var(--size-2)}button#new:hover,button#new:focus{outline:none;filter:brightness(110%);box-shadow:var(--shadow-sm)}pos-new-thing-form{margin:var(--scale-3)}";const H=class{constructor(t){e(this,t)}openDialog(){this.dialog.showModal()}render(){return t(i,{key:"9d2a61a7e9021b479c88971e7a3fbe805a24249e"},t("button",{key:"97a7a90791ab28e5376f5b8152059fe27637fff1",id:"new",title:"Add a new thing",onClick:()=>this.openDialog()},t("sl-icon",{key:"3f2db77e21b502764453a9e2ff7f73b05aebc1c5",name:"plus-circle"})),t("pos-dialog",{key:"1aa62484381fe6399fccce8329ce406fbf41f0b8",ref:e=>this.dialog=e},t("span",{key:"70277e49b50caef90060ef0f1e25e48923e1a787",slot:"title"},"Add a new thing"),t("pos-new-thing-form",{key:"447fbe02a191113108244c07d755b53664d24d83",slot:"content",referenceUri:this.referenceUri})))}};H.style=A;const Z=localStorage.getItem("settings");const W=Z?JSON.parse(Z):{offlineCache:false};const _=x(W);O();j();function O(){_.on("set",(()=>{const e=JSON.stringify(_.state);localStorage.setItem("settings",e)}))}function j(){window.addEventListener("storage",(e=>{if(e.key==="settings"&&e.newValue){const t=JSON.parse(e.newValue);_.state.offlineCache=t.offlineCache}}))}const Y=(e,t)=>t.some((t=>e instanceof t));let $;let K;function X(){return $||($=[IDBDatabase,IDBObjectStore,IDBIndex,IDBCursor,IDBTransaction])}function q(){return K||(K=[IDBCursor.prototype.advance,IDBCursor.prototype.continue,IDBCursor.prototype.continuePrimaryKey])}const ee=new WeakMap;const te=new WeakMap;const ie=new WeakMap;function se(e){const t=new Promise(((t,i)=>{const s=()=>{e.removeEventListener("success",r);e.removeEventListener("error",o)};const r=()=>{t(de(e.result));s()};const o=()=>{i(e.error);s()};e.addEventListener("success",r);e.addEventListener("error",o)}));ie.set(t,e);return t}function re(e){if(ee.has(e))return;const t=new Promise(((t,i)=>{const s=()=>{e.removeEventListener("complete",r);e.removeEventListener("error",o);e.removeEventListener("abort",o)};const r=()=>{t();s()};const o=()=>{i(e.error||new DOMException("AbortError","AbortError"));s()};e.addEventListener("complete",r);e.addEventListener("error",o);e.addEventListener("abort",o)}));ee.set(e,t)}let oe={get(e,t,i){if(e instanceof IDBTransaction){if(t==="done")return ee.get(e);if(t==="store"){return i.objectStoreNames[1]?undefined:i.objectStore(i.objectStoreNames[0])}}return de(e[t])},set(e,t,i){e[t]=i;return true},has(e,t){if(e instanceof IDBTransaction&&(t==="done"||t==="store")){return true}return t in e}};function ne(e){oe=e(oe)}function ae(e){if(q().includes(e)){return function(...t){e.apply(ce(this),t);return de(this.request)}}return function(...t){return de(e.apply(ce(this),t))}}function le(e){if(typeof e==="function")return ae(e);if(e instanceof IDBTransaction)re(e);if(Y(e,X()))return new Proxy(e,oe);return e}function de(e){if(e instanceof IDBRequest)return se(e);if(te.has(e))return te.get(e);const t=le(e);if(t!==e){te.set(e,t);ie.set(t,e)}return t}const ce=e=>ie.get(e);function pe(e,t,{blocked:i,upgrade:s,blocking:r,terminated:o}={}){const n=indexedDB.open(e,t);const a=de(n);if(s){n.addEventListener("upgradeneeded",(e=>{s(de(n.result),e.oldVersion,e.newVersion,de(n.transaction),e)}))}if(i){n.addEventListener("blocked",(e=>i(e.oldVersion,e.newVersion,e)))}a.then((e=>{if(o)e.addEventListener("close",(()=>o()));if(r){e.addEventListener("versionchange",(e=>r(e.oldVersion,e.newVersion,e)))}})).catch((()=>{}));return a}const ue=["get","getKey","getAll","getAllKeys","count"];const he=["put","add","delete","clear"];const fe=new Map;function me(e,t){if(!(e instanceof IDBDatabase&&!(t in e)&&typeof t==="string")){return}if(fe.get(t))return fe.get(t);const i=t.replace(/FromIndex$/,"");const s=t!==i;const r=he.includes(i);if(!(i in(s?IDBIndex:IDBObjectStore).prototype)||!(r||ue.includes(i))){return}const o=async function(e,...t){const o=this.transaction(e,r?"readwrite":"readonly");let n=o.store;if(s)n=n.index(t.shift());return(await Promise.all([n[i](...t),r&&o.done]))[0]};fe.set(t,o);return o}ne((e=>({...e,get:(t,i,s)=>me(t,i)||e.get(t,i,s),has:(t,i)=>!!me(t,i)||e.has(t,i)})));const Qe=["continue","continuePrimaryKey","advance"];const be={};const ye=new WeakMap;const ge=new WeakMap;const xe={get(e,t){if(!Qe.includes(t))return e[t];let i=be[t];if(!i){i=be[t]=function(...e){ye.set(this,ge.get(this)[t](...e))}}return i}};async function*Ue(...e){let t=this;if(!(t instanceof IDBCursor)){t=await t.openCursor(...e)}if(!t)return;t=t;const i=new Proxy(t,xe);ge.set(i,t);ie.set(i,ce(t));while(t){yield i;t=await(ye.get(i)||t.continue());ye.delete(i)}}function Be(e,t){return t===Symbol.asyncIterator&&Y(e,[IDBIndex,IDBObjectStore,IDBCursor])||t==="iterate"&&Y(e,[IDBIndex,IDBObjectStore])}ne((e=>({...e,get(t,i,s){if(Be(t,i))return Ue;return e.get(t,i,s)},has(t,i){return Be(t,i)||e.has(t,i)}})));class ve{constructor(){this.dbPromise=pe("OfflineCacheDB",1,{upgrade(e){if(!e.objectStoreNames.contains("documents")){const t=e.createObjectStore("documents",{keyPath:"url"});t.createIndex("url-revision",["url","revision"])}}})}async clear(){const e=await this.dbPromise;return e.clear("documents")}async get(e){const t=await this.dbPromise;return await t.get("documents",e)}async put(e){const t=await this.dbPromise;const i=await t.getFromIndex("documents","url-revision",[e.url,e.revision]);if(i){return}await t.put("documents",e)}}class Fe{isOnline(){return navigator.onLine}}const Ee=(e,t)=>new v({session:e,offlineCache:t.offlineCache?new ve:new F,onlineStatus:new Fe});var we=typeof globalThis!=="undefined"?globalThis:typeof window!=="undefined"?window:typeof global!=="undefined"?global:typeof self!=="undefined"?self:{};function Se(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e["default"]:e}var De=crypto;const Re=e=>e instanceof CryptoKey;const ke=async(e,t)=>{const i=`SHA-${e.slice(-3)}`;return new Uint8Array(await De.subtle.digest(i,t))};var Le=ke;const Ne=new TextEncoder;const Ce=new TextDecoder;function Ve(...e){const t=e.reduce(((e,{length:t})=>e+t),0);const i=new Uint8Array(t);let s=0;for(const t of e){i.set(t,s);s+=t.length}return i}const Ie=e=>{let t=e;if(typeof t==="string"){t=Ne.encode(t)}const i=32768;const s=[];for(let e=0;e<t.length;e+=i){s.push(String.fromCharCode.apply(null,t.subarray(e,e+i)))}return btoa(s.join(""))};const Te=e=>Ie(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_");const ze=e=>{const t=atob(e);const i=new Uint8Array(t.length);for(let e=0;e<t.length;e++){i[e]=t.charCodeAt(e)}return i};const Pe=e=>{let t=e;if(t instanceof Uint8Array){t=Ce.decode(t)}t=t.replace(/-/g,"+").replace(/_/g,"/").replace(/\s/g,"");try{return ze(t)}catch{throw new TypeError("The input to be decoded is not correctly encoded.")}};class Je extends Error{constructor(e,t){super(e,t);this.code="ERR_JOSE_GENERIC";this.name=this.constructor.name;Error.captureStackTrace?.(this,this.constructor)}}Je.code="ERR_JOSE_GENERIC";class Ge extends Je{constructor(e,t,i="unspecified",s="unspecified"){super(e,{cause:{claim:i,reason:s,payload:t}});this.code="ERR_JWT_CLAIM_VALIDATION_FAILED";this.claim=i;this.reason=s;this.payload=t}}Ge.code="ERR_JWT_CLAIM_VALIDATION_FAILED";class Me extends Je{constructor(e,t,i="unspecified",s="unspecified"){super(e,{cause:{claim:i,reason:s,payload:t}});this.code="ERR_JWT_EXPIRED";this.claim=i;this.reason=s;this.payload=t}}Me.code="ERR_JWT_EXPIRED";class Ae extends Je{constructor(){super(...arguments);this.code="ERR_JOSE_ALG_NOT_ALLOWED"}}Ae.code="ERR_JOSE_ALG_NOT_ALLOWED";class He extends Je{constructor(){super(...arguments);this.code="ERR_JOSE_NOT_SUPPORTED"}}He.code="ERR_JOSE_NOT_SUPPORTED";class Ze extends Je{constructor(e="decryption operation failed",t){super(e,t);this.code="ERR_JWE_DECRYPTION_FAILED"}}Ze.code="ERR_JWE_DECRYPTION_FAILED";class We extends Je{constructor(){super(...arguments);this.code="ERR_JWE_INVALID"}}We.code="ERR_JWE_INVALID";class _e extends Je{constructor(){super(...arguments);this.code="ERR_JWS_INVALID"}}_e.code="ERR_JWS_INVALID";class Oe extends Je{constructor(){super(...arguments);this.code="ERR_JWT_INVALID"}}Oe.code="ERR_JWT_INVALID";class je extends Je{constructor(){super(...arguments);this.code="ERR_JWK_INVALID"}}je.code="ERR_JWK_INVALID";class Ye extends Je{constructor(){super(...arguments);this.code="ERR_JWKS_INVALID"}}Ye.code="ERR_JWKS_INVALID";class $e extends Je{constructor(e="no applicable key found in the JSON Web Key Set",t){super(e,t);this.code="ERR_JWKS_NO_MATCHING_KEY"}}$e.code="ERR_JWKS_NO_MATCHING_KEY";class Ke extends Je{constructor(e="multiple matching keys found in the JSON Web Key Set",t){super(e,t);this.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS"}}Ke.code="ERR_JWKS_MULTIPLE_MATCHING_KEYS";class Xe extends Je{constructor(e="request timed out",t){super(e,t);this.code="ERR_JWKS_TIMEOUT"}}Xe.code="ERR_JWKS_TIMEOUT";class qe extends Je{constructor(e="signature verification failed",t){super(e,t);this.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED"}}qe.code="ERR_JWS_SIGNATURE_VERIFICATION_FAILED";function et(e,t="algorithm.name"){return new TypeError(`CryptoKey does not support this operation, its ${t} must be ${e}`)}function tt(e,t){return e.name===t}function it(e){return parseInt(e.name.slice(4),10)}function st(e){switch(e){case"ES256":return"P-256";case"ES384":return"P-384";case"ES512":return"P-521";default:throw new Error("unreachable")}}function rt(e,t){if(t.length&&!t.some((t=>e.usages.includes(t)))){let e="CryptoKey does not support this operation, its usages must include ";if(t.length>2){const i=t.pop();e+=`one of ${t.join(", ")}, or ${i}.`}else if(t.length===2){e+=`one of ${t[0]} or ${t[1]}.`}else{e+=`${t[0]}.`}throw new TypeError(e)}}function ot(e,t,...i){switch(t){case"HS256":case"HS384":case"HS512":{if(!tt(e.algorithm,"HMAC"))throw et("HMAC");const i=parseInt(t.slice(2),10);const s=it(e.algorithm.hash);if(s!==i)throw et(`SHA-${i}`,"algorithm.hash");break}case"RS256":case"RS384":case"RS512":{if(!tt(e.algorithm,"RSASSA-PKCS1-v1_5"))throw et("RSASSA-PKCS1-v1_5");const i=parseInt(t.slice(2),10);const s=it(e.algorithm.hash);if(s!==i)throw et(`SHA-${i}`,"algorithm.hash");break}case"PS256":case"PS384":case"PS512":{if(!tt(e.algorithm,"RSA-PSS"))throw et("RSA-PSS");const i=parseInt(t.slice(2),10);const s=it(e.algorithm.hash);if(s!==i)throw et(`SHA-${i}`,"algorithm.hash");break}case"EdDSA":{if(e.algorithm.name!=="Ed25519"&&e.algorithm.name!=="Ed448"){throw et("Ed25519 or Ed448")}break}case"Ed25519":{if(!tt(e.algorithm,"Ed25519"))throw et("Ed25519");break}case"ES256":case"ES384":case"ES512":{if(!tt(e.algorithm,"ECDSA"))throw et("ECDSA");const i=st(t);const s=e.algorithm.namedCurve;if(s!==i)throw et(i,"algorithm.namedCurve");break}default:throw new TypeError("CryptoKey does not support this operation")}rt(e,i)}function nt(e,t,...i){i=i.filter(Boolean);if(i.length>2){const t=i.pop();e+=`one of type ${i.join(", ")}, or ${t}.`}else if(i.length===2){e+=`one of type ${i[0]} or ${i[1]}.`}else{e+=`of type ${i[0]}.`}if(t==null){e+=` Received ${t}`}else if(typeof t==="function"&&t.name){e+=` Received function ${t.name}`}else if(typeof t==="object"&&t!=null){if(t.constructor?.name){e+=` Received an instance of ${t.constructor.name}`}}return e}var at=(e,...t)=>nt("Key must be ",e,...t);function lt(e,t,...i){return nt(`Key for the ${e} algorithm must be `,t,...i)}var dt=e=>{if(Re(e)){return true}return e?.[Symbol.toStringTag]==="KeyObject"};const ct=["CryptoKey"];const pt=(...e)=>{const t=e.filter(Boolean);if(t.length===0||t.length===1){return true}let i;for(const e of t){const t=Object.keys(e);if(!i||i.size===0){i=new Set(t);continue}for(const e of t){if(i.has(e)){return false}i.add(e)}}return true};var ut=pt;function ht(e){return typeof e==="object"&&e!==null}function ft(e){if(!ht(e)||Object.prototype.toString.call(e)!=="[object Object]"){return false}if(Object.getPrototypeOf(e)===null){return true}let t=e;while(Object.getPrototypeOf(t)!==null){t=Object.getPrototypeOf(t)}return Object.getPrototypeOf(e)===t}var mt=(e,t)=>{if(e.startsWith("RS")||e.startsWith("PS")){const{modulusLength:i}=t.algorithm;if(typeof i!=="number"||i<2048){throw new TypeError(`${e} requires key modulusLength to be 2048 bits or larger`)}}};function Qt(e){return ft(e)&&typeof e.kty==="string"}function bt(e){return e.kty!=="oct"&&typeof e.d==="string"}function yt(e){return e.kty!=="oct"&&typeof e.d==="undefined"}function gt(e){return Qt(e)&&e.kty==="oct"&&typeof e.k==="string"}function xt(e){let t;let i;switch(e.kty){case"RSA":{switch(e.alg){case"PS256":case"PS384":case"PS512":t={name:"RSA-PSS",hash:`SHA-${e.alg.slice(-3)}`};i=e.d?["sign"]:["verify"];break;case"RS256":case"RS384":case"RS512":t={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.alg.slice(-3)}`};i=e.d?["sign"]:["verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":t={name:"RSA-OAEP",hash:`SHA-${parseInt(e.alg.slice(-3),10)||1}`};i=e.d?["decrypt","unwrapKey"]:["encrypt","wrapKey"];break;default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}case"EC":{switch(e.alg){case"ES256":t={name:"ECDSA",namedCurve:"P-256"};i=e.d?["sign"]:["verify"];break;case"ES384":t={name:"ECDSA",namedCurve:"P-384"};i=e.d?["sign"]:["verify"];break;case"ES512":t={name:"ECDSA",namedCurve:"P-521"};i=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:"ECDH",namedCurve:e.crv};i=e.d?["deriveBits"]:[];break;default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}case"OKP":{switch(e.alg){case"Ed25519":t={name:"Ed25519"};i=e.d?["sign"]:["verify"];break;case"EdDSA":t={name:e.crv};i=e.d?["sign"]:["verify"];break;case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":t={name:e.crv};i=e.d?["deriveBits"]:[];break;default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}break}default:throw new He('Invalid or unsupported JWK "kty" (Key Type) Parameter value')}return{algorithm:t,keyUsages:i}}const Ut=async e=>{if(!e.alg){throw new TypeError('"alg" argument is required when "jwk.alg" is not present')}const{algorithm:t,keyUsages:i}=xt(e);const s=[t,e.ext??false,e.key_ops??i];const r={...e};delete r.alg;delete r.use;return De.subtle.importKey("jwk",r,...s)};var Bt=Ut;const vt=e=>Pe(e);let Ft;let Et;const wt=e=>e?.[Symbol.toStringTag]==="KeyObject";const St=async(e,t,i,s,r=false)=>{let o=e.get(t);if(o?.[s]){return o[s]}const n=await Bt({...i,alg:s});if(r)Object.freeze(t);if(!o){e.set(t,{[s]:n})}else{o[s]=n}return n};const Dt=(e,t)=>{if(wt(e)){let i=e.export({format:"jwk"});delete i.d;delete i.dp;delete i.dq;delete i.p;delete i.q;delete i.qi;if(i.k){return vt(i.k)}Et||(Et=new WeakMap);return St(Et,e,i,t)}if(Qt(e)){if(e.k)return Pe(e.k);Et||(Et=new WeakMap);const i=St(Et,e,e,t,true);return i}return e};const Rt=(e,t)=>{if(wt(e)){let i=e.export({format:"jwk"});if(i.k){return vt(i.k)}Ft||(Ft=new WeakMap);return St(Ft,e,i,t)}if(Qt(e)){if(e.k)return Pe(e.k);Ft||(Ft=new WeakMap);const i=St(Ft,e,e,t,true);return i}return e};var kt={normalizePublicKey:Dt,normalizePrivateKey:Rt};async function Lt(e,t){if(!ft(e)){throw new TypeError("JWK must be an object")}t||(t=e.alg);switch(e.kty){case"oct":if(typeof e.k!=="string"||!e.k){throw new TypeError('missing "k" (Key Value) Parameter value')}return Pe(e.k);case"RSA":if("oth"in e&&e.oth!==undefined){throw new He('RSA JWK "oth" (Other Primes Info) Parameter value is not supported')}case"EC":case"OKP":return Bt({...e,alg:t});default:throw new He('Unsupported "kty" (Key Type) Parameter value')}}const Nt=e=>e?.[Symbol.toStringTag];const Ct=(e,t,i)=>{if(t.use!==undefined&&t.use!=="sig"){throw new TypeError("Invalid key for this operation, when present its use must be sig")}if(t.key_ops!==undefined&&t.key_ops.includes?.(i)!==true){throw new TypeError(`Invalid key for this operation, when present its key_ops must include ${i}`)}if(t.alg!==undefined&&t.alg!==e){throw new TypeError(`Invalid key for this operation, when present its alg must be ${e}`)}return true};const Vt=(e,t,i,s)=>{if(t instanceof Uint8Array)return;if(s&&Qt(t)){if(gt(t)&&Ct(e,t,i))return;throw new TypeError(`JSON Web Key for symmetric algorithms must have JWK "kty" (Key Type) equal to "oct" and the JWK "k" (Key Value) present`)}if(!dt(t)){throw new TypeError(lt(e,t,...ct,"Uint8Array",s?"JSON Web Key":null))}if(t.type!=="secret"){throw new TypeError(`${Nt(t)} instances for symmetric algorithms must be of type "secret"`)}};const It=(e,t,i,s)=>{if(s&&Qt(t)){switch(i){case"sign":if(bt(t)&&Ct(e,t,i))return;throw new TypeError(`JSON Web Key for this operation be a private JWK`);case"verify":if(yt(t)&&Ct(e,t,i))return;throw new TypeError(`JSON Web Key for this operation be a public JWK`)}}if(!dt(t)){throw new TypeError(lt(e,t,...ct,s?"JSON Web Key":null))}if(t.type==="secret"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithms must not be of type "secret"`)}if(i==="sign"&&t.type==="public"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm signing must be of type "private"`)}if(i==="decrypt"&&t.type==="public"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm decryption must be of type "private"`)}if(t.algorithm&&i==="verify"&&t.type==="private"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm verifying must be of type "public"`)}if(t.algorithm&&i==="encrypt"&&t.type==="private"){throw new TypeError(`${Nt(t)} instances for asymmetric algorithm encryption must be of type "public"`)}};function Tt(e,t,i,s){const r=t.startsWith("HS")||t==="dir"||t.startsWith("PBES2")||/^A\d{3}(?:GCM)?KW$/.test(t);if(r){Vt(t,i,s,e)}else{It(t,i,s,e)}}Tt.bind(undefined,false);const zt=Tt.bind(undefined,true);function Pt(e,t,i,s,r){if(r.crit!==undefined&&s?.crit===undefined){throw new e('"crit" (Critical) Header Parameter MUST be integrity protected')}if(!s||s.crit===undefined){return new Set}if(!Array.isArray(s.crit)||s.crit.length===0||s.crit.some((e=>typeof e!=="string"||e.length===0))){throw new e('"crit" (Critical) Header Parameter MUST be an array of non-empty strings when present')}let o;if(i!==undefined){o=new Map([...Object.entries(i),...t.entries()])}else{o=t}for(const t of s.crit){if(!o.has(t)){throw new He(`Extension Header Parameter "${t}" is not recognized`)}if(r[t]===undefined){throw new e(`Extension Header Parameter "${t}" is missing`)}if(o.get(t)&&s[t]===undefined){throw new e(`Extension Header Parameter "${t}" MUST be integrity protected`)}}return new Set(s.crit)}const Jt=(e,t)=>{if(t!==undefined&&(!Array.isArray(t)||t.some((e=>typeof e!=="string")))){throw new TypeError(`"${e}" option must be an array of strings`)}if(!t){return undefined}return new Set(t)};var Gt=Jt;const Mt=async e=>{if(e instanceof Uint8Array){return{kty:"oct",k:Te(e)}}if(!Re(e)){throw new TypeError(at(e,...ct,"Uint8Array"))}if(!e.extractable){throw new TypeError("non-extractable CryptoKey cannot be exported as a JWK")}const{ext:t,key_ops:i,alg:s,use:r,...o}=await De.subtle.exportKey("jwk",e);return o};var At=Mt;async function Ht(e){return At(e)}function Zt(e,t){const i=`SHA-${e.slice(-3)}`;switch(e){case"HS256":case"HS384":case"HS512":return{hash:i,name:"HMAC"};case"PS256":case"PS384":case"PS512":return{hash:i,name:"RSA-PSS",saltLength:e.slice(-3)>>3};case"RS256":case"RS384":case"RS512":return{hash:i,name:"RSASSA-PKCS1-v1_5"};case"ES256":case"ES384":case"ES512":return{hash:i,name:"ECDSA",namedCurve:t.namedCurve};case"Ed25519":return{name:"Ed25519"};case"EdDSA":return{name:t.name};default:throw new He(`alg ${e} is not supported either by JOSE or your javascript runtime`)}}async function Wt(e,t,i){if(i==="sign"){t=await kt.normalizePrivateKey(t,e)}if(i==="verify"){t=await kt.normalizePublicKey(t,e)}if(Re(t)){ot(t,e,i);return t}if(t instanceof Uint8Array){if(!e.startsWith("HS")){throw new TypeError(at(t,...ct))}return De.subtle.importKey("raw",t,{hash:`SHA-${e.slice(-3)}`,name:"HMAC"},false,[i])}throw new TypeError(at(t,...ct,"Uint8Array","JSON Web Key"))}const _t=async(e,t,i,s)=>{const r=await Wt(e,t,"verify");mt(e,r);const o=Zt(e,r.algorithm);try{return await De.subtle.verify(o,r,i,s)}catch{return false}};var Ot=_t;async function jt(e,t,i){if(!ft(e)){throw new _e("Flattened JWS must be an object")}if(e.protected===undefined&&e.header===undefined){throw new _e('Flattened JWS must have either of the "protected" or "header" members')}if(e.protected!==undefined&&typeof e.protected!=="string"){throw new _e("JWS Protected Header incorrect type")}if(e.payload===undefined){throw new _e("JWS Payload missing")}if(typeof e.signature!=="string"){throw new _e("JWS Signature missing or incorrect type")}if(e.header!==undefined&&!ft(e.header)){throw new _e("JWS Unprotected Header incorrect type")}let s={};if(e.protected){try{const t=Pe(e.protected);s=JSON.parse(Ce.decode(t))}catch{throw new _e("JWS Protected Header is invalid")}}if(!ut(s,e.header)){throw new _e("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const r={...s,...e.header};const o=Pt(_e,new Map([["b64",true]]),i?.crit,s,r);let n=true;if(o.has("b64")){n=s.b64;if(typeof n!=="boolean"){throw new _e('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:a}=r;if(typeof a!=="string"||!a){throw new _e('JWS "alg" (Algorithm) Header Parameter missing or invalid')}const l=i&&Gt("algorithms",i.algorithms);if(l&&!l.has(a)){throw new Ae('"alg" (Algorithm) Header Parameter value not allowed')}if(n){if(typeof e.payload!=="string"){throw new _e("JWS Payload must be a string")}}else if(typeof e.payload!=="string"&&!(e.payload instanceof Uint8Array)){throw new _e("JWS Payload must be a string or an Uint8Array instance")}let d=false;if(typeof t==="function"){t=await t(s,e);d=true;zt(a,t,"verify");if(Qt(t)){t=await Lt(t,a)}}else{zt(a,t,"verify")}const c=Ve(Ne.encode(e.protected??""),Ne.encode("."),typeof e.payload==="string"?Ne.encode(e.payload):e.payload);let p;try{p=Pe(e.signature)}catch{throw new _e("Failed to base64url decode the signature")}const u=await Ot(a,t,p,c);if(!u){throw new qe}let h;if(n){try{h=Pe(e.payload)}catch{throw new _e("Failed to base64url decode the payload")}}else if(typeof e.payload==="string"){h=Ne.encode(e.payload)}else{h=e.payload}const f={payload:h};if(e.protected!==undefined){f.protectedHeader=s}if(e.header!==undefined){f.unprotectedHeader=e.header}if(d){return{...f,key:t}}return f}async function Yt(e,t,i){if(e instanceof Uint8Array){e=Ce.decode(e)}if(typeof e!=="string"){throw new _e("Compact JWS must be a string or Uint8Array")}const{0:s,1:r,2:o,length:n}=e.split(".");if(n!==3){throw new _e("Invalid Compact JWS")}const a=await jt({payload:r,protected:s,signature:o},t,i);const l={payload:a.payload,protectedHeader:a.protectedHeader};if(typeof t==="function"){return{...l,key:a.key}}return l}var $t=e=>Math.floor(e.getTime()/1e3);const Kt=60;const Xt=Kt*60;const qt=Xt*24;const ei=qt*7;const ti=qt*365.25;const ii=/^(\+|\-)? ?(\d+|\d+\.\d+) ?(seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)(?: (ago|from now))?$/i;var si=e=>{const t=ii.exec(e);if(!t||t[4]&&t[1]){throw new TypeError("Invalid time period format")}const i=parseFloat(t[2]);const s=t[3].toLowerCase();let r;switch(s){case"sec":case"secs":case"second":case"seconds":case"s":r=Math.round(i);break;case"minute":case"minutes":case"min":case"mins":case"m":r=Math.round(i*Kt);break;case"hour":case"hours":case"hr":case"hrs":case"h":r=Math.round(i*Xt);break;case"day":case"days":case"d":r=Math.round(i*qt);break;case"week":case"weeks":case"w":r=Math.round(i*ei);break;default:r=Math.round(i*ti);break}if(t[1]==="-"||t[4]==="ago"){return-r}return r};const ri=e=>e.toLowerCase().replace(/^application\//,"");const oi=(e,t)=>{if(typeof e==="string"){return t.includes(e)}if(Array.isArray(e)){return t.some(Set.prototype.has.bind(new Set(e)))}return false};var ni=(e,t,i={})=>{let s;try{s=JSON.parse(Ce.decode(t))}catch{}if(!ft(s)){throw new Oe("JWT Claims Set must be a top-level JSON object")}const{typ:r}=i;if(r&&(typeof e.typ!=="string"||ri(e.typ)!==ri(r))){throw new Ge('unexpected "typ" JWT header value',s,"typ","check_failed")}const{requiredClaims:o=[],issuer:n,subject:a,audience:l,maxTokenAge:d}=i;const c=[...o];if(d!==undefined)c.push("iat");if(l!==undefined)c.push("aud");if(a!==undefined)c.push("sub");if(n!==undefined)c.push("iss");for(const e of new Set(c.reverse())){if(!(e in s)){throw new Ge(`missing required "${e}" claim`,s,e,"missing")}}if(n&&!(Array.isArray(n)?n:[n]).includes(s.iss)){throw new Ge('unexpected "iss" claim value',s,"iss","check_failed")}if(a&&s.sub!==a){throw new Ge('unexpected "sub" claim value',s,"sub","check_failed")}if(l&&!oi(s.aud,typeof l==="string"?[l]:l)){throw new Ge('unexpected "aud" claim value',s,"aud","check_failed")}let p;switch(typeof i.clockTolerance){case"string":p=si(i.clockTolerance);break;case"number":p=i.clockTolerance;break;case"undefined":p=0;break;default:throw new TypeError("Invalid clockTolerance option type")}const{currentDate:u}=i;const h=$t(u||new Date);if((s.iat!==undefined||d)&&typeof s.iat!=="number"){throw new Ge('"iat" claim must be a number',s,"iat","invalid")}if(s.nbf!==undefined){if(typeof s.nbf!=="number"){throw new Ge('"nbf" claim must be a number',s,"nbf","invalid")}if(s.nbf>h+p){throw new Ge('"nbf" claim timestamp check failed',s,"nbf","check_failed")}}if(s.exp!==undefined){if(typeof s.exp!=="number"){throw new Ge('"exp" claim must be a number',s,"exp","invalid")}if(s.exp<=h-p){throw new Me('"exp" claim timestamp check failed',s,"exp","check_failed")}}if(d){const e=h-s.iat;const t=typeof d==="number"?d:si(d);if(e-p>t){throw new Me('"iat" claim timestamp check failed (too far in the past)',s,"iat","check_failed")}if(e<0-p){throw new Ge('"iat" claim timestamp check failed (it should be in the past)',s,"iat","check_failed")}}return s};async function ai(e,t,i){const s=await Yt(e,t,i);if(s.protectedHeader.crit?.includes("b64")&&s.protectedHeader.b64===false){throw new Oe("JWTs MUST NOT use unencoded payload")}const r=ni(s.protectedHeader,s.payload,i);const o={payload:r,protectedHeader:s.protectedHeader};if(typeof t==="function"){return{...o,key:s.key}}return o}const li=async(e,t,i)=>{const s=await Wt(e,t,"sign");mt(e,s);const r=await De.subtle.sign(Zt(e,s.algorithm),s,i);return new Uint8Array(r)};var di=li;class ci{constructor(e){if(!(e instanceof Uint8Array)){throw new TypeError("payload must be an instance of Uint8Array")}this._payload=e}setProtectedHeader(e){if(this._protectedHeader){throw new TypeError("setProtectedHeader can only be called once")}this._protectedHeader=e;return this}setUnprotectedHeader(e){if(this._unprotectedHeader){throw new TypeError("setUnprotectedHeader can only be called once")}this._unprotectedHeader=e;return this}async sign(e,t){if(!this._protectedHeader&&!this._unprotectedHeader){throw new _e("either setProtectedHeader or setUnprotectedHeader must be called before #sign()")}if(!ut(this._protectedHeader,this._unprotectedHeader)){throw new _e("JWS Protected and JWS Unprotected Header Parameter names must be disjoint")}const i={...this._protectedHeader,...this._unprotectedHeader};const s=Pt(_e,new Map([["b64",true]]),t?.crit,this._protectedHeader,i);let r=true;if(s.has("b64")){r=this._protectedHeader.b64;if(typeof r!=="boolean"){throw new _e('The "b64" (base64url-encode payload) Header Parameter must be a boolean')}}const{alg:o}=i;if(typeof o!=="string"||!o){throw new _e('JWS "alg" (Algorithm) Header Parameter missing or invalid')}zt(o,e,"sign");let n=this._payload;if(r){n=Ne.encode(Te(n))}let a;if(this._protectedHeader){a=Ne.encode(Te(JSON.stringify(this._protectedHeader)))}else{a=Ne.encode("")}const l=Ve(a,Ne.encode("."),n);const d=await di(o,e,l);const c={signature:Te(d),payload:""};if(r){c.payload=Ce.decode(n)}if(this._unprotectedHeader){c.header=this._unprotectedHeader}if(this._protectedHeader){c.protected=Ce.decode(a)}return c}}class pi{constructor(e){this._flattened=new ci(e)}setProtectedHeader(e){this._flattened.setProtectedHeader(e);return this}async sign(e,t){const i=await this._flattened.sign(e,t);if(i.payload===undefined){throw new TypeError("use the flattened module for creating JWS with b64: false")}return`${i.protected}.${i.payload}.${i.signature}`}}function ui(e,t){if(!Number.isFinite(t)){throw new TypeError(`Invalid ${e} input`)}return t}class hi{constructor(e={}){if(!ft(e)){throw new TypeError("JWT Claims Set MUST be an object")}this._payload=e}setIssuer(e){this._payload={...this._payload,iss:e};return this}setSubject(e){this._payload={...this._payload,sub:e};return this}setAudience(e){this._payload={...this._payload,aud:e};return this}setJti(e){this._payload={...this._payload,jti:e};return this}setNotBefore(e){if(typeof e==="number"){this._payload={...this._payload,nbf:ui("setNotBefore",e)}}else if(e instanceof Date){this._payload={...this._payload,nbf:ui("setNotBefore",$t(e))}}else{this._payload={...this._payload,nbf:$t(new Date)+si(e)}}return this}setExpirationTime(e){if(typeof e==="number"){this._payload={...this._payload,exp:ui("setExpirationTime",e)}}else if(e instanceof Date){this._payload={...this._payload,exp:ui("setExpirationTime",$t(e))}}else{this._payload={...this._payload,exp:$t(new Date)+si(e)}}return this}setIssuedAt(e){if(typeof e==="undefined"){this._payload={...this._payload,iat:$t(new Date)}}else if(e instanceof Date){this._payload={...this._payload,iat:ui("setIssuedAt",$t(e))}}else if(typeof e==="string"){this._payload={...this._payload,iat:ui("setIssuedAt",$t(new Date)+si(e))}}else{this._payload={...this._payload,iat:ui("setIssuedAt",e)}}return this}}class fi extends hi{setProtectedHeader(e){this._protectedHeader=e;return this}async sign(e,t){const i=new pi(Ne.encode(JSON.stringify(this._payload)));i.setProtectedHeader(this._protectedHeader);if(Array.isArray(this._protectedHeader?.crit)&&this._protectedHeader.crit.includes("b64")&&this._protectedHeader.b64===false){throw new Oe("JWTs MUST NOT use unencoded payload")}return i.sign(e,t)}}const mi=(e,t)=>{if(typeof e!=="string"||!e){throw new je(`${t} missing or invalid`)}};async function Qi(e,t){if(!ft(e)){throw new TypeError("JWK must be an object")}t??(t="sha256");if(t!=="sha256"&&t!=="sha384"&&t!=="sha512"){throw new TypeError('digestAlgorithm must one of "sha256", "sha384", or "sha512"')}let i;switch(e.kty){case"EC":mi(e.crv,'"crv" (Curve) Parameter');mi(e.x,'"x" (X Coordinate) Parameter');mi(e.y,'"y" (Y Coordinate) Parameter');i={crv:e.crv,kty:e.kty,x:e.x,y:e.y};break;case"OKP":mi(e.crv,'"crv" (Subtype of Key Pair) Parameter');mi(e.x,'"x" (Public Key) Parameter');i={crv:e.crv,kty:e.kty,x:e.x};break;case"RSA":mi(e.e,'"e" (Exponent) Parameter');mi(e.n,'"n" (Modulus) Parameter');i={e:e.e,kty:e.kty,n:e.n};break;case"oct":mi(e.k,'"k" (Key Value) Parameter');i={k:e.k,kty:e.kty};break;default:throw new He('"kty" (Key Type) Parameter missing or unsupported')}const s=Ne.encode(JSON.stringify(i));return Te(await Le(t,s))}function bi(e){switch(typeof e==="string"&&e.slice(0,2)){case"RS":case"PS":return"RSA";case"ES":return"EC";case"Ed":return"OKP";default:throw new He('Unsupported "alg" value for a JSON Web Key Set')}}function yi(e){return e&&typeof e==="object"&&Array.isArray(e.keys)&&e.keys.every(gi)}function gi(e){return ft(e)}function xi(e){if(typeof structuredClone==="function"){return structuredClone(e)}return JSON.parse(JSON.stringify(e))}class Ui{constructor(e){this._cached=new WeakMap;if(!yi(e)){throw new Ye("JSON Web Key Set malformed")}this._jwks=xi(e)}async getKey(e,t){const{alg:i,kid:s}={...e,...t?.header};const r=bi(i);const o=this._jwks.keys.filter((e=>{let t=r===e.kty;if(t&&typeof s==="string"){t=s===e.kid}if(t&&typeof e.alg==="string"){t=i===e.alg}if(t&&typeof e.use==="string"){t=e.use==="sig"}if(t&&Array.isArray(e.key_ops)){t=e.key_ops.includes("verify")}if(t){switch(i){case"ES256":t=e.crv==="P-256";break;case"ES256K":t=e.crv==="secp256k1";break;case"ES384":t=e.crv==="P-384";break;case"ES512":t=e.crv==="P-521";break;case"Ed25519":t=e.crv==="Ed25519";break;case"EdDSA":t=e.crv==="Ed25519"||e.crv==="Ed448";break}}return t}));const{0:n,length:a}=o;if(a===0){throw new $e}if(a!==1){const e=new Ke;const{_cached:t}=this;e[Symbol.asyncIterator]=async function*(){for(const e of o){try{yield await Bi(t,e,i)}catch{}}};throw e}return Bi(this._cached,n,i)}}async function Bi(e,t,i){const s=e.get(t)||e.set(t,{}).get(t);if(s[i]===undefined){const e=await Lt({...t,ext:true},i);if(e instanceof Uint8Array||e.type!=="public"){throw new Ye("JSON Web Key Set members must be public keys")}s[i]=e}return s[i]}function vi(e){const t=new Ui(e);const i=async(e,i)=>t.getKey(e,i);Object.defineProperties(i,{jwks:{value:()=>xi(t._jwks),enumerable:true,configurable:false,writable:false}});return i}const Fi=async(e,t,i)=>{let s;let r;let o=false;if(typeof AbortController==="function"){s=new AbortController;r=setTimeout((()=>{o=true;s.abort()}),t)}const n=await fetch(e.href,{signal:s?s.signal:undefined,redirect:"manual",headers:i.headers}).catch((e=>{if(o)throw new Xe;throw e}));if(r!==undefined)clearTimeout(r);if(n.status!==200){throw new Je("Expected 200 OK from the JSON Web Key Set HTTP response")}try{return await n.json()}catch{throw new Je("Failed to parse the JSON Web Key Set HTTP response as JSON")}};var Ei=Fi;function wi(){return typeof WebSocketPair!=="undefined"||typeof navigator!=="undefined"&&navigator.userAgent==="Cloudflare-Workers"||typeof EdgeRuntime!=="undefined"&&EdgeRuntime==="vercel"}let Si;if(typeof navigator==="undefined"||!navigator.userAgent?.startsWith?.("Mozilla/5.0 ")){const e="jose";const t="v5.10.0";Si=`${e}/${t}`}const Di=Symbol();function Ri(e,t){if(typeof e!=="object"||e===null){return false}if(!("uat"in e)||typeof e.uat!=="number"||Date.now()-e.uat>=t){return false}if(!("jwks"in e)||!ft(e.jwks)||!Array.isArray(e.jwks.keys)||!Array.prototype.every.call(e.jwks.keys,ft)){return false}return true}class ki{constructor(e,t){if(!(e instanceof URL)){throw new TypeError("url must be an instance of URL")}this._url=new URL(e.href);this._options={agent:t?.agent,headers:t?.headers};this._timeoutDuration=typeof t?.timeoutDuration==="number"?t?.timeoutDuration:5e3;this._cooldownDuration=typeof t?.cooldownDuration==="number"?t?.cooldownDuration:3e4;this._cacheMaxAge=typeof t?.cacheMaxAge==="number"?t?.cacheMaxAge:6e5;if(t?.[Di]!==undefined){this._cache=t?.[Di];if(Ri(t?.[Di],this._cacheMaxAge)){this._jwksTimestamp=this._cache.uat;this._local=vi(this._cache.jwks)}}}coolingDown(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cooldownDuration:false}fresh(){return typeof this._jwksTimestamp==="number"?Date.now()<this._jwksTimestamp+this._cacheMaxAge:false}async getKey(e,t){if(!this._local||!this.fresh()){await this.reload()}try{return await this._local(e,t)}catch(i){if(i instanceof $e){if(this.coolingDown()===false){await this.reload();return this._local(e,t)}}throw i}}async reload(){if(this._pendingFetch&&wi()){this._pendingFetch=undefined}const e=new Headers(this._options.headers);if(Si&&!e.has("User-Agent")){e.set("User-Agent",Si);this._options.headers=Object.fromEntries(e.entries())}this._pendingFetch||(this._pendingFetch=Ei(this._url,this._timeoutDuration,this._options).then((e=>{this._local=vi(e);if(this._cache){this._cache.uat=Date.now();this._cache.jwks=e}this._jwksTimestamp=Date.now();this._pendingFetch=undefined})).catch((e=>{this._pendingFetch=undefined;throw e})));await this._pendingFetch}}function Li(e,t){const i=new ki(e,t);const s=async(e,t)=>i.getKey(e,t);Object.defineProperties(s,{coolingDown:{get:()=>i.coolingDown(),enumerable:true,configurable:false},fresh:{get:()=>i.fresh(),enumerable:true,configurable:false},reload:{value:()=>i.reload(),enumerable:true,configurable:false,writable:false},reloading:{get:()=>!!i._pendingFetch,enumerable:true,configurable:false},jwks:{value:()=>i._local?.jwks(),enumerable:true,configurable:false,writable:false}});return s}const Ni=Pe;function Ci(e){if(typeof e!=="string")throw new Oe("JWTs must use Compact JWS serialization, JWT must be a string");const{1:t,length:i}=e.split(".");if(i===5)throw new Oe("Only JWTs using Compact JWS serialization can be decoded");if(i!==3)throw new Oe("Invalid JWT");if(!t)throw new Oe("JWTs must contain a payload");let s;try{s=Ni(t)}catch{throw new Oe("Failed to base64url decode the payload")}let r;try{r=JSON.parse(Ce.decode(s))}catch{throw new Oe("Failed to parse the decoded payload as JSON")}if(!ft(r))throw new Oe("Invalid JWT Claims Set");return r}function Vi(e){const t=e?.modulusLength??2048;if(typeof t!=="number"||t<2048){throw new He("Invalid or unsupported modulusLength option provided, 2048 bits or larger keys must be used")}return t}async function Ii(e,t){let i;let s;switch(e){case"PS256":case"PS384":case"PS512":i={name:"RSA-PSS",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Vi(t)};s=["sign","verify"];break;case"RS256":case"RS384":case"RS512":i={name:"RSASSA-PKCS1-v1_5",hash:`SHA-${e.slice(-3)}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Vi(t)};s=["sign","verify"];break;case"RSA-OAEP":case"RSA-OAEP-256":case"RSA-OAEP-384":case"RSA-OAEP-512":i={name:"RSA-OAEP",hash:`SHA-${parseInt(e.slice(-3),10)||1}`,publicExponent:new Uint8Array([1,0,1]),modulusLength:Vi(t)};s=["decrypt","unwrapKey","encrypt","wrapKey"];break;case"ES256":i={name:"ECDSA",namedCurve:"P-256"};s=["sign","verify"];break;case"ES384":i={name:"ECDSA",namedCurve:"P-384"};s=["sign","verify"];break;case"ES512":i={name:"ECDSA",namedCurve:"P-521"};s=["sign","verify"];break;case"Ed25519":i={name:"Ed25519"};s=["sign","verify"];break;case"EdDSA":{s=["sign","verify"];const e="Ed25519";switch(e){case"Ed25519":case"Ed448":i={name:e};break;default:throw new He("Invalid or unsupported crv option provided")}break}case"ECDH-ES":case"ECDH-ES+A128KW":case"ECDH-ES+A192KW":case"ECDH-ES+A256KW":{s=["deriveKey","deriveBits"];const e="P-256";switch(e){case"P-256":case"P-384":case"P-521":{i={name:"ECDH",namedCurve:e};break}case"X25519":case"X448":i={name:e};break;default:throw new He("Invalid or unsupported crv option provided, supported values are P-256, P-384, P-521, X25519, and X448")}break}default:throw new He('Invalid or unsupported JWK "alg" (Algorithm) Parameter value')}return De.subtle.generateKey(i,false,s)}async function Ti(e,t){return Ii(e,t)}const zi=async(e,t)=>{const i={...t,grant_types:["authorization_code","refresh_token"],id_token_signed_response_alg:"ES256",token_endpoint_auth_method:"none",application_type:"web",subject_type:"public"};return fetch(e,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)})};class Pi{dbName;storeName;dbVersion;db=null;constructor(e="soidc",t="session",i=1){this.dbName=e;this.storeName=t;this.dbVersion=i}async init(){return new Promise(((e,t)=>{const i=indexedDB.open(this.dbName,this.dbVersion);i.onerror=e=>{t(new Error(`Database error: ${e.target.error}`))};i.onsuccess=t=>{this.db=t.target.result;e(this)};i.onupgradeneeded=e=>{const t=e.target.result;if(!t.objectStoreNames.contains(this.storeName)){t.createObjectStore(this.storeName)}}}))}async setItem(e,t){if(!this.db){await this.init()}return new Promise(((i,s)=>{const r=this.db.transaction(this.storeName,"readwrite");r.oncomplete=()=>{i()};r.onerror=t=>{s(new Error(`Transaction error for setItem(${e},...): ${t.target.error}`))};r.onabort=t=>{s(new Error(`Transaction aborted for setItem(${e},...): ${t.target.error}`))};const o=r.objectStore(this.storeName);o.put(t,e)}))}async getItem(e){if(!this.db){await this.init()}return new Promise(((t,i)=>{const s=this.db.transaction(this.storeName,"readonly");s.onerror=t=>{i(new Error(`Transaction error for getItem(${e}): ${t.target.error}`))};s.onabort=t=>{i(new Error(`Transaction aborted for getItem(${e}): ${t.target.error}`))};const r=s.objectStore(this.storeName);const o=r.get(e);o.onsuccess=()=>{t(o.result||null)}}))}async deleteItem(e){if(!this.db){await this.init()}return new Promise(((t,i)=>{const s=this.db.transaction(this.storeName,"readwrite");s.oncomplete=()=>{t()};s.onerror=t=>{i(new Error(`Transaction error for deleteItem(${e}): ${t.target.error}`))};s.onabort=t=>{i(new Error(`Transaction aborted for deleteItem(${e}): ${t.target.error}`))};const r=s.objectStore(this.storeName);r.delete(e)}))}async clear(){if(!this.db){await this.init()}return new Promise(((e,t)=>{const i=this.db.transaction(this.storeName,"readwrite");i.oncomplete=()=>{e()};i.onerror=e=>{t(new Error(`Transaction error for clear(): ${e.target.error}`))};i.onabort=e=>{t(new Error(`Transaction aborted for clear(): ${e.target.error}`))};const s=i.objectStore(this.storeName);s.clear()}))}close(){if(this.db){this.db.close();this.db=null}}}const Ji=async(e,t,i)=>{const s=new URL(t);const r=s.origin+s.pathname+s.search;const o=new URL(e).origin;const n=await fetch(`${o}/.well-known/openid-configuration`).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));const a=n["issuer"];const l=e=>e.endsWith("/")?e.slice(0,-1):e;if(l(e)!==l(a)){throw new Error("RFC 9207 - iss != idp - "+a+" != "+e)}sessionStorage.setItem("idp",a);sessionStorage.setItem("token_endpoint",n["token_endpoint"]);sessionStorage.setItem("jwks_uri",n["jwks_uri"]);let d=i?.client_id;if(!d){const e=n["registration_endpoint"];const t=await zi(e,i??{redirect_uris:[r]}).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));d=t["client_id"];sessionStorage.setItem("client_id",d)}const{pkce_code_verifier:c,pkce_code_challenge:p}=await Gi();sessionStorage.setItem("pkce_code_verifier",c);const u=window.crypto.randomUUID();sessionStorage.setItem("csrf_token",u);const h=n["authorization_endpoint"]+`?response_type=code`+`&redirect_uri=${encodeURIComponent(r)}`+`&scope=openid offline_access webid`+`&client_id=${encodeURIComponent(d)}`+`&code_challenge_method=S256`+`&code_challenge=${p}`+`&state=${u}`+`&prompt=consent`;window.location.href=h};const Gi=async()=>{const e=window.crypto.randomUUID()+"-"+window.crypto.randomUUID();const t=new Uint8Array(await window.crypto.subtle.digest("SHA-256",(new TextEncoder).encode(e)));const i=btoa(String.fromCharCode(...t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return{pkce_code_verifier:e,pkce_code_challenge:i}};const Mi=async e=>{const t=new URL(window.location.href);const i=t.searchParams.get("code");if(i===null){return{clientDetails:e}}const s=sessionStorage.getItem("idp");if(s===null||t.searchParams.get("iss")!=s){throw new Error("RFC 9207 - iss != idp - "+t.searchParams.get("iss")+" != "+s)}if(t.searchParams.get("state")!=sessionStorage.getItem("csrf_token")){throw new Error("RFC 6749 - state != csrf_token - "+t.searchParams.get("state")+" != "+sessionStorage.getItem("csrf_token"))}t.searchParams.delete("iss");t.searchParams.delete("state");t.searchParams.delete("code");window.history.pushState({},document.title,t.toString());const r=sessionStorage.getItem("pkce_code_verifier");if(r===null){throw new Error("Access Token Request preparation - Could not find in sessionStorage: pkce_code_verifier")}const o=e?.client_id||sessionStorage.getItem("client_id");if(!o){throw new Error("Access Token Request preparation - Could not find in sessionStorage: client_id (dynamic registration)")}const n=sessionStorage.getItem("token_endpoint");if(n===null){throw new Error("Access Token Request preparation - Could not find in sessionStorage: token_endpoint")}const a=await Ti("ES256");const l=await Ai(i,r,t.toString(),o,n,a).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));const d=l["access_token"];const c=sessionStorage.getItem("jwks_uri");if(c===null){throw new Error("Access Token validation preparation - Could not find in sessionStorage: jwks_uri")}const p=Li(new URL(c));const{payload:u}=await ai(d,p,{issuer:s,audience:"solid"});const h=await Qi(await Ht(a.publicKey));if(u["cnf"]["jkt"]!=h){throw new Error("Access Token validation failed on `jkt`: jkt != DPoP thumbprint - "+u["cnf"]["jkt"]+" != "+h)}if(u["client_id"]!=o){throw new Error("Access Token validation failed on `client_id`: JWT payload != client_id - "+u["client_id"]+" != "+o)}const f={...l,dpop_key_pair:a};const m={idp:s,jwks_uri:c,token_endpoint:n};if(!e)e={redirect_uris:[window.location.href]};e.client_id=o;const Q=await(new Pi).init();await Promise.all([Q.setItem("idp",s),Q.setItem("jwks_uri",c),Q.setItem("token_endpoint",n),Q.setItem("client_id",o),Q.setItem("dpop_keypair",a),Q.setItem("refresh_token",l["refresh_token"])]);Q.close();sessionStorage.removeItem("csrf_token");sessionStorage.removeItem("pkce_code_verifier");sessionStorage.removeItem("idp");sessionStorage.removeItem("jwks_uri");sessionStorage.removeItem("token_endpoint");sessionStorage.removeItem("client_id");return{clientDetails:e,idpDetails:m,tokenDetails:f}};const Ai=async(e,t,i,s,r,o)=>{const n=await Ht(o.publicKey);n.alg="ES256";const a=await new fi({htu:r,htm:"POST"}).setIssuedAt().setJti(window.crypto.randomUUID()).setProtectedHeader({alg:"ES256",typ:"dpop+jwt",jwk:n}).sign(o.privateKey);return fetch(r,{method:"POST",headers:{dpop:a,"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"authorization_code",code:e,code_verifier:t,redirect_uri:i,client_id:s})})};const Hi=async()=>{const e=await(new Pi).init();const t=await e.getItem("client_id");const i=await e.getItem("token_endpoint");const s=await e.getItem("dpop_keypair");const r=await e.getItem("refresh_token");if(t===null||i===null||s===null||r===null){throw new Error("Could not refresh tokens: details missing from database.")}const o=await Zi(r,t,i,s).then((e=>{if(!e.ok){throw new Error(`HTTP error! Status: ${e.status}`)}return e.json()}));const n=o["access_token"];const a=await e.getItem("idp");if(a===null){throw new Error("Access Token validation preparation - Could not find in sessionDatabase: idp")}const l=await e.getItem("jwks_uri");if(l===null){throw new Error("Access Token validation preparation - Could not find in sessionDatabase: jwks_uri")}const d=Li(new URL(l));const{payload:c}=await ai(n,d,{issuer:a,audience:"solid"});const p=await Qi(await Ht(s.publicKey));if(c["cnf"]["jkt"]!=p){throw new Error("Access Token validation failed on `jkt`: jkt != DPoP thumbprint - "+c["cnf"]["jkt"]+" != "+p)}if(c["client_id"]!=t){throw new Error("Access Token validation failed on `client_id`: JWT payload != client_id - "+c["client_id"]+" != "+t)}await e.setItem("refresh_token",o["refresh_token"]);e.close();return{...o,dpop_key_pair:s}};const Zi=async(e,t,i,s)=>{const r=await Ht(s.publicKey);r.alg="ES256";const o=await new fi({htu:i,htm:"POST"}).setIssuedAt().setJti(window.crypto.randomUUID()).setProtectedHeader({alg:"ES256",typ:"dpop+jwt",jwk:r}).sign(s.privateKey);return fetch(i,{method:"POST",headers:{dpop:o,"Content-Type":"application/x-www-form-urlencoded"},body:new URLSearchParams({grant_type:"refresh_token",refresh_token:e,client_id:t})})};class Wi{sessionInformation;isActive_=false;webId_=undefined;currentAth_=undefined;tokenRefreshTimeout;sessionDeactivateTimeout;onSessionExpirationWarning;constructor(e,t){this.sessionInformation={clientDetails:e};this.onSessionExpirationWarning=t?.onSessionExpirationWarning}async login(e,t){await Ji(e,t,this.sessionInformation.clientDetails)}async logout(){if(this.sessionDeactivateTimeout)clearTimeout(this.sessionDeactivateTimeout);this.sessionDeactivateTimeout=undefined;if(this.tokenRefreshTimeout)clearTimeout(this.tokenRefreshTimeout);this.tokenRefreshTimeout=undefined;this.sessionInformation.idpDetails=undefined;this.sessionInformation.tokenDetails=undefined;this.isActive_=false;this.webId_=undefined;if(this.sessionInformation.clientDetails?.client_id)try{new URL(this.sessionInformation.clientDetails.client_id)}catch(e){this.sessionInformation.clientDetails.client_id=undefined}const e=await(new Pi).init();await e.clear();e.close()}async handleRedirectFromLogin(){const e=await Mi(this.sessionInformation.clientDetails);if(!e.tokenDetails){return}this.sessionInformation=e;await this.setSessionDetails()}async restore(){await Hi().then((e=>{this.sessionInformation.tokenDetails=e;return this.setSessionDetails()})).catch((e=>{}))}async createSignedDPoPToken(e){if(!this.sessionInformation.tokenDetails||!this.currentAth_){throw new Error("Session not established.")}e.ath=this.currentAth_;const t=await Ht(this.sessionInformation.tokenDetails.dpop_key_pair.publicKey);return new fi(e).setIssuedAt().setJti(window.crypto.randomUUID()).setProtectedHeader({alg:"ES256",typ:"dpop+jwt",jwk:t}).sign(this.sessionInformation.tokenDetails.dpop_key_pair.privateKey)}async authFetch(e,t,i){let s;let r;let o;if(e instanceof Request){s=new URL(e.url);r=t?.method||e?.method||"GET";o=new Headers(e.headers)}else{t=t||{};s=new URL(e.toString());r=t.method||"GET";o=t.headers?new Headers(t.headers):new Headers}if(this.sessionInformation.tokenDetails){i=i??{htu:`${s.origin}${s.pathname}`,htm:r.toUpperCase()};const e=await this.createSignedDPoPToken(i);o.set("dpop",e);o.set("authorization",`DPoP ${this.sessionInformation.tokenDetails.access_token}`)}if(e instanceof Request){return fetch(new Request(e,{...t,headers:o}))}return fetch(s,{...t,headers:o})}get isActive(){return this.isActive_}get webId(){return this.webId_}async setSessionDetails(){if(!this.sessionInformation.tokenDetails?.access_token){this.logout()}this.currentAth_=await this.computeAth(this.sessionInformation.tokenDetails.access_token);this.webId_=Ci(this.sessionInformation.tokenDetails.access_token)["webid"];this.isActive_=this.webId!==undefined;this.setSessionDeactivateTimeout();this.setTokenRefreshTimeout()}setSessionDeactivateTimeout(){const e=5;const t=(this.sessionInformation.tokenDetails.expires_in-e)*1e3;if(this.sessionDeactivateTimeout)clearTimeout(this.sessionDeactivateTimeout);this.sessionDeactivateTimeout=setTimeout((()=>this.logout()),t)}setTokenRefreshTimeout(){const e=95;const t=(this.sessionInformation.tokenDetails.expires_in-e)*1e3;if(this.tokenRefreshTimeout)clearTimeout(this.tokenRefreshTimeout);this.tokenRefreshTimeout=setTimeout((async()=>{const e=await Hi().catch((e=>{if(this.onSessionExpirationWarning)this.onSessionExpirationWarning();return undefined}));if(!e){return}this.sessionInformation.tokenDetails=e;this.setSessionDetails()}),t)}async computeAth(e){const t=new TextEncoder;const i=t.encode(e);const s=await crypto.subtle.digest("SHA-256",i);const r=Array.from(new Uint8Array(s));const o=btoa(String.fromCharCode(...r));const n=o.replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"");return n}}class _i{get authenticatedFetch(){return this._authenticatedFetch}constructor(){this.onSessionRestoreCallback=()=>{};this.sessionInfo$=new w.BehaviorSubject({isLoggedIn:false,webId:undefined});this.session=new Wi;this._authenticatedFetch=this.session.authFetch.bind(this.session)}async handleIncomingRedirect(e=false){await this.session.handleRedirectFromLogin();if(e){await this.session.restore();if(this.session.isActive){this.onSessionRestoreCallback(window.location.href)}}this.sessionInfo$.next({isLoggedIn:this.session.isActive,webId:this.session.webId})}async login(e){return this.session.login(e,window.location.href)}async logout(){await this.session.logout();this.sessionInfo$.next({isLoggedIn:false,webId:undefined})}observeSession(){return this.sessionInfo$}onSessionRestore(e){this.onSessionRestoreCallback=e}}var Oi=a`
2
2
  :host {
3
3
  --height: 1rem;
4
4
  --track-color: var(--sl-color-neutral-200);
@@ -105,7 +105,7 @@ import{r as e,h as t,H as i,c as s,a as r,d as o,f as n}from"./p-CTyMYUsB.js";im
105
105
  ${!this.indeterminate?f` <slot part="label" class="progress-bar__label"></slot> `:""}
106
106
  </div>
107
107
  </div>
108
- `}};Xi.styles=[c,Oi];p([u({type:Number,reflect:true})],Xi.prototype,"value",2);p([u({type:Boolean,reflect:true})],Xi.prototype,"indeterminate",2);p([u()],Xi.prototype,"label",2);Xi.define("sl-progress-bar");const qi=class{constructor(t){e(this,t);this.sessionRestoredEmitter=s(this,"pod-os:session-restored");this.podOsLoadedEmitter=s(this,"pod-os:loaded");this.restorePreviousSession=false;this.disconnected$=new w.Subject;this.loading=true}async componentWillLoad(){const e=new _i;this.unsubscribeSettings=_.on("set",(()=>{this.os=Ee(e,_.state)}));this.os=Ee(e,_.state);e.onSessionRestore((e=>{this.sessionRestoredEmitter.emit({url:e})}));try{await e.handleIncomingRedirect(this.restorePreviousSession)}catch(e){console.error(e)}this.os.observeSession().pipe(w.takeUntil(this.disconnected$)).subscribe((async e=>{U.state.webId=e.webId;if(e.isLoggedIn){const t=await this.os.fetchProfile(e.webId);U.state.profile=t}U.state.isLoggedIn=e.isLoggedIn;this.loading=false}));this.podOsLoadedEmitter.emit({os:this.os,authenticatedFetch:e.authenticatedFetch})}disconnectedCallback(){this.unsubscribeSettings();this.disconnected$.next();this.disconnected$.unsubscribe()}async initializeOs(e){e.stopPropagation();e.detail(this.os)}async loadModule(e){e.stopPropagation();if(e.detail.module==="contacts"){const t=await this.os.loadContactsModule();e.detail.receiver(t)}else{throw Error(`Unknown module "${e.detail.module}"`)}}render(){return this.loading?t("sl-progress-bar",{indeterminate:true}):t("slot",null)}};const es="pos-router {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\npos-navigation {\n max-width: var(--width-lg);\n margin: 0;\n min-width: var(--size-32);\n flex-shrink: 1; /* Ensure navigation can shrink */\n}\n\npos-add-new-thing,\npos-login {\n flex: 0 1 auto;\n flex-shrink: 0; /* Ensure those items don't shrink */\n}\n\nheader,\nfooter {\n display: flex;\n gap: var(--size-1);\n height: auto;\n justify-content: center;\n align-items: center;\n padding: var(--size-1);\n}\n\nfooter svg {\n width: var(--size-5);\n height: var(--size-5);\n}\n\nfooter {\n font-size: var(--scale-fluid-000);\n\n .settings {\n padding: 0 var(--size-1);\n text-decoration: none;\n background-color: var(--pos-background-color);\n border: 1px solid var(--pos-secondary-border-color);\n color: var(--pos-secondary-border-color);\n border-radius: var(--radius-xs);\n\n &:hover {\n background-color: var(--pos-secondary-border-color);\n color: var(--pos-background-color);\n }\n }\n}\n\nheader {\n flex-wrap: nowrap;\n padding: var(--size-1) var(--size-8);\n}\n\nmain {\n flex: 1;\n max-height: 100vh;\n overflow: auto;\n}\n\n@media (max-width: 640px) {\n header {\n padding: var(--size-1);\n justify-content: space-between;\n }\n footer {\n display: none;\n }\n}\n";const ts=class{constructor(t){e(this,t);this.restorePreviousSession=false;this.mode="standalone";this.uri=""}render(){return t(i,{key:"08b186d2f354d6c07df02707eb4ada81aef7dec3"},t("pos-app",{key:"54c372343e916ab5d77584381b3965c925ae0cd0",restorePreviousSession:this.restorePreviousSession},t("pos-error-toast",{key:"ab63e18121ca16670f81da141219a782dde0694b"},t("pos-router",{key:"69b6f3bf8ce3720c6c39cdb4be69e640e27ccc5b",mode:this.mode,"onPod-os:route-changed":e=>this.uri=e.detail},t("header",{key:"5cd3412caf13b6d99da517ae7e6f5877234e65d7"},t("pos-add-new-thing",{key:"9b83b3cf03b7038303975386176df539b35ff547",referenceUri:this.uri}),t("pos-navigation",{key:"26bfed9b1c8dd1be018babc6ef40ae42808a5c42",uri:this.uri==="pod-os:dashboard"?"":this.uri}),t("pos-login",{key:"e29f18dcde866d8ac1e317fcd7b71ef584e69034"},t("pos-user-menu",{key:"be796f0914649eb4e8525a9d8acdfd535626303c",webId:U.state.webId,slot:"if-logged-in"}))),t("main",{key:"f99dfb2d43e949528bc767b94801c99bf04a7eea"},this.mainContent()),t("footer",{key:"64744d1246356fa00da9c6b561785e2b794a7907"},t(is,{key:"a648f7f88e12c79348bda33152f2759d2b93e738"}),t("span",{key:"f22e2f9904ba517fc2e579a05018704b5ade6302"},"PodOS Browser"))))))}mainContent(){if(this.uri===""){return null}if(this.uri.startsWith("pod-os:")){return t("pos-internal-router",{uri:this.uri})}return t("pos-resource",{key:this.uri,uri:this.uri},t("pos-type-router",null))}};const is=()=>t("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M50 350 L50 100 L200 50 L350 100 L350 350 Z",style:{fill:"#008BF8",stroke:"#008BF8","stroke-width":"70"},"stroke-linejoin":"round"}),t("path",{d:"M100 300 L100 150 L200 120 L300 150 L300 300 L130 300 L130 370 L100 370Z",style:{fill:"white",stroke:"white","stroke-width":"45"},"stroke-linejoin":"round"}),t("path",{d:"M150 250 L150 200 L200 180 L250 200 L250 250 Z",style:{fill:"#DC0073",stroke:"#DC0073","stroke-width":"20"},"stroke-linejoin":"round"}));ts.style=es;const ss=":host{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--size-12), var(--size-96)));gap:var(--size-4);padding:var(--size-2);justify-content:center;align-items:start;justify-items:stretch}";const rs=class{constructor(t){e(this,t)}render(){return t(i,{key:"7e49cf53981bebcdb40c260060654e9ed7a6c568"},U.state.isLoggedIn?[t("pos-example-resources",null)]:[t("pos-getting-started",null),t("pos-example-resources",null)])}};rs.style=ss;const os=":host{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--size-12), var(--size-96)));gap:var(--size-4);padding:var(--size-2);justify-content:center;align-items:start;justify-items:stretch}";const ns=class{constructor(t){e(this,t)}render(){return t("pos-setting-offline-cache",{key:"a5f139aaeb3e290af4c72a4976c994b693ef0736"})}};ns.style=os;const as=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.receiveResource=e=>{this.resource=e}}componentWillLoad(){J(this)}render(){return this.resource?this.resource.description():null}};const ls="dialog{background-color:var(--pos-background-color);color:var(--pos-normal-text-color);border:none;border-radius:var(--radius-md);box-shadow:var(--shadow-md);max-width:var(--width-xs);animation:slideIn 0.2s ease-out}dialog::backdrop{background:rgba(0, 0, 0, 0.5);backdrop-filter:var(--blur-sm);animation:fadeIn 0.2s ease-out}@media (prefers-color-scheme: dark){dialog::backdrop{background:rgb(100, 100, 100, 0.5)}}dialog header>:first-child{flex-grow:1;font-weight:var(--weight-light);font-size:var(--scale-2);font-family:var(--font-sans);margin:0}dialog header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--scale-0);border-bottom-style:inset;padding:0 0 var(--scale-0) 0}dialog>:last-child{display:block;margin-top:var(--scale-3)}button#close{cursor:pointer;display:flex;align-items:center;justify-content:center;border:none;background:none;font-size:var(--scale-3);color:var(--color-grey-500)}button#close:hover{color:var(--pos-secondary-border-color)}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideIn{from{opacity:0;transform:translateY(-20px) scale(0.95)}to{opacity:1;transform:translateY(0) scale(1)}}";const ds=class{constructor(t){e(this,t)}async showModal(){this.dialog.showModal()}async close(){this.dialog.close()}render(){return t(i,{key:"dfce1d10a4d819888a37585cb83221e24da02033"},t("dialog",{key:"12eac20d03a70b67fa42ab2d8d438c389441d93b",ref:e=>this.dialog=e},t("header",{key:"b853bda833644cb757853e26f4f2f8cd2d4a8538"},t("slot",{key:"0d100ed81b8820851efe138930fadf6790ebfaf0",name:"title"}),t("button",{key:"879a24dfb4df55098821ac743d1578583b99906c",tabindex:-1,id:"close",title:"Close",onClick:()=>this.close()},t("sl-icon",{key:"3657f354064cbddad0327a59634a15515b707849",name:"x"}))),t("slot",{key:"870521255a4c4c741bb76cb323ff75fd5ab90b2c",name:"content"})))}};ds.style=ls;var cs=e=>{var t;const{activeElement:i}=document;if(i&&e.contains(i)){(t=document.activeElement)==null?void 0:t.blur()}};var ps=a`
108
+ `}};Xi.styles=[c,Oi];p([u({type:Number,reflect:true})],Xi.prototype,"value",2);p([u({type:Boolean,reflect:true})],Xi.prototype,"indeterminate",2);p([u()],Xi.prototype,"label",2);Xi.define("sl-progress-bar");const qi=class{constructor(t){e(this,t);this.sessionRestoredEmitter=s(this,"pod-os:session-restored");this.podOsLoadedEmitter=s(this,"pod-os:loaded");this.restorePreviousSession=false;this.disconnected$=new w.Subject;this.loading=true}async componentWillLoad(){const e=new _i;this.unsubscribeSettings=_.on("set",(()=>{this.os=Ee(e,_.state)}));this.os=Ee(e,_.state);e.onSessionRestore((e=>{this.sessionRestoredEmitter.emit({url:e})}));try{await e.handleIncomingRedirect(this.restorePreviousSession)}catch(e){console.error(e)}this.os.observeSession().pipe(w.takeUntil(this.disconnected$)).subscribe((async e=>{U.state.webId=e.webId;if(e.isLoggedIn){const t=await this.os.fetchProfile(e.webId);U.state.profile=t}U.state.isLoggedIn=e.isLoggedIn;this.loading=false}));this.podOsLoadedEmitter.emit({os:this.os,authenticatedFetch:e.authenticatedFetch})}disconnectedCallback(){this.unsubscribeSettings();this.disconnected$.next();this.disconnected$.unsubscribe()}async initializeOs(e){e.stopPropagation();e.detail(this.os)}async loadModule(e){e.stopPropagation();if(e.detail.module==="contacts"){const t=await this.os.loadContactsModule();e.detail.receiver(t)}else{throw Error(`Unknown module "${e.detail.module}"`)}}render(){return this.loading?t("sl-progress-bar",{indeterminate:true}):t("slot",null)}};const es="pos-router {\n margin: 0;\n padding: 0;\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n\npos-navigation {\n max-width: var(--width-lg);\n margin: 0;\n min-width: var(--size-32);\n flex-shrink: 1; /* Ensure navigation can shrink */\n}\n\npos-add-new-thing,\npos-login {\n flex: 0 1 auto;\n flex-shrink: 0; /* Ensure those items don't shrink */\n}\n\nheader,\nfooter {\n display: flex;\n gap: var(--size-1);\n height: auto;\n justify-content: center;\n align-items: center;\n padding: var(--size-1);\n}\n\nfooter svg {\n width: var(--size-5);\n height: var(--size-5);\n}\n\nfooter {\n font-size: var(--scale-fluid-000);\n\n .settings {\n padding: 0 var(--size-1);\n text-decoration: none;\n background-color: var(--pos-background-color);\n border: 1px solid var(--pos-secondary-border-color);\n color: var(--pos-secondary-border-color);\n border-radius: var(--radius-xs);\n\n &:hover {\n background-color: var(--pos-secondary-border-color);\n color: var(--pos-background-color);\n }\n }\n}\n\nheader {\n flex-wrap: nowrap;\n padding: var(--size-1) var(--size-8);\n}\n\nmain {\n flex: 1;\n max-height: 100vh;\n overflow: auto;\n}\n\n@media (max-width: 640px) {\n header {\n padding: var(--size-1);\n justify-content: space-between;\n }\n footer {\n display: none;\n }\n}\n";const ts=class{constructor(t){e(this,t);this.restorePreviousSession=false;this.mode="standalone";this.uri=""}render(){return t(i,{key:"08b186d2f354d6c07df02707eb4ada81aef7dec3"},t("pos-app",{key:"54c372343e916ab5d77584381b3965c925ae0cd0",restorePreviousSession:this.restorePreviousSession},t("pos-error-toast",{key:"ab63e18121ca16670f81da141219a782dde0694b"},t("pos-router",{key:"69b6f3bf8ce3720c6c39cdb4be69e640e27ccc5b",mode:this.mode,"onPod-os:route-changed":e=>this.uri=e.detail},t("header",{key:"5cd3412caf13b6d99da517ae7e6f5877234e65d7"},t("pos-add-new-thing",{key:"9b83b3cf03b7038303975386176df539b35ff547",referenceUri:this.uri}),t("pos-navigation",{key:"26bfed9b1c8dd1be018babc6ef40ae42808a5c42",uri:this.uri==="pod-os:dashboard"?"":this.uri}),t("pos-login",{key:"e29f18dcde866d8ac1e317fcd7b71ef584e69034"},t("pos-user-menu",{key:"be796f0914649eb4e8525a9d8acdfd535626303c",webId:U.state.webId,slot:"if-logged-in"}))),t("main",{key:"f99dfb2d43e949528bc767b94801c99bf04a7eea"},this.mainContent()),t("footer",{key:"64744d1246356fa00da9c6b561785e2b794a7907"},t(is,{key:"a648f7f88e12c79348bda33152f2759d2b93e738"}),t("span",{key:"f22e2f9904ba517fc2e579a05018704b5ade6302"},"PodOS Browser"))))))}mainContent(){if(this.uri===""){return null}if(this.uri.startsWith("pod-os:")){return t("pos-internal-router",{uri:this.uri})}return t("pos-resource",{key:this.uri,uri:this.uri},t("pos-type-router",null))}};const is=()=>t("svg",{viewBox:"0 0 400 400",xmlns:"http://www.w3.org/2000/svg"},t("path",{d:"M50 350 L50 100 L200 50 L350 100 L350 350 Z",style:{fill:"#008BF8",stroke:"#008BF8","stroke-width":"70"},"stroke-linejoin":"round"}),t("path",{d:"M100 300 L100 150 L200 120 L300 150 L300 300 L130 300 L130 370 L100 370Z",style:{fill:"white",stroke:"white","stroke-width":"45"},"stroke-linejoin":"round"}),t("path",{d:"M150 250 L150 200 L200 180 L250 200 L250 250 Z",style:{fill:"#DC0073",stroke:"#DC0073","stroke-width":"20"},"stroke-linejoin":"round"}));ts.style=es;const ss=":host{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--size-12), var(--size-96)));gap:var(--size-4);padding:var(--size-2);justify-content:center;align-items:start;justify-items:stretch}";const rs=class{constructor(t){e(this,t)}render(){return t(i,{key:"18dc165b7be1c796136804a2ba7643b2a6fffc73"},t("pos-getting-started",{key:"e3f7a22641e4c24168a36f96463515cd1a89ca5e"}),t("pos-example-resources",{key:"1044dd873049118e165ff6d38449c85695f63a50"}))}};rs.style=ss;const os=":host{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--size-12), var(--size-96)));gap:var(--size-4);padding:var(--size-2);justify-content:center;align-items:start;justify-items:stretch}";const ns=class{constructor(t){e(this,t)}render(){return t("pos-setting-offline-cache",{key:"f065206f6291089773a19045243f04b6ce35eeb9"})}};ns.style=os;const as=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.receiveResource=e=>{this.resource=e}}componentWillLoad(){J(this)}render(){return this.resource?this.resource.description():null}};const ls="dialog{background-color:var(--pos-background-color);color:var(--pos-normal-text-color);border:none;border-radius:var(--radius-md);box-shadow:var(--shadow-md);max-width:var(--width-xs);animation:slideIn 0.2s ease-out}dialog::backdrop{background:rgba(0, 0, 0, 0.5);backdrop-filter:var(--blur-sm);animation:fadeIn 0.2s ease-out}@media (prefers-color-scheme: dark){dialog::backdrop{background:rgb(100, 100, 100, 0.5)}}dialog header>:first-child{flex-grow:1;font-weight:var(--weight-light);font-size:var(--scale-2);font-family:var(--font-sans);margin:0}dialog header{display:flex;flex-direction:row;justify-content:space-between;align-items:center;gap:var(--scale-0);border-bottom-style:inset;padding:0 0 var(--scale-0) 0}dialog>:last-child{display:block;margin-top:var(--scale-3)}button#close{cursor:pointer;display:flex;align-items:center;justify-content:center;border:none;background:none;font-size:var(--scale-3);color:var(--color-grey-500)}button#close:hover{color:var(--pos-secondary-border-color)}@keyframes fadeIn{from{opacity:0}to{opacity:1}}@keyframes slideIn{from{opacity:0;transform:translateY(-20px) scale(0.95)}to{opacity:1;transform:translateY(0) scale(1)}}";const ds=class{constructor(t){e(this,t)}async showModal(){this.dialog.showModal()}async close(){this.dialog.close()}render(){return t(i,{key:"bded720f08d77e53b8277d73ec1820345b271983"},t("dialog",{key:"f2060a41132226986804e7b170ff1694358cab00",ref:e=>this.dialog=e},t("header",{key:"eee666652599cba426091549bde520e2a2fa155f"},t("slot",{key:"31e8dceba7f6a6f41c7211ddbb91316019fd7949",name:"title"}),t("button",{key:"9de7cfd061f38bad7a2cfafc1d1d3bb1c12f04ec",tabindex:-1,id:"close",title:"Close",onClick:()=>this.close()},t("sl-icon",{key:"0b8c86946fe1ee1df0e33bb6c920ad714078f08c",name:"x"}))),t("slot",{key:"3c119340ec5344e214b5833ccdef602e8bc416c5",name:"content"})))}};ds.style=ls;var cs=e=>{var t;const{activeElement:i}=document;if(i&&e.contains(i)){(t=document.activeElement)==null?void 0:t.blur()}};var ps=a`
109
109
  :host {
110
110
  display: inline-block;
111
111
  color: var(--sl-color-neutral-600);
@@ -362,7 +362,7 @@ import{r as e,h as t,H as i,c as s,a as r,d as o,f as n}from"./p-CTyMYUsB.js";im
362
362
  </div>
363
363
  `:""}
364
364
  </div>
365
- `}};Bs.styles=[c,Us];Bs.dependencies={"sl-icon-button":ys};p([D('[part~="base"]')],Bs.prototype,"base",2);p([D(".alert__countdown-elapsed")],Bs.prototype,"countdownElement",2);p([u({type:Boolean,reflect:true})],Bs.prototype,"open",2);p([u({type:Boolean,reflect:true})],Bs.prototype,"closable",2);p([u({reflect:true})],Bs.prototype,"variant",2);p([u({type:Number})],Bs.prototype,"duration",2);p([u({type:String,reflect:true})],Bs.prototype,"countdown",2);p([Q()],Bs.prototype,"remainingTime",2);p([b("open",{waitUntilFirstUpdate:true})],Bs.prototype,"handleOpenChange",1);p([b("duration")],Bs.prototype,"handleDurationChange",1);var vs=Bs;R("alert.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});R("alert.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});vs.define("sl-alert");const Fs=class{constructor(t){e(this,t)}async unhandledRejection(e){e.stopPropagation();console.error("unhandled promise rejection",e);this.title="Unhandled promise rejection";this.message=e.reason.toString()}async catchError(e){e.stopPropagation();console.error(e.detail);if(e.detail instanceof Error){this.title="Error";this.message=e.detail.message}else{const t=e.detail;this.title=t.title;this.message=t.detail}await this.alert.toast()}render(){return t(i,{key:"a2c2db82c085541f2912861ff715633c1a50872e"},t("sl-alert",{key:"af7e56dacdd8c2cdacfe4eb5020d59e8111e9947",ref:e=>this.alert=e,variant:"danger",duration:"10000",closable:true},t("sl-icon",{key:"f50b8c321b0844c2f3cac2886f23b758e18500b1",slot:"icon",name:"exclamation-octagon"}),t("strong",{key:"0f7c7880b08366a16baaa1385df12614d6a6cddf"},this.title),t("br",{key:"5660dbabfa1162590b386087231301ee3920a415"}),this.message),t("slot",{key:"671026ea140044dfbeb63dee5c08a65591464668"}))}};const Es=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}.links{display:flex;flex-direction:column;gap:var(--size-3);max-width:80vw}";const ws=class{constructor(t){e(this,t)}render(){return t(i,{key:"edfbfc18bef5794e03385a6712cd6301b9f7fb56"},t("div",{key:"cb211969daa03f9377b9cc91d32983305d8efc8f"},t("h2",{key:"df34f7358c8b232d6d4874069c3a93491332589e"},"Try these... 💡"),t("p",{key:"512f37a9d3ba9f7492ab1770472732d3027751d4"},"No idea where to start? Try these example resources, and follow your nose 👃"),t("div",{key:"70c3dd35ffb296cfa535df0e74a1142c825d24a2",class:"links"},t("pos-rich-link",{key:"441945b22665c8688efb69bdb90fb61c13e41192",uri:"https://pod-os.solidcommunity.net/profile/card#me"}),t("pos-rich-link",{key:"d159b08661afd4c3dcc1d305f51c0a71dd8d1556",uri:"https://angelo.veltens.org/profile/card#me"}),t("pos-rich-link",{key:"82bf392405f612530d5de60d93e2201fae53f8fd",uri:"https://angelo.veltens.org/public/bookmarks"}),t("pos-rich-link",{key:"6f2151ad44f7659e723cb31f33b1a26170fbe37b",uri:"https://solidos.solidcommunity.net/profile/card#me"}))))}};ws.style=Es;const Ss=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}.question{font-weight:var(--weight-semibold)}a{font-weight:var(--weight-bold);color:var(--pos-primary-color)}button.login{background:none;color:var(--pos-primary-color);display:inline;text-decoration:underline;border:none;padding:0;margin:0;cursor:pointer;font-size:unset}";const Ds=class{constructor(t){e(this,t);this.login=s(this,"pod-os:login")}render(){return t(i,{key:"7486f4d04e3b7bd341fd2d9c02b85360079c5d5a"},t("div",{key:"710c84685022c9a55c821a421642cbff24c7ba5a"},t("h2",{key:"f01aa189a05ea101c61eecdc68d6fa1db9fefbb3"},"Getting started 🚀"),t("p",{key:"0e3320c4297a3438b2cdda02e27f0517a0ac2a85"},"🔎 Enter a URL into the above navigation bar to browse through the web of data. "),t("p",{key:"f99d218c35b6aa698bba807dc0f3b272ecd81416"},"🔐"," ",t("button",{key:"7091693cc439ddb12f35ef2f3be54f649c47e4ce",class:"login",onClick:()=>this.login.emit()},"Sign in")," ","to access private resources on your Solid Pod or those of your friends or coworkers.")),t("div",{key:"643c46009b4a962548ac501b3bca912a5163f4d3"},t("p",{key:"7fb4a75e5eb6f55a6b8d25825b39f8f82bcadeb9",class:"question"},"New to Solid?"),t("p",{key:"e7dd87fc055ad8981f28f00eb29a65c9e67f7a96"},t("a",{key:"1ad84ef46c7320e4adbb1ce573a8c6b97f60b8ec",href:"https://solidproject.org/for-developers#hosted-pod-services"},"Get a Pod →"))),t("div",{key:"bf50fd05a28e6536aae13cd6c7245c4b487850a6"},t("p",{key:"911eec270cee7a1dcc40320fb43298ad61b01206",class:"question"},"Want to dig deeper into PodOS?"),t("p",{key:"d1f7f4215577f50f1186b48ea0d48670eee53c22"},t("a",{key:"18c487f6e1ea48289654005286816b18e741c8a0",href:"http://pod-os.org"},"Learn more →"))))}};Ds.style=Ss;const Rs=":host{display:flex;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:inherit}img,div.error{border-radius:var(--border-radius);width:var(--width);height:var(--height);max-width:var(--max-width);max-height:var(--max-height);object-fit:var(--object-fit)}img{backdrop-filter:var(--blur-xl)}.error{display:flex;opacity:0.8;background:repeating-linear-gradient(-45deg, rgba(150, 0, 0, 0.1), rgba(150, 0, 0, 0.1) 10px, #fff 5px, #fff 25px);flex-direction:column;border:1px solid red;color:black;align-items:center;justify-content:center;word-break:break-all;padding:1rem;box-sizing:border-box}.error sl-icon{color:#282828;font-size:calc(var(--width) / 2)}a.error{text-decoration:none;width:var(--width);height:var(--height)}.code{font-weight:bold;font-size:calc(var(--width) / 8)}.text{font-size:calc(var(--width) / 20)}sl-skeleton{--border-radius:inherit;width:var(--width);height:var(--height);max-width:var(--max-width);max-height:var(--max-height);aspect-ratio:16 / 9}";const ks=class{constructor(t){e(this,t);this.initializeOsEmitter=s(this,"pod-os:init");this.resourceLoadedEmitter=s(this,"pod-os:resource-loaded");this.blurredBackground=false;this.loading=true;this.setOs=async e=>{this.os=e}}componentWillLoad(){U.onChange("isLoggedIn",(()=>this.fetchBlob()));this.initializeOsEmitter.emit(this.setOs)}async fetchBlob(){try{this.loading=true;this.imageError=null;this.networkError=null;this.brokenFile=null;const e=await this.os.files().fetchFile(this.src);this.resourceLoadedEmitter.emit(this.src);if(e.blob()){this.dataUri=URL.createObjectURL(e.blob())}else{this.brokenFile=e}}catch(e){this.networkError=e}finally{this.loading=false}}onImageError(e){this.networkError=null;this.imageError=e}render(){if(this.loading){return t("sl-skeleton",{effect:"sheen"})}if(this.networkError){return t("img",{alt:this.alt,src:this.src,onError:e=>this.onImageError(e)})}if(this.brokenFile){return t(B,{file:this.brokenFile})}if(this.imageError){return t("div",{class:"error"},t("a",{href:this.src},this.src))}return t(i,{style:{backgroundImage:this.blurredBackground?`url('${this.dataUri}')`:null}},t("img",{src:this.dataUri,alt:this.alt}))}static get watchers(){return{os:["fetchBlob"],src:["fetchBlob"]}}};ks.style=Rs;const Ls=class{constructor(t){e(this,t);this.uri="pod-os:dashboard"}render(){return this.uri==="pod-os:settings"?t("pos-app-settings",null):t("pos-app-dashboard",null)}};const Ns=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.receiveResource=e=>{this.resource=e}}componentWillLoad(){J(this)}render(){return this.resource?this.resource.label():null}};const Cs=".container{display:flex;align-items:center;gap:var(--size-2)}.user-data{align-items:center;display:inline-flex;gap:10px}.user-data pos-picture{--width:40px;--height:40px;--border-radius:50%}pos-login-form{margin:var(--size-2)}dialog{margin-top:var(--size-10)}button#login,button#logout{outline:none;font-weight:var(--weight-bold);letter-spacing:var(--letter-xl);border:none;box-sizing:border-box;border-radius:var(--radius-xs);padding:var(--size-2);box-shadow:var(--shadow-sm);color:var(--pos-primary-text-color);background-color:var(--pos-primary-color)}button#login:focus-within,button#logout:focus-within{outline:var(--pos-input-focus-outline)}button#login:focus,button#login:hover,button#logout:focus,button#logout:hover{filter:brightness(110%);box-shadow:var(--shadow-md)}";const Vs=class{constructor(t){e(this,t);this.initializeOsEmitter=s(this,"pod-os:init");this.customLoggedInComponent=false;this.setOs=async e=>{this.os=e}}componentWillLoad(){this.customLoggedInComponent=!!this.host.querySelector('[slot="if-logged-in"]');this.initializeOsEmitter.emit(this.setOs)}login(e){const t=e.detail;this.os.login(t)}logout(){this.os.logout()}onLogin(){this.openDialog()}openDialog(){this.dialog.showModal()}render(){return t(i,{key:"9c0cb63442db7acea4e60b09528bf4fc25afe2de"},t("div",{key:"ca56c2b730f371da27c1ac0a465a45d87071722f",class:"container"},!U.state.isLoggedIn?t("button",{id:"login",onClick:()=>this.openDialog()},"Login"):this.loggedInComponents()),t("pos-dialog",{key:"97b7d80acd6b57980641f189e3c2a67e8e45df44",ref:e=>this.dialog=e},t("span",{key:"3296c22755474e139546491890a5cc35c7a07be9",slot:"title"},"Sign in to your Pod"),t("pos-login-form",{key:"cb68b44a0a7541c116d3711c3ce8d0141515e815","onPod-os:idp-url-selected":e=>this.login(e),slot:"content"})))}loggedInComponents(){return this.customLoggedInComponent?t("slot",{name:"if-logged-in"}):this.defaultLoggedInComponents()}defaultLoggedInComponents(){return[t("pos-resource",{uri:U.state.webId},t("span",{class:"user-data"},t("pos-picture",{"no-upload":true}),t("pos-label",null))),t("button",{id:"logout",onClick:()=>this.logout()},"Logout")]}get host(){return r(this)}};Vs.style=Cs;const Is=":host{display:block;margin:0}form{display:flex;flex-direction:column;gap:var(--size-4)}input{outline:var(--pos-input-outline);padding:var(--scale-000);border:none;border-radius:var(--radius-xs);width:var(--size-full);box-sizing:border-box;background:var(--pos-input-background-color);color:var(--pos-normal-text-color)}input:focus-within{outline:var(--pos-input-focus-outline)}input#login{outline:none;box-shadow:var(--shadow-sm);cursor:pointer;color:var(--pos-primary-text-color);background-color:var(--pos-primary-color)}input#login:disabled{cursor:default;color:var(--pos-disabled-text-color);background-color:var(--pos-disabled-color);box-shadow:none}input#login:hover:not(:disabled),input#login:focus{filter:brightness(110%);box-shadow:var(--shadow-md)}";const Ts=class{constructor(t){e(this,t);this.idpUrlSelected=s(this,"pod-os:idp-url-selected");this.idpUrl="";this.canSubmit=false}validate(){this.canSubmit=Boolean(this.idpUrl)}render(){return t("form",{key:"15b515887ebceff9ed2adb03f05e4725d5b1d4da",method:"dialog",onSubmit:()=>this.handleSubmit()},t("label",{key:"2278fd2cd0629dfc8d0bc3dc1c10223383131e15",htmlFor:"idpUrl"},"Please enter your Identity Provider"),t("input",{key:"2e63bb5aa1d16393abd46d042fd78a8e70dbc476",id:"idpUrl",type:"url",value:this.idpUrl,required:true,onInput:e=>this.handleChange(e),list:"suggestedIssuers",placeholder:"Type to search..."}),t("datalist",{key:"16de93f77ee4f756c76fd5e58d84cf8a96b7fafb",id:"suggestedIssuers"},t("option",{key:"c6612878e0dc7be06ba9c88266ba746cc41bbcbd",value:"https://solidcommunity.net/"},"solidcommunity.net"),t("option",{key:"c93e6a9e2cad61c5247a048a4261079daca2655d",value:"https://solidweb.me/"},"solidweb.me"),t("option",{key:"d051f96a34bafa0d8c55e0ea1b9bfc7a5eb4f59a",value:"https://login.inrupt.com"},"Inrupt PodSpaces"),t("option",{key:"c793826a68676e176714898363ad06daa023a2f3",value:"https://trinpod.us"},"trinpod.us"),t("option",{key:"8ed729faba2a6c7b9fbc53d96511ec4ebc0db340",value:"https://trinpod.eu"},"trinpod.eu"),t("option",{key:"e683f8901b359e8bf82cb3e6d196817ac1150134",value:"https://solid.redpencil.io/"},"redpencil.io"),t("option",{key:"ddbad19605db043fc6f19ca5d4fc7bfd1d96b743",value:"https://teamid.live/"},"teamid.live")),t("input",{key:"ac9ebfdcfe6e1053fde4f890abd3e1183621060c",id:"login",type:"submit",value:"Login",disabled:!this.canSubmit}))}handleChange(e){this.validate();this.idpUrl=e.target.value}async handleSubmit(){this.idpUrlSelected.emit(this.idpUrl)}static get delegatesFocus(){return true}static get watchers(){return{idpUrl:["validate"]}}};Ts.style=Is;var zs=a`
365
+ `}};Bs.styles=[c,Us];Bs.dependencies={"sl-icon-button":ys};p([D('[part~="base"]')],Bs.prototype,"base",2);p([D(".alert__countdown-elapsed")],Bs.prototype,"countdownElement",2);p([u({type:Boolean,reflect:true})],Bs.prototype,"open",2);p([u({type:Boolean,reflect:true})],Bs.prototype,"closable",2);p([u({reflect:true})],Bs.prototype,"variant",2);p([u({type:Number})],Bs.prototype,"duration",2);p([u({type:String,reflect:true})],Bs.prototype,"countdown",2);p([Q()],Bs.prototype,"remainingTime",2);p([b("open",{waitUntilFirstUpdate:true})],Bs.prototype,"handleOpenChange",1);p([b("duration")],Bs.prototype,"handleDurationChange",1);var vs=Bs;R("alert.show",{keyframes:[{opacity:0,scale:.8},{opacity:1,scale:1}],options:{duration:250,easing:"ease"}});R("alert.hide",{keyframes:[{opacity:1,scale:1},{opacity:0,scale:.8}],options:{duration:250,easing:"ease"}});vs.define("sl-alert");const Fs=class{constructor(t){e(this,t)}async unhandledRejection(e){e.stopPropagation();console.error("unhandled promise rejection",e);this.title="Unhandled promise rejection";this.message=e.reason.toString()}async catchError(e){e.stopPropagation();console.error(e.detail);if(e.detail instanceof Error){this.title="Error";this.message=e.detail.message}else{const t=e.detail;this.title=t.title;this.message=t.detail}await this.alert.toast()}render(){return t(i,{key:"a383b7a1dfb34a6be7d3c0a68b2c1535cef83730"},t("sl-alert",{key:"f0935768722535c5bbaded12e20dc021a3341122",ref:e=>this.alert=e,variant:"danger",duration:"10000",closable:true},t("sl-icon",{key:"c673059f17bd1690cec36f3a9a091ee833efcef0",slot:"icon",name:"exclamation-octagon"}),t("strong",{key:"1dbb54a4c87b99163a4e655085081255e1493225"},this.title),t("br",{key:"52c25e78c971bc7dc649f35846ac5f7d0e8870d2"}),this.message),t("slot",{key:"f1cc221122bed520f2ba4987c19af8849af58bf8"}))}};const Es=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}.links{display:flex;flex-direction:column;gap:var(--size-3);max-width:80vw}";const ws=class{constructor(t){e(this,t)}render(){return t(i,{key:"42e8ecc30fa26eb7750efff9a65048bb42b4c71d"},t("div",{key:"1df80385f1f6c44f7fe4255ecb93f6183df61727"},t("h2",{key:"9b249d38f00d1b00863226799bdcd13e4f78a4a9"},"Try these... 💡"),t("p",{key:"c33157b085b1ad3397e38bf5f4b1c601b0e40b6a"},"No idea where to start? Try these example resources, and follow your nose 👃"),t("div",{key:"f0f35cc2ec1f7fbf8a306e718e1f2aaffcbe84e0",class:"links"},t("pos-rich-link",{key:"999b7dc0aa587b1964838820f17a02257b051c0e",uri:"https://pod-os.solidcommunity.net/profile/card#me"}),t("pos-rich-link",{key:"67ca02160d0bdaa73bcfb188fcf40b058a584bf8",uri:"https://angelo.veltens.org/profile/card#me"}),t("pos-rich-link",{key:"800829fb68c96b0caa0ad2372b02e08b7842b704",uri:"https://angelo.veltens.org/public/bookmarks"}),t("pos-rich-link",{key:"680e29b8bf0437d6adba15052339b91ffd41b9a4",uri:"https://solidos.solidcommunity.net/profile/card#me"}))))}};ws.style=Es;const Ss=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}.question{font-weight:var(--weight-semibold)}a{font-weight:var(--weight-bold);color:var(--pos-primary-color)}button.login{background:none;color:var(--pos-primary-color);display:inline;text-decoration:underline;border:none;padding:0;margin:0;cursor:pointer;font-size:unset}";const Ds=class{constructor(t){e(this,t);this.login=s(this,"pod-os:login")}render(){return t(i,{key:"23a14b5ee10d585cc8cf3166ce041072b68cabb2"},t("div",{key:"964e46223d77516aaed40c7c55371716cfccf40a"},t("h2",{key:"5eaf56d6b0751d8511632d05570a05d5deba88c0"},"Getting started 🚀"),t("p",{key:"f41d858112a0337bcf2be9a39986cacac6921210"},"🔎 Enter a URL into the above navigation bar to browse through the web of data. "),t("p",{key:"8d40de32d86b871343687b402122b0dcc843daf9"},"🔐"," ",t("button",{key:"225091e03c1cf175362dc9530cf1eb5238e50d65",class:"login",onClick:()=>this.login.emit()},"Sign in")," ","to access private resources on your Solid Pod or those of your friends or coworkers.")),t("div",{key:"92924f3a67ac70cd333932f0658f9f73dd7474c9"},t("p",{key:"365d7c78aee4bb9396ac7d55c42c9e26b47fe87a",class:"question"},"New to Solid?"),t("p",{key:"42190c0f401faff3cf43fe8f3c69f4afc380f819"},t("a",{key:"d7de0d55a657c8a54a389efc50aa89bc4d48c5e6",href:"https://solidproject.org/for-developers#hosted-pod-services"},"Get a Pod →"))),t("div",{key:"8ad728231a1f2af613a462982af6bf129956ab1c"},t("p",{key:"c960fa49ff9789fe881cadc4f37d315c7727115a",class:"question"},"Want to dig deeper into PodOS?"),t("p",{key:"7991e91dbfdfc0447a2e08850e3634086f3f12ee"},t("a",{key:"a35d336eb2ca5947e66abb9e37526ee035c0a700",href:"http://pod-os.org"},"Learn more →"))))}};Ds.style=Ss;const Rs=":host{display:flex;background-size:cover;background-repeat:no-repeat;background-position:center;border-radius:inherit}img,div.error{border-radius:var(--border-radius);width:var(--width);height:var(--height);max-width:var(--max-width);max-height:var(--max-height);object-fit:var(--object-fit)}img{backdrop-filter:var(--blur-xl)}.error{display:flex;opacity:0.8;background:repeating-linear-gradient(-45deg, rgba(150, 0, 0, 0.1), rgba(150, 0, 0, 0.1) 10px, #fff 5px, #fff 25px);flex-direction:column;border:1px solid red;color:black;align-items:center;justify-content:center;word-break:break-all;padding:1rem;box-sizing:border-box}.error sl-icon{color:#282828;font-size:calc(var(--width) / 2)}a.error{text-decoration:none;width:var(--width);height:var(--height)}.code{font-weight:bold;font-size:calc(var(--width) / 8)}.text{font-size:calc(var(--width) / 20)}sl-skeleton{--border-radius:inherit;width:var(--width);height:var(--height);max-width:var(--max-width);max-height:var(--max-height);aspect-ratio:16 / 9}";const ks=class{constructor(t){e(this,t);this.initializeOsEmitter=s(this,"pod-os:init");this.resourceLoadedEmitter=s(this,"pod-os:resource-loaded");this.blurredBackground=false;this.loading=true;this.setOs=async e=>{this.os=e}}componentWillLoad(){U.onChange("isLoggedIn",(()=>this.fetchBlob()));this.initializeOsEmitter.emit(this.setOs)}async fetchBlob(){try{this.loading=true;this.imageError=null;this.networkError=null;this.brokenFile=null;const e=await this.os.files().fetchFile(this.src);this.resourceLoadedEmitter.emit(this.src);if(e.blob()){this.dataUri=URL.createObjectURL(e.blob())}else{this.brokenFile=e}}catch(e){this.networkError=e}finally{this.loading=false}}onImageError(e){this.networkError=null;this.imageError=e}render(){if(this.loading){return t("sl-skeleton",{effect:"sheen"})}if(this.networkError){return t("img",{alt:this.alt,src:this.src,onError:e=>this.onImageError(e)})}if(this.brokenFile){return t(B,{file:this.brokenFile})}if(this.imageError){return t("div",{class:"error"},t("a",{href:this.src},this.src))}return t(i,{style:{backgroundImage:this.blurredBackground?`url('${this.dataUri}')`:null}},t("img",{src:this.dataUri,alt:this.alt}))}static get watchers(){return{os:["fetchBlob"],src:["fetchBlob"]}}};ks.style=Rs;const Ls=class{constructor(t){e(this,t);this.uri="pod-os:dashboard"}render(){return this.uri==="pod-os:settings"?t("pos-app-settings",null):t("pos-app-dashboard",null)}};const Ns=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.receiveResource=e=>{this.resource=e}}componentWillLoad(){J(this)}render(){return this.resource?this.resource.label():null}};const Cs=".container{display:flex;align-items:center;gap:var(--size-2)}.user-data{align-items:center;display:inline-flex;gap:10px}.user-data pos-picture{--width:40px;--height:40px;--border-radius:50%}pos-login-form{margin:var(--size-2)}dialog{margin-top:var(--size-10)}button#login,button#logout{outline:none;font-weight:var(--weight-bold);letter-spacing:var(--letter-xl);border:none;box-sizing:border-box;border-radius:var(--radius-xs);padding:var(--size-2);box-shadow:var(--shadow-sm);color:var(--pos-primary-text-color);background-color:var(--pos-primary-color)}button#login:focus-within,button#logout:focus-within{outline:var(--pos-input-focus-outline)}button#login:focus,button#login:hover,button#logout:focus,button#logout:hover{filter:brightness(110%);box-shadow:var(--shadow-md)}";const Vs=class{constructor(t){e(this,t);this.initializeOsEmitter=s(this,"pod-os:init");this.customLoggedInComponent=false;this.setOs=async e=>{this.os=e}}componentWillLoad(){this.customLoggedInComponent=!!this.host.querySelector('[slot="if-logged-in"]');this.initializeOsEmitter.emit(this.setOs)}login(e){const t=e.detail;this.os.login(t)}logout(){this.os.logout()}onLogin(){this.openDialog()}openDialog(){this.dialog.showModal()}render(){return t(i,{key:"629107a1282e2db90a71605535e1a28a61a251af"},t("div",{key:"377851ec061b30aa961ae677a4861f5ec6e297d7",class:"container"},!U.state.isLoggedIn?t("button",{id:"login",onClick:()=>this.openDialog()},"Login"):this.loggedInComponents()),t("pos-dialog",{key:"0572fe81ccde84aa96bce1f22018a8bdf0329adb",ref:e=>this.dialog=e},t("span",{key:"5414b1f7d70ea78591e8357b0a03fd08671ec6e7",slot:"title"},"Sign in to your Pod"),t("pos-login-form",{key:"07bad99f318e39f908116783b8bc0f9d9cd358a9","onPod-os:idp-url-selected":e=>this.login(e),slot:"content"})))}loggedInComponents(){return this.customLoggedInComponent?t("slot",{name:"if-logged-in"}):this.defaultLoggedInComponents()}defaultLoggedInComponents(){return[t("pos-resource",{uri:U.state.webId},t("span",{class:"user-data"},t("pos-picture",{"no-upload":true}),t("pos-label",null))),t("button",{id:"logout",onClick:()=>this.logout()},"Logout")]}get host(){return r(this)}};Vs.style=Cs;const Is=":host{display:block;margin:0}form{display:flex;flex-direction:column;gap:var(--size-4)}input{outline:var(--pos-input-outline);padding:var(--scale-000);border:none;border-radius:var(--radius-xs);width:var(--size-full);box-sizing:border-box;background:var(--pos-input-background-color);color:var(--pos-normal-text-color)}input:focus-within{outline:var(--pos-input-focus-outline)}input#login{outline:none;box-shadow:var(--shadow-sm);cursor:pointer;color:var(--pos-primary-text-color);background-color:var(--pos-primary-color)}input#login:disabled{cursor:default;color:var(--pos-disabled-text-color);background-color:var(--pos-disabled-color);box-shadow:none}input#login:hover:not(:disabled),input#login:focus{filter:brightness(110%);box-shadow:var(--shadow-md)}";const Ts=class{constructor(t){e(this,t);this.idpUrlSelected=s(this,"pod-os:idp-url-selected");this.idpUrl="";this.canSubmit=false}validate(){this.canSubmit=Boolean(this.idpUrl)}render(){return t("form",{key:"18b8b66ebfd121c33bf5e7e3f71829b643b92fee",method:"dialog",onSubmit:()=>this.handleSubmit()},t("label",{key:"754c2e392c0e078eb54471838a6a1b1b84a7fc39",htmlFor:"idpUrl"},"Please enter your Identity Provider"),t("input",{key:"e5c510ace3893f7a19117b87f4c8fddd418bb82f",id:"idpUrl",type:"url",value:this.idpUrl,required:true,onInput:e=>this.handleChange(e),list:"suggestedIssuers",placeholder:"Type to search..."}),t("datalist",{key:"19181c9050a562a78bcff28c6e2bd77fcd51dc81",id:"suggestedIssuers"},t("option",{key:"e0f05b8f4f1ebd9f2d5b0b964efd57943bba7095",value:"https://solidcommunity.net/"},"solidcommunity.net"),t("option",{key:"31ef91494e7fe992590e926235a07eb234ebd07f",value:"https://solidweb.me/"},"solidweb.me"),t("option",{key:"e7e0646134b9f89785f8349c0ee3f002a0f5f747",value:"https://login.inrupt.com"},"Inrupt PodSpaces"),t("option",{key:"5c4231cf451e5d1c6570b15913a8749677cb95fc",value:"https://trinpod.us"},"trinpod.us"),t("option",{key:"f0ebd336250c1b1efa9d92e638a3f1f88abfd82b",value:"https://trinpod.eu"},"trinpod.eu"),t("option",{key:"d7bd67b6e673479880617ae37ef5fd53af9ec3a9",value:"https://solid.redpencil.io/"},"redpencil.io"),t("option",{key:"2060fa5b05306cc1cf3ac004c956f3e1f0ae6ea9",value:"https://teamid.live/"},"teamid.live")),t("input",{key:"5ddd6bfce924dc90834647f3ceed4497d20bb9d8",id:"login",type:"submit",value:"Login",disabled:!this.canSubmit}))}handleChange(e){this.validate();this.idpUrl=e.target.value}async handleSubmit(){this.idpUrlSelected.emit(this.idpUrl)}static get delegatesFocus(){return true}static get watchers(){return{idpUrl:["validate"]}}};Ts.style=Is;var zs=a`
366
366
  :host {
367
367
  display: inline-block;
368
368
  }
@@ -726,7 +726,7 @@ import{r as e,h as t,H as i,c as s,a as r,d as o,f as n}from"./p-CTyMYUsB.js";im
726
726
  ${this.submenuController.renderSubmenu()}
727
727
  ${this.loading?f` <sl-spinner part="spinner" exportparts="base:spinner__base"></sl-spinner> `:""}
728
728
  </div>
729
- `}};ur.styles=[c,Ks];ur.dependencies={"sl-icon":m,"sl-popup":V,"sl-spinner":pr};p([D("slot:not([name])")],ur.prototype,"defaultSlot",2);p([D(".menu-item")],ur.prototype,"menuItem",2);p([u()],ur.prototype,"type",2);p([u({type:Boolean,reflect:true})],ur.prototype,"checked",2);p([u()],ur.prototype,"value",2);p([u({type:Boolean,reflect:true})],ur.prototype,"loading",2);p([u({type:Boolean,reflect:true})],ur.prototype,"disabled",2);p([b("checked")],ur.prototype,"handleCheckedChange",1);p([b("disabled")],ur.prototype,"handleDisabledChange",1);p([b("type")],ur.prototype,"handleTypeChange",1);ur.define("sl-menu-item");const hr="button.main {\n display: flex;\n transition:\n width 200ms,\n background-color 500ms,\n color 500ms,\n border-color 500ms;\n max-width: var(--size-40);\n flex-direction: row;\n overflow: hidden;\n height: var(--pos-navigation-bar-height);\n width: var(--pos-navigation-bar-height);\n align-items: center;\n justify-content: center;\n border-radius: var(--radius-md);\n color: var(--pos-subtle-text-color);\n border: var(--size-px) dashed var(--pos-subtle-text-color);\n background-color: var(--pos-background-color);\n\n p {\n padding: 0;\n margin: 0;\n display: none;\n white-space: nowrap;\n }\n\n &.success {\n color: var(--color-green-700);\n border-color: var(--color-green-700);\n border-style: solid;\n background-color: var(--color-green-100);\n }\n\n &:active {\n transform: scale(0.99);\n filter: brightness(90%);\n }\n &:focus {\n outline: var(--pos-input-focus-outline);\n }\n}\n\nsvg {\n display: inline-block;\n height: var(--size-6);\n flex-shrink: 0;\n flex-grow: 0;\n width: var(--size-6);\n}\n\nbutton.main:hover,\nsl-dropdown[open] button {\n &.success {\n background: var(--color-green-200);\n color: var(--color-green-700);\n }\n width: var(--size-full);\n height: var(--pos-navigation-bar-height);\n background: var(--pos-background-color);\n color: var(--pos-normal-text-color);\n\n p {\n display: inline-block;\n }\n}\n";const fr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.errorEmitter=s(this,"pod-os:error");this.indexUpdatedEmitter=s(this,"pod-os:search:index-updated");this.indexCreatedEmitter=s(this,"pod-os:search:index-created");this.indexes=[];this.showOptions=false;this.isIndexed=false;this.receivePodOs=async e=>{this.os=e;this.thing=this.os.store.get(this.uri);this.getLabelIndexes(U.state.profile);this.unsubscribeSessionChange=U.onChange("profile",(e=>{this.getLabelIndexes(e)}))}}componentWillLoad(){G(this)}disconnectedCallback(){this.unsubscribeSessionChange&&this.unsubscribeSessionChange()}updateUri(e){this.thing=this.os.store.get(e);this.isIndexed=this.checkIfIndexed(e)}checkIfIndexed(e){return this.indexes.some((t=>t.contains(e)))}getLabelIndexes(e){if(e){this.indexes=e.getPrivateLabelIndexes().map((e=>this.os.store.get(e).assume(E)));this.showOptions=this.indexes.length>1;this.isIndexed=this.checkIfIndexed(this.uri)}}async onClick(e){e.preventDefault();if(this.indexes.length===1){const e=this.indexes[0];await this.addToLabelIndex(e);this.indexUpdatedEmitter.emit(e)}else if(this.indexes.length===0){const e=await this.createDefaultLabelIndex();await this.addToLabelIndex(e);this.indexCreatedEmitter.emit(e)}}async addToLabelIndex(e){try{await this.os.addToLabelIndex(this.thing,e);this.isIndexed=true}catch(e){this.errorEmitter.emit(e)}}async createDefaultLabelIndex(){try{return await this.os.createDefaultLabelIndex(U.state.profile)}catch(e){this.errorEmitter.emit(e)}}render(){if(!U.state.isLoggedIn||!this.uri){return null}const e="Make this findable";const s=t("button",{type:"button",slot:"trigger","aria-label":e,class:{main:true,success:this.isIndexed},onClick:e=>this.onClick(e),title:""},this.isIndexed?t(Qr,null):t(mr,null),t("p",null,e));if(this.showOptions){return t(i,null,t("sl-dropdown",null,s,t("sl-menu",{role:"listbox"},this.indexes.map((e=>t("sl-menu-item",{role:"option",value:e,type:"checkbox",checked:e.contains(this.uri)},t("pos-resource",{uri:e.uri,lazy:true},t("pos-label",null))))))))}else{return s}}async onSelect(e){const t=e.detail.item.value;e.preventDefault();await this.addToLabelIndex(t);this.indexUpdatedEmitter.emit(t)}get el(){return r(this)}static get watchers(){return{uri:["updateUri"]}}};const mr=()=>t("svg",{role:"presentation",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m5.231 13.481L15 17.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v16.5c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Zm3.75 11.625a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}));const Qr=()=>t("svg",{role:"presentation",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12"}));fr.style=hr;const br=":host {\n --pos-navigation-bar-height: var(--size-10);\n}\n\nsearch {\n position: relative;\n}\n\n.suggestions ol {\n border: 1px solid var(--pos-border-color);\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n\n.suggestions {\n width: 100%;\n overflow-y: auto;\n max-height: 90dvh;\n li {\n padding: 1rem;\n background-color: var(--pos-background-color);\n pos-rich-link {\n --background-color: inherit;\n }\n &[aria-selected='true'] {\n background-color: var(--pos-primary-color);\n &:hover {\n background-color: var(--pos-primary-color);\n }\n }\n &:hover {\n background-color: var(--pos-border-color);\n }\n }\n}\n\n.suggestions li.selected pos-rich-link {\n --label-color: white;\n --description-color: var(--pos-border-color);\n --uri-color: var(--pos-subtle-text-color);\n}\n\ndialog {\n position: absolute;\n margin-top: calc(-1 * var(--pos-navigation-bar-height));\n padding: 0;\n width: 100%;\n max-width: 100%;\n min-width: 100%;\n overflow: hidden;\n max-height: 100dvh;\n background-color: var(--pos-background-color);\n color: var(--pos-normal-text-color);\n border: var(--pos-border-color);\n border-radius: var(--radius-md);\n box-shadow: var(--shadow-md);\n form {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n align-items: center;\n input {\n display: flex;\n font-size: var(--scale-1);\n height: var(--pos-navigation-bar-height);\n border-top-left-radius: var(--radius-md);\n border-top-right-radius: var(--radius-md);\n padding-left: var(--size-2);\n width: 100%;\n border: none;\n outline: none;\n color: var(--pos-normal-text-color);\n background-color: var(--pos-input-background-color);\n box-sizing: border-box;\n }\n }\n}\n\ndialog[open] {\n display: flex;\n z-index: var(--layer-top);\n animation: slideIn 100ms ease-out;\n}\n\n@media (max-width: 640px) {\n search {\n position: unset;\n }\n dialog {\n margin-top: var(--size-1);\n top: 0;\n width: 95dvw;\n max-width: unset;\n min-width: unset;\n form {\n input {\n height: var(--size-12);\n font-size: var(--scale-fluid-3);\n }\n }\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n";const yr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.linkEmitter=s(this,"pod-os:link");this.uri="";this.inputValue=this.uri;this.searchIndex=undefined;this.suggestions=[];this.selectedIndex=-1;this.resource=null;this.changeEvents=new w.Subject;this.debouncedSearch=null;this.receivePodOs=async e=>{this.os=e}}updateResource(){var e;try{this.resource=this.uri?(e=this.os)===null||e===void 0?void 0:e.store.get(this.uri):null}catch(e){this.resource=null}}componentWillLoad(){G(this);this.updateResource();U.onChange("isLoggedIn",(async e=>{if(e){await this.buildSearchIndex()}else{this.clearSearchIndex()}}));this.debouncedSearch=this.changeEvents.pipe(w.debounceTime(300)).subscribe((()=>this.search()))}disconnectedCallback(){var e;(e=this.debouncedSearch)===null||e===void 0?void 0:e.unsubscribe()}async buildSearchIndex(){this.searchIndex=await this.os.buildSearchIndex(U.state.profile)}rebuildSearchIndex(){this.searchIndex.rebuild()}openNavigationDialog(e){var t,i;this.resource=e.detail;if(e.detail){this.inputValue=e.detail.uri;this.search()}(t=this.inputRef)===null||t===void 0?void 0:t.select();(i=this.dialogRef)===null||i===void 0?void 0:i.show()}clearSearchIndex(){var e;(e=this.searchIndex)===null||e===void 0?void 0:e.clear()}onChange(e){this.inputValue=e.target.value;this.changeEvents.next()}closeDialog(){var e;(e=this.dialogRef)===null||e===void 0?void 0:e.close();this.selectedIndex=-1}clearSuggestions(){var e;this.suggestions=[];(e=this.dialogRef)===null||e===void 0?void 0:e.close();this.selectedIndex=-1}onClickSelf(e){e.stopPropagation()}handleKeyDown(e){if(e.key==="Escape"){this.closeDialog()}else if(e.key==="ArrowDown"){e.preventDefault();this.selectedIndex=Math.min(this.selectedIndex+1,this.suggestions.length-1)}else if(e.key==="ArrowUp"){e.preventDefault();this.selectedIndex=Math.max(this.selectedIndex-1,0)}}search(){if(this.searchIndex){this.suggestions=this.inputValue?this.searchIndex.search(this.inputValue):[]}}onSubmit(){if(this.suggestions&&this.selectedIndex>-1){this.linkEmitter.emit(this.suggestions[this.selectedIndex].ref)}else{this.linkEmitter.emit(this.inputValue)}}render(){return t("nav",{key:"d5ad4841674cf172e9401a63fc50e58900ca5b1f"},t("search",{key:"8daf86774c49234d10637160fd983681ac483b44"},t("pos-navigation-bar",{key:"200137643dbc0aa1f120c231dc70a0d3f71b596a",searchIndexReady:this.searchIndex!==undefined,current:this.resource}),t("dialog",{key:"f2fb1d3e4a38d17efb6bd80ca791e8a30fafab66",ref:e=>this.dialogRef=e},t("form",{key:"e54698d8fb968a5ee6007cc4d5644fec36bf74f3",method:"dialog",onSubmit:()=>this.onSubmit()},t("input",{key:"633a4030c6296b5c94e2661bd73168afc1e04438",ref:e=>this.inputRef=e,enterkeyhint:"search","aria-label":"Search or enter URI",placeholder:"Search or enter URI",value:this.uri,onChange:e=>this.onChange(e),onInput:e=>this.onChange(e),role:"combobox","aria-autocomplete":"list","aria-expanded":this.suggestions.length>0,"aria-controls":"suggestions-list","aria-activedescendant":this.selectedIndex>=0?`option-${this.selectedIndex}`:null}),this.suggestions.length>0?t("div",{class:"suggestions"},t("ol",{id:"suggestions-list",role:"listbox","aria-label":"Search results"},this.suggestions.map(((e,i)=>t("li",{id:`option-${i}`,role:"option","aria-selected":i===this.selectedIndex?"true":"false"},t("pos-rich-link",{uri:e.ref})))))):null))))}static get watchers(){return{uri:["updateResource"],os:["updateResource"]}}};yr.style=br;const gr="section.current {\n display: flex;\n height: var(--pos-navigation-bar-height);\n flex-grow: 1;\n gap: 0;\n background-color: var(--pos-input-background-color);\n border-radius: var(--radius-md);\n width: 100%;\n &:focus-within {\n outline: var(--pos-input-focus-outline);\n }\n}\n\nsection.current button {\n cursor: pointer;\n font-size: var(--scale-1);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n background: none;\n color: var(--pos-normal-text-color);\n outline: none;\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n &:focus {\n text-decoration: underline;\n }\n :first-child {\n flex-grow: 1;\n }\n svg {\n width: var(--size-6);\n color: var(--pos-subtle-text-color);\n }\n}\n";const xr=class{constructor(t){e(this,t);this.navigate=s(this,"pod-os:navigate")}onClick(){this.navigate.emit(this.current)}activate(e){if((e.ctrlKey||e.metaKey)&&e.key==="k"){e.preventDefault();this.navigate.emit(this.current)}}render(){const e=this.current?`${this.current.label()} (Click to search or enter URI)`:"Search or enter URI";return t("section",{key:"5f49aa9dad9d07550ee8ffbee90036cbc1efda55",class:"current"},this.current&&this.searchIndexReady&&t("pos-make-findable",{key:"85974a4772aaf8cad3a11cdcd49e6df10141bfe3",uri:this.current.uri}),t("button",{key:"40660a3455b0f3392c68d7aea0075b102a1762a2","aria-label":e,onClick:()=>this.onClick()},t("div",{key:"9ab8922175d701f714f72aefb95745cf5ae4bb95"},this.current?this.current.label():"Search or enter URI"),this.icon()))}icon(){return t("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}};xr.style=gr;const Ur=":host{display:block}form{display:grid;grid-template-columns:var(--size-16) 1fr;grid-gap:var(--scale-0)}label{grid-column:1 / 2;display:flex;align-items:center;justify-content:flex-end}input,pos-select-term,button{grid-column:2 / 3}input,pos-select-term::part(input){outline:var(--pos-input-outline);padding:var(--scale-000);border:none;border-radius:var(--radius-xs);width:var(--size-full);box-sizing:border-box;background:var(--pos-input-background-color);color:var(--pos-normal-text-color)}input:focus-within,pos-select-term::part(input):focus-within{outline:var(--pos-input-focus-outline)}#new-uri{grid-column:1/3;cursor:default;word-break:break-all;color:var(--pos-normal-text-color);font-weight:var(--weight-light);background:var(--pos-disabled-color);padding:var(--scale-000);border-radius:var(--radius-xs)}input#create{outline:none;box-shadow:var(--shadow-sm);cursor:pointer;color:var(--pos-primary-text-color);background-color:var(--pos-primary-color)}input#create:disabled{cursor:default;color:var(--pos-disabled-text-color);background-color:var(--pos-disabled-color);box-shadow:none}input#create:hover:not(:disabled),input#create:focus{filter:brightness(110%);box-shadow:var(--shadow-md)}";const Br=class{constructor(t){e(this,t);this.linkEmitter=s(this,"pod-os:link");this.errorEmitter=s(this,"pod-os:error");this.subscribePodOs=s(this,"pod-os:init");this.canSubmit=false;this.receivePodOs=async e=>{this.os=e}}validate(){this.canSubmit=Boolean(this.name&&this.selectedTypeUri)}componentWillLoad(){G(this)}render(){return t("form",{key:"a362c5b749dd744123973987ff8b0291485b465e",method:"dialog",onSubmit:e=>this.handleSubmit(e)},t("label",{key:"45c78b0b48955cc157d04f547285b4ae4c19c38f",htmlFor:"type"},"Type"),t("pos-select-term",{key:"e3c3ab9abdbbb585916d95ba1aa14a066dbc5bd0",id:"type",placeholder:"",value:this.selectedTypeUri,"onPod-os:term-selected":e=>this.onTermSelected(e)}),t("label",{key:"c696f8ed862d40d3c366ef0ede5e88e574928db3",htmlFor:"name"},"Name"),t("input",{key:"89e6289e24ca9d3969da97c7aeb22224db1c376c",id:"name",type:"text",value:this.name,onInput:e=>this.handleChange(e)}),this.newUri?t("div",{id:"new-uri",title:"This will be the URI of the new thing"},this.newUri):null,t("input",{key:"b9520afef34177c6f14ab0798c045536d5661a2a",id:"create",type:"submit",value:"Create",disabled:!this.canSubmit}))}handleChange(e){this.name=e.target.value;this.newUri=this.os.proposeUriForNewThing(this.referenceUri,this.name)}onTermSelected(e){this.selectedTypeUri=e.detail.uri}async handleSubmit(e){try{await this.os.addNewThing(this.newUri,this.name,this.selectedTypeUri);this.linkEmitter.emit(this.newUri);this.reset()}catch(t){e.preventDefault();this.errorEmitter.emit(t)}}reset(){this.name="";this.newUri="";this.selectedTypeUri=""}static get delegatesFocus(){return true}static get watchers(){return{name:["validate"],selectedTypeUri:["validate"]}}};Br.style=Ur;const vr=":host {\n /**\n * @prop --width: Width of the picture\n * @prop --height: Height of the picture\n * @prop --border-radius: Border radius of the picture\n * @prop --object-fit: CSS object-fit of the picture\n */\n --width: 300px;\n --height: 300px;\n --border-radius: var(--border-radius, 0);\n --object-fit: var(--object-fit, cover);\n\n display: block;\n position: relative;\n}\n\nbutton.add {\n display: none;\n align-items: center;\n gap: var(--size-1);\n padding: var(--size-1);\n position: absolute;\n bottom: var(--size-2);\n right: var(--size-2);\n z-index: var(--layer-top);\n}\n\n:host(:hover) button.add {\n display: flex;\n}\n\n@media (pointer: coarse) {\n button.add {\n display: flex;\n }\n}\n\n.no-picture {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: var(--height);\n width: var(--width);\n position: relative;\n}\n\n.no-picture button.add {\n position: static;\n margin-top: var(--size-2);\n display: flex;\n}\n\n.upload-container {\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n padding: var(--size-2);\n button.close {\n display: flex;\n align-items: center;\n gap: var(--size-1);\n padding: var(--size-1);\n }\n}\n";const Fr=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.blurredBackground=false;this.noUpload=false;this.isUploading=false;this.receiveResource=e=>{this.resource=e};this.enterUploadMode=()=>{this.isUploading=true};this.exitUploadMode=()=>{this.isUploading=false}}async componentWillLoad(){J(this);this.os=await M(this.el)}renderUpload(){return t("div",{class:"upload-container"},t("button",{class:"close",onClick:()=>this.exitUploadMode()},t("sl-icon",{name:"x-circle"}),"Close upload"),t("pos-upload",{uploader:e=>this.os.uploadAndAddPicture(this.resource,e)}))}shouldShowUploadButton(){var e;return((e=this.resource)===null||e===void 0?void 0:e.editable)===true&&!this.noUpload}renderUploadButton(){if(!this.shouldShowUploadButton()){return null}return t("button",{class:"add",onClick:this.enterUploadMode},t("sl-icon",{name:"cloud-plus"}),"Upload picture")}renderPicture(){var e;const i=(e=this.resource)===null||e===void 0?void 0:e.picture();if(!i){return t("div",{class:"no-picture"},t("slot",null),this.renderUploadButton())}return[t("pos-image",{blurredBackground:this.blurredBackground,src:i.url,alt:this.resource.label()}),this.renderUploadButton()]}render(){return this.isUploading?this.renderUpload():this.renderPicture()}get el(){return r(this)}};Fr.style=vr;const Er="details.error {\n margin: var(--size-2);\n background-color: var(--pos-error-background-color);\n border: var(--size-px) solid var(--pos-error-border-color);\n padding: var(--size-2);\n border-radius: var(--radius-md);\n\n a {\n color: var(--pos-normal-text-color);\n }\n}\n\nsl-progress-bar {\n --height: var(--size-1);\n}\n";const wr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.resourceLoadedEmitter=s(this,"pod-os:resource-loaded");this.consumers=[];this.lazy=false;this.loading=true;this.receivePodOs=async e=>{this.os=e}}componentWillLoad(){U.onChange("isLoggedIn",(()=>this.loadResource()));G(this)}async provideResource(e){e.stopPropagation();if(this.resource){e.detail(this.resource)}this.consumers.push(e)}async loadResource(){await this.getResource(!this.lazy)}async fetch(){await this.getResource(true)}async getResource(e=false){try{if(e){this.loading=true;await this.os.fetch(this.uri);this.resourceLoadedEmitter.emit(this.uri)}this.resource=this.os.store.get(this.uri);this.error=null;this.consumers.forEach((e=>{e.detail(this.resource)}))}catch(e){this.error=e}finally{this.loading=false}}render(){if(this.loading){return t("sl-progress-bar",{indeterminate:true})}if(this.error){return t("details",{class:"error"},t("summary",{title:"Click to expand"},"⚠ Sorry, something went wrong"),t("p",null,"Status:",this.error.status),t("p",null,this.error.message),t("p",null,"You can try to open the link outside PodOS: ",t("a",{href:this.uri},this.uri)))}return t("slot",null)}static get watchers(){return{os:["loadResource"],uri:["loadResource"]}}};wr.style=Er;const Sr=":host {\n --background-color: inherit;\n --label-color: var(--pos-normal-text-color);\n --description-color: var(--pos-normal-text-color);\n --uri-color: var(--pos-subtle-text-color);\n --font-family: var(--font-sans);\n}\n\np.content {\n background-color: var(--background-color);\n line-height: var(--line-xs);\n margin: 0;\n display: flex;\n flex-direction: column;\n align-items: baseline;\n gap: var(--size-1);\n\n .url {\n font-size: var(--scale-fluid-1);\n color: var(--pos-subtle-text-color);\n }\n}\n\na {\n color: var(--label-color);\n max-width: min(100%, var(--prose-lg));\n text-decoration: underline;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n text-decoration-thickness: var(--size-px);\n}\n\npos-label {\n color: var(--label-color);\n font-size: var(--scale-fluid-2);\n margin-bottom: var(--size-1);\n}\n\npos-description {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n text-overflow: ellipsis;\n overflow: hidden;\n font-weight: var(--weight-light);\n color: var(--description-color);\n font-size: var(--scale-fluid-2);\n}\n\n@media (min-width: 640px) {\n pos-label {\n font-size: var(--scale-fluid-0);\n }\n pos-description {\n font-size: var(--scale-fluid-1);\n }\n\n p.content {\n .url {\n font-size: var(--scale-fluid-000);\n }\n }\n}\n";const Dr=class{constructor(t){e(this,t);this.linkEmitter=s(this,"pod-os:link");this.subscribeResource=s(this,"pod-os:resource");this.errorEmitter=s(this,"pod-os:error");this.followPredicate=false;this.error=null;this.showCustomContent=false;this.receiveResource=e=>{const t=(e,t,i,s)=>{if(e.length==0){this.error="No matching link found";this.errorEmitter.emit(new Error(`pos-rich-link: No matching link found from ${t.uri} ${s}=${i}`))}else if(e[0].uris.length>1){this.error="More than one matching link found";this.errorEmitter.emit(new Error(`pos-rich-link: More than one matching link found from ${t.uri} ${s}=${i}`))}else{this.link=e[0].uris[0];this.followPredicate=true}};if(this.rel){t(e.relations(this.rel),e,this.rel,"rel")}else if(this.rev){t(e.reverseRelations(this.rev),e,this.rev,"rev")}else{this.link=e.uri}}}componentWillLoad(){this.showCustomContent=!!this.host.lastElementChild||this.host.textContent.trim()!="";if(!this.uri)J(this)}render(){const e=e=>this.showCustomContent?t("a",{href:e,onClick:t=>{t.preventDefault();this.linkEmitter.emit(e)}},t("slot",null)):t("p",{class:"content"},t("a",{href:e,onClick:t=>{t.preventDefault();this.linkEmitter.emit(e)}},t("pos-label",null)),t("span",{class:"url"},new URL(e).host),t("pos-description",null));if(this.error){return this.error}else if(this.followPredicate){return t("pos-resource",{lazy:true,uri:this.link},e(this.link))}else if(this.link){return e(this.link)}else if(this.uri){return t("pos-resource",{lazy:true,uri:this.uri},e(this.uri))}else{return null}}get host(){return r(this)}};Dr.style=Sr;const Rr=(e,t,i)=>{const s=e.get(t);if(!s){e.set(t,[i])}else if(!s.includes(i)){s.push(i)}};const kr=(e,t)=>{let i;return(...s)=>{if(i){clearTimeout(i)}i=setTimeout((()=>{i=0;e(...s)}),t)}};const Lr=e=>!("isConnected"in e)||e.isConnected;const Nr=kr((e=>{for(let t of e.keys()){e.set(t,e.get(t).filter(Lr))}}),2e3);const Cr=()=>{if(typeof o!=="function"){return{}}const e=new Map;return{dispose:()=>e.clear(),get:t=>{const i=o();if(i){Rr(e,t,i)}},set:t=>{const i=e.get(t);if(i){e.set(t,i.filter(n))}Nr(e)},reset:()=>{e.forEach((e=>e.forEach(n)));Nr(e)}}};const Vr=(e,t=(e,t)=>e!==t)=>{let i=new Map(Object.entries(e!==null&&e!==void 0?e:{}));const s={dispose:[],get:[],set:[],reset:[]};const r=()=>{i=new Map(Object.entries(e!==null&&e!==void 0?e:{}));s.reset.forEach((e=>e()))};const o=()=>{s.dispose.forEach((e=>e()));r()};const n=e=>{s.get.forEach((t=>t(e)));return i.get(e)};const a=(e,r)=>{const o=i.get(e);if(t(r,o,e)){i.set(e,r);s.set.forEach((t=>t(e,r,o)))}};const l=typeof Proxy==="undefined"?{}:new Proxy(e,{get(e,t){return n(t)},ownKeys(e){return Array.from(i.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(e,t){return i.has(t)},set(e,t,i){a(t,i);return true}});const d=(e,t)=>{s[e].push(t);return()=>{Ir(s[e],t)}};const c=(t,i)=>{const s=d("set",((e,s)=>{if(e===t){i(s)}}));const r=d("reset",(()=>i(e[t])));return()=>{s();r()}};const p=(...e)=>{const t=e.reduce(((e,t)=>{if(t.set){e.push(d("set",t.set))}if(t.get){e.push(d("get",t.get))}if(t.reset){e.push(d("reset",t.reset))}if(t.dispose){e.push(d("dispose",t.dispose))}return e}),[]);return()=>t.forEach((e=>e()))};const u=e=>{const t=i.get(e);s.set.forEach((i=>i(e,t,t)))};return{state:l,get:n,set:a,on:d,onChange:c,use:p,dispose:o,reset:r,forceUpdate:u}};const Ir=(e,t)=>{const i=e.indexOf(t);if(i>=0){e[i]=e[e.length-1];e.length--}};const Tr=(e,t)=>{const i=Vr(e,t);i.use(Cr());return i};const zr=e=>{var t;const i=window;const s=new URL(i.location.href);const r=(t=void 0)!==null&&t!==void 0?t:Jr;const{state:o,onChange:n,dispose:a}=Tr({url:s,activePath:r(s)},((e,t,i)=>{if(i==="url"){return e.href!==t.href}return e!==t}));const l=e=>{history.pushState(null,null,e);const t=new URL(e,document.baseURI);o.url=t;o.activePath=r(t)};const d=e=>{const{activePath:t}=o;for(let i of e){const s=Pr(t,i.path);if(s){if(i.to!=null){const s=typeof i.to==="string"?i.to:i.to(t);l(s);return d(e)}else{return{params:s,route:i}}}}return undefined};const c=()=>{const e=new URL(i.location.href);o.url=e;o.activePath=r(e)};const p=(e,t)=>{const i=d(t);if(i){if(typeof i.route.jsx==="function"){return i.route.jsx(i.params)}else{return i.route.jsx}}};const u=()=>{i.removeEventListener("popstate",c);a()};const h={Switch:p,get url(){return o.url},get activePath(){return o.activePath},push:l,onChange:n,dispose:u};c();i.addEventListener("popstate",c);return h};const Pr=(e,t)=>{if(typeof t==="string"){if(t===e){return{}}}else if(typeof t==="function"){const i=t(e);if(i){return i===true?{}:{...i}}}else{const i=t.exec(e);if(i){t.lastIndex=0;return{...i}}}return undefined};const Jr=e=>e.pathname.toLowerCase();const Gr=".toolbar{display:flex;flex-direction:row;gap:0;align-items:center;margin-left:0.5rem}pos-navigation{flex-grow:1}";const Mr=zr();const Ar=class{constructor(t){e(this,t);this.routeChanged=s(this,"pod-os:route-changed");this.mode="standalone"}linkClicked(e){this.navigate(e.detail)}sessionRestored(e){Mr.push(e.detail.url)}componentWillLoad(){this.updateUri();Mr.onChange("url",(()=>{this.updateUri()}))}navigate(e){Mr.push("?uri="+encodeURIComponent(e))}updateUri(){this.uri=new URLSearchParams(window.location.search).get("uri")||(this.mode==="standalone"?"pod-os:dashboard":window.location.href);this.routeChanged.emit(this.uri)}render(){return t("slot",{key:"8b09de3dbbd253665cd541b9f264b0dcdc774354"})}};Ar.style=Gr;const Hr=":host{display:block}input{background-color:transparent;color:var(--pos-normal-text-color);border:none;padding-top:1rem;padding-bottom:1rem}input:focus{outline:none}";const Zr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.termSelected=s(this,"pod-os:term-selected");this.placeholder="Type to search...";this.value="";this.terms=[];this.receivePodOs=async e=>{this.os=e}}componentWillLoad(){G(this)}setTerms(){this.terms=this.os.listKnownTerms()}handleChange(e){this.termSelected.emit({uri:e.target.value})}render(){return t(i,{key:"2e995b15a3b76a13cd7e11d09670121a6191b5ce"},t("input",{key:"ad79f1b410312790d4f5cd1f398b2eec3c04aad7",part:"input",list:"terms",placeholder:this.placeholder,value:this.value,onChange:e=>this.handleChange(e)}),t("datalist",{key:"e3cc9ce85b75033bac29a32ca8e55c57535a9659",part:"terms",id:"terms"},this.terms.map((e=>t("option",{value:e.uri},e.shorthand)))))}static get delegatesFocus(){return true}static get watchers(){return{os:["setTerms"]}}};Zr.style=Hr;const Wr=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}svg{width:var(--size-8)}h2{display:flex;align-items:center}p{padding:var(--size-2)}.info{color:var(--color-grey-900);background-color:var(--color-blue-200)}.warn{color:var(--color-grey-900);background-color:var(--color-yellow-200)}";const _r=class{constructor(t){e(this,t)}render(){return t(i,{key:"7417274658af9e41cf662b9ab20d4b5a6236586f"},t("div",{key:"e92a78a1d2b1d067ffd10a68d78a386208d629d8"},t("h2",{key:"7be5f2cf380363e824519fc24fd1e07f0651334b"},t("svg",{key:"d2aa35c987e12836cf665b2574ae0c42a1574e97",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{key:"562e3432799cb8111e543080722b6f20867f4b46","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"})),"Cache Settings"),t("p",{key:"002eed9e13146d25cc9e52a68c8d9e030f1dd775",class:"info"},"ℹ Enable offline cache to be able to access previously loaded data while offline."),t("p",{key:"b5a1f45ed9fec335a43ecbb6573a31ed29e0692e",class:"warn"},"⚠ Private data may be stored on this device. Only enable it, if you trust this device."),t("label",{key:"49ab529db0b9d1bd4f216f6c54e78ed30a43be41"},t("input",{key:"e764d1a106906059c7c5286d13b9b8c7a6c01cce",type:"checkbox",checked:_.state.offlineCache,onChange:e=>_.state.offlineCache=e.target.checked}),"Enable offline cache")))}};_r.style=Wr;const Or=":host {\n --button-size: var(--size-16);\n display: block;\n position: sticky;\n align-self: flex-start;\n top: 0;\n overflow: auto;\n min-width: var(--button-size);\n z-index: var(--layer-1);\n}\n\n[role='tablist'] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n border-right: var(--size-px) solid var(--pos-border-color);\n\n button {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 0;\n font-size: var(--size-6);\n position: relative;\n overflow: hidden;\n outline: none;\n border: none;\n width: var(--button-size);\n min-width: var(--button-size);\n height: var(--button-size);\n min-height: var(--button-size);\n background-color: var(--pos-background-color);\n\n &::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n border-radius: 100%;\n background: color-mix(in srgb, var(--pos-primary-color), transparent 50%);\n transform: translate(-50%, -50%);\n opacity: 1;\n }\n\n &:active::after,\n &:focus::after {\n width: calc(var(--button-size) * 1.5);\n height: calc(var(--button-size) * 1.5);\n opacity: 0;\n transition:\n width 0.5s ease-out,\n height 0.5s ease-out,\n opacity 1s ease-out;\n }\n\n &:focus-visible {\n border: var(--size-px) solid var(--pos-primary-color);\n }\n\n @media (min-width: 640px) {\n &[aria-selected] {\n border-right: var(--size-1) solid var(--pos-primary-color);\n }\n }\n\n .text {\n font-size: var(--size-3);\n white-space: nowrap;\n text-overflow: ellipsis;\n width: 100%;\n overflow: hidden;\n }\n }\n}\n\n@media (max-width: 640px) {\n :host {\n position: fixed;\n top: unset;\n bottom: 0;\n width: 100dvw;\n }\n [role='tablist'] {\n flex-direction: row;\n background-color: var(--pos-background-color);\n\n border-top: var(--size-px) solid var(--pos-border-color);\n\n button {\n &[aria-selected] {\n border-top: var(--size-1) solid var(--pos-primary-color);\n }\n }\n }\n}\n";const jr=class{constructor(t){e(this,t);this.toolSelected=s(this,"pod-os:tool-selected");this.tools=[]}render(){if(this.tools.length>1){return t("div",{role:"tablist","aria-label":"Tools","aria-multiselectable":"false"},this.tools.map((e=>{var i;return t("button",{role:"tab","aria-selected":((i=this.selected)===null||i===void 0?void 0:i.element)===e.element,onClick:()=>this.toolSelected.emit(e)},t("sl-icon",{name:e.icon}),t("span",{class:"text"},e.label))})))}return null}};jr.style=Or;const Yr={Generic:{element:"pos-app-generic",label:"Data",icon:"list-ul",types:[]},RdfDocument:{element:"pos-app-rdf-document",label:"Things",icon:"diagram-2",types:[{uri:"http://www.w3.org/2007/ont/link#RDFDocument",priority:20}]},DocumentViewer:{element:"pos-app-document-viewer",label:"Doc",icon:"file-text",types:[{uri:$r("application/pdf"),priority:30},{uri:"http://www.w3.org/2007/ont/link#Document",priority:10}]},ImageViewer:{element:"pos-app-image-viewer",label:"Pic",icon:"file-image",types:[{uri:"http://purl.org/dc/terms/Image",priority:20}]},LdpContainer:{element:"pos-app-ldp-container",label:"Content",icon:"folder",types:[{uri:"http://www.w3.org/ns/ldp#Container",priority:30}]}};function $r(e){return"http://www.w3.org/ns/iana/media-types/"+e+"#Resource"}function Kr(e){const t=new Set(e.map((e=>e.uri)));return Object.values(Yr).map(Xr(t)).filter(eo).toSorted(to).map((e=>e.tool)).concat(Yr.Generic)}const Xr=e=>t=>({tool:t,priority:qr(t.types,e)});function qr(e,t){return e.filter((e=>t.has(e.uri))).reduce(((e,t)=>Math.max(e,t.priority)),0)}const eo=e=>e.priority>0;const to=(e,t)=>t.priority-e.priority;const io="section {\n display: flex;\n flex-direction: row;\n}\n\n.tools {\n flex-grow: 1;\n &.transition {\n position: relative;\n .tool {\n position: absolute;\n }\n }\n}\n\n.tool {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n &.visible {\n animation: fadeIn 300ms ease-in;\n }\n &.hidden {\n animation: fadeOut 300ms ease-in;\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n@media (max-width: 640px) {\n section {\n --toolbar-size: var(--size-16);\n flex-direction: column-reverse;\n padding-bottom: var(--toolbar-size);\n pos-tool-select {\n --button-size: var(--toolbar-size);\n }\n }\n}\n";const so=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.transitioning=false;this.receiveResource=e=>{var t;const i=e.types();this.availableTools=Kr(i);this.currentTool=(t=this.availableTools.find((e=>e.element===this.initialTool)))!==null&&t!==void 0?t:this.availableTools[0]}}componentWillLoad(){J(this);const e=new URLSearchParams(window.location.search);const t=e.get("tool");if(t){this.initialTool=t}}handleToolSelected(e){this.oldTool=this.currentTool;this.currentTool=e.detail;this.transitioning=true;const t=new URL(window.location.href);t.searchParams.set("tool",e.detail.element);window.history.replaceState({},"",t.toString())}render(){return this.availableTools?this.renderApp():null}renderApp(){var e;const i=this.currentTool.element;const s=(e=this.oldTool)===null||e===void 0?void 0:e.element;return t("section",null,t("pos-tool-select",{selected:this.currentTool,tools:this.availableTools}),t("div",{class:{tools:true,transition:this.transitioning},onAnimationEnd:()=>this.removeOldTool()},s&&t(s,{class:"tool hidden"}),t(i,{class:"tool visible"})))}removeOldTool(){this.oldTool=null;this.transitioning=false}};so.style=io;function ro(e,t,i){return new Promise((s=>{e.toBlob(s,t,i)}))}const oo=/^data:([^/]+\/[^,;]+(?:[^,]*?))(;base64)?,([\s\S]*)$/;function no(e,t,i){const s=oo.exec(e);const r=t.mimeType??s?.[1]??"plain/text";let o;if(s?.[2]!=null){const e=atob(decodeURIComponent(s[3]));const t=new Uint8Array(e.length);for(let i=0;i<e.length;i++){t[i]=e.charCodeAt(i)}o=[t]}else if(s?.[3]!=null){o=[decodeURIComponent(s[3])]}return new Blob(o,{type:r})}function ao(e,t,i,s){if(e===t)return e;if(s===0)return t;return e+(t-e)*2**(-s/i)}var lo=['a[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','area[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])',"input:not([disabled]):not([inert]):not([aria-hidden])","select:not([disabled]):not([inert]):not([aria-hidden])","textarea:not([disabled]):not([inert]):not([aria-hidden])","button:not([disabled]):not([inert]):not([aria-hidden])",'iframe:not([tabindex^="-"]):not([inert]):not([aria-hidden])','object:not([tabindex^="-"]):not([inert]):not([aria-hidden])','embed:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[contenteditable]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[tabindex]:not([tabindex^="-"]):not([inert]):not([aria-hidden])'];function co(e){if(typeof e!=="object"||e===null)return false;if(!("nodeType"in e))return false;return e.nodeType===Node.ELEMENT_NODE}function po(e){if(typeof e==="string"){const t=document.querySelectorAll(e);return t.length===0?null:Array.from(t)}if(typeof e==="object"&&co(e)){return[e]}return null}function uo(e,t=document){if(typeof e==="string"){return t.querySelector(e)}if(co(e)){return e}return null}function ho(e){const t=e.lastIndexOf(".");if(t===-1||t===e.length-1){return{name:e,extension:undefined}}return{name:e.slice(0,t),extension:e.slice(t+1)}}var fo={__proto__:null,md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",webp:"image/webp",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",msg:"application/vnd.ms-outlook",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function mo(e){if(e.type)return e.type;const t=e.name?ho(e.name).extension?.toLowerCase():null;if(t&&t in fo){return fo[t]}return"application/octet-stream"}function Qo(e){return e.charCodeAt(0).toString(32)}function bo(e){let t="";return e.replace(/[^A-Z0-9]/gi,(e=>{t+=`-${Qo(e)}`;return"/"}))+t}function yo(e,t){let i=t||"uppy";if(typeof e.name==="string"){i+=`-${bo(e.name.toLowerCase())}`}if(e.type!==undefined){i+=`-${e.type}`}if(e.meta&&typeof e.meta.relativePath==="string"){i+=`-${bo(e.meta.relativePath.toLowerCase())}`}if(e.data?.size!==undefined){i+=`-${e.data.size}`}if(e.data.lastModified!==undefined){i+=`-${e.data.lastModified}`}return i}function go(e){if(!e.isRemote||!e.remote)return false;const t=new Set(["box","dropbox","drive","facebook","unsplash"]);return t.has(e.remote.provider)}function xo(e,t){if(go(e))return e.id;const i=mo(e);return yo({...e,type:i},t)}var Uo=Array.from;function Bo(e){const t=Uo(e.files);return Promise.resolve(t)}function vo(e,t,i,{onSuccess:s}){e.readEntries((r=>{const o=[...t,...r];if(r.length){queueMicrotask((()=>{vo(e,o,i,{onSuccess:s})}))}else{s(o)}}),(e=>{i(e);s(t)}))}function Fo(e,t){if(e==null)return e;return{kind:e.isFile?"file":e.isDirectory?"directory":undefined,name:e.name,getFile(){return new Promise(((t,i)=>e.file(t,i)))},async*values(){const i=e.createReader();const s=await new Promise((e=>{vo(i,[],t,{onSuccess:i=>e(i.map((e=>Fo(e,t))))})}));yield*s},isSameEntry:undefined}}async function*Eo(e,t,i=undefined){const s=()=>`${t}/${e.name}`;if(e.kind==="file"){const r=await e.getFile();if(r!=null){r.relativePath=t?s():null;yield r}else if(i!=null)yield i}else if(e.kind==="directory"){for await(const i of e.values()){yield*Eo(i,t?s():e.name)}}else if(i!=null)yield i}async function*wo(e,t){const i=await Promise.all(Array.from(e.items,(async e=>{let i;const s=()=>typeof e.getAsEntry==="function"?e.getAsEntry():e.webkitGetAsEntry();i??=Fo(s(),t);return{fileSystemHandle:i,lastResortFile:e.getAsFile()}})));for(const{lastResortFile:e,fileSystemHandle:s}of i){if(s!=null){try{yield*Eo(s,"",e)}catch(i){if(e!=null){yield e}else{t(i)}}}else if(e!=null)yield e}}async function So(e,t){const i=t?.logDropError??Function.prototype;try{const t=[];for await(const s of wo(e,i)){t.push(s)}return t}catch{return Bo(e)}}const Do={__proto__:null,"audio/mp3":"mp3","audio/mp4":"mp4","audio/ogg":"ogg","audio/webm":"webm","image/gif":"gif","image/heic":"heic","image/heif":"heif","image/jpeg":"jpg","image/webp":"webp","image/png":"png","image/svg+xml":"svg","video/mp4":"mp4","video/ogg":"ogv","video/quicktime":"mov","video/webm":"webm","video/x-matroska":"mkv","video/x-msvideo":"avi"};function Ro(e){[e]=e.split(";",1);return Do[e]||null}function ko(e){while(e&&!e.dir){e=e.parentNode}return e?.dir}function Lo(e){return e<10?`0${e}`:e.toString()}function No(){const e=new Date;const t=Lo(e.getHours());const i=Lo(e.getMinutes());const s=Lo(e.getSeconds());return`${t}:${i}:${s}`}function Co(){if(typeof window==="undefined"){return false}const e=document.body;if(e==null||window==null){return false}if(!("draggable"in e)||!("ondragstart"in e)||!("ondrop"in e)){return false}if(!("FormData"in window)){return false}if(!("FileReader"in window)){return false}return true}function Vo(e){return e.startsWith("blob:")}function Io(e){if(!e)return false;return/^[^/]+\/(jpe?g|gif|png|svg|svg\+xml|bmp|webp|avif)$/.test(e)}function To(e){const t=Math.floor(e/3600)%24;const i=Math.floor(e/60)%60;const s=Math.floor(e%60);return{hours:t,minutes:i,seconds:s}}function zo(e){const t=To(e);const i=t.hours===0?"":`${t.hours}h`;const s=t.minutes===0?"":`${t.hours===0?t.minutes:` ${t.minutes.toString(10).padStart(2,"0")}`}m`;const r=t.hours!==0?"":`${t.minutes===0?t.seconds:` ${t.seconds.toString(10).padStart(2,"0")}`}s`;return`${i}${s}${r}`}function Po(e,t,i){const s=[];e.forEach((e=>{if(typeof e!=="string"){return s.push(e)}return t[Symbol.split](e).forEach(((e,t,r)=>{if(e!==""){s.push(e)}if(t<r.length-1){s.push(i)}}))}));return s}
729
+ `}};ur.styles=[c,Ks];ur.dependencies={"sl-icon":m,"sl-popup":V,"sl-spinner":pr};p([D("slot:not([name])")],ur.prototype,"defaultSlot",2);p([D(".menu-item")],ur.prototype,"menuItem",2);p([u()],ur.prototype,"type",2);p([u({type:Boolean,reflect:true})],ur.prototype,"checked",2);p([u()],ur.prototype,"value",2);p([u({type:Boolean,reflect:true})],ur.prototype,"loading",2);p([u({type:Boolean,reflect:true})],ur.prototype,"disabled",2);p([b("checked")],ur.prototype,"handleCheckedChange",1);p([b("disabled")],ur.prototype,"handleDisabledChange",1);p([b("type")],ur.prototype,"handleTypeChange",1);ur.define("sl-menu-item");const hr="button.main {\n display: flex;\n transition:\n width 200ms,\n background-color 500ms,\n color 500ms,\n border-color 500ms;\n max-width: var(--size-40);\n flex-direction: row;\n overflow: hidden;\n height: var(--pos-navigation-bar-height);\n width: var(--pos-navigation-bar-height);\n align-items: center;\n justify-content: center;\n border-radius: var(--radius-md);\n color: var(--pos-subtle-text-color);\n border: var(--size-px) dashed var(--pos-subtle-text-color);\n background-color: var(--pos-background-color);\n\n p {\n padding: 0;\n margin: 0;\n display: none;\n white-space: nowrap;\n }\n\n &.success {\n color: var(--color-green-700);\n border-color: var(--color-green-700);\n border-style: solid;\n background-color: var(--color-green-100);\n }\n\n &:active {\n transform: scale(0.99);\n filter: brightness(90%);\n }\n &:focus {\n outline: var(--pos-input-focus-outline);\n }\n}\n\nsvg {\n display: inline-block;\n height: var(--size-6);\n flex-shrink: 0;\n flex-grow: 0;\n width: var(--size-6);\n}\n\nbutton.main:hover,\nsl-dropdown[open] button {\n &.success {\n background: var(--color-green-200);\n color: var(--color-green-700);\n }\n width: var(--size-full);\n height: var(--pos-navigation-bar-height);\n background: var(--pos-background-color);\n color: var(--pos-normal-text-color);\n\n p {\n display: inline-block;\n }\n}\n";const fr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.errorEmitter=s(this,"pod-os:error");this.indexUpdatedEmitter=s(this,"pod-os:search:index-updated");this.indexCreatedEmitter=s(this,"pod-os:search:index-created");this.indexes=[];this.showOptions=false;this.isIndexed=false;this.receivePodOs=async e=>{this.os=e;this.thing=this.os.store.get(this.uri);this.getLabelIndexes(U.state.profile);this.unsubscribeSessionChange=U.onChange("profile",(e=>{this.getLabelIndexes(e)}))}}componentWillLoad(){G(this)}disconnectedCallback(){this.unsubscribeSessionChange&&this.unsubscribeSessionChange()}updateUri(e){this.thing=this.os.store.get(e);this.isIndexed=this.checkIfIndexed(e)}checkIfIndexed(e){return this.indexes.some((t=>t.contains(e)))}getLabelIndexes(e){if(e){this.indexes=e.getPrivateLabelIndexes().map((e=>this.os.store.get(e).assume(E)));this.showOptions=this.indexes.length>1;this.isIndexed=this.checkIfIndexed(this.uri)}}async onClick(e){e.preventDefault();if(this.indexes.length===1){const e=this.indexes[0];await this.addToLabelIndex(e);this.indexUpdatedEmitter.emit(e)}else if(this.indexes.length===0){const e=await this.createDefaultLabelIndex();await this.addToLabelIndex(e);this.indexCreatedEmitter.emit(e)}}async addToLabelIndex(e){try{await this.os.addToLabelIndex(this.thing,e);this.isIndexed=true}catch(e){this.errorEmitter.emit(e)}}async createDefaultLabelIndex(){try{return await this.os.createDefaultLabelIndex(U.state.profile)}catch(e){this.errorEmitter.emit(e)}}render(){if(!U.state.isLoggedIn||!this.uri){return null}const e="Make this findable";const s=t("button",{type:"button",slot:"trigger","aria-label":e,class:{main:true,success:this.isIndexed},onClick:e=>this.onClick(e),title:""},this.isIndexed?t(Qr,null):t(mr,null),t("p",null,e));if(this.showOptions){return t(i,null,t("sl-dropdown",null,s,t("sl-menu",{role:"listbox"},this.indexes.map((e=>t("sl-menu-item",{role:"option",value:e,type:"checkbox",checked:e.contains(this.uri)},t("pos-resource",{uri:e.uri,lazy:true},t("pos-label",null))))))))}else{return s}}async onSelect(e){const t=e.detail.item.value;e.preventDefault();await this.addToLabelIndex(t);this.indexUpdatedEmitter.emit(t)}get el(){return r(this)}static get watchers(){return{uri:["updateUri"]}}};const mr=()=>t("svg",{role:"presentation",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19.5 14.25v-2.625a3.375 3.375 0 0 0-3.375-3.375h-1.5A1.125 1.125 0 0 1 13.5 7.125v-1.5a3.375 3.375 0 0 0-3.375-3.375H8.25m5.231 13.481L15 17.25m-4.5-15H5.625c-.621 0-1.125.504-1.125 1.125v16.5c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125V11.25a9 9 0 0 0-9-9Zm3.75 11.625a2.625 2.625 0 1 1-5.25 0 2.625 2.625 0 0 1 5.25 0Z"}));const Qr=()=>t("svg",{role:"presentation",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M10.125 2.25h-4.5c-.621 0-1.125.504-1.125 1.125v17.25c0 .621.504 1.125 1.125 1.125h12.75c.621 0 1.125-.504 1.125-1.125v-9M10.125 2.25h.375a9 9 0 0 1 9 9v.375M10.125 2.25A3.375 3.375 0 0 1 13.5 5.625v1.5c0 .621.504 1.125 1.125 1.125h1.5a3.375 3.375 0 0 1 3.375 3.375M9 15l2.25 2.25L15 12"}));fr.style=hr;const br=":host {\n --pos-navigation-bar-height: var(--size-10);\n}\n\nsearch {\n position: relative;\n}\n\n.suggestions ol {\n border: 1px solid var(--pos-border-color);\n display: flex;\n flex-direction: column;\n margin: 0;\n padding: 0;\n list-style-type: none;\n}\n\n.suggestions {\n width: 100%;\n overflow-y: auto;\n max-height: 90dvh;\n li {\n padding: 1rem;\n background-color: var(--pos-background-color);\n pos-rich-link {\n --background-color: inherit;\n }\n &[aria-selected='true'] {\n background-color: var(--pos-primary-color);\n &:hover {\n background-color: var(--pos-primary-color);\n }\n }\n &:hover {\n background-color: var(--pos-border-color);\n }\n }\n}\n\n.suggestions li.selected pos-rich-link {\n --label-color: white;\n --description-color: var(--pos-border-color);\n --uri-color: var(--pos-subtle-text-color);\n}\n\ndialog {\n position: absolute;\n margin-top: calc(-1 * var(--pos-navigation-bar-height));\n padding: 0;\n width: 100%;\n max-width: 100%;\n min-width: 100%;\n overflow: hidden;\n max-height: 100dvh;\n background-color: var(--pos-background-color);\n color: var(--pos-normal-text-color);\n border: var(--pos-border-color);\n border-radius: var(--radius-md);\n box-shadow: var(--shadow-md);\n form {\n display: flex;\n flex-direction: column;\n height: 100%;\n width: 100%;\n align-items: center;\n input {\n display: flex;\n font-size: var(--scale-1);\n height: var(--pos-navigation-bar-height);\n border-top-left-radius: var(--radius-md);\n border-top-right-radius: var(--radius-md);\n padding-left: var(--size-2);\n width: 100%;\n border: none;\n outline: none;\n color: var(--pos-normal-text-color);\n background-color: var(--pos-input-background-color);\n box-sizing: border-box;\n }\n }\n}\n\ndialog[open] {\n display: flex;\n z-index: var(--layer-top);\n animation: slideIn 100ms ease-out;\n}\n\n@media (max-width: 640px) {\n search {\n position: unset;\n }\n dialog {\n margin-top: var(--size-1);\n top: 0;\n width: 95dvw;\n max-width: unset;\n min-width: unset;\n form {\n input {\n height: var(--size-12);\n font-size: var(--scale-fluid-3);\n }\n }\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n";const yr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.linkEmitter=s(this,"pod-os:link");this.uri="";this.inputValue=this.uri;this.searchIndex=undefined;this.suggestions=[];this.selectedIndex=-1;this.resource=null;this.changeEvents=new w.Subject;this.debouncedSearch=null;this.receivePodOs=async e=>{this.os=e}}updateResource(){var e;try{this.resource=this.uri?(e=this.os)===null||e===void 0?void 0:e.store.get(this.uri):null}catch(e){this.resource=null}}componentWillLoad(){G(this);this.updateResource();U.onChange("isLoggedIn",(async e=>{if(e){await this.buildSearchIndex()}else{this.clearSearchIndex()}}));this.debouncedSearch=this.changeEvents.pipe(w.debounceTime(300)).subscribe((()=>this.search()))}disconnectedCallback(){var e;(e=this.debouncedSearch)===null||e===void 0?void 0:e.unsubscribe()}async buildSearchIndex(){this.searchIndex=await this.os.buildSearchIndex(U.state.profile)}rebuildSearchIndex(){this.searchIndex.rebuild()}openNavigationDialog(e){var t,i;this.resource=e.detail;if(e.detail){this.inputValue=e.detail.uri;this.search()}(t=this.inputRef)===null||t===void 0?void 0:t.select();(i=this.dialogRef)===null||i===void 0?void 0:i.show()}clearSearchIndex(){var e;(e=this.searchIndex)===null||e===void 0?void 0:e.clear()}onChange(e){this.inputValue=e.target.value;this.changeEvents.next()}closeDialog(){var e;(e=this.dialogRef)===null||e===void 0?void 0:e.close();this.selectedIndex=-1}clearSuggestions(){var e;this.suggestions=[];(e=this.dialogRef)===null||e===void 0?void 0:e.close();this.selectedIndex=-1}onClickSelf(e){e.stopPropagation()}handleKeyDown(e){if(e.key==="Escape"){this.closeDialog()}else if(e.key==="ArrowDown"){e.preventDefault();this.selectedIndex=Math.min(this.selectedIndex+1,this.suggestions.length-1)}else if(e.key==="ArrowUp"){e.preventDefault();this.selectedIndex=Math.max(this.selectedIndex-1,0)}}search(){if(this.searchIndex){this.suggestions=this.inputValue?this.searchIndex.search(this.inputValue):[]}}onSubmit(){if(this.suggestions&&this.selectedIndex>-1){this.linkEmitter.emit(this.suggestions[this.selectedIndex].ref)}else{this.linkEmitter.emit(this.inputValue)}}render(){return t("nav",{key:"44f504f9a905c6e63353741cda554a6a35a46f82"},t("search",{key:"98e7cae9729db2959d992f9e41a4cc99064b9eb0"},t("pos-navigation-bar",{key:"c0ce90fcc8334d0ea784ca3126a1524b036631ac",searchIndexReady:this.searchIndex!==undefined,current:this.resource}),t("dialog",{key:"a9b1418ad48ae298fbd8eaa56e62eb613e8deef6",ref:e=>this.dialogRef=e},t("form",{key:"a75933116bd844e0afc4e94eee713adb6d6bb4ea",method:"dialog",onSubmit:()=>this.onSubmit()},t("input",{key:"c6de46f82392acf3752e51e64dc6e5526f8d6a04",ref:e=>this.inputRef=e,enterkeyhint:"search","aria-label":"Search or enter URI",placeholder:"Search or enter URI",value:this.uri,onChange:e=>this.onChange(e),onInput:e=>this.onChange(e),role:"combobox","aria-autocomplete":"list","aria-expanded":this.suggestions.length>0,"aria-controls":"suggestions-list","aria-activedescendant":this.selectedIndex>=0?`option-${this.selectedIndex}`:null}),this.suggestions.length>0?t("div",{class:"suggestions"},t("ol",{id:"suggestions-list",role:"listbox","aria-label":"Search results"},this.suggestions.map(((e,i)=>t("li",{id:`option-${i}`,role:"option","aria-selected":i===this.selectedIndex?"true":"false"},t("pos-rich-link",{uri:e.ref})))))):null))))}static get watchers(){return{uri:["updateResource"],os:["updateResource"]}}};yr.style=br;const gr="section.current {\n display: flex;\n height: var(--pos-navigation-bar-height);\n flex-grow: 1;\n gap: 0;\n background-color: var(--pos-input-background-color);\n border-radius: var(--radius-md);\n width: 100%;\n &:focus-within {\n outline: var(--pos-input-focus-outline);\n }\n}\n\nsection.current button {\n cursor: pointer;\n font-size: var(--scale-1);\n display: flex;\n align-items: center;\n justify-content: center;\n flex-grow: 1;\n background: none;\n color: var(--pos-normal-text-color);\n outline: none;\n border: none;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n &:focus {\n text-decoration: underline;\n }\n :first-child {\n flex-grow: 1;\n }\n svg {\n width: var(--size-6);\n color: var(--pos-subtle-text-color);\n }\n}\n";const xr=class{constructor(t){e(this,t);this.navigate=s(this,"pod-os:navigate")}onClick(){this.navigate.emit(this.current)}activate(e){if((e.ctrlKey||e.metaKey)&&e.key==="k"){e.preventDefault();this.navigate.emit(this.current)}}render(){const e=this.current?`${this.current.label()} (Click to search or enter URI)`:"Search or enter URI";return t("section",{key:"a66626042ab42e63094b7b27729f0c299d6e62a3",class:"current"},this.current&&this.searchIndexReady&&t("pos-make-findable",{key:"4e2e2e3271c4ed78c34e32e0a815a87dd9d73b52",uri:this.current.uri}),t("button",{key:"5ff874354f32f9fef4b15337ce7230c43df0c0ca","aria-label":e,onClick:()=>this.onClick()},t("div",{key:"d00d82f397fb9f3ede61484d6cc2ae74ef92fd06"},this.current?this.current.label():"Search or enter URI"),this.icon()))}icon(){return t("svg",{"aria-hidden":"true",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"m21 21-5.197-5.197m0 0A7.5 7.5 0 1 0 5.196 5.196a7.5 7.5 0 0 0 10.607 10.607Z"}))}};xr.style=gr;const Ur=":host{display:block}form{display:grid;grid-template-columns:var(--size-16) 1fr;grid-gap:var(--scale-0)}label{grid-column:1 / 2;display:flex;align-items:center;justify-content:flex-end}input,pos-select-term,button{grid-column:2 / 3}input,pos-select-term::part(input){outline:var(--pos-input-outline);padding:var(--scale-000);border:none;border-radius:var(--radius-xs);width:var(--size-full);box-sizing:border-box;background:var(--pos-input-background-color);color:var(--pos-normal-text-color)}input:focus-within,pos-select-term::part(input):focus-within{outline:var(--pos-input-focus-outline)}#new-uri{grid-column:1/3;cursor:default;word-break:break-all;color:var(--pos-normal-text-color);font-weight:var(--weight-light);background:var(--pos-disabled-color);padding:var(--scale-000);border-radius:var(--radius-xs)}input#create{outline:none;box-shadow:var(--shadow-sm);cursor:pointer;color:var(--pos-primary-text-color);background-color:var(--pos-primary-color)}input#create:disabled{cursor:default;color:var(--pos-disabled-text-color);background-color:var(--pos-disabled-color);box-shadow:none}input#create:hover:not(:disabled),input#create:focus{filter:brightness(110%);box-shadow:var(--shadow-md)}";const Br=class{constructor(t){e(this,t);this.linkEmitter=s(this,"pod-os:link");this.errorEmitter=s(this,"pod-os:error");this.subscribePodOs=s(this,"pod-os:init");this.canSubmit=false;this.receivePodOs=async e=>{this.os=e}}validate(){this.canSubmit=Boolean(this.name&&this.selectedTypeUri)}componentWillLoad(){G(this)}render(){return t("form",{key:"97ee880c3abec22c35be46a9cceea2458cf21ed9",method:"dialog",onSubmit:e=>this.handleSubmit(e)},t("label",{key:"d8640130a517630c02b974ee4013d2c3280b6fa2",htmlFor:"type"},"Type"),t("pos-select-term",{key:"e046ea254ed78f9ad89c4c20ada3c6ff13349749",id:"type",placeholder:"",value:this.selectedTypeUri,"onPod-os:term-selected":e=>this.onTermSelected(e)}),t("label",{key:"aed99f50050048a826960059e67f7c35d3f0ab55",htmlFor:"name"},"Name"),t("input",{key:"d449344ff106ad2a222ce134c72cf8a9f15ed829",id:"name",type:"text",value:this.name,onInput:e=>this.handleChange(e)}),this.newUri?t("div",{id:"new-uri",title:"This will be the URI of the new thing"},this.newUri):null,t("input",{key:"493bccdd4b475866aab67a3c77af87a067fa3076",id:"create",type:"submit",value:"Create",disabled:!this.canSubmit}))}handleChange(e){this.name=e.target.value;this.newUri=this.os.proposeUriForNewThing(this.referenceUri,this.name)}onTermSelected(e){this.selectedTypeUri=e.detail.uri}async handleSubmit(e){try{await this.os.addNewThing(this.newUri,this.name,this.selectedTypeUri);this.linkEmitter.emit(this.newUri);this.reset()}catch(t){e.preventDefault();this.errorEmitter.emit(t)}}reset(){this.name="";this.newUri="";this.selectedTypeUri=""}static get delegatesFocus(){return true}static get watchers(){return{name:["validate"],selectedTypeUri:["validate"]}}};Br.style=Ur;const vr=":host {\n /**\n * @prop --width: Width of the picture\n * @prop --height: Height of the picture\n * @prop --border-radius: Border radius of the picture\n * @prop --object-fit: CSS object-fit of the picture\n */\n --width: 300px;\n --height: 300px;\n --border-radius: var(--border-radius, 0);\n --object-fit: var(--object-fit, cover);\n\n display: block;\n position: relative;\n}\n\nbutton.add {\n display: none;\n align-items: center;\n gap: var(--size-1);\n padding: var(--size-1);\n position: absolute;\n bottom: var(--size-2);\n right: var(--size-2);\n z-index: var(--layer-top);\n}\n\n:host(:hover) button.add {\n display: flex;\n}\n\n@media (pointer: coarse) {\n button.add {\n display: flex;\n }\n}\n\n.no-picture {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n min-height: var(--height);\n width: var(--width);\n position: relative;\n}\n\n.no-picture button.add {\n position: static;\n margin-top: var(--size-2);\n display: flex;\n}\n\n.upload-container {\n display: flex;\n flex-direction: column;\n gap: var(--size-2);\n padding: var(--size-2);\n button.close {\n display: flex;\n align-items: center;\n gap: var(--size-1);\n padding: var(--size-1);\n }\n}\n";const Fr=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.blurredBackground=false;this.noUpload=false;this.isUploading=false;this.receiveResource=e=>{this.resource=e};this.enterUploadMode=()=>{this.isUploading=true};this.exitUploadMode=()=>{this.isUploading=false}}async componentWillLoad(){J(this);this.os=await M(this.el)}renderUpload(){return t("div",{class:"upload-container"},t("button",{class:"close",onClick:()=>this.exitUploadMode()},t("sl-icon",{name:"x-circle"}),"Close upload"),t("pos-upload",{uploader:e=>this.os.uploadAndAddPicture(this.resource,e)}))}shouldShowUploadButton(){var e;return((e=this.resource)===null||e===void 0?void 0:e.editable)===true&&!this.noUpload}renderUploadButton(){if(!this.shouldShowUploadButton()){return null}return t("button",{class:"add",onClick:this.enterUploadMode},t("sl-icon",{name:"cloud-plus"}),"Upload picture")}renderPicture(){var e;const i=(e=this.resource)===null||e===void 0?void 0:e.picture();if(!i){return t("div",{class:"no-picture"},t("slot",null),this.renderUploadButton())}return[t("pos-image",{blurredBackground:this.blurredBackground,src:i.url,alt:this.resource.label()}),this.renderUploadButton()]}render(){return this.isUploading?this.renderUpload():this.renderPicture()}get el(){return r(this)}};Fr.style=vr;const Er="details.error {\n margin: var(--size-2);\n background-color: var(--pos-error-background-color);\n border: var(--size-px) solid var(--pos-error-border-color);\n padding: var(--size-2);\n border-radius: var(--radius-md);\n\n a {\n color: var(--pos-normal-text-color);\n }\n}\n\nsl-progress-bar {\n --height: var(--size-1);\n}\n";const wr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.resourceLoadedEmitter=s(this,"pod-os:resource-loaded");this.consumers=[];this.lazy=false;this.loading=true;this.receivePodOs=async e=>{this.os=e}}componentWillLoad(){U.onChange("isLoggedIn",(()=>this.loadResource()));G(this)}async provideResource(e){e.stopPropagation();if(this.resource){e.detail(this.resource)}this.consumers.push(e)}async loadResource(){await this.getResource(!this.lazy)}async fetch(){await this.getResource(true)}async getResource(e=false){try{if(e){this.loading=true;await this.os.fetch(this.uri);this.resourceLoadedEmitter.emit(this.uri)}this.resource=this.os.store.get(this.uri);this.error=null;this.consumers.forEach((e=>{e.detail(this.resource)}))}catch(e){this.error=e}finally{this.loading=false}}render(){if(this.loading){return t("sl-progress-bar",{indeterminate:true})}if(this.error){return t("details",{class:"error"},t("summary",{title:"Click to expand"},"⚠ Sorry, something went wrong"),t("p",null,"Status:",this.error.status),t("p",null,this.error.message),t("p",null,"You can try to open the link outside PodOS: ",t("a",{href:this.uri},this.uri)))}return t("slot",null)}static get watchers(){return{os:["loadResource"],uri:["loadResource"]}}};wr.style=Er;const Sr=":host {\n --background-color: inherit;\n --label-color: var(--pos-normal-text-color);\n --description-color: var(--pos-normal-text-color);\n --uri-color: var(--pos-subtle-text-color);\n --font-family: var(--font-sans);\n}\n\np.content {\n background-color: var(--background-color);\n line-height: var(--line-xs);\n margin: 0;\n display: flex;\n flex-direction: column;\n align-items: baseline;\n gap: var(--size-1);\n\n .url {\n font-size: var(--scale-fluid-1);\n color: var(--pos-subtle-text-color);\n }\n}\n\na {\n color: var(--label-color);\n max-width: min(100%, var(--prose-lg));\n text-decoration: underline;\n overflow: hidden;\n white-space: nowrap;\n text-overflow: ellipsis;\n text-decoration-thickness: var(--size-px);\n}\n\npos-label {\n color: var(--label-color);\n font-size: var(--scale-fluid-2);\n margin-bottom: var(--size-1);\n}\n\npos-description {\n display: -webkit-box;\n -webkit-box-orient: vertical;\n -webkit-line-clamp: 2;\n text-overflow: ellipsis;\n overflow: hidden;\n font-weight: var(--weight-light);\n color: var(--description-color);\n font-size: var(--scale-fluid-2);\n}\n\n@media (min-width: 640px) {\n pos-label {\n font-size: var(--scale-fluid-0);\n }\n pos-description {\n font-size: var(--scale-fluid-1);\n }\n\n p.content {\n .url {\n font-size: var(--scale-fluid-000);\n }\n }\n}\n";const Dr=class{constructor(t){e(this,t);this.linkEmitter=s(this,"pod-os:link");this.subscribeResource=s(this,"pod-os:resource");this.errorEmitter=s(this,"pod-os:error");this.followPredicate=false;this.error=null;this.showCustomContent=false;this.receiveResource=e=>{const t=(e,t,i,s)=>{if(e.length==0){this.error="No matching link found";this.errorEmitter.emit(new Error(`pos-rich-link: No matching link found from ${t.uri} ${s}=${i}`))}else if(e[0].uris.length>1){this.error="More than one matching link found";this.errorEmitter.emit(new Error(`pos-rich-link: More than one matching link found from ${t.uri} ${s}=${i}`))}else{this.link=e[0].uris[0];this.followPredicate=true}};if(this.rel){t(e.relations(this.rel),e,this.rel,"rel")}else if(this.rev){t(e.reverseRelations(this.rev),e,this.rev,"rev")}else{this.link=e.uri}}}componentWillLoad(){this.showCustomContent=!!this.host.lastElementChild||this.host.textContent.trim()!="";if(!this.uri)J(this)}render(){const e=e=>this.showCustomContent?t("a",{href:e,onClick:t=>{t.preventDefault();this.linkEmitter.emit(e)}},t("slot",null)):t("p",{class:"content"},t("a",{href:e,onClick:t=>{t.preventDefault();this.linkEmitter.emit(e)}},t("pos-label",null)),t("span",{class:"url"},new URL(e).host),t("pos-description",null));if(this.error){return this.error}else if(this.followPredicate){return t("pos-resource",{lazy:true,uri:this.link},e(this.link))}else if(this.link){return e(this.link)}else if(this.uri){return t("pos-resource",{lazy:true,uri:this.uri},e(this.uri))}else{return null}}get host(){return r(this)}};Dr.style=Sr;const Rr=(e,t,i)=>{const s=e.get(t);if(!s){e.set(t,[i])}else if(!s.includes(i)){s.push(i)}};const kr=(e,t)=>{let i;return(...s)=>{if(i){clearTimeout(i)}i=setTimeout((()=>{i=0;e(...s)}),t)}};const Lr=e=>!("isConnected"in e)||e.isConnected;const Nr=kr((e=>{for(let t of e.keys()){e.set(t,e.get(t).filter(Lr))}}),2e3);const Cr=()=>{if(typeof o!=="function"){return{}}const e=new Map;return{dispose:()=>e.clear(),get:t=>{const i=o();if(i){Rr(e,t,i)}},set:t=>{const i=e.get(t);if(i){e.set(t,i.filter(n))}Nr(e)},reset:()=>{e.forEach((e=>e.forEach(n)));Nr(e)}}};const Vr=(e,t=(e,t)=>e!==t)=>{let i=new Map(Object.entries(e!==null&&e!==void 0?e:{}));const s={dispose:[],get:[],set:[],reset:[]};const r=()=>{i=new Map(Object.entries(e!==null&&e!==void 0?e:{}));s.reset.forEach((e=>e()))};const o=()=>{s.dispose.forEach((e=>e()));r()};const n=e=>{s.get.forEach((t=>t(e)));return i.get(e)};const a=(e,r)=>{const o=i.get(e);if(t(r,o,e)){i.set(e,r);s.set.forEach((t=>t(e,r,o)))}};const l=typeof Proxy==="undefined"?{}:new Proxy(e,{get(e,t){return n(t)},ownKeys(e){return Array.from(i.keys())},getOwnPropertyDescriptor(){return{enumerable:true,configurable:true}},has(e,t){return i.has(t)},set(e,t,i){a(t,i);return true}});const d=(e,t)=>{s[e].push(t);return()=>{Ir(s[e],t)}};const c=(t,i)=>{const s=d("set",((e,s)=>{if(e===t){i(s)}}));const r=d("reset",(()=>i(e[t])));return()=>{s();r()}};const p=(...e)=>{const t=e.reduce(((e,t)=>{if(t.set){e.push(d("set",t.set))}if(t.get){e.push(d("get",t.get))}if(t.reset){e.push(d("reset",t.reset))}if(t.dispose){e.push(d("dispose",t.dispose))}return e}),[]);return()=>t.forEach((e=>e()))};const u=e=>{const t=i.get(e);s.set.forEach((i=>i(e,t,t)))};return{state:l,get:n,set:a,on:d,onChange:c,use:p,dispose:o,reset:r,forceUpdate:u}};const Ir=(e,t)=>{const i=e.indexOf(t);if(i>=0){e[i]=e[e.length-1];e.length--}};const Tr=(e,t)=>{const i=Vr(e,t);i.use(Cr());return i};const zr=e=>{var t;const i=window;const s=new URL(i.location.href);const r=(t=void 0)!==null&&t!==void 0?t:Jr;const{state:o,onChange:n,dispose:a}=Tr({url:s,activePath:r(s)},((e,t,i)=>{if(i==="url"){return e.href!==t.href}return e!==t}));const l=e=>{history.pushState(null,null,e);const t=new URL(e,document.baseURI);o.url=t;o.activePath=r(t)};const d=e=>{const{activePath:t}=o;for(let i of e){const s=Pr(t,i.path);if(s){if(i.to!=null){const s=typeof i.to==="string"?i.to:i.to(t);l(s);return d(e)}else{return{params:s,route:i}}}}return undefined};const c=()=>{const e=new URL(i.location.href);o.url=e;o.activePath=r(e)};const p=(e,t)=>{const i=d(t);if(i){if(typeof i.route.jsx==="function"){return i.route.jsx(i.params)}else{return i.route.jsx}}};const u=()=>{i.removeEventListener("popstate",c);a()};const h={Switch:p,get url(){return o.url},get activePath(){return o.activePath},push:l,onChange:n,dispose:u};c();i.addEventListener("popstate",c);return h};const Pr=(e,t)=>{if(typeof t==="string"){if(t===e){return{}}}else if(typeof t==="function"){const i=t(e);if(i){return i===true?{}:{...i}}}else{const i=t.exec(e);if(i){t.lastIndex=0;return{...i}}}return undefined};const Jr=e=>e.pathname.toLowerCase();const Gr=".toolbar{display:flex;flex-direction:row;gap:0;align-items:center;margin-left:0.5rem}pos-navigation{flex-grow:1}";const Mr=zr();const Ar=class{constructor(t){e(this,t);this.routeChanged=s(this,"pod-os:route-changed");this.mode="standalone"}linkClicked(e){this.navigate(e.detail)}sessionRestored(e){Mr.push(e.detail.url)}componentWillLoad(){this.updateUri();Mr.onChange("url",(()=>{this.updateUri()}))}navigate(e){Mr.push("?uri="+encodeURIComponent(e))}updateUri(){this.uri=new URLSearchParams(window.location.search).get("uri")||(this.mode==="standalone"?"pod-os:dashboard":window.location.href);this.routeChanged.emit(this.uri)}render(){return t("slot",{key:"6e8c5214a0e82fb838fc512ad3cfa4cfb480a29e"})}};Ar.style=Gr;const Hr=":host{display:block}input{background-color:transparent;color:var(--pos-normal-text-color);border:none;padding-top:1rem;padding-bottom:1rem}input:focus{outline:none}";const Zr=class{constructor(t){e(this,t);this.subscribePodOs=s(this,"pod-os:init");this.termSelected=s(this,"pod-os:term-selected");this.placeholder="Type to search...";this.value="";this.terms=[];this.receivePodOs=async e=>{this.os=e}}componentWillLoad(){G(this)}setTerms(){this.terms=this.os.listKnownTerms()}handleChange(e){this.termSelected.emit({uri:e.target.value})}render(){return t(i,{key:"0dc25a3c0491f8dafb3b5350c7347907e98a08e7"},t("input",{key:"8f017d277f9fadaadc1bc3793d377848d315431b",part:"input",list:"terms",placeholder:this.placeholder,value:this.value,onChange:e=>this.handleChange(e)}),t("datalist",{key:"ab2fc8071cd8adc6999e1f460b8e8a8cb6d43849",part:"terms",id:"terms"},this.terms.map((e=>t("option",{value:e.uri},e.shorthand)))))}static get delegatesFocus(){return true}static get watchers(){return{os:["setTerms"]}}};Zr.style=Hr;const Wr=":host{border:var(--size-px) solid var(--pos-border-color);border-radius:var(--radius-lg);box-shadow:var(--shadow-md);padding:var(--size-8);max-width:var(--size-96);background:var(--pos-card-background)}svg{width:var(--size-8)}h2{display:flex;align-items:center}p{padding:var(--size-2)}.info{color:var(--color-grey-900);background-color:var(--color-blue-200)}.warn{color:var(--color-grey-900);background-color:var(--color-yellow-200)}";const _r=class{constructor(t){e(this,t)}render(){return t(i,{key:"f024e7d542cfc87a4dc0a1f22694b664086ebd60"},t("div",{key:"e88e694cefa4a2361ca8c67f1bd023fda1b70f2a"},t("h2",{key:"c4b2e6270f26a2eb7f62e5076b40834903fc10e4"},t("svg",{key:"d63643c1ed908c6fe9ab4ff6c47b13848c714c32",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},t("path",{key:"78f055556bb175ea17d0db1ccf78c16343d67d3f","stroke-linecap":"round","stroke-linejoin":"round",d:"M20.25 6.375c0 2.278-3.694 4.125-8.25 4.125S3.75 8.653 3.75 6.375m16.5 0c0-2.278-3.694-4.125-8.25-4.125S3.75 4.097 3.75 6.375m16.5 0v11.25c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125V6.375m16.5 0v3.75m-16.5-3.75v3.75m16.5 0v3.75C20.25 16.153 16.556 18 12 18s-8.25-1.847-8.25-4.125v-3.75m16.5 0c0 2.278-3.694 4.125-8.25 4.125s-8.25-1.847-8.25-4.125"})),"Cache Settings"),t("p",{key:"3045ae3214b9e91feb34857ce45a3db6529f2959",class:"info"},"ℹ Enable offline cache to be able to access previously loaded data while offline."),t("p",{key:"9987c1cb59b62e1eb06c67a9c646a9a2f125529a",class:"warn"},"⚠ Private data may be stored on this device. Only enable it, if you trust this device."),t("label",{key:"55dd3c0fa7ece9a59437e7818d6cfa9b0e9eb5bf"},t("input",{key:"22874f8a39b5016b71818fa1d6226bf66ff969c3",type:"checkbox",checked:_.state.offlineCache,onChange:e=>_.state.offlineCache=e.target.checked}),"Enable offline cache")))}};_r.style=Wr;const Or=":host {\n --button-size: var(--size-16);\n display: block;\n position: sticky;\n align-self: flex-start;\n top: 0;\n overflow: auto;\n min-width: var(--button-size);\n z-index: var(--layer-1);\n}\n\n[role='tablist'] {\n display: flex;\n flex-direction: column;\n justify-content: center;\n\n border-right: var(--size-px) solid var(--pos-border-color);\n\n button {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n gap: 0;\n font-size: var(--size-6);\n position: relative;\n overflow: hidden;\n outline: none;\n border: none;\n width: var(--button-size);\n min-width: var(--button-size);\n height: var(--button-size);\n min-height: var(--button-size);\n background-color: var(--pos-background-color);\n\n &::after {\n content: '';\n position: absolute;\n top: 50%;\n left: 50%;\n width: 0;\n height: 0;\n border-radius: 100%;\n background: color-mix(in srgb, var(--pos-primary-color), transparent 50%);\n transform: translate(-50%, -50%);\n opacity: 1;\n }\n\n &:active::after,\n &:focus::after {\n width: calc(var(--button-size) * 1.5);\n height: calc(var(--button-size) * 1.5);\n opacity: 0;\n transition:\n width 0.5s ease-out,\n height 0.5s ease-out,\n opacity 1s ease-out;\n }\n\n &:focus-visible {\n border: var(--size-px) solid var(--pos-primary-color);\n }\n\n @media (min-width: 640px) {\n &[aria-selected] {\n border-right: var(--size-1) solid var(--pos-primary-color);\n }\n }\n\n .text {\n font-size: var(--size-3);\n white-space: nowrap;\n text-overflow: ellipsis;\n width: 100%;\n overflow: hidden;\n }\n }\n}\n\n@media (max-width: 640px) {\n :host {\n position: fixed;\n top: unset;\n bottom: 0;\n width: 100dvw;\n }\n [role='tablist'] {\n flex-direction: row;\n background-color: var(--pos-background-color);\n\n border-top: var(--size-px) solid var(--pos-border-color);\n\n button {\n &[aria-selected] {\n border-top: var(--size-1) solid var(--pos-primary-color);\n }\n }\n }\n}\n";const jr=class{constructor(t){e(this,t);this.toolSelected=s(this,"pod-os:tool-selected");this.tools=[]}render(){if(this.tools.length>1){return t("div",{role:"tablist","aria-label":"Tools","aria-multiselectable":"false"},this.tools.map((e=>{var i;return t("button",{role:"tab","aria-selected":((i=this.selected)===null||i===void 0?void 0:i.element)===e.element,onClick:()=>this.toolSelected.emit(e)},t("sl-icon",{name:e.icon}),t("span",{class:"text"},e.label))})))}return null}};jr.style=Or;const Yr={Generic:{element:"pos-app-generic",label:"Data",icon:"list-ul",types:[]},RdfDocument:{element:"pos-app-rdf-document",label:"Things",icon:"diagram-2",types:[{uri:"http://www.w3.org/2007/ont/link#RDFDocument",priority:20}]},DocumentViewer:{element:"pos-app-document-viewer",label:"Doc",icon:"file-text",types:[{uri:$r("application/pdf"),priority:30},{uri:"http://www.w3.org/2007/ont/link#Document",priority:10}]},ImageViewer:{element:"pos-app-image-viewer",label:"Pic",icon:"file-image",types:[{uri:"http://purl.org/dc/terms/Image",priority:20}]},LdpContainer:{element:"pos-app-ldp-container",label:"Content",icon:"folder",types:[{uri:"http://www.w3.org/ns/ldp#Container",priority:30}]}};function $r(e){return"http://www.w3.org/ns/iana/media-types/"+e+"#Resource"}function Kr(e){const t=new Set(e.map((e=>e.uri)));return Object.values(Yr).map(Xr(t)).filter(eo).toSorted(to).map((e=>e.tool)).concat(Yr.Generic)}const Xr=e=>t=>({tool:t,priority:qr(t.types,e)});function qr(e,t){return e.filter((e=>t.has(e.uri))).reduce(((e,t)=>Math.max(e,t.priority)),0)}const eo=e=>e.priority>0;const to=(e,t)=>t.priority-e.priority;const io="section {\n display: flex;\n flex-direction: row;\n}\n\n.tools {\n flex-grow: 1;\n &.transition {\n position: relative;\n .tool {\n position: absolute;\n }\n }\n}\n\n.tool {\n top: 0;\n right: 0;\n left: 0;\n bottom: 0;\n &.visible {\n animation: fadeIn 300ms ease-in;\n }\n &.hidden {\n animation: fadeOut 300ms ease-in;\n }\n}\n\n@keyframes fadeIn {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes fadeOut {\n from {\n opacity: 1;\n }\n to {\n opacity: 0;\n }\n}\n\n@media (max-width: 640px) {\n section {\n --toolbar-size: var(--size-16);\n flex-direction: column-reverse;\n padding-bottom: var(--toolbar-size);\n pos-tool-select {\n --button-size: var(--toolbar-size);\n }\n }\n}\n";const so=class{constructor(t){e(this,t);this.subscribeResource=s(this,"pod-os:resource");this.transitioning=false;this.receiveResource=e=>{var t;const i=e.types();this.availableTools=Kr(i);this.currentTool=(t=this.availableTools.find((e=>e.element===this.initialTool)))!==null&&t!==void 0?t:this.availableTools[0]}}componentWillLoad(){J(this);const e=new URLSearchParams(window.location.search);const t=e.get("tool");if(t){this.initialTool=t}}handleToolSelected(e){this.oldTool=this.currentTool;this.currentTool=e.detail;this.transitioning=true;const t=new URL(window.location.href);t.searchParams.set("tool",e.detail.element);window.history.replaceState({},"",t.toString())}render(){return this.availableTools?this.renderApp():null}renderApp(){var e;const i=this.currentTool.element;const s=(e=this.oldTool)===null||e===void 0?void 0:e.element;return t("section",null,t("pos-tool-select",{selected:this.currentTool,tools:this.availableTools}),t("div",{class:{tools:true,transition:this.transitioning},onAnimationEnd:()=>this.removeOldTool()},s&&t(s,{class:"tool hidden"}),t(i,{class:"tool visible"})))}removeOldTool(){this.oldTool=null;this.transitioning=false}};so.style=io;function ro(e,t,i){return new Promise((s=>{e.toBlob(s,t,i)}))}const oo=/^data:([^/]+\/[^,;]+(?:[^,]*?))(;base64)?,([\s\S]*)$/;function no(e,t,i){const s=oo.exec(e);const r=t.mimeType??s?.[1]??"plain/text";let o;if(s?.[2]!=null){const e=atob(decodeURIComponent(s[3]));const t=new Uint8Array(e.length);for(let i=0;i<e.length;i++){t[i]=e.charCodeAt(i)}o=[t]}else if(s?.[3]!=null){o=[decodeURIComponent(s[3])]}return new Blob(o,{type:r})}function ao(e,t,i,s){if(e===t)return e;if(s===0)return t;return e+(t-e)*2**(-s/i)}var lo=['a[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','area[href]:not([tabindex^="-"]):not([inert]):not([aria-hidden])',"input:not([disabled]):not([inert]):not([aria-hidden])","select:not([disabled]):not([inert]):not([aria-hidden])","textarea:not([disabled]):not([inert]):not([aria-hidden])","button:not([disabled]):not([inert]):not([aria-hidden])",'iframe:not([tabindex^="-"]):not([inert]):not([aria-hidden])','object:not([tabindex^="-"]):not([inert]):not([aria-hidden])','embed:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[contenteditable]:not([tabindex^="-"]):not([inert]):not([aria-hidden])','[tabindex]:not([tabindex^="-"]):not([inert]):not([aria-hidden])'];function co(e){if(typeof e!=="object"||e===null)return false;if(!("nodeType"in e))return false;return e.nodeType===Node.ELEMENT_NODE}function po(e){if(typeof e==="string"){const t=document.querySelectorAll(e);return t.length===0?null:Array.from(t)}if(typeof e==="object"&&co(e)){return[e]}return null}function uo(e,t=document){if(typeof e==="string"){return t.querySelector(e)}if(co(e)){return e}return null}function ho(e){const t=e.lastIndexOf(".");if(t===-1||t===e.length-1){return{name:e,extension:undefined}}return{name:e.slice(0,t),extension:e.slice(t+1)}}var fo={__proto__:null,md:"text/markdown",markdown:"text/markdown",mp4:"video/mp4",mp3:"audio/mp3",svg:"image/svg+xml",jpg:"image/jpeg",png:"image/png",webp:"image/webp",gif:"image/gif",heic:"image/heic",heif:"image/heif",yaml:"text/yaml",yml:"text/yaml",csv:"text/csv",tsv:"text/tab-separated-values",tab:"text/tab-separated-values",avi:"video/x-msvideo",mks:"video/x-matroska",mkv:"video/x-matroska",mov:"video/quicktime",dicom:"application/dicom",doc:"application/msword",msg:"application/vnd.ms-outlook",docm:"application/vnd.ms-word.document.macroenabled.12",docx:"application/vnd.openxmlformats-officedocument.wordprocessingml.document",dot:"application/msword",dotm:"application/vnd.ms-word.template.macroenabled.12",dotx:"application/vnd.openxmlformats-officedocument.wordprocessingml.template",xla:"application/vnd.ms-excel",xlam:"application/vnd.ms-excel.addin.macroenabled.12",xlc:"application/vnd.ms-excel",xlf:"application/x-xliff+xml",xlm:"application/vnd.ms-excel",xls:"application/vnd.ms-excel",xlsb:"application/vnd.ms-excel.sheet.binary.macroenabled.12",xlsm:"application/vnd.ms-excel.sheet.macroenabled.12",xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",xlt:"application/vnd.ms-excel",xltm:"application/vnd.ms-excel.template.macroenabled.12",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template",xlw:"application/vnd.ms-excel",txt:"text/plain",text:"text/plain",conf:"text/plain",log:"text/plain",pdf:"application/pdf",zip:"application/zip","7z":"application/x-7z-compressed",rar:"application/x-rar-compressed",tar:"application/x-tar",gz:"application/gzip",dmg:"application/x-apple-diskimage"};function mo(e){if(e.type)return e.type;const t=e.name?ho(e.name).extension?.toLowerCase():null;if(t&&t in fo){return fo[t]}return"application/octet-stream"}function Qo(e){return e.charCodeAt(0).toString(32)}function bo(e){let t="";return e.replace(/[^A-Z0-9]/gi,(e=>{t+=`-${Qo(e)}`;return"/"}))+t}function yo(e,t){let i=t||"uppy";if(typeof e.name==="string"){i+=`-${bo(e.name.toLowerCase())}`}if(e.type!==undefined){i+=`-${e.type}`}if(e.meta&&typeof e.meta.relativePath==="string"){i+=`-${bo(e.meta.relativePath.toLowerCase())}`}if(e.data?.size!==undefined){i+=`-${e.data.size}`}if(e.data.lastModified!==undefined){i+=`-${e.data.lastModified}`}return i}function go(e){if(!e.isRemote||!e.remote)return false;const t=new Set(["box","dropbox","drive","facebook","unsplash"]);return t.has(e.remote.provider)}function xo(e,t){if(go(e))return e.id;const i=mo(e);return yo({...e,type:i},t)}var Uo=Array.from;function Bo(e){const t=Uo(e.files);return Promise.resolve(t)}function vo(e,t,i,{onSuccess:s}){e.readEntries((r=>{const o=[...t,...r];if(r.length){queueMicrotask((()=>{vo(e,o,i,{onSuccess:s})}))}else{s(o)}}),(e=>{i(e);s(t)}))}function Fo(e,t){if(e==null)return e;return{kind:e.isFile?"file":e.isDirectory?"directory":undefined,name:e.name,getFile(){return new Promise(((t,i)=>e.file(t,i)))},async*values(){const i=e.createReader();const s=await new Promise((e=>{vo(i,[],t,{onSuccess:i=>e(i.map((e=>Fo(e,t))))})}));yield*s},isSameEntry:undefined}}async function*Eo(e,t,i=undefined){const s=()=>`${t}/${e.name}`;if(e.kind==="file"){const r=await e.getFile();if(r!=null){r.relativePath=t?s():null;yield r}else if(i!=null)yield i}else if(e.kind==="directory"){for await(const i of e.values()){yield*Eo(i,t?s():e.name)}}else if(i!=null)yield i}async function*wo(e,t){const i=await Promise.all(Array.from(e.items,(async e=>{let i;const s=()=>typeof e.getAsEntry==="function"?e.getAsEntry():e.webkitGetAsEntry();i??=Fo(s(),t);return{fileSystemHandle:i,lastResortFile:e.getAsFile()}})));for(const{lastResortFile:e,fileSystemHandle:s}of i){if(s!=null){try{yield*Eo(s,"",e)}catch(i){if(e!=null){yield e}else{t(i)}}}else if(e!=null)yield e}}async function So(e,t){const i=t?.logDropError??Function.prototype;try{const t=[];for await(const s of wo(e,i)){t.push(s)}return t}catch{return Bo(e)}}const Do={__proto__:null,"audio/mp3":"mp3","audio/mp4":"mp4","audio/ogg":"ogg","audio/webm":"webm","image/gif":"gif","image/heic":"heic","image/heif":"heif","image/jpeg":"jpg","image/webp":"webp","image/png":"png","image/svg+xml":"svg","video/mp4":"mp4","video/ogg":"ogv","video/quicktime":"mov","video/webm":"webm","video/x-matroska":"mkv","video/x-msvideo":"avi"};function Ro(e){[e]=e.split(";",1);return Do[e]||null}function ko(e){while(e&&!e.dir){e=e.parentNode}return e?.dir}function Lo(e){return e<10?`0${e}`:e.toString()}function No(){const e=new Date;const t=Lo(e.getHours());const i=Lo(e.getMinutes());const s=Lo(e.getSeconds());return`${t}:${i}:${s}`}function Co(){if(typeof window==="undefined"){return false}const e=document.body;if(e==null||window==null){return false}if(!("draggable"in e)||!("ondragstart"in e)||!("ondrop"in e)){return false}if(!("FormData"in window)){return false}if(!("FileReader"in window)){return false}return true}function Vo(e){return e.startsWith("blob:")}function Io(e){if(!e)return false;return/^[^/]+\/(jpe?g|gif|png|svg|svg\+xml|bmp|webp|avif)$/.test(e)}function To(e){const t=Math.floor(e/3600)%24;const i=Math.floor(e/60)%60;const s=Math.floor(e%60);return{hours:t,minutes:i,seconds:s}}function zo(e){const t=To(e);const i=t.hours===0?"":`${t.hours}h`;const s=t.minutes===0?"":`${t.hours===0?t.minutes:` ${t.minutes.toString(10).padStart(2,"0")}`}m`;const r=t.hours!==0?"":`${t.minutes===0?t.seconds:` ${t.seconds.toString(10).padStart(2,"0")}`}s`;return`${i}${s}${r}`}function Po(e,t,i){const s=[];e.forEach((e=>{if(typeof e!=="string"){return s.push(e)}return t[Symbol.split](e).forEach(((e,t,r)=>{if(e!==""){s.push(e)}if(t<r.length-1){s.push(i)}}))}));return s}
730
730
  /**
731
731
  * Takes a string with placeholder variables like `%{smart_count} file selected`
732
732
  * and replaces it with values from options `{smart_count: 5}`
@@ -750,7 +750,7 @@ import{r as e,h as t,H as i,c as s,a as r,d as o,f as n}from"./p-CTyMYUsB.js";im
750
750
  * Released under the MIT license
751
751
  *
752
752
  * Date: 2024-04-21T07:43:05.335Z
753
- */var bu=Qu.exports;var yu;function gu(){if(yu)return Qu.exports;yu=1;(function(e,t){(function(t,i){e.exports=i()})(bu,(function(){function e(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,s)}return i}function t(t){for(var i=1;i<arguments.length;i++){var s=null!=arguments[i]?arguments[i]:{};i%2?e(Object(s),true).forEach((function(e){l(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function i(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var s=i.call(e,t);if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e){var t=i(e,"string");return"symbol"==typeof t?t:t+""}function r(e){"@babel/helpers - typeof";return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function n(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,s(r.key),r)}}function a(e,t,i){if(t)n(e.prototype,t);if(i)n(e,i);Object.defineProperty(e,"prototype",{writable:false});return e}function l(e,t,i){t=s(t);if(t in e){Object.defineProperty(e,t,{value:i,enumerable:true,configurable:true,writable:true})}else{e[t]=i}return e}function d(e){return c(e)||p(e)||u(e)||f()}function c(e){if(Array.isArray(e))return h(e)}function p(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function u(e,t){if(!e)return;if(typeof e==="string")return h(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor)i=e.constructor.name;if(i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return h(e,t)}function h(e,t){if(t==null||t>e.length)t=e.length;for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=typeof window!=="undefined"&&typeof window.document!=="undefined";var Q=m?window:{};var b=m&&Q.document.documentElement?"ontouchstart"in Q.document.documentElement:false;var y=m?"PointerEvent"in Q:false;var g="cropper";var x="all";var U="crop";var B="move";var v="zoom";var F="e";var E="w";var w="s";var S="n";var D="ne";var R="nw";var k="se";var L="sw";var N="".concat(g,"-crop");var C="".concat(g,"-disabled");var V="".concat(g,"-hidden");var I="".concat(g,"-hide");var T="".concat(g,"-invisible");var z="".concat(g,"-modal");var P="".concat(g,"-move");var J="".concat(g,"Action");var G="".concat(g,"Preview");var M="crop";var A="move";var H="none";var Z="crop";var W="cropend";var _="cropmove";var O="cropstart";var j="dblclick";var Y=b?"touchstart":"mousedown";var $=b?"touchmove":"mousemove";var K=b?"touchend touchcancel":"mouseup";var X=y?"pointerdown":Y;var q=y?"pointermove":$;var ee=y?"pointerup pointercancel":K;var te="ready";var ie="resize";var se="wheel";var re="zoom";var oe="image/jpeg";var ne=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/;var ae=/^data:/;var le=/^data:image\/jpeg;base64,/;var de=/^img|canvas$/i;var ce=200;var pe=100;var ue={viewMode:0,dragMode:M,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:true,restore:true,checkCrossOrigin:true,checkOrientation:true,modal:true,guides:true,center:true,highlight:true,background:true,autoCrop:true,autoCropArea:.8,movable:true,rotatable:true,scalable:true,zoomable:true,zoomOnTouch:true,zoomOnWheel:true,wheelZoomRatio:.1,cropBoxMovable:true,cropBoxResizable:true,toggleDragModeOnDblclick:true,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:ce,minContainerHeight:pe,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null};var he='<div class="cropper-container" touch-action="none">'+'<div class="cropper-wrap-box">'+'<div class="cropper-canvas"></div>'+"</div>"+'<div class="cropper-drag-box"></div>'+'<div class="cropper-crop-box">'+'<span class="cropper-view-box"></span>'+'<span class="cropper-dashed dashed-h"></span>'+'<span class="cropper-dashed dashed-v"></span>'+'<span class="cropper-center"></span>'+'<span class="cropper-face"></span>'+'<span class="cropper-line line-e" data-cropper-action="e"></span>'+'<span class="cropper-line line-n" data-cropper-action="n"></span>'+'<span class="cropper-line line-w" data-cropper-action="w"></span>'+'<span class="cropper-line line-s" data-cropper-action="s"></span>'+'<span class="cropper-point point-e" data-cropper-action="e"></span>'+'<span class="cropper-point point-n" data-cropper-action="n"></span>'+'<span class="cropper-point point-w" data-cropper-action="w"></span>'+'<span class="cropper-point point-s" data-cropper-action="s"></span>'+'<span class="cropper-point point-ne" data-cropper-action="ne"></span>'+'<span class="cropper-point point-nw" data-cropper-action="nw"></span>'+'<span class="cropper-point point-sw" data-cropper-action="sw"></span>'+'<span class="cropper-point point-se" data-cropper-action="se"></span>'+"</div>"+"</div>";var fe=Number.isNaN||Q.isNaN;function me(e){return typeof e==="number"&&!fe(e)}var Qe=function e(t){return t>0&&t<Infinity};function be(e){return typeof e==="undefined"}function ye(e){return r(e)==="object"&&e!==null}var ge=Object.prototype.hasOwnProperty;function xe(e){if(!ye(e)){return false}try{var t=e.constructor;var i=t.prototype;return t&&i&&ge.call(i,"isPrototypeOf")}catch(e){return false}}function Ue(e){return typeof e==="function"}var Be=Array.prototype.slice;function ve(e){return Array.from?Array.from(e):Be.call(e)}function Fe(e,t){if(e&&Ue(t)){if(Array.isArray(e)||me(e.length)){ve(e).forEach((function(i,s){t.call(e,i,s,e)}))}else if(ye(e)){Object.keys(e).forEach((function(i){t.call(e,e[i],i,e)}))}}return e}var Ee=Object.assign||function e(t){for(var i=arguments.length,s=new Array(i>1?i-1:0),r=1;r<i;r++){s[r-1]=arguments[r]}if(ye(t)&&s.length>0){s.forEach((function(e){if(ye(e)){Object.keys(e).forEach((function(i){t[i]=e[i]}))}}))}return t};var we=/\.\d*(?:0|9){12}\d*$/;function Se(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1e11;return we.test(e)?Math.round(e*t)/t:e}var De=/^width|height|left|top|marginLeft|marginTop$/;function Re(e,t){var i=e.style;Fe(t,(function(e,t){if(De.test(t)&&me(e)){e="".concat(e,"px")}i[t]=e}))}function ke(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Le(e,t){if(!t){return}if(me(e.length)){Fe(e,(function(e){Le(e,t)}));return}if(e.classList){e.classList.add(t);return}var i=e.className.trim();if(!i){e.className=t}else if(i.indexOf(t)<0){e.className="".concat(i," ").concat(t)}}function Ne(e,t){if(!t){return}if(me(e.length)){Fe(e,(function(e){Ne(e,t)}));return}if(e.classList){e.classList.remove(t);return}if(e.className.indexOf(t)>=0){e.className=e.className.replace(t,"")}}function Ce(e,t,i){if(!t){return}if(me(e.length)){Fe(e,(function(e){Ce(e,t,i)}));return}if(i){Le(e,t)}else{Ne(e,t)}}var Ve=/([a-z\d])([A-Z])/g;function Ie(e){return e.replace(Ve,"$1-$2").toLowerCase()}function Te(e,t){if(ye(e[t])){return e[t]}if(e.dataset){return e.dataset[t]}return e.getAttribute("data-".concat(Ie(t)))}function ze(e,t,i){if(ye(i)){e[t]=i}else if(e.dataset){e.dataset[t]=i}else{e.setAttribute("data-".concat(Ie(t)),i)}}function Pe(e,t){if(ye(e[t])){try{delete e[t]}catch(i){e[t]=undefined}}else if(e.dataset){try{delete e.dataset[t]}catch(i){e.dataset[t]=undefined}}else{e.removeAttribute("data-".concat(Ie(t)))}}var Je=/\s\s*/;var Ge=function(){var e=false;if(m){var t=false;var i=function e(){};var s=Object.defineProperty({},"once",{get:function i(){e=true;return t},set:function e(i){t=i}});Q.addEventListener("test",i,s);Q.removeEventListener("test",i,s)}return e}();function Me(e,t,i){var s=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var r=i;t.trim().split(Je).forEach((function(t){if(!Ge){var o=e.listeners;if(o&&o[t]&&o[t][i]){r=o[t][i];delete o[t][i];if(Object.keys(o[t]).length===0){delete o[t]}if(Object.keys(o).length===0){delete e.listeners}}}e.removeEventListener(t,r,s)}))}function Ae(e,t,i){var s=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var r=i;t.trim().split(Je).forEach((function(t){if(s.once&&!Ge){var o=e.listeners,n=o===void 0?{}:o;r=function o(){delete n[t][i];e.removeEventListener(t,r,s);for(var a=arguments.length,l=new Array(a),d=0;d<a;d++){l[d]=arguments[d]}i.apply(e,l)};if(!n[t]){n[t]={}}if(n[t][i]){e.removeEventListener(t,n[t][i],s)}n[t][i]=r;e.listeners=n}e.addEventListener(t,r,s)}))}function He(e,t,i){var s;if(Ue(Event)&&Ue(CustomEvent)){s=new CustomEvent(t,{detail:i,bubbles:true,cancelable:true})}else{s=document.createEvent("CustomEvent");s.initCustomEvent(t,true,true,i)}return e.dispatchEvent(s)}function Ze(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var We=Q.location;var _e=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Oe(e){var t=e.match(_e);return t!==null&&(t[1]!==We.protocol||t[2]!==We.hostname||t[3]!==We.port)}function je(e){var t="timestamp=".concat((new Date).getTime());return e+(e.indexOf("?")===-1?"?":"&")+t}function Ye(e){var t=e.rotate,i=e.scaleX,s=e.scaleY,r=e.translateX,o=e.translateY;var n=[];if(me(r)&&r!==0){n.push("translateX(".concat(r,"px)"))}if(me(o)&&o!==0){n.push("translateY(".concat(o,"px)"))}if(me(t)&&t!==0){n.push("rotate(".concat(t,"deg)"))}if(me(i)&&i!==1){n.push("scaleX(".concat(i,")"))}if(me(s)&&s!==1){n.push("scaleY(".concat(s,")"))}var a=n.length?n.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function $e(e){var i=t({},e);var s=0;Fe(e,(function(e,t){delete i[t];Fe(i,(function(t){var i=Math.abs(e.startX-t.startX);var r=Math.abs(e.startY-t.startY);var o=Math.abs(e.endX-t.endX);var n=Math.abs(e.endY-t.endY);var a=Math.sqrt(i*i+r*r);var l=Math.sqrt(o*o+n*n);var d=(l-a)/a;if(Math.abs(d)>Math.abs(s)){s=d}}))}));return s}function Ke(e,i){var s=e.pageX,r=e.pageY;var o={endX:s,endY:r};return i?o:t({startX:s,startY:r},o)}function Xe(e){var t=0;var i=0;var s=0;Fe(e,(function(e){var r=e.startX,o=e.startY;t+=r;i+=o;s+=1}));t/=s;i/=s;return{pageX:t,pageY:i}}function qe(e){var t=e.aspectRatio,i=e.height,s=e.width;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"contain";var o=Qe(s);var n=Qe(i);if(o&&n){var a=i*t;if(r==="contain"&&a>s||r==="cover"&&a<s){i=s/t}else{s=i*t}}else if(o){i=s/t}else if(n){s=i*t}return{width:s,height:i}}function et(e){var t=e.width,i=e.height,s=e.degree;s=Math.abs(s)%180;if(s===90){return{width:i,height:t}}var r=s%90*Math.PI/180;var o=Math.sin(r);var n=Math.cos(r);var a=t*n+i*o;var l=t*o+i*n;return s>90?{width:l,height:a}:{width:a,height:l}}function tt(e,t,i,s){var r=t.aspectRatio,o=t.naturalWidth,n=t.naturalHeight,a=t.rotate,l=a===void 0?0:a,c=t.scaleX,p=c===void 0?1:c,u=t.scaleY,h=u===void 0?1:u;var f=i.aspectRatio,m=i.naturalWidth,Q=i.naturalHeight;var b=s.fillColor,y=b===void 0?"transparent":b,g=s.imageSmoothingEnabled,x=g===void 0?true:g,U=s.imageSmoothingQuality,B=U===void 0?"low":U,v=s.maxWidth,F=v===void 0?Infinity:v,E=s.maxHeight,w=E===void 0?Infinity:E,S=s.minWidth,D=S===void 0?0:S,R=s.minHeight,k=R===void 0?0:R;var L=document.createElement("canvas");var N=L.getContext("2d");var C=qe({aspectRatio:f,width:F,height:w});var V=qe({aspectRatio:f,width:D,height:k},"cover");var I=Math.min(C.width,Math.max(V.width,m));var T=Math.min(C.height,Math.max(V.height,Q));var z=qe({aspectRatio:r,width:F,height:w});var P=qe({aspectRatio:r,width:D,height:k},"cover");var J=Math.min(z.width,Math.max(P.width,o));var G=Math.min(z.height,Math.max(P.height,n));var M=[-J/2,-G/2,J,G];L.width=Se(I);L.height=Se(T);N.fillStyle=y;N.fillRect(0,0,I,T);N.save();N.translate(I/2,T/2);N.rotate(l*Math.PI/180);N.scale(p,h);N.imageSmoothingEnabled=x;N.imageSmoothingQuality=B;N.drawImage.apply(N,[e].concat(d(M.map((function(e){return Math.floor(Se(e))})))));N.restore();return L}var it=String.fromCharCode;function st(e,t,i){var s="";i+=t;for(var r=t;r<i;r+=1){s+=it(e.getUint8(r))}return s}var rt=/^data:.*,/;function ot(e){var t=e.replace(rt,"");var i=atob(t);var s=new ArrayBuffer(i.length);var r=new Uint8Array(s);Fe(r,(function(e,t){r[t]=i.charCodeAt(t)}));return s}function nt(e,t){var i=[];var s=8192;var r=new Uint8Array(e);while(r.length>0){i.push(it.apply(null,ve(r.subarray(0,s))));r=r.subarray(s)}return"data:".concat(t,";base64,").concat(btoa(i.join("")))}function at(e){var t=new DataView(e);var i;try{var s;var r;var o;if(t.getUint8(0)===255&&t.getUint8(1)===216){var n=t.byteLength;var a=2;while(a+1<n){if(t.getUint8(a)===255&&t.getUint8(a+1)===225){r=a;break}a+=1}}if(r){var l=r+4;var d=r+10;if(st(t,l,4)==="Exif"){var c=t.getUint16(d);s=c===18761;if(s||c===19789){if(t.getUint16(d+2,s)===42){var p=t.getUint32(d+4,s);if(p>=8){o=d+p}}}}}if(o){var u=t.getUint16(o,s);var h;var f;for(f=0;f<u;f+=1){h=o+f*12+2;if(t.getUint16(h,s)===274){h+=8;i=t.getUint16(h,s);t.setUint16(h,1,s);break}}}}catch(e){i=1}return i}function lt(e){var t=0;var i=1;var s=1;switch(e){case 2:i=-1;break;case 3:t=-180;break;case 4:s=-1;break;case 5:t=90;s=-1;break;case 6:t=90;break;case 7:t=90;i=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:i,scaleY:s}}var dt={render:function e(){this.initContainer();this.initCanvas();this.initCropBox();this.renderCanvas();if(this.cropped){this.renderCropBox()}},initContainer:function e(){var t=this.element,i=this.options,s=this.container,r=this.cropper;var o=Number(i.minContainerWidth);var n=Number(i.minContainerHeight);Le(r,V);Ne(t,V);var a={width:Math.max(s.offsetWidth,o>=0?o:ce),height:Math.max(s.offsetHeight,n>=0?n:pe)};this.containerData=a;Re(r,{width:a.width,height:a.height});Le(t,V);Ne(r,V)},initCanvas:function e(){var t=this.containerData,i=this.imageData;var s=this.options.viewMode;var r=Math.abs(i.rotate)%180===90;var o=r?i.naturalHeight:i.naturalWidth;var n=r?i.naturalWidth:i.naturalHeight;var a=o/n;var l=t.width;var d=t.height;if(t.height*a>t.width){if(s===3){l=t.height*a}else{d=t.width/a}}else if(s===3){d=t.width/a}else{l=t.height*a}var c={aspectRatio:a,naturalWidth:o,naturalHeight:n,width:l,height:d};this.canvasData=c;this.limited=s===1||s===2;this.limitCanvas(true,true);c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth);c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight);c.left=(t.width-c.width)/2;c.top=(t.height-c.height)/2;c.oldLeft=c.left;c.oldTop=c.top;this.initialCanvasData=Ee({},c)},limitCanvas:function e(t,i){var s=this.options,r=this.containerData,o=this.canvasData,n=this.cropBoxData;var a=s.viewMode;var l=o.aspectRatio;var d=this.cropped&&n;if(t){var c=Number(s.minCanvasWidth)||0;var p=Number(s.minCanvasHeight)||0;if(a>1){c=Math.max(c,r.width);p=Math.max(p,r.height);if(a===3){if(p*l>c){c=p*l}else{p=c/l}}}else if(a>0){if(c){c=Math.max(c,d?n.width:0)}else if(p){p=Math.max(p,d?n.height:0)}else if(d){c=n.width;p=n.height;if(p*l>c){c=p*l}else{p=c/l}}}var u=qe({aspectRatio:l,width:c,height:p});c=u.width;p=u.height;o.minWidth=c;o.minHeight=p;o.maxWidth=Infinity;o.maxHeight=Infinity}if(i){if(a>(d?0:1)){var h=r.width-o.width;var f=r.height-o.height;o.minLeft=Math.min(0,h);o.minTop=Math.min(0,f);o.maxLeft=Math.max(0,h);o.maxTop=Math.max(0,f);if(d&&this.limited){o.minLeft=Math.min(n.left,n.left+(n.width-o.width));o.minTop=Math.min(n.top,n.top+(n.height-o.height));o.maxLeft=n.left;o.maxTop=n.top;if(a===2){if(o.width>=r.width){o.minLeft=Math.min(0,h);o.maxLeft=Math.max(0,h)}if(o.height>=r.height){o.minTop=Math.min(0,f);o.maxTop=Math.max(0,f)}}}}else{o.minLeft=-o.width;o.minTop=-o.height;o.maxLeft=r.width;o.maxTop=r.height}}},renderCanvas:function e(t,i){var s=this.canvasData,r=this.imageData;if(i){var o=et({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),n=o.width,a=o.height;var l=s.width*(n/s.naturalWidth);var d=s.height*(a/s.naturalHeight);s.left-=(l-s.width)/2;s.top-=(d-s.height)/2;s.width=l;s.height=d;s.aspectRatio=n/a;s.naturalWidth=n;s.naturalHeight=a;this.limitCanvas(true,false)}if(s.width>s.maxWidth||s.width<s.minWidth){s.left=s.oldLeft}if(s.height>s.maxHeight||s.height<s.minHeight){s.top=s.oldTop}s.width=Math.min(Math.max(s.width,s.minWidth),s.maxWidth);s.height=Math.min(Math.max(s.height,s.minHeight),s.maxHeight);this.limitCanvas(false,true);s.left=Math.min(Math.max(s.left,s.minLeft),s.maxLeft);s.top=Math.min(Math.max(s.top,s.minTop),s.maxTop);s.oldLeft=s.left;s.oldTop=s.top;Re(this.canvas,Ee({width:s.width,height:s.height},Ye({translateX:s.left,translateY:s.top})));this.renderImage(t);if(this.cropped&&this.limited){this.limitCropBox(true,true)}},renderImage:function e(t){var i=this.canvasData,s=this.imageData;var r=s.naturalWidth*(i.width/i.naturalWidth);var o=s.naturalHeight*(i.height/i.naturalHeight);Ee(s,{width:r,height:o,left:(i.width-r)/2,top:(i.height-o)/2});Re(this.image,Ee({width:s.width,height:s.height},Ye(Ee({translateX:s.left,translateY:s.top},s))));if(t){this.output()}},initCropBox:function e(){var t=this.options,i=this.canvasData;var s=t.aspectRatio||t.initialAspectRatio;var r=Number(t.autoCropArea)||.8;var o={width:i.width,height:i.height};if(s){if(i.height*s>i.width){o.height=o.width/s}else{o.width=o.height*s}}this.cropBoxData=o;this.limitCropBox(true,true);o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth);o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight);o.width=Math.max(o.minWidth,o.width*r);o.height=Math.max(o.minHeight,o.height*r);o.left=i.left+(i.width-o.width)/2;o.top=i.top+(i.height-o.height)/2;o.oldLeft=o.left;o.oldTop=o.top;this.initialCropBoxData=Ee({},o)},limitCropBox:function e(t,i){var s=this.options,r=this.containerData,o=this.canvasData,n=this.cropBoxData,a=this.limited;var l=s.aspectRatio;if(t){var d=Number(s.minCropBoxWidth)||0;var c=Number(s.minCropBoxHeight)||0;var p=a?Math.min(r.width,o.width,o.width+o.left,r.width-o.left):r.width;var u=a?Math.min(r.height,o.height,o.height+o.top,r.height-o.top):r.height;d=Math.min(d,r.width);c=Math.min(c,r.height);if(l){if(d&&c){if(c*l>d){c=d/l}else{d=c*l}}else if(d){c=d/l}else if(c){d=c*l}if(u*l>p){u=p/l}else{p=u*l}}n.minWidth=Math.min(d,p);n.minHeight=Math.min(c,u);n.maxWidth=p;n.maxHeight=u}if(i){if(a){n.minLeft=Math.max(0,o.left);n.minTop=Math.max(0,o.top);n.maxLeft=Math.min(r.width,o.left+o.width)-n.width;n.maxTop=Math.min(r.height,o.top+o.height)-n.height}else{n.minLeft=0;n.minTop=0;n.maxLeft=r.width-n.width;n.maxTop=r.height-n.height}}},renderCropBox:function e(){var t=this.options,i=this.containerData,s=this.cropBoxData;if(s.width>s.maxWidth||s.width<s.minWidth){s.left=s.oldLeft}if(s.height>s.maxHeight||s.height<s.minHeight){s.top=s.oldTop}s.width=Math.min(Math.max(s.width,s.minWidth),s.maxWidth);s.height=Math.min(Math.max(s.height,s.minHeight),s.maxHeight);this.limitCropBox(false,true);s.left=Math.min(Math.max(s.left,s.minLeft),s.maxLeft);s.top=Math.min(Math.max(s.top,s.minTop),s.maxTop);s.oldLeft=s.left;s.oldTop=s.top;if(t.movable&&t.cropBoxMovable){ze(this.face,J,s.width>=i.width&&s.height>=i.height?B:x)}Re(this.cropBox,Ee({width:s.width,height:s.height},Ye({translateX:s.left,translateY:s.top})));if(this.cropped&&this.limited){this.limitCanvas(true,true)}if(!this.disabled){this.output()}},output:function e(){this.preview();He(this.element,Z,this.getData())}};var ct={initPreview:function e(){var t=this.element,i=this.crossOrigin;var s=this.options.preview;var r=i?this.crossOriginUrl:this.url;var o=t.alt||"The image to preview";var n=document.createElement("img");if(i){n.crossOrigin=i}n.src=r;n.alt=o;this.viewBox.appendChild(n);this.viewBoxImage=n;if(!s){return}var a=s;if(typeof s==="string"){a=t.ownerDocument.querySelectorAll(s)}else if(s.querySelector){a=[s]}this.previews=a;Fe(a,(function(e){var t=document.createElement("img");ze(e,G,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML});if(i){t.crossOrigin=i}t.src=r;t.alt=o;t.style.cssText="display:block;"+"width:100%;"+"height:auto;"+"min-width:0!important;"+"min-height:0!important;"+"max-width:none!important;"+"max-height:none!important;"+'image-orientation:0deg!important;"';e.innerHTML="";e.appendChild(t)}))},resetPreview:function e(){Fe(this.previews,(function(e){var t=Te(e,G);Re(e,{width:t.width,height:t.height});e.innerHTML=t.html;Pe(e,G)}))},preview:function e(){var t=this.imageData,i=this.canvasData,s=this.cropBoxData;var r=s.width,o=s.height;var n=t.width,a=t.height;var l=s.left-i.left-t.left;var d=s.top-i.top-t.top;if(!this.cropped||this.disabled){return}Re(this.viewBoxImage,Ee({width:n,height:a},Ye(Ee({translateX:-l,translateY:-d},t))));Fe(this.previews,(function(e){var i=Te(e,G);var s=i.width;var c=i.height;var p=s;var u=c;var h=1;if(r){h=s/r;u=o*h}if(o&&u>c){h=c/o;p=r*h;u=c}Re(e,{width:p,height:u});Re(e.getElementsByTagName("img")[0],Ee({width:n*h,height:a*h},Ye(Ee({translateX:-l*h,translateY:-d*h},t))))}))}};var pt={bind:function e(){var t=this.element,i=this.options,s=this.cropper;if(Ue(i.cropstart)){Ae(t,O,i.cropstart)}if(Ue(i.cropmove)){Ae(t,_,i.cropmove)}if(Ue(i.cropend)){Ae(t,W,i.cropend)}if(Ue(i.crop)){Ae(t,Z,i.crop)}if(Ue(i.zoom)){Ae(t,re,i.zoom)}Ae(s,X,this.onCropStart=this.cropStart.bind(this));if(i.zoomable&&i.zoomOnWheel){Ae(s,se,this.onWheel=this.wheel.bind(this),{passive:false,capture:true})}if(i.toggleDragModeOnDblclick){Ae(s,j,this.onDblclick=this.dblclick.bind(this))}Ae(t.ownerDocument,q,this.onCropMove=this.cropMove.bind(this));Ae(t.ownerDocument,ee,this.onCropEnd=this.cropEnd.bind(this));if(i.responsive){Ae(window,ie,this.onResize=this.resize.bind(this))}},unbind:function e(){var t=this.element,i=this.options,s=this.cropper;if(Ue(i.cropstart)){Me(t,O,i.cropstart)}if(Ue(i.cropmove)){Me(t,_,i.cropmove)}if(Ue(i.cropend)){Me(t,W,i.cropend)}if(Ue(i.crop)){Me(t,Z,i.crop)}if(Ue(i.zoom)){Me(t,re,i.zoom)}Me(s,X,this.onCropStart);if(i.zoomable&&i.zoomOnWheel){Me(s,se,this.onWheel,{passive:false,capture:true})}if(i.toggleDragModeOnDblclick){Me(s,j,this.onDblclick)}Me(t.ownerDocument,q,this.onCropMove);Me(t.ownerDocument,ee,this.onCropEnd);if(i.responsive){Me(window,ie,this.onResize)}}};var ut={resize:function e(){if(this.disabled){return}var t=this.options,i=this.container,s=this.containerData;var r=i.offsetWidth/s.width;var o=i.offsetHeight/s.height;var n=Math.abs(r-1)>Math.abs(o-1)?r:o;if(n!==1){var a;var l;if(t.restore){a=this.getCanvasData();l=this.getCropBoxData()}this.render();if(t.restore){this.setCanvasData(Fe(a,(function(e,t){a[t]=e*n})));this.setCropBoxData(Fe(l,(function(e,t){l[t]=e*n})))}}},dblclick:function e(){if(this.disabled||this.options.dragMode===H){return}this.setDragMode(ke(this.dragBox,N)?A:M)},wheel:function e(t){var i=this;var s=Number(this.options.wheelZoomRatio)||.1;var r=1;if(this.disabled){return}t.preventDefault();if(this.wheeling){return}this.wheeling=true;setTimeout((function(){i.wheeling=false}),50);if(t.deltaY){r=t.deltaY>0?1:-1}else if(t.wheelDelta){r=-t.wheelDelta/120}else if(t.detail){r=t.detail>0?1:-1}this.zoom(-r*s,t)},cropStart:function e(t){var i=t.buttons,s=t.button;if(this.disabled||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(me(i)&&i!==1||me(s)&&s!==0||t.ctrlKey)){return}var r=this.options,o=this.pointers;var n;if(t.changedTouches){Fe(t.changedTouches,(function(e){o[e.identifier]=Ke(e)}))}else{o[t.pointerId||0]=Ke(t)}if(Object.keys(o).length>1&&r.zoomable&&r.zoomOnTouch){n=v}else{n=Te(t.target,J)}if(!ne.test(n)){return}if(He(this.element,O,{originalEvent:t,action:n})===false){return}t.preventDefault();this.action=n;this.cropping=false;if(n===U){this.cropping=true;Le(this.dragBox,z)}},cropMove:function e(t){var i=this.action;if(this.disabled||!i){return}var s=this.pointers;t.preventDefault();if(He(this.element,_,{originalEvent:t,action:i})===false){return}if(t.changedTouches){Fe(t.changedTouches,(function(e){Ee(s[e.identifier]||{},Ke(e,true))}))}else{Ee(s[t.pointerId||0]||{},Ke(t,true))}this.change(t)},cropEnd:function e(t){if(this.disabled){return}var i=this.action,s=this.pointers;if(t.changedTouches){Fe(t.changedTouches,(function(e){delete s[e.identifier]}))}else{delete s[t.pointerId||0]}if(!i){return}t.preventDefault();if(!Object.keys(s).length){this.action=""}if(this.cropping){this.cropping=false;Ce(this.dragBox,z,this.cropped&&this.options.modal)}He(this.element,W,{originalEvent:t,action:i})}};var ht={change:function e(t){var i=this.options,s=this.canvasData,r=this.containerData,o=this.cropBoxData,n=this.pointers;var a=this.action;var l=i.aspectRatio;var d=o.left,c=o.top,p=o.width,u=o.height;var h=d+p;var f=c+u;var m=0;var Q=0;var b=r.width;var y=r.height;var g=true;var N;if(!l&&t.shiftKey){l=p&&u?p/u:1}if(this.limited){m=o.minLeft;Q=o.minTop;b=m+Math.min(r.width,s.width,s.left+s.width);y=Q+Math.min(r.height,s.height,s.top+s.height)}var C=n[Object.keys(n)[0]];var I={x:C.endX-C.startX,y:C.endY-C.startY};var T=function e(t){switch(t){case F:if(h+I.x>b){I.x=b-h}break;case E:if(d+I.x<m){I.x=m-d}break;case S:if(c+I.y<Q){I.y=Q-c}break;case w:if(f+I.y>y){I.y=y-f}break}};switch(a){case x:d+=I.x;c+=I.y;break;case F:if(I.x>=0&&(h>=b||l&&(c<=Q||f>=y))){g=false;break}T(F);p+=I.x;if(p<0){a=E;p=-p;d-=p}if(l){u=p/l;c+=(o.height-u)/2}break;case S:if(I.y<=0&&(c<=Q||l&&(d<=m||h>=b))){g=false;break}T(S);u-=I.y;c+=I.y;if(u<0){a=w;u=-u;c-=u}if(l){p=u*l;d+=(o.width-p)/2}break;case E:if(I.x<=0&&(d<=m||l&&(c<=Q||f>=y))){g=false;break}T(E);p-=I.x;d+=I.x;if(p<0){a=F;p=-p;d-=p}if(l){u=p/l;c+=(o.height-u)/2}break;case w:if(I.y>=0&&(f>=y||l&&(d<=m||h>=b))){g=false;break}T(w);u+=I.y;if(u<0){a=S;u=-u;c-=u}if(l){p=u*l;d+=(o.width-p)/2}break;case D:if(l){if(I.y<=0&&(c<=Q||h>=b)){g=false;break}T(S);u-=I.y;c+=I.y;p=u*l}else{T(S);T(F);if(I.x>=0){if(h<b){p+=I.x}else if(I.y<=0&&c<=Q){g=false}}else{p+=I.x}if(I.y<=0){if(c>Q){u-=I.y;c+=I.y}}else{u-=I.y;c+=I.y}}if(p<0&&u<0){a=L;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=R;p=-p;d-=p}else if(u<0){a=k;u=-u;c-=u}break;case R:if(l){if(I.y<=0&&(c<=Q||d<=m)){g=false;break}T(S);u-=I.y;c+=I.y;p=u*l;d+=o.width-p}else{T(S);T(E);if(I.x<=0){if(d>m){p-=I.x;d+=I.x}else if(I.y<=0&&c<=Q){g=false}}else{p-=I.x;d+=I.x}if(I.y<=0){if(c>Q){u-=I.y;c+=I.y}}else{u-=I.y;c+=I.y}}if(p<0&&u<0){a=k;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=D;p=-p;d-=p}else if(u<0){a=L;u=-u;c-=u}break;case L:if(l){if(I.x<=0&&(d<=m||f>=y)){g=false;break}T(E);p-=I.x;d+=I.x;u=p/l}else{T(w);T(E);if(I.x<=0){if(d>m){p-=I.x;d+=I.x}else if(I.y>=0&&f>=y){g=false}}else{p-=I.x;d+=I.x}if(I.y>=0){if(f<y){u+=I.y}}else{u+=I.y}}if(p<0&&u<0){a=D;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=k;p=-p;d-=p}else if(u<0){a=R;u=-u;c-=u}break;case k:if(l){if(I.x>=0&&(h>=b||f>=y)){g=false;break}T(F);p+=I.x;u=p/l}else{T(w);T(F);if(I.x>=0){if(h<b){p+=I.x}else if(I.y>=0&&f>=y){g=false}}else{p+=I.x}if(I.y>=0){if(f<y){u+=I.y}}else{u+=I.y}}if(p<0&&u<0){a=R;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=L;p=-p;d-=p}else if(u<0){a=D;u=-u;c-=u}break;case B:this.move(I.x,I.y);g=false;break;case v:this.zoom($e(n),t);g=false;break;case U:if(!I.x||!I.y){g=false;break}N=Ze(this.cropper);d=C.startX-N.left;c=C.startY-N.top;p=o.minWidth;u=o.minHeight;if(I.x>0){a=I.y>0?k:D}else if(I.x<0){d-=p;a=I.y>0?L:R}if(I.y<0){c-=u}if(!this.cropped){Ne(this.cropBox,V);this.cropped=true;if(this.limited){this.limitCropBox(true,true)}}break}if(g){o.width=p;o.height=u;o.left=d;o.top=c;this.action=a;this.renderCropBox()}Fe(n,(function(e){e.startX=e.endX;e.startY=e.endY}))}};var ft={crop:function e(){if(this.ready&&!this.cropped&&!this.disabled){this.cropped=true;this.limitCropBox(true,true);if(this.options.modal){Le(this.dragBox,z)}Ne(this.cropBox,V);this.setCropBoxData(this.initialCropBoxData)}return this},reset:function e(){if(this.ready&&!this.disabled){this.imageData=Ee({},this.initialImageData);this.canvasData=Ee({},this.initialCanvasData);this.cropBoxData=Ee({},this.initialCropBoxData);this.renderCanvas();if(this.cropped){this.renderCropBox()}}return this},clear:function e(){if(this.cropped&&!this.disabled){Ee(this.cropBoxData,{left:0,top:0,width:0,height:0});this.cropped=false;this.renderCropBox();this.limitCanvas(true,true);this.renderCanvas();Ne(this.dragBox,z);Le(this.cropBox,V)}return this},replace:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(!this.disabled&&t){if(this.isImg){this.element.src=t}if(i){this.url=t;this.image.src=t;if(this.ready){this.viewBoxImage.src=t;Fe(this.previews,(function(e){e.getElementsByTagName("img")[0].src=t}))}}else{if(this.isImg){this.replaced=true}this.options.data=null;this.uncreate();this.load(t)}}return this},enable:function e(){if(this.ready&&this.disabled){this.disabled=false;Ne(this.cropper,C)}return this},disable:function e(){if(this.ready&&!this.disabled){this.disabled=true;Le(this.cropper,C)}return this},destroy:function e(){var t=this.element;if(!t[g]){return this}t[g]=undefined;if(this.isImg&&this.replaced){t.src=this.originalUrl}this.uncreate();return this},move:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t;var s=this.canvasData,r=s.left,o=s.top;return this.moveTo(be(t)?t:r+Number(t),be(i)?i:o+Number(i))},moveTo:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t;var s=this.canvasData;var r=false;t=Number(t);i=Number(i);if(this.ready&&!this.disabled&&this.options.movable){if(me(t)){s.left=t;r=true}if(me(i)){s.top=i;r=true}if(r){this.renderCanvas(true)}}return this},zoom:function e(t,i){var s=this.canvasData;t=Number(t);if(t<0){t=1/(1-t)}else{t=1+t}return this.zoomTo(s.width*t/s.naturalWidth,null,i)},zoomTo:function e(t,i,s){var r=this.options,o=this.canvasData;var n=o.width,a=o.height,l=o.naturalWidth,d=o.naturalHeight;t=Number(t);if(t>=0&&this.ready&&!this.disabled&&r.zoomable){var c=l*t;var p=d*t;if(He(this.element,re,{ratio:t,oldRatio:n/l,originalEvent:s})===false){return this}if(s){var u=this.pointers;var h=Ze(this.cropper);var f=u&&Object.keys(u).length?Xe(u):{pageX:s.pageX,pageY:s.pageY};o.left-=(c-n)*((f.pageX-h.left-o.left)/n);o.top-=(p-a)*((f.pageY-h.top-o.top)/a)}else if(xe(i)&&me(i.x)&&me(i.y)){o.left-=(c-n)*((i.x-o.left)/n);o.top-=(p-a)*((i.y-o.top)/a)}else{o.left-=(c-n)/2;o.top-=(p-a)/2}o.width=c;o.height=p;this.renderCanvas(true)}return this},rotate:function e(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function e(t){t=Number(t);if(me(t)&&this.ready&&!this.disabled&&this.options.rotatable){this.imageData.rotate=t%360;this.renderCanvas(true,true)}return this},scaleX:function e(t){var i=this.imageData.scaleY;return this.scale(t,me(i)?i:1)},scaleY:function e(t){var i=this.imageData.scaleX;return this.scale(me(i)?i:1,t)},scale:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t;var s=this.imageData;var r=false;t=Number(t);i=Number(i);if(this.ready&&!this.disabled&&this.options.scalable){if(me(t)){s.scaleX=t;r=true}if(me(i)){s.scaleY=i;r=true}if(r){this.renderCanvas(true,true)}}return this},getData:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;var i=this.options,s=this.imageData,r=this.canvasData,o=this.cropBoxData;var n;if(this.ready&&this.cropped){n={x:o.left-r.left,y:o.top-r.top,width:o.width,height:o.height};var a=s.width/s.naturalWidth;Fe(n,(function(e,t){n[t]=e/a}));if(t){var l=Math.round(n.y+n.height);var d=Math.round(n.x+n.width);n.x=Math.round(n.x);n.y=Math.round(n.y);n.width=d-n.x;n.height=l-n.y}}else{n={x:0,y:0,width:0,height:0}}if(i.rotatable){n.rotate=s.rotate||0}if(i.scalable){n.scaleX=s.scaleX||1;n.scaleY=s.scaleY||1}return n},setData:function e(t){var i=this.options,s=this.imageData,r=this.canvasData;var o={};if(this.ready&&!this.disabled&&xe(t)){var n=false;if(i.rotatable){if(me(t.rotate)&&t.rotate!==s.rotate){s.rotate=t.rotate;n=true}}if(i.scalable){if(me(t.scaleX)&&t.scaleX!==s.scaleX){s.scaleX=t.scaleX;n=true}if(me(t.scaleY)&&t.scaleY!==s.scaleY){s.scaleY=t.scaleY;n=true}}if(n){this.renderCanvas(true,true)}var a=s.width/s.naturalWidth;if(me(t.x)){o.left=t.x*a+r.left}if(me(t.y)){o.top=t.y*a+r.top}if(me(t.width)){o.width=t.width*a}if(me(t.height)){o.height=t.height*a}this.setCropBoxData(o)}return this},getContainerData:function e(){return this.ready?Ee({},this.containerData):{}},getImageData:function e(){return this.sized?Ee({},this.imageData):{}},getCanvasData:function e(){var t=this.canvasData;var i={};if(this.ready){Fe(["left","top","width","height","naturalWidth","naturalHeight"],(function(e){i[e]=t[e]}))}return i},setCanvasData:function e(t){var i=this.canvasData;var s=i.aspectRatio;if(this.ready&&!this.disabled&&xe(t)){if(me(t.left)){i.left=t.left}if(me(t.top)){i.top=t.top}if(me(t.width)){i.width=t.width;i.height=t.width/s}else if(me(t.height)){i.height=t.height;i.width=t.height*s}this.renderCanvas(true)}return this},getCropBoxData:function e(){var t=this.cropBoxData;var i;if(this.ready&&this.cropped){i={left:t.left,top:t.top,width:t.width,height:t.height}}return i||{}},setCropBoxData:function e(t){var i=this.cropBoxData;var s=this.options.aspectRatio;var r;var o;if(this.ready&&this.cropped&&!this.disabled&&xe(t)){if(me(t.left)){i.left=t.left}if(me(t.top)){i.top=t.top}if(me(t.width)&&t.width!==i.width){r=true;i.width=t.width}if(me(t.height)&&t.height!==i.height){o=true;i.height=t.height}if(s){if(r){i.height=i.width/s}else if(o){i.width=i.height*s}}this.renderCropBox()}return this},getCroppedCanvas:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement){return null}var i=this.canvasData;var s=tt(this.image,this.imageData,i,t);if(!this.cropped){return s}var r=this.getData(t.rounded),o=r.x,n=r.y,a=r.width,l=r.height;var c=s.width/Math.floor(i.naturalWidth);if(c!==1){o*=c;n*=c;a*=c;l*=c}var p=a/l;var u=qe({aspectRatio:p,width:t.maxWidth||Infinity,height:t.maxHeight||Infinity});var h=qe({aspectRatio:p,width:t.minWidth||0,height:t.minHeight||0},"cover");var f=qe({aspectRatio:p,width:t.width||(c!==1?s.width:a),height:t.height||(c!==1?s.height:l)}),m=f.width,Q=f.height;m=Math.min(u.width,Math.max(h.width,m));Q=Math.min(u.height,Math.max(h.height,Q));var b=document.createElement("canvas");var y=b.getContext("2d");b.width=Se(m);b.height=Se(Q);y.fillStyle=t.fillColor||"transparent";y.fillRect(0,0,m,Q);var g=t.imageSmoothingEnabled,x=g===void 0?true:g,U=t.imageSmoothingQuality;y.imageSmoothingEnabled=x;if(U){y.imageSmoothingQuality=U}var B=s.width;var v=s.height;var F=o;var E=n;var w;var S;var D;var R;var k;var L;if(F<=-a||F>B){F=0;w=0;D=0;k=0}else if(F<=0){D=-F;F=0;w=Math.min(B,a+F);k=w}else if(F<=B){D=0;w=Math.min(a,B-F);k=w}if(w<=0||E<=-l||E>v){E=0;S=0;R=0;L=0}else if(E<=0){R=-E;E=0;S=Math.min(v,l+E);L=S}else if(E<=v){R=0;S=Math.min(l,v-E);L=S}var N=[F,E,w,S];if(k>0&&L>0){var C=m/a;N.push(D*C,R*C,k*C,L*C)}y.drawImage.apply(y,[s].concat(d(N.map((function(e){return Math.floor(Se(e))})))));return b},setAspectRatio:function e(t){var i=this.options;if(!this.disabled&&!be(t)){i.aspectRatio=Math.max(0,t)||NaN;if(this.ready){this.initCropBox();if(this.cropped){this.renderCropBox()}}}return this},setDragMode:function e(t){var i=this.options,s=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var o=t===M;var n=i.movable&&t===A;t=o||n?t:H;i.dragMode=t;ze(s,J,t);Ce(s,N,o);Ce(s,P,n);if(!i.cropBoxMovable){ze(r,J,t);Ce(r,N,o);Ce(r,P,n)}}return this}};var mt=Q.Cropper;var Qt=function(){function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};o(this,e);if(!t||!de.test(t.tagName)){throw new Error("The first argument is required and must be an <img> or <canvas> element.")}this.element=t;this.options=Ee({},ue,xe(i)&&i);this.cropped=false;this.disabled=false;this.pointers={};this.ready=false;this.reloading=false;this.replaced=false;this.sized=false;this.sizing=false;this.init()}return a(e,[{key:"init",value:function e(){var t=this.element;var i=t.tagName.toLowerCase();var s;if(t[g]){return}t[g]=this;if(i==="img"){this.isImg=true;s=t.getAttribute("src")||"";this.originalUrl=s;if(!s){return}s=t.src}else if(i==="canvas"&&window.HTMLCanvasElement){s=t.toDataURL()}this.load(s)}},{key:"load",value:function e(t){var i=this;if(!t){return}this.url=t;this.imageData={};var s=this.element,r=this.options;if(!r.rotatable&&!r.scalable){r.checkOrientation=false}if(!r.checkOrientation||!window.ArrayBuffer){this.clone();return}if(ae.test(t)){if(le.test(t)){this.read(ot(t))}else{this.clone()}return}var o=new XMLHttpRequest;var n=this.clone.bind(this);this.reloading=true;this.xhr=o;o.onabort=n;o.onerror=n;o.ontimeout=n;o.onprogress=function(){if(o.getResponseHeader("content-type")!==oe){o.abort()}};o.onload=function(){i.read(o.response)};o.onloadend=function(){i.reloading=false;i.xhr=null};if(r.checkCrossOrigin&&Oe(t)&&s.crossOrigin){t=je(t)}o.open("GET",t,true);o.responseType="arraybuffer";o.withCredentials=s.crossOrigin==="use-credentials";o.send()}},{key:"read",value:function e(t){var i=this.options,s=this.imageData;var r=at(t);var o=0;var n=1;var a=1;if(r>1){this.url=nt(t,oe);var l=lt(r);o=l.rotate;n=l.scaleX;a=l.scaleY}if(i.rotatable){s.rotate=o}if(i.scalable){s.scaleX=n;s.scaleY=a}this.clone()}},{key:"clone",value:function e(){var t=this.element,i=this.url;var s=t.crossOrigin;var r=i;if(this.options.checkCrossOrigin&&Oe(i)){if(!s){s="anonymous"}r=je(i)}this.crossOrigin=s;this.crossOriginUrl=r;var o=document.createElement("img");if(s){o.crossOrigin=s}o.src=r||i;o.alt=t.alt||"The image to crop";this.image=o;o.onload=this.start.bind(this);o.onerror=this.stop.bind(this);Le(o,I);t.parentNode.insertBefore(o,t.nextSibling)}},{key:"start",value:function e(){var t=this;var i=this.image;i.onload=null;i.onerror=null;this.sizing=true;var s=Q.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Q.navigator.userAgent);var r=function e(i,s){Ee(t.imageData,{naturalWidth:i,naturalHeight:s,aspectRatio:i/s});t.initialImageData=Ee({},t.imageData);t.sizing=false;t.sized=true;t.build()};if(i.naturalWidth&&!s){r(i.naturalWidth,i.naturalHeight);return}var o=document.createElement("img");var n=document.body||document.documentElement;this.sizingImage=o;o.onload=function(){r(o.width,o.height);if(!s){n.removeChild(o)}};o.src=i.src;if(!s){o.style.cssText="left:0;"+"max-height:none!important;"+"max-width:none!important;"+"min-height:0!important;"+"min-width:0!important;"+"opacity:0;"+"position:absolute;"+"top:0;"+"z-index:-1;";n.appendChild(o)}}},{key:"stop",value:function e(){var t=this.image;t.onload=null;t.onerror=null;t.parentNode.removeChild(t);this.image=null}},{key:"build",value:function e(){if(!this.sized||this.ready){return}var t=this.element,i=this.options,s=this.image;var r=t.parentNode;var o=document.createElement("div");o.innerHTML=he;var n=o.querySelector(".".concat(g,"-container"));var a=n.querySelector(".".concat(g,"-canvas"));var l=n.querySelector(".".concat(g,"-drag-box"));var d=n.querySelector(".".concat(g,"-crop-box"));var c=d.querySelector(".".concat(g,"-face"));this.container=r;this.cropper=n;this.canvas=a;this.dragBox=l;this.cropBox=d;this.viewBox=n.querySelector(".".concat(g,"-view-box"));this.face=c;a.appendChild(s);Le(t,V);r.insertBefore(n,t.nextSibling);Ne(s,I);this.initPreview();this.bind();i.initialAspectRatio=Math.max(0,i.initialAspectRatio)||NaN;i.aspectRatio=Math.max(0,i.aspectRatio)||NaN;i.viewMode=Math.max(0,Math.min(3,Math.round(i.viewMode)))||0;Le(d,V);if(!i.guides){Le(d.getElementsByClassName("".concat(g,"-dashed")),V)}if(!i.center){Le(d.getElementsByClassName("".concat(g,"-center")),V)}if(i.background){Le(n,"".concat(g,"-bg"))}if(!i.highlight){Le(c,T)}if(i.cropBoxMovable){Le(c,P);ze(c,J,x)}if(!i.cropBoxResizable){Le(d.getElementsByClassName("".concat(g,"-line")),V);Le(d.getElementsByClassName("".concat(g,"-point")),V)}this.render();this.ready=true;this.setDragMode(i.dragMode);if(i.autoCrop){this.crop()}this.setData(i.data);if(Ue(i.ready)){Ae(t,te,i.ready,{once:true})}He(t,te)}},{key:"unbuild",value:function e(){if(!this.ready){return}this.ready=false;this.unbind();this.resetPreview();var t=this.cropper.parentNode;if(t){t.removeChild(this.cropper)}Ne(this.element,V)}},{key:"uncreate",value:function e(){if(this.ready){this.unbuild();this.ready=false;this.cropped=false}else if(this.sizing){this.sizingImage.onload=null;this.sizing=false;this.sized=false}else if(this.reloading){this.xhr.onabort=null;this.xhr.abort()}else if(this.image){this.stop()}}}],[{key:"noConflict",value:function t(){window.Cropper=mt;return e}},{key:"setDefaults",value:function e(t){Ee(ue,xe(t)&&t)}}])}();Ee(Qt.prototype,dt,ct,pt,ut,ht,ft);return Qt}))})(Qu);return Qu.exports}var xu=gu();var Uu=Se(xu);function Bu(e,t){const i=e.width/t.width;const s=e.height/t.height;const r=Math.min(i,s);const o=t.width*r;const n=t.height*r;const a=(e.width-o)/2;const l=(e.height-n)/2;return{width:o,height:n,left:a,top:l}}function vu(e){return e*(Math.PI/180)}function Fu(e,t,i){const s=Math.abs(vu(i));const r=Math.max((Math.sin(s)*e+Math.cos(s)*t)/t,(Math.sin(s)*t+Math.cos(s)*e)/e);return r}function Eu(e,t,i){if(t.left<e.left){return{left:e.left,width:i.width}}if(t.top<e.top){return{top:e.top,height:i.height}}if(t.left+t.width>e.left+e.width){return{left:e.left+e.width-i.width,width:i.width}}if(t.top+t.height>e.top+e.height){return{top:e.top+e.height-i.height,height:i.height}}return null}function wu(e,t,i){if(t.left<e.left){return{left:e.left,width:i.left+i.width-e.left}}if(t.top<e.top){return{top:e.top,height:i.top+i.height-e.top}}if(t.left+t.width>e.left+e.width){return{left:i.left,width:e.left+e.width-i.left}}if(t.top+t.height>e.top+e.height){return{top:i.top,height:e.top+e.height-i.top}}return null}class Su extends un{imgElement;cropper;constructor(e){super(e);this.state={angle90Deg:0,angleGranular:0,prevCropboxData:null};this.storePrevCropboxData=this.storePrevCropboxData.bind(this);this.limitCropboxMovement=this.limitCropboxMovement.bind(this)}componentDidMount(){const{opts:e,storeCropperInstance:t}=this.props;this.cropper=new Uu(this.imgElement,e.cropperOptions);this.imgElement.addEventListener("cropstart",this.storePrevCropboxData);this.imgElement.addEventListener("cropend",this.limitCropboxMovement);t(this.cropper)}componentWillUnmount(){this.cropper.destroy();this.imgElement.removeEventListener("cropstart",this.storePrevCropboxData);this.imgElement.removeEventListener("cropend",this.limitCropboxMovement)}storePrevCropboxData(){this.setState({prevCropboxData:this.cropper.getCropBoxData()})}limitCropboxMovement(e){const t=this.cropper.getCanvasData();const i=this.cropper.getCropBoxData();const{prevCropboxData:s}=this.state;if(e.detail.action==="all"){const e=Eu(t,i,s);if(e)this.cropper.setCropBoxData(e)}else{const e=wu(t,i,s);if(e)this.cropper.setCropBoxData(e)}}onRotate90Deg=()=>{const{angle90Deg:e}=this.state;const t=e-90;this.setState({angle90Deg:t,angleGranular:0});this.cropper.scale(1);this.cropper.rotateTo(t);const i=this.cropper.getCanvasData();const s=this.cropper.getContainerData();const r=Bu(s,i);this.cropper.setCanvasData(r);this.cropper.setCropBoxData(r)};onRotateGranular=e=>{const t=Number(e.target.value);this.setState({angleGranular:t});const{angle90Deg:i}=this.state;const s=i+t;this.cropper.rotateTo(s);const r=this.cropper.getImageData();const o=Fu(r.naturalWidth,r.naturalHeight,t);const n=this.cropper.getImageData().scaleX<0?-o:o;this.cropper.scale(n,o)};renderGranularRotate(){const{i18n:e}=this.props;const{angleGranular:t}=this.state;return Tn("label",{role:"tooltip","aria-label":`${t}º`,"data-microtip-position":"top",className:"uppy-ImageCropper-rangeWrapper",children:Tn("input",{className:"uppy-ImageCropper-range uppy-u-reset",type:"range",onInput:this.onRotateGranular,onChange:this.onRotateGranular,value:t,min:"-45",max:"45","aria-label":e("rotate")})})}renderRevert(){const{i18n:e,opts:t}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("revert"),onClick:()=>{this.cropper.reset();this.cropper.setAspectRatio(t.cropperOptions.initialAspectRatio);this.setState({angle90Deg:0,angleGranular:0})},children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0z",fill:"none"}),Tn("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})]})})}renderRotate(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("rotate"),onClick:this.onRotate90Deg,children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}),Tn("path",{d:"M14 10a2 2 0 012 2v7a2 2 0 01-2 2H6a2 2 0 01-2-2v-7a2 2 0 012-2h8zm0 1.75H6a.25.25 0 00-.243.193L5.75 12v7a.25.25 0 00.193.243L6 19.25h8a.25.25 0 00.243-.193L14.25 19v-7a.25.25 0 00-.193-.243L14 11.75zM12 .76V4c2.3 0 4.61.88 6.36 2.64a8.95 8.95 0 012.634 6.025L21 13a1 1 0 01-1.993.117L19 13h-.003a6.979 6.979 0 00-2.047-4.95 6.97 6.97 0 00-4.652-2.044L12 6v3.24L7.76 5 12 .76z"})]})})}renderFlip(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("flipHorizontal"),onClick:()=>this.cropper.scaleX(-this.cropper.getData().scaleX||-1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0z",fill:"none"}),Tn("path",{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"})]})})}renderZoomIn(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("zoomIn"),onClick:()=>this.cropper.zoom(.1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",height:"24",viewBox:"0 0 24 24",width:"24",children:[Tn("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Tn("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"}),Tn("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"})]})})}renderZoomOut(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("zoomOut"),onClick:()=>this.cropper.zoom(-.1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Tn("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 14zM7 9h5v1H7z"})]})})}renderCropSquare(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("aspectRatioSquare"),onClick:()=>this.cropper.setAspectRatio(1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0z",fill:"none"}),Tn("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})]})})}renderCropWidescreen(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("aspectRatioLandscape"),onClick:()=>this.cropper.setAspectRatio(16/9),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M 19,4.9999992 V 17.000001 H 4.9999998 V 6.9999992 H 19 m 0,-2 H 4.9999998 c -1.0999999,0 -1.9999999,0.9000001 -1.9999999,2 V 17.000001 c 0,1.1 0.9,2 1.9999999,2 H 19 c 1.1,0 2,-0.9 2,-2 V 6.9999992 c 0,-1.0999999 -0.9,-2 -2,-2 z"}),Tn("path",{fill:"none",d:"M0 0h24v24H0z"})]})})}renderCropWidescreenVertical(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button","aria-label":e("aspectRatioPortrait"),className:"uppy-u-reset uppy-c-btn",onClick:()=>this.cropper.setAspectRatio(9/16),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M 19.000001,19 H 6.999999 V 5 h 10.000002 v 14 m 2,0 V 5 c 0,-1.0999999 -0.9,-1.9999999 -2,-1.9999999 H 6.999999 c -1.1,0 -2,0.9 -2,1.9999999 v 14 c 0,1.1 0.9,2 2,2 h 10.000002 c 1.1,0 2,-0.9 2,-2 z"}),Tn("path",{d:"M0 0h24v24H0z",fill:"none"})]})})}render(){const{currentImage:e,opts:t}=this.props;const{actions:i}=t;if(e.data==null)throw new Error("File data is empty");const s=URL.createObjectURL(e.data);return Tn("div",{className:"uppy-ImageCropper",children:[Tn("div",{className:"uppy-ImageCropper-container",children:Tn("img",{className:"uppy-ImageCropper-image",alt:e.name,src:s,ref:e=>{this.imgElement=e}})}),Tn("div",{className:"uppy-ImageCropper-controls",children:[i.revert&&this.renderRevert(),i.rotate&&this.renderRotate(),i.granularRotate&&this.renderGranularRotate(),i.flip&&this.renderFlip(),i.zoomIn&&this.renderZoomIn(),i.zoomOut&&this.renderZoomOut(),i.cropSquare&&this.renderCropSquare(),i.cropWidescreen&&this.renderCropWidescreen(),i.cropWidescreenVertical&&this.renderCropWidescreenVertical()]})]})}}var Du={strings:{revert:"Reset",rotate:"Rotate 90°",zoomIn:"Zoom in",zoomOut:"Zoom out",flipHorizontal:"Flip horizontally",aspectRatioSquare:"Crop square",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)"}};const Ru={viewMode:0,background:false,autoCropArea:1,responsive:true,minCropBoxWidth:70,minCropBoxHeight:70,croppedCanvasOptions:{},initialAspectRatio:0};const ku={revert:true,rotate:true,granularRotate:true,flip:true,zoomIn:true,zoomOut:true,cropSquare:true,cropWidescreen:true,cropWidescreenVertical:true};const Lu={quality:.8,actions:ku,cropperOptions:Ru};class Nu extends Ca{static VERSION=mu.version;cropper;constructor(e,t){super(e,{...Lu,...t,actions:{...ku,...t?.actions},cropperOptions:{...Ru,...t?.cropperOptions}});this.id=this.opts.id||"ImageEditor";this.title="Image Editor";this.type="editor";this.defaultLocale=Du;this.i18nInit()}canEditFile(e){if(!e.type||e.isRemote){return false}const t=e.type.split("/")[1];if(/^(jpe?g|gif|png|bmp|webp)$/.test(t)){return true}return false}save=()=>{const e=e=>{const{currentImage:t}=this.getPluginState();this.uppy.setFileState(t.id,{data:new File([e],t.name??this.i18n("unnamed"),{type:e.type}),size:e.size,preview:undefined});const i=this.uppy.getFile(t.id);this.uppy.emit("thumbnail:request",i);this.setPluginState({currentImage:i});this.uppy.emit("file-editor:complete",i)};const{currentImage:t}=this.getPluginState();const i=this.cropper.getCroppedCanvas({});if(i.width%2!==0){this.cropper.setData({width:i.width-1})}if(i.height%2!==0){this.cropper.setData({height:i.height-1})}this.cropper.getCroppedCanvas(this.opts.cropperOptions.croppedCanvasOptions).toBlob(e,t.type,this.opts.quality)};storeCropperInstance=e=>{this.cropper=e};selectFile=e=>{this.uppy.emit("file-editor:start",e);this.setPluginState({currentImage:e})};install(){this.setPluginState({currentImage:null});const{target:e}=this.opts;if(e){this.mount(e,this)}}uninstall(){const{currentImage:e}=this.getPluginState();if(e){const t=this.uppy.getFile(e.id);this.uppy.emit("file-editor:cancel",t)}this.unmount()}render(){const{currentImage:e}=this.getPluginState();if(e===null||e.isRemote){return null}return Tn(Su,{currentImage:e,storeCropperInstance:this.storeCropperInstance,save:this.save,opts:this.opts,i18n:this.i18n})}}var Cu={exports:{}};var Vu;function Iu(){if(Vu)return Cu.exports;Vu=1;Cu.exports=s;Cu.exports.isMobile=s;Cu.exports.default=s;const e=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i;const t=/CrOS/;const i=/android|ipad|playbook|silk/i;function s(s){if(!s)s={};let r=s.ua;if(!r&&typeof navigator!=="undefined")r=navigator.userAgent;if(r&&r.headers&&typeof r.headers["user-agent"]==="string"){r=r.headers["user-agent"]}if(typeof r!=="string")return false;let o=e.test(r)&&!t.test(r)||!!s.tablet&&i.test(r);if(!o&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&r.indexOf("Macintosh")!==-1&&r.indexOf("Safari")!==-1){o=true}return o}return Cu.exports}var Tu=Iu();const zu="5.0.2";var Pu={version:zu};function Ju(){return Tn("svg",{"aria-hidden":"true",focusable:"false",fill:"#0097DC",width:"66",height:"55",viewBox:"0 0 66 55",children:Tn("path",{d:"M57.3 8.433c4.59 0 8.1 3.51 8.1 8.1v29.7c0 4.59-3.51 8.1-8.1 8.1H8.7c-4.59 0-8.1-3.51-8.1-8.1v-29.7c0-4.59 3.51-8.1 8.1-8.1h9.45l4.59-7.02c.54-.54 1.35-1.08 2.16-1.08h16.2c.81 0 1.62.54 2.16 1.08l4.59 7.02h9.45zM33 14.64c-8.62 0-15.393 6.773-15.393 15.393 0 8.62 6.773 15.393 15.393 15.393 8.62 0 15.393-6.773 15.393-15.393 0-8.62-6.773-15.393-15.393-15.393zM33 40c-5.648 0-9.966-4.319-9.966-9.967 0-5.647 4.318-9.966 9.966-9.966s9.966 4.319 9.966 9.966C42.966 35.681 38.648 40 33 40z",fillRule:"evenodd"})})}function Gu({onDiscard:e,i18n:t}){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--discard",type:"button",title:t("discardRecordedFile"),"aria-label":t("discardRecordedFile"),onClick:e,"data-uppy-super-focusable":true,children:Tn("svg",{width:"13",height:"13",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",className:"uppy-c-icon",children:Tn("g",{fill:"#FFF",fillRule:"evenodd",children:[Tn("path",{d:"M.496 11.367L11.103.76l1.414 1.414L1.911 12.781z"}),Tn("path",{d:"M11.104 12.782L.497 2.175 1.911.76l10.607 10.606z"})]})})})}function Mu({recording:e,onStartRecording:t,onStopRecording:i,i18n:s}){if(e){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button",type:"button",title:s("stopRecording"),"aria-label":s("stopRecording"),onClick:i,"data-uppy-super-focusable":true,children:Tn("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"100",height:"100",viewBox:"0 0 100 100",children:Tn("rect",{x:"15",y:"15",width:"70",height:"70"})})})}return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button",type:"button",title:s("startRecording"),"aria-label":s("startRecording"),onClick:t,"data-uppy-super-focusable":true,children:Tn("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"100",height:"100",viewBox:"0 0 100 100",children:Tn("circle",{cx:"50",cy:"50",r:"40"})})})}function Au(e){return`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`}function Hu({recordingLengthSeconds:e}){const t=Au(e);return Tn("span",{children:t})}function Zu({onSnapshot:e,i18n:t}){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--picture",type:"button",title:t("takePicture"),"aria-label":t("takePicture"),onClick:e,"data-uppy-super-focusable":true,children:Ju()})}function Wu({onSubmit:e,i18n:t}){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--submit",type:"button",title:t("submitRecordedFile"),"aria-label":t("submitRecordedFile"),onClick:e,"data-uppy-super-focusable":true,children:Tn("svg",{width:"12",height:"9",viewBox:"0 0 12 9",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",className:"uppy-c-icon",children:Tn("path",{fill:"#fff",fillRule:"nonzero",d:"M10.66 0L12 1.31 4.136 9 0 4.956l1.34-1.31L4.136 6.38z"})})})}function _u({currentDeviceId:e,videoSources:t,onChangeVideoSource:i}){return Tn("div",{className:"uppy-Webcam-videoSource",children:Tn("select",{className:"uppy-u-reset uppy-Webcam-videoSource-select",onChange:e=>{i(e.target.value)},children:t.map((t=>Tn("option",{value:t.deviceId,selected:t.deviceId===e,children:t.label},t.deviceId)))})})}function Ou(e,t){return e.includes(t)}class ju extends un{videoElement;refs;componentDidMount(){const{onFocus:e}=this.props;e()}componentWillUnmount(){const{onStop:e}=this.props;e()}render(){const{src:e,recordedVideo:t,capturedSnapshot:i,recording:s,modes:r,supportsRecording:o,videoSources:n,showVideoSourceDropdown:a,showRecordingLength:l,onSubmit:d,i18n:c,mirror:p,onSnapshot:u,onStartRecording:h,onStopRecording:f,onDiscardRecordedMedia:m,recordingLengthSeconds:Q}=this.props;const b=!!t;const y=!!i;const g=b||y;const x=!g&&o&&(Ou(r,"video-only")||Ou(r,"audio-only")||Ou(r,"video-audio"));const U=!g&&Ou(r,"picture");const B=o&&l&&!b;const v=a&&n&&n.length>1;const F={playsInline:true};if(t){F.muted=false;F.controls=true;F.src=t;if(this.videoElement){this.videoElement.srcObject=null}}else{F.muted=true;F.autoPlay=true;F.srcObject=e}return Tn("div",{className:"uppy uppy-Webcam-container",children:[Tn("div",{className:"uppy-Webcam-videoContainer",children:i&&!s&&!t?Tn("div",{className:"uppy-Webcam-imageContainer",children:Tn("img",{src:i,className:"uppy-Webcam-video",alt:"capturedSnapshot"})}):Tn("video",{ref:e=>{this.videoElement=e},className:`uppy-Webcam-video ${p?"uppy-Webcam-video--mirrored":""}`,...F})}),Tn("div",{className:"uppy-Webcam-footer",children:[Tn("div",{className:"uppy-Webcam-videoSourceContainer",children:v?_u(this.props):null}),Tn("div",{className:"uppy-Webcam-buttonContainer",children:[U&&Tn(Zu,{onSnapshot:u,i18n:c}),x&&Tn(Mu,{recording:s,onStartRecording:h,onStopRecording:f,i18n:c}),(b||y)&&Tn(Wu,{onSubmit:d,i18n:c}),(b||y)&&Tn(Gu,{onDiscard:m,i18n:c})]}),Tn("div",{className:"uppy-Webcam-recordingLength",children:B&&Tn(Hu,{recordingLengthSeconds:Q})})]})]})}}var Yu={strings:{pluginNameCamera:"Camera",noCameraTitle:"Camera Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",submitRecordedFile:"Submit recorded file",discardRecordedFile:"Discard recorded file",smile:"Smile!",takePicture:"Take a picture",startRecording:"Begin video recording",stopRecording:"Stop video recording",recordingLength:"Recording length %{recording_length}",allowAccessTitle:"Please allow access to your camera",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site."}};function $u({icon:e,i18n:t,hasCamera:i}){return Tn("div",{className:"uppy-Webcam-permissons",children:[Tn("div",{className:"uppy-Webcam-permissonsIcon",children:e()}),Tn("div",{className:"uppy-Webcam-title",children:i?t("allowAccessTitle"):t("noCameraTitle")}),Tn("p",{children:i?t("allowAccessDescription"):t("noCameraDescription")})]})}function Ku(){return typeof MediaRecorder==="function"&&!!MediaRecorder.prototype&&typeof MediaRecorder.prototype.start==="function"}function Xu(e){if(e[0]==="."){return fo[e.slice(1)]}return e}function qu(e){return/^video\/[^*]+$/.test(e)}function eh(e){return/^image\/[^*]+$/.test(e)}function th(){return navigator.mediaDevices}function ih(e,t){return e.includes(t)}const sh={onBeforeSnapshot:()=>Promise.resolve(),countdown:false,modes:["video-audio","video-only","audio-only","picture"],mirror:true,showVideoSourceDropdown:false,preferredImageMimeType:null,preferredVideoMimeType:null,showRecordingLength:false,mobileNativeCamera:Tu.isMobile({tablet:true})};class rh extends Ca{static VERSION=Pu.version;#K;mediaDevices;supportsUserMedia;protocol;capturedMediaFile;icon;webcamActive;stream=null;recorder=null;recordingChunks=null;recordingLengthTimer;captureInProgress=false;constructor(e,t){super(e,{...sh,...t});this.mediaDevices=th();this.supportsUserMedia=!!this.mediaDevices;this.protocol=location.protocol.match(/https/i)?"https":"http";this.id=this.opts.id||"Webcam";this.type="acquirer";this.capturedMediaFile=null;this.icon=()=>Tn("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32",children:Tn("path",{d:"M23.5 9.5c1.417 0 2.5 1.083 2.5 2.5v9.167c0 1.416-1.083 2.5-2.5 2.5h-15c-1.417 0-2.5-1.084-2.5-2.5V12c0-1.417 1.083-2.5 2.5-2.5h2.917l1.416-2.167C13 7.167 13.25 7 13.5 7h5c.25 0 .5.167.667.333L20.583 9.5H23.5zM16 11.417a4.706 4.706 0 00-4.75 4.75 4.704 4.704 0 004.75 4.75 4.703 4.703 0 004.75-4.75c0-2.663-2.09-4.75-4.75-4.75zm0 7.825c-1.744 0-3.076-1.332-3.076-3.074 0-1.745 1.333-3.077 3.076-3.077 1.744 0 3.074 1.333 3.074 3.076s-1.33 3.075-3.074 3.075z",fill:"#02B383",fillRule:"nonzero"})});this.defaultLocale=Yu;this.i18nInit();this.title=this.i18n("pluginNameCamera");this.#K=this.opts.mirror;this.install=this.install.bind(this);this.setPluginState=this.setPluginState.bind(this);this.render=this.render.bind(this);this.start=this.start.bind(this);this.stop=this.stop.bind(this);this.takeSnapshot=this.takeSnapshot.bind(this);this.startRecording=this.startRecording.bind(this);this.stopRecording=this.stopRecording.bind(this);this.discardRecordedMedia=this.discardRecordedMedia.bind(this);this.submit=this.submit.bind(this);this.oneTwoThreeSmile=this.oneTwoThreeSmile.bind(this);this.focus=this.focus.bind(this);this.changeVideoSource=this.changeVideoSource.bind(this);this.webcamActive=false;if(this.opts.countdown){this.opts.onBeforeSnapshot=this.oneTwoThreeSmile}this.setPluginState({hasCamera:false,cameraReady:false,cameraError:null,recordingLengthSeconds:0,videoSources:[],currentDeviceId:null,capturedSnapshot:null})}getStatus(){const{recordedVideo:e,capturedSnapshot:t,isRecording:i,cameraReady:s,cameraError:r}=this.getPluginState();if(i)return"recording";if(e!=null||t!=null)return"captured";if(s)return"ready";if(r)return"error";return"init"}setOptions(e){super.setOptions({...e,videoConstraints:{...this.opts.videoConstraints,...e?.videoConstraints}})}hasCameraCheck(){if(!this.mediaDevices){return Promise.resolve(false)}return this.mediaDevices.enumerateDevices().then((e=>e.some((e=>e.kind==="videoinput"))))}isAudioOnly(){return this.opts.modes.length===1&&this.opts.modes[0]==="audio-only"}getConstraints(e=null){const t=this.opts.modes.indexOf("video-audio")!==-1||this.opts.modes.indexOf("audio-only")!==-1;const i=!this.isAudioOnly()&&(this.opts.modes.indexOf("video-audio")!==-1||this.opts.modes.indexOf("video-only")!==-1||this.opts.modes.indexOf("picture")!==-1);const s={...this.opts.videoConstraints||{},...e!=null&&{deviceId:e}};return{audio:t,video:i?s:false}}start(e=null){if(!this.supportsUserMedia){return Promise.reject(new Error("Webcam access not supported"))}this.webcamActive=true;if(this.opts.mirror){this.#K=true}const t=this.getConstraints(e?.deviceId);this.hasCameraCheck().then((i=>{this.setPluginState({hasCamera:i});return this.mediaDevices.getUserMedia(t).then((t=>{this.stream=t;let i=null;const s=this.isAudioOnly()?t.getAudioTracks():t.getVideoTracks();if(!e||!e.deviceId){i=s[0].getSettings().deviceId}else{s.forEach((t=>{if(t.getSettings().deviceId===e.deviceId){i=t.getSettings().deviceId}}))}this.updateVideoSources();this.setPluginState({currentDeviceId:i,cameraReady:true})})).catch((e=>{this.setPluginState({cameraReady:false,cameraError:e});this.uppy.info(e.message,"error")}))}))}getMediaRecorderOptions(){const e={};if(MediaRecorder.isTypeSupported){const{restrictions:t}=this.uppy.opts;let i=[];if(this.opts.preferredVideoMimeType){i=[this.opts.preferredVideoMimeType]}else if(t.allowedFileTypes){i=t.allowedFileTypes.map(Xu).filter(qu)}const s=e=>MediaRecorder.isTypeSupported(e)&&Ro(e);const r=i.filter(s);if(r.length>0){e.mimeType=r[0]}}return e}startRecording(){this.recorder=new MediaRecorder(this.stream,this.getMediaRecorderOptions());this.recordingChunks=[];let e=false;this.recorder.addEventListener("dataavailable",(t=>{this.recordingChunks.push(t.data);const{restrictions:i}=this.uppy.opts;if(this.recordingChunks.length>1&&i.maxFileSize!=null&&!e){const t=this.recordingChunks.reduce(((e,t)=>e+t.size),0);const s=(t-this.recordingChunks[0].size)/(this.recordingChunks.length-1);const r=s*3;const o=Math.max(0,i.maxFileSize-r);if(t>o){e=true;this.uppy.info(this.i18n("recordingStoppedMaxSize"),"warning",4e3);this.stopRecording()}}}));this.recorder.start(500);if(this.opts.showRecordingLength){this.recordingLengthTimer=setInterval((()=>{const e=this.getPluginState().recordingLengthSeconds;this.setPluginState({recordingLengthSeconds:e+1})}),1e3)}this.setPluginState({isRecording:true})}stopRecording(){const e=new Promise((e=>{this.recorder.addEventListener("stop",(()=>{e()}));this.recorder.stop();if(this.opts.showRecordingLength){clearInterval(this.recordingLengthTimer);this.setPluginState({recordingLengthSeconds:0})}}));return e.then((()=>{this.setPluginState({isRecording:false});return this.getVideo()})).then((e=>{try{this.capturedMediaFile=e;this.setPluginState({recordedVideo:URL.createObjectURL(e.data)});this.#K=false}catch(e){if(!e.isRestriction){this.uppy.log(e)}}})).then((()=>{this.recordingChunks=null;this.recorder=null}),(e=>{this.recordingChunks=null;this.recorder=null;throw e}))}discardRecordedMedia(){const{recordedVideo:e,capturedSnapshot:t}=this.getPluginState();if(e){URL.revokeObjectURL(e)}if(t){URL.revokeObjectURL(t)}this.setPluginState({recordedVideo:null,capturedSnapshot:null});if(this.opts.mirror){this.#K=true}this.capturedMediaFile=null}submit(){try{if(this.capturedMediaFile){this.uppy.addFile(this.capturedMediaFile)}}catch(e){if(!e.isRestriction){this.uppy.log(e,"error")}}}async stop(){if(this.stream){const e=this.stream.getAudioTracks();const t=this.stream.getVideoTracks();e.concat(t).forEach((e=>e.stop()))}if(this.recorder){await new Promise((e=>{this.recorder.addEventListener("stop",e,{once:true});this.recorder.stop();if(this.opts.showRecordingLength){clearInterval(this.recordingLengthTimer)}}))}this.recordingChunks=null;this.recorder=null;this.webcamActive=false;this.stream=null;this.setPluginState({recordedVideo:null,capturedSnapshot:null,isRecording:false,recordingLengthSeconds:0})}getVideoElement(){return this.el.querySelector(".uppy-Webcam-video")}oneTwoThreeSmile(){return new Promise(((e,t)=>{let i=this.opts.countdown;const s=setInterval((()=>{if(!this.webcamActive){clearInterval(s);this.captureInProgress=false;return t(new Error("Webcam is not active"))}if(i){this.uppy.info(`${i}...`,"warning",800);i--}else{clearInterval(s);this.uppy.info(this.i18n("smile"),"success",1500);setTimeout((()=>e()),1500)}}),1e3)}))}async takeSnapshot(){if(this.captureInProgress)return;this.captureInProgress=true;try{await this.opts.onBeforeSnapshot()}catch(e){const t=typeof e==="object"?e.message:e;this.uppy.info(t,"error",5e3);throw new Error(`onBeforeSnapshot: ${t}`)}try{const e=await this.getImage();this.capturedMediaFile=e;if(e.data==null)throw new Error("File data is empty");const t=URL.createObjectURL(e.data);this.setPluginState({capturedSnapshot:t});this.captureInProgress=false}catch(e){this.captureInProgress=false;if(!e.isRestriction){this.uppy.log(e)}}}async getImage(){const e=this.getVideoElement();if(!e){return Promise.reject(new Error("No video element found, likely due to the Webcam tab being closed."))}const t=e.videoWidth;const i=e.videoHeight;const s=document.createElement("canvas");s.width=t;s.height=i;const r=s.getContext("2d");r.drawImage(e,0,0);const{restrictions:o}=this.uppy.opts;let n=[];if(this.opts.preferredImageMimeType){n=[this.opts.preferredImageMimeType]}else if(o.allowedFileTypes){n=o.allowedFileTypes.map(Xu).filter(eh)}const a=n[0]||"image/jpeg";const l=Ro(a)||"jpg";const d=`cam-${Date.now()}.${l}`;return ro(s,a).then((e=>({source:this.id,name:d,data:new Blob([e],{type:a}),type:a})))}getVideo(){const e=this.recordingChunks.find((e=>e.type?.length>0)).type;const t=Ro(e);if(!t){return Promise.reject(new Error(`Could not retrieve recording: Unsupported media type "${e}"`))}const i=`webcam-${Date.now()}.${t}`;const s=new Blob(this.recordingChunks,{type:e});const r={source:this.id,name:i,data:new Blob([s],{type:e}),type:e};return Promise.resolve(r)}focus(){if(!this.opts.countdown)return;setTimeout((()=>{this.uppy.info(this.i18n("smile"),"success",1500)}),1e3)}changeVideoSource(e){this.stop();this.start({deviceId:e})}updateVideoSources(){this.mediaDevices.enumerateDevices().then((e=>{this.setPluginState({videoSources:e.filter((e=>e.kind==="videoinput"))})}))}render(){if(!this.webcamActive){this.start()}const e=this.getPluginState();if(!e.cameraReady||!e.hasCamera){return Tn($u,{icon:Ju,i18n:this.i18n,hasCamera:e.hasCamera})}return Tn(ju,{...e,onChangeVideoSource:this.changeVideoSource,onSnapshot:this.takeSnapshot,onStartRecording:this.startRecording,onStopRecording:this.stopRecording,onDiscardRecordedMedia:this.discardRecordedMedia,onSubmit:this.submit,onFocus:this.focus,onStop:this.stop,i18n:this.i18n,modes:this.opts.modes,showRecordingLength:this.opts.showRecordingLength,showVideoSourceDropdown:this.opts.showVideoSourceDropdown,supportsRecording:Ku(),recording:e.isRecording,mirror:this.#K,src:this.stream})}install(){const{mobileNativeCamera:e,modes:t,videoConstraints:i}=this.opts;const{target:s}=this.opts;if(e&&s){this.getTargetPlugin(s)?.setOptions({showNativeVideoCameraButton:ih(t,"video-only")||ih(t,"video-audio"),showNativePhotoCameraButton:ih(t,"picture"),nativeCameraFacingMode:i?.facingMode});return}this.setPluginState({cameraReady:false,recordingLengthSeconds:0});if(s){this.mount(s,this)}if(this.mediaDevices){this.updateVideoSources();this.mediaDevices.ondevicechange=()=>{this.updateVideoSources();if(this.stream){let e=true;const{videoSources:t,currentDeviceId:i}=this.getPluginState();t.forEach((t=>{if(i===t.deviceId){e=false}}));if(e){this.stop();this.start()}}}}}uninstall(){this.stop();this.unmount()}onUnmount(){this.stop()}}const oh=".uppy-Root{box-sizing:border-box;color:#333;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;line-height:1;position:relative;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.uppy-Root[dir=rtl],[dir=rtl] .uppy-Root{text-align:right}.uppy-Root *,.uppy-Root :after,.uppy-Root :before{box-sizing:inherit}.uppy-Root [hidden]{display:none}.uppy-u-reset{all:initial;appearance:none;box-sizing:border-box;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;line-height:1}[dir=rtl] .uppy-u-reset{text-align:right}.uppy-c-textInput{background-color:#fff;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;padding:6px 8px}.uppy-size--md .uppy-c-textInput{padding:8px 10px}.uppy-c-textInput:focus{border-color:#1269cf99;box-shadow:0 0 0 3px #1269cf26;outline:none}[data-uppy-theme=dark] .uppy-c-textInput{background-color:#333;border-color:#333;color:#eaeaea}[data-uppy-theme=dark] .uppy-c-textInput:focus{border-color:#525252;box-shadow:none}.uppy-c-icon{display:inline-block;max-height:100%;max-width:100%;overflow:hidden;fill:currentColor}.uppy-c-btn{align-items:center;color:inherit;display:inline-flex;font-family:inherit;font-size:inherit;font-weight:500;justify-content:center;line-height:1;transition-duration:.3s;transition-property:background-color,color;user-select:none;white-space:nowrap}.uppy-c-btn,[dir=rtl] .uppy-c-btn{text-align:center}.uppy-c-btn:not(:disabled):not(.disabled){cursor:pointer}.uppy-c-btn::-moz-focus-inner{border:0}.uppy-c-btn-primary{background-color:#1269cf;border-radius:4px;color:#fff;font-size:14px;padding:10px 18px}.uppy-c-btn-primary:not(:disabled):hover{background-color:#0e51a0}.uppy-c-btn-primary:focus{box-shadow:0 0 0 3px #1269cf66;outline:none}.uppy-size--md .uppy-c-btn-primary{padding:13px 22px}[data-uppy-theme=dark] .uppy-c-btn-primary{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-primary::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-c-btn-primary.uppy-c-btn--disabled{background-color:#8eb2db}.uppy-c-btn-link{background-color:initial;border-radius:4px;color:#525252;font-size:14px;line-height:1;padding:10px 15px}.uppy-c-btn-link:hover{color:#333}.uppy-c-btn-link:focus{box-shadow:0 0 0 3px #1269cf40;outline:none}.uppy-size--md .uppy-c-btn-link{padding:13px 18px}[data-uppy-theme=dark] .uppy-c-btn-link{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-link:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-link::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-link:focus{box-shadow:0 0 0 2px #aae1ffd9}[data-uppy-theme=dark] .uppy-c-btn-link:hover{color:#939393}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9fY29tbW9uLnNjc3MiLCIuLi9zcmMvX3ZhcmlhYmxlcy5zY3NzIiwic3R5bGUuY3NzIiwiLi4vc3JjL191dGlscy5zY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVNBLFdBRUUscUJBQUEsQ0FDQSxVQ29CUyxDRG5CVCxrSkNYaUIsQ0RZakIsYUFBQSxDQUpBLGlCQUFBLENBS0EsZUFBQSxDQUNBLGtDQUFBLENBQ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FFENERKLENDdkVFLGlEQUNFLDhCRHlFSixDRnNCRSx5Q0FDRSx3QkVwQkosQ0Z3QkEsaUJBS0Usd0JBQUEsQ0FDQSxpQkFBQSxDQUpBLGFDaklTLENEa0lULGNBQUEsQ0FDQSxhQUFBLENBSEEsaUJFaEJGLENGdUJFLHVCQUNFLFVFckJKLENGd0JFLHVCQUVFLDhCQUFBLENBREEsWUVyQkosQ0Z5QkUsZ0NBQ0UsaUJFdkJKLENGMEJFLHdDQUNFLGFFeEJKLENDN0ZFLDhDQUNFLFlEK0ZKLENDNUZFLDBEQUNFLFFEOEZKLENDekdFLDhDQUNFLDhCRDJHSixDRm9CRSw4Q0FDRSxhRWxCSiIsImZpbGUiOiJzdHlsZS5taW4uY3NzIn0= */\n@charset \"UTF-8\";.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list,.uppy-ProviderBrowser-viewType--unsplash ul.uppy-ProviderBrowser-list{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:6px}.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list:after,.uppy-ProviderBrowser-viewType--unsplash ul.uppy-ProviderBrowser-list:after{content:\"\";flex:auto}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem{margin:0;position:relative;width:50%}.uppy-size--md .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem,.uppy-size--md .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem{width:33.3333%}.uppy-size--lg .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem,.uppy-size--lg .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem{width:25%}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem:before,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem:before{content:\"\";display:block;padding-top:100%}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected img,.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected svg,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--selected img,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--selected svg{opacity:.85}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--disabled,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--disabled{opacity:.5}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:#93939333}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner,[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:#eaeaea33}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview svg{height:30%;width:30%;fill:#000000b3}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg,[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview svg{fill:#fffc}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner{border-radius:4px;bottom:7px;height:calc(100% - 14px);left:7px;overflow:hidden;position:absolute;right:7px;text-align:center;top:7px;width:calc(100% - 14px)}@media (hover:none){.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner .uppy-ProviderBrowserItem-author{display:block}}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner,[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner{box-shadow:0 0 0 3px #aae1ffb3}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner img,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner img{border-radius:4px;height:100%;object-fit:cover;width:100%}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-author{background:#0000004d;bottom:0;color:#fff;display:none;font-size:12px;font-weight:500;left:0;margin:0;padding:5px;position:absolute;text-decoration:none;width:100%}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-author:hover,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-author:hover{background:#0006;text-decoration:underline}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox{background-color:#1269cf;border-radius:50%;height:26px;opacity:0;position:absolute;right:16px;top:16px;width:26px;z-index:1002}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox:after,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox:after{height:7px;inset-inline-start:7px;top:8px;width:12px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox{opacity:1}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:hover+label .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:hover+label .uppy-ProviderBrowserItem-author{display:block}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label{box-shadow:0 0 0 3px #1269cf80}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label:focus,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label:focus{outline:none}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label::-moz-focus-inner,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label::-moz-focus-inner{border:0}.uppy-ProviderBrowser-viewType--list{background-color:#fff}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list{background-color:#1f1f1f}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{align-items:center;display:flex;margin:0;padding:7px 15px}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{color:#eaeaea}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem--disabled{opacity:.6}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox{background-color:#fff;border:1px solid #cfcfcf;border-radius:3px;height:17px;margin-inline-end:15px;width:17px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox:focus{border:1px solid #1269cf;box-shadow:0 0 0 3px #1269cf40;outline:none}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox:after{height:5px;inset-inline-start:3px;opacity:0;top:4px;width:9px}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox:focus{border-color:#02baf2b3;box-shadow:0 0 0 3px #02baf233}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-partial .uppy-ProviderBrowserItem-checkbox{background-color:#1269cf;border-color:#1269cf}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox:after,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-partial .uppy-ProviderBrowserItem-checkbox:after{opacity:1}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner{align-items:center;color:inherit;display:flex;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:2px;text-overflow:ellipsis;white-space:nowrap}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner:focus{outline:none;text-decoration:underline}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{margin-inline-end:8px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner span{line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--disabled .uppy-ProviderBrowserItem-inner{cursor:default}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{margin-inline-end:7px;width:20px}.uppy-ProviderBrowserItem-checkbox{cursor:pointer;flex-shrink:0;position:relative}.uppy-ProviderBrowserItem-checkbox:disabled,.uppy-ProviderBrowserItem-checkbox:disabled:after{cursor:default}[data-uppy-theme=dark] .uppy-ProviderBrowserItem-checkbox{background-color:#1f1f1f;border-color:#939393}[data-uppy-theme=dark] .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox{background-color:#333}.uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox:after{border-bottom:2px solid #eaeaea;border-left:2px solid #eaeaea;content:\"\";cursor:pointer;position:absolute;transform:rotate(-45deg)}.uppy-ProviderBrowserItem--is-partial .uppy-ProviderBrowserItem-checkbox:after{background-color:#eaeaea!important;content:\"\"!important;height:2px!important;left:20%!important;position:absolute!important;right:20%!important;top:50%!important;transform:translateY(-50%)!important}.uppy-SearchProvider{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:center;width:100%}[data-uppy-theme=dark] .uppy-SearchProvider{background-color:#1f1f1f}.uppy-SearchProvider-input{margin-bottom:15px;max-width:650px;width:90%}.uppy-size--md .uppy-SearchProvider-input{margin-bottom:20px}.uppy-SearchProvider-input::-webkit-search-cancel-button{display:none}.uppy-SearchProvider-searchButton{padding:13px 25px}.uppy-size--md .uppy-SearchProvider-searchButton{padding:13px 30px}.uppy-DashboardContent-panelBody{align-items:center;display:flex;flex:1;justify-content:center}[data-uppy-theme=dark] .uppy-DashboardContent-panelBody{background-color:#1f1f1f}.uppy-Provider-auth,.uppy-Provider-empty,.uppy-Provider-error,.uppy-Provider-loading{align-items:center;color:#939393;display:flex;flex:1;flex-flow:column wrap;justify-content:center}.uppy-Provider-empty{color:#939393}.uppy-Provider-authIcon svg{height:75px;width:100px}.uppy-Provider-authTitle{color:#757575;font-size:17px;font-weight:400;line-height:1.4;margin-bottom:30px;max-width:500px;padding:0 15px;text-align:center}.uppy-size--md .uppy-Provider-authTitle{font-size:20px}[data-uppy-theme=dark] .uppy-Provider-authTitle{color:#cfcfcf}.uppy-Provider-btn-google{align-items:center;background:#4285f4;display:flex;padding:8px 12px!important}.uppy-Provider-btn-google:hover{background-color:#1266f1}.uppy-Provider-btn-google:focus{box-shadow:0 0 0 3px #4285f466;outline:none}.uppy-Provider-btn-google svg{margin-right:8px}.uppy-Provider-breadcrumbs{color:#525252;flex:1;font-size:12px;margin-bottom:10px;text-align:start}.uppy-size--md .uppy-Provider-breadcrumbs{margin-bottom:0}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs{color:#eaeaea}.uppy-Provider-breadcrumbsIcon{color:#525252;display:inline-block;line-height:1;margin-inline-end:4px;vertical-align:middle}.uppy-Provider-breadcrumbsIcon svg{height:13px;width:13px;fill:#525252}.uppy-Provider-breadcrumbs button{border-radius:3px;display:inline-block;line-height:inherit;padding:4px}.uppy-Provider-breadcrumbs button:focus{outline:none}.uppy-Provider-breadcrumbs button::-moz-focus-inner{border:0}.uppy-Provider-breadcrumbs button:hover{color:#0e51a0}.uppy-Provider-breadcrumbs button:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button:focus{background-color:#333}.uppy-Provider-breadcrumbs button:not(:last-of-type){text-decoration:underline}.uppy-Provider-breadcrumbs button:last-of-type{color:#333;cursor:normal;font-weight:500;pointer-events:none}.uppy-Provider-breadcrumbs button:hover{cursor:pointer}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button{color:#eaeaea}.uppy-ProviderBrowser{display:flex;flex:1;flex-direction:column;font-size:14px;font-weight:400;height:100%}.uppy-ProviderBrowser-user{color:#333;font-weight:500;margin:0 8px 0 0}[data-uppy-theme=dark] .uppy-ProviderBrowser-user{color:#eaeaea}.uppy-ProviderBrowser-user:after{color:#939393;content:\"·\";font-weight:400;inset-inline-start:4px;position:relative}.uppy-ProviderBrowser-header{border-bottom:1px solid #eaeaea;position:relative;z-index:1001}[data-uppy-theme=dark] .uppy-ProviderBrowser-header{border-bottom:1px solid #333}.uppy-ProviderBrowser-headerBar{background-color:#fafafa;color:#757575;font-size:12px;line-height:1.4;padding:7px 15px;z-index:1001}.uppy-size--md .uppy-ProviderBrowser-headerBar{align-items:center;display:flex}[data-uppy-theme=dark] .uppy-ProviderBrowser-headerBar{background-color:#1f1f1f}.uppy-ProviderBrowser-headerBar--simple{display:block;justify-content:center;text-align:center}.uppy-ProviderBrowser-headerBar--simple .uppy-Provider-breadcrumbsWrap{display:inline-block;flex:none;vertical-align:middle}.uppy-ProviderBrowser-searchFilter{align-items:center;display:flex;height:30px;margin-bottom:15px;margin-top:15px;padding-left:8px;padding-right:8px;position:relative;width:100%}.uppy-ProviderBrowser-searchFilterInput{background-color:#eaeaea;border:0;border-radius:4px;color:#333;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;font-size:13px;height:30px;line-height:1.4;outline:0;padding-inline-end:30px;padding-inline-start:30px;width:100%;z-index:1001}.uppy-ProviderBrowser-searchFilterInput::-webkit-search-cancel-button{display:none}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchFilterInput{background-color:#1f1f1f;color:#eaeaea}.uppy-ProviderBrowser-searchFilterInput:focus{background-color:#cfcfcf;border:0}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchFilterInput:focus{background-color:#333}.uppy-ProviderBrowser-searchFilterIcon{color:#757575;height:12px;inset-inline-start:16px;position:absolute;width:12px;z-index:1002}.uppy-ProviderBrowser-searchFilterInput::placeholder{color:#939393;opacity:1}.uppy-ProviderBrowser-searchFilterReset{border-radius:3px;color:#939393;cursor:pointer;height:22px;inset-inline-end:16px;padding:6px;position:absolute;width:22px;z-index:1002}.uppy-ProviderBrowser-searchFilterReset:focus{outline:none}.uppy-ProviderBrowser-searchFilterReset::-moz-focus-inner{border:0}.uppy-ProviderBrowser-searchFilterReset:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-ProviderBrowser-searchFilterReset:hover{color:#757575}.uppy-ProviderBrowser-searchFilterReset svg{vertical-align:text-top}.uppy-ProviderBrowser-userLogout{border-radius:3px;color:#1269cf;cursor:pointer;line-height:inherit;padding:4px}.uppy-ProviderBrowser-userLogout:focus{outline:none}.uppy-ProviderBrowser-userLogout::-moz-focus-inner{border:0}.uppy-ProviderBrowser-userLogout:hover{color:#0e51a0}.uppy-ProviderBrowser-userLogout:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout:focus{background-color:#333}.uppy-ProviderBrowser-userLogout:hover{text-decoration:underline}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout{color:#eaeaea}.uppy-ProviderBrowser-body{flex:1;position:relative}.uppy-ProviderBrowser-list{background-color:#fff;border-spacing:0;bottom:0;display:block;flex:1;height:100%;left:0;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;right:0;top:0;width:100%;-webkit-overflow-scrolling:touch}[data-uppy-theme=dark] .uppy-ProviderBrowser-list{background-color:#1f1f1f}.uppy-ProviderBrowser-list:focus{outline:none}.uppy-ProviderBrowserItem-inner{cursor:pointer;font-size:13px;font-weight:500}.uppy-ProviderBrowser-footer{align-items:center;background-color:#fff;border-top:1px solid #eaeaea;display:flex;justify-content:space-between;padding:15px}.uppy-ProviderBrowser-footer button{margin-inline-end:8px}[data-uppy-theme=dark] .uppy-ProviderBrowser-footer{background-color:#1f1f1f;border-top:1px solid #333}.uppy-ProviderBrowser-footer-buttons{flex-shrink:0}.uppy-ProviderBrowser-footer-error{color:#e32437;line-height:18px}@media (max-width:426px){.uppy-ProviderBrowser-footer{align-items:stretch;flex-direction:column-reverse}.uppy-ProviderBrowser-footer-error{padding-bottom:10px}}.picker-dialog-bg{z-index:20000!important}.picker-dialog{z-index:20001!important}.uppy-Dashboard-Item-previewInnerWrap{align-items:center;border-radius:3px;box-shadow:0 0 2px 0 #0006;display:flex;flex-direction:column;height:100%;justify-content:center;overflow:hidden;position:relative;width:100%}.uppy-size--md .uppy-Dashboard-Item-previewInnerWrap{box-shadow:0 1px 2px #00000026}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-previewInnerWrap{box-shadow:none}.uppy-Dashboard-Item-previewInnerWrap:after{background-color:#000000a6;bottom:0;content:\"\";display:none;left:0;position:absolute;right:0;top:0;z-index:1001}.uppy-Dashboard-Item-previewLink{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1002}.uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #579df0}[data-uppy-theme=dark] .uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #016c8d}.uppy-Dashboard-Item-preview img.uppy-Dashboard-Item-previewImg{border-radius:3px;height:100%;object-fit:cover;transform:translateZ(0);width:100%}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-preview img.uppy-Dashboard-Item-previewImg{height:auto;max-height:100%;max-width:100%;object-fit:contain;padding:10px;width:auto}.uppy-Dashboard-Item-progress{color:#fff;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);transition:all .35 ease;width:120px;z-index:1002}.uppy-Dashboard-Item-progressIndicator{color:#fff;display:inline-block;height:38px;opacity:.9;width:38px}.uppy-size--md .uppy-Dashboard-Item-progressIndicator{height:55px;width:55px}button.uppy-Dashboard-Item-progressIndicator{cursor:pointer}button.uppy-Dashboard-Item-progressIndicator:focus{outline:none}button.uppy-Dashboard-Item-progressIndicator::-moz-focus-inner{border:0}button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--bg,button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--retry{fill:#579df0}.uppy-Dashboard-Item-progressIcon--circle{height:100%;width:100%}.uppy-Dashboard-Item-progressIcon--bg{stroke:#fff6}.uppy-Dashboard-Item-progressIcon--progress{transition:stroke-dashoffset .5s ease-out;stroke:#fff}.uppy-Dashboard-Item-progressIcon--play{transition:all .2s;fill:#fff;stroke:#fff}.uppy-Dashboard-Item-progressIcon--cancel{transition:all .2s;fill:#fff}.uppy-Dashboard-Item-progressIcon--pause{transition:all .2s;fill:#fff;stroke:#fff}.uppy-Dashboard-Item-progressIcon--check{transition:all .2s;fill:#fff}.uppy-Dashboard-Item-progressIcon--retry{fill:#fff}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{inset-inline-end:-8px;inset-inline-start:auto;top:-9px;transform:none;width:auto}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{height:18px;width:18px}.uppy-size--md .uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{height:28px;width:28px}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{height:18px;opacity:1;width:18px}.uppy-size--md .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{height:22px;width:22px}.uppy-Dashboard-Item.is-processing .uppy-Dashboard-Item-progress{opacity:0}.uppy-Dashboard-Item-fileInfo{padding-inline-end:5px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfo{padding-inline-end:10px}.uppy-size--md.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfo{padding-inline-end:15px}.uppy-Dashboard-Item-name{font-size:12px;font-weight:500;line-height:1.3;margin-bottom:5px;word-wrap:anywhere;word-break:break-all}[data-uppy-theme=dark] .uppy-Dashboard-Item-name{color:#eaeaea}.uppy-size--md.uppy-Dashboard--singleFile .uppy-Dashboard-Item-name{font-size:14px;line-height:1.4}.uppy-Dashboard-Item-fileName{align-items:baseline;display:flex}.uppy-Dashboard-Item-fileName button{margin-left:5px}.uppy-Dashboard-Item-author{color:#757575;display:inline-block;font-size:11px;font-weight:400;line-height:1;margin-bottom:5px;vertical-align:bottom}.uppy-Dashboard-Item-author a{color:#757575}.uppy-Dashboard-Item-status{color:#757575;font-size:11px;font-weight:400;line-height:1}[data-uppy-theme=dark] .uppy-Dashboard-Item-status{color:#bbb}.uppy-Dashboard-Item-statusSize{display:inline-block;margin-bottom:5px;text-transform:uppercase;vertical-align:bottom}.uppy-Dashboard-Item-reSelect{color:#1269cf;font-family:inherit;font-size:inherit;font-weight:600}.uppy-Dashboard-Item-errorMessage{background-color:#fdeff1;color:#a51523;font-size:11px;font-weight:500;line-height:1.3;padding:5px 6px}.uppy-Dashboard-Item-errorMessageBtn{color:#a51523;cursor:pointer;font-size:11px;font-weight:500;text-decoration:underline}.uppy-Dashboard-Item-preview .uppy-Dashboard-Item-errorMessage{display:none}.uppy-size--md .uppy-Dashboard-Item-preview .uppy-Dashboard-Item-errorMessage{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-top:1px solid #f7c2c8;bottom:0;display:block;left:0;line-height:1.4;padding:6px 8px;position:absolute;right:0}.uppy-Dashboard-Item-fileInfo .uppy-Dashboard-Item-errorMessage{border:1px solid #f7c2c8;border-radius:3px;display:inline-block;position:static}.uppy-size--md .uppy-Dashboard-Item-fileInfo .uppy-Dashboard-Item-errorMessage{display:none}.uppy-Dashboard-Item-action{color:#939393;cursor:pointer}.uppy-Dashboard-Item-action:focus{outline:none}.uppy-Dashboard-Item-action::-moz-focus-inner{border:0}.uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-Dashboard-Item-action:hover{color:#1f1f1f;opacity:1}[data-uppy-theme=dark] .uppy-Dashboard-Item-action{color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{outline:none}[data-uppy-theme=dark] .uppy-Dashboard-Item-action::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 2px #aae1ffd9}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:hover{color:#eaeaea}.uppy-Dashboard-Item-action--remove{color:#1f1f1f;opacity:.95}.uppy-Dashboard-Item-action--remove:hover{color:#000;opacity:1}.uppy-size--md .uppy-Dashboard-Item-action--remove{height:18px;inset-inline-end:-8px;padding:0;position:absolute;top:-8px;width:18px;z-index:1002}.uppy-size--md .uppy-Dashboard-Item-action--remove:focus{border-radius:50%}.uppy-Dashboard--singleFile.uppy-size--height-md .uppy-Dashboard-Item-action--remove{inset-inline-end:8px;position:absolute;top:8px}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove{color:#525252}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove:hover{color:#333}.uppy-Dashboard:not(.uppy-size--md):not(.uppy-Dashboard--singleFile.uppy-size--height-md) .uppy-Dashboard-Item-actionWrapper{align-items:center;display:flex}.uppy-Dashboard:not(.uppy-size--md):not(.uppy-Dashboard--singleFile.uppy-size--height-md) .uppy-Dashboard-Item-action{height:22px;margin-left:3px;padding:3px;width:22px}.uppy-Dashboard:not(.uppy-size--md):not(.uppy-Dashboard--singleFile.uppy-size--height-md) .uppy-Dashboard-Item-action:focus{border-radius:3px}.uppy-size--md .uppy-Dashboard-Item-action--copyLink,.uppy-size--md .uppy-Dashboard-Item-action--edit{height:16px;padding:0;width:16px}.uppy-size--md .uppy-Dashboard-Item-action--copyLink:focus,.uppy-size--md .uppy-Dashboard-Item-action--edit:focus{border-radius:3px}.uppy-Dashboard-Item{align-items:center;border-bottom:1px solid #eaeaea;display:flex;padding:10px}.uppy-Dashboard:not(.uppy-Dashboard--singleFile) .uppy-Dashboard-Item{padding-inline-end:0}[data-uppy-theme=dark] .uppy-Dashboard-Item{border-bottom:1px solid #333}.uppy-size--md .uppy-Dashboard-Item{border-bottom:0;display:block;float:inline-start;height:215px;margin:5px 15px;padding:0;position:relative;width:calc(33.333% - 30px)}.uppy-size--lg .uppy-Dashboard-Item{height:190px;margin:5px 15px;padding:0;width:calc(25% - 30px)}.uppy-size--xl .uppy-Dashboard-Item{height:210px;padding:0;width:calc(20% - 30px)}.uppy-Dashboard--singleFile .uppy-Dashboard-Item{border-bottom:0;display:flex;flex-direction:column;height:100%;max-width:400px;padding:15px;position:relative;width:100%}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-previewInnerWrap{opacity:.2}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-name{opacity:.7}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='39' viewBox='0 0 35 39'%3E%3Cpath fill='%2523000' d='M1.708 38.66c1.709 0 3.417-3.417 6.834-3.417s5.125 3.417 8.61 3.417c3.348 0 5.056-3.417 8.473-3.417 4.305 0 5.125 3.417 6.833 3.417.889 0 1.709-.889 1.709-1.709v-19.68C34.167-5.757 0-5.757 0 17.271v19.68c0 .82.888 1.709 1.708 1.709m8.542-17.084a3.383 3.383 0 0 1-3.417-3.416 3.383 3.383 0 0 1 3.417-3.417 3.383 3.383 0 0 1 3.417 3.417 3.383 3.383 0 0 1-3.417 3.416m13.667 0A3.383 3.383 0 0 1 20.5 18.16a3.383 3.383 0 0 1 3.417-3.417 3.383 3.383 0 0 1 3.416 3.417 3.383 3.383 0 0 1-3.416 3.416'/%3E%3C/svg%3E\");background-position:50% 10px;background-repeat:no-repeat;background-size:25px;bottom:0;content:\"\";left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1005}.uppy-size--md .uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-position:50% 50%;background-size:40px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-position:50% 50%;background-size:30%}.uppy-Dashboard-Item-preview{flex-grow:0;flex-shrink:0;height:50px;position:relative;width:50px}.uppy-size--md .uppy-Dashboard-Item-preview{height:140px;width:100%}.uppy-size--lg .uppy-Dashboard-Item-preview{height:120px}.uppy-size--xl .uppy-Dashboard-Item-preview{height:140px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-preview{flex-grow:1;max-height:75%;width:100%}.uppy-Dashboard--singleFile.uppy-size--md .uppy-Dashboard-Item-preview{max-height:100%}.uppy-Dashboard-Item-fileInfoAndButtons{align-items:center;display:flex;flex-grow:1;justify-content:space-between;padding-inline-end:8px;padding-inline-start:12px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfoAndButtons,.uppy-size--md .uppy-Dashboard-Item-fileInfoAndButtons{align-items:flex-start;padding:9px 0 0}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfoAndButtons{flex-grow:0;width:100%}.uppy-Dashboard-Item-fileInfo{flex-grow:1;flex-shrink:1}.uppy-Dashboard-Item-actionWrapper{flex-grow:0;flex-shrink:0}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-previewInnerWrap:after,.uppy-Dashboard-Item.is-inprogress .uppy-Dashboard-Item-previewInnerWrap:after{display:block}.uppy-Dashboard-Item-errorDetails{appearance:none;background-color:#939393;border:none;border-radius:50%;color:#fff;cursor:help;flex-shrink:0;font-size:10px;font-weight:600;height:13px;inset-inline-start:2px;line-height:12px;position:relative;text-align:center;top:0;width:13px}.uppy-Dashboard-Item-errorDetails:after{line-height:1.3;word-wrap:break-word}.uppy-Dashboard-FileCard{background-color:#fff;border-radius:5px;bottom:0;box-shadow:0 0 10px 4px #0000001a;display:flex;flex-direction:column;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:1005}.uppy-Dashboard-FileCard .uppy-DashboardContent-bar{border-top-left-radius:5px;border-top-right-radius:5px}.uppy-Dashboard-FileCard .uppy-Dashboard-FileCard-actions{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.uppy-Dashboard-FileCard-inner{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;height:100%;min-height:0}.uppy-Dashboard-FileCard-preview{align-items:center;border-bottom:1px solid #eaeaea;display:flex;flex-grow:0;flex-shrink:1;height:60%;justify-content:center;min-height:0;position:relative}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-preview{background-color:#333;border-bottom:0}.uppy-Dashboard-FileCard-preview img.uppy-Dashboard-Item-previewImg{border-radius:3px;box-shadow:0 3px 20px #00000026;flex:0 0 auto;max-height:90%;max-width:90%;object-fit:cover}.uppy-Dashboard-FileCard-edit{background-color:#00000080;border-radius:50px;color:#fff;font-size:13px;inset-inline-end:10px;padding:7px 15px;position:absolute;top:10px}.uppy-Dashboard-FileCard-edit:focus{outline:none}.uppy-Dashboard-FileCard-edit::-moz-focus-inner{border:0}.uppy-Dashboard-FileCard-edit:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-Dashboard-FileCard-edit:hover{background-color:#000c}.uppy-Dashboard-FileCard-info{flex-grow:0;flex-shrink:0;height:40%;overflow-y:auto;padding:30px 20px 20px;-webkit-overflow-scrolling:touch}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-info{background-color:#1f1f1f}.uppy-Dashboard-FileCard-fieldset{border:0;font-size:0;margin:auto auto 12px;max-width:640px;padding:0}.uppy-Dashboard-FileCard-label{color:#525252;display:inline-block;font-size:12px;vertical-align:middle;width:22%}.uppy-size--md .uppy-Dashboard-FileCard-label{font-size:14px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-label{color:#eaeaea}.uppy-Dashboard-FileCard-input{display:inline-block;vertical-align:middle;width:78%}.uppy-Dashboard-FileCard-actions{align-items:center;background-color:#fafafa;border-top:1px solid #eaeaea;display:flex;flex-grow:0;flex-shrink:0;height:55px;padding:0 15px}.uppy-size--md .uppy-Dashboard-FileCard-actions{height:65px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-actions{background-color:#1f1f1f;border-top:1px solid #333}.uppy-Dashboard-FileCard-actionsBtn{margin-inline-end:10px}.uppy-Informer{bottom:60px;left:0;position:absolute;right:0;text-align:center;z-index:1005}.uppy-Informer span>div{margin-bottom:6px}.uppy-Informer-animated{opacity:0;transform:translateY(350%);transition:all .3s ease-in;z-index:-1000}.uppy-Informer p{background-color:#757575;border-radius:18px;color:#fff;display:inline-block;font-size:12px;font-weight:400;line-height:1.4;margin:0;max-width:90%;padding:6px 15px}.uppy-size--md .uppy-Informer p{font-size:14px;line-height:1.3;max-width:500px;padding:10px 20px}[data-uppy-theme=dark] .uppy-Informer p{background-color:#333}.uppy-Informer p span{background-color:#fff;border-radius:50%;color:#525252;display:inline-block;font-size:10px;height:13px;inset-inline-start:3px;line-height:12px;margin-inline-start:-1px;position:relative;top:-1px;vertical-align:middle;width:13px}.uppy-Informer p span:hover{cursor:help}.uppy-Informer p span:after{line-height:1.3;word-wrap:break-word}.uppy-Root [aria-label][role~=tooltip]{position:relative}.uppy-Root [aria-label][role~=tooltip]:after,.uppy-Root [aria-label][role~=tooltip]:before{-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;opacity:0;pointer-events:none;position:absolute;transform:translateZ(0);transform-origin:top;transition:all var(--microtip-transition-duration,.18s) var(--microtip-transition-easing,ease-in-out) var(--microtip-transition-delay,0s);will-change:transform;z-index:10}.uppy-Root [aria-label][role~=tooltip]:before{background-size:100% auto!important;content:\"\"}.uppy-Root [aria-label][role~=tooltip]:after{background:#111111e6;border-radius:4px;box-sizing:initial;color:#fff;content:attr(aria-label);font-size:var(--microtip-font-size,13px);font-weight:var(--microtip-font-weight,normal);padding:.5em 1em;text-transform:var(--microtip-text-transform,none);white-space:nowrap}.uppy-Root [aria-label][role~=tooltip]:focus:after,.uppy-Root [aria-label][role~=tooltip]:focus:before,.uppy-Root [aria-label][role~=tooltip]:hover:after,.uppy-Root [aria-label][role~=tooltip]:hover:before{opacity:1;pointer-events:auto}.uppy-Root [role~=tooltip][data-microtip-position|=top]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M2.658 0h32.004c-6 0-11.627 12.002-16.002 12.002S8.594 0 2.658 0'/%3E%3C/svg%3E\") no-repeat;bottom:100%;height:6px;left:50%;margin-bottom:5px;transform:translate3d(-50%,0,0);width:18px}.uppy-Root [role~=tooltip][data-microtip-position|=top]:after{bottom:100%;left:50%;margin-bottom:11px;transform:translate3d(-50%,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=top]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position|=top]:hover:before{transform:translate3d(-50%,-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:after{bottom:100%;transform:translate3d(calc(-100% + 16px),0,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:hover:after{transform:translate3d(calc(-100% + 16px),-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:after{bottom:100%;transform:translate3d(-16px,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:hover:after{transform:translate3d(-16px,-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M33.342 12H1.338c6 0 11.627-12.002 16.002-12.002S27.406 12 33.342 12'/%3E%3C/svg%3E\") no-repeat;bottom:auto;height:6px;left:50%;margin-bottom:0;margin-top:5px;top:100%;transform:translate3d(-50%,-10px,0);width:18px}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:after{left:50%;margin-top:11px;top:100%;transform:translate3d(-50%,-10px,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:hover:before{transform:translate3d(-50%,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:after{top:100%;transform:translate3d(calc(-100% + 16px),-10px,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:hover:after{transform:translate3d(calc(-100% + 16px),0,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:after{top:100%;transform:translate3d(-16px,-10px,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:hover:after{transform:translate3d(-16px,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=left]:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:before{bottom:auto;left:auto;right:100%;top:50%;transform:translate3d(10px,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=left]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M0 33.342V1.338c0 6 12.002 11.627 12.002 16.002S0 27.406 0 33.342'/%3E%3C/svg%3E\") no-repeat;height:18px;margin-bottom:0;margin-right:5px;width:6px}.uppy-Root [role~=tooltip][data-microtip-position=left]:after{margin-right:11px}.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:before{transform:translate3d(0,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=right]:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:before{bottom:auto;left:100%;top:50%;transform:translate3d(-10px,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=right]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M12 2.658v32.004c0-6-12.002-11.627-12.002-16.002S12 8.594 12 2.658'/%3E%3C/svg%3E\") no-repeat;height:18px;margin-bottom:0;margin-left:5px;width:6px}.uppy-Root [role~=tooltip][data-microtip-position=right]:after{margin-left:11px}.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:before{transform:translate3d(0,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-size=small]:after{white-space:normal;width:80px}.uppy-Root [role~=tooltip][data-microtip-size=medium]:after{white-space:normal;width:150px}.uppy-Root [role~=tooltip][data-microtip-size=large]:after{white-space:normal;width:260px}.uppy-StatusBar{background-color:#fff;color:#fff;display:flex;font-size:12px;font-weight:400;height:46px;line-height:40px;position:relative;transition:height .2s;z-index:1001}[data-uppy-theme=dark] .uppy-StatusBar{background-color:#1f1f1f}.uppy-StatusBar:before{background-color:#eaeaea;bottom:0;content:\"\";height:2px;left:0;position:absolute;right:0;top:0;width:100%}[data-uppy-theme=dark] .uppy-StatusBar:before{background-color:#757575}.uppy-StatusBar[aria-hidden=true]{height:0;overflow-y:hidden}.uppy-StatusBar.is-complete .uppy-StatusBar-progress{background-color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-progress{background-color:#e32437}.uppy-StatusBar.is-complete .uppy-StatusBar-statusIndicator{color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-statusIndicator{color:#e32437}.uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#fff;border-top:1px solid #eaeaea;height:65px}[data-uppy-theme=dark] .uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#1f1f1f;border-top:1px solid #333}.uppy-StatusBar-progress{background-color:#1269cf;height:2px;position:absolute;transition:background-color,width .3s ease-out;z-index:1001}.uppy-StatusBar-progress.is-indeterminate{animation:uppy-StatusBar-ProgressStripes 1s linear infinite;background-image:linear-gradient(45deg,#0000004d 25%,#0000 0,#0000 50%,#0000004d 0,#0000004d 75%,#0000 0,#0000);background-size:64px 64px}@keyframes uppy-StatusBar-ProgressStripes{0%{background-position:0 0}to{background-position:64px 0}}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-progress,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-progress{background-color:#f6a623}.uppy-StatusBar.is-waiting .uppy-StatusBar-progress{display:none}.uppy-StatusBar-content{align-items:center;color:#333;display:flex;height:100%;padding-inline-start:10px;position:relative;text-overflow:ellipsis;white-space:nowrap;z-index:1002}.uppy-size--md .uppy-StatusBar-content{padding-inline-start:15px}[data-uppy-theme=dark] .uppy-StatusBar-content{color:#eaeaea}.uppy-StatusBar-status{display:flex;flex-direction:column;font-weight:400;justify-content:center;line-height:1.4;padding-inline-end:.3em}.uppy-StatusBar-statusPrimary{display:flex;font-weight:500;line-height:1}.uppy-StatusBar-statusPrimary button.uppy-StatusBar-details{margin-left:5px}[data-uppy-theme=dark] .uppy-StatusBar-statusPrimary{color:#eaeaea}.uppy-StatusBar-statusSecondary{color:#757575;display:inline-block;font-size:11px;line-height:1.2;margin-top:1px;white-space:nowrap}[data-uppy-theme=dark] .uppy-StatusBar-statusSecondary{color:#bbb}.uppy-StatusBar-statusSecondaryHint{display:inline-block;line-height:1;margin-inline-end:5px;vertical-align:middle}.uppy-size--md .uppy-StatusBar-statusSecondaryHint{margin-inline-end:8px}.uppy-StatusBar-statusIndicator{color:#525252;margin-inline-end:7px;position:relative;top:1px}.uppy-StatusBar-statusIndicator svg{vertical-align:text-bottom}.uppy-StatusBar-actions{align-items:center;bottom:0;display:flex;inset-inline-end:10px;position:absolute;top:0;z-index:1004}.uppy-StatusBar.is-waiting .uppy-StatusBar-actions{background-color:#fafafa;height:100%;padding:0 15px;position:static;width:100%}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actions{background-color:#1f1f1f}.uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts{flex-direction:column;height:90px}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts{flex-direction:row;height:65px}.uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:column;justify-content:center}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:row;justify-content:normal}.uppy-StatusBar-actionCircleBtn{cursor:pointer;line-height:1;margin:3px;opacity:.9}.uppy-StatusBar-actionCircleBtn:focus{outline:none}.uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}.uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 3px #1269cf80}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar-actionCircleBtn:hover{opacity:1}.uppy-StatusBar-actionCircleBtn:focus{border-radius:50%}.uppy-StatusBar-actionCircleBtn svg{vertical-align:bottom}.uppy-StatusBar-actionBtn{color:#1269cf;display:inline-block;font-size:10px;line-height:inherit;vertical-align:middle}.uppy-size--md .uppy-StatusBar-actionBtn{font-size:11px}.uppy-StatusBar-actionBtn--disabled{opacity:.4}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--disabled{opacity:.7}.uppy-StatusBar-actionBtn--retry{background-color:#ff4b23;border-radius:8px;color:#fff;height:16px;line-height:1;margin-inline-end:6px;padding:1px 6px 3px 18px;position:relative}.uppy-StatusBar-actionBtn--retry:focus{outline:none}.uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 3px #1269cf80}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar-actionBtn--retry:hover{background-color:#f92d00}.uppy-StatusBar-actionBtn--retry svg{inset-inline-start:6px;position:absolute;top:3px}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{background-color:#1bb240;color:#fff;font-size:14px;line-height:1;padding:15px 10px;width:100%}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#189c38}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{background-color:#1c8b37}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#18762f}.uppy-size--md .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{padding:13px 22px;width:auto}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{background-color:#1bb240;cursor:not-allowed}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{background-color:#1c8b37}.uppy-StatusBar:not(.is-waiting) .uppy-StatusBar-actionBtn--upload{background-color:initial;color:#1269cf}.uppy-StatusBar-actionBtn--uploadNewlyAdded{border-radius:3px;padding-inline-end:3px;padding-bottom:1px;padding-inline-start:3px}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}.uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 3px #1269cf80}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-actionBtn--uploadNewlyAdded,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-actionBtn--uploadNewlyAdded{display:none}.uppy-StatusBar-actionBtn--done{border-radius:3px;line-height:1;padding:7px 8px}.uppy-StatusBar-actionBtn--done:focus{outline:none}.uppy-StatusBar-actionBtn--done::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--done:hover{color:#0e51a0}.uppy-StatusBar-actionBtn--done:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done:focus{background-color:#333}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done{color:#02baf2}.uppy-size--md .uppy-StatusBar-actionBtn--done{font-size:14px}.uppy-StatusBar-serviceMsg{color:#000;font-size:11px;line-height:1.1;padding-left:10px}.uppy-size--md .uppy-StatusBar-serviceMsg{font-size:14px;padding-left:15px}[data-uppy-theme=dark] .uppy-StatusBar-serviceMsg{color:#eaeaea}.uppy-StatusBar-serviceMsg-ghostsIcon{left:6px;opacity:.5;position:relative;top:2px;vertical-align:text-bottom;width:10px}.uppy-size--md .uppy-StatusBar-serviceMsg-ghostsIcon{left:10px;top:1px;width:15px}.uppy-StatusBar-details{appearance:none;background-color:#939393;border-radius:50%;color:#fff;cursor:help;display:inline-block;font-size:10px;font-weight:600;height:13px;inset-inline-start:2px;line-height:12px;position:relative;text-align:center;top:0;vertical-align:middle;width:13px}.uppy-StatusBar-details:after{line-height:1.3;word-wrap:break-word}.uppy-StatusBar-spinner{animation-duration:1s;animation-iteration-count:infinite;animation-name:uppy-StatusBar-spinnerAnimation;animation-timing-function:linear;fill:#1269cf;margin-inline-end:10px}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-spinner,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-spinner{fill:#f6a623}@keyframes uppy-StatusBar-spinnerAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.uppy-transition-slideDownUp-enter{opacity:.01;transform:translate3d(0,-105%,0);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-enter.uppy-transition-slideDownUp-enter-active{opacity:1;transform:translateZ(0)}.uppy-transition-slideDownUp-leave{opacity:1;transform:translateZ(0);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-leave.uppy-transition-slideDownUp-leave-active{opacity:.01;transform:translate3d(0,-105%,0)}@keyframes uppy-Dashboard-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes uppy-Dashboard-fadeOut{0%{opacity:1}to{opacity:0}}@keyframes uppy-Dashboard-slideDownAndFadeIn{0%{opacity:0;transform:translate3d(-50%,-70%,0)}to{opacity:1;transform:translate3d(-50%,-50%,0)}}@keyframes uppy-Dashboard-slideDownAndFadeIn--small{0%{opacity:0;transform:translate3d(0,-20%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes uppy-Dashboard-slideUpFadeOut{0%{opacity:1;transform:translate3d(-50%,-50%,0)}to{opacity:0;transform:translate3d(-50%,-70%,0)}}@keyframes uppy-Dashboard-slideUpFadeOut--small{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20%,0)}}.uppy-Dashboard--modal{z-index:1001}.uppy-Dashboard--modal[aria-hidden=true]{display:none}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideDownAndFadeIn--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideDownAndFadeIn .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-overlay{animation:uppy-Dashboard-fadeIn .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideUpFadeOut--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideUpFadeOut .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-overlay{animation:uppy-Dashboard-fadeOut .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard-isFixed{height:100vh;overflow:hidden}.uppy-Dashboard--modal .uppy-Dashboard-overlay{background-color:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1001}.uppy-Dashboard-inner{background-color:#f4f4f4;border:1px solid #eaeaea;border-radius:5px;max-height:100%;max-width:100%;outline:none;position:relative}.uppy-size--md .uppy-Dashboard-inner{min-height:auto}@media only screen and (min-width:820px){.uppy-Dashboard-inner{height:500px;width:650px}}.uppy-Dashboard--modal .uppy-Dashboard-inner{z-index:1002}[data-uppy-theme=dark] .uppy-Dashboard-inner{background-color:#1f1f1f}.uppy-Dashboard--isDisabled .uppy-Dashboard-inner{cursor:not-allowed}.uppy-Dashboard-innerWrap{border-radius:5px;display:flex;flex-direction:column;height:100%;opacity:0;overflow:hidden;position:relative}.uppy-Dashboard--isInnerWrapVisible .uppy-Dashboard-innerWrap{opacity:1}.uppy-Dashboard--isDisabled .uppy-Dashboard-innerWrap{cursor:not-allowed;filter:grayscale(100%);opacity:.6;user-select:none}.uppy-Dashboard--isDisabled .uppy-ProviderIconBg{fill:#9f9f9f}.uppy-Dashboard--isDisabled [aria-disabled],.uppy-Dashboard--isDisabled [disabled]{cursor:not-allowed;pointer-events:none}.uppy-Dashboard--modal .uppy-Dashboard-inner{border:none;bottom:15px;left:15px;position:fixed;right:15px;top:35px}@media only screen and (min-width:820px){.uppy-Dashboard--modal .uppy-Dashboard-inner{box-shadow:0 5px 15px 4px #00000026;left:50%;right:auto;top:50%;transform:translate(-50%,-50%)}}.uppy-Dashboard-close{color:#ffffffe6;cursor:pointer;display:block;font-size:27px;inset-inline-end:-2px;position:absolute;top:-33px;z-index:1005}.uppy-Dashboard-close:focus{outline:none}.uppy-Dashboard-close::-moz-focus-inner{border:0}.uppy-Dashboard-close:focus{color:#6eabf2}@media only screen and (min-width:820px){.uppy-Dashboard-close{font-size:35px;inset-inline-end:-35px;top:-10px}}.uppy-Dashboard-serviceMsg{background-color:#fffbf7;border-bottom:1px solid #edd4b9;border-top:1px solid #edd4b9;font-size:12px;font-weight:500;line-height:1.3;padding:12px 0;position:relative;top:-1px;z-index:1004}.uppy-size--md .uppy-Dashboard-serviceMsg{font-size:14px;line-height:1.4}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg{background-color:#1f1f1f;border-bottom:1px solid #333;border-top:1px solid #333;color:#eaeaea}.uppy-Dashboard-serviceMsg-title{display:block;line-height:1;margin-bottom:4px;padding-left:42px}.uppy-Dashboard-serviceMsg-text{padding:0 15px}.uppy-Dashboard-serviceMsg-actionBtn{color:#1269cf;font-size:inherit;font-weight:inherit;vertical-align:initial}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg-actionBtn{color:#02baf2e6}.uppy-Dashboard-serviceMsg-icon{left:15px;position:absolute;top:10px}.uppy-Dashboard-AddFiles{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;text-align:center}[data-uppy-drag-drop-supported=true] .uppy-Dashboard-AddFiles{border:1px dashed #dfdfdf;border-radius:3px;height:calc(100% - 14px);margin:7px}.uppy-Dashboard-AddFilesPanel .uppy-Dashboard-AddFiles{border:none;height:calc(100% - 54px)}.uppy-Dashboard--modal .uppy-Dashboard-AddFiles{border-color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles{border-color:#757575}.uppy-Dashboard-AddFiles-info{display:none;margin-top:auto;padding-bottom:15px;padding-top:15px}.uppy-size--height-md .uppy-Dashboard-AddFiles-info{display:block}.uppy-size--md .uppy-Dashboard-AddFiles-info{bottom:25px;left:0;padding-bottom:0;padding-top:30px;position:absolute;right:0}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-info{margin-top:0}.uppy-Dashboard-browse{color:#1269cf;cursor:pointer}.uppy-Dashboard-browse:focus{outline:none}.uppy-Dashboard-browse::-moz-focus-inner{border:0}.uppy-Dashboard-browse:focus,.uppy-Dashboard-browse:hover{border-bottom:1px solid #1269cf}[data-uppy-theme=dark] .uppy-Dashboard-browse{color:#02baf2e6}[data-uppy-theme=dark] .uppy-Dashboard-browse:focus,[data-uppy-theme=dark] .uppy-Dashboard-browse:hover{border-bottom:1px solid #02baf2}.uppy-Dashboard-browseBtn{display:block;font-size:14px;font-weight:500;margin-bottom:5px;margin-top:8px;width:100%}.uppy-size--md .uppy-Dashboard-browseBtn{font-size:15px;margin:15px auto;padding:13px 44px;width:auto}.uppy-Dashboard-AddFiles-list{display:flex;flex:1;flex-direction:column;margin-top:2px;overflow-y:auto;padding:2px 0;width:100%;-webkit-overflow-scrolling:touch}.uppy-size--md .uppy-Dashboard-AddFiles-list{flex:none;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-top:15px;max-width:600px;overflow-y:visible;padding-top:0}.uppy-DashboardTab{border-bottom:1px solid #eaeaea;text-align:center;width:100%}[data-uppy-theme=dark] .uppy-DashboardTab{border-bottom:1px solid #333}.uppy-size--md .uppy-DashboardTab{border-bottom:none;display:inline-block;margin-bottom:10px;width:auto}.uppy-DashboardTab-btn{align-items:center;-webkit-appearance:none;appearance:none;background-color:initial;color:#525252;cursor:pointer;flex-direction:row;height:100%;justify-content:left;padding:12px 15px;width:100%}.uppy-DashboardTab-btn:focus{outline:none}.uppy-size--md .uppy-DashboardTab-btn{border-radius:5px;flex-direction:column;margin-inline-end:1px;padding:10px 3px;width:86px}[data-uppy-theme=dark] .uppy-DashboardTab-btn{color:#eaeaea}.uppy-DashboardTab-btn::-moz-focus-inner{border:0}.uppy-DashboardTab-btn:hover{background-color:#e9ecef}[data-uppy-theme=dark] .uppy-DashboardTab-btn:hover{background-color:#333}.uppy-DashboardTab-btn:active,.uppy-DashboardTab-btn:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-DashboardTab-btn:active,[data-uppy-theme=dark] .uppy-DashboardTab-btn:focus{background-color:#525252}.uppy-DashboardTab-btn svg{display:inline-block;max-height:100%;max-width:100%;overflow:hidden;transition:transform .15s ease-in-out;vertical-align:text-top}.uppy-DashboardTab-inner{align-items:center;background-color:#fff;border-radius:8px;box-shadow:0 1px 1px 0 #0000001a,0 1px 2px 0 #0000001a,0 2px 3px 0 #00000005;display:flex;height:32px;justify-content:center;margin-inline-end:10px;width:32px}.uppy-size--md .uppy-DashboardTab-inner{margin-inline-end:0}[data-uppy-theme=dark] .uppy-DashboardTab-inner{background-color:#323232;box-shadow:0 1px 1px 0 #0003,0 1px 2px 0 #0003,0 2px 3px 0 #00000014}.uppy-DashboardTab-name{font-size:14px;font-weight:400}.uppy-size--md .uppy-DashboardTab-name{font-size:12px;line-height:15px;margin-bottom:0;margin-top:8px}.uppy-DashboardTab-iconMyDevice{color:#1269cf}[data-uppy-theme=dark] .uppy-DashboardTab-iconMyDevice{color:#02baf2}.uppy-DashboardTab-iconBox{color:#0061d5}[data-uppy-theme=dark] .uppy-DashboardTab-iconBox{color:#eaeaea}.uppy-DashboardTab-iconDropbox{color:#0061fe}[data-uppy-theme=dark] .uppy-DashboardTab-iconDropbox{color:#eaeaea}.uppy-DashboardTab-iconUnsplash{color:#111}[data-uppy-theme=dark] .uppy-DashboardTab-iconUnsplash{color:#eaeaea}.uppy-DashboardTab-iconWebdav{color:#111}[data-uppy-theme=dark] .uppy-DashboardTab-iconWebdav{color:#eaeaea}.uppy-DashboardTab-iconScreenRec{color:#2c3e50}[data-uppy-theme=dark] .uppy-DashboardTab-iconScreenRec{color:#eaeaea}.uppy-DashboardTab-iconAudio{color:#8030a3}[data-uppy-theme=dark] .uppy-DashboardTab-iconAudio{color:#bf6ee3}.uppy-Dashboard-input{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px;z-index:-1}.uppy-DashboardContent-bar{align-items:center;background-color:#fafafa;border-bottom:1px solid #eaeaea;display:flex;flex-shrink:0;height:40px;justify-content:space-between;padding:0 10px;position:relative;width:100%;z-index:1004}.uppy-size--md .uppy-DashboardContent-bar{height:50px;padding:0 15px}[data-uppy-theme=dark] .uppy-DashboardContent-bar{background-color:#1f1f1f;border-bottom:1px solid #333}.uppy-DashboardContent-title{font-size:12px;font-weight:500;left:0;line-height:40px;margin:auto;max-width:170px;overflow-x:hidden;position:absolute;right:0;text-align:center;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%}.uppy-size--md .uppy-DashboardContent-title{font-size:14px;line-height:50px;max-width:300px}[data-uppy-theme=dark] .uppy-DashboardContent-title{color:#eaeaea}.uppy-DashboardContent-back,.uppy-DashboardContent-save{-webkit-appearance:none;background:none;border:0;border-radius:3px;color:inherit;color:#1269cf;cursor:pointer;font-family:inherit;font-size:inherit;font-size:12px;font-weight:400;line-height:1;margin:0;margin-inline-start:-6px;padding:7px 6px}.uppy-DashboardContent-back:focus,.uppy-DashboardContent-save:focus{outline:none}.uppy-DashboardContent-back::-moz-focus-inner,.uppy-DashboardContent-save::-moz-focus-inner{border:0}.uppy-DashboardContent-back:hover,.uppy-DashboardContent-save:hover{color:#0e51a0}.uppy-DashboardContent-back:focus,.uppy-DashboardContent-save:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-DashboardContent-back:focus,[data-uppy-theme=dark] .uppy-DashboardContent-save:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-back,.uppy-size--md .uppy-DashboardContent-save{font-size:14px}[data-uppy-theme=dark] .uppy-DashboardContent-back,[data-uppy-theme=dark] .uppy-DashboardContent-save{color:#02baf2}.uppy-DashboardContent-addMore{-webkit-appearance:none;background:none;border:0;border-radius:3px;color:inherit;color:#1269cf;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:500;height:29px;line-height:1;margin:0;margin-inline-end:-5px;padding:7px 8px;width:29px}.uppy-DashboardContent-addMore:focus{outline:none}.uppy-DashboardContent-addMore::-moz-focus-inner{border:0}.uppy-DashboardContent-addMore:hover{color:#0e51a0}.uppy-DashboardContent-addMore:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-DashboardContent-addMore:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-addMore{font-size:14px;height:auto;margin-inline-end:-8px;width:auto}[data-uppy-theme=dark] .uppy-DashboardContent-addMore{color:#02baf2}.uppy-DashboardContent-addMore svg{margin-inline-end:4px;vertical-align:initial}.uppy-size--md .uppy-DashboardContent-addMore svg{height:11px;width:11px}.uppy-DashboardContent-addMoreCaption{display:none}.uppy-size--md .uppy-DashboardContent-addMoreCaption{display:inline}.uppy-DashboardContent-panel{background-color:#f5f5f5;flex:1}.uppy-Dashboard-AddFilesPanel,.uppy-DashboardContent-panel{border-radius:5px;bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:1005}.uppy-Dashboard-AddFilesPanel{background:#fafafa;background:linear-gradient(0deg,#fafafa 35%,#fafafad9);box-shadow:0 0 10px 5px #00000026}[data-uppy-theme=dark] .uppy-Dashboard-AddFilesPanel{background-color:#333;background-image:linear-gradient(0deg,#1f1f1f 35%,#1f1f1fd9)}.uppy-Dashboard--isAddFilesPanelVisible .uppy-Dashboard-files{filter:blur(2px)}.uppy-Dashboard-progress{bottom:0;height:12%;left:0;position:absolute;width:100%}.uppy-Dashboard-progressBarContainer.is-active{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1004}.uppy-Dashboard-filesContainer{flex:1;margin:0;overflow-y:hidden;position:relative}.uppy-Dashboard-filesContainer:after{clear:both;content:\"\";display:table}.uppy-Dashboard-files{flex:1;margin:0;overflow-y:auto;padding:0 0 10px;-webkit-overflow-scrolling:touch}.uppy-size--md .uppy-Dashboard-files{padding-top:10px}.uppy-Dashboard--singleFile .uppy-Dashboard-filesInner{align-items:center;display:flex;height:100%;justify-content:center}.uppy-Dashboard-dropFilesHereHint{align-items:center;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath fill='%231269CF' d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0zm7.707 19.293a.999.999 0 1 1-1.414 1.414L25 16.414V34a1 1 0 1 1-2 0V16.414l-5.293 5.293a.999.999 0 1 1-1.414-1.414l7-7a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\");background-position:50% 50%;background-repeat:no-repeat;border:1px dashed #1269cf;border-radius:3px;bottom:7px;color:#757575;display:flex;font-size:16px;justify-content:center;left:7px;padding-top:90px;position:absolute;right:7px;text-align:center;top:7px;visibility:hidden;z-index:2000}[data-uppy-theme=dark] .uppy-Dashboard-dropFilesHereHint{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath fill='%2302BAF2' d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0zm7.707 19.293a.999.999 0 1 1-1.414 1.414L25 16.414V34a1 1 0 1 1-2 0V16.414l-5.293 5.293a.999.999 0 1 1-1.414-1.414l7-7a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\");border-color:#02baf2;color:#bbb}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-dropFilesHereHint{pointer-events:none;visibility:visible}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-files,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-progressindicators,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-serviceMsg,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-DashboardContent-bar{opacity:.15}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-AddFiles{opacity:.03}.uppy-Dashboard-AddFiles-title{color:#000;font-size:17px;font-weight:500;line-height:1.35;margin-bottom:5px;margin-top:15px;padding:0 15px;text-align:inline-start;width:100%}.uppy-size--md .uppy-Dashboard-AddFiles-title{font-size:21px;font-weight:400;margin-top:5px;max-width:480px;padding:0 35px;text-align:center}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-title{text-align:center}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles-title{color:#eaeaea}.uppy-Dashboard-AddFiles-title button{font-weight:500}.uppy-size--md .uppy-Dashboard-AddFiles-title button{font-weight:400}.uppy-Dashboard-note{color:#757575;font-size:14px;line-height:1.25;margin:auto;max-width:350px;padding:0 15px;text-align:center}.uppy-size--md .uppy-Dashboard-note{line-height:1.35;max-width:600px}[data-uppy-theme=dark] .uppy-Dashboard-note{color:#cfcfcf}a.uppy-Dashboard-poweredBy{color:#939393;display:inline-block;font-size:11px;margin-top:8px;text-align:center;text-decoration:none}.uppy-Dashboard-poweredByIcon{margin-left:1px;margin-right:1px;opacity:.9;position:relative;top:1px;vertical-align:text-top;fill:none;stroke:#939393}.uppy-Dashboard-Item-previewIcon{height:25px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:25px;z-index:100}.uppy-size--md .uppy-Dashboard-Item-previewIcon{height:38px;width:38px}.uppy-Dashboard-Item-previewIcon svg{height:100%;width:100%}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-previewIcon{height:100%;max-height:60%;max-width:60%;width:100%}.uppy-Dashboard-Item-previewIconWrap{height:76px;max-height:75%;position:relative}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-previewIconWrap{height:100%;width:100%}.uppy-Dashboard-Item-previewIconBg{filter:drop-shadow(rgba(0,0,0,.1) 0 1px 1px);height:100%;width:100%}.uppy-Dashboard-upload{height:50px;position:relative;width:50px}.uppy-size--md .uppy-Dashboard-upload{height:60px;width:60px}.uppy-Dashboard-upload .uppy-c-icon{position:relative;top:1px;width:50%}.uppy-Dashboard-uploadCount{background-color:#1bb240;border-radius:50%;color:#fff;font-size:8px;height:16px;inset-inline-end:-12px;line-height:16px;position:absolute;top:-12px;width:16px}.uppy-size--md .uppy-Dashboard-uploadCount{font-size:9px;height:18px;line-height:18px;width:18px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3Byb3ZpZGVyLXZpZXdzL3NyYy9zdHlsZS5zY3NzIiwic3R5bGUuY3NzIiwiLi4vLi4vcHJvdmlkZXItdmlld3Mvc3JjL3N0eWxlL3VwcHktUHJvdmlkZXJCcm93c2VyLXZpZXdUeXBlLS1ncmlkLnNjc3MiLCIuLi8uLi9jb3JlL3NyYy9fdmFyaWFibGVzLnNjc3MiLCIuLi8uLi9jb3JlL3NyYy9fdXRpbHMuc2NzcyIsIi4uLy4uL3Byb3ZpZGVyLXZpZXdzL3NyYy9zdHlsZS91cHB5LVByb3ZpZGVyQnJvd3Nlci12aWV3VHlwZS0tbGlzdC5zY3NzIiwiLi4vLi4vcHJvdmlkZXItdmlld3Mvc3JjL3N0eWxlL3VwcHktUHJvdmlkZXJCcm93c2VySXRlbS1jaGVja2JveC5zY3NzIiwiLi4vLi4vcHJvdmlkZXItd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LHFDQUVFLFdBQUEsQ0FDQSxjQUFBLENBRkEsaUJoQmtpRUYsQ2dCOWhFRSxpRUFFRSxXQUFBLENBREEsVWhCaWlFSixDZ0I1aEVBLG1DQUdFLDRDQUFBLENBREEsV0FBQSxDQURBLFVoQmlpRUYsQ2dCNWhFQSx1QkFHRSxXQUFBLENBRkEsaUJBQUEsQ0FDQSxVaEJnaUVGLENnQjdoRUUsc0NBRUUsV0FBQSxDQURBLFVoQmdpRUosQ2dCM2hFQSxvQ0FDRSxpQkFBQSxDQUNBLE9BQUEsQ0FDQSxTaEI4aEVGLENnQjNoRUEsNEJBUUUsd0Jkbi9CTSxDY28vQk4saUJBQUEsQ0FKQSxVZHQvQk0sQ2N1L0JOLGFBQUEsQ0FGQSxXQUFBLENBTUEsc0JBQUEsQ0FIQSxnQkFBQSxDQU5BLGlCQUFBLENBQ0EsU0FBQSxDQUNBLFVoQnFpRUYsQ2dCNWhFRSwyQ0FHRSxhQUFBLENBREEsV0FBQSxDQUVBLGdCQUFBLENBSEEsVWhCaWlFSiIsImZpbGUiOiJzdHlsZS5taW4uY3NzIn0= */\n.uppy-ImageCropper-range{-webkit-appearance:none;background:#0000;margin:8px 0;width:100%}.uppy-ImageCropper-range::-moz-focus-outer{border:0}.uppy-ImageCropper-range:focus{outline:0}.uppy-ImageCropper-range:focus::-webkit-slider-runnable-track{background:#fff3}.uppy-ImageCropper-range:focus::-ms-fill-lower,.uppy-ImageCropper-range:focus::-ms-fill-upper{background:#fff3}.uppy-ImageCropper-range::-webkit-slider-runnable-track{background:#fff3;border:0 solid #0000;border-radius:5px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00;cursor:default;height:4px;transition:all .2s ease;width:100%}.uppy-ImageCropper-range::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:0 solid #0000;border-radius:9px;box-shadow:0 0 4px #0003,0 0 0 #0d0d0d33;box-sizing:border-box;cursor:default;height:16px;margin-top:-6px;width:16px}.uppy-ImageCropper-range::-moz-range-track{background:#fff3;border:0 solid #0000;border-radius:5px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00;cursor:default;height:2px;transition:all .2s ease;width:100%}.uppy-ImageCropper-range::-moz-range-thumb{background:#fff;border:0 solid #0000;border-radius:9px;box-shadow:0 0 4px #0003,0 0 0 #0d0d0d33;box-sizing:border-box;cursor:default;height:16px;width:16px}.uppy-ImageCropper-range::-ms-track{background:#0000;border-color:#0000;border-width:8px 0;color:#0000;cursor:default;height:4px;transition:all .2s ease;width:100%}.uppy-ImageCropper-range::-ms-fill-lower{background:#f2f2f233;border:0 solid #0000;border-radius:10px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00}.uppy-ImageCropper-range::-ms-fill-upper{background:#fff3;border:0 solid #0000;border-radius:10px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00}.uppy-ImageCropper-range::-ms-thumb{background:#fff;border:0 solid #0000;border-radius:9px;box-shadow:0 0 4px #0003,0 0 0 #0d0d0d33;box-sizing:border-box;cursor:default;height:16px;margin-top:1px;width:16px}.uppy-ImageCropper-range:disabled::-moz-range-thumb,.uppy-ImageCropper-range:disabled::-ms-fill-lower,.uppy-ImageCropper-range:disabled::-ms-fill-upper,.uppy-ImageCropper-range:disabled::-ms-thumb,.uppy-ImageCropper-range:disabled::-webkit-slider-runnable-track,.uppy-ImageCropper-range:disabled::-webkit-slider-thumb{cursor:not-allowed}\n\n/*!\n * Cropper.js v1.5.6\n * https://fengyuanchen.github.io/cropperjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2019-10-04T04:33:44.164Z\n */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.3333333333%;left:0;top:33.3333333333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.3333333333%;top:0;width:33.3333333333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:\" \";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:\" \";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC\")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.uppy-ImageCropper{display:flex;flex-direction:column;height:100%;width:100%}.uppy-ImageCropper-container{flex-grow:1}.uppy-ImageCropper-image{display:block;max-height:400px;max-width:100%}.uppy-ImageCropper-controls{align-items:center;background-color:#0009;border-radius:5px;bottom:15px;color:#fff;display:flex;justify-content:center;left:50%;padding-top:38px;position:absolute;transform:translateX(-50%)}.uppy-size--md .uppy-ImageCropper-controls{padding-top:0}.uppy-ImageCropper-controls button{border-radius:5px;height:35px;width:35px}.uppy-ImageCropper-controls button svg{padding:3px}.uppy-size--md .uppy-ImageCropper-controls button{height:40px;width:40px}.uppy-size--md .uppy-ImageCropper-controls button svg{padding:1px}.uppy-ImageCropper-controls button:hover{background-color:#ffffff80}.uppy-ImageCropper-controls button:focus{background-color:#ffffff80;outline:none}.uppy-Dashboard:not(.uppy-size--md) .uppy-ImageCropper-rangeWrapper{height:38px;left:10px;position:absolute!important;right:10px;top:0}.uppy-size--md .uppy-ImageCropper-range{margin-left:5px;margin-right:5px;width:180px}.uppy-ImageCropper .cropper-point{height:8px;width:8px}.uppy-ImageCropper .cropper-view-box{background:repeating-conic-gradient(#bdbdbd33 0 25%,#fff 0 50%) 50%/16px 16px;outline:2px solid #39f}[data-uppy-theme=dark] .uppy-ImageCropper .cropper-view-box{background:repeating-conic-gradient(#2b2a2a 0 25%,#000 0 50%) 50%/16px 16px}.uppy-ImageCropper .cropper-modal{background-color:#fff;opacity:.9}[data-uppy-theme=dark] .uppy-ImageCropper .cropper-modal{background-color:#000;opacity:.7}.uppy-ImageCropper .cropper-face{opacity:0}.uppy-ImageCropper-range::-moz-range-track{height:4px}.uppy-ImageCropper-range:focus::-webkit-slider-runnable-track,.uppy-ImageCropper-range:hover::-webkit-slider-runnable-track{background:#ffffff80}.uppy-ImageCropper-range:focus::-ms-fill-lower,.uppy-ImageCropper-range:focus::-ms-fill-upper,.uppy-ImageCropper-range:hover::-ms-fill-lower,.uppy-ImageCropper-range:hover::-ms-fill-upper{background:#ffffff80}.uppy-ImageCropper-range:focus::-moz-range-track,.uppy-ImageCropper-range:hover::-moz-range-track{background:#ffffff80}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbnB1dHJhbmdlLnNjc3MiLCJzdHlsZS5jc3MiLCIuLi9zcmMvc3R5bGUuc2NzcyIsIi4uL3NyYy9jcm9wcGVyLnNjc3MiLCIuLi8uLi9jb3JlL3NyYy9fdmFyaWFibGVzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBNkRBLHlCQUNFLHVCQUFBLENBQ0EsZ0JBQUEsQ0FDQSxZQUFBLENBQ0EsVUM1REYsQ0Q4REUsMkNBQ0UsUUM1REosQ0QrREUsK0JBQ0UsU0M3REosQ0QrREksOERBQ0UsZ0JDN0ROLENEb0VJLDh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a0RBRUUsV0FBQSxDQURBLFVEdVhKLENDcFhJLHNEQUNFLFdEc1hOLENDbFhFLHlDQUNFLDBCRG9YSixDQ2pYRSx5Q0FDRSwwQkFBQSxDQUNBLFlEbVhKLENDL1dBLG9FQUtFLFdBQUEsQ0FEQSxTQUFBLENBSEEsMkJBQUEsQ0FFQSxVQUFBLENBREEsS0RxWEYsQ0MvV0Esd0NBR0UsZUFBQSxDQURBLGdCQUFBLENBREEsV0RvWEYsQ0M3V0Esa0NBRUUsVUFBQSxDQURBLFNEaVhGLENDN1dBLHFDQU1FLDZFQUFBLENBTEEsc0JEaVhGLENDdldFLDREQUNFLDJFRHlXSixDQ3BXQSxrQ0FFRSxxQkFBQSxDQURBLFVEd1dGLENDcldFLHlEQUVFLHFCQUFBLENBREEsVUR3V0osQ0NuV0EsaUNBQ0UsU0RzV0YsQ0NoV0UsMkNBR0UsVURpV0osQ0M1VkksNEhBQ0Usb0JEOFZOLENDelZJLDRMQUNFLG9CRDhWTixDQzVWSSxrR0FDRSxvQkQ4Vk4iLCJmaWxlIjoic3R5bGUubWluLmNzcyJ9 */\n.uppy-Webcam-container{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.uppy-Webcam-videoContainer{background-color:#333;flex:1;flex-grow:1;overflow:hidden;position:relative;text-align:center;width:100%}.uppy-Webcam-video{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.uppy-Webcam-video--mirrored{transform:scaleX(-1)}.uppy-Webcam-imageContainer{height:100%;position:relative;width:100%}.uppy-Webcam-image{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.uppy-Webcam-image--mirrored{transform:scaleX(-1)}.uppy-Webcam-footer{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;min-height:75px;padding:20px;width:100%}.uppy-Webcam-videoSourceContainer{flex-grow:0;width:100%}.uppy-size--lg .uppy-Webcam-videoSourceContainer{margin:0;width:33%}.uppy-Webcam-videoSource-select{background-image:url(\"data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E\");background-position:right .4em top 50%,0 0;background-repeat:no-repeat;background-size:.65em auto,100%;border:1px solid #757575;display:block;font-size:16px;line-height:1.2;margin:auto auto 10px;max-width:90%;padding:.4em 1em .3em .4em;text-overflow:ellipsis;white-space:nowrap;width:100%}.uppy-size--lg .uppy-Webcam-videoSource-select{font-size:14px;margin-bottom:0}.uppy-Webcam-videoSource-select::-ms-expand{display:none}.uppy-Webcam-buttonContainer{margin-left:25%;text-align:center;width:50%}.uppy-size--lg .uppy-Webcam-buttonContainer{margin-left:0;width:34%}.uppy-Webcam-recordingLength{color:#757575;flex-grow:0;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;text-align:right;width:25%}.uppy-size--lg .uppy-Webcam-recordingLength{width:33%}.uppy-Webcam-button{background-color:#e32437;border-radius:50%;color:#fff;cursor:pointer;height:45px;transition:all .3s;width:45px}.uppy-Webcam-button:focus{outline:none}.uppy-Webcam-button::-moz-focus-inner{border:0}.uppy-Webcam-button:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-Webcam-button:hover{background-color:#d31b2d}[data-uppy-theme=dark] .uppy-Webcam-button:focus{outline:none}[data-uppy-theme=dark] .uppy-Webcam-button::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-Webcam-button:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-Webcam-button--submit{background-color:#1269cf;margin:0 12px}.uppy-Webcam-button--submit:hover{background-color:#105db8}.uppy-Webcam-button svg{display:inline-block;height:30px;max-height:100%;max-width:100%;overflow:hidden;vertical-align:text-top;width:30px;fill:currentColor}.uppy-size--md .uppy-Webcam-button{height:60px;width:60px}.uppy-Webcam-button--picture{margin-right:12px}.uppy-Webcam-permissons{align-items:center;display:flex;flex:1;flex-flow:column wrap;height:100%;justify-content:center;padding:15px}.uppy-Webcam-permissons p{color:#939393;line-height:1.3;line-height:1.45;margin:0;max-width:450px;text-align:center}.uppy-Webcam-permissonsIcon svg{color:#bbb;height:75px;margin-bottom:30px;width:100px}.uppy-Webcam-title{color:#333;font-size:22px;font-weight:400;line-height:1.35;margin:0 0 5px;max-width:500px;padding:0 15px;text-align:center}[data-uppy-theme=dark] .uppy-Webcam-title{color:#eaeaea}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zdHlsZS5zY3NzIiwic3R5bGUuY3NzIiwiLi4vLi4vY29yZS9zcmMvX3ZhcmlhYmxlcy5zY3NzIiwiLi4vLi4vY29yZS9zcmMvX3V0aWxzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS0EsdUJBR0Usa0JBQUEsQ0FGQSxZQUFBLENBQ0EscUJBQUEsQ0FJQSxXQUFBLENBRkEsc0JBQUEsQ0FDQSxVQ0hGLENET0EsNEJBT0UscUJFV1MsQ0ZoQlQsTUFBQSxDQUNBLFdBQUEsQ0FFQSxlQUFBLENBSkEsaUJBQUEsQ0FLQSxpQkFBQSxDQUZBLFVDREYsQ0RPQSxtQkFJRSxRQUFBLENBQ0EsTUFBQSxDQUdBLFdBQUEsQ0FEQSxlQUFBLENBREEsY0FBQSxDQUxBLGlCQUFBLENBRUEsT0FBQSxDQURBLEtDRUYsQ0RPQSw2QkFDRSxvQkNKRixDRE9BLDRCQUd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UsWUZtRkosQ0VoRkUsNkRBQ0UsUUZrRkosQ0U3RkUsaURBQ0UsOEJGK0ZKLENERUEsNEJBRUUsd0JFM0lLLENGMElMLGFDRUYsQ0RDRSxrQ0FDRSx3QkNDSixDREdBLHdCQUNFLG9CQUFBLENBR0EsV0FBQSxDQUNBLGVBQUEsQ0FGQSxjQUFBLENBR0EsZUFBQSxDQUNBLHVCQUFBLENBTEEsVUFBQSxDQU1BLGlCQ0FGLENER0EsbUNBRUUsV0FBQSxDQURBLFVDQ0YsQ0RHQSw2QkFDRSxpQkNBRixDREdBLHdCQUlFLGtCQUFBLENBSEEsWUFBQSxDQUNBLE1BQUEsQ0FDQSxxQkFBQSxDQUdBLFdBQUEsQ0FEQSxzQkFBQSxDQUVBLFlDQUYsQ0RHQSwwQkFHRSxhRXhLUyxDRnlLVCxlQUFBLENBQ0EsZ0JBQUEsQ0FIQSxRQUFBLENBREEsZUFBQSxDQUtBLGlCQ0FGLENER0EsZ0NBSUUsVUVuTFMsQ0ZpTFQsV0FBQSxDQUNBLGtCQUFBLENBRkEsV0NHRixDREdBLG1CQUtFLFVFdkxTLENGeUxULGNBQUEsQ0FEQSxlQUFBLENBRUEsZ0JBQUEsQ0FMQSxjQUFBLENBRkEsZUFBQSxDQUdBLGNBQUEsQ0FLQSxpQkNBRixDREVFLDBDQUNFLGFDQUoiLCJmaWxlIjoic3R5bGUubWluLmNzcyJ9 */\n\n.container {\n aspect-ratio: 4 / 3;\n max-width: var(--max-width);\n max-height: var(--max-height);\n height: var(--height);\n width: var(--width);\n box-sizing: border-box;\n padding: 0;\n .uppy-Root,\n .uppy-Dashboard {\n height: 100%;\n }\n}\n";const nh=class{constructor(t){e(this,t);this.accept=["image/*"]}componentDidRender(){const e=(new Hl).use(hu,{inline:true,target:this.uppy,theme:"auto"}).use(Nu).use(rh,{modes:["picture"]});e.setOptions({restrictions:{allowedFileTypes:this.accept}});e.addUploader((async t=>{const i=e.getFilesByIds(t);e.emit("upload-start",i);for(const t of i){if(t.data instanceof File){await this.uploader(t.data).map((()=>{e.emit("upload-success",t,{status:201})})).mapErr((i=>e.emit("upload-error",t,new Error(i.title+" - "+i.detail))))}else{e.emit("upload-error",t,new Error("Expected file to be a File object"))}}}))}render(){return t("div",{key:"197dfd3221c601be8c53b2077f98f2b1218235e6",class:"container",ref:e=>this.uppy=e})}};nh.style=oh;var ah=a`
753
+ */var bu=Qu.exports;var yu;function gu(){if(yu)return Qu.exports;yu=1;(function(e,t){(function(t,i){e.exports=i()})(bu,(function(){function e(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),i.push.apply(i,s)}return i}function t(t){for(var i=1;i<arguments.length;i++){var s=null!=arguments[i]?arguments[i]:{};i%2?e(Object(s),true).forEach((function(e){l(t,e,s[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(s)):e(Object(s)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(s,e))}))}return t}function i(e,t){if("object"!=typeof e||!e)return e;var i=e[Symbol.toPrimitive];if(void 0!==i){var s=i.call(e,t);if("object"!=typeof s)return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}function s(e){var t=i(e,"string");return"symbol"==typeof t?t:t+""}function r(e){"@babel/helpers - typeof";return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}function o(e,t){if(!(e instanceof t)){throw new TypeError("Cannot call a class as a function")}}function n(e,t){for(var i=0;i<t.length;i++){var r=t[i];r.enumerable=r.enumerable||false;r.configurable=true;if("value"in r)r.writable=true;Object.defineProperty(e,s(r.key),r)}}function a(e,t,i){if(t)n(e.prototype,t);if(i)n(e,i);Object.defineProperty(e,"prototype",{writable:false});return e}function l(e,t,i){t=s(t);if(t in e){Object.defineProperty(e,t,{value:i,enumerable:true,configurable:true,writable:true})}else{e[t]=i}return e}function d(e){return c(e)||p(e)||u(e)||f()}function c(e){if(Array.isArray(e))return h(e)}function p(e){if(typeof Symbol!=="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function u(e,t){if(!e)return;if(typeof e==="string")return h(e,t);var i=Object.prototype.toString.call(e).slice(8,-1);if(i==="Object"&&e.constructor)i=e.constructor.name;if(i==="Map"||i==="Set")return Array.from(e);if(i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i))return h(e,t)}function h(e,t){if(t==null||t>e.length)t=e.length;for(var i=0,s=new Array(t);i<t;i++)s[i]=e[i];return s}function f(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var m=typeof window!=="undefined"&&typeof window.document!=="undefined";var Q=m?window:{};var b=m&&Q.document.documentElement?"ontouchstart"in Q.document.documentElement:false;var y=m?"PointerEvent"in Q:false;var g="cropper";var x="all";var U="crop";var B="move";var v="zoom";var F="e";var E="w";var w="s";var S="n";var D="ne";var R="nw";var k="se";var L="sw";var N="".concat(g,"-crop");var C="".concat(g,"-disabled");var V="".concat(g,"-hidden");var I="".concat(g,"-hide");var T="".concat(g,"-invisible");var z="".concat(g,"-modal");var P="".concat(g,"-move");var J="".concat(g,"Action");var G="".concat(g,"Preview");var M="crop";var A="move";var H="none";var Z="crop";var W="cropend";var _="cropmove";var O="cropstart";var j="dblclick";var Y=b?"touchstart":"mousedown";var $=b?"touchmove":"mousemove";var K=b?"touchend touchcancel":"mouseup";var X=y?"pointerdown":Y;var q=y?"pointermove":$;var ee=y?"pointerup pointercancel":K;var te="ready";var ie="resize";var se="wheel";var re="zoom";var oe="image/jpeg";var ne=/^e|w|s|n|se|sw|ne|nw|all|crop|move|zoom$/;var ae=/^data:/;var le=/^data:image\/jpeg;base64,/;var de=/^img|canvas$/i;var ce=200;var pe=100;var ue={viewMode:0,dragMode:M,initialAspectRatio:NaN,aspectRatio:NaN,data:null,preview:"",responsive:true,restore:true,checkCrossOrigin:true,checkOrientation:true,modal:true,guides:true,center:true,highlight:true,background:true,autoCrop:true,autoCropArea:.8,movable:true,rotatable:true,scalable:true,zoomable:true,zoomOnTouch:true,zoomOnWheel:true,wheelZoomRatio:.1,cropBoxMovable:true,cropBoxResizable:true,toggleDragModeOnDblclick:true,minCanvasWidth:0,minCanvasHeight:0,minCropBoxWidth:0,minCropBoxHeight:0,minContainerWidth:ce,minContainerHeight:pe,ready:null,cropstart:null,cropmove:null,cropend:null,crop:null,zoom:null};var he='<div class="cropper-container" touch-action="none">'+'<div class="cropper-wrap-box">'+'<div class="cropper-canvas"></div>'+"</div>"+'<div class="cropper-drag-box"></div>'+'<div class="cropper-crop-box">'+'<span class="cropper-view-box"></span>'+'<span class="cropper-dashed dashed-h"></span>'+'<span class="cropper-dashed dashed-v"></span>'+'<span class="cropper-center"></span>'+'<span class="cropper-face"></span>'+'<span class="cropper-line line-e" data-cropper-action="e"></span>'+'<span class="cropper-line line-n" data-cropper-action="n"></span>'+'<span class="cropper-line line-w" data-cropper-action="w"></span>'+'<span class="cropper-line line-s" data-cropper-action="s"></span>'+'<span class="cropper-point point-e" data-cropper-action="e"></span>'+'<span class="cropper-point point-n" data-cropper-action="n"></span>'+'<span class="cropper-point point-w" data-cropper-action="w"></span>'+'<span class="cropper-point point-s" data-cropper-action="s"></span>'+'<span class="cropper-point point-ne" data-cropper-action="ne"></span>'+'<span class="cropper-point point-nw" data-cropper-action="nw"></span>'+'<span class="cropper-point point-sw" data-cropper-action="sw"></span>'+'<span class="cropper-point point-se" data-cropper-action="se"></span>'+"</div>"+"</div>";var fe=Number.isNaN||Q.isNaN;function me(e){return typeof e==="number"&&!fe(e)}var Qe=function e(t){return t>0&&t<Infinity};function be(e){return typeof e==="undefined"}function ye(e){return r(e)==="object"&&e!==null}var ge=Object.prototype.hasOwnProperty;function xe(e){if(!ye(e)){return false}try{var t=e.constructor;var i=t.prototype;return t&&i&&ge.call(i,"isPrototypeOf")}catch(e){return false}}function Ue(e){return typeof e==="function"}var Be=Array.prototype.slice;function ve(e){return Array.from?Array.from(e):Be.call(e)}function Fe(e,t){if(e&&Ue(t)){if(Array.isArray(e)||me(e.length)){ve(e).forEach((function(i,s){t.call(e,i,s,e)}))}else if(ye(e)){Object.keys(e).forEach((function(i){t.call(e,e[i],i,e)}))}}return e}var Ee=Object.assign||function e(t){for(var i=arguments.length,s=new Array(i>1?i-1:0),r=1;r<i;r++){s[r-1]=arguments[r]}if(ye(t)&&s.length>0){s.forEach((function(e){if(ye(e)){Object.keys(e).forEach((function(i){t[i]=e[i]}))}}))}return t};var we=/\.\d*(?:0|9){12}\d*$/;function Se(e){var t=arguments.length>1&&arguments[1]!==undefined?arguments[1]:1e11;return we.test(e)?Math.round(e*t)/t:e}var De=/^width|height|left|top|marginLeft|marginTop$/;function Re(e,t){var i=e.style;Fe(t,(function(e,t){if(De.test(t)&&me(e)){e="".concat(e,"px")}i[t]=e}))}function ke(e,t){return e.classList?e.classList.contains(t):e.className.indexOf(t)>-1}function Le(e,t){if(!t){return}if(me(e.length)){Fe(e,(function(e){Le(e,t)}));return}if(e.classList){e.classList.add(t);return}var i=e.className.trim();if(!i){e.className=t}else if(i.indexOf(t)<0){e.className="".concat(i," ").concat(t)}}function Ne(e,t){if(!t){return}if(me(e.length)){Fe(e,(function(e){Ne(e,t)}));return}if(e.classList){e.classList.remove(t);return}if(e.className.indexOf(t)>=0){e.className=e.className.replace(t,"")}}function Ce(e,t,i){if(!t){return}if(me(e.length)){Fe(e,(function(e){Ce(e,t,i)}));return}if(i){Le(e,t)}else{Ne(e,t)}}var Ve=/([a-z\d])([A-Z])/g;function Ie(e){return e.replace(Ve,"$1-$2").toLowerCase()}function Te(e,t){if(ye(e[t])){return e[t]}if(e.dataset){return e.dataset[t]}return e.getAttribute("data-".concat(Ie(t)))}function ze(e,t,i){if(ye(i)){e[t]=i}else if(e.dataset){e.dataset[t]=i}else{e.setAttribute("data-".concat(Ie(t)),i)}}function Pe(e,t){if(ye(e[t])){try{delete e[t]}catch(i){e[t]=undefined}}else if(e.dataset){try{delete e.dataset[t]}catch(i){e.dataset[t]=undefined}}else{e.removeAttribute("data-".concat(Ie(t)))}}var Je=/\s\s*/;var Ge=function(){var e=false;if(m){var t=false;var i=function e(){};var s=Object.defineProperty({},"once",{get:function i(){e=true;return t},set:function e(i){t=i}});Q.addEventListener("test",i,s);Q.removeEventListener("test",i,s)}return e}();function Me(e,t,i){var s=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var r=i;t.trim().split(Je).forEach((function(t){if(!Ge){var o=e.listeners;if(o&&o[t]&&o[t][i]){r=o[t][i];delete o[t][i];if(Object.keys(o[t]).length===0){delete o[t]}if(Object.keys(o).length===0){delete e.listeners}}}e.removeEventListener(t,r,s)}))}function Ae(e,t,i){var s=arguments.length>3&&arguments[3]!==undefined?arguments[3]:{};var r=i;t.trim().split(Je).forEach((function(t){if(s.once&&!Ge){var o=e.listeners,n=o===void 0?{}:o;r=function o(){delete n[t][i];e.removeEventListener(t,r,s);for(var a=arguments.length,l=new Array(a),d=0;d<a;d++){l[d]=arguments[d]}i.apply(e,l)};if(!n[t]){n[t]={}}if(n[t][i]){e.removeEventListener(t,n[t][i],s)}n[t][i]=r;e.listeners=n}e.addEventListener(t,r,s)}))}function He(e,t,i){var s;if(Ue(Event)&&Ue(CustomEvent)){s=new CustomEvent(t,{detail:i,bubbles:true,cancelable:true})}else{s=document.createEvent("CustomEvent");s.initCustomEvent(t,true,true,i)}return e.dispatchEvent(s)}function Ze(e){var t=e.getBoundingClientRect();return{left:t.left+(window.pageXOffset-document.documentElement.clientLeft),top:t.top+(window.pageYOffset-document.documentElement.clientTop)}}var We=Q.location;var _e=/^(\w+:)\/\/([^:/?#]*):?(\d*)/i;function Oe(e){var t=e.match(_e);return t!==null&&(t[1]!==We.protocol||t[2]!==We.hostname||t[3]!==We.port)}function je(e){var t="timestamp=".concat((new Date).getTime());return e+(e.indexOf("?")===-1?"?":"&")+t}function Ye(e){var t=e.rotate,i=e.scaleX,s=e.scaleY,r=e.translateX,o=e.translateY;var n=[];if(me(r)&&r!==0){n.push("translateX(".concat(r,"px)"))}if(me(o)&&o!==0){n.push("translateY(".concat(o,"px)"))}if(me(t)&&t!==0){n.push("rotate(".concat(t,"deg)"))}if(me(i)&&i!==1){n.push("scaleX(".concat(i,")"))}if(me(s)&&s!==1){n.push("scaleY(".concat(s,")"))}var a=n.length?n.join(" "):"none";return{WebkitTransform:a,msTransform:a,transform:a}}function $e(e){var i=t({},e);var s=0;Fe(e,(function(e,t){delete i[t];Fe(i,(function(t){var i=Math.abs(e.startX-t.startX);var r=Math.abs(e.startY-t.startY);var o=Math.abs(e.endX-t.endX);var n=Math.abs(e.endY-t.endY);var a=Math.sqrt(i*i+r*r);var l=Math.sqrt(o*o+n*n);var d=(l-a)/a;if(Math.abs(d)>Math.abs(s)){s=d}}))}));return s}function Ke(e,i){var s=e.pageX,r=e.pageY;var o={endX:s,endY:r};return i?o:t({startX:s,startY:r},o)}function Xe(e){var t=0;var i=0;var s=0;Fe(e,(function(e){var r=e.startX,o=e.startY;t+=r;i+=o;s+=1}));t/=s;i/=s;return{pageX:t,pageY:i}}function qe(e){var t=e.aspectRatio,i=e.height,s=e.width;var r=arguments.length>1&&arguments[1]!==undefined?arguments[1]:"contain";var o=Qe(s);var n=Qe(i);if(o&&n){var a=i*t;if(r==="contain"&&a>s||r==="cover"&&a<s){i=s/t}else{s=i*t}}else if(o){i=s/t}else if(n){s=i*t}return{width:s,height:i}}function et(e){var t=e.width,i=e.height,s=e.degree;s=Math.abs(s)%180;if(s===90){return{width:i,height:t}}var r=s%90*Math.PI/180;var o=Math.sin(r);var n=Math.cos(r);var a=t*n+i*o;var l=t*o+i*n;return s>90?{width:l,height:a}:{width:a,height:l}}function tt(e,t,i,s){var r=t.aspectRatio,o=t.naturalWidth,n=t.naturalHeight,a=t.rotate,l=a===void 0?0:a,c=t.scaleX,p=c===void 0?1:c,u=t.scaleY,h=u===void 0?1:u;var f=i.aspectRatio,m=i.naturalWidth,Q=i.naturalHeight;var b=s.fillColor,y=b===void 0?"transparent":b,g=s.imageSmoothingEnabled,x=g===void 0?true:g,U=s.imageSmoothingQuality,B=U===void 0?"low":U,v=s.maxWidth,F=v===void 0?Infinity:v,E=s.maxHeight,w=E===void 0?Infinity:E,S=s.minWidth,D=S===void 0?0:S,R=s.minHeight,k=R===void 0?0:R;var L=document.createElement("canvas");var N=L.getContext("2d");var C=qe({aspectRatio:f,width:F,height:w});var V=qe({aspectRatio:f,width:D,height:k},"cover");var I=Math.min(C.width,Math.max(V.width,m));var T=Math.min(C.height,Math.max(V.height,Q));var z=qe({aspectRatio:r,width:F,height:w});var P=qe({aspectRatio:r,width:D,height:k},"cover");var J=Math.min(z.width,Math.max(P.width,o));var G=Math.min(z.height,Math.max(P.height,n));var M=[-J/2,-G/2,J,G];L.width=Se(I);L.height=Se(T);N.fillStyle=y;N.fillRect(0,0,I,T);N.save();N.translate(I/2,T/2);N.rotate(l*Math.PI/180);N.scale(p,h);N.imageSmoothingEnabled=x;N.imageSmoothingQuality=B;N.drawImage.apply(N,[e].concat(d(M.map((function(e){return Math.floor(Se(e))})))));N.restore();return L}var it=String.fromCharCode;function st(e,t,i){var s="";i+=t;for(var r=t;r<i;r+=1){s+=it(e.getUint8(r))}return s}var rt=/^data:.*,/;function ot(e){var t=e.replace(rt,"");var i=atob(t);var s=new ArrayBuffer(i.length);var r=new Uint8Array(s);Fe(r,(function(e,t){r[t]=i.charCodeAt(t)}));return s}function nt(e,t){var i=[];var s=8192;var r=new Uint8Array(e);while(r.length>0){i.push(it.apply(null,ve(r.subarray(0,s))));r=r.subarray(s)}return"data:".concat(t,";base64,").concat(btoa(i.join("")))}function at(e){var t=new DataView(e);var i;try{var s;var r;var o;if(t.getUint8(0)===255&&t.getUint8(1)===216){var n=t.byteLength;var a=2;while(a+1<n){if(t.getUint8(a)===255&&t.getUint8(a+1)===225){r=a;break}a+=1}}if(r){var l=r+4;var d=r+10;if(st(t,l,4)==="Exif"){var c=t.getUint16(d);s=c===18761;if(s||c===19789){if(t.getUint16(d+2,s)===42){var p=t.getUint32(d+4,s);if(p>=8){o=d+p}}}}}if(o){var u=t.getUint16(o,s);var h;var f;for(f=0;f<u;f+=1){h=o+f*12+2;if(t.getUint16(h,s)===274){h+=8;i=t.getUint16(h,s);t.setUint16(h,1,s);break}}}}catch(e){i=1}return i}function lt(e){var t=0;var i=1;var s=1;switch(e){case 2:i=-1;break;case 3:t=-180;break;case 4:s=-1;break;case 5:t=90;s=-1;break;case 6:t=90;break;case 7:t=90;i=-1;break;case 8:t=-90;break}return{rotate:t,scaleX:i,scaleY:s}}var dt={render:function e(){this.initContainer();this.initCanvas();this.initCropBox();this.renderCanvas();if(this.cropped){this.renderCropBox()}},initContainer:function e(){var t=this.element,i=this.options,s=this.container,r=this.cropper;var o=Number(i.minContainerWidth);var n=Number(i.minContainerHeight);Le(r,V);Ne(t,V);var a={width:Math.max(s.offsetWidth,o>=0?o:ce),height:Math.max(s.offsetHeight,n>=0?n:pe)};this.containerData=a;Re(r,{width:a.width,height:a.height});Le(t,V);Ne(r,V)},initCanvas:function e(){var t=this.containerData,i=this.imageData;var s=this.options.viewMode;var r=Math.abs(i.rotate)%180===90;var o=r?i.naturalHeight:i.naturalWidth;var n=r?i.naturalWidth:i.naturalHeight;var a=o/n;var l=t.width;var d=t.height;if(t.height*a>t.width){if(s===3){l=t.height*a}else{d=t.width/a}}else if(s===3){d=t.width/a}else{l=t.height*a}var c={aspectRatio:a,naturalWidth:o,naturalHeight:n,width:l,height:d};this.canvasData=c;this.limited=s===1||s===2;this.limitCanvas(true,true);c.width=Math.min(Math.max(c.width,c.minWidth),c.maxWidth);c.height=Math.min(Math.max(c.height,c.minHeight),c.maxHeight);c.left=(t.width-c.width)/2;c.top=(t.height-c.height)/2;c.oldLeft=c.left;c.oldTop=c.top;this.initialCanvasData=Ee({},c)},limitCanvas:function e(t,i){var s=this.options,r=this.containerData,o=this.canvasData,n=this.cropBoxData;var a=s.viewMode;var l=o.aspectRatio;var d=this.cropped&&n;if(t){var c=Number(s.minCanvasWidth)||0;var p=Number(s.minCanvasHeight)||0;if(a>1){c=Math.max(c,r.width);p=Math.max(p,r.height);if(a===3){if(p*l>c){c=p*l}else{p=c/l}}}else if(a>0){if(c){c=Math.max(c,d?n.width:0)}else if(p){p=Math.max(p,d?n.height:0)}else if(d){c=n.width;p=n.height;if(p*l>c){c=p*l}else{p=c/l}}}var u=qe({aspectRatio:l,width:c,height:p});c=u.width;p=u.height;o.minWidth=c;o.minHeight=p;o.maxWidth=Infinity;o.maxHeight=Infinity}if(i){if(a>(d?0:1)){var h=r.width-o.width;var f=r.height-o.height;o.minLeft=Math.min(0,h);o.minTop=Math.min(0,f);o.maxLeft=Math.max(0,h);o.maxTop=Math.max(0,f);if(d&&this.limited){o.minLeft=Math.min(n.left,n.left+(n.width-o.width));o.minTop=Math.min(n.top,n.top+(n.height-o.height));o.maxLeft=n.left;o.maxTop=n.top;if(a===2){if(o.width>=r.width){o.minLeft=Math.min(0,h);o.maxLeft=Math.max(0,h)}if(o.height>=r.height){o.minTop=Math.min(0,f);o.maxTop=Math.max(0,f)}}}}else{o.minLeft=-o.width;o.minTop=-o.height;o.maxLeft=r.width;o.maxTop=r.height}}},renderCanvas:function e(t,i){var s=this.canvasData,r=this.imageData;if(i){var o=et({width:r.naturalWidth*Math.abs(r.scaleX||1),height:r.naturalHeight*Math.abs(r.scaleY||1),degree:r.rotate||0}),n=o.width,a=o.height;var l=s.width*(n/s.naturalWidth);var d=s.height*(a/s.naturalHeight);s.left-=(l-s.width)/2;s.top-=(d-s.height)/2;s.width=l;s.height=d;s.aspectRatio=n/a;s.naturalWidth=n;s.naturalHeight=a;this.limitCanvas(true,false)}if(s.width>s.maxWidth||s.width<s.minWidth){s.left=s.oldLeft}if(s.height>s.maxHeight||s.height<s.minHeight){s.top=s.oldTop}s.width=Math.min(Math.max(s.width,s.minWidth),s.maxWidth);s.height=Math.min(Math.max(s.height,s.minHeight),s.maxHeight);this.limitCanvas(false,true);s.left=Math.min(Math.max(s.left,s.minLeft),s.maxLeft);s.top=Math.min(Math.max(s.top,s.minTop),s.maxTop);s.oldLeft=s.left;s.oldTop=s.top;Re(this.canvas,Ee({width:s.width,height:s.height},Ye({translateX:s.left,translateY:s.top})));this.renderImage(t);if(this.cropped&&this.limited){this.limitCropBox(true,true)}},renderImage:function e(t){var i=this.canvasData,s=this.imageData;var r=s.naturalWidth*(i.width/i.naturalWidth);var o=s.naturalHeight*(i.height/i.naturalHeight);Ee(s,{width:r,height:o,left:(i.width-r)/2,top:(i.height-o)/2});Re(this.image,Ee({width:s.width,height:s.height},Ye(Ee({translateX:s.left,translateY:s.top},s))));if(t){this.output()}},initCropBox:function e(){var t=this.options,i=this.canvasData;var s=t.aspectRatio||t.initialAspectRatio;var r=Number(t.autoCropArea)||.8;var o={width:i.width,height:i.height};if(s){if(i.height*s>i.width){o.height=o.width/s}else{o.width=o.height*s}}this.cropBoxData=o;this.limitCropBox(true,true);o.width=Math.min(Math.max(o.width,o.minWidth),o.maxWidth);o.height=Math.min(Math.max(o.height,o.minHeight),o.maxHeight);o.width=Math.max(o.minWidth,o.width*r);o.height=Math.max(o.minHeight,o.height*r);o.left=i.left+(i.width-o.width)/2;o.top=i.top+(i.height-o.height)/2;o.oldLeft=o.left;o.oldTop=o.top;this.initialCropBoxData=Ee({},o)},limitCropBox:function e(t,i){var s=this.options,r=this.containerData,o=this.canvasData,n=this.cropBoxData,a=this.limited;var l=s.aspectRatio;if(t){var d=Number(s.minCropBoxWidth)||0;var c=Number(s.minCropBoxHeight)||0;var p=a?Math.min(r.width,o.width,o.width+o.left,r.width-o.left):r.width;var u=a?Math.min(r.height,o.height,o.height+o.top,r.height-o.top):r.height;d=Math.min(d,r.width);c=Math.min(c,r.height);if(l){if(d&&c){if(c*l>d){c=d/l}else{d=c*l}}else if(d){c=d/l}else if(c){d=c*l}if(u*l>p){u=p/l}else{p=u*l}}n.minWidth=Math.min(d,p);n.minHeight=Math.min(c,u);n.maxWidth=p;n.maxHeight=u}if(i){if(a){n.minLeft=Math.max(0,o.left);n.minTop=Math.max(0,o.top);n.maxLeft=Math.min(r.width,o.left+o.width)-n.width;n.maxTop=Math.min(r.height,o.top+o.height)-n.height}else{n.minLeft=0;n.minTop=0;n.maxLeft=r.width-n.width;n.maxTop=r.height-n.height}}},renderCropBox:function e(){var t=this.options,i=this.containerData,s=this.cropBoxData;if(s.width>s.maxWidth||s.width<s.minWidth){s.left=s.oldLeft}if(s.height>s.maxHeight||s.height<s.minHeight){s.top=s.oldTop}s.width=Math.min(Math.max(s.width,s.minWidth),s.maxWidth);s.height=Math.min(Math.max(s.height,s.minHeight),s.maxHeight);this.limitCropBox(false,true);s.left=Math.min(Math.max(s.left,s.minLeft),s.maxLeft);s.top=Math.min(Math.max(s.top,s.minTop),s.maxTop);s.oldLeft=s.left;s.oldTop=s.top;if(t.movable&&t.cropBoxMovable){ze(this.face,J,s.width>=i.width&&s.height>=i.height?B:x)}Re(this.cropBox,Ee({width:s.width,height:s.height},Ye({translateX:s.left,translateY:s.top})));if(this.cropped&&this.limited){this.limitCanvas(true,true)}if(!this.disabled){this.output()}},output:function e(){this.preview();He(this.element,Z,this.getData())}};var ct={initPreview:function e(){var t=this.element,i=this.crossOrigin;var s=this.options.preview;var r=i?this.crossOriginUrl:this.url;var o=t.alt||"The image to preview";var n=document.createElement("img");if(i){n.crossOrigin=i}n.src=r;n.alt=o;this.viewBox.appendChild(n);this.viewBoxImage=n;if(!s){return}var a=s;if(typeof s==="string"){a=t.ownerDocument.querySelectorAll(s)}else if(s.querySelector){a=[s]}this.previews=a;Fe(a,(function(e){var t=document.createElement("img");ze(e,G,{width:e.offsetWidth,height:e.offsetHeight,html:e.innerHTML});if(i){t.crossOrigin=i}t.src=r;t.alt=o;t.style.cssText="display:block;"+"width:100%;"+"height:auto;"+"min-width:0!important;"+"min-height:0!important;"+"max-width:none!important;"+"max-height:none!important;"+'image-orientation:0deg!important;"';e.innerHTML="";e.appendChild(t)}))},resetPreview:function e(){Fe(this.previews,(function(e){var t=Te(e,G);Re(e,{width:t.width,height:t.height});e.innerHTML=t.html;Pe(e,G)}))},preview:function e(){var t=this.imageData,i=this.canvasData,s=this.cropBoxData;var r=s.width,o=s.height;var n=t.width,a=t.height;var l=s.left-i.left-t.left;var d=s.top-i.top-t.top;if(!this.cropped||this.disabled){return}Re(this.viewBoxImage,Ee({width:n,height:a},Ye(Ee({translateX:-l,translateY:-d},t))));Fe(this.previews,(function(e){var i=Te(e,G);var s=i.width;var c=i.height;var p=s;var u=c;var h=1;if(r){h=s/r;u=o*h}if(o&&u>c){h=c/o;p=r*h;u=c}Re(e,{width:p,height:u});Re(e.getElementsByTagName("img")[0],Ee({width:n*h,height:a*h},Ye(Ee({translateX:-l*h,translateY:-d*h},t))))}))}};var pt={bind:function e(){var t=this.element,i=this.options,s=this.cropper;if(Ue(i.cropstart)){Ae(t,O,i.cropstart)}if(Ue(i.cropmove)){Ae(t,_,i.cropmove)}if(Ue(i.cropend)){Ae(t,W,i.cropend)}if(Ue(i.crop)){Ae(t,Z,i.crop)}if(Ue(i.zoom)){Ae(t,re,i.zoom)}Ae(s,X,this.onCropStart=this.cropStart.bind(this));if(i.zoomable&&i.zoomOnWheel){Ae(s,se,this.onWheel=this.wheel.bind(this),{passive:false,capture:true})}if(i.toggleDragModeOnDblclick){Ae(s,j,this.onDblclick=this.dblclick.bind(this))}Ae(t.ownerDocument,q,this.onCropMove=this.cropMove.bind(this));Ae(t.ownerDocument,ee,this.onCropEnd=this.cropEnd.bind(this));if(i.responsive){Ae(window,ie,this.onResize=this.resize.bind(this))}},unbind:function e(){var t=this.element,i=this.options,s=this.cropper;if(Ue(i.cropstart)){Me(t,O,i.cropstart)}if(Ue(i.cropmove)){Me(t,_,i.cropmove)}if(Ue(i.cropend)){Me(t,W,i.cropend)}if(Ue(i.crop)){Me(t,Z,i.crop)}if(Ue(i.zoom)){Me(t,re,i.zoom)}Me(s,X,this.onCropStart);if(i.zoomable&&i.zoomOnWheel){Me(s,se,this.onWheel,{passive:false,capture:true})}if(i.toggleDragModeOnDblclick){Me(s,j,this.onDblclick)}Me(t.ownerDocument,q,this.onCropMove);Me(t.ownerDocument,ee,this.onCropEnd);if(i.responsive){Me(window,ie,this.onResize)}}};var ut={resize:function e(){if(this.disabled){return}var t=this.options,i=this.container,s=this.containerData;var r=i.offsetWidth/s.width;var o=i.offsetHeight/s.height;var n=Math.abs(r-1)>Math.abs(o-1)?r:o;if(n!==1){var a;var l;if(t.restore){a=this.getCanvasData();l=this.getCropBoxData()}this.render();if(t.restore){this.setCanvasData(Fe(a,(function(e,t){a[t]=e*n})));this.setCropBoxData(Fe(l,(function(e,t){l[t]=e*n})))}}},dblclick:function e(){if(this.disabled||this.options.dragMode===H){return}this.setDragMode(ke(this.dragBox,N)?A:M)},wheel:function e(t){var i=this;var s=Number(this.options.wheelZoomRatio)||.1;var r=1;if(this.disabled){return}t.preventDefault();if(this.wheeling){return}this.wheeling=true;setTimeout((function(){i.wheeling=false}),50);if(t.deltaY){r=t.deltaY>0?1:-1}else if(t.wheelDelta){r=-t.wheelDelta/120}else if(t.detail){r=t.detail>0?1:-1}this.zoom(-r*s,t)},cropStart:function e(t){var i=t.buttons,s=t.button;if(this.disabled||(t.type==="mousedown"||t.type==="pointerdown"&&t.pointerType==="mouse")&&(me(i)&&i!==1||me(s)&&s!==0||t.ctrlKey)){return}var r=this.options,o=this.pointers;var n;if(t.changedTouches){Fe(t.changedTouches,(function(e){o[e.identifier]=Ke(e)}))}else{o[t.pointerId||0]=Ke(t)}if(Object.keys(o).length>1&&r.zoomable&&r.zoomOnTouch){n=v}else{n=Te(t.target,J)}if(!ne.test(n)){return}if(He(this.element,O,{originalEvent:t,action:n})===false){return}t.preventDefault();this.action=n;this.cropping=false;if(n===U){this.cropping=true;Le(this.dragBox,z)}},cropMove:function e(t){var i=this.action;if(this.disabled||!i){return}var s=this.pointers;t.preventDefault();if(He(this.element,_,{originalEvent:t,action:i})===false){return}if(t.changedTouches){Fe(t.changedTouches,(function(e){Ee(s[e.identifier]||{},Ke(e,true))}))}else{Ee(s[t.pointerId||0]||{},Ke(t,true))}this.change(t)},cropEnd:function e(t){if(this.disabled){return}var i=this.action,s=this.pointers;if(t.changedTouches){Fe(t.changedTouches,(function(e){delete s[e.identifier]}))}else{delete s[t.pointerId||0]}if(!i){return}t.preventDefault();if(!Object.keys(s).length){this.action=""}if(this.cropping){this.cropping=false;Ce(this.dragBox,z,this.cropped&&this.options.modal)}He(this.element,W,{originalEvent:t,action:i})}};var ht={change:function e(t){var i=this.options,s=this.canvasData,r=this.containerData,o=this.cropBoxData,n=this.pointers;var a=this.action;var l=i.aspectRatio;var d=o.left,c=o.top,p=o.width,u=o.height;var h=d+p;var f=c+u;var m=0;var Q=0;var b=r.width;var y=r.height;var g=true;var N;if(!l&&t.shiftKey){l=p&&u?p/u:1}if(this.limited){m=o.minLeft;Q=o.minTop;b=m+Math.min(r.width,s.width,s.left+s.width);y=Q+Math.min(r.height,s.height,s.top+s.height)}var C=n[Object.keys(n)[0]];var I={x:C.endX-C.startX,y:C.endY-C.startY};var T=function e(t){switch(t){case F:if(h+I.x>b){I.x=b-h}break;case E:if(d+I.x<m){I.x=m-d}break;case S:if(c+I.y<Q){I.y=Q-c}break;case w:if(f+I.y>y){I.y=y-f}break}};switch(a){case x:d+=I.x;c+=I.y;break;case F:if(I.x>=0&&(h>=b||l&&(c<=Q||f>=y))){g=false;break}T(F);p+=I.x;if(p<0){a=E;p=-p;d-=p}if(l){u=p/l;c+=(o.height-u)/2}break;case S:if(I.y<=0&&(c<=Q||l&&(d<=m||h>=b))){g=false;break}T(S);u-=I.y;c+=I.y;if(u<0){a=w;u=-u;c-=u}if(l){p=u*l;d+=(o.width-p)/2}break;case E:if(I.x<=0&&(d<=m||l&&(c<=Q||f>=y))){g=false;break}T(E);p-=I.x;d+=I.x;if(p<0){a=F;p=-p;d-=p}if(l){u=p/l;c+=(o.height-u)/2}break;case w:if(I.y>=0&&(f>=y||l&&(d<=m||h>=b))){g=false;break}T(w);u+=I.y;if(u<0){a=S;u=-u;c-=u}if(l){p=u*l;d+=(o.width-p)/2}break;case D:if(l){if(I.y<=0&&(c<=Q||h>=b)){g=false;break}T(S);u-=I.y;c+=I.y;p=u*l}else{T(S);T(F);if(I.x>=0){if(h<b){p+=I.x}else if(I.y<=0&&c<=Q){g=false}}else{p+=I.x}if(I.y<=0){if(c>Q){u-=I.y;c+=I.y}}else{u-=I.y;c+=I.y}}if(p<0&&u<0){a=L;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=R;p=-p;d-=p}else if(u<0){a=k;u=-u;c-=u}break;case R:if(l){if(I.y<=0&&(c<=Q||d<=m)){g=false;break}T(S);u-=I.y;c+=I.y;p=u*l;d+=o.width-p}else{T(S);T(E);if(I.x<=0){if(d>m){p-=I.x;d+=I.x}else if(I.y<=0&&c<=Q){g=false}}else{p-=I.x;d+=I.x}if(I.y<=0){if(c>Q){u-=I.y;c+=I.y}}else{u-=I.y;c+=I.y}}if(p<0&&u<0){a=k;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=D;p=-p;d-=p}else if(u<0){a=L;u=-u;c-=u}break;case L:if(l){if(I.x<=0&&(d<=m||f>=y)){g=false;break}T(E);p-=I.x;d+=I.x;u=p/l}else{T(w);T(E);if(I.x<=0){if(d>m){p-=I.x;d+=I.x}else if(I.y>=0&&f>=y){g=false}}else{p-=I.x;d+=I.x}if(I.y>=0){if(f<y){u+=I.y}}else{u+=I.y}}if(p<0&&u<0){a=D;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=k;p=-p;d-=p}else if(u<0){a=R;u=-u;c-=u}break;case k:if(l){if(I.x>=0&&(h>=b||f>=y)){g=false;break}T(F);p+=I.x;u=p/l}else{T(w);T(F);if(I.x>=0){if(h<b){p+=I.x}else if(I.y>=0&&f>=y){g=false}}else{p+=I.x}if(I.y>=0){if(f<y){u+=I.y}}else{u+=I.y}}if(p<0&&u<0){a=R;u=-u;p=-p;c-=u;d-=p}else if(p<0){a=L;p=-p;d-=p}else if(u<0){a=D;u=-u;c-=u}break;case B:this.move(I.x,I.y);g=false;break;case v:this.zoom($e(n),t);g=false;break;case U:if(!I.x||!I.y){g=false;break}N=Ze(this.cropper);d=C.startX-N.left;c=C.startY-N.top;p=o.minWidth;u=o.minHeight;if(I.x>0){a=I.y>0?k:D}else if(I.x<0){d-=p;a=I.y>0?L:R}if(I.y<0){c-=u}if(!this.cropped){Ne(this.cropBox,V);this.cropped=true;if(this.limited){this.limitCropBox(true,true)}}break}if(g){o.width=p;o.height=u;o.left=d;o.top=c;this.action=a;this.renderCropBox()}Fe(n,(function(e){e.startX=e.endX;e.startY=e.endY}))}};var ft={crop:function e(){if(this.ready&&!this.cropped&&!this.disabled){this.cropped=true;this.limitCropBox(true,true);if(this.options.modal){Le(this.dragBox,z)}Ne(this.cropBox,V);this.setCropBoxData(this.initialCropBoxData)}return this},reset:function e(){if(this.ready&&!this.disabled){this.imageData=Ee({},this.initialImageData);this.canvasData=Ee({},this.initialCanvasData);this.cropBoxData=Ee({},this.initialCropBoxData);this.renderCanvas();if(this.cropped){this.renderCropBox()}}return this},clear:function e(){if(this.cropped&&!this.disabled){Ee(this.cropBoxData,{left:0,top:0,width:0,height:0});this.cropped=false;this.renderCropBox();this.limitCanvas(true,true);this.renderCanvas();Ne(this.dragBox,z);Le(this.cropBox,V)}return this},replace:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:false;if(!this.disabled&&t){if(this.isImg){this.element.src=t}if(i){this.url=t;this.image.src=t;if(this.ready){this.viewBoxImage.src=t;Fe(this.previews,(function(e){e.getElementsByTagName("img")[0].src=t}))}}else{if(this.isImg){this.replaced=true}this.options.data=null;this.uncreate();this.load(t)}}return this},enable:function e(){if(this.ready&&this.disabled){this.disabled=false;Ne(this.cropper,C)}return this},disable:function e(){if(this.ready&&!this.disabled){this.disabled=true;Le(this.cropper,C)}return this},destroy:function e(){var t=this.element;if(!t[g]){return this}t[g]=undefined;if(this.isImg&&this.replaced){t.src=this.originalUrl}this.uncreate();return this},move:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t;var s=this.canvasData,r=s.left,o=s.top;return this.moveTo(be(t)?t:r+Number(t),be(i)?i:o+Number(i))},moveTo:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t;var s=this.canvasData;var r=false;t=Number(t);i=Number(i);if(this.ready&&!this.disabled&&this.options.movable){if(me(t)){s.left=t;r=true}if(me(i)){s.top=i;r=true}if(r){this.renderCanvas(true)}}return this},zoom:function e(t,i){var s=this.canvasData;t=Number(t);if(t<0){t=1/(1-t)}else{t=1+t}return this.zoomTo(s.width*t/s.naturalWidth,null,i)},zoomTo:function e(t,i,s){var r=this.options,o=this.canvasData;var n=o.width,a=o.height,l=o.naturalWidth,d=o.naturalHeight;t=Number(t);if(t>=0&&this.ready&&!this.disabled&&r.zoomable){var c=l*t;var p=d*t;if(He(this.element,re,{ratio:t,oldRatio:n/l,originalEvent:s})===false){return this}if(s){var u=this.pointers;var h=Ze(this.cropper);var f=u&&Object.keys(u).length?Xe(u):{pageX:s.pageX,pageY:s.pageY};o.left-=(c-n)*((f.pageX-h.left-o.left)/n);o.top-=(p-a)*((f.pageY-h.top-o.top)/a)}else if(xe(i)&&me(i.x)&&me(i.y)){o.left-=(c-n)*((i.x-o.left)/n);o.top-=(p-a)*((i.y-o.top)/a)}else{o.left-=(c-n)/2;o.top-=(p-a)/2}o.width=c;o.height=p;this.renderCanvas(true)}return this},rotate:function e(t){return this.rotateTo((this.imageData.rotate||0)+Number(t))},rotateTo:function e(t){t=Number(t);if(me(t)&&this.ready&&!this.disabled&&this.options.rotatable){this.imageData.rotate=t%360;this.renderCanvas(true,true)}return this},scaleX:function e(t){var i=this.imageData.scaleY;return this.scale(t,me(i)?i:1)},scaleY:function e(t){var i=this.imageData.scaleX;return this.scale(me(i)?i:1,t)},scale:function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:t;var s=this.imageData;var r=false;t=Number(t);i=Number(i);if(this.ready&&!this.disabled&&this.options.scalable){if(me(t)){s.scaleX=t;r=true}if(me(i)){s.scaleY=i;r=true}if(r){this.renderCanvas(true,true)}}return this},getData:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:false;var i=this.options,s=this.imageData,r=this.canvasData,o=this.cropBoxData;var n;if(this.ready&&this.cropped){n={x:o.left-r.left,y:o.top-r.top,width:o.width,height:o.height};var a=s.width/s.naturalWidth;Fe(n,(function(e,t){n[t]=e/a}));if(t){var l=Math.round(n.y+n.height);var d=Math.round(n.x+n.width);n.x=Math.round(n.x);n.y=Math.round(n.y);n.width=d-n.x;n.height=l-n.y}}else{n={x:0,y:0,width:0,height:0}}if(i.rotatable){n.rotate=s.rotate||0}if(i.scalable){n.scaleX=s.scaleX||1;n.scaleY=s.scaleY||1}return n},setData:function e(t){var i=this.options,s=this.imageData,r=this.canvasData;var o={};if(this.ready&&!this.disabled&&xe(t)){var n=false;if(i.rotatable){if(me(t.rotate)&&t.rotate!==s.rotate){s.rotate=t.rotate;n=true}}if(i.scalable){if(me(t.scaleX)&&t.scaleX!==s.scaleX){s.scaleX=t.scaleX;n=true}if(me(t.scaleY)&&t.scaleY!==s.scaleY){s.scaleY=t.scaleY;n=true}}if(n){this.renderCanvas(true,true)}var a=s.width/s.naturalWidth;if(me(t.x)){o.left=t.x*a+r.left}if(me(t.y)){o.top=t.y*a+r.top}if(me(t.width)){o.width=t.width*a}if(me(t.height)){o.height=t.height*a}this.setCropBoxData(o)}return this},getContainerData:function e(){return this.ready?Ee({},this.containerData):{}},getImageData:function e(){return this.sized?Ee({},this.imageData):{}},getCanvasData:function e(){var t=this.canvasData;var i={};if(this.ready){Fe(["left","top","width","height","naturalWidth","naturalHeight"],(function(e){i[e]=t[e]}))}return i},setCanvasData:function e(t){var i=this.canvasData;var s=i.aspectRatio;if(this.ready&&!this.disabled&&xe(t)){if(me(t.left)){i.left=t.left}if(me(t.top)){i.top=t.top}if(me(t.width)){i.width=t.width;i.height=t.width/s}else if(me(t.height)){i.height=t.height;i.width=t.height*s}this.renderCanvas(true)}return this},getCropBoxData:function e(){var t=this.cropBoxData;var i;if(this.ready&&this.cropped){i={left:t.left,top:t.top,width:t.width,height:t.height}}return i||{}},setCropBoxData:function e(t){var i=this.cropBoxData;var s=this.options.aspectRatio;var r;var o;if(this.ready&&this.cropped&&!this.disabled&&xe(t)){if(me(t.left)){i.left=t.left}if(me(t.top)){i.top=t.top}if(me(t.width)&&t.width!==i.width){r=true;i.width=t.width}if(me(t.height)&&t.height!==i.height){o=true;i.height=t.height}if(s){if(r){i.height=i.width/s}else if(o){i.width=i.height*s}}this.renderCropBox()}return this},getCroppedCanvas:function e(){var t=arguments.length>0&&arguments[0]!==undefined?arguments[0]:{};if(!this.ready||!window.HTMLCanvasElement){return null}var i=this.canvasData;var s=tt(this.image,this.imageData,i,t);if(!this.cropped){return s}var r=this.getData(t.rounded),o=r.x,n=r.y,a=r.width,l=r.height;var c=s.width/Math.floor(i.naturalWidth);if(c!==1){o*=c;n*=c;a*=c;l*=c}var p=a/l;var u=qe({aspectRatio:p,width:t.maxWidth||Infinity,height:t.maxHeight||Infinity});var h=qe({aspectRatio:p,width:t.minWidth||0,height:t.minHeight||0},"cover");var f=qe({aspectRatio:p,width:t.width||(c!==1?s.width:a),height:t.height||(c!==1?s.height:l)}),m=f.width,Q=f.height;m=Math.min(u.width,Math.max(h.width,m));Q=Math.min(u.height,Math.max(h.height,Q));var b=document.createElement("canvas");var y=b.getContext("2d");b.width=Se(m);b.height=Se(Q);y.fillStyle=t.fillColor||"transparent";y.fillRect(0,0,m,Q);var g=t.imageSmoothingEnabled,x=g===void 0?true:g,U=t.imageSmoothingQuality;y.imageSmoothingEnabled=x;if(U){y.imageSmoothingQuality=U}var B=s.width;var v=s.height;var F=o;var E=n;var w;var S;var D;var R;var k;var L;if(F<=-a||F>B){F=0;w=0;D=0;k=0}else if(F<=0){D=-F;F=0;w=Math.min(B,a+F);k=w}else if(F<=B){D=0;w=Math.min(a,B-F);k=w}if(w<=0||E<=-l||E>v){E=0;S=0;R=0;L=0}else if(E<=0){R=-E;E=0;S=Math.min(v,l+E);L=S}else if(E<=v){R=0;S=Math.min(l,v-E);L=S}var N=[F,E,w,S];if(k>0&&L>0){var C=m/a;N.push(D*C,R*C,k*C,L*C)}y.drawImage.apply(y,[s].concat(d(N.map((function(e){return Math.floor(Se(e))})))));return b},setAspectRatio:function e(t){var i=this.options;if(!this.disabled&&!be(t)){i.aspectRatio=Math.max(0,t)||NaN;if(this.ready){this.initCropBox();if(this.cropped){this.renderCropBox()}}}return this},setDragMode:function e(t){var i=this.options,s=this.dragBox,r=this.face;if(this.ready&&!this.disabled){var o=t===M;var n=i.movable&&t===A;t=o||n?t:H;i.dragMode=t;ze(s,J,t);Ce(s,N,o);Ce(s,P,n);if(!i.cropBoxMovable){ze(r,J,t);Ce(r,N,o);Ce(r,P,n)}}return this}};var mt=Q.Cropper;var Qt=function(){function e(t){var i=arguments.length>1&&arguments[1]!==undefined?arguments[1]:{};o(this,e);if(!t||!de.test(t.tagName)){throw new Error("The first argument is required and must be an <img> or <canvas> element.")}this.element=t;this.options=Ee({},ue,xe(i)&&i);this.cropped=false;this.disabled=false;this.pointers={};this.ready=false;this.reloading=false;this.replaced=false;this.sized=false;this.sizing=false;this.init()}return a(e,[{key:"init",value:function e(){var t=this.element;var i=t.tagName.toLowerCase();var s;if(t[g]){return}t[g]=this;if(i==="img"){this.isImg=true;s=t.getAttribute("src")||"";this.originalUrl=s;if(!s){return}s=t.src}else if(i==="canvas"&&window.HTMLCanvasElement){s=t.toDataURL()}this.load(s)}},{key:"load",value:function e(t){var i=this;if(!t){return}this.url=t;this.imageData={};var s=this.element,r=this.options;if(!r.rotatable&&!r.scalable){r.checkOrientation=false}if(!r.checkOrientation||!window.ArrayBuffer){this.clone();return}if(ae.test(t)){if(le.test(t)){this.read(ot(t))}else{this.clone()}return}var o=new XMLHttpRequest;var n=this.clone.bind(this);this.reloading=true;this.xhr=o;o.onabort=n;o.onerror=n;o.ontimeout=n;o.onprogress=function(){if(o.getResponseHeader("content-type")!==oe){o.abort()}};o.onload=function(){i.read(o.response)};o.onloadend=function(){i.reloading=false;i.xhr=null};if(r.checkCrossOrigin&&Oe(t)&&s.crossOrigin){t=je(t)}o.open("GET",t,true);o.responseType="arraybuffer";o.withCredentials=s.crossOrigin==="use-credentials";o.send()}},{key:"read",value:function e(t){var i=this.options,s=this.imageData;var r=at(t);var o=0;var n=1;var a=1;if(r>1){this.url=nt(t,oe);var l=lt(r);o=l.rotate;n=l.scaleX;a=l.scaleY}if(i.rotatable){s.rotate=o}if(i.scalable){s.scaleX=n;s.scaleY=a}this.clone()}},{key:"clone",value:function e(){var t=this.element,i=this.url;var s=t.crossOrigin;var r=i;if(this.options.checkCrossOrigin&&Oe(i)){if(!s){s="anonymous"}r=je(i)}this.crossOrigin=s;this.crossOriginUrl=r;var o=document.createElement("img");if(s){o.crossOrigin=s}o.src=r||i;o.alt=t.alt||"The image to crop";this.image=o;o.onload=this.start.bind(this);o.onerror=this.stop.bind(this);Le(o,I);t.parentNode.insertBefore(o,t.nextSibling)}},{key:"start",value:function e(){var t=this;var i=this.image;i.onload=null;i.onerror=null;this.sizing=true;var s=Q.navigator&&/(?:iPad|iPhone|iPod).*?AppleWebKit/i.test(Q.navigator.userAgent);var r=function e(i,s){Ee(t.imageData,{naturalWidth:i,naturalHeight:s,aspectRatio:i/s});t.initialImageData=Ee({},t.imageData);t.sizing=false;t.sized=true;t.build()};if(i.naturalWidth&&!s){r(i.naturalWidth,i.naturalHeight);return}var o=document.createElement("img");var n=document.body||document.documentElement;this.sizingImage=o;o.onload=function(){r(o.width,o.height);if(!s){n.removeChild(o)}};o.src=i.src;if(!s){o.style.cssText="left:0;"+"max-height:none!important;"+"max-width:none!important;"+"min-height:0!important;"+"min-width:0!important;"+"opacity:0;"+"position:absolute;"+"top:0;"+"z-index:-1;";n.appendChild(o)}}},{key:"stop",value:function e(){var t=this.image;t.onload=null;t.onerror=null;t.parentNode.removeChild(t);this.image=null}},{key:"build",value:function e(){if(!this.sized||this.ready){return}var t=this.element,i=this.options,s=this.image;var r=t.parentNode;var o=document.createElement("div");o.innerHTML=he;var n=o.querySelector(".".concat(g,"-container"));var a=n.querySelector(".".concat(g,"-canvas"));var l=n.querySelector(".".concat(g,"-drag-box"));var d=n.querySelector(".".concat(g,"-crop-box"));var c=d.querySelector(".".concat(g,"-face"));this.container=r;this.cropper=n;this.canvas=a;this.dragBox=l;this.cropBox=d;this.viewBox=n.querySelector(".".concat(g,"-view-box"));this.face=c;a.appendChild(s);Le(t,V);r.insertBefore(n,t.nextSibling);Ne(s,I);this.initPreview();this.bind();i.initialAspectRatio=Math.max(0,i.initialAspectRatio)||NaN;i.aspectRatio=Math.max(0,i.aspectRatio)||NaN;i.viewMode=Math.max(0,Math.min(3,Math.round(i.viewMode)))||0;Le(d,V);if(!i.guides){Le(d.getElementsByClassName("".concat(g,"-dashed")),V)}if(!i.center){Le(d.getElementsByClassName("".concat(g,"-center")),V)}if(i.background){Le(n,"".concat(g,"-bg"))}if(!i.highlight){Le(c,T)}if(i.cropBoxMovable){Le(c,P);ze(c,J,x)}if(!i.cropBoxResizable){Le(d.getElementsByClassName("".concat(g,"-line")),V);Le(d.getElementsByClassName("".concat(g,"-point")),V)}this.render();this.ready=true;this.setDragMode(i.dragMode);if(i.autoCrop){this.crop()}this.setData(i.data);if(Ue(i.ready)){Ae(t,te,i.ready,{once:true})}He(t,te)}},{key:"unbuild",value:function e(){if(!this.ready){return}this.ready=false;this.unbind();this.resetPreview();var t=this.cropper.parentNode;if(t){t.removeChild(this.cropper)}Ne(this.element,V)}},{key:"uncreate",value:function e(){if(this.ready){this.unbuild();this.ready=false;this.cropped=false}else if(this.sizing){this.sizingImage.onload=null;this.sizing=false;this.sized=false}else if(this.reloading){this.xhr.onabort=null;this.xhr.abort()}else if(this.image){this.stop()}}}],[{key:"noConflict",value:function t(){window.Cropper=mt;return e}},{key:"setDefaults",value:function e(t){Ee(ue,xe(t)&&t)}}])}();Ee(Qt.prototype,dt,ct,pt,ut,ht,ft);return Qt}))})(Qu);return Qu.exports}var xu=gu();var Uu=Se(xu);function Bu(e,t){const i=e.width/t.width;const s=e.height/t.height;const r=Math.min(i,s);const o=t.width*r;const n=t.height*r;const a=(e.width-o)/2;const l=(e.height-n)/2;return{width:o,height:n,left:a,top:l}}function vu(e){return e*(Math.PI/180)}function Fu(e,t,i){const s=Math.abs(vu(i));const r=Math.max((Math.sin(s)*e+Math.cos(s)*t)/t,(Math.sin(s)*t+Math.cos(s)*e)/e);return r}function Eu(e,t,i){if(t.left<e.left){return{left:e.left,width:i.width}}if(t.top<e.top){return{top:e.top,height:i.height}}if(t.left+t.width>e.left+e.width){return{left:e.left+e.width-i.width,width:i.width}}if(t.top+t.height>e.top+e.height){return{top:e.top+e.height-i.height,height:i.height}}return null}function wu(e,t,i){if(t.left<e.left){return{left:e.left,width:i.left+i.width-e.left}}if(t.top<e.top){return{top:e.top,height:i.top+i.height-e.top}}if(t.left+t.width>e.left+e.width){return{left:i.left,width:e.left+e.width-i.left}}if(t.top+t.height>e.top+e.height){return{top:i.top,height:e.top+e.height-i.top}}return null}class Su extends un{imgElement;cropper;constructor(e){super(e);this.state={angle90Deg:0,angleGranular:0,prevCropboxData:null};this.storePrevCropboxData=this.storePrevCropboxData.bind(this);this.limitCropboxMovement=this.limitCropboxMovement.bind(this)}componentDidMount(){const{opts:e,storeCropperInstance:t}=this.props;this.cropper=new Uu(this.imgElement,e.cropperOptions);this.imgElement.addEventListener("cropstart",this.storePrevCropboxData);this.imgElement.addEventListener("cropend",this.limitCropboxMovement);t(this.cropper)}componentWillUnmount(){this.cropper.destroy();this.imgElement.removeEventListener("cropstart",this.storePrevCropboxData);this.imgElement.removeEventListener("cropend",this.limitCropboxMovement)}storePrevCropboxData(){this.setState({prevCropboxData:this.cropper.getCropBoxData()})}limitCropboxMovement(e){const t=this.cropper.getCanvasData();const i=this.cropper.getCropBoxData();const{prevCropboxData:s}=this.state;if(e.detail.action==="all"){const e=Eu(t,i,s);if(e)this.cropper.setCropBoxData(e)}else{const e=wu(t,i,s);if(e)this.cropper.setCropBoxData(e)}}onRotate90Deg=()=>{const{angle90Deg:e}=this.state;const t=e-90;this.setState({angle90Deg:t,angleGranular:0});this.cropper.scale(1);this.cropper.rotateTo(t);const i=this.cropper.getCanvasData();const s=this.cropper.getContainerData();const r=Bu(s,i);this.cropper.setCanvasData(r);this.cropper.setCropBoxData(r)};onRotateGranular=e=>{const t=Number(e.target.value);this.setState({angleGranular:t});const{angle90Deg:i}=this.state;const s=i+t;this.cropper.rotateTo(s);const r=this.cropper.getImageData();const o=Fu(r.naturalWidth,r.naturalHeight,t);const n=this.cropper.getImageData().scaleX<0?-o:o;this.cropper.scale(n,o)};renderGranularRotate(){const{i18n:e}=this.props;const{angleGranular:t}=this.state;return Tn("label",{role:"tooltip","aria-label":`${t}º`,"data-microtip-position":"top",className:"uppy-ImageCropper-rangeWrapper",children:Tn("input",{className:"uppy-ImageCropper-range uppy-u-reset",type:"range",onInput:this.onRotateGranular,onChange:this.onRotateGranular,value:t,min:"-45",max:"45","aria-label":e("rotate")})})}renderRevert(){const{i18n:e,opts:t}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("revert"),onClick:()=>{this.cropper.reset();this.cropper.setAspectRatio(t.cropperOptions.initialAspectRatio);this.setState({angle90Deg:0,angleGranular:0})},children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0z",fill:"none"}),Tn("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9zm-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8H12z"})]})})}renderRotate(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("rotate"),onClick:this.onRotate90Deg,children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0V0zm0 0h24v24H0V0z",fill:"none"}),Tn("path",{d:"M14 10a2 2 0 012 2v7a2 2 0 01-2 2H6a2 2 0 01-2-2v-7a2 2 0 012-2h8zm0 1.75H6a.25.25 0 00-.243.193L5.75 12v7a.25.25 0 00.193.243L6 19.25h8a.25.25 0 00.243-.193L14.25 19v-7a.25.25 0 00-.193-.243L14 11.75zM12 .76V4c2.3 0 4.61.88 6.36 2.64a8.95 8.95 0 012.634 6.025L21 13a1 1 0 01-1.993.117L19 13h-.003a6.979 6.979 0 00-2.047-4.95 6.97 6.97 0 00-4.652-2.044L12 6v3.24L7.76 5 12 .76z"})]})})}renderFlip(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("flipHorizontal"),onClick:()=>this.cropper.scaleX(-this.cropper.getData().scaleX||-1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0z",fill:"none"}),Tn("path",{d:"M15 21h2v-2h-2v2zm4-12h2V7h-2v2zM3 5v14c0 1.1.9 2 2 2h4v-2H5V5h4V3H5c-1.1 0-2 .9-2 2zm16-2v2h2c0-1.1-.9-2-2-2zm-8 20h2V1h-2v22zm8-6h2v-2h-2v2zM15 5h2V3h-2v2zm4 8h2v-2h-2v2zm0 8c1.1 0 2-.9 2-2h-2v2z"})]})})}renderZoomIn(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("zoomIn"),onClick:()=>this.cropper.zoom(.1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",height:"24",viewBox:"0 0 24 24",width:"24",children:[Tn("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Tn("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"}),Tn("path",{d:"M12 10h-2v2H9v-2H7V9h2V7h1v2h2v1z"})]})})}renderZoomOut(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("zoomOut"),onClick:()=>this.cropper.zoom(-.1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0V0z",fill:"none"}),Tn("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 14zM7 9h5v1H7z"})]})})}renderCropSquare(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("aspectRatioSquare"),onClick:()=>this.cropper.setAspectRatio(1),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M0 0h24v24H0z",fill:"none"}),Tn("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})]})})}renderCropWidescreen(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button",className:"uppy-u-reset uppy-c-btn","aria-label":e("aspectRatioLandscape"),onClick:()=>this.cropper.setAspectRatio(16/9),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M 19,4.9999992 V 17.000001 H 4.9999998 V 6.9999992 H 19 m 0,-2 H 4.9999998 c -1.0999999,0 -1.9999999,0.9000001 -1.9999999,2 V 17.000001 c 0,1.1 0.9,2 1.9999999,2 H 19 c 1.1,0 2,-0.9 2,-2 V 6.9999992 c 0,-1.0999999 -0.9,-2 -2,-2 z"}),Tn("path",{fill:"none",d:"M0 0h24v24H0z"})]})})}renderCropWidescreenVertical(){const{i18n:e}=this.props;return Tn("button",{"data-microtip-position":"top",type:"button","aria-label":e("aspectRatioPortrait"),className:"uppy-u-reset uppy-c-btn",onClick:()=>this.cropper.setAspectRatio(9/16),children:Tn("svg",{"aria-hidden":"true",className:"uppy-c-icon",width:"24",height:"24",viewBox:"0 0 24 24",children:[Tn("path",{d:"M 19.000001,19 H 6.999999 V 5 h 10.000002 v 14 m 2,0 V 5 c 0,-1.0999999 -0.9,-1.9999999 -2,-1.9999999 H 6.999999 c -1.1,0 -2,0.9 -2,1.9999999 v 14 c 0,1.1 0.9,2 2,2 h 10.000002 c 1.1,0 2,-0.9 2,-2 z"}),Tn("path",{d:"M0 0h24v24H0z",fill:"none"})]})})}render(){const{currentImage:e,opts:t}=this.props;const{actions:i}=t;if(e.data==null)throw new Error("File data is empty");const s=URL.createObjectURL(e.data);return Tn("div",{className:"uppy-ImageCropper",children:[Tn("div",{className:"uppy-ImageCropper-container",children:Tn("img",{className:"uppy-ImageCropper-image",alt:e.name,src:s,ref:e=>{this.imgElement=e}})}),Tn("div",{className:"uppy-ImageCropper-controls",children:[i.revert&&this.renderRevert(),i.rotate&&this.renderRotate(),i.granularRotate&&this.renderGranularRotate(),i.flip&&this.renderFlip(),i.zoomIn&&this.renderZoomIn(),i.zoomOut&&this.renderZoomOut(),i.cropSquare&&this.renderCropSquare(),i.cropWidescreen&&this.renderCropWidescreen(),i.cropWidescreenVertical&&this.renderCropWidescreenVertical()]})]})}}var Du={strings:{revert:"Reset",rotate:"Rotate 90°",zoomIn:"Zoom in",zoomOut:"Zoom out",flipHorizontal:"Flip horizontally",aspectRatioSquare:"Crop square",aspectRatioLandscape:"Crop landscape (16:9)",aspectRatioPortrait:"Crop portrait (9:16)"}};const Ru={viewMode:0,background:false,autoCropArea:1,responsive:true,minCropBoxWidth:70,minCropBoxHeight:70,croppedCanvasOptions:{},initialAspectRatio:0};const ku={revert:true,rotate:true,granularRotate:true,flip:true,zoomIn:true,zoomOut:true,cropSquare:true,cropWidescreen:true,cropWidescreenVertical:true};const Lu={quality:.8,actions:ku,cropperOptions:Ru};class Nu extends Ca{static VERSION=mu.version;cropper;constructor(e,t){super(e,{...Lu,...t,actions:{...ku,...t?.actions},cropperOptions:{...Ru,...t?.cropperOptions}});this.id=this.opts.id||"ImageEditor";this.title="Image Editor";this.type="editor";this.defaultLocale=Du;this.i18nInit()}canEditFile(e){if(!e.type||e.isRemote){return false}const t=e.type.split("/")[1];if(/^(jpe?g|gif|png|bmp|webp)$/.test(t)){return true}return false}save=()=>{const e=e=>{const{currentImage:t}=this.getPluginState();this.uppy.setFileState(t.id,{data:new File([e],t.name??this.i18n("unnamed"),{type:e.type}),size:e.size,preview:undefined});const i=this.uppy.getFile(t.id);this.uppy.emit("thumbnail:request",i);this.setPluginState({currentImage:i});this.uppy.emit("file-editor:complete",i)};const{currentImage:t}=this.getPluginState();const i=this.cropper.getCroppedCanvas({});if(i.width%2!==0){this.cropper.setData({width:i.width-1})}if(i.height%2!==0){this.cropper.setData({height:i.height-1})}this.cropper.getCroppedCanvas(this.opts.cropperOptions.croppedCanvasOptions).toBlob(e,t.type,this.opts.quality)};storeCropperInstance=e=>{this.cropper=e};selectFile=e=>{this.uppy.emit("file-editor:start",e);this.setPluginState({currentImage:e})};install(){this.setPluginState({currentImage:null});const{target:e}=this.opts;if(e){this.mount(e,this)}}uninstall(){const{currentImage:e}=this.getPluginState();if(e){const t=this.uppy.getFile(e.id);this.uppy.emit("file-editor:cancel",t)}this.unmount()}render(){const{currentImage:e}=this.getPluginState();if(e===null||e.isRemote){return null}return Tn(Su,{currentImage:e,storeCropperInstance:this.storeCropperInstance,save:this.save,opts:this.opts,i18n:this.i18n})}}var Cu={exports:{}};var Vu;function Iu(){if(Vu)return Cu.exports;Vu=1;Cu.exports=s;Cu.exports.isMobile=s;Cu.exports.default=s;const e=/(android|bb\d+|meego).+mobile|armv7l|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series[46]0|samsungbrowser.*mobile|symbian|treo|up\.(browser|link)|vodafone|wap|windows (ce|phone)|xda|xiino/i;const t=/CrOS/;const i=/android|ipad|playbook|silk/i;function s(s){if(!s)s={};let r=s.ua;if(!r&&typeof navigator!=="undefined")r=navigator.userAgent;if(r&&r.headers&&typeof r.headers["user-agent"]==="string"){r=r.headers["user-agent"]}if(typeof r!=="string")return false;let o=e.test(r)&&!t.test(r)||!!s.tablet&&i.test(r);if(!o&&s.tablet&&s.featureDetect&&navigator&&navigator.maxTouchPoints>1&&r.indexOf("Macintosh")!==-1&&r.indexOf("Safari")!==-1){o=true}return o}return Cu.exports}var Tu=Iu();const zu="5.0.2";var Pu={version:zu};function Ju(){return Tn("svg",{"aria-hidden":"true",focusable:"false",fill:"#0097DC",width:"66",height:"55",viewBox:"0 0 66 55",children:Tn("path",{d:"M57.3 8.433c4.59 0 8.1 3.51 8.1 8.1v29.7c0 4.59-3.51 8.1-8.1 8.1H8.7c-4.59 0-8.1-3.51-8.1-8.1v-29.7c0-4.59 3.51-8.1 8.1-8.1h9.45l4.59-7.02c.54-.54 1.35-1.08 2.16-1.08h16.2c.81 0 1.62.54 2.16 1.08l4.59 7.02h9.45zM33 14.64c-8.62 0-15.393 6.773-15.393 15.393 0 8.62 6.773 15.393 15.393 15.393 8.62 0 15.393-6.773 15.393-15.393 0-8.62-6.773-15.393-15.393-15.393zM33 40c-5.648 0-9.966-4.319-9.966-9.967 0-5.647 4.318-9.966 9.966-9.966s9.966 4.319 9.966 9.966C42.966 35.681 38.648 40 33 40z",fillRule:"evenodd"})})}function Gu({onDiscard:e,i18n:t}){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--discard",type:"button",title:t("discardRecordedFile"),"aria-label":t("discardRecordedFile"),onClick:e,"data-uppy-super-focusable":true,children:Tn("svg",{width:"13",height:"13",viewBox:"0 0 13 13",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",className:"uppy-c-icon",children:Tn("g",{fill:"#FFF",fillRule:"evenodd",children:[Tn("path",{d:"M.496 11.367L11.103.76l1.414 1.414L1.911 12.781z"}),Tn("path",{d:"M11.104 12.782L.497 2.175 1.911.76l10.607 10.606z"})]})})})}function Mu({recording:e,onStartRecording:t,onStopRecording:i,i18n:s}){if(e){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button",type:"button",title:s("stopRecording"),"aria-label":s("stopRecording"),onClick:i,"data-uppy-super-focusable":true,children:Tn("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"100",height:"100",viewBox:"0 0 100 100",children:Tn("rect",{x:"15",y:"15",width:"70",height:"70"})})})}return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button",type:"button",title:s("startRecording"),"aria-label":s("startRecording"),onClick:t,"data-uppy-super-focusable":true,children:Tn("svg",{"aria-hidden":"true",focusable:"false",className:"uppy-c-icon",width:"100",height:"100",viewBox:"0 0 100 100",children:Tn("circle",{cx:"50",cy:"50",r:"40"})})})}function Au(e){return`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`}function Hu({recordingLengthSeconds:e}){const t=Au(e);return Tn("span",{children:t})}function Zu({onSnapshot:e,i18n:t}){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--picture",type:"button",title:t("takePicture"),"aria-label":t("takePicture"),onClick:e,"data-uppy-super-focusable":true,children:Ju()})}function Wu({onSubmit:e,i18n:t}){return Tn("button",{className:"uppy-u-reset uppy-c-btn uppy-Webcam-button uppy-Webcam-button--submit",type:"button",title:t("submitRecordedFile"),"aria-label":t("submitRecordedFile"),onClick:e,"data-uppy-super-focusable":true,children:Tn("svg",{width:"12",height:"9",viewBox:"0 0 12 9",xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",className:"uppy-c-icon",children:Tn("path",{fill:"#fff",fillRule:"nonzero",d:"M10.66 0L12 1.31 4.136 9 0 4.956l1.34-1.31L4.136 6.38z"})})})}function _u({currentDeviceId:e,videoSources:t,onChangeVideoSource:i}){return Tn("div",{className:"uppy-Webcam-videoSource",children:Tn("select",{className:"uppy-u-reset uppy-Webcam-videoSource-select",onChange:e=>{i(e.target.value)},children:t.map((t=>Tn("option",{value:t.deviceId,selected:t.deviceId===e,children:t.label},t.deviceId)))})})}function Ou(e,t){return e.includes(t)}class ju extends un{videoElement;refs;componentDidMount(){const{onFocus:e}=this.props;e()}componentWillUnmount(){const{onStop:e}=this.props;e()}render(){const{src:e,recordedVideo:t,capturedSnapshot:i,recording:s,modes:r,supportsRecording:o,videoSources:n,showVideoSourceDropdown:a,showRecordingLength:l,onSubmit:d,i18n:c,mirror:p,onSnapshot:u,onStartRecording:h,onStopRecording:f,onDiscardRecordedMedia:m,recordingLengthSeconds:Q}=this.props;const b=!!t;const y=!!i;const g=b||y;const x=!g&&o&&(Ou(r,"video-only")||Ou(r,"audio-only")||Ou(r,"video-audio"));const U=!g&&Ou(r,"picture");const B=o&&l&&!b;const v=a&&n&&n.length>1;const F={playsInline:true};if(t){F.muted=false;F.controls=true;F.src=t;if(this.videoElement){this.videoElement.srcObject=null}}else{F.muted=true;F.autoPlay=true;F.srcObject=e}return Tn("div",{className:"uppy uppy-Webcam-container",children:[Tn("div",{className:"uppy-Webcam-videoContainer",children:i&&!s&&!t?Tn("div",{className:"uppy-Webcam-imageContainer",children:Tn("img",{src:i,className:"uppy-Webcam-video",alt:"capturedSnapshot"})}):Tn("video",{ref:e=>{this.videoElement=e},className:`uppy-Webcam-video ${p?"uppy-Webcam-video--mirrored":""}`,...F})}),Tn("div",{className:"uppy-Webcam-footer",children:[Tn("div",{className:"uppy-Webcam-videoSourceContainer",children:v?_u(this.props):null}),Tn("div",{className:"uppy-Webcam-buttonContainer",children:[U&&Tn(Zu,{onSnapshot:u,i18n:c}),x&&Tn(Mu,{recording:s,onStartRecording:h,onStopRecording:f,i18n:c}),(b||y)&&Tn(Wu,{onSubmit:d,i18n:c}),(b||y)&&Tn(Gu,{onDiscard:m,i18n:c})]}),Tn("div",{className:"uppy-Webcam-recordingLength",children:B&&Tn(Hu,{recordingLengthSeconds:Q})})]})]})}}var Yu={strings:{pluginNameCamera:"Camera",noCameraTitle:"Camera Not Available",noCameraDescription:"In order to take pictures or record video, please connect a camera device",recordingStoppedMaxSize:"Recording stopped because the file size is about to exceed the limit",submitRecordedFile:"Submit recorded file",discardRecordedFile:"Discard recorded file",smile:"Smile!",takePicture:"Take a picture",startRecording:"Begin video recording",stopRecording:"Stop video recording",recordingLength:"Recording length %{recording_length}",allowAccessTitle:"Please allow access to your camera",allowAccessDescription:"In order to take pictures or record video with your camera, please allow camera access for this site."}};function $u({icon:e,i18n:t,hasCamera:i}){return Tn("div",{className:"uppy-Webcam-permissons",children:[Tn("div",{className:"uppy-Webcam-permissonsIcon",children:e()}),Tn("div",{className:"uppy-Webcam-title",children:i?t("allowAccessTitle"):t("noCameraTitle")}),Tn("p",{children:i?t("allowAccessDescription"):t("noCameraDescription")})]})}function Ku(){return typeof MediaRecorder==="function"&&!!MediaRecorder.prototype&&typeof MediaRecorder.prototype.start==="function"}function Xu(e){if(e[0]==="."){return fo[e.slice(1)]}return e}function qu(e){return/^video\/[^*]+$/.test(e)}function eh(e){return/^image\/[^*]+$/.test(e)}function th(){return navigator.mediaDevices}function ih(e,t){return e.includes(t)}const sh={onBeforeSnapshot:()=>Promise.resolve(),countdown:false,modes:["video-audio","video-only","audio-only","picture"],mirror:true,showVideoSourceDropdown:false,preferredImageMimeType:null,preferredVideoMimeType:null,showRecordingLength:false,mobileNativeCamera:Tu.isMobile({tablet:true})};class rh extends Ca{static VERSION=Pu.version;#K;mediaDevices;supportsUserMedia;protocol;capturedMediaFile;icon;webcamActive;stream=null;recorder=null;recordingChunks=null;recordingLengthTimer;captureInProgress=false;constructor(e,t){super(e,{...sh,...t});this.mediaDevices=th();this.supportsUserMedia=!!this.mediaDevices;this.protocol=location.protocol.match(/https/i)?"https":"http";this.id=this.opts.id||"Webcam";this.type="acquirer";this.capturedMediaFile=null;this.icon=()=>Tn("svg",{"aria-hidden":"true",focusable:"false",width:"32",height:"32",viewBox:"0 0 32 32",children:Tn("path",{d:"M23.5 9.5c1.417 0 2.5 1.083 2.5 2.5v9.167c0 1.416-1.083 2.5-2.5 2.5h-15c-1.417 0-2.5-1.084-2.5-2.5V12c0-1.417 1.083-2.5 2.5-2.5h2.917l1.416-2.167C13 7.167 13.25 7 13.5 7h5c.25 0 .5.167.667.333L20.583 9.5H23.5zM16 11.417a4.706 4.706 0 00-4.75 4.75 4.704 4.704 0 004.75 4.75 4.703 4.703 0 004.75-4.75c0-2.663-2.09-4.75-4.75-4.75zm0 7.825c-1.744 0-3.076-1.332-3.076-3.074 0-1.745 1.333-3.077 3.076-3.077 1.744 0 3.074 1.333 3.074 3.076s-1.33 3.075-3.074 3.075z",fill:"#02B383",fillRule:"nonzero"})});this.defaultLocale=Yu;this.i18nInit();this.title=this.i18n("pluginNameCamera");this.#K=this.opts.mirror;this.install=this.install.bind(this);this.setPluginState=this.setPluginState.bind(this);this.render=this.render.bind(this);this.start=this.start.bind(this);this.stop=this.stop.bind(this);this.takeSnapshot=this.takeSnapshot.bind(this);this.startRecording=this.startRecording.bind(this);this.stopRecording=this.stopRecording.bind(this);this.discardRecordedMedia=this.discardRecordedMedia.bind(this);this.submit=this.submit.bind(this);this.oneTwoThreeSmile=this.oneTwoThreeSmile.bind(this);this.focus=this.focus.bind(this);this.changeVideoSource=this.changeVideoSource.bind(this);this.webcamActive=false;if(this.opts.countdown){this.opts.onBeforeSnapshot=this.oneTwoThreeSmile}this.setPluginState({hasCamera:false,cameraReady:false,cameraError:null,recordingLengthSeconds:0,videoSources:[],currentDeviceId:null,capturedSnapshot:null})}getStatus(){const{recordedVideo:e,capturedSnapshot:t,isRecording:i,cameraReady:s,cameraError:r}=this.getPluginState();if(i)return"recording";if(e!=null||t!=null)return"captured";if(s)return"ready";if(r)return"error";return"init"}setOptions(e){super.setOptions({...e,videoConstraints:{...this.opts.videoConstraints,...e?.videoConstraints}})}hasCameraCheck(){if(!this.mediaDevices){return Promise.resolve(false)}return this.mediaDevices.enumerateDevices().then((e=>e.some((e=>e.kind==="videoinput"))))}isAudioOnly(){return this.opts.modes.length===1&&this.opts.modes[0]==="audio-only"}getConstraints(e=null){const t=this.opts.modes.indexOf("video-audio")!==-1||this.opts.modes.indexOf("audio-only")!==-1;const i=!this.isAudioOnly()&&(this.opts.modes.indexOf("video-audio")!==-1||this.opts.modes.indexOf("video-only")!==-1||this.opts.modes.indexOf("picture")!==-1);const s={...this.opts.videoConstraints||{},...e!=null&&{deviceId:e}};return{audio:t,video:i?s:false}}start(e=null){if(!this.supportsUserMedia){return Promise.reject(new Error("Webcam access not supported"))}this.webcamActive=true;if(this.opts.mirror){this.#K=true}const t=this.getConstraints(e?.deviceId);this.hasCameraCheck().then((i=>{this.setPluginState({hasCamera:i});return this.mediaDevices.getUserMedia(t).then((t=>{this.stream=t;let i=null;const s=this.isAudioOnly()?t.getAudioTracks():t.getVideoTracks();if(!e||!e.deviceId){i=s[0].getSettings().deviceId}else{s.forEach((t=>{if(t.getSettings().deviceId===e.deviceId){i=t.getSettings().deviceId}}))}this.updateVideoSources();this.setPluginState({currentDeviceId:i,cameraReady:true})})).catch((e=>{this.setPluginState({cameraReady:false,cameraError:e});this.uppy.info(e.message,"error")}))}))}getMediaRecorderOptions(){const e={};if(MediaRecorder.isTypeSupported){const{restrictions:t}=this.uppy.opts;let i=[];if(this.opts.preferredVideoMimeType){i=[this.opts.preferredVideoMimeType]}else if(t.allowedFileTypes){i=t.allowedFileTypes.map(Xu).filter(qu)}const s=e=>MediaRecorder.isTypeSupported(e)&&Ro(e);const r=i.filter(s);if(r.length>0){e.mimeType=r[0]}}return e}startRecording(){this.recorder=new MediaRecorder(this.stream,this.getMediaRecorderOptions());this.recordingChunks=[];let e=false;this.recorder.addEventListener("dataavailable",(t=>{this.recordingChunks.push(t.data);const{restrictions:i}=this.uppy.opts;if(this.recordingChunks.length>1&&i.maxFileSize!=null&&!e){const t=this.recordingChunks.reduce(((e,t)=>e+t.size),0);const s=(t-this.recordingChunks[0].size)/(this.recordingChunks.length-1);const r=s*3;const o=Math.max(0,i.maxFileSize-r);if(t>o){e=true;this.uppy.info(this.i18n("recordingStoppedMaxSize"),"warning",4e3);this.stopRecording()}}}));this.recorder.start(500);if(this.opts.showRecordingLength){this.recordingLengthTimer=setInterval((()=>{const e=this.getPluginState().recordingLengthSeconds;this.setPluginState({recordingLengthSeconds:e+1})}),1e3)}this.setPluginState({isRecording:true})}stopRecording(){const e=new Promise((e=>{this.recorder.addEventListener("stop",(()=>{e()}));this.recorder.stop();if(this.opts.showRecordingLength){clearInterval(this.recordingLengthTimer);this.setPluginState({recordingLengthSeconds:0})}}));return e.then((()=>{this.setPluginState({isRecording:false});return this.getVideo()})).then((e=>{try{this.capturedMediaFile=e;this.setPluginState({recordedVideo:URL.createObjectURL(e.data)});this.#K=false}catch(e){if(!e.isRestriction){this.uppy.log(e)}}})).then((()=>{this.recordingChunks=null;this.recorder=null}),(e=>{this.recordingChunks=null;this.recorder=null;throw e}))}discardRecordedMedia(){const{recordedVideo:e,capturedSnapshot:t}=this.getPluginState();if(e){URL.revokeObjectURL(e)}if(t){URL.revokeObjectURL(t)}this.setPluginState({recordedVideo:null,capturedSnapshot:null});if(this.opts.mirror){this.#K=true}this.capturedMediaFile=null}submit(){try{if(this.capturedMediaFile){this.uppy.addFile(this.capturedMediaFile)}}catch(e){if(!e.isRestriction){this.uppy.log(e,"error")}}}async stop(){if(this.stream){const e=this.stream.getAudioTracks();const t=this.stream.getVideoTracks();e.concat(t).forEach((e=>e.stop()))}if(this.recorder){await new Promise((e=>{this.recorder.addEventListener("stop",e,{once:true});this.recorder.stop();if(this.opts.showRecordingLength){clearInterval(this.recordingLengthTimer)}}))}this.recordingChunks=null;this.recorder=null;this.webcamActive=false;this.stream=null;this.setPluginState({recordedVideo:null,capturedSnapshot:null,isRecording:false,recordingLengthSeconds:0})}getVideoElement(){return this.el.querySelector(".uppy-Webcam-video")}oneTwoThreeSmile(){return new Promise(((e,t)=>{let i=this.opts.countdown;const s=setInterval((()=>{if(!this.webcamActive){clearInterval(s);this.captureInProgress=false;return t(new Error("Webcam is not active"))}if(i){this.uppy.info(`${i}...`,"warning",800);i--}else{clearInterval(s);this.uppy.info(this.i18n("smile"),"success",1500);setTimeout((()=>e()),1500)}}),1e3)}))}async takeSnapshot(){if(this.captureInProgress)return;this.captureInProgress=true;try{await this.opts.onBeforeSnapshot()}catch(e){const t=typeof e==="object"?e.message:e;this.uppy.info(t,"error",5e3);throw new Error(`onBeforeSnapshot: ${t}`)}try{const e=await this.getImage();this.capturedMediaFile=e;if(e.data==null)throw new Error("File data is empty");const t=URL.createObjectURL(e.data);this.setPluginState({capturedSnapshot:t});this.captureInProgress=false}catch(e){this.captureInProgress=false;if(!e.isRestriction){this.uppy.log(e)}}}async getImage(){const e=this.getVideoElement();if(!e){return Promise.reject(new Error("No video element found, likely due to the Webcam tab being closed."))}const t=e.videoWidth;const i=e.videoHeight;const s=document.createElement("canvas");s.width=t;s.height=i;const r=s.getContext("2d");r.drawImage(e,0,0);const{restrictions:o}=this.uppy.opts;let n=[];if(this.opts.preferredImageMimeType){n=[this.opts.preferredImageMimeType]}else if(o.allowedFileTypes){n=o.allowedFileTypes.map(Xu).filter(eh)}const a=n[0]||"image/jpeg";const l=Ro(a)||"jpg";const d=`cam-${Date.now()}.${l}`;return ro(s,a).then((e=>({source:this.id,name:d,data:new Blob([e],{type:a}),type:a})))}getVideo(){const e=this.recordingChunks.find((e=>e.type?.length>0)).type;const t=Ro(e);if(!t){return Promise.reject(new Error(`Could not retrieve recording: Unsupported media type "${e}"`))}const i=`webcam-${Date.now()}.${t}`;const s=new Blob(this.recordingChunks,{type:e});const r={source:this.id,name:i,data:new Blob([s],{type:e}),type:e};return Promise.resolve(r)}focus(){if(!this.opts.countdown)return;setTimeout((()=>{this.uppy.info(this.i18n("smile"),"success",1500)}),1e3)}changeVideoSource(e){this.stop();this.start({deviceId:e})}updateVideoSources(){this.mediaDevices.enumerateDevices().then((e=>{this.setPluginState({videoSources:e.filter((e=>e.kind==="videoinput"))})}))}render(){if(!this.webcamActive){this.start()}const e=this.getPluginState();if(!e.cameraReady||!e.hasCamera){return Tn($u,{icon:Ju,i18n:this.i18n,hasCamera:e.hasCamera})}return Tn(ju,{...e,onChangeVideoSource:this.changeVideoSource,onSnapshot:this.takeSnapshot,onStartRecording:this.startRecording,onStopRecording:this.stopRecording,onDiscardRecordedMedia:this.discardRecordedMedia,onSubmit:this.submit,onFocus:this.focus,onStop:this.stop,i18n:this.i18n,modes:this.opts.modes,showRecordingLength:this.opts.showRecordingLength,showVideoSourceDropdown:this.opts.showVideoSourceDropdown,supportsRecording:Ku(),recording:e.isRecording,mirror:this.#K,src:this.stream})}install(){const{mobileNativeCamera:e,modes:t,videoConstraints:i}=this.opts;const{target:s}=this.opts;if(e&&s){this.getTargetPlugin(s)?.setOptions({showNativeVideoCameraButton:ih(t,"video-only")||ih(t,"video-audio"),showNativePhotoCameraButton:ih(t,"picture"),nativeCameraFacingMode:i?.facingMode});return}this.setPluginState({cameraReady:false,recordingLengthSeconds:0});if(s){this.mount(s,this)}if(this.mediaDevices){this.updateVideoSources();this.mediaDevices.ondevicechange=()=>{this.updateVideoSources();if(this.stream){let e=true;const{videoSources:t,currentDeviceId:i}=this.getPluginState();t.forEach((t=>{if(i===t.deviceId){e=false}}));if(e){this.stop();this.start()}}}}}uninstall(){this.stop();this.unmount()}onUnmount(){this.stop()}}const oh=".uppy-Root{box-sizing:border-box;color:#333;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;line-height:1;position:relative;text-align:left;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.uppy-Root[dir=rtl],[dir=rtl] .uppy-Root{text-align:right}.uppy-Root *,.uppy-Root :after,.uppy-Root :before{box-sizing:inherit}.uppy-Root [hidden]{display:none}.uppy-u-reset{all:initial;appearance:none;box-sizing:border-box;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;line-height:1}[dir=rtl] .uppy-u-reset{text-align:right}.uppy-c-textInput{background-color:#fff;border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:14px;line-height:1.5;padding:6px 8px}.uppy-size--md .uppy-c-textInput{padding:8px 10px}.uppy-c-textInput:focus{border-color:#1269cf99;box-shadow:0 0 0 3px #1269cf26;outline:none}[data-uppy-theme=dark] .uppy-c-textInput{background-color:#333;border-color:#333;color:#eaeaea}[data-uppy-theme=dark] .uppy-c-textInput:focus{border-color:#525252;box-shadow:none}.uppy-c-icon{display:inline-block;max-height:100%;max-width:100%;overflow:hidden;fill:currentColor}.uppy-c-btn{align-items:center;color:inherit;display:inline-flex;font-family:inherit;font-size:inherit;font-weight:500;justify-content:center;line-height:1;transition-duration:.3s;transition-property:background-color,color;user-select:none;white-space:nowrap}.uppy-c-btn,[dir=rtl] .uppy-c-btn{text-align:center}.uppy-c-btn:not(:disabled):not(.disabled){cursor:pointer}.uppy-c-btn::-moz-focus-inner{border:0}.uppy-c-btn-primary{background-color:#1269cf;border-radius:4px;color:#fff;font-size:14px;padding:10px 18px}.uppy-c-btn-primary:not(:disabled):hover{background-color:#0e51a0}.uppy-c-btn-primary:focus{box-shadow:0 0 0 3px #1269cf66;outline:none}.uppy-size--md .uppy-c-btn-primary{padding:13px 22px}[data-uppy-theme=dark] .uppy-c-btn-primary{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-primary::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-primary:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-c-btn-primary.uppy-c-btn--disabled{background-color:#8eb2db}.uppy-c-btn-link{background-color:initial;border-radius:4px;color:#525252;font-size:14px;line-height:1;padding:10px 15px}.uppy-c-btn-link:hover{color:#333}.uppy-c-btn-link:focus{box-shadow:0 0 0 3px #1269cf40;outline:none}.uppy-size--md .uppy-c-btn-link{padding:13px 18px}[data-uppy-theme=dark] .uppy-c-btn-link{color:#eaeaea}[data-uppy-theme=dark] .uppy-c-btn-link:focus{outline:none}[data-uppy-theme=dark] .uppy-c-btn-link::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-c-btn-link:focus{box-shadow:0 0 0 2px #aae1ffd9}[data-uppy-theme=dark] .uppy-c-btn-link:hover{color:#939393}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy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dkJGLENGMEJBLG9CQUlFLHdCQ2pISyxDRGtITCxpQkFBQSxDQUhBLFVDdkhNLENEd0hOLGNBQUEsQ0FGQSxpQkVuQkYsQ0Z5QkUseUNBQ0Usd0JFdkJKLENGMEJFLDBCQUVFLDhCQUFBLENBREEsWUV2QkosQ0YyQkUsbUNBQ0UsaUJFekJKLENGNEJFLDJDQUNFLGFFMUJKLENDM0RFLGlEQUNFLFlENkRKLENDMURFLDZEQUNFLFFENERKLENDdkVFLGlEQUNFLDhCRHlFSixDRnNCRSx5Q0FDRSx3QkVwQkosQ0Z3QkEsaUJBS0Usd0JBQUEsQ0FDQSxpQkFBQSxDQUpBLGFDaklTLENEa0lULGNBQUEsQ0FDQSxhQUFBLENBSEEsaUJFaEJGLENGdUJFLHVCQUNFLFVFckJKLENGd0JFLHVCQUVFLDhCQUFBLENBREEsWUVyQkosQ0Z5QkUsZ0NBQ0UsaUJFdkJKLENGMEJFLHdDQUNFLGFFeEJKLENDN0ZFLDhDQUNFLFlEK0ZKLENDNUZFLDBEQUNFLFFEOEZKLENDekdFLDhDQUNFLDhCRDJHSixDRm9CRSw4Q0FDRSxhRWxCSiIsImZpbGUiOiJzdHlsZS5taW4uY3NzIn0= */\n@charset \"UTF-8\";.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list,.uppy-ProviderBrowser-viewType--unsplash ul.uppy-ProviderBrowser-list{align-items:flex-start;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:space-between;padding:6px}.uppy-ProviderBrowser-viewType--grid ul.uppy-ProviderBrowser-list:after,.uppy-ProviderBrowser-viewType--unsplash ul.uppy-ProviderBrowser-list:after{content:\"\";flex:auto}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem{margin:0;position:relative;width:50%}.uppy-size--md .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem,.uppy-size--md .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem{width:33.3333%}.uppy-size--lg .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem,.uppy-size--lg .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem{width:25%}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem:before,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem:before{content:\"\";display:block;padding-top:100%}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected img,.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--selected svg,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--selected img,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--selected svg{opacity:.85}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--disabled,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--disabled{opacity:.5}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:#93939333}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner,[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview .uppy-ProviderBrowserItem-inner{background-color:#eaeaea33}.uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg,.uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview svg{height:30%;width:30%;fill:#000000b3}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid li.uppy-ProviderBrowserItem--noPreview svg,[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--unsplash li.uppy-ProviderBrowserItem--noPreview svg{fill:#fffc}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner{border-radius:4px;bottom:7px;height:calc(100% - 14px);left:7px;overflow:hidden;position:absolute;right:7px;text-align:center;top:7px;width:calc(100% - 14px)}@media (hover:none){.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner .uppy-ProviderBrowserItem-author{display:block}}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner,[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner{box-shadow:0 0 0 3px #aae1ffb3}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-inner img,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-inner img{border-radius:4px;height:100%;object-fit:cover;width:100%}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-author{background:#0000004d;bottom:0;color:#fff;display:none;font-size:12px;font-weight:500;left:0;margin:0;padding:5px;position:absolute;text-decoration:none;width:100%}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-author:hover,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-author:hover{background:#0006;text-decoration:underline}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox{background-color:#1269cf;border-radius:50%;height:26px;opacity:0;position:absolute;right:16px;top:16px;width:26px;z-index:1002}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox:after,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox:after{height:7px;inset-inline-start:7px;top:8px;width:12px}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox{opacity:1}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:hover+label .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label .uppy-ProviderBrowserItem-author,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:hover+label .uppy-ProviderBrowserItem-author{display:block}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label{box-shadow:0 0 0 3px #1269cf80}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label:focus,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label:focus{outline:none}.uppy-ProviderBrowser-viewType--grid .uppy-ProviderBrowserItem-checkbox--grid:focus+label::-moz-focus-inner,.uppy-ProviderBrowser-viewType--unsplash .uppy-ProviderBrowserItem-checkbox--grid:focus+label::-moz-focus-inner{border:0}.uppy-ProviderBrowser-viewType--list{background-color:#fff}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list{background-color:#1f1f1f}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{align-items:center;display:flex;margin:0;padding:7px 15px}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem{color:#eaeaea}.uppy-ProviderBrowser-viewType--list li.uppy-ProviderBrowserItem--disabled{opacity:.6}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox{background-color:#fff;border:1px solid #cfcfcf;border-radius:3px;height:17px;margin-inline-end:15px;width:17px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox:focus{border:1px solid #1269cf;box-shadow:0 0 0 3px #1269cf40;outline:none}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox:after{height:5px;inset-inline-start:3px;opacity:0;top:4px;width:9px}[data-uppy-theme=dark] .uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-checkbox:focus{border-color:#02baf2b3;box-shadow:0 0 0 3px #02baf233}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-partial .uppy-ProviderBrowserItem-checkbox{background-color:#1269cf;border-color:#1269cf}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox:after,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--is-partial .uppy-ProviderBrowserItem-checkbox:after{opacity:1}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner{align-items:center;color:inherit;display:flex;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;overflow:hidden;padding:2px;text-overflow:ellipsis;white-space:nowrap}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner:focus{outline:none;text-decoration:underline}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner img,.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner svg{margin-inline-end:8px}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-inner span{line-height:1.2;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem--disabled .uppy-ProviderBrowserItem-inner{cursor:default}.uppy-ProviderBrowser-viewType--list .uppy-ProviderBrowserItem-iconWrap{margin-inline-end:7px;width:20px}.uppy-ProviderBrowserItem-checkbox{cursor:pointer;flex-shrink:0;position:relative}.uppy-ProviderBrowserItem-checkbox:disabled,.uppy-ProviderBrowserItem-checkbox:disabled:after{cursor:default}[data-uppy-theme=dark] .uppy-ProviderBrowserItem-checkbox{background-color:#1f1f1f;border-color:#939393}[data-uppy-theme=dark] .uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox{background-color:#333}.uppy-ProviderBrowserItem--is-checked .uppy-ProviderBrowserItem-checkbox:after{border-bottom:2px solid #eaeaea;border-left:2px solid #eaeaea;content:\"\";cursor:pointer;position:absolute;transform:rotate(-45deg)}.uppy-ProviderBrowserItem--is-partial .uppy-ProviderBrowserItem-checkbox:after{background-color:#eaeaea!important;content:\"\"!important;height:2px!important;left:20%!important;position:absolute!important;right:20%!important;top:50%!important;transform:translateY(-50%)!important}.uppy-SearchProvider{align-items:center;display:flex;flex:1;flex-direction:column;height:100%;justify-content:center;width:100%}[data-uppy-theme=dark] .uppy-SearchProvider{background-color:#1f1f1f}.uppy-SearchProvider-input{margin-bottom:15px;max-width:650px;width:90%}.uppy-size--md .uppy-SearchProvider-input{margin-bottom:20px}.uppy-SearchProvider-input::-webkit-search-cancel-button{display:none}.uppy-SearchProvider-searchButton{padding:13px 25px}.uppy-size--md .uppy-SearchProvider-searchButton{padding:13px 30px}.uppy-DashboardContent-panelBody{align-items:center;display:flex;flex:1;justify-content:center}[data-uppy-theme=dark] .uppy-DashboardContent-panelBody{background-color:#1f1f1f}.uppy-Provider-auth,.uppy-Provider-empty,.uppy-Provider-error,.uppy-Provider-loading{align-items:center;color:#939393;display:flex;flex:1;flex-flow:column wrap;justify-content:center}.uppy-Provider-empty{color:#939393}.uppy-Provider-authIcon svg{height:75px;width:100px}.uppy-Provider-authTitle{color:#757575;font-size:17px;font-weight:400;line-height:1.4;margin-bottom:30px;max-width:500px;padding:0 15px;text-align:center}.uppy-size--md .uppy-Provider-authTitle{font-size:20px}[data-uppy-theme=dark] .uppy-Provider-authTitle{color:#cfcfcf}.uppy-Provider-btn-google{align-items:center;background:#4285f4;display:flex;padding:8px 12px!important}.uppy-Provider-btn-google:hover{background-color:#1266f1}.uppy-Provider-btn-google:focus{box-shadow:0 0 0 3px #4285f466;outline:none}.uppy-Provider-btn-google svg{margin-right:8px}.uppy-Provider-breadcrumbs{color:#525252;flex:1;font-size:12px;margin-bottom:10px;text-align:start}.uppy-size--md .uppy-Provider-breadcrumbs{margin-bottom:0}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs{color:#eaeaea}.uppy-Provider-breadcrumbsIcon{color:#525252;display:inline-block;line-height:1;margin-inline-end:4px;vertical-align:middle}.uppy-Provider-breadcrumbsIcon svg{height:13px;width:13px;fill:#525252}.uppy-Provider-breadcrumbs button{border-radius:3px;display:inline-block;line-height:inherit;padding:4px}.uppy-Provider-breadcrumbs button:focus{outline:none}.uppy-Provider-breadcrumbs button::-moz-focus-inner{border:0}.uppy-Provider-breadcrumbs button:hover{color:#0e51a0}.uppy-Provider-breadcrumbs button:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button:focus{background-color:#333}.uppy-Provider-breadcrumbs button:not(:last-of-type){text-decoration:underline}.uppy-Provider-breadcrumbs button:last-of-type{color:#333;cursor:normal;font-weight:500;pointer-events:none}.uppy-Provider-breadcrumbs button:hover{cursor:pointer}[data-uppy-theme=dark] .uppy-Provider-breadcrumbs button{color:#eaeaea}.uppy-ProviderBrowser{display:flex;flex:1;flex-direction:column;font-size:14px;font-weight:400;height:100%}.uppy-ProviderBrowser-user{color:#333;font-weight:500;margin:0 8px 0 0}[data-uppy-theme=dark] .uppy-ProviderBrowser-user{color:#eaeaea}.uppy-ProviderBrowser-user:after{color:#939393;content:\"·\";font-weight:400;inset-inline-start:4px;position:relative}.uppy-ProviderBrowser-header{border-bottom:1px solid #eaeaea;position:relative;z-index:1001}[data-uppy-theme=dark] .uppy-ProviderBrowser-header{border-bottom:1px solid #333}.uppy-ProviderBrowser-headerBar{background-color:#fafafa;color:#757575;font-size:12px;line-height:1.4;padding:7px 15px;z-index:1001}.uppy-size--md .uppy-ProviderBrowser-headerBar{align-items:center;display:flex}[data-uppy-theme=dark] .uppy-ProviderBrowser-headerBar{background-color:#1f1f1f}.uppy-ProviderBrowser-headerBar--simple{display:block;justify-content:center;text-align:center}.uppy-ProviderBrowser-headerBar--simple .uppy-Provider-breadcrumbsWrap{display:inline-block;flex:none;vertical-align:middle}.uppy-ProviderBrowser-searchFilter{align-items:center;display:flex;height:30px;margin-bottom:15px;margin-top:15px;padding-left:8px;padding-right:8px;position:relative;width:100%}.uppy-ProviderBrowser-searchFilterInput{background-color:#eaeaea;border:0;border-radius:4px;color:#333;font-family:-apple-system,system-ui,BlinkMacSystemFont,Segoe UI,Segoe UI Symbol,Segoe UI Emoji,Apple Color Emoji,Roboto,Helvetica,Arial,sans-serif;font-size:13px;height:30px;line-height:1.4;outline:0;padding-inline-end:30px;padding-inline-start:30px;width:100%;z-index:1001}.uppy-ProviderBrowser-searchFilterInput::-webkit-search-cancel-button{display:none}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchFilterInput{background-color:#1f1f1f;color:#eaeaea}.uppy-ProviderBrowser-searchFilterInput:focus{background-color:#cfcfcf;border:0}[data-uppy-theme=dark] .uppy-ProviderBrowser-searchFilterInput:focus{background-color:#333}.uppy-ProviderBrowser-searchFilterIcon{color:#757575;height:12px;inset-inline-start:16px;position:absolute;width:12px;z-index:1002}.uppy-ProviderBrowser-searchFilterInput::placeholder{color:#939393;opacity:1}.uppy-ProviderBrowser-searchFilterReset{border-radius:3px;color:#939393;cursor:pointer;height:22px;inset-inline-end:16px;padding:6px;position:absolute;width:22px;z-index:1002}.uppy-ProviderBrowser-searchFilterReset:focus{outline:none}.uppy-ProviderBrowser-searchFilterReset::-moz-focus-inner{border:0}.uppy-ProviderBrowser-searchFilterReset:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-ProviderBrowser-searchFilterReset:hover{color:#757575}.uppy-ProviderBrowser-searchFilterReset svg{vertical-align:text-top}.uppy-ProviderBrowser-userLogout{border-radius:3px;color:#1269cf;cursor:pointer;line-height:inherit;padding:4px}.uppy-ProviderBrowser-userLogout:focus{outline:none}.uppy-ProviderBrowser-userLogout::-moz-focus-inner{border:0}.uppy-ProviderBrowser-userLogout:hover{color:#0e51a0}.uppy-ProviderBrowser-userLogout:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout:focus{background-color:#333}.uppy-ProviderBrowser-userLogout:hover{text-decoration:underline}[data-uppy-theme=dark] .uppy-ProviderBrowser-userLogout{color:#eaeaea}.uppy-ProviderBrowser-body{flex:1;position:relative}.uppy-ProviderBrowser-list{background-color:#fff;border-spacing:0;bottom:0;display:block;flex:1;height:100%;left:0;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:0;position:absolute;right:0;top:0;width:100%;-webkit-overflow-scrolling:touch}[data-uppy-theme=dark] .uppy-ProviderBrowser-list{background-color:#1f1f1f}.uppy-ProviderBrowser-list:focus{outline:none}.uppy-ProviderBrowserItem-inner{cursor:pointer;font-size:13px;font-weight:500}.uppy-ProviderBrowser-footer{align-items:center;background-color:#fff;border-top:1px solid #eaeaea;display:flex;justify-content:space-between;padding:15px}.uppy-ProviderBrowser-footer button{margin-inline-end:8px}[data-uppy-theme=dark] .uppy-ProviderBrowser-footer{background-color:#1f1f1f;border-top:1px solid #333}.uppy-ProviderBrowser-footer-buttons{flex-shrink:0}.uppy-ProviderBrowser-footer-error{color:#e32437;line-height:18px}@media (max-width:426px){.uppy-ProviderBrowser-footer{align-items:stretch;flex-direction:column-reverse}.uppy-ProviderBrowser-footer-error{padding-bottom:10px}}.picker-dialog-bg{z-index:20000!important}.picker-dialog{z-index:20001!important}.uppy-Dashboard-Item-previewInnerWrap{align-items:center;border-radius:3px;box-shadow:0 0 2px 0 #0006;display:flex;flex-direction:column;height:100%;justify-content:center;overflow:hidden;position:relative;width:100%}.uppy-size--md .uppy-Dashboard-Item-previewInnerWrap{box-shadow:0 1px 2px #00000026}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-previewInnerWrap{box-shadow:none}.uppy-Dashboard-Item-previewInnerWrap:after{background-color:#000000a6;bottom:0;content:\"\";display:none;left:0;position:absolute;right:0;top:0;z-index:1001}.uppy-Dashboard-Item-previewLink{bottom:0;left:0;position:absolute;right:0;top:0;z-index:1002}.uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #579df0}[data-uppy-theme=dark] .uppy-Dashboard-Item-previewLink:focus{box-shadow:inset 0 0 0 3px #016c8d}.uppy-Dashboard-Item-preview img.uppy-Dashboard-Item-previewImg{border-radius:3px;height:100%;object-fit:cover;transform:translateZ(0);width:100%}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-preview img.uppy-Dashboard-Item-previewImg{height:auto;max-height:100%;max-width:100%;object-fit:contain;padding:10px;width:auto}.uppy-Dashboard-Item-progress{color:#fff;left:50%;position:absolute;text-align:center;top:50%;transform:translate(-50%,-50%);transition:all .35 ease;width:120px;z-index:1002}.uppy-Dashboard-Item-progressIndicator{color:#fff;display:inline-block;height:38px;opacity:.9;width:38px}.uppy-size--md .uppy-Dashboard-Item-progressIndicator{height:55px;width:55px}button.uppy-Dashboard-Item-progressIndicator{cursor:pointer}button.uppy-Dashboard-Item-progressIndicator:focus{outline:none}button.uppy-Dashboard-Item-progressIndicator::-moz-focus-inner{border:0}button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--bg,button.uppy-Dashboard-Item-progressIndicator:focus .uppy-Dashboard-Item-progressIcon--retry{fill:#579df0}.uppy-Dashboard-Item-progressIcon--circle{height:100%;width:100%}.uppy-Dashboard-Item-progressIcon--bg{stroke:#fff6}.uppy-Dashboard-Item-progressIcon--progress{transition:stroke-dashoffset .5s ease-out;stroke:#fff}.uppy-Dashboard-Item-progressIcon--play{transition:all .2s;fill:#fff;stroke:#fff}.uppy-Dashboard-Item-progressIcon--cancel{transition:all .2s;fill:#fff}.uppy-Dashboard-Item-progressIcon--pause{transition:all .2s;fill:#fff;stroke:#fff}.uppy-Dashboard-Item-progressIcon--check{transition:all .2s;fill:#fff}.uppy-Dashboard-Item-progressIcon--retry{fill:#fff}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progress{inset-inline-end:-8px;inset-inline-start:auto;top:-9px;transform:none;width:auto}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{height:18px;width:18px}.uppy-size--md .uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-progressIndicator{height:28px;width:28px}.uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{height:18px;opacity:1;width:18px}.uppy-size--md .uppy-Dashboard-Item.is-complete .uppy-Dashboard-Item-progressIndicator{height:22px;width:22px}.uppy-Dashboard-Item.is-processing .uppy-Dashboard-Item-progress{opacity:0}.uppy-Dashboard-Item-fileInfo{padding-inline-end:5px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfo{padding-inline-end:10px}.uppy-size--md.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfo{padding-inline-end:15px}.uppy-Dashboard-Item-name{font-size:12px;font-weight:500;line-height:1.3;margin-bottom:5px;word-wrap:anywhere;word-break:break-all}[data-uppy-theme=dark] .uppy-Dashboard-Item-name{color:#eaeaea}.uppy-size--md.uppy-Dashboard--singleFile .uppy-Dashboard-Item-name{font-size:14px;line-height:1.4}.uppy-Dashboard-Item-fileName{align-items:baseline;display:flex}.uppy-Dashboard-Item-fileName button{margin-left:5px}.uppy-Dashboard-Item-author{color:#757575;display:inline-block;font-size:11px;font-weight:400;line-height:1;margin-bottom:5px;vertical-align:bottom}.uppy-Dashboard-Item-author a{color:#757575}.uppy-Dashboard-Item-status{color:#757575;font-size:11px;font-weight:400;line-height:1}[data-uppy-theme=dark] .uppy-Dashboard-Item-status{color:#bbb}.uppy-Dashboard-Item-statusSize{display:inline-block;margin-bottom:5px;text-transform:uppercase;vertical-align:bottom}.uppy-Dashboard-Item-reSelect{color:#1269cf;font-family:inherit;font-size:inherit;font-weight:600}.uppy-Dashboard-Item-errorMessage{background-color:#fdeff1;color:#a51523;font-size:11px;font-weight:500;line-height:1.3;padding:5px 6px}.uppy-Dashboard-Item-errorMessageBtn{color:#a51523;cursor:pointer;font-size:11px;font-weight:500;text-decoration:underline}.uppy-Dashboard-Item-preview .uppy-Dashboard-Item-errorMessage{display:none}.uppy-size--md .uppy-Dashboard-Item-preview .uppy-Dashboard-Item-errorMessage{border-bottom-left-radius:3px;border-bottom-right-radius:3px;border-top:1px solid #f7c2c8;bottom:0;display:block;left:0;line-height:1.4;padding:6px 8px;position:absolute;right:0}.uppy-Dashboard-Item-fileInfo .uppy-Dashboard-Item-errorMessage{border:1px solid #f7c2c8;border-radius:3px;display:inline-block;position:static}.uppy-size--md .uppy-Dashboard-Item-fileInfo .uppy-Dashboard-Item-errorMessage{display:none}.uppy-Dashboard-Item-action{color:#939393;cursor:pointer}.uppy-Dashboard-Item-action:focus{outline:none}.uppy-Dashboard-Item-action::-moz-focus-inner{border:0}.uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-Dashboard-Item-action:hover{color:#1f1f1f;opacity:1}[data-uppy-theme=dark] .uppy-Dashboard-Item-action{color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{outline:none}[data-uppy-theme=dark] .uppy-Dashboard-Item-action::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:focus{box-shadow:0 0 0 2px #aae1ffd9}[data-uppy-theme=dark] .uppy-Dashboard-Item-action:hover{color:#eaeaea}.uppy-Dashboard-Item-action--remove{color:#1f1f1f;opacity:.95}.uppy-Dashboard-Item-action--remove:hover{color:#000;opacity:1}.uppy-size--md .uppy-Dashboard-Item-action--remove{height:18px;inset-inline-end:-8px;padding:0;position:absolute;top:-8px;width:18px;z-index:1002}.uppy-size--md .uppy-Dashboard-Item-action--remove:focus{border-radius:50%}.uppy-Dashboard--singleFile.uppy-size--height-md .uppy-Dashboard-Item-action--remove{inset-inline-end:8px;position:absolute;top:8px}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove{color:#525252}[data-uppy-theme=dark] .uppy-Dashboard-Item-action--remove:hover{color:#333}.uppy-Dashboard:not(.uppy-size--md):not(.uppy-Dashboard--singleFile.uppy-size--height-md) .uppy-Dashboard-Item-actionWrapper{align-items:center;display:flex}.uppy-Dashboard:not(.uppy-size--md):not(.uppy-Dashboard--singleFile.uppy-size--height-md) .uppy-Dashboard-Item-action{height:22px;margin-left:3px;padding:3px;width:22px}.uppy-Dashboard:not(.uppy-size--md):not(.uppy-Dashboard--singleFile.uppy-size--height-md) .uppy-Dashboard-Item-action:focus{border-radius:3px}.uppy-size--md .uppy-Dashboard-Item-action--copyLink,.uppy-size--md .uppy-Dashboard-Item-action--edit{height:16px;padding:0;width:16px}.uppy-size--md .uppy-Dashboard-Item-action--copyLink:focus,.uppy-size--md .uppy-Dashboard-Item-action--edit:focus{border-radius:3px}.uppy-Dashboard-Item{align-items:center;border-bottom:1px solid #eaeaea;display:flex;padding:10px}.uppy-Dashboard:not(.uppy-Dashboard--singleFile) .uppy-Dashboard-Item{padding-inline-end:0}[data-uppy-theme=dark] .uppy-Dashboard-Item{border-bottom:1px solid #333}.uppy-size--md .uppy-Dashboard-Item{border-bottom:0;display:block;float:inline-start;height:215px;margin:5px 15px;padding:0;position:relative;width:calc(33.333% - 30px)}.uppy-size--lg .uppy-Dashboard-Item{height:190px;margin:5px 15px;padding:0;width:calc(25% - 30px)}.uppy-size--xl .uppy-Dashboard-Item{height:210px;padding:0;width:calc(20% - 30px)}.uppy-Dashboard--singleFile .uppy-Dashboard-Item{border-bottom:0;display:flex;flex-direction:column;height:100%;max-width:400px;padding:15px;position:relative;width:100%}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-previewInnerWrap{opacity:.2}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-name{opacity:.7}.uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='35' height='39' viewBox='0 0 35 39'%3E%3Cpath fill='%2523000' d='M1.708 38.66c1.709 0 3.417-3.417 6.834-3.417s5.125 3.417 8.61 3.417c3.348 0 5.056-3.417 8.473-3.417 4.305 0 5.125 3.417 6.833 3.417.889 0 1.709-.889 1.709-1.709v-19.68C34.167-5.757 0-5.757 0 17.271v19.68c0 .82.888 1.709 1.708 1.709m8.542-17.084a3.383 3.383 0 0 1-3.417-3.416 3.383 3.383 0 0 1 3.417-3.417 3.383 3.383 0 0 1 3.417 3.417 3.383 3.383 0 0 1-3.417 3.416m13.667 0A3.383 3.383 0 0 1 20.5 18.16a3.383 3.383 0 0 1 3.417-3.417 3.383 3.383 0 0 1 3.416 3.417 3.383 3.383 0 0 1-3.416 3.416'/%3E%3C/svg%3E\");background-position:50% 10px;background-repeat:no-repeat;background-size:25px;bottom:0;content:\"\";left:0;opacity:.5;position:absolute;right:0;top:0;z-index:1005}.uppy-size--md .uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-position:50% 50%;background-size:40px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item.is-ghost .uppy-Dashboard-Item-preview:before{background-position:50% 50%;background-size:30%}.uppy-Dashboard-Item-preview{flex-grow:0;flex-shrink:0;height:50px;position:relative;width:50px}.uppy-size--md .uppy-Dashboard-Item-preview{height:140px;width:100%}.uppy-size--lg .uppy-Dashboard-Item-preview{height:120px}.uppy-size--xl .uppy-Dashboard-Item-preview{height:140px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-preview{flex-grow:1;max-height:75%;width:100%}.uppy-Dashboard--singleFile.uppy-size--md .uppy-Dashboard-Item-preview{max-height:100%}.uppy-Dashboard-Item-fileInfoAndButtons{align-items:center;display:flex;flex-grow:1;justify-content:space-between;padding-inline-end:8px;padding-inline-start:12px}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfoAndButtons,.uppy-size--md .uppy-Dashboard-Item-fileInfoAndButtons{align-items:flex-start;padding:9px 0 0}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-fileInfoAndButtons{flex-grow:0;width:100%}.uppy-Dashboard-Item-fileInfo{flex-grow:1;flex-shrink:1}.uppy-Dashboard-Item-actionWrapper{flex-grow:0;flex-shrink:0}.uppy-Dashboard-Item.is-error .uppy-Dashboard-Item-previewInnerWrap:after,.uppy-Dashboard-Item.is-inprogress .uppy-Dashboard-Item-previewInnerWrap:after{display:block}.uppy-Dashboard-Item-errorDetails{appearance:none;background-color:#939393;border:none;border-radius:50%;color:#fff;cursor:help;flex-shrink:0;font-size:10px;font-weight:600;height:13px;inset-inline-start:2px;line-height:12px;position:relative;text-align:center;top:0;width:13px}.uppy-Dashboard-Item-errorDetails:after{line-height:1.3;word-wrap:break-word}.uppy-Dashboard-FileCard{background-color:#fff;border-radius:5px;bottom:0;box-shadow:0 0 10px 4px #0000001a;display:flex;flex-direction:column;height:100%;left:0;position:absolute;right:0;top:0;width:100%;z-index:1005}.uppy-Dashboard-FileCard .uppy-DashboardContent-bar{border-top-left-radius:5px;border-top-right-radius:5px}.uppy-Dashboard-FileCard .uppy-Dashboard-FileCard-actions{border-bottom-left-radius:5px;border-bottom-right-radius:5px}.uppy-Dashboard-FileCard-inner{display:flex;flex-direction:column;flex-grow:1;flex-shrink:1;height:100%;min-height:0}.uppy-Dashboard-FileCard-preview{align-items:center;border-bottom:1px solid #eaeaea;display:flex;flex-grow:0;flex-shrink:1;height:60%;justify-content:center;min-height:0;position:relative}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-preview{background-color:#333;border-bottom:0}.uppy-Dashboard-FileCard-preview img.uppy-Dashboard-Item-previewImg{border-radius:3px;box-shadow:0 3px 20px #00000026;flex:0 0 auto;max-height:90%;max-width:90%;object-fit:cover}.uppy-Dashboard-FileCard-edit{background-color:#00000080;border-radius:50px;color:#fff;font-size:13px;inset-inline-end:10px;padding:7px 15px;position:absolute;top:10px}.uppy-Dashboard-FileCard-edit:focus{outline:none}.uppy-Dashboard-FileCard-edit::-moz-focus-inner{border:0}.uppy-Dashboard-FileCard-edit:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-Dashboard-FileCard-edit:hover{background-color:#000c}.uppy-Dashboard-FileCard-info{flex-grow:0;flex-shrink:0;height:40%;overflow-y:auto;padding:30px 20px 20px;-webkit-overflow-scrolling:touch}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-info{background-color:#1f1f1f}.uppy-Dashboard-FileCard-fieldset{border:0;font-size:0;margin:auto auto 12px;max-width:640px;padding:0}.uppy-Dashboard-FileCard-label{color:#525252;display:inline-block;font-size:12px;vertical-align:middle;width:22%}.uppy-size--md .uppy-Dashboard-FileCard-label{font-size:14px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-label{color:#eaeaea}.uppy-Dashboard-FileCard-input{display:inline-block;vertical-align:middle;width:78%}.uppy-Dashboard-FileCard-actions{align-items:center;background-color:#fafafa;border-top:1px solid #eaeaea;display:flex;flex-grow:0;flex-shrink:0;height:55px;padding:0 15px}.uppy-size--md .uppy-Dashboard-FileCard-actions{height:65px}[data-uppy-theme=dark] .uppy-Dashboard-FileCard-actions{background-color:#1f1f1f;border-top:1px solid #333}.uppy-Dashboard-FileCard-actionsBtn{margin-inline-end:10px}.uppy-Informer{bottom:60px;left:0;position:absolute;right:0;text-align:center;z-index:1005}.uppy-Informer span>div{margin-bottom:6px}.uppy-Informer-animated{opacity:0;transform:translateY(350%);transition:all .3s ease-in;z-index:-1000}.uppy-Informer p{background-color:#757575;border-radius:18px;color:#fff;display:inline-block;font-size:12px;font-weight:400;line-height:1.4;margin:0;max-width:90%;padding:6px 15px}.uppy-size--md .uppy-Informer p{font-size:14px;line-height:1.3;max-width:500px;padding:10px 20px}[data-uppy-theme=dark] .uppy-Informer p{background-color:#333}.uppy-Informer p span{background-color:#fff;border-radius:50%;color:#525252;display:inline-block;font-size:10px;height:13px;inset-inline-start:3px;line-height:12px;margin-inline-start:-1px;position:relative;top:-1px;vertical-align:middle;width:13px}.uppy-Informer p span:hover{cursor:help}.uppy-Informer p span:after{line-height:1.3;word-wrap:break-word}.uppy-Root [aria-label][role~=tooltip]{position:relative}.uppy-Root [aria-label][role~=tooltip]:after,.uppy-Root [aria-label][role~=tooltip]:before{-webkit-backface-visibility:hidden;backface-visibility:hidden;box-sizing:border-box;opacity:0;pointer-events:none;position:absolute;transform:translateZ(0);transform-origin:top;transition:all var(--microtip-transition-duration,.18s) var(--microtip-transition-easing,ease-in-out) var(--microtip-transition-delay,0s);will-change:transform;z-index:10}.uppy-Root [aria-label][role~=tooltip]:before{background-size:100% auto!important;content:\"\"}.uppy-Root [aria-label][role~=tooltip]:after{background:#111111e6;border-radius:4px;box-sizing:initial;color:#fff;content:attr(aria-label);font-size:var(--microtip-font-size,13px);font-weight:var(--microtip-font-weight,normal);padding:.5em 1em;text-transform:var(--microtip-text-transform,none);white-space:nowrap}.uppy-Root [aria-label][role~=tooltip]:focus:after,.uppy-Root [aria-label][role~=tooltip]:focus:before,.uppy-Root [aria-label][role~=tooltip]:hover:after,.uppy-Root [aria-label][role~=tooltip]:hover:before{opacity:1;pointer-events:auto}.uppy-Root [role~=tooltip][data-microtip-position|=top]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M2.658 0h32.004c-6 0-11.627 12.002-16.002 12.002S8.594 0 2.658 0'/%3E%3C/svg%3E\") no-repeat;bottom:100%;height:6px;left:50%;margin-bottom:5px;transform:translate3d(-50%,0,0);width:18px}.uppy-Root [role~=tooltip][data-microtip-position|=top]:after{bottom:100%;left:50%;margin-bottom:11px;transform:translate3d(-50%,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=top]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position|=top]:hover:before{transform:translate3d(-50%,-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:after{bottom:100%;transform:translate3d(calc(-100% + 16px),0,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-left]:hover:after{transform:translate3d(calc(-100% + 16px),-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:after{bottom:100%;transform:translate3d(-16px,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=top-right]:hover:after{transform:translate3d(-16px,-5px,0)}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M33.342 12H1.338c6 0 11.627-12.002 16.002-12.002S27.406 12 33.342 12'/%3E%3C/svg%3E\") no-repeat;bottom:auto;height:6px;left:50%;margin-bottom:0;margin-top:5px;top:100%;transform:translate3d(-50%,-10px,0);width:18px}.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:after{left:50%;margin-top:11px;top:100%;transform:translate3d(-50%,-10px,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position|=bottom]:hover:before{transform:translate3d(-50%,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:after{top:100%;transform:translate3d(calc(-100% + 16px),-10px,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-left]:hover:after{transform:translate3d(calc(-100% + 16px),0,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:after{top:100%;transform:translate3d(-16px,-10px,0)}.uppy-Root [role~=tooltip][data-microtip-position=bottom-right]:hover:after{transform:translate3d(-16px,0,0)}.uppy-Root [role~=tooltip][data-microtip-position=left]:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:before{bottom:auto;left:auto;right:100%;top:50%;transform:translate3d(10px,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=left]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M0 33.342V1.338c0 6 12.002 11.627 12.002 16.002S0 27.406 0 33.342'/%3E%3C/svg%3E\") no-repeat;height:18px;margin-bottom:0;margin-right:5px;width:6px}.uppy-Root [role~=tooltip][data-microtip-position=left]:after{margin-right:11px}.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=left]:hover:before{transform:translate3d(0,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=right]:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:before{bottom:auto;left:100%;top:50%;transform:translate3d(-10px,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-position=right]:before{background:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='36'%3E%3Cpath fill='rgba(17, 17, 17, 0.9)' d='M12 2.658v32.004c0-6-12.002-11.627-12.002-16.002S12 8.594 12 2.658'/%3E%3C/svg%3E\") no-repeat;height:18px;margin-bottom:0;margin-left:5px;width:6px}.uppy-Root [role~=tooltip][data-microtip-position=right]:after{margin-left:11px}.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:after,.uppy-Root [role~=tooltip][data-microtip-position=right]:hover:before{transform:translate3d(0,-50%,0)}.uppy-Root [role~=tooltip][data-microtip-size=small]:after{white-space:normal;width:80px}.uppy-Root [role~=tooltip][data-microtip-size=medium]:after{white-space:normal;width:150px}.uppy-Root [role~=tooltip][data-microtip-size=large]:after{white-space:normal;width:260px}.uppy-StatusBar{background-color:#fff;color:#fff;display:flex;font-size:12px;font-weight:400;height:46px;line-height:40px;position:relative;transition:height .2s;z-index:1001}[data-uppy-theme=dark] .uppy-StatusBar{background-color:#1f1f1f}.uppy-StatusBar:before{background-color:#eaeaea;bottom:0;content:\"\";height:2px;left:0;position:absolute;right:0;top:0;width:100%}[data-uppy-theme=dark] .uppy-StatusBar:before{background-color:#757575}.uppy-StatusBar[aria-hidden=true]{height:0;overflow-y:hidden}.uppy-StatusBar.is-complete .uppy-StatusBar-progress{background-color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-progress{background-color:#e32437}.uppy-StatusBar.is-complete .uppy-StatusBar-statusIndicator{color:#1bb240}.uppy-StatusBar.is-error .uppy-StatusBar-statusIndicator{color:#e32437}.uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#fff;border-top:1px solid #eaeaea;height:65px}[data-uppy-theme=dark] .uppy-StatusBar:not([aria-hidden=true]).is-waiting{background-color:#1f1f1f;border-top:1px solid #333}.uppy-StatusBar-progress{background-color:#1269cf;height:2px;position:absolute;transition:background-color,width .3s ease-out;z-index:1001}.uppy-StatusBar-progress.is-indeterminate{animation:uppy-StatusBar-ProgressStripes 1s linear infinite;background-image:linear-gradient(45deg,#0000004d 25%,#0000 0,#0000 50%,#0000004d 0,#0000004d 75%,#0000 0,#0000);background-size:64px 64px}@keyframes uppy-StatusBar-ProgressStripes{0%{background-position:0 0}to{background-position:64px 0}}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-progress,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-progress{background-color:#f6a623}.uppy-StatusBar.is-waiting .uppy-StatusBar-progress{display:none}.uppy-StatusBar-content{align-items:center;color:#333;display:flex;height:100%;padding-inline-start:10px;position:relative;text-overflow:ellipsis;white-space:nowrap;z-index:1002}.uppy-size--md .uppy-StatusBar-content{padding-inline-start:15px}[data-uppy-theme=dark] .uppy-StatusBar-content{color:#eaeaea}.uppy-StatusBar-status{display:flex;flex-direction:column;font-weight:400;justify-content:center;line-height:1.4;padding-inline-end:.3em}.uppy-StatusBar-statusPrimary{display:flex;font-weight:500;line-height:1}.uppy-StatusBar-statusPrimary button.uppy-StatusBar-details{margin-left:5px}[data-uppy-theme=dark] .uppy-StatusBar-statusPrimary{color:#eaeaea}.uppy-StatusBar-statusSecondary{color:#757575;display:inline-block;font-size:11px;line-height:1.2;margin-top:1px;white-space:nowrap}[data-uppy-theme=dark] .uppy-StatusBar-statusSecondary{color:#bbb}.uppy-StatusBar-statusSecondaryHint{display:inline-block;line-height:1;margin-inline-end:5px;vertical-align:middle}.uppy-size--md .uppy-StatusBar-statusSecondaryHint{margin-inline-end:8px}.uppy-StatusBar-statusIndicator{color:#525252;margin-inline-end:7px;position:relative;top:1px}.uppy-StatusBar-statusIndicator svg{vertical-align:text-bottom}.uppy-StatusBar-actions{align-items:center;bottom:0;display:flex;inset-inline-end:10px;position:absolute;top:0;z-index:1004}.uppy-StatusBar.is-waiting .uppy-StatusBar-actions{background-color:#fafafa;height:100%;padding:0 15px;position:static;width:100%}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actions{background-color:#1f1f1f}.uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts{flex-direction:column;height:90px}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts{flex-direction:row;height:65px}.uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:column;justify-content:center}.uppy-size--md .uppy-StatusBar:not([aria-hidden=true]).is-waiting.has-ghosts .uppy-StatusBar-actions{flex-direction:row;justify-content:normal}.uppy-StatusBar-actionCircleBtn{cursor:pointer;line-height:1;margin:3px;opacity:.9}.uppy-StatusBar-actionCircleBtn:focus{outline:none}.uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}.uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 3px #1269cf80}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionCircleBtn:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar-actionCircleBtn:hover{opacity:1}.uppy-StatusBar-actionCircleBtn:focus{border-radius:50%}.uppy-StatusBar-actionCircleBtn svg{vertical-align:bottom}.uppy-StatusBar-actionBtn{color:#1269cf;display:inline-block;font-size:10px;line-height:inherit;vertical-align:middle}.uppy-size--md .uppy-StatusBar-actionBtn{font-size:11px}.uppy-StatusBar-actionBtn--disabled{opacity:.4}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--disabled{opacity:.7}.uppy-StatusBar-actionBtn--retry{background-color:#ff4b23;border-radius:8px;color:#fff;height:16px;line-height:1;margin-inline-end:6px;padding:1px 6px 3px 18px;position:relative}.uppy-StatusBar-actionBtn--retry:focus{outline:none}.uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 3px #1269cf80}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--retry:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar-actionBtn--retry:hover{background-color:#f92d00}.uppy-StatusBar-actionBtn--retry svg{inset-inline-start:6px;position:absolute;top:3px}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{background-color:#1bb240;color:#fff;font-size:14px;line-height:1;padding:15px 10px;width:100%}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#189c38}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{background-color:#1c8b37}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload:hover{background-color:#18762f}.uppy-size--md .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload{padding:13px 22px;width:auto}.uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{background-color:#1bb240;cursor:not-allowed}[data-uppy-theme=dark] .uppy-StatusBar.is-waiting .uppy-StatusBar-actionBtn--upload.uppy-StatusBar-actionBtn--disabled:hover{background-color:#1c8b37}.uppy-StatusBar:not(.is-waiting) .uppy-StatusBar-actionBtn--upload{background-color:initial;color:#1269cf}.uppy-StatusBar-actionBtn--uploadNewlyAdded{border-radius:3px;padding-inline-end:3px;padding-bottom:1px;padding-inline-start:3px}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}.uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 3px #1269cf80}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{outline:none}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--uploadNewlyAdded:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-actionBtn--uploadNewlyAdded,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-actionBtn--uploadNewlyAdded{display:none}.uppy-StatusBar-actionBtn--done{border-radius:3px;line-height:1;padding:7px 8px}.uppy-StatusBar-actionBtn--done:focus{outline:none}.uppy-StatusBar-actionBtn--done::-moz-focus-inner{border:0}.uppy-StatusBar-actionBtn--done:hover{color:#0e51a0}.uppy-StatusBar-actionBtn--done:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done:focus{background-color:#333}[data-uppy-theme=dark] .uppy-StatusBar-actionBtn--done{color:#02baf2}.uppy-size--md .uppy-StatusBar-actionBtn--done{font-size:14px}.uppy-StatusBar-serviceMsg{color:#000;font-size:11px;line-height:1.1;padding-left:10px}.uppy-size--md .uppy-StatusBar-serviceMsg{font-size:14px;padding-left:15px}[data-uppy-theme=dark] .uppy-StatusBar-serviceMsg{color:#eaeaea}.uppy-StatusBar-serviceMsg-ghostsIcon{left:6px;opacity:.5;position:relative;top:2px;vertical-align:text-bottom;width:10px}.uppy-size--md .uppy-StatusBar-serviceMsg-ghostsIcon{left:10px;top:1px;width:15px}.uppy-StatusBar-details{appearance:none;background-color:#939393;border-radius:50%;color:#fff;cursor:help;display:inline-block;font-size:10px;font-weight:600;height:13px;inset-inline-start:2px;line-height:12px;position:relative;text-align:center;top:0;vertical-align:middle;width:13px}.uppy-StatusBar-details:after{line-height:1.3;word-wrap:break-word}.uppy-StatusBar-spinner{animation-duration:1s;animation-iteration-count:infinite;animation-name:uppy-StatusBar-spinnerAnimation;animation-timing-function:linear;fill:#1269cf;margin-inline-end:10px}.uppy-StatusBar.is-postprocessing .uppy-StatusBar-spinner,.uppy-StatusBar.is-preprocessing .uppy-StatusBar-spinner{fill:#f6a623}@keyframes uppy-StatusBar-spinnerAnimation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.uppy-transition-slideDownUp-enter{opacity:.01;transform:translate3d(0,-105%,0);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-enter.uppy-transition-slideDownUp-enter-active{opacity:1;transform:translateZ(0)}.uppy-transition-slideDownUp-leave{opacity:1;transform:translateZ(0);transition:transform .25s ease-in-out,opacity .25s ease-in-out}.uppy-transition-slideDownUp-leave.uppy-transition-slideDownUp-leave-active{opacity:.01;transform:translate3d(0,-105%,0)}@keyframes uppy-Dashboard-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes uppy-Dashboard-fadeOut{0%{opacity:1}to{opacity:0}}@keyframes uppy-Dashboard-slideDownAndFadeIn{0%{opacity:0;transform:translate3d(-50%,-70%,0)}to{opacity:1;transform:translate3d(-50%,-50%,0)}}@keyframes uppy-Dashboard-slideDownAndFadeIn--small{0%{opacity:0;transform:translate3d(0,-20%,0)}to{opacity:1;transform:translateZ(0)}}@keyframes uppy-Dashboard-slideUpFadeOut{0%{opacity:1;transform:translate3d(-50%,-50%,0)}to{opacity:0;transform:translate3d(-50%,-70%,0)}}@keyframes uppy-Dashboard-slideUpFadeOut--small{0%{opacity:1;transform:translateZ(0)}to{opacity:0;transform:translate3d(0,-20%,0)}}.uppy-Dashboard--modal{z-index:1001}.uppy-Dashboard--modal[aria-hidden=true]{display:none}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideDownAndFadeIn--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideDownAndFadeIn .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose>.uppy-Dashboard-overlay{animation:uppy-Dashboard-fadeIn .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideUpFadeOut--small .3s cubic-bezier(0,0,.2,1)}@media only screen and (min-width:820px){.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-inner{animation:uppy-Dashboard-slideUpFadeOut .3s cubic-bezier(0,0,.2,1)}}.uppy-Dashboard--modal.uppy-Dashboard--animateOpenClose.uppy-Dashboard--isClosing>.uppy-Dashboard-overlay{animation:uppy-Dashboard-fadeOut .3s cubic-bezier(0,0,.2,1)}.uppy-Dashboard-isFixed{height:100vh;overflow:hidden}.uppy-Dashboard--modal .uppy-Dashboard-overlay{background-color:#00000080;bottom:0;left:0;position:fixed;right:0;top:0;z-index:1001}.uppy-Dashboard-inner{background-color:#f4f4f4;border:1px solid #eaeaea;border-radius:5px;max-height:100%;max-width:100%;outline:none;position:relative}.uppy-size--md .uppy-Dashboard-inner{min-height:auto}@media only screen and (min-width:820px){.uppy-Dashboard-inner{height:500px;width:650px}}.uppy-Dashboard--modal .uppy-Dashboard-inner{z-index:1002}[data-uppy-theme=dark] .uppy-Dashboard-inner{background-color:#1f1f1f}.uppy-Dashboard--isDisabled .uppy-Dashboard-inner{cursor:not-allowed}.uppy-Dashboard-innerWrap{border-radius:5px;display:flex;flex-direction:column;height:100%;opacity:0;overflow:hidden;position:relative}.uppy-Dashboard--isInnerWrapVisible .uppy-Dashboard-innerWrap{opacity:1}.uppy-Dashboard--isDisabled .uppy-Dashboard-innerWrap{cursor:not-allowed;filter:grayscale(100%);opacity:.6;user-select:none}.uppy-Dashboard--isDisabled .uppy-ProviderIconBg{fill:#9f9f9f}.uppy-Dashboard--isDisabled [aria-disabled],.uppy-Dashboard--isDisabled [disabled]{cursor:not-allowed;pointer-events:none}.uppy-Dashboard--modal .uppy-Dashboard-inner{border:none;bottom:15px;left:15px;position:fixed;right:15px;top:35px}@media only screen and (min-width:820px){.uppy-Dashboard--modal .uppy-Dashboard-inner{box-shadow:0 5px 15px 4px #00000026;left:50%;right:auto;top:50%;transform:translate(-50%,-50%)}}.uppy-Dashboard-close{color:#ffffffe6;cursor:pointer;display:block;font-size:27px;inset-inline-end:-2px;position:absolute;top:-33px;z-index:1005}.uppy-Dashboard-close:focus{outline:none}.uppy-Dashboard-close::-moz-focus-inner{border:0}.uppy-Dashboard-close:focus{color:#6eabf2}@media only screen and (min-width:820px){.uppy-Dashboard-close{font-size:35px;inset-inline-end:-35px;top:-10px}}.uppy-Dashboard-serviceMsg{background-color:#fffbf7;border-bottom:1px solid #edd4b9;border-top:1px solid #edd4b9;font-size:12px;font-weight:500;line-height:1.3;padding:12px 0;position:relative;top:-1px;z-index:1004}.uppy-size--md .uppy-Dashboard-serviceMsg{font-size:14px;line-height:1.4}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg{background-color:#1f1f1f;border-bottom:1px solid #333;border-top:1px solid #333;color:#eaeaea}.uppy-Dashboard-serviceMsg-title{display:block;line-height:1;margin-bottom:4px;padding-left:42px}.uppy-Dashboard-serviceMsg-text{padding:0 15px}.uppy-Dashboard-serviceMsg-actionBtn{color:#1269cf;font-size:inherit;font-weight:inherit;vertical-align:initial}[data-uppy-theme=dark] .uppy-Dashboard-serviceMsg-actionBtn{color:#02baf2e6}.uppy-Dashboard-serviceMsg-icon{left:15px;position:absolute;top:10px}.uppy-Dashboard-AddFiles{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;position:relative;text-align:center}[data-uppy-drag-drop-supported=true] .uppy-Dashboard-AddFiles{border:1px dashed #dfdfdf;border-radius:3px;height:calc(100% - 14px);margin:7px}.uppy-Dashboard-AddFilesPanel .uppy-Dashboard-AddFiles{border:none;height:calc(100% - 54px)}.uppy-Dashboard--modal .uppy-Dashboard-AddFiles{border-color:#cfcfcf}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles{border-color:#757575}.uppy-Dashboard-AddFiles-info{display:none;margin-top:auto;padding-bottom:15px;padding-top:15px}.uppy-size--height-md .uppy-Dashboard-AddFiles-info{display:block}.uppy-size--md .uppy-Dashboard-AddFiles-info{bottom:25px;left:0;padding-bottom:0;padding-top:30px;position:absolute;right:0}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-info{margin-top:0}.uppy-Dashboard-browse{color:#1269cf;cursor:pointer}.uppy-Dashboard-browse:focus{outline:none}.uppy-Dashboard-browse::-moz-focus-inner{border:0}.uppy-Dashboard-browse:focus,.uppy-Dashboard-browse:hover{border-bottom:1px solid #1269cf}[data-uppy-theme=dark] .uppy-Dashboard-browse{color:#02baf2e6}[data-uppy-theme=dark] .uppy-Dashboard-browse:focus,[data-uppy-theme=dark] .uppy-Dashboard-browse:hover{border-bottom:1px solid #02baf2}.uppy-Dashboard-browseBtn{display:block;font-size:14px;font-weight:500;margin-bottom:5px;margin-top:8px;width:100%}.uppy-size--md .uppy-Dashboard-browseBtn{font-size:15px;margin:15px auto;padding:13px 44px;width:auto}.uppy-Dashboard-AddFiles-list{display:flex;flex:1;flex-direction:column;margin-top:2px;overflow-y:auto;padding:2px 0;width:100%;-webkit-overflow-scrolling:touch}.uppy-size--md .uppy-Dashboard-AddFiles-list{flex:none;flex-direction:row;flex-wrap:wrap;justify-content:center;margin-top:15px;max-width:600px;overflow-y:visible;padding-top:0}.uppy-DashboardTab{border-bottom:1px solid #eaeaea;text-align:center;width:100%}[data-uppy-theme=dark] .uppy-DashboardTab{border-bottom:1px solid #333}.uppy-size--md .uppy-DashboardTab{border-bottom:none;display:inline-block;margin-bottom:10px;width:auto}.uppy-DashboardTab-btn{align-items:center;-webkit-appearance:none;appearance:none;background-color:initial;color:#525252;cursor:pointer;flex-direction:row;height:100%;justify-content:left;padding:12px 15px;width:100%}.uppy-DashboardTab-btn:focus{outline:none}.uppy-size--md .uppy-DashboardTab-btn{border-radius:5px;flex-direction:column;margin-inline-end:1px;padding:10px 3px;width:86px}[data-uppy-theme=dark] .uppy-DashboardTab-btn{color:#eaeaea}.uppy-DashboardTab-btn::-moz-focus-inner{border:0}.uppy-DashboardTab-btn:hover{background-color:#e9ecef}[data-uppy-theme=dark] .uppy-DashboardTab-btn:hover{background-color:#333}.uppy-DashboardTab-btn:active,.uppy-DashboardTab-btn:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-DashboardTab-btn:active,[data-uppy-theme=dark] .uppy-DashboardTab-btn:focus{background-color:#525252}.uppy-DashboardTab-btn svg{display:inline-block;max-height:100%;max-width:100%;overflow:hidden;transition:transform .15s ease-in-out;vertical-align:text-top}.uppy-DashboardTab-inner{align-items:center;background-color:#fff;border-radius:8px;box-shadow:0 1px 1px 0 #0000001a,0 1px 2px 0 #0000001a,0 2px 3px 0 #00000005;display:flex;height:32px;justify-content:center;margin-inline-end:10px;width:32px}.uppy-size--md .uppy-DashboardTab-inner{margin-inline-end:0}[data-uppy-theme=dark] .uppy-DashboardTab-inner{background-color:#323232;box-shadow:0 1px 1px 0 #0003,0 1px 2px 0 #0003,0 2px 3px 0 #00000014}.uppy-DashboardTab-name{font-size:14px;font-weight:400}.uppy-size--md .uppy-DashboardTab-name{font-size:12px;line-height:15px;margin-bottom:0;margin-top:8px}.uppy-DashboardTab-iconMyDevice{color:#1269cf}[data-uppy-theme=dark] .uppy-DashboardTab-iconMyDevice{color:#02baf2}.uppy-DashboardTab-iconBox{color:#0061d5}[data-uppy-theme=dark] .uppy-DashboardTab-iconBox{color:#eaeaea}.uppy-DashboardTab-iconDropbox{color:#0061fe}[data-uppy-theme=dark] .uppy-DashboardTab-iconDropbox{color:#eaeaea}.uppy-DashboardTab-iconUnsplash{color:#111}[data-uppy-theme=dark] .uppy-DashboardTab-iconUnsplash{color:#eaeaea}.uppy-DashboardTab-iconWebdav{color:#111}[data-uppy-theme=dark] .uppy-DashboardTab-iconWebdav{color:#eaeaea}.uppy-DashboardTab-iconScreenRec{color:#2c3e50}[data-uppy-theme=dark] .uppy-DashboardTab-iconScreenRec{color:#eaeaea}.uppy-DashboardTab-iconAudio{color:#8030a3}[data-uppy-theme=dark] .uppy-DashboardTab-iconAudio{color:#bf6ee3}.uppy-Dashboard-input{height:.1px;opacity:0;overflow:hidden;position:absolute;width:.1px;z-index:-1}.uppy-DashboardContent-bar{align-items:center;background-color:#fafafa;border-bottom:1px solid #eaeaea;display:flex;flex-shrink:0;height:40px;justify-content:space-between;padding:0 10px;position:relative;width:100%;z-index:1004}.uppy-size--md .uppy-DashboardContent-bar{height:50px;padding:0 15px}[data-uppy-theme=dark] .uppy-DashboardContent-bar{background-color:#1f1f1f;border-bottom:1px solid #333}.uppy-DashboardContent-title{font-size:12px;font-weight:500;left:0;line-height:40px;margin:auto;max-width:170px;overflow-x:hidden;position:absolute;right:0;text-align:center;text-overflow:ellipsis;top:0;white-space:nowrap;width:100%}.uppy-size--md .uppy-DashboardContent-title{font-size:14px;line-height:50px;max-width:300px}[data-uppy-theme=dark] .uppy-DashboardContent-title{color:#eaeaea}.uppy-DashboardContent-back,.uppy-DashboardContent-save{-webkit-appearance:none;background:none;border:0;border-radius:3px;color:inherit;color:#1269cf;cursor:pointer;font-family:inherit;font-size:inherit;font-size:12px;font-weight:400;line-height:1;margin:0;margin-inline-start:-6px;padding:7px 6px}.uppy-DashboardContent-back:focus,.uppy-DashboardContent-save:focus{outline:none}.uppy-DashboardContent-back::-moz-focus-inner,.uppy-DashboardContent-save::-moz-focus-inner{border:0}.uppy-DashboardContent-back:hover,.uppy-DashboardContent-save:hover{color:#0e51a0}.uppy-DashboardContent-back:focus,.uppy-DashboardContent-save:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-DashboardContent-back:focus,[data-uppy-theme=dark] .uppy-DashboardContent-save:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-back,.uppy-size--md .uppy-DashboardContent-save{font-size:14px}[data-uppy-theme=dark] .uppy-DashboardContent-back,[data-uppy-theme=dark] .uppy-DashboardContent-save{color:#02baf2}.uppy-DashboardContent-addMore{-webkit-appearance:none;background:none;border:0;border-radius:3px;color:inherit;color:#1269cf;cursor:pointer;font-family:inherit;font-size:inherit;font-weight:500;height:29px;line-height:1;margin:0;margin-inline-end:-5px;padding:7px 8px;width:29px}.uppy-DashboardContent-addMore:focus{outline:none}.uppy-DashboardContent-addMore::-moz-focus-inner{border:0}.uppy-DashboardContent-addMore:hover{color:#0e51a0}.uppy-DashboardContent-addMore:focus{background-color:#dfe6f1}[data-uppy-theme=dark] .uppy-DashboardContent-addMore:focus{background-color:#333}.uppy-size--md .uppy-DashboardContent-addMore{font-size:14px;height:auto;margin-inline-end:-8px;width:auto}[data-uppy-theme=dark] .uppy-DashboardContent-addMore{color:#02baf2}.uppy-DashboardContent-addMore svg{margin-inline-end:4px;vertical-align:initial}.uppy-size--md .uppy-DashboardContent-addMore svg{height:11px;width:11px}.uppy-DashboardContent-addMoreCaption{display:none}.uppy-size--md .uppy-DashboardContent-addMoreCaption{display:inline}.uppy-DashboardContent-panel{background-color:#f5f5f5;flex:1}.uppy-Dashboard-AddFilesPanel,.uppy-DashboardContent-panel{border-radius:5px;bottom:0;display:flex;flex-direction:column;left:0;overflow:hidden;position:absolute;right:0;top:0;z-index:1005}.uppy-Dashboard-AddFilesPanel{background:#fafafa;background:linear-gradient(0deg,#fafafa 35%,#fafafad9);box-shadow:0 0 10px 5px #00000026}[data-uppy-theme=dark] .uppy-Dashboard-AddFilesPanel{background-color:#333;background-image:linear-gradient(0deg,#1f1f1f 35%,#1f1f1fd9)}.uppy-Dashboard--isAddFilesPanelVisible .uppy-Dashboard-files{filter:blur(2px)}.uppy-Dashboard-progress{bottom:0;height:12%;left:0;position:absolute;width:100%}.uppy-Dashboard-progressBarContainer.is-active{height:100%;left:0;position:absolute;top:0;width:100%;z-index:1004}.uppy-Dashboard-filesContainer{flex:1;margin:0;overflow-y:hidden;position:relative}.uppy-Dashboard-filesContainer:after{clear:both;content:\"\";display:table}.uppy-Dashboard-files{flex:1;margin:0;overflow-y:auto;padding:0 0 10px;-webkit-overflow-scrolling:touch}.uppy-size--md .uppy-Dashboard-files{padding-top:10px}.uppy-Dashboard--singleFile .uppy-Dashboard-filesInner{align-items:center;display:flex;height:100%;justify-content:center}.uppy-Dashboard-dropFilesHereHint{align-items:center;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath fill='%231269CF' d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0zm7.707 19.293a.999.999 0 1 1-1.414 1.414L25 16.414V34a1 1 0 1 1-2 0V16.414l-5.293 5.293a.999.999 0 1 1-1.414-1.414l7-7a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\");background-position:50% 50%;background-repeat:no-repeat;border:1px dashed #1269cf;border-radius:3px;bottom:7px;color:#757575;display:flex;font-size:16px;justify-content:center;left:7px;padding-top:90px;position:absolute;right:7px;text-align:center;top:7px;visibility:hidden;z-index:2000}[data-uppy-theme=dark] .uppy-Dashboard-dropFilesHereHint{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cpath fill='%2302BAF2' d='M24 1v1C11.85 2 2 11.85 2 24s9.85 22 22 22 22-9.85 22-22S36.15 2 24 2zm0 0V0c13.254 0 24 10.746 24 24S37.254 48 24 48 0 37.254 0 24 10.746 0 24 0zm7.707 19.293a.999.999 0 1 1-1.414 1.414L25 16.414V34a1 1 0 1 1-2 0V16.414l-5.293 5.293a.999.999 0 1 1-1.414-1.414l7-7a1 1 0 0 1 1.414 0z'/%3E%3C/svg%3E\");border-color:#02baf2;color:#bbb}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-dropFilesHereHint{pointer-events:none;visibility:visible}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-files,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-progressindicators,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-serviceMsg,.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-DashboardContent-bar{opacity:.15}.uppy-Dashboard.uppy-Dashboard--isDraggingOver .uppy-Dashboard-AddFiles{opacity:.03}.uppy-Dashboard-AddFiles-title{color:#000;font-size:17px;font-weight:500;line-height:1.35;margin-bottom:5px;margin-top:15px;padding:0 15px;text-align:inline-start;width:100%}.uppy-size--md .uppy-Dashboard-AddFiles-title{font-size:21px;font-weight:400;margin-top:5px;max-width:480px;padding:0 35px;text-align:center}[data-uppy-num-acquirers=\"0\"] .uppy-Dashboard-AddFiles-title{text-align:center}[data-uppy-theme=dark] .uppy-Dashboard-AddFiles-title{color:#eaeaea}.uppy-Dashboard-AddFiles-title button{font-weight:500}.uppy-size--md .uppy-Dashboard-AddFiles-title button{font-weight:400}.uppy-Dashboard-note{color:#757575;font-size:14px;line-height:1.25;margin:auto;max-width:350px;padding:0 15px;text-align:center}.uppy-size--md .uppy-Dashboard-note{line-height:1.35;max-width:600px}[data-uppy-theme=dark] .uppy-Dashboard-note{color:#cfcfcf}a.uppy-Dashboard-poweredBy{color:#939393;display:inline-block;font-size:11px;margin-top:8px;text-align:center;text-decoration:none}.uppy-Dashboard-poweredByIcon{margin-left:1px;margin-right:1px;opacity:.9;position:relative;top:1px;vertical-align:text-top;fill:none;stroke:#939393}.uppy-Dashboard-Item-previewIcon{height:25px;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);width:25px;z-index:100}.uppy-size--md .uppy-Dashboard-Item-previewIcon{height:38px;width:38px}.uppy-Dashboard-Item-previewIcon svg{height:100%;width:100%}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-previewIcon{height:100%;max-height:60%;max-width:60%;width:100%}.uppy-Dashboard-Item-previewIconWrap{height:76px;max-height:75%;position:relative}.uppy-Dashboard--singleFile .uppy-Dashboard-Item-previewIconWrap{height:100%;width:100%}.uppy-Dashboard-Item-previewIconBg{filter:drop-shadow(rgba(0,0,0,.1) 0 1px 1px);height:100%;width:100%}.uppy-Dashboard-upload{height:50px;position:relative;width:50px}.uppy-size--md .uppy-Dashboard-upload{height:60px;width:60px}.uppy-Dashboard-upload .uppy-c-icon{position:relative;top:1px;width:50%}.uppy-Dashboard-uploadCount{background-color:#1bb240;border-radius:50%;color:#fff;font-size:8px;height:16px;inset-inline-end:-12px;line-height:16px;position:absolute;top:-12px;width:16px}.uppy-size--md .uppy-Dashboard-uploadCount{font-size:9px;height:18px;line-height:18px;width:18px}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3Byb3ZpZGVyLXZpZXdzL3NyYy9zdHlsZS5zY3NzIiwic3R5bGUuY3NzIiwiLi4vLi4vcHJvdmlkZXItdmlld3Mvc3JjL3N0eWxlL3VwcHktUHJvdmlkZXJCcm93c2VyLXZpZXdUeXBlLS1ncmlkLnNjc3MiLCIuLi8uLi9jb3JlL3NyYy9fdmFyaWFibGVzLnNjc3MiLCIuLi8uLi9j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FBQSxDQUZBLGlCQUFBLENBQ0EsT0FBQSxDQUtBLDhCQUFBLENBRkEsVUFBQSxDQURBLFdoQnNpRUYsQ2dCamlFRSxnREFFRSxXQUFBLENBREEsVWhCb2lFSixDZ0JoaUVFLHFDQUVFLFdBQUEsQ0FEQSxVaEJtaUVKLENnQi9oRUUsNkRBRUUsV0FBQSxDQUVBLGNBQUEsQ0FEQSxhQUFBLENBRkEsVWhCb2lFSixDZ0I3aEVBLHFDQUVFLFdBQUEsQ0FDQSxjQUFBLENBRkEsaUJoQmtpRUYsQ2dCOWhFRSxpRUFFRSxXQUFBLENBREEsVWhCaWlFSixDZ0I1aEVBLG1DQUdFLDRDQUFBLENBREEsV0FBQSxDQURBLFVoQmlpRUYsQ2dCNWhFQSx1QkFHRSxXQUFBLENBRkEsaUJBQUEsQ0FDQSxVaEJnaUVGLENnQjdoRUUsc0NBRUUsV0FBQSxDQURBLFVoQmdpRUosQ2dCM2hFQSxvQ0FDRSxpQkFBQSxDQUNBLE9BQUEsQ0FDQSxTaEI4aEVGLENnQjNoRUEsNEJBUUUsd0Jkbi9CTSxDY28vQk4saUJBQUEsQ0FKQSxVZHQvQk0sQ2N1L0JOLGFBQUEsQ0FGQSxXQUFBLENBTUEsc0JBQUEsQ0FIQSxnQkFBQSxDQU5BLGlCQUFBLENBQ0EsU0FBQSxDQUNBLFVoQnFpRUYsQ2dCNWhFRSwyQ0FHRSxhQUFBLENBREEsV0FBQSxDQUVBLGdCQUFBLENBSEEsVWhCaWlFSiIsImZpbGUiOiJzdHlsZS5taW4uY3NzIn0= */\n.uppy-ImageCropper-range{-webkit-appearance:none;background:#0000;margin:8px 0;width:100%}.uppy-ImageCropper-range::-moz-focus-outer{border:0}.uppy-ImageCropper-range:focus{outline:0}.uppy-ImageCropper-range:focus::-webkit-slider-runnable-track{background:#fff3}.uppy-ImageCropper-range:focus::-ms-fill-lower,.uppy-ImageCropper-range:focus::-ms-fill-upper{background:#fff3}.uppy-ImageCropper-range::-webkit-slider-runnable-track{background:#fff3;border:0 solid #0000;border-radius:5px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00;cursor:default;height:4px;transition:all .2s ease;width:100%}.uppy-ImageCropper-range::-webkit-slider-thumb{-webkit-appearance:none;background:#fff;border:0 solid #0000;border-radius:9px;box-shadow:0 0 4px #0003,0 0 0 #0d0d0d33;box-sizing:border-box;cursor:default;height:16px;margin-top:-6px;width:16px}.uppy-ImageCropper-range::-moz-range-track{background:#fff3;border:0 solid #0000;border-radius:5px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00;cursor:default;height:2px;transition:all .2s ease;width:100%}.uppy-ImageCropper-range::-moz-range-thumb{background:#fff;border:0 solid #0000;border-radius:9px;box-shadow:0 0 4px #0003,0 0 0 #0d0d0d33;box-sizing:border-box;cursor:default;height:16px;width:16px}.uppy-ImageCropper-range::-ms-track{background:#0000;border-color:#0000;border-width:8px 0;color:#0000;cursor:default;height:4px;transition:all .2s ease;width:100%}.uppy-ImageCropper-range::-ms-fill-lower{background:#f2f2f233;border:0 solid #0000;border-radius:10px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00}.uppy-ImageCropper-range::-ms-fill-upper{background:#fff3;border:0 solid #0000;border-radius:10px;box-shadow:0 0 0 #0000,0 0 0 #0d0d0d00}.uppy-ImageCropper-range::-ms-thumb{background:#fff;border:0 solid #0000;border-radius:9px;box-shadow:0 0 4px #0003,0 0 0 #0d0d0d33;box-sizing:border-box;cursor:default;height:16px;margin-top:1px;width:16px}.uppy-ImageCropper-range:disabled::-moz-range-thumb,.uppy-ImageCropper-range:disabled::-ms-fill-lower,.uppy-ImageCropper-range:disabled::-ms-fill-upper,.uppy-ImageCropper-range:disabled::-ms-thumb,.uppy-ImageCropper-range:disabled::-webkit-slider-runnable-track,.uppy-ImageCropper-range:disabled::-webkit-slider-thumb{cursor:not-allowed}\n\n/*!\n * Cropper.js v1.5.6\n * https://fengyuanchen.github.io/cropperjs\n *\n * Copyright 2015-present Chen Fengyuan\n * Released under the MIT license\n *\n * Date: 2019-10-04T04:33:44.164Z\n */.cropper-container{direction:ltr;font-size:0;line-height:0;position:relative;-ms-touch-action:none;touch-action:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.cropper-container img{display:block;height:100%;image-orientation:0deg;max-height:none!important;max-width:none!important;min-height:0!important;min-width:0!important;width:100%}.cropper-canvas,.cropper-crop-box,.cropper-drag-box,.cropper-modal,.cropper-wrap-box{bottom:0;left:0;position:absolute;right:0;top:0}.cropper-canvas,.cropper-wrap-box{overflow:hidden}.cropper-drag-box{background-color:#fff;opacity:0}.cropper-modal{background-color:#000;opacity:.5}.cropper-view-box{display:block;height:100%;outline:1px solid #39f;outline-color:#3399ffbf;overflow:hidden;width:100%}.cropper-dashed{border:0 dashed #eee;display:block;opacity:.5;position:absolute}.cropper-dashed.dashed-h{border-bottom-width:1px;border-top-width:1px;height:33.3333333333%;left:0;top:33.3333333333%;width:100%}.cropper-dashed.dashed-v{border-left-width:1px;border-right-width:1px;height:100%;left:33.3333333333%;top:0;width:33.3333333333%}.cropper-center{display:block;height:0;left:50%;opacity:.75;position:absolute;top:50%;width:0}.cropper-center:after,.cropper-center:before{background-color:#eee;content:\" \";display:block;position:absolute}.cropper-center:before{height:1px;left:-3px;top:0;width:7px}.cropper-center:after{height:7px;left:0;top:-3px;width:1px}.cropper-face,.cropper-line,.cropper-point{display:block;height:100%;opacity:.1;position:absolute;width:100%}.cropper-face{background-color:#fff;left:0;top:0}.cropper-line{background-color:#39f}.cropper-line.line-e{cursor:ew-resize;right:-3px;top:0;width:5px}.cropper-line.line-n{cursor:ns-resize;height:5px;left:0;top:-3px}.cropper-line.line-w{cursor:ew-resize;left:-3px;top:0;width:5px}.cropper-line.line-s{bottom:-3px;cursor:ns-resize;height:5px;left:0}.cropper-point{background-color:#39f;height:5px;opacity:.75;width:5px}.cropper-point.point-e{cursor:ew-resize;margin-top:-3px;right:-3px;top:50%}.cropper-point.point-n{cursor:ns-resize;left:50%;margin-left:-3px;top:-3px}.cropper-point.point-w{cursor:ew-resize;left:-3px;margin-top:-3px;top:50%}.cropper-point.point-s{bottom:-3px;cursor:s-resize;left:50%;margin-left:-3px}.cropper-point.point-ne{cursor:nesw-resize;right:-3px;top:-3px}.cropper-point.point-nw{cursor:nwse-resize;left:-3px;top:-3px}.cropper-point.point-sw{bottom:-3px;cursor:nesw-resize;left:-3px}.cropper-point.point-se{bottom:-3px;cursor:nwse-resize;height:20px;opacity:1;right:-3px;width:20px}@media (min-width:768px){.cropper-point.point-se{height:15px;width:15px}}@media (min-width:992px){.cropper-point.point-se{height:10px;width:10px}}@media (min-width:1200px){.cropper-point.point-se{height:5px;opacity:.75;width:5px}}.cropper-point.point-se:before{background-color:#39f;bottom:-50%;content:\" \";display:block;height:200%;opacity:0;position:absolute;right:-50%;width:200%}.cropper-invisible{opacity:0}.cropper-bg{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAAA3NCSVQICAjb4U/gAAAABlBMVEXMzMz////TjRV2AAAACXBIWXMAAArrAAAK6wGCiw1aAAAAHHRFWHRTb2Z0d2FyZQBBZG9iZSBGaXJld29ya3MgQ1M26LyyjAAAABFJREFUCJlj+M/AgBVhF/0PAH6/D/HkDxOGAAAAAElFTkSuQmCC\")}.cropper-hide{display:block;height:0;position:absolute;width:0}.cropper-hidden{display:none!important}.cropper-move{cursor:move}.cropper-crop{cursor:crosshair}.cropper-disabled .cropper-drag-box,.cropper-disabled .cropper-face,.cropper-disabled .cropper-line,.cropper-disabled .cropper-point{cursor:not-allowed}.uppy-ImageCropper{display:flex;flex-direction:column;height:100%;width:100%}.uppy-ImageCropper-container{flex-grow:1}.uppy-ImageCropper-image{display:block;max-height:400px;max-width:100%}.uppy-ImageCropper-controls{align-items:center;background-color:#0009;border-radius:5px;bottom:15px;color:#fff;display:flex;justify-content:center;left:50%;padding-top:38px;position:absolute;transform:translateX(-50%)}.uppy-size--md .uppy-ImageCropper-controls{padding-top:0}.uppy-ImageCropper-controls button{border-radius:5px;height:35px;width:35px}.uppy-ImageCropper-controls button svg{padding:3px}.uppy-size--md .uppy-ImageCropper-controls button{height:40px;width:40px}.uppy-size--md .uppy-ImageCropper-controls button svg{padding:1px}.uppy-ImageCropper-controls button:hover{background-color:#ffffff80}.uppy-ImageCropper-controls button:focus{background-color:#ffffff80;outline:none}.uppy-Dashboard:not(.uppy-size--md) .uppy-ImageCropper-rangeWrapper{height:38px;left:10px;position:absolute!important;right:10px;top:0}.uppy-size--md .uppy-ImageCropper-range{margin-left:5px;margin-right:5px;width:180px}.uppy-ImageCropper .cropper-point{height:8px;width:8px}.uppy-ImageCropper .cropper-view-box{background:repeating-conic-gradient(#bdbdbd33 0 25%,#fff 0 50%) 50%/16px 16px;outline:2px solid #39f}[data-uppy-theme=dark] .uppy-ImageCropper .cropper-view-box{background:repeating-conic-gradient(#2b2a2a 0 25%,#000 0 50%) 50%/16px 16px}.uppy-ImageCropper .cropper-modal{background-color:#fff;opacity:.9}[data-uppy-theme=dark] .uppy-ImageCropper .cropper-modal{background-color:#000;opacity:.7}.uppy-ImageCropper .cropper-face{opacity:0}.uppy-ImageCropper-range::-moz-range-track{height:4px}.uppy-ImageCropper-range:focus::-webkit-slider-runnable-track,.uppy-ImageCropper-range:hover::-webkit-slider-runnable-track{background:#ffffff80}.uppy-ImageCropper-range:focus::-ms-fill-lower,.uppy-ImageCropper-range:focus::-ms-fill-upper,.uppy-ImageCropper-range:hover::-ms-fill-lower,.uppy-ImageCropper-range:hover::-ms-fill-upper{background:#ffffff80}.uppy-ImageCropper-range:focus::-moz-range-track,.uppy-ImageCropper-range:hover::-moz-range-track{background:#ffffff80}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbnB1dHJhbmdlLnNjc3MiLCJzdHlsZS5jc3MiLCIuLi9zcmMvc3R5bGUuc2NzcyIsIi4uL3NyYy9jcm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saUJBQUEsQ0FUQSxXQUFBLENBTUEsVUUxQ00sQ0ZzQ04sWUFBQSxDQUVBLHNCQUFBLENBSEEsUUFBQSxDQUlBLGdCQUFBLENBTkEsaUJBQUEsQ0FTQSwwQkR5WEYsQ0N0WEUsMkNBQ0UsYUR3WEosQ0NwWEEsbUNBR0UsaUJBQUEsQ0FEQSxXQUFBLENBREEsVUR5WEYsQ0NyWEUsdUNBQ0UsV0R1WEosQ0NwWEUsa0RBRUUsV0FBQSxDQURBLFVEdVhKLENDcFhJLHNEQUNFLFdEc1hOLENDbFhFLHlDQUNFLDBCRG9YSixDQ2pYRSx5Q0FDRSwwQkFBQSxDQUNBLFlEbVhKLENDL1dBLG9FQUtFLFdBQUEsQ0FEQSxTQUFBLENBSEEsMkJBQUEsQ0FFQSxVQUFBLENBREEsS0RxWEYsQ0MvV0Esd0NBR0UsZUFBQSxDQURBLGdCQUFBLENBREEsV0RvWEYsQ0M3V0Esa0NBRUUsVUFBQSxDQURBLFNEaVhGLENDN1dBLHFDQU1FLDZFQUFBLENBTEEsc0JEaVhGLENDdldFLDREQUNFLDJFRHlXSixDQ3BXQSxrQ0FFRSxxQkFBQSxDQURBLFVEd1dGLENDcldFLHlEQUVFLHFCQUFBLENBREEsVUR3V0osQ0NuV0EsaUNBQ0UsU0RzV0YsQ0NoV0UsMkNBR0UsVURpV0osQ0M1VkksNEhBQ0Usb0JEOFZOLENDelZJLDRMQUNFLG9CRDhWTixDQzVWSSxrR0FDRSxvQkQ4Vk4iLCJmaWxlIjoic3R5bGUubWluLmNzcyJ9 */\n.uppy-Webcam-container{align-items:center;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.uppy-Webcam-videoContainer{background-color:#333;flex:1;flex-grow:1;overflow:hidden;position:relative;text-align:center;width:100%}.uppy-Webcam-video{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.uppy-Webcam-video--mirrored{transform:scaleX(-1)}.uppy-Webcam-imageContainer{height:100%;position:relative;width:100%}.uppy-Webcam-image{bottom:0;left:0;margin:auto;max-height:100%;max-width:100%;position:absolute;right:0;top:0}.uppy-Webcam-image--mirrored{transform:scaleX(-1)}.uppy-Webcam-footer{align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;min-height:75px;padding:20px;width:100%}.uppy-Webcam-videoSourceContainer{flex-grow:0;width:100%}.uppy-size--lg .uppy-Webcam-videoSourceContainer{margin:0;width:33%}.uppy-Webcam-videoSource-select{background-image:url(\"data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%23757575%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E\");background-position:right .4em top 50%,0 0;background-repeat:no-repeat;background-size:.65em auto,100%;border:1px solid #757575;display:block;font-size:16px;line-height:1.2;margin:auto auto 10px;max-width:90%;padding:.4em 1em .3em .4em;text-overflow:ellipsis;white-space:nowrap;width:100%}.uppy-size--lg .uppy-Webcam-videoSource-select{font-size:14px;margin-bottom:0}.uppy-Webcam-videoSource-select::-ms-expand{display:none}.uppy-Webcam-buttonContainer{margin-left:25%;text-align:center;width:50%}.uppy-size--lg .uppy-Webcam-buttonContainer{margin-left:0;width:34%}.uppy-Webcam-recordingLength{color:#757575;flex-grow:0;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;text-align:right;width:25%}.uppy-size--lg .uppy-Webcam-recordingLength{width:33%}.uppy-Webcam-button{background-color:#e32437;border-radius:50%;color:#fff;cursor:pointer;height:45px;transition:all .3s;width:45px}.uppy-Webcam-button:focus{outline:none}.uppy-Webcam-button::-moz-focus-inner{border:0}.uppy-Webcam-button:focus{box-shadow:0 0 0 3px #1269cf80}.uppy-Webcam-button:hover{background-color:#d31b2d}[data-uppy-theme=dark] .uppy-Webcam-button:focus{outline:none}[data-uppy-theme=dark] .uppy-Webcam-button::-moz-focus-inner{border:0}[data-uppy-theme=dark] .uppy-Webcam-button:focus{box-shadow:0 0 0 2px #aae1ffd9}.uppy-Webcam-button--submit{background-color:#1269cf;margin:0 12px}.uppy-Webcam-button--submit:hover{background-color:#105db8}.uppy-Webcam-button svg{display:inline-block;height:30px;max-height:100%;max-width:100%;overflow:hidden;vertical-align:text-top;width:30px;fill:currentColor}.uppy-size--md .uppy-Webcam-button{height:60px;width:60px}.uppy-Webcam-button--picture{margin-right:12px}.uppy-Webcam-permissons{align-items:center;display:flex;flex:1;flex-flow:column wrap;height:100%;justify-content:center;padding:15px}.uppy-Webcam-permissons p{color:#939393;line-height:1.3;line-height:1.45;margin:0;max-width:450px;text-align:center}.uppy-Webcam-permissonsIcon svg{color:#bbb;height:75px;margin-bottom:30px;width:100px}.uppy-Webcam-title{color:#333;font-size:22px;font-weight:400;line-height:1.35;margin:0 0 5px;max-width:500px;padding:0 15px;text-align:center}[data-uppy-theme=dark] .uppy-Webcam-title{color:#eaeaea}\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9zdHlsZS5zY3NzIiwic3R5bGUuY3NzIiwiLi4vLi4vY29yZS9zcmMvX3ZhcmlhYmxlcy5zY3NzIiwiLi4vLi4vY29yZS9zcmMvX3V0aWxzLnNjc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBS0EsdUJBR0Usa0JBQUEsQ0FGQSxZQUFBLENBQ0EscUJBQUEsQ0FJQSxXQUFBLENBRkEsc0JBQUEsQ0FDQSxVQ0hGLENET0EsNEJBT0UscUJFV1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n width: var(--width);\n box-sizing: border-box;\n padding: 0;\n .uppy-Root,\n .uppy-Dashboard {\n height: 100%;\n }\n}\n";const nh=class{constructor(t){e(this,t);this.accept=["image/*"]}componentDidRender(){const e=(new Hl).use(hu,{inline:true,target:this.uppy,theme:"auto"}).use(Nu).use(rh,{modes:["picture"]});e.setOptions({restrictions:{allowedFileTypes:this.accept}});e.addUploader((async t=>{const i=e.getFilesByIds(t);e.emit("upload-start",i);for(const t of i){if(t.data instanceof File){await this.uploader(t.data).map((()=>{e.emit("upload-success",t,{status:201})})).mapErr((i=>e.emit("upload-error",t,new Error(i.title+" - "+i.detail))))}else{e.emit("upload-error",t,new Error("Expected file to be a File object"))}}}))}render(){return t("div",{key:"f28bebfde1c89399e3f51e48224038fbba7119af",class:"container",ref:e=>this.uppy=e})}};nh.style=oh;var ah=a`
754
754
  :host {
755
755
  display: inline-block;
756
756
 
@@ -857,4 +857,4 @@ import{r as e,h as t,H as i,c as s,a as r,d as o,f as n}from"./p-CTyMYUsB.js";im
857
857
  margin: 0 var(--spacing);
858
858
  }
859
859
  `;var ch=class extends h{constructor(){super(...arguments);this.vertical=false}connectedCallback(){super.connectedCallback();this.setAttribute("role","separator")}handleVerticalChange(){this.setAttribute("aria-orientation",this.vertical?"vertical":"horizontal")}};ch.styles=[c,dh];p([u({type:Boolean,reflect:true})],ch.prototype,"vertical",2);p([b("vertical")],ch.prototype,"handleVerticalChange",1);ch.define("sl-divider");const ph="button {\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 0;\n margin: 0;\n border: none;\n background: none;\n cursor: pointer;\n border-radius: 50%;\n pos-picture {\n --width: 40px;\n --height: 40px;\n --border-radius: 50%;\n }\n sl-avatar {\n --size: 40px;\n }\n}\n\nsl-dropdown {\n display: block;\n}\n";const uh=class{constructor(t){e(this,t);this.logout=s(this,"pod-os:logout");this.link=s(this,"pod-os:link")}onSelect(e){const{value:t}=e.detail.item;if(t==="logout"){this.logout.emit()}else if(t==="profile"){this.link.emit(this.webId)}else if(t==="dashboard"){this.link.emit("pod-os:dashboard")}else if(t==="settings"){this.link.emit("pod-os:settings")}}render(){if(!this.webId)return null;return t("pos-resource",{uri:this.webId},t("sl-dropdown",null,t("button",{slot:"trigger","aria-label":"User menu"},t("pos-picture",{"no-upload":true},t("sl-avatar",null))),t("sl-menu",null,t("sl-menu-item",{value:"dashboard"},"Dashboard"),t("sl-menu-item",{value:"profile"},t("pos-label",null)),t("sl-menu-item",{value:"settings"},"Settings"),t("sl-divider",null),t("sl-menu-item",{value:"logout"},"Logout"))))}};uh.style=ph;export{H as pos_add_new_thing,qi as pos_app,ts as pos_app_browser,rs as pos_app_dashboard,ns as pos_app_settings,as as pos_description,ds as pos_dialog,Fs as pos_error_toast,ws as pos_example_resources,Ds as pos_getting_started,ks as pos_image,Ls as pos_internal_router,Ns as pos_label,Vs as pos_login,Ts as pos_login_form,fr as pos_make_findable,yr as pos_navigation,xr as pos_navigation_bar,Br as pos_new_thing_form,Fr as pos_picture,wr as pos_resource,Dr as pos_rich_link,Ar as pos_router,Zr as pos_select_term,_r as pos_setting_offline_cache,jr as pos_tool_select,so as pos_type_router,nh as pos_upload,uh as pos_user_menu};
860
- //# sourceMappingURL=p-98268692.entry.js.map
860
+ //# sourceMappingURL=p-626f5777.entry.js.map