@sveltia/cms 0.106.1 → 0.106.2
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.
- package/README.md +41 -17
- package/dist/sveltia-cms.js +2 -2
- package/dist/sveltia-cms.js.map +1 -1
- package/dist/sveltia-cms.mjs +2 -2
- package/dist/sveltia-cms.mjs.map +1 -1
- package/package.json +1 -1
- package/schema/sveltia-cms.json +0 -10
- package/types/public.d.ts +0 -5
package/dist/sveltia-cms.js
CHANGED
|
@@ -144,7 +144,7 @@ ${n.comment}`:n.comment}this.doc.range[2]=n.offset;break}default:this.errors.pus
|
|
|
144
144
|
`)+1;for(;n!==0;)this.onNewLine(this.offset+n),n=this.source.indexOf(`
|
|
145
145
|
`,n)+1}return{type:e,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(e){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;const n=Hh(e),r=Ec(n);return r.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;const n=Hh(e),r=Ec(n);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:r,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(e,n){return this.type!=="comment"||this.indent<=n?!1:e.every(r=>r.type==="newline"||r.type==="space")}*documentEnd(e){this.type!=="doc-mode"&&(e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(e){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:e.end?e.end.push(this.sourceToken):e.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}}function yS(t){const e=t.prettyErrors!==!1;return{lineCounter:t.lineCounter||e&&new mS||null,prettyErrors:e}}function c3(t,e={}){const{lineCounter:n,prettyErrors:r}=yS(e),i=new rb(n?.addNewLine),o=new Qv(e),s=Array.from(o.compose(i.parse(t)));if(r&&n)for(const a of s)a.errors.forEach(Dh(t,n)),a.warnings.forEach(Dh(t,n));return s.length>0?s:Object.assign([],{empty:!0},o.streamInfo())}function wS(t,e={}){const{lineCounter:n,prettyErrors:r}=yS(e),i=new rb(n?.addNewLine),o=new Qv(e);let s=null;for(const a of o.compose(i.parse(t),!0,t.length))if(!s)s=a;else if(s.options.logLevel!=="silent"){s.errors.push(new Ba(a.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return r&&n&&(s.errors.forEach(Dh(t,n)),s.warnings.forEach(Dh(t,n))),s}function u3(t,e,n){let r;typeof e=="function"?r=e:n===void 0&&e&&typeof e=="object"&&(n=e);const i=wS(t,n);if(!i)return null;if(i.warnings.forEach(o=>Nk(i.options.logLevel,o)),i.errors.length>0){if(i.options.logLevel!=="silent")throw i.errors[0];i.errors=[]}return i.toJS(Object.assign({reviver:r},n))}function d3(t,e,n){let r=null;if(typeof e=="function"||Array.isArray(e)?r=e:n===void 0&&e&&(n=e),typeof n=="string"&&(n=n.length),typeof n=="number"){const i=Math.round(n);n=i<1?void 0:i>8?{indent:8}:{indent:i}}if(t===void 0){const{keepUndefined:i}=n??e??{};if(!i)return}return Ma(t)&&!r?t.toString(n):new xc(t,r,n).toString(n)}const dd=Object.freeze(Object.defineProperty({__proto__:null,Alias:_h,CST:s3,Composer:Qv,Document:xc,Lexer:gS,LineCounter:mS,Pair:Dr,Parser:rb,Scalar:_t,Schema:Fh,YAMLError:Vv,YAMLMap:Si,YAMLParseError:Ba,YAMLSeq:Ks,YAMLWarning:tS,isAlias:Gs,isCollection:Pn,isDocument:Ma,isMap:dc,isNode:Nn,isPair:Tn,isScalar:vn,isSeq:fc,parse:u3,parseAllDocuments:c3,parseDocument:wS,stringify:d3,visit:Ua,visitAsync:bh},Symbol.toStringTag,{value:"Module"})),Ws=rt([]),Ha=rn([Ws],([t],e)=>{e(t.find(({collectionName:n,internalPath:r})=>n===void 0&&r!==void 0))}),no=rt(),Gh=rn([no,Ha],([t,e])=>t?.internalPath!==void 0?t:e),ro=({collectionName:t,fileName:e,keyPath:n})=>se(Ws).find(r=>r.collectionName===t&&r.fileName===e&&r.keyPath===n),Kh=(t,{matchSubFolders:e=!0}={})=>{const{filename:n}=mn(t);return n.startsWith("+")?[]:se(Ws).filter(({internalPath:r,entryRelative:i})=>r===void 0?!1:i?t.startsWith(`${r}/`):new RegExp(`^${r.replace(/{{.+?}}/g,".+?")}${r&&e?"\\b":"$"}`).test(mn(t).dirname??"")).sort((r,i)=>(i.internalPath??"").localeCompare(r.internalPath??"")??0)},ib=t=>!!t&&!t.entryRelative&&!t.hasTemplateTags;class Ao{#t;#n="";#r="";#a={};#l=[];constructor(e,n,{keyPath:r,autoIncrement:i,indexes:o=[]}={}){this.#t=void 0,this.#n=e,this.#r=n,this.#a={keyPath:r,autoIncrement:i},this.#l=o}async#o(e){return new Promise(n=>{const r=globalThis.indexedDB.open(this.#n,e);r.onupgradeneeded=()=>{const i=r.result,o=this.#r,s=i.objectStoreNames.contains(o)?i.transaction(o,"readwrite").objectStore(o):i.createObjectStore(o,this.#a);this.#l.forEach(({name:a,keyPath:c,options:u})=>{s.indexNames.contains(a)||s.createIndex(a,c,u)})},r.onsuccess=()=>{n(r.result)}})}async#s(){let e=!1,n=await this.#o();const{version:r,objectStoreNames:i}=n,o=this.#r;if(i.contains(o)){const s=n.transaction(o).objectStore(o);e=this.#l.some(({name:a})=>!s.indexNames.contains(a))}else e=!0;return e&&(n.close(),n=await this.#o(r+1)),n.onversionchange=()=>{n.close(),this.#t=void 0},n}async#e(e){this.#t??=await this.#s();const n=this.#t,r=this.#r,i=n.transaction(r,"readwrite"),o=e(i.objectStore(r));return o?new Promise(s=>{o.onsuccess=()=>{s(o.result)}}):new Promise(s=>{i.oncomplete=()=>{s(void 0)}})}async set(e,n){return this.#e(r=>r.put(n,e))}async put(e){return this.#e(n=>n.put(e))}async saveEntries(e){return this.#e(n=>{e.forEach(([r,i])=>{n.put(i,r)})})}async get(e){return this.#e(n=>n.get(e))}async keys(){return this.#e(e=>e.getAllKeys())}async values(){return this.#e(e=>e.getAll())}async entries(){const[e,n]=await Promise.all([this.keys(),this.values()]);return e.map((r,i)=>[r,n[i]])}async#i({callback:e=void 0,index:n=void 0,query:r=void 0,direction:i="next",multiple:o=!1}){return new Promise(s=>{this.#e(a=>{const c=(n?a.index(n):a).openCursor(r,i),u=[];c.onsuccess=()=>{const d=c.result;if(d){const{value:f}=d;typeof e!="function"||e(f)?o?(u.push(f),d.continue()):s(f):d.continue()}else s(o?u:void 0)}})})}async find(e,{index:n,query:r}={}){return this.#i({callback:e,index:n,query:r})}async findLast(e,{index:n,query:r}={}){return this.#i({callback:e,index:n,query:r,direction:"prev"})}async filter(e,{index:n,query:r}={}){return this.#i({callback:e,index:n,query:r,multiple:!0})}async delete(e){await this.#e(n=>n.delete(e))}async deleteEntries(e){await this.#e(n=>{e.forEach(r=>{n.delete(r)})})}async clear(){await this.#e(e=>e.clear())}}class li{static async set(e,n){globalThis.localStorage.setItem(e,JSON.stringify(n))}static async get(e){const n=globalThis.localStorage.getItem(e);return n?JSON.parse(n):null}static async delete(e){globalThis.localStorage.removeItem(e)}static async clear(){globalThis.localStorage.clear()}static async keys(){return Object.keys(globalThis.localStorage)}static async values(){return Object.values(globalThis.localStorage).map(e=>JSON.parse(e))}static async entries(){return Object.entries(globalThis.localStorage).map(([e,n])=>[e,JSON.parse(n)])}}const xS=t=>Array.isArray(t)&&t.every(e=>Xt(e)),fd=t=>[...new Set(t)];var ob,kS;function f3(){return kS||(kS=1,ob=function t(e,n){if(e===n)return!0;if(e&&n&&typeof e=="object"&&typeof n=="object"){if(e.constructor!==n.constructor)return!1;var r,i,o;if(Array.isArray(e)){if(r=e.length,r!=n.length)return!1;for(i=r;i--!==0;)if(!t(e[i],n[i]))return!1;return!0}if(e.constructor===RegExp)return e.source===n.source&&e.flags===n.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===n.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===n.toString();if(o=Object.keys(e),r=o.length,r!==Object.keys(n).length)return!1;for(i=r;i--!==0;)if(!Object.prototype.hasOwnProperty.call(n,o[i]))return!1;for(i=r;i--!==0;){var s=o[i];if(!t(e[s],n[s]))return!1}return!0}return e!==e&&n!==n}),ob}var h3=f3();const cn=Yi(h3);function SS(t){return t&&t.constructor&&typeof t.constructor.isBuffer=="function"&&t.constructor.isBuffer(t)}function ES(t){return t}function io(t,e){e=e||{};const n=e.delimiter||".",r=e.maxDepth,i=e.transformKey||ES,o={};function s(a,c,u){u=u||1,Object.keys(a).forEach(function(d){const f=a[d],h=e.safe&&Array.isArray(f),p=Object.prototype.toString.call(f),g=SS(f),m=p==="[object Object]"||p==="[object Array]",v=c?c+n+i(d):i(d);if(!h&&!g&&m&&Object.keys(f).length&&(!e.maxDepth||u<r))return s(f,v,u+1);o[v]=f})}return s(t),o}function ss(t,e){e=e||{};const n=e.delimiter||".",r=e.overwrite||!1,i=e.transformKey||ES,o={};if(SS(t)||Object.prototype.toString.call(t)!=="[object Object]")return t;function a(d){const f=Number(d);return isNaN(f)||d.indexOf(".")!==-1||e.object?d:f}function c(d,f,h){return Object.keys(h).reduce(function(p,g){return p[d+n+g]=h[g],p},f)}function u(d){const f=Object.prototype.toString.call(d),h=f==="[object Array]",p=f==="[object Object]";if(d){if(h)return!d.length;if(p)return!Object.keys(d).length}else return!0}return t=Object.keys(t).reduce(function(d,f){const h=Object.prototype.toString.call(t[f]);return!(h==="[object Object]"||h==="[object Array]")||u(t[f])?(d[f]=t[f],d):c(f,d,io(t[f],e))},{}),Object.keys(t).forEach(function(d){const f=d.split(n).map(i);let h=a(f.shift()),p=a(f[0]),g=o;for(;p!==void 0;){if(h==="__proto__")return;const m=Object.prototype.toString.call(g[h]),v=m==="[object Object]"||m==="[object Array]";if(!r&&!v&&typeof g[h]<"u")return;(r&&!v||!r&&g[h]==null)&&(g[h]=typeof p=="number"&&!e.object?[]:{}),g=g[h],f.length>0&&(h=a(f.shift()),p=a(f[0]))}g[h]=ss(t[d],e)}),o}const Ga=({date:t=new Date,timeZone:e=void 0}={})=>{const n={year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"longOffset"};return Object.fromEntries(new Intl.DateTimeFormat("en-US",{...n,hour12:!1,timeZone:e}).formatToParts(t).filter(({type:r})=>r in n).map(({type:r,value:i})=>[r,r==="hour"&&i==="24"?"00":i]))},p3=[["ß","ss"],["ẞ","Ss"],["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["À","A"],["Á","A"],["Â","A"],["Ã","A"],["Ä","Ae"],["Å","A"],["Æ","AE"],["Ç","C"],["È","E"],["É","E"],["Ê","E"],["Ë","E"],["Ə","A"],["Ì","I"],["Í","I"],["Î","I"],["Ï","I"],["Ð","D"],["Ñ","N"],["Ò","O"],["Ó","O"],["Ô","O"],["Õ","O"],["Ö","Oe"],["Ō","O"],["Ő","O"],["Ø","O"],["Œ","OE"],["Ù","U"],["Ú","U"],["Û","U"],["Ü","Ue"],["Ű","U"],["Ý","Y"],["Þ","TH"],["ß","ss"],["à","a"],["á","a"],["â","a"],["ã","a"],["ä","ae"],["å","a"],["æ","ae"],["ç","c"],["è","e"],["é","e"],["ê","e"],["ë","e"],["ə","a"],["ì","i"],["í","i"],["î","i"],["ï","i"],["ð","d"],["ñ","n"],["ò","o"],["ó","o"],["ô","o"],["õ","o"],["ö","oe"],["ō","o"],["ő","o"],["ø","o"],["œ","oe"],["ù","u"],["ú","u"],["û","u"],["ü","ue"],["ű","u"],["ý","y"],["þ","th"],["ÿ","y"],["à","a"],["À","A"],["á","a"],["Á","A"],["â","a"],["Â","A"],["ã","a"],["Ã","A"],["è","e"],["È","E"],["é","e"],["É","E"],["ê","e"],["Ê","E"],["ì","i"],["Ì","I"],["í","i"],["Í","I"],["ò","o"],["Ò","O"],["ó","o"],["Ó","O"],["ô","o"],["Ô","O"],["õ","o"],["Õ","O"],["ù","u"],["Ù","U"],["ú","u"],["Ú","U"],["ý","y"],["Ý","Y"],["ă","a"],["Ă","A"],["Đ","D"],["đ","d"],["ĩ","i"],["Ĩ","I"],["ũ","u"],["Ũ","U"],["ơ","o"],["Ơ","O"],["ư","u"],["Ư","U"],["ạ","a"],["Ạ","A"],["ả","a"],["Ả","A"],["ấ","a"],["Ấ","A"],["ầ","a"],["Ầ","A"],["ẩ","a"],["Ẩ","A"],["ẫ","a"],["Ẫ","A"],["ậ","a"],["Ậ","A"],["ắ","a"],["Ắ","A"],["ằ","a"],["Ằ","A"],["ẳ","a"],["Ẳ","A"],["ẵ","a"],["Ẵ","A"],["ặ","a"],["Ặ","A"],["ẹ","e"],["Ẹ","E"],["ẻ","e"],["Ẻ","E"],["ẽ","e"],["Ẽ","E"],["ế","e"],["Ế","E"],["ề","e"],["Ề","E"],["ể","e"],["Ể","E"],["ễ","e"],["Ễ","E"],["ệ","e"],["Ệ","E"],["ỉ","i"],["Ỉ","I"],["ị","i"],["Ị","I"],["ọ","o"],["Ọ","O"],["ỏ","o"],["Ỏ","O"],["ố","o"],["Ố","O"],["ồ","o"],["Ồ","O"],["ổ","o"],["Ổ","O"],["ỗ","o"],["Ỗ","O"],["ộ","o"],["Ộ","O"],["ớ","o"],["Ớ","O"],["ờ","o"],["Ờ","O"],["ở","o"],["Ở","O"],["ỡ","o"],["Ỡ","O"],["ợ","o"],["Ợ","O"],["ụ","u"],["Ụ","U"],["ủ","u"],["Ủ","U"],["ứ","u"],["Ứ","U"],["ừ","u"],["Ừ","U"],["ử","u"],["Ử","U"],["ữ","u"],["Ữ","U"],["ự","u"],["Ự","U"],["ỳ","y"],["Ỳ","Y"],["ỵ","y"],["Ỵ","Y"],["ỷ","y"],["Ỷ","Y"],["ỹ","y"],["Ỹ","Y"],["ء","e"],["آ","a"],["أ","a"],["ؤ","w"],["إ","a"],["ئ","y"],["ا","a"],["ب","b"],["ة","t"],["ت","t"],["ث","th"],["ج","j"],["ح","h"],["خ","kh"],["د","d"],["ذ","dh"],["ر","r"],["ز","z"],["س","s"],["ش","sh"],["ص","s"],["ض","d"],["ط","t"],["ظ","z"],["ع","e"],["غ","gh"],["ـ","_"],["ف","f"],["ق","q"],["ك","k"],["ل","l"],["م","m"],["ن","n"],["ه","h"],["و","w"],["ى","a"],["ي","y"],["َ","a"],["ُ","u"],["ِ","i"],["٠","0"],["١","1"],["٢","2"],["٣","3"],["٤","4"],["٥","5"],["٦","6"],["٧","7"],["٨","8"],["٩","9"],["چ","ch"],["ک","k"],["گ","g"],["پ","p"],["ژ","zh"],["ی","y"],["۰","0"],["۱","1"],["۲","2"],["۳","3"],["۴","4"],["۵","5"],["۶","6"],["۷","7"],["۸","8"],["۹","9"],["ټ","p"],["ځ","z"],["څ","c"],["ډ","d"],["ﺫ","d"],["ﺭ","r"],["ړ","r"],["ﺯ","z"],["ږ","g"],["ښ","x"],["ګ","g"],["ڼ","n"],["ۀ","e"],["ې","e"],["ۍ","ai"],["ٹ","t"],["ڈ","d"],["ڑ","r"],["ں","n"],["ہ","h"],["ھ","h"],["ے","e"],["А","A"],["а","a"],["Б","B"],["б","b"],["В","V"],["в","v"],["Г","G"],["г","g"],["Д","D"],["д","d"],["ъе","ye"],["Ъе","Ye"],["ъЕ","yE"],["ЪЕ","YE"],["Е","E"],["е","e"],["Ё","Yo"],["ё","yo"],["Ж","Zh"],["ж","zh"],["З","Z"],["з","z"],["И","I"],["и","i"],["ый","iy"],["Ый","Iy"],["ЫЙ","IY"],["ыЙ","iY"],["Й","Y"],["й","y"],["К","K"],["к","k"],["Л","L"],["л","l"],["М","M"],["м","m"],["Н","N"],["н","n"],["О","O"],["о","o"],["П","P"],["п","p"],["Р","R"],["р","r"],["С","S"],["с","s"],["Т","T"],["т","t"],["У","U"],["у","u"],["Ф","F"],["ф","f"],["Х","Kh"],["х","kh"],["Ц","Ts"],["ц","ts"],["Ч","Ch"],["ч","ch"],["Ш","Sh"],["ш","sh"],["Щ","Sch"],["щ","sch"],["Ъ",""],["ъ",""],["Ы","Y"],["ы","y"],["Ь",""],["ь",""],["Э","E"],["э","e"],["Ю","Yu"],["ю","yu"],["Я","Ya"],["я","ya"],["ă","a"],["Ă","A"],["ș","s"],["Ș","S"],["ț","t"],["Ț","T"],["ţ","t"],["Ţ","T"],["ş","s"],["Ş","S"],["ç","c"],["Ç","C"],["ğ","g"],["Ğ","G"],["ı","i"],["İ","I"],["ա","a"],["Ա","A"],["բ","b"],["Բ","B"],["գ","g"],["Գ","G"],["դ","d"],["Դ","D"],["ե","ye"],["Ե","Ye"],["զ","z"],["Զ","Z"],["է","e"],["Է","E"],["ը","y"],["Ը","Y"],["թ","t"],["Թ","T"],["ժ","zh"],["Ժ","Zh"],["ի","i"],["Ի","I"],["լ","l"],["Լ","L"],["խ","kh"],["Խ","Kh"],["ծ","ts"],["Ծ","Ts"],["կ","k"],["Կ","K"],["հ","h"],["Հ","H"],["ձ","dz"],["Ձ","Dz"],["ղ","gh"],["Ղ","Gh"],["ճ","tch"],["Ճ","Tch"],["մ","m"],["Մ","M"],["յ","y"],["Յ","Y"],["ն","n"],["Ն","N"],["շ","sh"],["Շ","Sh"],["ու","u"],["ՈՒ","U"],["Ու","U"],["ո","vo"],["Ո","Vo"],["չ","ch"],["Չ","Ch"],["պ","p"],["Պ","P"],["ջ","j"],["Ջ","J"],["ռ","r"],["Ռ","R"],["ս","s"],["Ս","S"],["վ","v"],["Վ","V"],["տ","t"],["Տ","T"],["ր","r"],["Ր","R"],["ց","c"],["Ց","C"],["փ","p"],["Փ","P"],["ք","q"],["Ք","Q"],["օ","o"],["Օ","O"],["ֆ","f"],["Ֆ","F"],["և","yev"],["ა","a"],["ბ","b"],["გ","g"],["დ","d"],["ე","e"],["ვ","v"],["ზ","z"],["თ","t"],["ი","i"],["კ","k"],["ლ","l"],["მ","m"],["ნ","n"],["ო","o"],["პ","p"],["ჟ","zh"],["რ","r"],["ს","s"],["ტ","t"],["უ","u"],["ფ","ph"],["ქ","q"],["ღ","gh"],["ყ","k"],["შ","sh"],["ჩ","ch"],["ც","ts"],["ძ","dz"],["წ","ts"],["ჭ","tch"],["ხ","kh"],["ჯ","j"],["ჰ","h"],["č","c"],["ď","d"],["ě","e"],["ň","n"],["ř","r"],["š","s"],["ť","t"],["ů","u"],["ž","z"],["Č","C"],["Ď","D"],["Ě","E"],["Ň","N"],["Ř","R"],["Š","S"],["Ť","T"],["Ů","U"],["Ž","Z"],["ހ","h"],["ށ","sh"],["ނ","n"],["ރ","r"],["ބ","b"],["ޅ","lh"],["ކ","k"],["އ","a"],["ވ","v"],["މ","m"],["ފ","f"],["ދ","dh"],["ތ","th"],["ލ","l"],["ގ","g"],["ޏ","gn"],["ސ","s"],["ޑ","d"],["ޒ","z"],["ޓ","t"],["ޔ","y"],["ޕ","p"],["ޖ","j"],["ޗ","ch"],["ޘ","tt"],["ޙ","hh"],["ޚ","kh"],["ޛ","th"],["ޜ","z"],["ޝ","sh"],["ޞ","s"],["ޟ","d"],["ޠ","t"],["ޡ","z"],["ޢ","a"],["ޣ","gh"],["ޤ","q"],["ޥ","w"],["ަ","a"],["ާ","aa"],["ި","i"],["ީ","ee"],["ު","u"],["ޫ","oo"],["ެ","e"],["ޭ","ey"],["ޮ","o"],["ޯ","oa"],["ް",""],["α","a"],["β","v"],["γ","g"],["δ","d"],["ε","e"],["ζ","z"],["η","i"],["θ","th"],["ι","i"],["κ","k"],["λ","l"],["μ","m"],["ν","n"],["ξ","ks"],["ο","o"],["π","p"],["ρ","r"],["σ","s"],["τ","t"],["υ","y"],["φ","f"],["χ","x"],["ψ","ps"],["ω","o"],["ά","a"],["έ","e"],["ί","i"],["ό","o"],["ύ","y"],["ή","i"],["ώ","o"],["ς","s"],["ϊ","i"],["ΰ","y"],["ϋ","y"],["ΐ","i"],["Α","A"],["Β","B"],["Γ","G"],["Δ","D"],["Ε","E"],["Ζ","Z"],["Η","I"],["Θ","TH"],["Ι","I"],["Κ","K"],["Λ","L"],["Μ","M"],["Ν","N"],["Ξ","KS"],["Ο","O"],["Π","P"],["Ρ","R"],["Σ","S"],["Τ","T"],["Υ","Y"],["Φ","F"],["Χ","X"],["Ψ","PS"],["Ω","O"],["Ά","A"],["Έ","E"],["Ί","I"],["Ό","O"],["Ύ","Y"],["Ή","I"],["Ώ","O"],["Ϊ","I"],["Ϋ","Y"],["ā","a"],["ē","e"],["ģ","g"],["ī","i"],["ķ","k"],["ļ","l"],["ņ","n"],["ū","u"],["Ā","A"],["Ē","E"],["Ģ","G"],["Ī","I"],["Ķ","K"],["Ļ","L"],["Ņ","N"],["Ū","U"],["č","c"],["š","s"],["ž","z"],["Č","C"],["Š","S"],["Ž","Z"],["ą","a"],["č","c"],["ę","e"],["ė","e"],["į","i"],["š","s"],["ų","u"],["ū","u"],["ž","z"],["Ą","A"],["Č","C"],["Ę","E"],["Ė","E"],["Į","I"],["Š","S"],["Ų","U"],["Ū","U"],["Ќ","Kj"],["ќ","kj"],["Љ","Lj"],["љ","lj"],["Њ","Nj"],["њ","nj"],["Тс","Ts"],["тс","ts"],["ą","a"],["ć","c"],["ę","e"],["ł","l"],["ń","n"],["ś","s"],["ź","z"],["ż","z"],["Ą","A"],["Ć","C"],["Ę","E"],["Ł","L"],["Ń","N"],["Ś","S"],["Ź","Z"],["Ż","Z"],["Є","Ye"],["І","I"],["Ї","Yi"],["Ґ","G"],["є","ye"],["і","i"],["ї","yi"],["ґ","g"],["IJ","IJ"],["ij","ij"],["¢","c"],["¥","Y"],["߿","b"],["৳","t"],["૱","Bo"],["฿","B"],["₠","CE"],["₡","C"],["₢","Cr"],["₣","F"],["₥","m"],["₦","N"],["₧","Pt"],["₨","Rs"],["₩","W"],["₫","s"],["€","E"],["₭","K"],["₮","T"],["₯","Dp"],["₰","S"],["₱","P"],["₲","G"],["₳","A"],["₴","S"],["₵","C"],["₶","tt"],["₷","S"],["₸","T"],["₹","R"],["₺","L"],["₽","P"],["₿","B"],["﹩","$"],["¢","c"],["¥","Y"],["₩","W"],["𝐀","A"],["𝐁","B"],["𝐂","C"],["𝐃","D"],["𝐄","E"],["𝐅","F"],["𝐆","G"],["𝐇","H"],["𝐈","I"],["𝐉","J"],["𝐊","K"],["𝐋","L"],["𝐌","M"],["𝐍","N"],["𝐎","O"],["𝐏","P"],["𝐐","Q"],["𝐑","R"],["𝐒","S"],["𝐓","T"],["𝐔","U"],["𝐕","V"],["𝐖","W"],["𝐗","X"],["𝐘","Y"],["𝐙","Z"],["𝐚","a"],["𝐛","b"],["𝐜","c"],["𝐝","d"],["𝐞","e"],["𝐟","f"],["𝐠","g"],["𝐡","h"],["𝐢","i"],["𝐣","j"],["𝐤","k"],["𝐥","l"],["𝐦","m"],["𝐧","n"],["𝐨","o"],["𝐩","p"],["𝐪","q"],["𝐫","r"],["𝐬","s"],["𝐭","t"],["𝐮","u"],["𝐯","v"],["𝐰","w"],["𝐱","x"],["𝐲","y"],["𝐳","z"],["𝐴","A"],["𝐵","B"],["𝐶","C"],["𝐷","D"],["𝐸","E"],["𝐹","F"],["𝐺","G"],["𝐻","H"],["𝐼","I"],["𝐽","J"],["𝐾","K"],["𝐿","L"],["𝑀","M"],["𝑁","N"],["𝑂","O"],["𝑃","P"],["𝑄","Q"],["𝑅","R"],["𝑆","S"],["𝑇","T"],["𝑈","U"],["𝑉","V"],["𝑊","W"],["𝑋","X"],["𝑌","Y"],["𝑍","Z"],["𝑎","a"],["𝑏","b"],["𝑐","c"],["𝑑","d"],["𝑒","e"],["𝑓","f"],["𝑔","g"],["𝑖","i"],["𝑗","j"],["𝑘","k"],["𝑙","l"],["𝑚","m"],["𝑛","n"],["𝑜","o"],["𝑝","p"],["𝑞","q"],["𝑟","r"],["𝑠","s"],["𝑡","t"],["𝑢","u"],["𝑣","v"],["𝑤","w"],["𝑥","x"],["𝑦","y"],["𝑧","z"],["𝑨","A"],["𝑩","B"],["𝑪","C"],["𝑫","D"],["𝑬","E"],["𝑭","F"],["𝑮","G"],["𝑯","H"],["𝑰","I"],["𝑱","J"],["𝑲","K"],["𝑳","L"],["𝑴","M"],["𝑵","N"],["𝑶","O"],["𝑷","P"],["𝑸","Q"],["𝑹","R"],["𝑺","S"],["𝑻","T"],["𝑼","U"],["𝑽","V"],["𝑾","W"],["𝑿","X"],["𝒀","Y"],["𝒁","Z"],["𝒂","a"],["𝒃","b"],["𝒄","c"],["𝒅","d"],["𝒆","e"],["𝒇","f"],["𝒈","g"],["𝒉","h"],["𝒊","i"],["𝒋","j"],["𝒌","k"],["𝒍","l"],["𝒎","m"],["𝒏","n"],["𝒐","o"],["𝒑","p"],["𝒒","q"],["𝒓","r"],["𝒔","s"],["𝒕","t"],["𝒖","u"],["𝒗","v"],["𝒘","w"],["𝒙","x"],["𝒚","y"],["𝒛","z"],["𝒜","A"],["𝒞","C"],["𝒟","D"],["𝒢","g"],["𝒥","J"],["𝒦","K"],["𝒩","N"],["𝒪","O"],["𝒫","P"],["𝒬","Q"],["𝒮","S"],["𝒯","T"],["𝒰","U"],["𝒱","V"],["𝒲","W"],["𝒳","X"],["𝒴","Y"],["𝒵","Z"],["𝒶","a"],["𝒷","b"],["𝒸","c"],["𝒹","d"],["𝒻","f"],["𝒽","h"],["𝒾","i"],["𝒿","j"],["𝓀","k"],["𝓁","l"],["𝓂","m"],["𝓃","n"],["𝓅","p"],["𝓆","q"],["𝓇","r"],["𝓈","s"],["𝓉","t"],["𝓊","u"],["𝓋","v"],["𝓌","w"],["𝓍","x"],["𝓎","y"],["𝓏","z"],["𝓐","A"],["𝓑","B"],["𝓒","C"],["𝓓","D"],["𝓔","E"],["𝓕","F"],["𝓖","G"],["𝓗","H"],["𝓘","I"],["𝓙","J"],["𝓚","K"],["𝓛","L"],["𝓜","M"],["𝓝","N"],["𝓞","O"],["𝓟","P"],["𝓠","Q"],["𝓡","R"],["𝓢","S"],["𝓣","T"],["𝓤","U"],["𝓥","V"],["𝓦","W"],["𝓧","X"],["𝓨","Y"],["𝓩","Z"],["𝓪","a"],["𝓫","b"],["𝓬","c"],["𝓭","d"],["𝓮","e"],["𝓯","f"],["𝓰","g"],["𝓱","h"],["𝓲","i"],["𝓳","j"],["𝓴","k"],["𝓵","l"],["𝓶","m"],["𝓷","n"],["𝓸","o"],["𝓹","p"],["𝓺","q"],["𝓻","r"],["𝓼","s"],["𝓽","t"],["𝓾","u"],["𝓿","v"],["𝔀","w"],["𝔁","x"],["𝔂","y"],["𝔃","z"],["𝔄","A"],["𝔅","B"],["𝔇","D"],["𝔈","E"],["𝔉","F"],["𝔊","G"],["𝔍","J"],["𝔎","K"],["𝔏","L"],["𝔐","M"],["𝔑","N"],["𝔒","O"],["𝔓","P"],["𝔔","Q"],["𝔖","S"],["𝔗","T"],["𝔘","U"],["𝔙","V"],["𝔚","W"],["𝔛","X"],["𝔜","Y"],["𝔞","a"],["𝔟","b"],["𝔠","c"],["𝔡","d"],["𝔢","e"],["𝔣","f"],["𝔤","g"],["𝔥","h"],["𝔦","i"],["𝔧","j"],["𝔨","k"],["𝔩","l"],["𝔪","m"],["𝔫","n"],["𝔬","o"],["𝔭","p"],["𝔮","q"],["𝔯","r"],["𝔰","s"],["𝔱","t"],["𝔲","u"],["𝔳","v"],["𝔴","w"],["𝔵","x"],["𝔶","y"],["𝔷","z"],["𝔸","A"],["𝔹","B"],["𝔻","D"],["𝔼","E"],["𝔽","F"],["𝔾","G"],["𝕀","I"],["𝕁","J"],["𝕂","K"],["𝕃","L"],["𝕄","M"],["𝕆","O"],["𝕊","S"],["𝕋","T"],["𝕌","U"],["𝕍","V"],["𝕎","W"],["𝕏","X"],["𝕐","Y"],["𝕒","a"],["𝕓","b"],["𝕔","c"],["𝕕","d"],["𝕖","e"],["𝕗","f"],["𝕘","g"],["𝕙","h"],["𝕚","i"],["𝕛","j"],["𝕜","k"],["𝕝","l"],["𝕞","m"],["𝕟","n"],["𝕠","o"],["𝕡","p"],["𝕢","q"],["𝕣","r"],["𝕤","s"],["𝕥","t"],["𝕦","u"],["𝕧","v"],["𝕨","w"],["𝕩","x"],["𝕪","y"],["𝕫","z"],["𝕬","A"],["𝕭","B"],["𝕮","C"],["𝕯","D"],["𝕰","E"],["𝕱","F"],["𝕲","G"],["𝕳","H"],["𝕴","I"],["𝕵","J"],["𝕶","K"],["𝕷","L"],["𝕸","M"],["𝕹","N"],["𝕺","O"],["𝕻","P"],["𝕼","Q"],["𝕽","R"],["𝕾","S"],["𝕿","T"],["𝖀","U"],["𝖁","V"],["𝖂","W"],["𝖃","X"],["𝖄","Y"],["𝖅","Z"],["𝖆","a"],["𝖇","b"],["𝖈","c"],["𝖉","d"],["𝖊","e"],["𝖋","f"],["𝖌","g"],["𝖍","h"],["𝖎","i"],["𝖏","j"],["𝖐","k"],["𝖑","l"],["𝖒","m"],["𝖓","n"],["𝖔","o"],["𝖕","p"],["𝖖","q"],["𝖗","r"],["𝖘","s"],["𝖙","t"],["𝖚","u"],["𝖛","v"],["𝖜","w"],["𝖝","x"],["𝖞","y"],["𝖟","z"],["𝖠","A"],["𝖡","B"],["𝖢","C"],["𝖣","D"],["𝖤","E"],["𝖥","F"],["𝖦","G"],["𝖧","H"],["𝖨","I"],["𝖩","J"],["𝖪","K"],["𝖫","L"],["𝖬","M"],["𝖭","N"],["𝖮","O"],["𝖯","P"],["𝖰","Q"],["𝖱","R"],["𝖲","S"],["𝖳","T"],["𝖴","U"],["𝖵","V"],["𝖶","W"],["𝖷","X"],["𝖸","Y"],["𝖹","Z"],["𝖺","a"],["𝖻","b"],["𝖼","c"],["𝖽","d"],["𝖾","e"],["𝖿","f"],["𝗀","g"],["𝗁","h"],["𝗂","i"],["𝗃","j"],["𝗄","k"],["𝗅","l"],["𝗆","m"],["𝗇","n"],["𝗈","o"],["𝗉","p"],["𝗊","q"],["𝗋","r"],["𝗌","s"],["𝗍","t"],["𝗎","u"],["𝗏","v"],["𝗐","w"],["𝗑","x"],["𝗒","y"],["𝗓","z"],["𝗔","A"],["𝗕","B"],["𝗖","C"],["𝗗","D"],["𝗘","E"],["𝗙","F"],["𝗚","G"],["𝗛","H"],["𝗜","I"],["𝗝","J"],["𝗞","K"],["𝗟","L"],["𝗠","M"],["𝗡","N"],["𝗢","O"],["𝗣","P"],["𝗤","Q"],["𝗥","R"],["𝗦","S"],["𝗧","T"],["𝗨","U"],["𝗩","V"],["𝗪","W"],["𝗫","X"],["𝗬","Y"],["𝗭","Z"],["𝗮","a"],["𝗯","b"],["𝗰","c"],["𝗱","d"],["𝗲","e"],["𝗳","f"],["𝗴","g"],["𝗵","h"],["𝗶","i"],["𝗷","j"],["𝗸","k"],["𝗹","l"],["𝗺","m"],["𝗻","n"],["𝗼","o"],["𝗽","p"],["𝗾","q"],["𝗿","r"],["𝘀","s"],["𝘁","t"],["𝘂","u"],["𝘃","v"],["𝘄","w"],["𝘅","x"],["𝘆","y"],["𝘇","z"],["𝘈","A"],["𝘉","B"],["𝘊","C"],["𝘋","D"],["𝘌","E"],["𝘍","F"],["𝘎","G"],["𝘏","H"],["𝘐","I"],["𝘑","J"],["𝘒","K"],["𝘓","L"],["𝘔","M"],["𝘕","N"],["𝘖","O"],["𝘗","P"],["𝘘","Q"],["𝘙","R"],["𝘚","S"],["𝘛","T"],["𝘜","U"],["𝘝","V"],["𝘞","W"],["𝘟","X"],["𝘠","Y"],["𝘡","Z"],["𝘢","a"],["𝘣","b"],["𝘤","c"],["𝘥","d"],["𝘦","e"],["𝘧","f"],["𝘨","g"],["𝘩","h"],["𝘪","i"],["𝘫","j"],["𝘬","k"],["𝘭","l"],["𝘮","m"],["𝘯","n"],["𝘰","o"],["𝘱","p"],["𝘲","q"],["𝘳","r"],["𝘴","s"],["𝘵","t"],["𝘶","u"],["𝘷","v"],["𝘸","w"],["𝘹","x"],["𝘺","y"],["𝘻","z"],["𝘼","A"],["𝘽","B"],["𝘾","C"],["𝘿","D"],["𝙀","E"],["𝙁","F"],["𝙂","G"],["𝙃","H"],["𝙄","I"],["𝙅","J"],["𝙆","K"],["𝙇","L"],["𝙈","M"],["𝙉","N"],["𝙊","O"],["𝙋","P"],["𝙌","Q"],["𝙍","R"],["𝙎","S"],["𝙏","T"],["𝙐","U"],["𝙑","V"],["𝙒","W"],["𝙓","X"],["𝙔","Y"],["𝙕","Z"],["𝙖","a"],["𝙗","b"],["𝙘","c"],["𝙙","d"],["𝙚","e"],["𝙛","f"],["𝙜","g"],["𝙝","h"],["𝙞","i"],["𝙟","j"],["𝙠","k"],["𝙡","l"],["𝙢","m"],["𝙣","n"],["𝙤","o"],["𝙥","p"],["𝙦","q"],["𝙧","r"],["𝙨","s"],["𝙩","t"],["𝙪","u"],["𝙫","v"],["𝙬","w"],["𝙭","x"],["𝙮","y"],["𝙯","z"],["𝙰","A"],["𝙱","B"],["𝙲","C"],["𝙳","D"],["𝙴","E"],["𝙵","F"],["𝙶","G"],["𝙷","H"],["𝙸","I"],["𝙹","J"],["𝙺","K"],["𝙻","L"],["𝙼","M"],["𝙽","N"],["𝙾","O"],["𝙿","P"],["𝚀","Q"],["𝚁","R"],["𝚂","S"],["𝚃","T"],["𝚄","U"],["𝚅","V"],["𝚆","W"],["𝚇","X"],["𝚈","Y"],["𝚉","Z"],["𝚊","a"],["𝚋","b"],["𝚌","c"],["𝚍","d"],["𝚎","e"],["𝚏","f"],["𝚐","g"],["𝚑","h"],["𝚒","i"],["𝚓","j"],["𝚔","k"],["𝚕","l"],["𝚖","m"],["𝚗","n"],["𝚘","o"],["𝚙","p"],["𝚚","q"],["𝚛","r"],["𝚜","s"],["𝚝","t"],["𝚞","u"],["𝚟","v"],["𝚠","w"],["𝚡","x"],["𝚢","y"],["𝚣","z"],["𝚤","l"],["𝚥","j"],["𝛢","A"],["𝛣","B"],["𝛤","G"],["𝛥","D"],["𝛦","E"],["𝛧","Z"],["𝛨","I"],["𝛩","TH"],["𝛪","I"],["𝛫","K"],["𝛬","L"],["𝛭","M"],["𝛮","N"],["𝛯","KS"],["𝛰","O"],["𝛱","P"],["𝛲","R"],["𝛳","TH"],["𝛴","S"],["𝛵","T"],["𝛶","Y"],["𝛷","F"],["𝛸","x"],["𝛹","PS"],["𝛺","O"],["𝛻","D"],["𝛼","a"],["𝛽","b"],["𝛾","g"],["𝛿","d"],["𝜀","e"],["𝜁","z"],["𝜂","i"],["𝜃","th"],["𝜄","i"],["𝜅","k"],["𝜆","l"],["𝜇","m"],["𝜈","n"],["𝜉","ks"],["𝜊","o"],["𝜋","p"],["𝜌","r"],["𝜍","s"],["𝜎","s"],["𝜏","t"],["𝜐","y"],["𝜑","f"],["𝜒","x"],["𝜓","ps"],["𝜔","o"],["𝜕","d"],["𝜖","E"],["𝜗","TH"],["𝜘","K"],["𝜙","f"],["𝜚","r"],["𝜛","p"],["𝜜","A"],["𝜝","V"],["𝜞","G"],["𝜟","D"],["𝜠","E"],["𝜡","Z"],["𝜢","I"],["𝜣","TH"],["𝜤","I"],["𝜥","K"],["𝜦","L"],["𝜧","M"],["𝜨","N"],["𝜩","KS"],["𝜪","O"],["𝜫","P"],["𝜬","S"],["𝜭","TH"],["𝜮","S"],["𝜯","T"],["𝜰","Y"],["𝜱","F"],["𝜲","X"],["𝜳","PS"],["𝜴","O"],["𝜵","D"],["𝜶","a"],["𝜷","v"],["𝜸","g"],["𝜹","d"],["𝜺","e"],["𝜻","z"],["𝜼","i"],["𝜽","th"],["𝜾","i"],["𝜿","k"],["𝝀","l"],["𝝁","m"],["𝝂","n"],["𝝃","ks"],["𝝄","o"],["𝝅","p"],["𝝆","r"],["𝝇","s"],["𝝈","s"],["𝝉","t"],["𝝊","y"],["𝝋","f"],["𝝌","x"],["𝝍","ps"],["𝝎","o"],["𝝏","a"],["𝝐","e"],["𝝑","i"],["𝝒","k"],["𝝓","f"],["𝝔","r"],["𝝕","p"],["𝝖","A"],["𝝗","B"],["𝝘","G"],["𝝙","D"],["𝝚","E"],["𝝛","Z"],["𝝜","I"],["𝝝","TH"],["𝝞","I"],["𝝟","K"],["𝝠","L"],["𝝡","M"],["𝝢","N"],["𝝣","KS"],["𝝤","O"],["𝝥","P"],["𝝦","R"],["𝝧","TH"],["𝝨","S"],["𝝩","T"],["𝝪","Y"],["𝝫","F"],["𝝬","X"],["𝝭","PS"],["𝝮","O"],["𝝯","D"],["𝝰","a"],["𝝱","v"],["𝝲","g"],["𝝳","d"],["𝝴","e"],["𝝵","z"],["𝝶","i"],["𝝷","th"],["𝝸","i"],["𝝹","k"],["𝝺","l"],["𝝻","m"],["𝝼","n"],["𝝽","ks"],["𝝾","o"],["𝝿","p"],["𝞀","r"],["𝞁","s"],["𝞂","s"],["𝞃","t"],["𝞄","y"],["𝞅","f"],["𝞆","x"],["𝞇","ps"],["𝞈","o"],["𝞉","a"],["𝞊","e"],["𝞋","i"],["𝞌","k"],["𝞍","f"],["𝞎","r"],["𝞏","p"],["𝞐","A"],["𝞑","V"],["𝞒","G"],["𝞓","D"],["𝞔","E"],["𝞕","Z"],["𝞖","I"],["𝞗","TH"],["𝞘","I"],["𝞙","K"],["𝞚","L"],["𝞛","M"],["𝞜","N"],["𝞝","KS"],["𝞞","O"],["𝞟","P"],["𝞠","S"],["𝞡","TH"],["𝞢","S"],["𝞣","T"],["𝞤","Y"],["𝞥","F"],["𝞦","X"],["𝞧","PS"],["𝞨","O"],["𝞩","D"],["𝞪","av"],["𝞫","g"],["𝞬","d"],["𝞭","e"],["𝞮","z"],["𝞯","i"],["𝞰","i"],["𝞱","th"],["𝞲","i"],["𝞳","k"],["𝞴","l"],["𝞵","m"],["𝞶","n"],["𝞷","ks"],["𝞸","o"],["𝞹","p"],["𝞺","r"],["𝞻","s"],["𝞼","s"],["𝞽","t"],["𝞾","y"],["𝞿","f"],["𝟀","x"],["𝟁","ps"],["𝟂","o"],["𝟃","a"],["𝟄","e"],["𝟅","i"],["𝟆","k"],["𝟇","f"],["𝟈","r"],["𝟉","p"],["𝟊","F"],["𝟋","f"],["⒜","(a)"],["⒝","(b)"],["⒞","(c)"],["⒟","(d)"],["⒠","(e)"],["⒡","(f)"],["⒢","(g)"],["⒣","(h)"],["⒤","(i)"],["⒥","(j)"],["⒦","(k)"],["⒧","(l)"],["⒨","(m)"],["⒩","(n)"],["⒪","(o)"],["⒫","(p)"],["⒬","(q)"],["⒭","(r)"],["⒮","(s)"],["⒯","(t)"],["⒰","(u)"],["⒱","(v)"],["⒲","(w)"],["⒳","(x)"],["⒴","(y)"],["⒵","(z)"],["Ⓐ","(A)"],["Ⓑ","(B)"],["Ⓒ","(C)"],["Ⓓ","(D)"],["Ⓔ","(E)"],["Ⓕ","(F)"],["Ⓖ","(G)"],["Ⓗ","(H)"],["Ⓘ","(I)"],["Ⓙ","(J)"],["Ⓚ","(K)"],["Ⓛ","(L)"],["Ⓝ","(N)"],["Ⓞ","(O)"],["Ⓟ","(P)"],["Ⓠ","(Q)"],["Ⓡ","(R)"],["Ⓢ","(S)"],["Ⓣ","(T)"],["Ⓤ","(U)"],["Ⓥ","(V)"],["Ⓦ","(W)"],["Ⓧ","(X)"],["Ⓨ","(Y)"],["Ⓩ","(Z)"],["ⓐ","(a)"],["ⓑ","(b)"],["ⓒ","(c)"],["ⓓ","(d)"],["ⓔ","(e)"],["ⓕ","(f)"],["ⓖ","(g)"],["ⓗ","(h)"],["ⓘ","(i)"],["ⓙ","(j)"],["ⓚ","(k)"],["ⓛ","(l)"],["ⓜ","(m)"],["ⓝ","(n)"],["ⓞ","(o)"],["ⓟ","(p)"],["ⓠ","(q)"],["ⓡ","(r)"],["ⓢ","(s)"],["ⓣ","(t)"],["ⓤ","(u)"],["ⓥ","(v)"],["ⓦ","(w)"],["ⓧ","(x)"],["ⓨ","(y)"],["ⓩ","(z)"],["Ċ","C"],["ċ","c"],["Ġ","G"],["ġ","g"],["Ħ","H"],["ħ","h"],["Ż","Z"],["ż","z"],["𝟎","0"],["𝟏","1"],["𝟐","2"],["𝟑","3"],["𝟒","4"],["𝟓","5"],["𝟔","6"],["𝟕","7"],["𝟖","8"],["𝟗","9"],["𝟘","0"],["𝟙","1"],["𝟚","2"],["𝟛","3"],["𝟜","4"],["𝟝","5"],["𝟞","6"],["𝟟","7"],["𝟠","8"],["𝟡","9"],["𝟢","0"],["𝟣","1"],["𝟤","2"],["𝟥","3"],["𝟦","4"],["𝟧","5"],["𝟨","6"],["𝟩","7"],["𝟪","8"],["𝟫","9"],["𝟬","0"],["𝟭","1"],["𝟮","2"],["𝟯","3"],["𝟰","4"],["𝟱","5"],["𝟲","6"],["𝟳","7"],["𝟴","8"],["𝟵","9"],["𝟶","0"],["𝟷","1"],["𝟸","2"],["𝟹","3"],["𝟺","4"],["𝟻","5"],["𝟼","6"],["𝟽","7"],["𝟾","8"],["𝟿","9"],["①","1"],["②","2"],["③","3"],["④","4"],["⑤","5"],["⑥","6"],["⑦","7"],["⑧","8"],["⑨","9"],["⑩","10"],["⑪","11"],["⑫","12"],["⑬","13"],["⑭","14"],["⑮","15"],["⑯","16"],["⑰","17"],["⑱","18"],["⑲","19"],["⑳","20"],["⑴","1"],["⑵","2"],["⑶","3"],["⑷","4"],["⑸","5"],["⑹","6"],["⑺","7"],["⑻","8"],["⑼","9"],["⑽","10"],["⑾","11"],["⑿","12"],["⒀","13"],["⒁","14"],["⒂","15"],["⒃","16"],["⒄","17"],["⒅","18"],["⒆","19"],["⒇","20"],["⒈","1."],["⒉","2."],["⒊","3."],["⒋","4."],["⒌","5."],["⒍","6."],["⒎","7."],["⒏","8."],["⒐","9."],["⒑","10."],["⒒","11."],["⒓","12."],["⒔","13."],["⒕","14."],["⒖","15."],["⒗","16."],["⒘","17."],["⒙","18."],["⒚","19."],["⒛","20."],["⓪","0"],["⓫","11"],["⓬","12"],["⓭","13"],["⓮","14"],["⓯","15"],["⓰","16"],["⓱","17"],["⓲","18"],["⓳","19"],["⓴","20"],["⓵","1"],["⓶","2"],["⓷","3"],["⓸","4"],["⓹","5"],["⓺","6"],["⓻","7"],["⓼","8"],["⓽","9"],["⓾","10"],["⓿","0"],["🙰","&"],["🙱","&"],["🙲","&"],["🙳","&"],["🙴","&"],["🙵","&"],["🙶",'"'],["🙷",'"'],["🙸",'"'],["‽","?!"],["🙹","?!"],["🙺","?!"],["🙻","?!"],["🙼","/"],["🙽","\\"],["🜇","AR"],["🜈","V"],["🜉","V"],["🜆","VR"],["🜅","VF"],["🜩","2"],["🜪","5"],["🝡","f"],["🝢","W"],["🝣","U"],["🝧","V"],["🝨","T"],["🝪","V"],["🝫","MB"],["🝬","VB"],["🝲","3B"],["🝳","3B"],["💯","100"],["🔙","BACK"],["🔚","END"],["🔛","ON!"],["🔜","SOON"],["🔝","TOP"],["🔞","18"],["🔤","abc"],["🔠","ABCD"],["🔡","abcd"],["🔢","1234"],["🔣","T&@%"],["#️⃣","#"],["*️⃣","*"],["0️⃣","0"],["1️⃣","1"],["2️⃣","2"],["3️⃣","3"],["4️⃣","4"],["5️⃣","5"],["6️⃣","6"],["7️⃣","7"],["8️⃣","8"],["9️⃣","9"],["🔟","10"],["🅰️","A"],["🅱️","B"],["🆎","AB"],["🆑","CL"],["🅾️","O"],["🅿","P"],["🆘","SOS"],["🅲","C"],["🅳","D"],["🅴","E"],["🅵","F"],["🅶","G"],["🅷","H"],["🅸","I"],["🅹","J"],["🅺","K"],["🅻","L"],["🅼","M"],["🅽","N"],["🆀","Q"],["🆁","R"],["🆂","S"],["🆃","T"],["🆄","U"],["🆅","V"],["🆆","W"],["🆇","X"],["🆈","Y"],["🆉","Z"],["−","-"],["⁓","-"]],TS=[["æ","ae"],["Æ","Ae"],["ø","oe"],["Ø","Oe"],["å","aa"],["Å","Aa"]],AS={sv:[["ä","a"],["Ä","A"],["ö","o"],["Ö","O"],["å","a"],["Å","A"]],da:TS,nb:TS,de:[["ä","ae"],["Ä","Ae"],["ö","oe"],["Ö","Oe"],["ü","ue"],["Ü","Ue"],["ß","ss"],["ẞ","Ss"]],tr:[["â","a"],["Â","A"],["ö","o"],["Ö","O"],["ü","u"],["Ü","U"]],hu:[["ű","u"],["Ű","U"],["ö","o"],["Ö","O"],["ü","u"],["Ü","U"],["á","a"],["Á","A"],["é","e"],["É","E"],["í","i"],["Í","I"],["ó","o"],["Ó","O"],["ú","u"],["Ú","U"]],sr:[["ђ","dj"],["Ђ","Dj"],["џ","dz"],["Џ","Dz"],["љ","lj"],["Љ","Lj"],["њ","nj"],["Њ","Nj"],["ћ","c"],["Ћ","C"],["ч","ch"],["Ч","Ch"],["ш","sh"],["Ш","Sh"],["ж","zh"],["Ж","Zh"]]},g3=(t,e)=>{for(const[n,r]of e)t=t.replaceAll(n,r);return t},m3=t=>{if(!t)return[];const e=t.toLowerCase().replace(/^no(-|$)/,"nb$1");return AS[e]||AS[e.split("-")[0]]||[]};function v3(t,e){if(typeof t!="string")throw new TypeError(`Expected a string, got \`${typeof t}\``);e={customReplacements:[],...e};const n=m3(e.locale),r=new Map([...p3,...n,...e.customReplacements]);return t=t.normalize(),t=g3(t,r),t=t.normalize("NFD").replaceAll(/\p{Diacritic}/gu,"").normalize(),t=t.replaceAll(/\p{Dash_Punctuation}/gu,"-"),t}const CS=(t,{fallback:e=!0}={})=>{const{slug:{encoding:n="unicode",clean_accents:r=!1,sanitize_replacement:i="-",trim:o=!0}={}}=se(Ct)??{};let s=t;if(r&&(s=v3(s).normalize("NFD").replace(/\p{Diacritic}/gu,"")),n==="ascii"?s=s.replaceAll(/[^\w-~]/g," "):s=s.replaceAll(/[\p{Z}\p{C}!"#$&'()*+,/:;<=>?@[\]^`{|}]/gu," "),s=s.toLocaleLowerCase().trim().replaceAll(/\s+/g,i),i){const a=i.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),c=new RegExp(`${a}+`,"g");s=s.replace(c,i),o&&(s=s.replace(new RegExp(`^${a}+|${a}+$`,"g"),""))}return!s&&e?si("short"):s};var Vh={exports:{}},b3=Vh.exports,$S;function _3(){return $S||($S=1,(function(t,e){(function(n,r){t.exports=r()})(b3,(function(){var n=1e3,r=6e4,i=36e5,o="millisecond",s="second",a="minute",c="hour",u="day",d="week",f="month",h="quarter",p="year",g="date",m="Invalid Date",v=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,b=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,y={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(N){var F=["th","st","nd","rd"],B=N%100;return"["+N+(F[(B-20)%10]||F[B]||F[0])+"]"}},w=function(N,F,B){var G=String(N);return!G||G.length>=F?N:""+Array(F+1-G.length).join(B)+N},S={s:w,z:function(N){var F=-N.utcOffset(),B=Math.abs(F),G=Math.floor(B/60),W=B%60;return(F<=0?"+":"-")+w(G,2,"0")+":"+w(W,2,"0")},m:function N(F,B){if(F.date()<B.date())return-N(B,F);var G=12*(B.year()-F.year())+(B.month()-F.month()),W=F.clone().add(G,f),Y=B-W<0,O=F.clone().add(G+(Y?-1:1),f);return+(-(G+(B-W)/(Y?W-O:O-W))||0)},a:function(N){return N<0?Math.ceil(N)||0:Math.floor(N)},p:function(N){return{M:f,y:p,w:d,d:u,D:g,h:c,m:a,s,ms:o,Q:h}[N]||String(N||"").toLowerCase().replace(/s$/,"")},u:function(N){return N===void 0}},T="en",E={};E[T]=y;var C="$isDayjsObject",k=function(N){return N instanceof P||!(!N||!N[C])},x=function N(F,B,G){var W;if(!F)return T;if(typeof F=="string"){var Y=F.toLowerCase();E[Y]&&(W=Y),B&&(E[Y]=B,W=Y);var O=F.split("-");if(!W&&O.length>1)return N(O[0])}else{var M=F.name;E[M]=F,W=M}return!G&&W&&(T=W),W||!G&&T},$=function(N,F){if(k(N))return N.clone();var B=typeof F=="object"?F:{};return B.date=N,B.args=arguments,new P(B)},I=S;I.l=x,I.i=k,I.w=function(N,F){return $(N,{locale:F.$L,utc:F.$u,x:F.$x,$offset:F.$offset})};var P=(function(){function N(B){this.$L=x(B.locale,null,!0),this.parse(B),this.$x=this.$x||B.x||{},this[C]=!0}var F=N.prototype;return F.parse=function(B){this.$d=(function(G){var W=G.date,Y=G.utc;if(W===null)return new Date(NaN);if(I.u(W))return new Date;if(W instanceof Date)return new Date(W);if(typeof W=="string"&&!/Z$/i.test(W)){var O=W.match(v);if(O){var M=O[2]-1||0,K=(O[7]||"0").substring(0,3);return Y?new Date(Date.UTC(O[1],M,O[3]||1,O[4]||0,O[5]||0,O[6]||0,K)):new Date(O[1],M,O[3]||1,O[4]||0,O[5]||0,O[6]||0,K)}}return new Date(W)})(B),this.init()},F.init=function(){var B=this.$d;this.$y=B.getFullYear(),this.$M=B.getMonth(),this.$D=B.getDate(),this.$W=B.getDay(),this.$H=B.getHours(),this.$m=B.getMinutes(),this.$s=B.getSeconds(),this.$ms=B.getMilliseconds()},F.$utils=function(){return I},F.isValid=function(){return this.$d.toString()!==m},F.isSame=function(B,G){var W=$(B);return this.startOf(G)<=W&&W<=this.endOf(G)},F.isAfter=function(B,G){return $(B)<this.startOf(G)},F.isBefore=function(B,G){return this.endOf(G)<$(B)},F.$g=function(B,G,W){return I.u(B)?this[G]:this.set(W,B)},F.unix=function(){return Math.floor(this.valueOf()/1e3)},F.valueOf=function(){return this.$d.getTime()},F.startOf=function(B,G){var W=this,Y=!!I.u(G)||G,O=I.p(B),M=function(ae,he){var me=I.w(W.$u?Date.UTC(W.$y,he,ae):new Date(W.$y,he,ae),W);return Y?me:me.endOf(u)},K=function(ae,he){return I.w(W.toDate()[ae].apply(W.toDate("s"),(Y?[0,0,0,0]:[23,59,59,999]).slice(he)),W)},J=this.$W,Q=this.$M,ie=this.$D,ne="set"+(this.$u?"UTC":"");switch(O){case p:return Y?M(1,0):M(31,11);case f:return Y?M(1,Q):M(0,Q+1);case d:var ee=this.$locale().weekStart||0,re=(J<ee?J+7:J)-ee;return M(Y?ie-re:ie+(6-re),Q);case u:case g:return K(ne+"Hours",0);case c:return K(ne+"Minutes",1);case a:return K(ne+"Seconds",2);case s:return K(ne+"Milliseconds",3);default:return this.clone()}},F.endOf=function(B){return this.startOf(B,!1)},F.$set=function(B,G){var W,Y=I.p(B),O="set"+(this.$u?"UTC":""),M=(W={},W[u]=O+"Date",W[g]=O+"Date",W[f]=O+"Month",W[p]=O+"FullYear",W[c]=O+"Hours",W[a]=O+"Minutes",W[s]=O+"Seconds",W[o]=O+"Milliseconds",W)[Y],K=Y===u?this.$D+(G-this.$W):G;if(Y===f||Y===p){var J=this.clone().set(g,1);J.$d[M](K),J.init(),this.$d=J.set(g,Math.min(this.$D,J.daysInMonth())).$d}else M&&this.$d[M](K);return this.init(),this},F.set=function(B,G){return this.clone().$set(B,G)},F.get=function(B){return this[I.p(B)]()},F.add=function(B,G){var W,Y=this;B=Number(B);var O=I.p(G),M=function(Q){var ie=$(Y);return I.w(ie.date(ie.date()+Math.round(Q*B)),Y)};if(O===f)return this.set(f,this.$M+B);if(O===p)return this.set(p,this.$y+B);if(O===u)return M(1);if(O===d)return M(7);var K=(W={},W[a]=r,W[c]=i,W[s]=n,W)[O]||1,J=this.$d.getTime()+B*K;return I.w(J,this)},F.subtract=function(B,G){return this.add(-1*B,G)},F.format=function(B){var G=this,W=this.$locale();if(!this.isValid())return W.invalidDate||m;var Y=B||"YYYY-MM-DDTHH:mm:ssZ",O=I.z(this),M=this.$H,K=this.$m,J=this.$M,Q=W.weekdays,ie=W.months,ne=W.meridiem,ee=function(he,me,pe,ue){return he&&(he[me]||he(G,Y))||pe[me].slice(0,ue)},re=function(he){return I.s(M%12||12,he,"0")},ae=ne||function(he,me,pe){var ue=he<12?"AM":"PM";return pe?ue.toLowerCase():ue};return Y.replace(b,(function(he,me){return me||(function(pe){switch(pe){case"YY":return String(G.$y).slice(-2);case"YYYY":return I.s(G.$y,4,"0");case"M":return J+1;case"MM":return I.s(J+1,2,"0");case"MMM":return ee(W.monthsShort,J,ie,3);case"MMMM":return ee(ie,J);case"D":return G.$D;case"DD":return I.s(G.$D,2,"0");case"d":return String(G.$W);case"dd":return ee(W.weekdaysMin,G.$W,Q,2);case"ddd":return ee(W.weekdaysShort,G.$W,Q,3);case"dddd":return Q[G.$W];case"H":return String(M);case"HH":return I.s(M,2,"0");case"h":return re(1);case"hh":return re(2);case"a":return ae(M,K,!0);case"A":return ae(M,K,!1);case"m":return String(K);case"mm":return I.s(K,2,"0");case"s":return String(G.$s);case"ss":return I.s(G.$s,2,"0");case"SSS":return I.s(G.$ms,3,"0");case"Z":return O}return null})(he)||O.replace(":","")}))},F.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},F.diff=function(B,G,W){var Y,O=this,M=I.p(G),K=$(B),J=(K.utcOffset()-this.utcOffset())*r,Q=this-K,ie=function(){return I.m(O,K)};switch(M){case p:Y=ie()/12;break;case f:Y=ie();break;case h:Y=ie()/3;break;case d:Y=(Q-J)/6048e5;break;case u:Y=(Q-J)/864e5;break;case c:Y=Q/i;break;case a:Y=Q/r;break;case s:Y=Q/n;break;default:Y=Q}return W?Y:I.a(Y)},F.daysInMonth=function(){return this.endOf(f).$D},F.$locale=function(){return E[this.$L]},F.locale=function(B,G){if(!B)return this.$L;var W=this.clone(),Y=x(B,G,!0);return Y&&(W.$L=Y),W},F.clone=function(){return I.w(this.$d,this)},F.toDate=function(){return new Date(this.valueOf())},F.toJSON=function(){return this.isValid()?this.toISOString():null},F.toISOString=function(){return this.$d.toISOString()},F.toString=function(){return this.$d.toUTCString()},N})(),L=P.prototype;return $.prototype=L,[["$ms",o],["$s",s],["$m",a],["$H",c],["$W",u],["$M",f],["$y",p],["$D",g]].forEach((function(N){L[N[1]]=function(F){return this.$g(F,N[0],N[1])}})),$.extend=function(N,F){return N.$i||(N(F,P,$),N.$i=!0),$},$.locale=x,$.isDayjs=k,$.unix=function(N){return $(1e3*N)},$.en=E[T],$.Ls=E,$.p={},$}))})(Vh)),Vh.exports}var y3=_3();const lr=Yi(y3);var Wh={exports:{}},w3=Wh.exports,IS;function x3(){return IS||(IS=1,(function(t,e){(function(n,r){t.exports=r()})(w3,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},r=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d/,o=/\d\d/,s=/\d\d?/,a=/\d*[^-_:/,()\s\d]+/,c={},u=function(v){return(v=+v)+(v>68?1900:2e3)},d=function(v){return function(b){this[v]=+b}},f=[/[+-]\d\d:?(\d\d)?|Z/,function(v){(this.zone||(this.zone={})).offset=(function(b){if(!b||b==="Z")return 0;var y=b.match(/([+-]|\d\d)/g),w=60*y[1]+(+y[2]||0);return w===0?0:y[0]==="+"?-w:w})(v)}],h=function(v){var b=c[v];return b&&(b.indexOf?b:b.s.concat(b.f))},p=function(v,b){var y,w=c.meridiem;if(w){for(var S=1;S<=24;S+=1)if(v.indexOf(w(S,0,b))>-1){y=S>12;break}}else y=v===(b?"pm":"PM");return y},g={A:[a,function(v){this.afternoon=p(v,!1)}],a:[a,function(v){this.afternoon=p(v,!0)}],Q:[i,function(v){this.month=3*(v-1)+1}],S:[i,function(v){this.milliseconds=100*+v}],SS:[o,function(v){this.milliseconds=10*+v}],SSS:[/\d{3}/,function(v){this.milliseconds=+v}],s:[s,d("seconds")],ss:[s,d("seconds")],m:[s,d("minutes")],mm:[s,d("minutes")],H:[s,d("hours")],h:[s,d("hours")],HH:[s,d("hours")],hh:[s,d("hours")],D:[s,d("day")],DD:[o,d("day")],Do:[a,function(v){var b=c.ordinal,y=v.match(/\d+/);if(this.day=y[0],b)for(var w=1;w<=31;w+=1)b(w).replace(/\[|\]/g,"")===v&&(this.day=w)}],w:[s,d("week")],ww:[o,d("week")],M:[s,d("month")],MM:[o,d("month")],MMM:[a,function(v){var b=h("months"),y=(h("monthsShort")||b.map((function(w){return w.slice(0,3)}))).indexOf(v)+1;if(y<1)throw new Error;this.month=y%12||y}],MMMM:[a,function(v){var b=h("months").indexOf(v)+1;if(b<1)throw new Error;this.month=b%12||b}],Y:[/[+-]?\d+/,d("year")],YY:[o,function(v){this.year=u(v)}],YYYY:[/\d{4}/,d("year")],Z:f,ZZ:f};function m(v){var b,y;b=v,y=c&&c.formats;for(var w=(v=b.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function($,I,P){var L=P&&P.toUpperCase();return I||y[P]||n[P]||y[L].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(N,F,B){return F||B.slice(1)}))}))).match(r),S=w.length,T=0;T<S;T+=1){var E=w[T],C=g[E],k=C&&C[0],x=C&&C[1];w[T]=x?{regex:k,parser:x}:E.replace(/^\[|\]$/g,"")}return function($){for(var I={},P=0,L=0;P<S;P+=1){var N=w[P];if(typeof N=="string")L+=N.length;else{var F=N.regex,B=N.parser,G=$.slice(L),W=F.exec(G)[0];B.call(I,W),$=$.replace(W,"")}}return(function(Y){var O=Y.afternoon;if(O!==void 0){var M=Y.hours;O?M<12&&(Y.hours+=12):M===12&&(Y.hours=0),delete Y.afternoon}})(I),I}}return function(v,b,y){y.p.customParseFormat=!0,v&&v.parseTwoDigitYear&&(u=v.parseTwoDigitYear);var w=b.prototype,S=w.parse;w.parse=function(T){var E=T.date,C=T.utc,k=T.args;this.$u=C;var x=k[1];if(typeof x=="string"){var $=k[2]===!0,I=k[3]===!0,P=$||I,L=k[2];I&&(L=k[2]),c=this.$locale(),!$&&L&&(c=y.Ls[L]),this.$d=(function(G,W,Y,O){try{if(["x","X"].indexOf(W)>-1)return new Date((W==="X"?1e3:1)*G);var M=m(W)(G),K=M.year,J=M.month,Q=M.day,ie=M.hours,ne=M.minutes,ee=M.seconds,re=M.milliseconds,ae=M.zone,he=M.week,me=new Date,pe=Q||(K||J?1:me.getDate()),ue=K||me.getFullYear(),ge=0;K&&!J||(ge=J>0?J-1:me.getMonth());var be,_e=ie||0,Ee=ne||0,Ne=ee||0,Ue=re||0;return ae?new Date(Date.UTC(ue,ge,pe,_e,Ee,Ne,Ue+60*ae.offset*1e3)):Y?new Date(Date.UTC(ue,ge,pe,_e,Ee,Ne,Ue)):(be=new Date(ue,ge,pe,_e,Ee,Ne,Ue),he&&(be=O(be).week(he).toDate()),be)}catch{return new Date("")}})(E,x,C,y),this.init(),L&&L!==!0&&(this.$L=this.locale(L).$L),P&&E!=this.format(x)&&(this.$d=new Date("")),c={}}else if(x instanceof Array)for(var N=x.length,F=1;F<=N;F+=1){k[1]=x[F-1];var B=y.apply(this,k);if(B.isValid()){this.$d=B.$d,this.$L=B.$L,this.init();break}F===N&&(this.$d=new Date(""))}else S.call(this,T)}}}))})(Wh)),Wh.exports}var k3=x3();const sb=Yi(k3);var Yh={exports:{}},S3=Yh.exports,PS;function E3(){return PS||(PS=1,(function(t,e){(function(n,r){t.exports=r()})(S3,(function(){var n={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};return function(r,i,o){var s=i.prototype,a=s.format;o.en.formats=n,s.format=function(c){c===void 0&&(c="YYYY-MM-DDTHH:mm:ssZ");var u=this.$locale().formats,d=(function(f,h){return f.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(p,g,m){var v=m&&m.toUpperCase();return g||h[m]||n[m]||h[v].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(b,y,w){return y||w.slice(1)}))}))})(c,u===void 0?{}:u);return a.call(this,d)}}}))})(Yh)),Yh.exports}var T3=E3();const ab=Yi(T3);var Jh={exports:{}},A3=Jh.exports,NS;function C3(){return NS||(NS=1,(function(t,e){(function(n,r){t.exports=r()})(A3,(function(){var n="minute",r=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(o,s,a){var c=s.prototype;a.utc=function(m){var v={date:m,utc:!0,args:arguments};return new s(v)},c.utc=function(m){var v=a(this.toDate(),{locale:this.$L,utc:!0});return m?v.add(this.utcOffset(),n):v},c.local=function(){return a(this.toDate(),{locale:this.$L,utc:!1})};var u=c.parse;c.parse=function(m){m.utc&&(this.$u=!0),this.$utils().u(m.$offset)||(this.$offset=m.$offset),u.call(this,m)};var d=c.init;c.init=function(){if(this.$u){var m=this.$d;this.$y=m.getUTCFullYear(),this.$M=m.getUTCMonth(),this.$D=m.getUTCDate(),this.$W=m.getUTCDay(),this.$H=m.getUTCHours(),this.$m=m.getUTCMinutes(),this.$s=m.getUTCSeconds(),this.$ms=m.getUTCMilliseconds()}else d.call(this)};var f=c.utcOffset;c.utcOffset=function(m,v){var b=this.$utils().u;if(b(m))return this.$u?0:b(this.$offset)?f.call(this):this.$offset;if(typeof m=="string"&&(m=(function(T){T===void 0&&(T="");var E=T.match(r);if(!E)return null;var C=(""+E[0]).match(i)||["-",0,0],k=C[0],x=60*+C[1]+ +C[2];return x===0?0:k==="+"?x:-x})(m),m===null))return this;var y=Math.abs(m)<=16?60*m:m;if(y===0)return this.utc(v);var w=this.clone();if(v)return w.$offset=y,w.$u=!1,w;var S=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();return(w=this.local().add(y+S,n)).$offset=y,w.$x.$localOffset=S,w};var h=c.format;c.format=function(m){var v=m||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return h.call(this,v)},c.valueOf=function(){var m=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*m},c.isUTC=function(){return!!this.$u},c.toISOString=function(){return this.toDate().toISOString()},c.toString=function(){return this.toDate().toUTCString()};var p=c.toDate;c.toDate=function(m){return m==="s"&&this.$offset?a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():p.call(this)};var g=c.diff;c.diff=function(m,v,b){if(m&&this.$u===m.$u)return g.call(this,m,v,b);var y=this.local(),w=a(m).local();return g.call(y,w,v,b)}}}))})(Jh)),Jh.exports}var $3=C3();const lb=Yi($3),Tc=t=>{let e;if(t!=="_default")try{[e]=Intl.getCanonicalLocales(t)}catch{}return e},ji=(t,{native:e=!1}={})=>{const n=Tc(t);if(!n)return t;const r=e?n:Tc(se(qt)??"en"),i=new Intl.DisplayNames(r,{type:"language"});try{return i.of(n)??t}catch(o){return console.error(o),t}},Ac=(t,e={})=>new Intl.ListFormat(Tc(t),{style:"narrow",type:"conjunction",...e}),cb=({_i18n:t,locale:e,path:n})=>{const{defaultLocale:r,omitDefaultLocaleFromFileName:i}=t;return i&&e===r&&(n=n.replace(/\.{{locale}}\.(\w+)$/,".$1")),n.replaceAll("{{locale}}",e)},I3=/^(?:\d{4}-[01]\d-[0-3]\d)?(?:T?[0-2]\d:[0-5]\d)?(?::[0-5]\d)?(?:\.\d+)?(?:[+-][0-2]\d:[0-5]\d|Z)?$/,P3=/^\d{4}-[01]\d-[0-3]\d$/,N3=/T00:00(?::00)?(?:\.000)?Z$/,ub={year:"numeric",month:"short",day:"numeric"},db={hour:"numeric",minute:"numeric",hour12:!0},L3={...ub,...db};lr.extend(sb),lr.extend(ab),lr.extend(lb);const Ys=t=>{const{format:e,date_format:n=void 0,time_format:r=void 0,picker_utc:i=!1}=t;return{format:e||[typeof n=="string"?n:"",typeof r=="string"?r:""].join(" ").trim()||void 0,dateOnly:r===!1,timeOnly:n===!1,utc:i}},Cc=(t,e)=>{const{format:n,timeOnly:r,utc:i}=Ys(e);if(t)try{return n?(i?lr.utc:lr)(t,n).toDate():r?new Date(`${new Date().toJSON().split("T")[0]}T${t}`):new Date(t)}catch(o){console.error(o);return}},LS=t=>{const{dateOnly:e,timeOnly:n,utc:r}=Ys(t),{year:i,month:o,day:s,hour:a,minute:c}=Ga({timeZone:r?"UTC":void 0}),u=`${i}-${o}-${s}`,d=`${a}:${c}`;return e?u:n?d:r?`${u}T${d}:00.000Z`:`${u}T${d}`},OS=(t,e,n)=>{const{format:r,dateOnly:i,timeOnly:o,utc:s}=Ys(n),a=i?"YYYY-MM-DD":o?"HH:mm":"YYYY-MM-DDTHH:mm",c=`:00${e?.endsWith(".000")?".000":""}`;if(t==="")return"";if(t)try{if(r){const u=(s?lr.utc:lr)(t,a).format(r);return r.includes("Z")&&u.endsWith("+00:00")?u.replace("+00:00","Z"):u}return i?t:s?`${t}:00.000Z`:`${t}${c}`}catch(u){console.error(u);return}},O3=(t,e)=>{const{dateOnly:n,timeOnly:r,utc:i}=Ys(e);if(!t)return"";const o=n?t?.match(/^(?<date>\d{4}-[01]\d-[0-3]\d)\b/)?.groups?.date:r?t?.match(/(?:^|T)(?<time>[0-2]\d:[0-5]\d)\b/)?.groups?.time:void 0;if(o)return o;try{const s=t?Cc(t,e):new Date;if(t&&!s||t&&s&&Number.isNaN(s.getTime()))return"";const{year:a,month:c,day:u,hour:d,minute:f}=Ga({date:s,timeZone:i?"UTC":void 0}),h=`${a}-${c}-${u}`,p=`${d}:${f}`;return n?h:r?p:`${h}T${p}`}catch(s){return console.error(s),""}},RS=({locale:t,fieldConfig:e,currentValue:n})=>{const{format:r,dateOnly:i,timeOnly:o,utc:s}=Ys(e);if(typeof n!="string"||!n.trim())return"";if(r)try{return(s?lr.utc:lr)(n,r).format(r)}catch{}const a=Cc(n,e),c=Tc(t);return!a||Number.isNaN(a.getTime())?"":o?a.toLocaleTimeString(c,db):i?a.toLocaleDateString(c,{...ub,timeZone:s||P3.test(n)||N3.test(n)?"UTC":void 0}):a.toLocaleString(c,{...ub,...db,timeZone:s?"UTC":void 0,timeZoneName:s?void 0:"short"})};lr.extend(sb),lr.extend(ab),lr.extend(lb);const fb=/^date\('(?<format>.+?)'(?:,\s*'(?<timeZone>.+?)')?\)$/,FS=/^default\('(?<defaultValue>.+?)'\)$/,DS=/^ternary\('(?<truthyValue>.*?)',\s*'(?<falsyValue>.*?)'\)$/,R3=/^truncate\((?<max>\d+)(?:,\s*'(?<ellipsis>.+?)')?\)$/,F3=t=>String(t).toUpperCase(),D3=t=>String(t).toLowerCase(),M3=(t,{format:e,timeZone:n},r)=>{const i=String(t),{dateOnly:o,utc:s}=Ys(r),c=(n==="utc"||s||o&&!!i.match(/^\d{4}-[01]\d-[0-3]\d$/)||o&&!!i.match(/T\d{2}:\d{2}(?::\d{2})?(?:\.\d+)?Z$/)?lr.utc:lr)(i);return c.isValid()?c.format(e):""},U3=(t,{defaultValue:e})=>t?String(t):e,z3=(t,{truthyValue:e,falsyValue:n})=>t?e:n,j3=(t,{max:e,ellipsis:n="…"})=>P1(String(t),Number(e),{ellipsis:n}),B3=({fieldConfig:t,value:e,transformation:n})=>{if(n==="upper")return F3(e);if(n==="lower")return D3(e);const r=n.match(fb);if(r?.groups)return M3(e,r.groups,t??{});const i=n.match(FS);if(i?.groups)return U3(e,i.groups);const o=n.match(DS);if(o?.groups)return z3(e,o.groups);const s=n.match(R3);return s?.groups?j3(e,s.groups):String(e)},hb=({fieldConfig:t,value:e,transformations:n})=>(n.forEach(r=>{e=B3({fieldConfig:t,value:e,transformation:r})}),e),Ft=(t=0)=>new Promise(e=>{globalThis.setTimeout(()=>{e(void 0)},t)}),MS={"application/prs.cww":["cww"],"application/prs.xsf+xml":["xsf"],"application/vnd.1000minds.decision-model+xml":["1km"],"application/vnd.3gpp.pic-bw-large":["plb"],"application/vnd.3gpp.pic-bw-small":["psb"],"application/vnd.3gpp.pic-bw-var":["pvb"],"application/vnd.3gpp2.tcap":["tcap"],"application/vnd.3m.post-it-notes":["pwn"],"application/vnd.accpac.simply.aso":["aso"],"application/vnd.accpac.simply.imp":["imp"],"application/vnd.acucobol":["acu"],"application/vnd.acucorp":["atc","acutc"],"application/vnd.adobe.air-application-installer-package+zip":["air"],"application/vnd.adobe.formscentral.fcdt":["fcdt"],"application/vnd.adobe.fxp":["fxp","fxpl"],"application/vnd.adobe.xdp+xml":["xdp"],"application/vnd.adobe.xfdf":["*xfdf"],"application/vnd.age":["age"],"application/vnd.ahead.space":["ahead"],"application/vnd.airzip.filesecure.azf":["azf"],"application/vnd.airzip.filesecure.azs":["azs"],"application/vnd.amazon.ebook":["azw"],"application/vnd.americandynamics.acc":["acc"],"application/vnd.amiga.ami":["ami"],"application/vnd.android.package-archive":["apk"],"application/vnd.anser-web-certificate-issue-initiation":["cii"],"application/vnd.anser-web-funds-transfer-initiation":["fti"],"application/vnd.antix.game-component":["atx"],"application/vnd.apple.installer+xml":["mpkg"],"application/vnd.apple.keynote":["key"],"application/vnd.apple.mpegurl":["m3u8"],"application/vnd.apple.numbers":["numbers"],"application/vnd.apple.pages":["pages"],"application/vnd.apple.pkpass":["pkpass"],"application/vnd.aristanetworks.swi":["swi"],"application/vnd.astraea-software.iota":["iota"],"application/vnd.audiograph":["aep"],"application/vnd.autodesk.fbx":["fbx"],"application/vnd.balsamiq.bmml+xml":["bmml"],"application/vnd.blueice.multipass":["mpm"],"application/vnd.bmi":["bmi"],"application/vnd.businessobjects":["rep"],"application/vnd.chemdraw+xml":["cdxml"],"application/vnd.chipnuts.karaoke-mmd":["mmd"],"application/vnd.cinderella":["cdy"],"application/vnd.citationstyles.style+xml":["csl"],"application/vnd.claymore":["cla"],"application/vnd.cloanto.rp9":["rp9"],"application/vnd.clonk.c4group":["c4g","c4d","c4f","c4p","c4u"],"application/vnd.cluetrust.cartomobile-config":["c11amc"],"application/vnd.cluetrust.cartomobile-config-pkg":["c11amz"],"application/vnd.commonspace":["csp"],"application/vnd.contact.cmsg":["cdbcmsg"],"application/vnd.cosmocaller":["cmc"],"application/vnd.crick.clicker":["clkx"],"application/vnd.crick.clicker.keyboard":["clkk"],"application/vnd.crick.clicker.palette":["clkp"],"application/vnd.crick.clicker.template":["clkt"],"application/vnd.crick.clicker.wordbank":["clkw"],"application/vnd.criticaltools.wbs+xml":["wbs"],"application/vnd.ctc-posml":["pml"],"application/vnd.cups-ppd":["ppd"],"application/vnd.curl.car":["car"],"application/vnd.curl.pcurl":["pcurl"],"application/vnd.dart":["dart"],"application/vnd.data-vision.rdz":["rdz"],"application/vnd.dbf":["dbf"],"application/vnd.dcmp+xml":["dcmp"],"application/vnd.dece.data":["uvf","uvvf","uvd","uvvd"],"application/vnd.dece.ttml+xml":["uvt","uvvt"],"application/vnd.dece.unspecified":["uvx","uvvx"],"application/vnd.dece.zip":["uvz","uvvz"],"application/vnd.denovo.fcselayout-link":["fe_launch"],"application/vnd.dna":["dna"],"application/vnd.dolby.mlp":["mlp"],"application/vnd.dpgraph":["dpg"],"application/vnd.dreamfactory":["dfac"],"application/vnd.ds-keypoint":["kpxx"],"application/vnd.dvb.ait":["ait"],"application/vnd.dvb.service":["svc"],"application/vnd.dynageo":["geo"],"application/vnd.ecowin.chart":["mag"],"application/vnd.enliven":["nml"],"application/vnd.epson.esf":["esf"],"application/vnd.epson.msf":["msf"],"application/vnd.epson.quickanime":["qam"],"application/vnd.epson.salt":["slt"],"application/vnd.epson.ssf":["ssf"],"application/vnd.eszigno3+xml":["es3","et3"],"application/vnd.ezpix-album":["ez2"],"application/vnd.ezpix-package":["ez3"],"application/vnd.fdf":["*fdf"],"application/vnd.fdsn.mseed":["mseed"],"application/vnd.fdsn.seed":["seed","dataless"],"application/vnd.flographit":["gph"],"application/vnd.fluxtime.clip":["ftc"],"application/vnd.framemaker":["fm","frame","maker","book"],"application/vnd.frogans.fnc":["fnc"],"application/vnd.frogans.ltf":["ltf"],"application/vnd.fsc.weblaunch":["fsc"],"application/vnd.fujitsu.oasys":["oas"],"application/vnd.fujitsu.oasys2":["oa2"],"application/vnd.fujitsu.oasys3":["oa3"],"application/vnd.fujitsu.oasysgp":["fg5"],"application/vnd.fujitsu.oasysprs":["bh2"],"application/vnd.fujixerox.ddd":["ddd"],"application/vnd.fujixerox.docuworks":["xdw"],"application/vnd.fujixerox.docuworks.binder":["xbd"],"application/vnd.fuzzysheet":["fzs"],"application/vnd.genomatix.tuxedo":["txd"],"application/vnd.geogebra.file":["ggb"],"application/vnd.geogebra.slides":["ggs"],"application/vnd.geogebra.tool":["ggt"],"application/vnd.geometry-explorer":["gex","gre"],"application/vnd.geonext":["gxt"],"application/vnd.geoplan":["g2w"],"application/vnd.geospace":["g3w"],"application/vnd.gmx":["gmx"],"application/vnd.google-apps.document":["gdoc"],"application/vnd.google-apps.drawing":["gdraw"],"application/vnd.google-apps.form":["gform"],"application/vnd.google-apps.jam":["gjam"],"application/vnd.google-apps.map":["gmap"],"application/vnd.google-apps.presentation":["gslides"],"application/vnd.google-apps.script":["gscript"],"application/vnd.google-apps.site":["gsite"],"application/vnd.google-apps.spreadsheet":["gsheet"],"application/vnd.google-earth.kml+xml":["kml"],"application/vnd.google-earth.kmz":["kmz"],"application/vnd.gov.sk.xmldatacontainer+xml":["xdcf"],"application/vnd.grafeq":["gqf","gqs"],"application/vnd.groove-account":["gac"],"application/vnd.groove-help":["ghf"],"application/vnd.groove-identity-message":["gim"],"application/vnd.groove-injector":["grv"],"application/vnd.groove-tool-message":["gtm"],"application/vnd.groove-tool-template":["tpl"],"application/vnd.groove-vcard":["vcg"],"application/vnd.hal+xml":["hal"],"application/vnd.handheld-entertainment+xml":["zmm"],"application/vnd.hbci":["hbci"],"application/vnd.hhe.lesson-player":["les"],"application/vnd.hp-hpgl":["hpgl"],"application/vnd.hp-hpid":["hpid"],"application/vnd.hp-hps":["hps"],"application/vnd.hp-jlyt":["jlt"],"application/vnd.hp-pcl":["pcl"],"application/vnd.hp-pclxl":["pclxl"],"application/vnd.hydrostatix.sof-data":["sfd-hdstx"],"application/vnd.ibm.minipay":["mpy"],"application/vnd.ibm.modcap":["afp","listafp","list3820"],"application/vnd.ibm.rights-management":["irm"],"application/vnd.ibm.secure-container":["sc"],"application/vnd.iccprofile":["icc","icm"],"application/vnd.igloader":["igl"],"application/vnd.immervision-ivp":["ivp"],"application/vnd.immervision-ivu":["ivu"],"application/vnd.insors.igm":["igm"],"application/vnd.intercon.formnet":["xpw","xpx"],"application/vnd.intergeo":["i2g"],"application/vnd.intu.qbo":["qbo"],"application/vnd.intu.qfx":["qfx"],"application/vnd.ipunplugged.rcprofile":["rcprofile"],"application/vnd.irepository.package+xml":["irp"],"application/vnd.is-xpr":["xpr"],"application/vnd.isac.fcs":["fcs"],"application/vnd.jam":["jam"],"application/vnd.jcp.javame.midlet-rms":["rms"],"application/vnd.jisp":["jisp"],"application/vnd.joost.joda-archive":["joda"],"application/vnd.kahootz":["ktz","ktr"],"application/vnd.kde.karbon":["karbon"],"application/vnd.kde.kchart":["chrt"],"application/vnd.kde.kformula":["kfo"],"application/vnd.kde.kivio":["flw"],"application/vnd.kde.kontour":["kon"],"application/vnd.kde.kpresenter":["kpr","kpt"],"application/vnd.kde.kspread":["ksp"],"application/vnd.kde.kword":["kwd","kwt"],"application/vnd.kenameaapp":["htke"],"application/vnd.kidspiration":["kia"],"application/vnd.kinar":["kne","knp"],"application/vnd.koan":["skp","skd","skt","skm"],"application/vnd.kodak-descriptor":["sse"],"application/vnd.las.las+xml":["lasxml"],"application/vnd.llamagraphics.life-balance.desktop":["lbd"],"application/vnd.llamagraphics.life-balance.exchange+xml":["lbe"],"application/vnd.lotus-1-2-3":["123"],"application/vnd.lotus-approach":["apr"],"application/vnd.lotus-freelance":["pre"],"application/vnd.lotus-notes":["nsf"],"application/vnd.lotus-organizer":["org"],"application/vnd.lotus-screencam":["scm"],"application/vnd.lotus-wordpro":["lwp"],"application/vnd.macports.portpkg":["portpkg"],"application/vnd.mapbox-vector-tile":["mvt"],"application/vnd.mcd":["mcd"],"application/vnd.medcalcdata":["mc1"],"application/vnd.mediastation.cdkey":["cdkey"],"application/vnd.mfer":["mwf"],"application/vnd.mfmp":["mfm"],"application/vnd.micrografx.flo":["flo"],"application/vnd.micrografx.igx":["igx"],"application/vnd.mif":["mif"],"application/vnd.mobius.daf":["daf"],"application/vnd.mobius.dis":["dis"],"application/vnd.mobius.mbk":["mbk"],"application/vnd.mobius.mqy":["mqy"],"application/vnd.mobius.msl":["msl"],"application/vnd.mobius.plc":["plc"],"application/vnd.mobius.txf":["txf"],"application/vnd.mophun.application":["mpn"],"application/vnd.mophun.certificate":["mpc"],"application/vnd.mozilla.xul+xml":["xul"],"application/vnd.ms-artgalry":["cil"],"application/vnd.ms-cab-compressed":["cab"],"application/vnd.ms-excel":["xls","xlm","xla","xlc","xlt","xlw"],"application/vnd.ms-excel.addin.macroenabled.12":["xlam"],"application/vnd.ms-excel.sheet.binary.macroenabled.12":["xlsb"],"application/vnd.ms-excel.sheet.macroenabled.12":["xlsm"],"application/vnd.ms-excel.template.macroenabled.12":["xltm"],"application/vnd.ms-fontobject":["eot"],"application/vnd.ms-htmlhelp":["chm"],"application/vnd.ms-ims":["ims"],"application/vnd.ms-lrm":["lrm"],"application/vnd.ms-officetheme":["thmx"],"application/vnd.ms-outlook":["msg"],"application/vnd.ms-pki.seccat":["cat"],"application/vnd.ms-pki.stl":["*stl"],"application/vnd.ms-powerpoint":["ppt","pps","pot"],"application/vnd.ms-powerpoint.addin.macroenabled.12":["ppam"],"application/vnd.ms-powerpoint.presentation.macroenabled.12":["pptm"],"application/vnd.ms-powerpoint.slide.macroenabled.12":["sldm"],"application/vnd.ms-powerpoint.slideshow.macroenabled.12":["ppsm"],"application/vnd.ms-powerpoint.template.macroenabled.12":["potm"],"application/vnd.ms-project":["*mpp","mpt"],"application/vnd.ms-visio.viewer":["vdx"],"application/vnd.ms-word.document.macroenabled.12":["docm"],"application/vnd.ms-word.template.macroenabled.12":["dotm"],"application/vnd.ms-works":["wps","wks","wcm","wdb"],"application/vnd.ms-wpl":["wpl"],"application/vnd.ms-xpsdocument":["xps"],"application/vnd.mseq":["mseq"],"application/vnd.musician":["mus"],"application/vnd.muvee.style":["msty"],"application/vnd.mynfc":["taglet"],"application/vnd.nato.bindingdataobject+xml":["bdo"],"application/vnd.neurolanguage.nlu":["nlu"],"application/vnd.nitf":["ntf","nitf"],"application/vnd.noblenet-directory":["nnd"],"application/vnd.noblenet-sealer":["nns"],"application/vnd.noblenet-web":["nnw"],"application/vnd.nokia.n-gage.ac+xml":["*ac"],"application/vnd.nokia.n-gage.data":["ngdat"],"application/vnd.nokia.n-gage.symbian.install":["n-gage"],"application/vnd.nokia.radio-preset":["rpst"],"application/vnd.nokia.radio-presets":["rpss"],"application/vnd.novadigm.edm":["edm"],"application/vnd.novadigm.edx":["edx"],"application/vnd.novadigm.ext":["ext"],"application/vnd.oasis.opendocument.chart":["odc"],"application/vnd.oasis.opendocument.chart-template":["otc"],"application/vnd.oasis.opendocument.database":["odb"],"application/vnd.oasis.opendocument.formula":["odf"],"application/vnd.oasis.opendocument.formula-template":["odft"],"application/vnd.oasis.opendocument.graphics":["odg"],"application/vnd.oasis.opendocument.graphics-template":["otg"],"application/vnd.oasis.opendocument.image":["odi"],"application/vnd.oasis.opendocument.image-template":["oti"],"application/vnd.oasis.opendocument.presentation":["odp"],"application/vnd.oasis.opendocument.presentation-template":["otp"],"application/vnd.oasis.opendocument.spreadsheet":["ods"],"application/vnd.oasis.opendocument.spreadsheet-template":["ots"],"application/vnd.oasis.opendocument.text":["odt"],"application/vnd.oasis.opendocument.text-master":["odm"],"application/vnd.oasis.opendocument.text-template":["ott"],"application/vnd.oasis.opendocument.text-web":["oth"],"application/vnd.olpc-sugar":["xo"],"application/vnd.oma.dd2+xml":["dd2"],"application/vnd.openblox.game+xml":["obgx"],"application/vnd.openofficeorg.extension":["oxt"],"application/vnd.openstreetmap.data+xml":["osm"],"application/vnd.openxmlformats-officedocument.presentationml.presentation":["pptx"],"application/vnd.openxmlformats-officedocument.presentationml.slide":["sldx"],"application/vnd.openxmlformats-officedocument.presentationml.slideshow":["ppsx"],"application/vnd.openxmlformats-officedocument.presentationml.template":["potx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet":["xlsx"],"application/vnd.openxmlformats-officedocument.spreadsheetml.template":["xltx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.document":["docx"],"application/vnd.openxmlformats-officedocument.wordprocessingml.template":["dotx"],"application/vnd.osgeo.mapguide.package":["mgp"],"application/vnd.osgi.dp":["dp"],"application/vnd.osgi.subsystem":["esa"],"application/vnd.palm":["pdb","pqa","oprc"],"application/vnd.pawaafile":["paw"],"application/vnd.pg.format":["str"],"application/vnd.pg.osasli":["ei6"],"application/vnd.picsel":["efif"],"application/vnd.pmi.widget":["wg"],"application/vnd.pocketlearn":["plf"],"application/vnd.powerbuilder6":["pbd"],"application/vnd.previewsystems.box":["box"],"application/vnd.procrate.brushset":["brushset"],"application/vnd.procreate.brush":["brush"],"application/vnd.procreate.dream":["drm"],"application/vnd.proteus.magazine":["mgz"],"application/vnd.publishare-delta-tree":["qps"],"application/vnd.pvi.ptid1":["ptid"],"application/vnd.pwg-xhtml-print+xml":["xhtm"],"application/vnd.quark.quarkxpress":["qxd","qxt","qwd","qwt","qxl","qxb"],"application/vnd.rar":["rar"],"application/vnd.realvnc.bed":["bed"],"application/vnd.recordare.musicxml":["mxl"],"application/vnd.recordare.musicxml+xml":["musicxml"],"application/vnd.rig.cryptonote":["cryptonote"],"application/vnd.rim.cod":["cod"],"application/vnd.rn-realmedia":["rm"],"application/vnd.rn-realmedia-vbr":["rmvb"],"application/vnd.route66.link66+xml":["link66"],"application/vnd.sailingtracker.track":["st"],"application/vnd.seemail":["see"],"application/vnd.sema":["sema"],"application/vnd.semd":["semd"],"application/vnd.semf":["semf"],"application/vnd.shana.informed.formdata":["ifm"],"application/vnd.shana.informed.formtemplate":["itp"],"application/vnd.shana.informed.interchange":["iif"],"application/vnd.shana.informed.package":["ipk"],"application/vnd.simtech-mindmapper":["twd","twds"],"application/vnd.smaf":["mmf"],"application/vnd.smart.teacher":["teacher"],"application/vnd.software602.filler.form+xml":["fo"],"application/vnd.solent.sdkm+xml":["sdkm","sdkd"],"application/vnd.spotfire.dxp":["dxp"],"application/vnd.spotfire.sfs":["sfs"],"application/vnd.stardivision.calc":["sdc"],"application/vnd.stardivision.draw":["sda"],"application/vnd.stardivision.impress":["sdd"],"application/vnd.stardivision.math":["smf"],"application/vnd.stardivision.writer":["sdw","vor"],"application/vnd.stardivision.writer-global":["sgl"],"application/vnd.stepmania.package":["smzip"],"application/vnd.stepmania.stepchart":["sm"],"application/vnd.sun.wadl+xml":["wadl"],"application/vnd.sun.xml.calc":["sxc"],"application/vnd.sun.xml.calc.template":["stc"],"application/vnd.sun.xml.draw":["sxd"],"application/vnd.sun.xml.draw.template":["std"],"application/vnd.sun.xml.impress":["sxi"],"application/vnd.sun.xml.impress.template":["sti"],"application/vnd.sun.xml.math":["sxm"],"application/vnd.sun.xml.writer":["sxw"],"application/vnd.sun.xml.writer.global":["sxg"],"application/vnd.sun.xml.writer.template":["stw"],"application/vnd.sus-calendar":["sus","susp"],"application/vnd.svd":["svd"],"application/vnd.symbian.install":["sis","sisx"],"application/vnd.syncml+xml":["xsm"],"application/vnd.syncml.dm+wbxml":["bdm"],"application/vnd.syncml.dm+xml":["xdm"],"application/vnd.syncml.dmddf+xml":["ddf"],"application/vnd.tao.intent-module-archive":["tao"],"application/vnd.tcpdump.pcap":["pcap","cap","dmp"],"application/vnd.tmobile-livetv":["tmo"],"application/vnd.trid.tpt":["tpt"],"application/vnd.triscape.mxs":["mxs"],"application/vnd.trueapp":["tra"],"application/vnd.ufdl":["ufd","ufdl"],"application/vnd.uiq.theme":["utz"],"application/vnd.umajin":["umj"],"application/vnd.unity":["unityweb"],"application/vnd.uoml+xml":["uoml","uo"],"application/vnd.vcx":["vcx"],"application/vnd.visio":["vsd","vst","vss","vsw","vsdx","vtx"],"application/vnd.visionary":["vis"],"application/vnd.vsf":["vsf"],"application/vnd.wap.wbxml":["wbxml"],"application/vnd.wap.wmlc":["wmlc"],"application/vnd.wap.wmlscriptc":["wmlsc"],"application/vnd.webturbo":["wtb"],"application/vnd.wolfram.player":["nbp"],"application/vnd.wordperfect":["wpd"],"application/vnd.wqd":["wqd"],"application/vnd.wt.stf":["stf"],"application/vnd.xara":["xar"],"application/vnd.xfdl":["xfdl"],"application/vnd.yamaha.hv-dic":["hvd"],"application/vnd.yamaha.hv-script":["hvs"],"application/vnd.yamaha.hv-voice":["hvp"],"application/vnd.yamaha.openscoreformat":["osf"],"application/vnd.yamaha.openscoreformat.osfpvg+xml":["osfpvg"],"application/vnd.yamaha.smaf-audio":["saf"],"application/vnd.yamaha.smaf-phrase":["spf"],"application/vnd.yellowriver-custom-menu":["cmp"],"application/vnd.zul":["zir","zirz"],"application/vnd.zzazz.deck+xml":["zaz"],"application/x-7z-compressed":["7z"],"application/x-abiword":["abw"],"application/x-ace-compressed":["ace"],"application/x-apple-diskimage":["*dmg"],"application/x-arj":["arj"],"application/x-authorware-bin":["aab","x32","u32","vox"],"application/x-authorware-map":["aam"],"application/x-authorware-seg":["aas"],"application/x-bcpio":["bcpio"],"application/x-bdoc":["*bdoc"],"application/x-bittorrent":["torrent"],"application/x-blender":["blend"],"application/x-blorb":["blb","blorb"],"application/x-bzip":["bz"],"application/x-bzip2":["bz2","boz"],"application/x-cbr":["cbr","cba","cbt","cbz","cb7"],"application/x-cdlink":["vcd"],"application/x-cfs-compressed":["cfs"],"application/x-chat":["chat"],"application/x-chess-pgn":["pgn"],"application/x-chrome-extension":["crx"],"application/x-cocoa":["cco"],"application/x-compressed":["*rar"],"application/x-conference":["nsc"],"application/x-cpio":["cpio"],"application/x-csh":["csh"],"application/x-debian-package":["*deb","udeb"],"application/x-dgc-compressed":["dgc"],"application/x-director":["dir","dcr","dxr","cst","cct","cxt","w3d","fgd","swa"],"application/x-doom":["wad"],"application/x-dtbncx+xml":["ncx"],"application/x-dtbook+xml":["dtb"],"application/x-dtbresource+xml":["res"],"application/x-dvi":["dvi"],"application/x-envoy":["evy"],"application/x-eva":["eva"],"application/x-font-bdf":["bdf"],"application/x-font-ghostscript":["gsf"],"application/x-font-linux-psf":["psf"],"application/x-font-pcf":["pcf"],"application/x-font-snf":["snf"],"application/x-font-type1":["pfa","pfb","pfm","afm"],"application/x-freearc":["arc"],"application/x-futuresplash":["spl"],"application/x-gca-compressed":["gca"],"application/x-glulx":["ulx"],"application/x-gnumeric":["gnumeric"],"application/x-gramps-xml":["gramps"],"application/x-gtar":["gtar"],"application/x-hdf":["hdf"],"application/x-httpd-php":["php"],"application/x-install-instructions":["install"],"application/x-ipynb+json":["ipynb"],"application/x-iso9660-image":["*iso"],"application/x-iwork-keynote-sffkey":["*key"],"application/x-iwork-numbers-sffnumbers":["*numbers"],"application/x-iwork-pages-sffpages":["*pages"],"application/x-java-archive-diff":["jardiff"],"application/x-java-jnlp-file":["jnlp"],"application/x-keepass2":["kdbx"],"application/x-latex":["latex"],"application/x-lua-bytecode":["luac"],"application/x-lzh-compressed":["lzh","lha"],"application/x-makeself":["run"],"application/x-mie":["mie"],"application/x-mobipocket-ebook":["*prc","mobi"],"application/x-ms-application":["application"],"application/x-ms-shortcut":["lnk"],"application/x-ms-wmd":["wmd"],"application/x-ms-wmz":["wmz"],"application/x-ms-xbap":["xbap"],"application/x-msaccess":["mdb"],"application/x-msbinder":["obd"],"application/x-mscardfile":["crd"],"application/x-msclip":["clp"],"application/x-msdos-program":["*exe"],"application/x-msdownload":["*exe","*dll","com","bat","*msi"],"application/x-msmediaview":["mvb","m13","m14"],"application/x-msmetafile":["*wmf","*wmz","*emf","emz"],"application/x-msmoney":["mny"],"application/x-mspublisher":["pub"],"application/x-msschedule":["scd"],"application/x-msterminal":["trm"],"application/x-mswrite":["wri"],"application/x-netcdf":["nc","cdf"],"application/x-ns-proxy-autoconfig":["pac"],"application/x-nzb":["nzb"],"application/x-perl":["pl","pm"],"application/x-pilot":["*prc","*pdb"],"application/x-pkcs12":["p12","pfx"],"application/x-pkcs7-certificates":["p7b","spc"],"application/x-pkcs7-certreqresp":["p7r"],"application/x-rar-compressed":["*rar"],"application/x-redhat-package-manager":["rpm"],"application/x-research-info-systems":["ris"],"application/x-sea":["sea"],"application/x-sh":["sh"],"application/x-shar":["shar"],"application/x-shockwave-flash":["swf"],"application/x-silverlight-app":["xap"],"application/x-sql":["*sql"],"application/x-stuffit":["sit"],"application/x-stuffitx":["sitx"],"application/x-subrip":["srt"],"application/x-sv4cpio":["sv4cpio"],"application/x-sv4crc":["sv4crc"],"application/x-t3vm-image":["t3"],"application/x-tads":["gam"],"application/x-tar":["tar"],"application/x-tcl":["tcl","tk"],"application/x-tex":["tex"],"application/x-tex-tfm":["tfm"],"application/x-texinfo":["texinfo","texi"],"application/x-tgif":["*obj"],"application/x-ustar":["ustar"],"application/x-virtualbox-hdd":["hdd"],"application/x-virtualbox-ova":["ova"],"application/x-virtualbox-ovf":["ovf"],"application/x-virtualbox-vbox":["vbox"],"application/x-virtualbox-vbox-extpack":["vbox-extpack"],"application/x-virtualbox-vdi":["vdi"],"application/x-virtualbox-vhd":["vhd"],"application/x-virtualbox-vmdk":["vmdk"],"application/x-wais-source":["src"],"application/x-web-app-manifest+json":["webapp"],"application/x-x509-ca-cert":["der","crt","pem"],"application/x-xfig":["fig"],"application/x-xliff+xml":["*xlf"],"application/x-xpinstall":["xpi"],"application/x-xz":["xz"],"application/x-zip-compressed":["*zip"],"application/x-zmachine":["z1","z2","z3","z4","z5","z6","z7","z8"],"audio/vnd.dece.audio":["uva","uvva"],"audio/vnd.digital-winds":["eol"],"audio/vnd.dra":["dra"],"audio/vnd.dts":["dts"],"audio/vnd.dts.hd":["dtshd"],"audio/vnd.lucent.voice":["lvp"],"audio/vnd.ms-playready.media.pya":["pya"],"audio/vnd.nuera.ecelp4800":["ecelp4800"],"audio/vnd.nuera.ecelp7470":["ecelp7470"],"audio/vnd.nuera.ecelp9600":["ecelp9600"],"audio/vnd.rip":["rip"],"audio/x-aac":["*aac"],"audio/x-aiff":["aif","aiff","aifc"],"audio/x-caf":["caf"],"audio/x-flac":["flac"],"audio/x-m4a":["*m4a"],"audio/x-matroska":["mka"],"audio/x-mpegurl":["m3u"],"audio/x-ms-wax":["wax"],"audio/x-ms-wma":["wma"],"audio/x-pn-realaudio":["ram","ra"],"audio/x-pn-realaudio-plugin":["rmp"],"audio/x-realaudio":["*ra"],"audio/x-wav":["*wav"],"chemical/x-cdx":["cdx"],"chemical/x-cif":["cif"],"chemical/x-cmdf":["cmdf"],"chemical/x-cml":["cml"],"chemical/x-csml":["csml"],"chemical/x-xyz":["xyz"],"image/prs.btif":["btif","btf"],"image/prs.pti":["pti"],"image/vnd.adobe.photoshop":["psd"],"image/vnd.airzip.accelerator.azv":["azv"],"image/vnd.blockfact.facti":["facti"],"image/vnd.dece.graphic":["uvi","uvvi","uvg","uvvg"],"image/vnd.djvu":["djvu","djv"],"image/vnd.dvb.subtitle":["*sub"],"image/vnd.dwg":["dwg"],"image/vnd.dxf":["dxf"],"image/vnd.fastbidsheet":["fbs"],"image/vnd.fpx":["fpx"],"image/vnd.fst":["fst"],"image/vnd.fujixerox.edmics-mmr":["mmr"],"image/vnd.fujixerox.edmics-rlc":["rlc"],"image/vnd.microsoft.icon":["ico"],"image/vnd.ms-dds":["dds"],"image/vnd.ms-modi":["mdi"],"image/vnd.ms-photo":["wdp"],"image/vnd.net-fpx":["npx"],"image/vnd.pco.b16":["b16"],"image/vnd.tencent.tap":["tap"],"image/vnd.valve.source.texture":["vtf"],"image/vnd.wap.wbmp":["wbmp"],"image/vnd.xiff":["xif"],"image/vnd.zbrush.pcx":["pcx"],"image/x-3ds":["3ds"],"image/x-adobe-dng":["dng"],"image/x-cmu-raster":["ras"],"image/x-cmx":["cmx"],"image/x-freehand":["fh","fhc","fh4","fh5","fh7"],"image/x-icon":["*ico"],"image/x-jng":["jng"],"image/x-mrsid-image":["sid"],"image/x-ms-bmp":["*bmp"],"image/x-pcx":["*pcx"],"image/x-pict":["pic","pct"],"image/x-portable-anymap":["pnm"],"image/x-portable-bitmap":["pbm"],"image/x-portable-graymap":["pgm"],"image/x-portable-pixmap":["ppm"],"image/x-rgb":["rgb"],"image/x-tga":["tga"],"image/x-xbitmap":["xbm"],"image/x-xpixmap":["xpm"],"image/x-xwindowdump":["xwd"],"message/vnd.wfa.wsc":["wsc"],"model/vnd.bary":["bary"],"model/vnd.cld":["cld"],"model/vnd.collada+xml":["dae"],"model/vnd.dwf":["dwf"],"model/vnd.gdl":["gdl"],"model/vnd.gtw":["gtw"],"model/vnd.mts":["*mts"],"model/vnd.opengex":["ogex"],"model/vnd.parasolid.transmit.binary":["x_b"],"model/vnd.parasolid.transmit.text":["x_t"],"model/vnd.pytha.pyox":["pyo","pyox"],"model/vnd.sap.vds":["vds"],"model/vnd.usda":["usda"],"model/vnd.usdz+zip":["usdz"],"model/vnd.valve.source.compiled-map":["bsp"],"model/vnd.vtu":["vtu"],"text/prs.lines.tag":["dsc"],"text/vnd.curl":["curl"],"text/vnd.curl.dcurl":["dcurl"],"text/vnd.curl.mcurl":["mcurl"],"text/vnd.curl.scurl":["scurl"],"text/vnd.dvb.subtitle":["sub"],"text/vnd.familysearch.gedcom":["ged"],"text/vnd.fly":["fly"],"text/vnd.fmi.flexstor":["flx"],"text/vnd.graphviz":["gv"],"text/vnd.in3d.3dml":["3dml"],"text/vnd.in3d.spot":["spot"],"text/vnd.sun.j2me.app-descriptor":["jad"],"text/vnd.wap.wml":["wml"],"text/vnd.wap.wmlscript":["wmls"],"text/x-asm":["s","asm"],"text/x-c":["c","cc","cxx","cpp","h","hh","dic"],"text/x-component":["htc"],"text/x-fortran":["f","for","f77","f90"],"text/x-handlebars-template":["hbs"],"text/x-java-source":["java"],"text/x-lua":["lua"],"text/x-markdown":["mkd"],"text/x-nfo":["nfo"],"text/x-opml":["opml"],"text/x-org":["*org"],"text/x-pascal":["p","pas"],"text/x-processing":["pde"],"text/x-sass":["sass"],"text/x-scss":["scss"],"text/x-setext":["etx"],"text/x-sfv":["sfv"],"text/x-suse-ymp":["ymp"],"text/x-uuencode":["uu"],"text/x-vcalendar":["vcs"],"text/x-vcard":["vcf"],"video/vnd.dece.hd":["uvh","uvvh"],"video/vnd.dece.mobile":["uvm","uvvm"],"video/vnd.dece.pd":["uvp","uvvp"],"video/vnd.dece.sd":["uvs","uvvs"],"video/vnd.dece.video":["uvv","uvvv"],"video/vnd.dvb.file":["dvb"],"video/vnd.fvt":["fvt"],"video/vnd.mpegurl":["mxu","m4u"],"video/vnd.ms-playready.media.pyv":["pyv"],"video/vnd.uvvu.mp4":["uvu","uvvu"],"video/vnd.vivo":["viv"],"video/x-f4v":["f4v"],"video/x-fli":["fli"],"video/x-flv":["flv"],"video/x-m4v":["m4v"],"video/x-matroska":["mkv","mk3d","mks"],"video/x-mng":["mng"],"video/x-ms-asf":["asf","asx"],"video/x-ms-vob":["vob"],"video/x-ms-wm":["wm"],"video/x-ms-wmv":["wmv"],"video/x-ms-wmx":["wmx"],"video/x-ms-wvx":["wvx"],"video/x-msvideo":["avi"],"video/x-sgi-movie":["movie"],"video/x-smv":["smv"],"x-conference/x-cooltalk":["ice"]};Object.freeze(MS);const US={"application/andrew-inset":["ez"],"application/appinstaller":["appinstaller"],"application/applixware":["aw"],"application/appx":["appx"],"application/appxbundle":["appxbundle"],"application/atom+xml":["atom"],"application/atomcat+xml":["atomcat"],"application/atomdeleted+xml":["atomdeleted"],"application/atomsvc+xml":["atomsvc"],"application/atsc-dwd+xml":["dwd"],"application/atsc-held+xml":["held"],"application/atsc-rsat+xml":["rsat"],"application/automationml-aml+xml":["aml"],"application/automationml-amlx+zip":["amlx"],"application/bdoc":["bdoc"],"application/calendar+xml":["xcs"],"application/ccxml+xml":["ccxml"],"application/cdfx+xml":["cdfx"],"application/cdmi-capability":["cdmia"],"application/cdmi-container":["cdmic"],"application/cdmi-domain":["cdmid"],"application/cdmi-object":["cdmio"],"application/cdmi-queue":["cdmiq"],"application/cpl+xml":["cpl"],"application/cu-seeme":["cu"],"application/cwl":["cwl"],"application/dash+xml":["mpd"],"application/dash-patch+xml":["mpp"],"application/davmount+xml":["davmount"],"application/dicom":["dcm"],"application/docbook+xml":["dbk"],"application/dssc+der":["dssc"],"application/dssc+xml":["xdssc"],"application/ecmascript":["ecma"],"application/emma+xml":["emma"],"application/emotionml+xml":["emotionml"],"application/epub+zip":["epub"],"application/exi":["exi"],"application/express":["exp"],"application/fdf":["fdf"],"application/fdt+xml":["fdt"],"application/font-tdpfr":["pfr"],"application/geo+json":["geojson"],"application/gml+xml":["gml"],"application/gpx+xml":["gpx"],"application/gxf":["gxf"],"application/gzip":["gz"],"application/hjson":["hjson"],"application/hyperstudio":["stk"],"application/inkml+xml":["ink","inkml"],"application/ipfix":["ipfix"],"application/its+xml":["its"],"application/java-archive":["jar","war","ear"],"application/java-serialized-object":["ser"],"application/java-vm":["class"],"application/javascript":["*js"],"application/json":["json","map"],"application/json5":["json5"],"application/jsonml+json":["jsonml"],"application/ld+json":["jsonld"],"application/lgr+xml":["lgr"],"application/lost+xml":["lostxml"],"application/mac-binhex40":["hqx"],"application/mac-compactpro":["cpt"],"application/mads+xml":["mads"],"application/manifest+json":["webmanifest"],"application/marc":["mrc"],"application/marcxml+xml":["mrcx"],"application/mathematica":["ma","nb","mb"],"application/mathml+xml":["mathml"],"application/mbox":["mbox"],"application/media-policy-dataset+xml":["mpf"],"application/mediaservercontrol+xml":["mscml"],"application/metalink+xml":["metalink"],"application/metalink4+xml":["meta4"],"application/mets+xml":["mets"],"application/mmt-aei+xml":["maei"],"application/mmt-usd+xml":["musd"],"application/mods+xml":["mods"],"application/mp21":["m21","mp21"],"application/mp4":["*mp4","*mpg4","mp4s","m4p"],"application/msix":["msix"],"application/msixbundle":["msixbundle"],"application/msword":["doc","dot"],"application/mxf":["mxf"],"application/n-quads":["nq"],"application/n-triples":["nt"],"application/node":["cjs"],"application/octet-stream":["bin","dms","lrf","mar","so","dist","distz","pkg","bpk","dump","elc","deploy","exe","dll","deb","dmg","iso","img","msi","msp","msm","buffer"],"application/oda":["oda"],"application/oebps-package+xml":["opf"],"application/ogg":["ogx"],"application/omdoc+xml":["omdoc"],"application/onenote":["onetoc","onetoc2","onetmp","onepkg","one","onea"],"application/oxps":["oxps"],"application/p2p-overlay+xml":["relo"],"application/patch-ops-error+xml":["xer"],"application/pdf":["pdf"],"application/pgp-encrypted":["pgp"],"application/pgp-keys":["asc"],"application/pgp-signature":["sig","*asc"],"application/pics-rules":["prf"],"application/pkcs10":["p10"],"application/pkcs7-mime":["p7m","p7c"],"application/pkcs7-signature":["p7s"],"application/pkcs8":["p8"],"application/pkix-attr-cert":["ac"],"application/pkix-cert":["cer"],"application/pkix-crl":["crl"],"application/pkix-pkipath":["pkipath"],"application/pkixcmp":["pki"],"application/pls+xml":["pls"],"application/postscript":["ai","eps","ps"],"application/provenance+xml":["provx"],"application/pskc+xml":["pskcxml"],"application/raml+yaml":["raml"],"application/rdf+xml":["rdf","owl"],"application/reginfo+xml":["rif"],"application/relax-ng-compact-syntax":["rnc"],"application/resource-lists+xml":["rl"],"application/resource-lists-diff+xml":["rld"],"application/rls-services+xml":["rs"],"application/route-apd+xml":["rapd"],"application/route-s-tsid+xml":["sls"],"application/route-usd+xml":["rusd"],"application/rpki-ghostbusters":["gbr"],"application/rpki-manifest":["mft"],"application/rpki-roa":["roa"],"application/rsd+xml":["rsd"],"application/rss+xml":["rss"],"application/rtf":["rtf"],"application/sbml+xml":["sbml"],"application/scvp-cv-request":["scq"],"application/scvp-cv-response":["scs"],"application/scvp-vp-request":["spq"],"application/scvp-vp-response":["spp"],"application/sdp":["sdp"],"application/senml+xml":["senmlx"],"application/sensml+xml":["sensmlx"],"application/set-payment-initiation":["setpay"],"application/set-registration-initiation":["setreg"],"application/shf+xml":["shf"],"application/sieve":["siv","sieve"],"application/smil+xml":["smi","smil"],"application/sparql-query":["rq"],"application/sparql-results+xml":["srx"],"application/sql":["sql"],"application/srgs":["gram"],"application/srgs+xml":["grxml"],"application/sru+xml":["sru"],"application/ssdl+xml":["ssdl"],"application/ssml+xml":["ssml"],"application/swid+xml":["swidtag"],"application/tei+xml":["tei","teicorpus"],"application/thraud+xml":["tfi"],"application/timestamped-data":["tsd"],"application/toml":["toml"],"application/trig":["trig"],"application/ttml+xml":["ttml"],"application/ubjson":["ubj"],"application/urc-ressheet+xml":["rsheet"],"application/urc-targetdesc+xml":["td"],"application/voicexml+xml":["vxml"],"application/wasm":["wasm"],"application/watcherinfo+xml":["wif"],"application/widget":["wgt"],"application/winhlp":["hlp"],"application/wsdl+xml":["wsdl"],"application/wspolicy+xml":["wspolicy"],"application/xaml+xml":["xaml"],"application/xcap-att+xml":["xav"],"application/xcap-caps+xml":["xca"],"application/xcap-diff+xml":["xdf"],"application/xcap-el+xml":["xel"],"application/xcap-ns+xml":["xns"],"application/xenc+xml":["xenc"],"application/xfdf":["xfdf"],"application/xhtml+xml":["xhtml","xht"],"application/xliff+xml":["xlf"],"application/xml":["xml","xsl","xsd","rng"],"application/xml-dtd":["dtd"],"application/xop+xml":["xop"],"application/xproc+xml":["xpl"],"application/xslt+xml":["*xsl","xslt"],"application/xspf+xml":["xspf"],"application/xv+xml":["mxml","xhvml","xvml","xvm"],"application/yang":["yang"],"application/yin+xml":["yin"],"application/zip":["zip"],"application/zip+dotlottie":["lottie"],"audio/3gpp":["*3gpp"],"audio/aac":["adts","aac"],"audio/adpcm":["adp"],"audio/amr":["amr"],"audio/basic":["au","snd"],"audio/midi":["mid","midi","kar","rmi"],"audio/mobile-xmf":["mxmf"],"audio/mp3":["*mp3"],"audio/mp4":["m4a","mp4a","m4b"],"audio/mpeg":["mpga","mp2","mp2a","mp3","m2a","m3a"],"audio/ogg":["oga","ogg","spx","opus"],"audio/s3m":["s3m"],"audio/silk":["sil"],"audio/wav":["wav"],"audio/wave":["*wav"],"audio/webm":["weba"],"audio/xm":["xm"],"font/collection":["ttc"],"font/otf":["otf"],"font/ttf":["ttf"],"font/woff":["woff"],"font/woff2":["woff2"],"image/aces":["exr"],"image/apng":["apng"],"image/avci":["avci"],"image/avcs":["avcs"],"image/avif":["avif"],"image/bmp":["bmp","dib"],"image/cgm":["cgm"],"image/dicom-rle":["drle"],"image/dpx":["dpx"],"image/emf":["emf"],"image/fits":["fits"],"image/g3fax":["g3"],"image/gif":["gif"],"image/heic":["heic"],"image/heic-sequence":["heics"],"image/heif":["heif"],"image/heif-sequence":["heifs"],"image/hej2k":["hej2"],"image/ief":["ief"],"image/jaii":["jaii"],"image/jais":["jais"],"image/jls":["jls"],"image/jp2":["jp2","jpg2"],"image/jpeg":["jpg","jpeg","jpe"],"image/jph":["jph"],"image/jphc":["jhc"],"image/jpm":["jpm","jpgm"],"image/jpx":["jpx","jpf"],"image/jxl":["jxl"],"image/jxr":["jxr"],"image/jxra":["jxra"],"image/jxrs":["jxrs"],"image/jxs":["jxs"],"image/jxsc":["jxsc"],"image/jxsi":["jxsi"],"image/jxss":["jxss"],"image/ktx":["ktx"],"image/ktx2":["ktx2"],"image/pjpeg":["jfif"],"image/png":["png"],"image/sgi":["sgi"],"image/svg+xml":["svg","svgz"],"image/t38":["t38"],"image/tiff":["tif","tiff"],"image/tiff-fx":["tfx"],"image/webp":["webp"],"image/wmf":["wmf"],"message/disposition-notification":["disposition-notification"],"message/global":["u8msg"],"message/global-delivery-status":["u8dsn"],"message/global-disposition-notification":["u8mdn"],"message/global-headers":["u8hdr"],"message/rfc822":["eml","mime","mht","mhtml"],"model/3mf":["3mf"],"model/gltf+json":["gltf"],"model/gltf-binary":["glb"],"model/iges":["igs","iges"],"model/jt":["jt"],"model/mesh":["msh","mesh","silo"],"model/mtl":["mtl"],"model/obj":["obj"],"model/prc":["prc"],"model/step":["step","stp","stpnc","p21","210"],"model/step+xml":["stpx"],"model/step+zip":["stpz"],"model/step-xml+zip":["stpxz"],"model/stl":["stl"],"model/u3d":["u3d"],"model/vrml":["wrl","vrml"],"model/x3d+binary":["*x3db","x3dbz"],"model/x3d+fastinfoset":["x3db"],"model/x3d+vrml":["*x3dv","x3dvz"],"model/x3d+xml":["x3d","x3dz"],"model/x3d-vrml":["x3dv"],"text/cache-manifest":["appcache","manifest"],"text/calendar":["ics","ifb"],"text/coffeescript":["coffee","litcoffee"],"text/css":["css"],"text/csv":["csv"],"text/html":["html","htm","shtml"],"text/jade":["jade"],"text/javascript":["js","mjs"],"text/jsx":["jsx"],"text/less":["less"],"text/markdown":["md","markdown"],"text/mathml":["mml"],"text/mdx":["mdx"],"text/n3":["n3"],"text/plain":["txt","text","conf","def","list","log","in","ini"],"text/richtext":["rtx"],"text/rtf":["*rtf"],"text/sgml":["sgml","sgm"],"text/shex":["shex"],"text/slim":["slim","slm"],"text/spdx":["spdx"],"text/stylus":["stylus","styl"],"text/tab-separated-values":["tsv"],"text/troff":["t","tr","roff","man","me","ms"],"text/turtle":["ttl"],"text/uri-list":["uri","uris","urls"],"text/vcard":["vcard"],"text/vtt":["vtt"],"text/wgsl":["wgsl"],"text/xml":["*xml"],"text/yaml":["yaml","yml"],"video/3gpp":["3gp","3gpp"],"video/3gpp2":["3g2"],"video/h261":["h261"],"video/h263":["h263"],"video/h264":["h264"],"video/iso.segment":["m4s"],"video/jpeg":["jpgv"],"video/jpm":["*jpm","*jpgm"],"video/mj2":["mj2","mjp2"],"video/mp2t":["ts","m2t","m2ts","mts"],"video/mp4":["mp4","mp4v","mpg4"],"video/mpeg":["mpeg","mpg","mpe","m1v","m2v"],"video/ogg":["ogv"],"video/quicktime":["qt","mov"],"video/webm":["webm"]};Object.freeze(US);var Bi=function(t,e,n,r){if(n==="a"&&!r)throw new TypeError("Private accessor was defined without a getter");if(typeof e=="function"?t!==e||!r:!e.has(t))throw new TypeError("Cannot read private member from an object whose class did not declare it");return n==="m"?r:n==="a"?r.call(t):r?r.value:e.get(t)},$c,hd,Ka;class q3{constructor(...e){$c.set(this,new Map),hd.set(this,new Map),Ka.set(this,new Map);for(const n of e)this.define(n)}define(e,n=!1){for(let[r,i]of Object.entries(e)){r=r.toLowerCase(),i=i.map(a=>a.toLowerCase()),Bi(this,Ka,"f").has(r)||Bi(this,Ka,"f").set(r,new Set);const o=Bi(this,Ka,"f").get(r);let s=!0;for(let a of i){const c=a.startsWith("*");if(a=c?a.slice(1):a,o?.add(a),s&&Bi(this,hd,"f").set(r,a),s=!1,c)continue;const u=Bi(this,$c,"f").get(a);if(u&&u!=r&&!n)throw new Error(`"${r} -> ${a}" conflicts with "${u} -> ${a}". Pass \`force=true\` to override this definition.`);Bi(this,$c,"f").set(a,r)}}return this}getType(e){if(typeof e!="string")return null;const n=e.replace(/^.*[/\\]/s,"").toLowerCase(),r=n.replace(/^.*\./s,"").toLowerCase(),i=n.length<e.length;return!(r.length<n.length-1)&&i?null:Bi(this,$c,"f").get(r)??null}getExtension(e){return typeof e!="string"?null:(e=e?.split?.(";")[0],(e&&Bi(this,hd,"f").get(e.trim().toLowerCase()))??null)}getAllExtensions(e){return typeof e!="string"?null:Bi(this,Ka,"f").get(e.toLowerCase())??null}_freeze(){this.define=()=>{throw new Error("define() not allowed for built-in Mime objects. See https://github.com/broofa/mime/blob/main/README.md#custom-mime-instances")},Object.freeze(this);for(const e of Bi(this,Ka,"f").values())Object.freeze(e);return this}_getTestState(){return{types:Bi(this,$c,"f"),extensions:Bi(this,hd,"f")}}}$c=new WeakMap,hd=new WeakMap,Ka=new WeakMap;const as=new q3(US,MS)._freeze();var pb,zS;function H3(){if(zS)return pb;zS=1;function t(n){return n>=55296&&n<=56319}function e(n){return n>=56320&&n<=57343}return pb=function(r,i,o){if(typeof i!="string")throw new Error("Input must be string");for(var s=i.length,a=0,c,u,d=0;d<s;d+=1){if(c=i.charCodeAt(d),u=i[d],t(c)&&e(i.charCodeAt(d+1))&&(d+=1,u+=i[d]),a+=r(u),a===o)return i.slice(0,d+1);if(a>o)return i.slice(0,d-u.length+1)}return i},pb}var gb,jS;function G3(){if(jS)return gb;jS=1;function t(n){return n>=55296&&n<=56319}function e(n){return n>=56320&&n<=57343}return gb=function(r){if(typeof r!="string")throw new Error("Input must be string");for(var i=r.length,o=0,s=null,a=null,c=0;c<i;c++)s=r.charCodeAt(c),e(s)?a!=null&&t(a)?o+=1:o+=3:s<=127?o+=1:s>=128&&s<=2047?o+=2:s>=2048&&s<=65535&&(o+=3),a=s;return o},gb}var mb,BS;function K3(){if(BS)return mb;BS=1;var t=H3(),e=G3();return mb=t.bind(null,e),mb}var vb,qS;function V3(){if(qS)return vb;qS=1;var t=K3(),e=/[\/\?<>\\:\*\|"]/g,n=/[\x00-\x1f\x80-\x9f]/g,r=/^\.+$/,i=/^(con|prn|aux|nul|com[0-9]|lpt[0-9])(\..*)?$/i,o=/[\. ]+$/;function s(a,c){if(typeof a!="string")throw new Error("Input must be string");var u=a.replace(e,c).replace(n,c).replace(r,c).replace(i,c).replace(o,c);return t(u,255)}return vb=function(a,c){var u=c&&c.replacement||"",d=s(a,u);return u===""?d:s(d,"")},vb}var W3=V3();const Y3=Yi(W3),HS=(t,e)=>new RegExp(`^${t.split("/").map(e).join("\\/")}\\b`),GS=t=>{const e=t.startsWith("@");return e&&(t=t.slice(1)),t=t.split("/").map(n=>encodeURIComponent(n).replace(/[!'()*]/g,r=>`%${r.charCodeAt(0).toString(16).toUpperCase()}`)).join("/"),e?`@${t}`:t},J3=t=>decodeURIComponent(t),Zh=t=>{const e=new Intl.NumberFormat(se(qt),{maximumFractionDigits:1}),n=1e3,r=n*1e3,i=r*1e3,o=i*1e3;return t<n?se(de)("file_size_units.b",{values:{size:e.format(t)}}):t<r?se(de)("file_size_units.kb",{values:{size:e.format(t/n)}}):t<i?se(de)("file_size_units.mb",{values:{size:e.format(t/r)}}):t<o?se(de)("file_size_units.gb",{values:{size:e.format(t/i)}}):se(de)("file_size_units.tb",{values:{size:e.format(t/o)}})},KS=(t,e)=>{if(!e.length)return t;const{filename:n,extension:r}=mn(t),i=new RegExp(`^${Wt(n)}(?:-(?<num>\\d+?))?${r?`\\.${r}`:""}$`),o=e.sort((a,c)=>ki(a.split(".")[0],c.split(".")[0])).findLast(a=>i.test(a));if(!o)return t;const s=Number(o.match(i)?.groups?.num??0)+1;return`${n}-${s}${r?`.${r}`:""}`},VS=(t,{slugificationEnabled:e=!1,assetNamesInSameFolder:n=[]}={})=>{let r=Y3(t.normalize());if(e){const{filename:i,extension:o}=mn(r);r=`${CS(i)}${o?`.${o}`:""}`}return KS(r,n)},Ic=t=>t.filter(Boolean).join("/"),bb=t=>{const e=t.split("/");let n=!1;return e.forEach((r,i)=>{if(r==="."||r===".."){if(n&&(e[i]=null,r==="..")){const o=e.findLastIndex((s,a)=>!!s&&a<i);o>-1&&(e[o]=null)}}else n=!0}),Ic(e)},_b=t=>typeof t=="string"?new Blob([t],{type:"text/plain"}):t,Va=async t=>{const n=await _b(t).arrayBuffer();return Da(new Blob([`blob ${n.byteLength}\0`,n]))};let WS=class{constructor(e){if(Z3(e))throw new Error("DataView: Passed buffer type is unsupported.");this.buffer=e,this.byteLength=this.buffer.length}getUint8(e){return this.buffer.readUInt8(e)}getUint16(e,n){return n?this.buffer.readUInt16LE(e):this.buffer.readUInt16BE(e)}getUint32(e,n){return n?this.buffer.readUInt32LE(e):this.buffer.readUInt32BE(e)}getInt32(e,n){return n?this.buffer.readInt32LE(e):this.buffer.readInt32BE(e)}};function Z3(t){return typeof t!="object"||t.length===void 0||t.readUInt8===void 0||t.readUInt16LE===void 0||t.readUInt16BE===void 0||t.readUInt32LE===void 0||t.readUInt32BE===void 0||t.readInt32LE===void 0||t.readInt32BE===void 0}function YS(t,e,n){try{return new DataView(t,e,n)}catch{return new WS(t,e,n)}}function xt(t,e,n){const r=[];for(let i=0;i<n&&e+i<t.byteLength;i++)r.push(t.getUint8(e+i));return Wa(r)}function Pc(t,e){const n=[];let r=0;for(;e+r<t.byteLength;){const i=t.getUint8(e+r);if(i===0)break;n.push(i),r++}return Wa(n)}function X3(t,e,n){const r=[];for(let i=0;i<n&&e+i<t.byteLength;i+=2)r.push(t.getUint16(e+i));return r[r.length-1]===0&&r.pop(),Wa(r)}function JS(t,e){const n=t.getUint8(e),r=xt(t,e+1,n);return[n,r]}function Wa(t){return t.map(e=>String.fromCharCode(e)).join("")}function Et(){for(let t=1;t<arguments.length;t++)for(const e in arguments[t])arguments[0][e]=arguments[t][e];return arguments[0]}function ZS(t,e,n){let r=!1;Object.defineProperty(t,e,{get(){return r||(r=!0,Object.defineProperty(t,e,{configurable:!0,enumerable:!0,value:n.apply(t),writable:!0})),t[e]},configurable:!0,enumerable:!0})}function XS(t){if(typeof btoa<"u")return btoa(typeof t=="string"?t:Array.prototype.reduce.call(new Uint8Array(t),(e,n)=>e+String.fromCharCode(n),""));if(!(typeof Buffer>"u"))return typeof Buffer.from<"u"?Buffer.from(t).toString("base64"):new Buffer(t).toString("base64")}function Q3(t){const e=t.substring(t.indexOf(",")+1);if(t.indexOf(";base64")!==-1)return typeof atob<"u"?Uint8Array.from(atob(e),r=>r.charCodeAt(0)).buffer:typeof Buffer>"u"?void 0:typeof Buffer.from<"u"?Buffer.from(e,"base64"):new Buffer(e,"base64");const n=decodeURIComponent(e);return typeof Buffer<"u"?typeof Buffer.from<"u"?Buffer.from(n):new Buffer(n):Uint8Array.from(n,r=>r.charCodeAt(0)).buffer}function eU(t,e,n){return QS(n,e-t.length)+t}function tU(t,e){return parseInt(t.replace(".",""),e)/Math.pow(e,(t.split(".")[1]||"").length)}function QS(t,e){return new Array(e+1).join(t)}const Xh=void 0,eE=0;function tE(t,e,n,r="string"){if(e===eE&&typeof DecompressionStream=="function"){const i=new DecompressionStream("deflate"),o=new Blob([t]).stream().pipeThrough(i);return r==="dataview"?new Response(o).arrayBuffer().then(s=>new DataView(s)):new Response(o).arrayBuffer().then(s=>new TextDecoder(n).decode(s))}return e!==void 0?Promise.reject(`Unknown compression method ${e}.`):t}const nE={USE_FILE:!0,USE_JFIF:!0,USE_PNG_FILE:!0,USE_EXIF:!0,USE_IPTC:!0,USE_XMP:!0,USE_ICC:!0,USE_MPF:!0,USE_PHOTOSHOP:!0,USE_THUMBNAIL:!0,USE_TIFF:!0,USE_JPEG:!0,USE_PNG:!0,USE_HEIC:!0,USE_AVIF:!0,USE_WEBP:!0,USE_GIF:!0,USE_MAKER_NOTES:!0};function nr(t){return t.map(e=>String.fromCharCode(e)).join("")}function yb(t){if(t.length>=8){const e=nr(t.slice(0,8));if(e==="ASCII\0\0\0")return nr(t.slice(8));if(e==="JIS\0\0\0\0\0")return"[JIS encoded text]";if(e==="UNICODE\0")return"[Unicode encoded text]";if(e==="\0\0\0\0\0\0\0\0")return"[Undefined encoding]"}return"Undefined"}function Qh(t){return t[0][0]/t[0][1]+t[1][0]/t[1][1]/60+t[2][0]/t[2][1]/3600}const wb=18761,xb=19789,Co={BIG_ENDIAN:xb,LITTLE_ENDIAN:wb,getByteOrder:nU};function nU(t,e){if(t.getUint16(e)===wb)return wb;if(t.getUint16(e)===xb)return xb;throw new Error("Illegal byte order value. Faulty image.")}const rE={isTiffFile:rU,findTiffOffsets:oU};function rU(t){return!!t&&t.byteLength>=4&&iU(t)}function iU(t){const r=t.getUint16(0)===Co.LITTLE_ENDIAN;return t.getUint16(2,r)===42}function oU(){return{hasAppMarkers:!0,tiffHeaderOffset:0}}const iE={isJpegFile:wU,findJpegOffsets:xU},sU=2,aU=65496,oE=2,qi=4,Mr=2,lU=2,cU=10,uU=18,sE=33,aE=79,lE=18,dU=8,kb="ICC_PROFILE\0",cE=qi+kb.length,fU=cE+1,uE="MPF\0",dE=65472,fE=65474,hU=65476,pU=65499,gU=65501,mU=65498,hE=65504,Sb=65505,pE=65506,vU=65517,bU=65519,_U=65534,yU=65535,gE="JFIF",mE="Exif",vE="http://ns.adobe.com/xap/1.0/\0",bE="http://ns.adobe.com/xmp/extension/\0",_E="Photoshop 3.0";function wU(t){return!!t&&t.byteLength>=sU&&t.getUint16(0)===aU}function xU(t){let e=oE,n,r,i,o,s,a,c,u,d;for(;e+qi+5<=t.byteLength;){if(kU(t,e))n=t.getUint16(e+Mr),r=e+Mr;else if(SU(t,e))n=t.getUint16(e+Mr),i=e+Mr;else if(AU(t,e))n=t.getUint16(e+Mr),o=e+lU;else if(CU(t,e))n=t.getUint16(e+Mr),s=e+cU;else if($U(t,e))c||(c=[]),n=t.getUint16(e+Mr),c.push(LU(e,n));else if(PU(t,e))c||(c=[]),n=t.getUint16(e+Mr),c.push(OU(e,n));else if(RU(t,e))n=t.getUint16(e+Mr),a=e+uU;else if(EU(t,e)){n=t.getUint16(e+Mr);const f=e+lE,h=n-(lE-Mr),p=t.getUint8(e+cE),g=t.getUint8(e+fU);u||(u=[]),u.push({offset:f,length:h,chunkNumber:p,chunksTotal:g})}else if(TU(t,e))n=t.getUint16(e+Mr),d=e+dU;else if(FU(t,e))n=t.getUint16(e+Mr);else if(DU(t,e)){e++;continue}else break;e+=Mr+n}return{hasAppMarkers:e>oE,fileDataOffset:r||i,jfifDataOffset:o,tiffHeaderOffset:s,iptcDataOffset:a,xmpChunks:c,iccChunks:u,mpfDataOffset:d}}function kU(t,e){return t.getUint16(e)===dE}function SU(t,e){return t.getUint16(e)===fE}function EU(t,e){const n=kb.length;return t.getUint16(e)===pE&&xt(t,e+qi,n)===kb}function TU(t,e){const n=uE.length;return t.getUint16(e)===pE&&xt(t,e+qi,n)===uE}function AU(t,e){const n=gE.length;return t.getUint16(e)===hE&&xt(t,e+qi,n)===gE&&t.getUint8(e+qi+n)===0}function CU(t,e){const n=mE.length;return t.getUint16(e)===Sb&&xt(t,e+qi,n)===mE&&t.getUint8(e+qi+n)===0}function $U(t,e){return t.getUint16(e)===Sb&&IU(t,e)}function IU(t,e){const n=vE.length;return xt(t,e+qi,n)===vE}function PU(t,e){return t.getUint16(e)===Sb&&NU(t,e)}function NU(t,e){const n=bE.length;return xt(t,e+qi,n)===bE}function LU(t,e){return{dataOffset:t+sE,length:e-(sE-Mr)}}function OU(t,e){return{dataOffset:t+aE,length:e-(aE-Mr)}}function RU(t,e){const n=_E.length;return t.getUint16(e)===vU&&xt(t,e+qi,n)===_E&&t.getUint8(e+qi+n)===0}function FU(t,e){const n=t.getUint16(e);return n>=hE&&n<=bU||n===_U||n===dE||n===fE||n===hU||n===pU||n===gU||n===mU}function DU(t,e){return t.getUint16(e)===yU}const yE={isPngFile:zU,findPngOffsets:jU},Eb=`PNG\r
|
|
146
146
|
|
|
147
|
-
`,ep=4,oo=4,Nc=0,Js=ep,Tr=ep+oo,Tb="XML:com.adobe.xmp\0",Ab="tEXt",Ya="iTXt",tp="zTXt",wE="pHYs",xE="tIME",MU="eXIf",UU="iCCP";function zU(t){return!!t&&xt(t,0,Eb.length)===Eb}function jU(t,e){const r={hasAppMarkers:!1};let i=Eb.length;for(;i+ep+oo<=t.byteLength;){if(BU(t,i))r.hasAppMarkers=!0,r.pngHeaderOffset=i+Tr;else if(qU(t,i)){const o=WU(t,i);o!==void 0&&(r.hasAppMarkers=!0,r.xmpChunks=[{dataOffset:o,length:t.getUint32(i+Nc)-(o-(i+Tr))}])}else if(HU(t,i,e)){r.hasAppMarkers=!0;const o=xt(t,i+Js,oo);r.pngTextChunks||(r.pngTextChunks=[]),r.pngTextChunks.push({length:t.getUint32(i+Nc),type:o,offset:i+Tr})}else if(GU(t,i))r.hasAppMarkers=!0,r.tiffHeaderOffset=i+Tr;else if(e&&KU(t,i)){r.hasAppMarkers=!0;const o=t.getUint32(i+Nc),s=i+Tr,{profileName:a,compressionMethod:c,compressedProfileOffset:u}=YU(t,s);r.iccChunks||(r.iccChunks=[]),r.iccChunks.push({offset:u,length:o-(u-s),chunkNumber:1,chunksTotal:1,profileName:a,compressionMethod:c})}else VU(t,i)&&(r.hasAppMarkers=!0,r.pngChunkOffsets||(r.pngChunkOffsets=[]),r.pngChunkOffsets.push(i+Nc));i+=t.getUint32(i+Nc)+ep+oo+4}return r}function BU(t,e){return xt(t,e+Js,oo)==="IHDR"}function qU(t,e){return xt(t,e+Js,oo)===Ya&&xt(t,e+Tr,Tb.length)===Tb}function HU(t,e,n){const r=xt(t,e+Js,oo);return r===Ab||r===Ya||r===tp&&n}function GU(t,e){return xt(t,e+Js,oo)===MU}function KU(t,e){return xt(t,e+Js,oo)===UU}function VU(t,e){const n=[wE,xE],r=xt(t,e+Js,oo);return n.includes(r)}function WU(t,e){e+=Tr+Tb.length+1+1;let i=0;for(;i<2&&e<t.byteLength;)t.getUint8(e)===0&&i++,e++;if(!(i<2))return e}function YU(t,e){const i=Pc(t,e);e+=i.length+1;const o=t.getUint8(e);return e+=1,{profileName:i,compressionMethod:o,compressedProfileOffset:e}}function JU(t,e){return t.getUint32(e+4)}function ZU(t,e,n,r){const{offsets:o,sizes:s}=XU(e,n+3),a=t.getUint8(o.offsetSize)>>4;s.item.extent.extentOffset=a;const c=t.getUint8(o.lengthSize)&15;s.item.extent.extentLength=c;const u=t.getUint8(o.baseOffsetSize)>>4;s.item.baseOffset=u;const d=QU(t,o.indexSize,e);s.item.extent.extentIndex=d!==void 0?d:0;const f=ez(t,o.itemCount,e);return{type:"iloc",items:tz(t,e,o,s,a,c,d,f),length:r}}function XU(t,e){const n={item:{dataReferenceIndex:2,extentCount:2,extent:{}}};t<2?(n.itemCount=2,n.item.itemId=2):t===2&&(n.itemCount=4,n.item.itemId=4),t===1||t===2?n.item.constructionMethod=2:n.item.constructionMethod=0;const r={offsetSize:e,lengthSize:e,baseOffsetSize:e+1,indexSize:e+1};return r.itemCount=e+2,r.items=r.itemCount+n.itemCount,r.item={itemId:0},r.item.constructionMethod=r.item.itemId+n.item.itemId,r.item.dataReferenceIndex=r.item.constructionMethod+n.item.constructionMethod,{offsets:r,sizes:n}}function QU(t,e,n){if(n===1||n===2)return t.getUint8(e)&15}function ez(t,e,n){if(n<2)return t.getUint16(e);if(n===2)return t.getUint32(e)}function tz(t,e,n,r,i,o,s,a){if(a===void 0)return[];const c=[];let u=n.items;for(let d=0;d<a;d++){const f={extents:[]};f.itemId=nz(t,u,e),u+=r.item.itemId,f.constructionMethod=e===1||e===2?t.getUint16(u)&15:void 0,u+=r.item.constructionMethod,f.dataReferenceIndex=t.getUint16(u),u+=r.item.dataReferenceIndex,f.baseOffset=np(t,u,r.item.baseOffset),u+=r.item.baseOffset,f.extentCount=t.getUint16(u),u+=r.item.extentCount;for(let h=0;h<f.extentCount;h++){const p={};p.extentIndex=rz(t,e,u,s),u+=r.item.extent.extentIndex,p.extentOffset=np(t,u,i),u+=r.item.extent.extentOffset,p.extentLength=np(t,u,o),u+=r.item.extent.extentLength,f.extents.push(p)}c.push(f)}return c}function nz(t,e,n){if(n<2)return t.getUint16(e);if(n===2)return t.getUint32(e)}function rz(t,e,n,r){if((e===1||e===2)&&r>0)return np(t,n,r)}function np(t,e,n){return n===4?t.getUint32(e):n===8?(console.warn("This file uses an 8-bit offset which is currently not supported by ExifReader. Contact the maintainer to get it fixed."),JU(t,e)):0}const iz=1718909296,oz=1768977008,sz=1835365473,az=1768714083,lz=1768517222,cz=1768842853,uz=1768973167,dz=1668246642,kE=1165519206,Cb=1835625829,fz=1970432288;function rp(t,e){const{length:o,contentOffset:s}=hz(t,e);if(o<8)return;const a=t.getUint32(e+4);if(a===iz)return Sz(t,s,o);if(a===oz)return Ez(t,e,s,o);if(a===uz)return Tz(t,e,s,o);if(a===dz)return Az(t,s,o);const c=t.getUint8(s);return a===sz?$z(t,e,s+1,o):a===az?ZU(t,c,s+1,o):a===lz?Iz(t,e,c,s+1,o):a===cz?Nz(t,e,c,s+1,o):{type:void 0,length:o}}function hz(t,e){const s=t.getUint32(e);return pz(s)?{length:t.byteLength-e,contentOffset:e+4+4}:gz(s)&&mz(t,e)?{length:t.getUint32(e+12),contentOffset:e+4+4+8}:{length:s,contentOffset:e+4+4}}function pz(t){return t===0}function gz(t){return t===1}function mz(t,e){return t.getUint32(e+8)===0}function SE(t){{const e={},n=vz(t);return n?(e.tiffHeaderOffset=bz(t,n),e.xmpChunks=wz(n),e.iccChunks=kz(n),e.hasAppMarkers=e.tiffHeaderOffset!==void 0||e.xmpChunks!==void 0||e.iccChunks!==void 0,e):{hasAppMarkers:!1}}}function vz(t){let r=0;for(;r+4+4<=t.byteLength;){const i=rp(t,r);if(i===void 0)break;if(i.type==="meta")return i;r+=i.length}}function bz(t,e){try{const n=_z(e).itemId,r=$b(e,n),i=r.baseOffset+r.extents[0].extentOffset;return yz(t,i)}catch{return}}function _z(t){return t.subBoxes.find(e=>e.type==="iinf").itemInfos.find(e=>e.itemType===kE)}function $b(t,e){return t.subBoxes.find(n=>n.type==="iloc").items.find(n=>n.itemId===e)}function yz(t,e){return e+4+t.getUint32(e)}function wz(t){try{const e=xz(t).itemId,n=$b(t,e),r=$b(t,e).extents[0];return[{dataOffset:n.baseOffset+r.extentOffset,length:r.extentLength}]}catch{return}}function xz(t){return t.subBoxes.find(e=>e.type==="iinf").itemInfos.find(e=>e.itemType===Cb&&e.contentType==="application/rdf+xml")}function kz(t){try{const e=t.subBoxes.find(n=>n.type==="iprp").subBoxes.find(n=>n.type==="ipco").properties.find(n=>n.type==="colr").icc;if(e)return[e]}catch{}}function Sz(t,e,n){return{type:"ftyp",majorBrand:xt(t,e,4),length:n}}function Ez(t,e,n,r){return{type:"iprp",subBoxes:ip(t,n,r-(n-e)),length:r}}function Tz(t,e,n,r){return{type:"ipco",properties:ip(t,n,r-(n-e)),length:r}}function Az(t,e,n){return{type:"colr",icc:Cz(t,e),length:n}}function Cz(t,e){const r=xt(t,e,4);if(!(r!=="prof"&&r!=="rICC"))return{offset:e+4,length:t.getUint32(e+4),chunkNumber:1,chunksTotal:1}}function $z(t,e,n,r){return{type:"meta",subBoxes:ip(t,n+3,r-(n+3-e)),length:r}}function ip(t,e,n){const r=[kE,Cb],i=[];let o=e;for(;o<e+n;){const s=rp(t,o);if(s===void 0)break;s.type!==void 0&&(s.itemType===void 0||r.indexOf(s.itemType)!==-1)&&i.push(s),o+=s.length}return i}function Iz(t,e,n,r,i){const{offsets:o}=Pz(n,r);return{type:"iinf",itemInfos:ip(t,o.itemInfos,i-(o.itemInfos-e)),length:i}}function Pz(t,e){const r={entryCount:e+3},i={};return t===0?i.entryCount=2:i.entryCount=4,r.itemInfos=r.entryCount+i.entryCount,{offsets:r}}function Nz(t,e,n,r,i){r+=3;const s={type:"infe",length:i};return(n===0||n===1)&&(s.itemId=t.getUint16(r),r+=2,s.itemProtectionIndex=t.getUint16(r),r+=2,s.itemName=Pc(t,r),r+=s.itemName.length+1),n>=2&&(n===2?(s.itemId=t.getUint16(r),r+=2):n===3&&(s.itemId=t.getUint32(r),r+=4),s.itemProtectionIndex=t.getUint16(r),r+=2,s.itemType=t.getUint32(r),r+=4,s.itemName=Pc(t,r),r+=s.itemName.length+1,s.itemType===Cb?(s.contentType=Pc(t,r),r+=s.contentType.length+1,e+i>r&&(s.contentEncoding=Pc(t,r),r+=s.contentEncoding.length+1)):s.itemType===fz&&(s.itemUri=Pc(t,r),r+=s.itemUri.length+1)),s}const EE={isHeicFile:Lz,findHeicOffsets:Oz};function Lz(t){if(!t)return!1;const e=["heic","heix","hevc","hevx","heim","heis","hevm","hevs","mif1"];try{const n=rp(t,0);return n&&e.indexOf(n.majorBrand)!==-1}catch{return!1}}function Oz(t){return SE(t)}const TE={isAvifFile:Rz,findAvifOffsets:Fz};function Rz(t){if(!t)return!1;try{const e=rp(t,0);return e&&e.majorBrand==="avif"}catch{return!1}}function Fz(t){return SE(t)}const AE={isWebpFile:Dz,findOffsets:Mz};function Dz(t){const n="RIFF",i="WEBP";return!!t&&xt(t,0,n.length)===n&&xt(t,8,i.length)===i}function Mz(t){const r="Exif\0\0";let o=12,s=!1,a,c,u,d;for(;o+8<t.byteLength;){const f=xt(t,o,4),h=t.getUint32(o+4,!0);f==="EXIF"?(s=!0,xt(t,o+8,r.length)===r?a=o+8+r.length:a=o+8):f==="XMP "?(s=!0,c=[{dataOffset:o+8,length:h}]):f==="ICCP"?(s=!0,u=[{offset:o+8,length:h,chunkNumber:1,chunksTotal:1}]):f==="VP8X"&&(s=!0,d=o+8),o+=8+(h%2===0?h:h+1)}return{hasAppMarkers:s,tiffHeaderOffset:a,xmpChunks:c,iccChunks:u,vp8xChunkOffset:d}}const CE={isGifFile:jz,findOffsets:Bz},Uz=6,zz=["GIF87a","GIF89a"];function jz(t){return!!t&&zz.includes(xt(t,0,Uz))}function Bz(){return{gifHeaderOffset:0}}const $E={isXMLFile:qz,findOffsets:Hz},IE=0,PE="<?xpacket begin";function qz(t){return!!t&&xt(t,IE,PE.length)===PE}function Hz(t){const e=[];return e.push({dataOffset:IE,length:t.byteLength}),{xmpChunks:e}}const Gz={parseAppMarkers:Kz};function Kz(t,e){if(rE.isTiffFile(t))return Zs(rE.findTiffOffsets(),"tiff","TIFF");if(iE.isJpegFile(t))return Zs(iE.findJpegOffsets(t),"jpeg","JPEG");if(yE.isPngFile(t))return Zs(yE.findPngOffsets(t,e),"png","PNG");if(EE.isHeicFile(t))return Zs(EE.findHeicOffsets(t),"heic","HEIC");if(TE.isAvifFile(t))return Zs(TE.findAvifOffsets(t),"avif","AVIF");if(AE.isWebpFile(t))return Zs(AE.findOffsets(t),"webp","WebP");if(CE.isGifFile(t))return Zs(CE.findOffsets(t),"gif","GIF");if($E.isXMLFile(t))return Zs($E.findOffsets(t),"xml","XML");throw new Error("Invalid image format")}function Zs(t,e,n){return Et({},t,{fileType:{value:e,description:n}})}const vt={ApertureValue:t=>Math.pow(Math.sqrt(2),t[0]/t[1]).toFixed(2),ColorSpace(t){return t===1?"sRGB":t===65535?"Uncalibrated":"Unknown"},ComponentsConfiguration(t){return t.map(e=>{if(e===49)return"Y";if(e===50)return"Cb";if(e===51)return"Cr";if(e===52)return"R";if(e===53)return"G";if(e===54)return"B"}).join("")},Contrast(t){return t===0?"Normal":t===1?"Soft":t===2?"Hard":"Unknown"},CustomRendered(t){return t===0?"Normal process":t===1?"Custom process":"Unknown"},ExposureMode(t){return t===0?"Auto exposure":t===1?"Manual exposure":t===2?"Auto bracket":"Unknown"},ExposureProgram(t){return t===0?"Undefined":t===1?"Manual":t===2?"Normal program":t===3?"Aperture priority":t===4?"Shutter priority":t===5?"Creative program":t===6?"Action program":t===7?"Portrait mode":t===8?"Landscape mode":t===9?"Bulb":"Unknown"},ExposureTime(t){if(t[0]/t[1]>.25){const e=t[0]/t[1];return Number.isInteger(e)?""+e:e.toFixed(1)}return t[0]!==0?`1/${Math.round(t[1]/t[0])}`:`0/${t[1]}`},FNumber:t=>`f/${Number(t[0]/t[1]).toFixed(1)}`,FocalLength:t=>t[0]/t[1]+" mm",FocalPlaneResolutionUnit(t){return t===2?"inches":t===3?"centimeters":t===4?"millimeters":"Unknown"},LightSource:t=>t===1?"Daylight":t===2?"Fluorescent":t===3?"Tungsten (incandescent light)":t===4?"Flash":t===9?"Fine weather":t===10?"Cloudy weather":t===11?"Shade":t===12?"Daylight fluorescent (D 5700 – 7100K)":t===13?"Day white fluorescent (N 4600 – 5400K)":t===14?"Cool white fluorescent (W 3900 – 4500K)":t===15?"White fluorescent (WW 3200 – 3700K)":t===17?"Standard light A":t===18?"Standard light B":t===19?"Standard light C":t===20?"D55":t===21?"D65":t===22?"D75":t===23?"D50":t===24?"ISO studio tungsten":t===255?"Other light source":"Unknown",MeteringMode(t){return t===1?"Average":t===2?"CenterWeightedAverage":t===3?"Spot":t===4?"MultiSpot":t===5?"Pattern":t===6?"Partial":t===255?"Other":"Unknown"},ResolutionUnit(t){return t===2?"inches":t===3?"centimeters":"Unknown"},Saturation(t){return t===0?"Normal":t===1?"Low saturation":t===2?"High saturation":"Unknown"},FocalLengthIn35mmFilm(t){return t===0?"Unknown":t+" mm"},SceneCaptureType(t){return t===0?"Standard":t===1?"Landscape":t===2?"Portrait":t===3?"Night scene":"Unknown"},Sharpness(t){return t===0?"Normal":t===1?"Soft":t===2?"Hard":"Unknown"},ShutterSpeedValue(t){const e=Math.pow(2,t[0]/t[1]);return e<=1?`${Math.round(1/e)}`:`1/${Math.round(e)}`},WhiteBalance(t){return t===0?"Auto white balance":t===1?"Manual white balance":"Unknown"},XResolution:t=>""+Math.round(t[0]/t[1]),YResolution:t=>""+Math.round(t[0]/t[1])},NE={11:"ProcessingSoftware",254:{name:"SubfileType",description:t=>({0:"Full-resolution image",1:"Reduced-resolution image",2:"Single page of multi-page image",3:"Single page of multi-page reduced-resolution image",4:"Transparency mask",5:"Transparency mask of reduced-resolution image",6:"Transparency mask of multi-page image",7:"Transparency mask of reduced-resolution multi-page image",65537:"Alternate reduced-resolution image",4294967295:"Invalid"})[t]||"Unknown"},255:{name:"OldSubfileType",description:t=>({0:"Full-resolution image",1:"Reduced-resolution image",2:"Single page of multi-page image"})[t]||"Unknown"},256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",263:{name:"Thresholding",description:t=>({1:"No dithering or halftoning",2:"Ordered dither or halfton",3:"Randomized dither"})[t]||"Unknown"},264:"CellWidth",265:"CellLength",266:{name:"FillOrder",description:t=>({1:"Normal",2:"Reversed"})[t]||"Unknown"},269:"DocumentName",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:{name:"Orientation",description:t=>t===1?"top-left":t===2?"top-right":t===3?"bottom-right":t===4?"bottom-left":t===5?"left-top":t===6?"right-top":t===7?"right-bottom":t===8?"left-bottom":"Undefined"},277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",280:"MinSampleValue",281:"MaxSampleValue",282:{name:"XResolution",description:vt.XResolution},283:{name:"YResolution",description:vt.YResolution},284:"PlanarConfiguration",285:"PageName",286:{name:"XPosition",description:t=>""+Math.round(t[0]/t[1])},287:{name:"YPosition",description:t=>""+Math.round(t[0]/t[1])},290:{name:"GrayResponseUnit",description:t=>({1:"0.1",2:"0.001",3:"0.0001",4:"1e-05",5:"1e-06"})[t]||"Unknown"},296:{name:"ResolutionUnit",description:vt.ResolutionUnit},297:"PageNumber",301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",316:"HostComputer",317:"Predictor",318:{name:"WhitePoint",description:t=>t.map(e=>`${e[0]}/${e[1]}`).join(", ")},319:{name:"PrimaryChromaticities",description:t=>t.map(e=>`${e[0]}/${e[1]}`).join(", ")},321:"HalftoneHints",322:"TileWidth",323:"TileLength",330:"A100DataOffset",332:{name:"InkSet",description:t=>({1:"CMYK",2:"Not CMYK"})[t]||"Unknown"},337:"TargetPrinter",338:{name:"ExtraSamples",description:t=>({0:"Unspecified",1:"Associated Alpha",2:"Unassociated Alpha"})[t]||"Unknown"},339:{name:"SampleFormat",description:t=>{const e={1:"Unsigned",2:"Signed",3:"Float",4:"Undefined",5:"Complex int",6:"Complex float"};return Array.isArray(t)?t.map(n=>e[n]||"Unknown").join(", "):"Unknown"}},513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",529:{name:"YCbCrCoefficients",description:t=>t.map(e=>""+e[0]/e[1]).join("/")},530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:t=>t===1?"centered":t===2?"co-sited":"undefined "+t},532:{name:"ReferenceBlackWhite",description:t=>t.map(e=>""+e[0]/e[1]).join(", ")},700:"ApplicationNotes",18246:"Rating",18249:"RatingPercent",33432:{name:"Copyright",description:t=>t.join("; ")},33550:"PixelScale",33723:"IPTC-NAA",33920:"IntergraphMatrix",33922:"ModelTiePoint",34118:"SEMInfo",34264:"ModelTransform",34377:"PhotoshopSettings",34665:"Exif IFD Pointer",34675:"ICC_Profile",34735:"GeoTiffDirectory",34736:"GeoTiffDoubleParams",34737:"GeoTiffAsciiParams",34853:"GPS Info IFD Pointer",40091:{name:"XPTitle",description:pd},40092:{name:"XPComment",description:pd},40093:{name:"XPAuthor",description:pd},40094:{name:"XPKeywords",description:pd},40095:{name:"XPSubject",description:pd},42112:"GDALMetadata",42113:"GDALNoData",50341:"PrintIM",50707:"DNGBackwardVersion",50708:"UniqueCameraModel",50709:"LocalizedCameraModel",50721:"ColorMatrix1",50722:"ColorMatrix2",50723:"CameraCalibration1",50724:"CameraCalibration2",50725:"ReductionMatrix1",50726:"ReductionMatrix2",50727:"AnalogBalance",50728:"AsShotNeutral",50729:"AsShotWhiteXY",50730:"BaselineExposure",50731:"BaselineNoise",50732:"BaselineSharpness",50734:"LinearResponseLimit",50735:"CameraSerialNumber",50736:"DNGLensInfo",50739:"ShadowScale",50741:{name:"MakerNoteSafety",description:t=>({0:"Unsafe",1:"Safe"})[t]||"Unknown"},50778:{name:"CalibrationIlluminant1",description:vt.LightSource},50779:{name:"CalibrationIlluminant2",description:vt.LightSource},50781:"RawDataUniqueID",50827:"OriginalRawFileName",50828:"OriginalRawFileData",50831:"AsShotICCProfile",50832:"AsShotPreProfileMatrix",50833:"CurrentICCProfile",50834:"CurrentPreProfileMatrix",50879:"ColorimetricReference",50885:"SRawType",50898:"PanasonicTitle",50899:"PanasonicTitle2",50931:"CameraCalibrationSig",50932:"ProfileCalibrationSig",50933:"ProfileIFD",50934:"AsShotProfileName",50936:"ProfileName",50937:"ProfileHueSatMapDims",50938:"ProfileHueSatMapData1",50939:"ProfileHueSatMapData2",50940:"ProfileToneCurve",50941:{name:"ProfileEmbedPolicy",description:t=>({0:"Allow Copying",1:"Embed if Used",2:"Never Embed",3:"No Restrictions"})[t]||"Unknown"},50942:"ProfileCopyright",50964:"ForwardMatrix1",50965:"ForwardMatrix2",50966:"PreviewApplicationName",50967:"PreviewApplicationVersion",50968:"PreviewSettingsName",50969:"PreviewSettingsDigest",50970:{name:"PreviewColorSpace",description:t=>({1:"Gray Gamma 2.2",2:"sRGB",3:"Adobe RGB",4:"ProPhoto RGB"})[t]||"Unknown"},50971:"PreviewDateTime",50972:"RawImageDigest",50973:"OriginalRawFileDigest",50981:"ProfileLookTableDims",50982:"ProfileLookTableData",51043:"TimeCodes",51044:"FrameRate",51058:"TStop",51081:"ReelName",51089:"OriginalDefaultFinalSize",51090:"OriginalBestQualitySize",51091:"OriginalDefaultCropSize",51105:"CameraLabel",51107:{name:"ProfileHueSatMapEncoding",description:t=>({0:"Linear",1:"sRGB"})[t]||"Unknown"},51108:{name:"ProfileLookTableEncoding",description:t=>({0:"Linear",1:"sRGB"})[t]||"Unknown"},51109:"BaselineExposureOffset",51110:{name:"DefaultBlackRender",description:t=>({0:"Auto",1:"None"})[t]||"Unknown"},51111:"NewRawImageDigest",51112:"RawToPreviewGain"};function pd(t){return new TextDecoder("utf-16").decode(new Uint8Array(t)).replace(/\u0000+$/,"")}const Vz={33434:{name:"ExposureTime",description:vt.ExposureTime},33437:{name:"FNumber",description:vt.FNumber},34850:{name:"ExposureProgram",description:vt.ExposureProgram},34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:{name:"OECF",description:()=>"[Raw OECF table data]"},34858:"TimeZoneOffset",34859:"SelfTimerMode",34864:{name:"SensitivityType",description:t=>({1:"Standard Output Sensitivity",2:"Recommended Exposure Index",3:"ISO Speed",4:"Standard Output Sensitivity and Recommended Exposure Index",5:"Standard Output Sensitivity and ISO Speed",6:"Recommended Exposure Index and ISO Speed",7:"Standard Output Sensitivity, Recommended Exposure Index and ISO Speed"})[t]||"Unknown"},34865:"StandardOutputSensitivity",34866:"RecommendedExposureIndex",34867:"ISOSpeed",34868:"ISOSpeedLatitudeyyy",34869:"ISOSpeedLatitudezzz",36864:{name:"ExifVersion",description:t=>nr(t)},36867:"DateTimeOriginal",36868:"DateTimeDigitized",36873:"GooglePlusUploadCode",36880:"OffsetTime",36881:"OffsetTimeOriginal",36882:"OffsetTimeDigitized",37121:{name:"ComponentsConfiguration",description:vt.ComponentsConfiguration},37122:"CompressedBitsPerPixel",37377:{name:"ShutterSpeedValue",description:vt.ShutterSpeedValue},37378:{name:"ApertureValue",description:vt.ApertureValue},37379:"BrightnessValue",37380:"ExposureBiasValue",37381:{name:"MaxApertureValue",description:t=>Math.pow(Math.sqrt(2),t[0]/t[1]).toFixed(2)},37382:{name:"SubjectDistance",description:t=>t[0]/t[1]+" m"},37383:{name:"MeteringMode",description:vt.MeteringMode},37384:{name:"LightSource",description:vt.LightSource},37385:{name:"Flash",description:t=>t===0?"Flash did not fire":t===1?"Flash fired":t===5?"Strobe return light not detected":t===7?"Strobe return light detected":t===9?"Flash fired, compulsory flash mode":t===13?"Flash fired, compulsory flash mode, return light not detected":t===15?"Flash fired, compulsory flash mode, return light detected":t===16?"Flash did not fire, compulsory flash mode":t===24?"Flash did not fire, auto mode":t===25?"Flash fired, auto mode":t===29?"Flash fired, auto mode, return light not detected":t===31?"Flash fired, auto mode, return light detected":t===32?"No flash function":t===65?"Flash fired, red-eye reduction mode":t===69?"Flash fired, red-eye reduction mode, return light not detected":t===71?"Flash fired, red-eye reduction mode, return light detected":t===73?"Flash fired, compulsory flash mode, red-eye reduction mode":t===77?"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected":t===79?"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected":t===89?"Flash fired, auto mode, red-eye reduction mode":t===93?"Flash fired, auto mode, return light not detected, red-eye reduction mode":t===95?"Flash fired, auto mode, return light detected, red-eye reduction mode":"Unknown"},37386:{name:"FocalLength",description:vt.FocalLength},37393:"ImageNumber",37394:{name:"SecurityClassification",description:t=>({C:"Confidential",R:"Restricted",S:"Secret",T:"Top Secret",U:"Unclassified"})[t]||"Unknown"},37395:"ImageHistory",37396:{name:"SubjectArea",description:t=>t.length===2?`Location; X: ${t[0]}, Y: ${t[1]}`:t.length===3?`Circle; X: ${t[0]}, Y: ${t[1]}, diameter: ${t[2]}`:t.length===4?`Rectangle; X: ${t[0]}, Y: ${t[1]}, width: ${t[2]}, height: ${t[3]}`:"Unknown"},37500:{name:"MakerNote",description:()=>"[Raw maker note data]"},37510:{name:"UserComment",description:yb},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",37724:"ImageSourceData",37888:{name:"AmbientTemperature",description:t=>t[0]/t[1]+" °C"},37889:{name:"Humidity",description:t=>t[0]/t[1]+" %"},37890:{name:"Pressure",description:t=>t[0]/t[1]+" hPa"},37891:{name:"WaterDepth",description:t=>t[0]/t[1]+" m"},37892:{name:"Acceleration",description:t=>t[0]/t[1]+" mGal"},37893:{name:"CameraElevationAngle",description:t=>t[0]/t[1]+" °"},40960:{name:"FlashpixVersion",description:t=>t.map(e=>String.fromCharCode(e)).join("")},40961:{name:"ColorSpace",description:vt.ColorSpace},40962:"PixelXDimension",40963:"PixelYDimension",40964:"RelatedSoundFile",40965:"Interoperability IFD Pointer",41483:"FlashEnergy",41484:{name:"SpatialFrequencyResponse",description:()=>"[Raw SFR table data]"},41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:{name:"FocalPlaneResolutionUnit",description:vt.FocalPlaneResolutionUnit},41492:{name:"SubjectLocation",description:([t,e])=>`X: ${t}, Y: ${e}`},41493:"ExposureIndex",41495:{name:"SensingMethod",description:t=>t===1?"Undefined":t===2?"One-chip color area sensor":t===3?"Two-chip color area sensor":t===4?"Three-chip color area sensor":t===5?"Color sequential area sensor":t===7?"Trilinear sensor":t===8?"Color sequential linear sensor":"Unknown"},41728:{name:"FileSource",description:t=>t===3?"DSC":"Unknown"},41729:{name:"SceneType",description:t=>t===1?"A directly photographed image":"Unknown"},41730:{name:"CFAPattern",description:()=>"[Raw CFA pattern table data]"},41985:{name:"CustomRendered",description:vt.CustomRendered},41986:{name:"ExposureMode",description:vt.ExposureMode},41987:{name:"WhiteBalance",description:vt.WhiteBalance},41988:{name:"DigitalZoomRatio",description:t=>t[0]===0?"Digital zoom was not used":""+t[0]/t[1]},41989:{name:"FocalLengthIn35mmFilm",description:vt.FocalLengthIn35mmFilm},41990:{name:"SceneCaptureType",description:vt.SceneCaptureType},41991:{name:"GainControl",description:t=>t===0?"None":t===1?"Low gain up":t===2?"High gain up":t===3?"Low gain down":t===4?"High gain down":"Unknown"},41992:{name:"Contrast",description:vt.Contrast},41993:{name:"Saturation",description:vt.Saturation},41994:{name:"Sharpness",description:vt.Sharpness},41995:{name:"DeviceSettingDescription",description:()=>"[Raw device settings table data]"},41996:{name:"SubjectDistanceRange",description:t=>t===1?"Macro":t===2?"Close view":t===3?"Distant view":"Unknown"},42016:"ImageUniqueID",42032:"CameraOwnerName",42033:"BodySerialNumber",42034:{name:"LensSpecification",description:t=>{const e=parseFloat((t[0][0]/t[0][1]).toFixed(5)),n=parseFloat((t[1][0]/t[1][1]).toFixed(5)),r=`${e}-${n} mm`;if(t[3][1]===0)return`${r} f/?`;const i=1/(t[2][1]/t[2][1]/(t[3][0]/t[3][1]));return`${r} f/${parseFloat(i.toFixed(5))}`}},42035:"LensMake",42036:"LensModel",42037:"LensSerialNumber",42080:{name:"CompositeImage",description:t=>({1:"Not a Composite Image",2:"General Composite Image",3:"Composite Image Captured While Shooting"})[t]||"Unknown"},42081:"SourceImageNumberOfCompositeImage",42082:"SourceExposureTimesOfCompositeImage",42240:"Gamma",59932:"Padding",59933:"OffsetSchema",65e3:"OwnerName",65001:"SerialNumber",65002:"Lens",65100:"RawFile",65101:"Converter",65102:"WhiteBalance",65105:"Exposure",65106:"Shadows",65107:"Brightness",65108:"Contrast",65109:"Saturation",65110:"Sharpness",65111:"Smoothness",65112:"MoireFilter"},Wz={0:{name:"GPSVersionID",description:t=>t[0]===2&&t[1]===2&&t[2]===0&&t[3]===0?"Version 2.2":"Unknown"},1:{name:"GPSLatitudeRef",description:t=>{const e=t.join("");return e==="N"?"North latitude":e==="S"?"South latitude":"Unknown"}},2:{name:"GPSLatitude",description:Qh},3:{name:"GPSLongitudeRef",description:t=>{const e=t.join("");return e==="E"?"East longitude":e==="W"?"West longitude":"Unknown"}},4:{name:"GPSLongitude",description:Qh},5:{name:"GPSAltitudeRef",description:t=>t===0?"Sea level":t===1?"Sea level reference (negative value)":"Unknown"},6:{name:"GPSAltitude",description:t=>t[0]/t[1]+" m"},7:{name:"GPSTimeStamp",description:t=>t.map(([e,n])=>{const r=e/n;return/^\d(\.|$)/.test(`${r}`)?`0${r}`:r}).join(":")},8:"GPSSatellites",9:{name:"GPSStatus",description:t=>{const e=t.join("");return e==="A"?"Measurement in progress":e==="V"?"Measurement Interoperability":"Unknown"}},10:{name:"GPSMeasureMode",description:t=>{const e=t.join("");return e==="2"?"2-dimensional measurement":e==="3"?"3-dimensional measurement":"Unknown"}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:t=>{const e=t.join("");return e==="K"?"Kilometers per hour":e==="M"?"Miles per hour":e==="N"?"Knots":"Unknown"}},13:"GPSSpeed",14:{name:"GPSTrackRef",description:t=>{const e=t.join("");return e==="T"?"True direction":e==="M"?"Magnetic direction":"Unknown"}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:t=>{const e=t.join("");return e==="T"?"True direction":e==="M"?"Magnetic direction":"Unknown"}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:t=>{const e=t.join("");return e==="N"?"North latitude":e==="S"?"South latitude":"Unknown"}},20:{name:"GPSDestLatitude",description:t=>t[0][0]/t[0][1]+t[1][0]/t[1][1]/60+t[2][0]/t[2][1]/3600},21:{name:"GPSDestLongitudeRef",description:t=>{const e=t.join("");return e==="E"?"East longitude":e==="W"?"West longitude":"Unknown"}},22:{name:"GPSDestLongitude",description:t=>t[0][0]/t[0][1]+t[1][0]/t[1][1]/60+t[2][0]/t[2][1]/3600},23:{name:"GPSDestBearingRef",description:t=>{const e=t.join("");return e==="T"?"True direction":e==="M"?"Magnetic direction":"Unknown"}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:t=>{const e=t.join("");return e==="K"?"Kilometers":e==="M"?"Miles":e==="N"?"Knots":"Unknown"}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:yb},28:{name:"GPSAreaInformation",description:yb},29:"GPSDateStamp",30:{name:"GPSDifferential",description:t=>t===0?"Measurement without differential correction":t===1?"Differential correction applied":"Unknown"},31:"GPSHPositioningError"},Yz={1:"InteroperabilityIndex",2:{name:"InteroperabilityVersion",description:t=>nr(t)},4096:"RelatedImageFileFormat",4097:"RelatedImageWidth",4098:"RelatedImageHeight"},Jz={45056:{name:"MPFVersion",description:t=>nr(t)},45057:"NumberOfImages",45058:"MPEntry",45059:"ImageUIDList",45060:"TotalFrames"},Zz={4:{name:"ShotInfo",description:t=>t}},Xz={0:{name:"PentaxVersion",description:t=>t.join(".")},5:"PentaxModelID",555:"LevelInfo"},LE=Et({},NE,Vz),Ib="0th",OE="1st",RE="exif",FE="gps",DE="interoperability",ME="mpf",UE="canon",Pb="pentax",Xs={[Ib]:LE,[OE]:NE,[RE]:LE,[FE]:Wz,[DE]:Yz,[ME]:Jz,[UE]:Zz,[Pb]:Xz},zE={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8,13:4},Nb={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10,IFD:13},We={getAsciiValue:Qz,getByteAt:jE,getAsciiAt:ej,getShortAt:tj,getLongAt:op,getRationalAt:nj,getUndefinedAt:rj,getSlongAt:Lb,getSrationalAt:ij,getIfdPointerAt:oj,typeSizes:zE,tagTypes:Nb,getTypeSize:sj};function Qz(t){return t.map(e=>String.fromCharCode(e))}function jE(t,e){return t.getUint8(e)}function ej(t,e){return t.getUint8(e)}function tj(t,e,n){return t.getUint16(e,n===Co.LITTLE_ENDIAN)}function op(t,e,n){return t.getUint32(e,n===Co.LITTLE_ENDIAN)}function nj(t,e,n){return[op(t,e,n),op(t,e+4,n)]}function rj(t,e){return jE(t,e)}function Lb(t,e,n){return t.getInt32(e,n===Co.LITTLE_ENDIAN)}function ij(t,e,n){return[Lb(t,e,n),Lb(t,e+4,n)]}function oj(t,e,n){return op(t,e,n)}function sj(t){if(Nb[t]===void 0)throw new Error("No such type found.");return zE[Nb[t]]}const aj={1:We.getByteAt,2:We.getAsciiAt,3:We.getShortAt,4:We.getLongAt,5:We.getRationalAt,7:We.getUndefinedAt,9:We.getSlongAt,10:We.getSrationalAt,13:We.getIfdPointerAt};function BE(t,e,n){return e+We.getLongAt(t,e+4,n)}function Qs(t,e,n,r,i,o){const s=We.getTypeSize("SHORT"),a=12,c={},u=lj(t,r,i);r+=s;for(let d=0;d<u&&!(r+a>t.byteLength);d++){const f=cj(t,e,n,r,i,o);f!==void 0&&(c[f.name]={id:f.id,value:f.value,description:f.description},(f.name==="MakerNote"||e===Pb&&f.name==="LevelInfo")&&(c[f.name].__offset=f.__offset)),r+=a}if(r<t.byteLength-We.getTypeSize("LONG")){const d=We.getLongAt(t,r,i);d!==0&&e===Ib&&(c.Thumbnail=Qs(t,OE,n,n+d,i,o))}return c}function lj(t,e,n){return e+We.getTypeSize("SHORT")<=t.byteLength?We.getShortAt(t,e,n):0}function cj(t,e,n,r,i,o){const a=We.getTypeSize("SHORT"),c=a+We.getTypeSize("SHORT"),u=c+We.getTypeSize("LONG"),d=We.getShortAt(t,r,i),f=We.getShortAt(t,r+a,i),h=We.getLongAt(t,r+c,i);let p,g;if(We.typeSizes[f]===void 0||!o&&Xs[e][d]===void 0)return;if(uj(f,h))g=r+u,p=qE(t,g,f,h,i);else if(g=We.getLongAt(t,r+u,i),dj(t,n,g,f,h)){const b=d===33723;p=qE(t,n+g,f,h,i,b)}else p="<faulty value>";f===We.tagTypes.ASCII&&(p=fj(p),p=hj(p));let m=`undefined-${d}`,v=p;if(Xs[e][d]!==void 0)if(Xs[e][d].name!==void 0&&Xs[e][d].description!==void 0){m=Xs[e][d].name;try{v=Xs[e][d].description(p)}catch{v=HE(p)}}else f===We.tagTypes.RATIONAL||f===We.tagTypes.SRATIONAL?(m=Xs[e][d],v=""+p[0]/p[1]):(m=Xs[e][d],v=HE(p));return{id:d,name:m,value:p,description:v,__offset:g}}function uj(t,e){return We.typeSizes[t]*e<=We.getTypeSize("LONG")}function qE(t,e,n,r,i,o=!1){let s=[];o&&(r=r*We.typeSizes[n],n=We.tagTypes.BYTE);for(let a=0;a<r;a++)s.push(aj[n](t,e,i)),e+=We.typeSizes[n];return n===We.tagTypes.ASCII?s=We.getAsciiValue(s):s.length===1&&(s=s[0]),s}function dj(t,e,n,r,i){return e+n+We.typeSizes[r]*i<=t.byteLength}function fj(t){const e=[];let n=0;for(let r=0;r<t.length;r++){if(t[r]==="\0"){n++;continue}e[n]===void 0&&(e[n]=""),e[n]+=t[r]}return e}function hj(t){try{return t.map(e=>decodeURIComponent(escape(e)))}catch{return t}}function HE(t){return t instanceof Array?t.join(", "):t}const GE="Exif IFD Pointer",KE="GPS Info IFD Pointer",VE="Interoperability IFD Pointer",WE={read:pj};function pj(t,e,n){const r=Co.getByteOrder(t,e);let i=gj(t,e,r,n);return i=mj(i,t,e,r,n),i=vj(i,t,e,r,n),i=bj(i,t,e,r,n),{tags:i,byteOrder:r}}function gj(t,e,n,r){return Qs(t,Ib,e,BE(t,e,n),n,r)}function mj(t,e,n,r,i){return t[GE]!==void 0?Et(t,Qs(e,RE,n,n+t[GE].value,r,i)):t}function vj(t,e,n,r,i){return t[KE]!==void 0?Et(t,Qs(e,FE,n,n+t[KE].value,r,i)):t}function bj(t,e,n,r,i){return t[VE]!==void 0?Et(t,Qs(e,DE,n,n+t[VE].value,r,i)):t}const _j={read:yj},Lc=16;function yj(t,e,n){const r=Co.getByteOrder(t,e),i=Qs(t,ME,e,BE(t,e,r),r,n);return wj(t,e,i,r)}function wj(t,e,n,r){if(!n.MPEntry)return n;const i=[];for(let o=0;o<Math.ceil(n.MPEntry.value.length/Lc);o++){i[o]={};const s=gd(n.MPEntry.value,o*Lc,We.getTypeSize("LONG"),r);i[o].ImageFlags=xj(s),i[o].ImageFormat=kj(s),i[o].ImageType=Sj(s);const a=gd(n.MPEntry.value,o*Lc+4,We.getTypeSize("LONG"),r);i[o].ImageSize={value:a,description:""+a};const c=Ej(o,n.MPEntry,r,e);i[o].ImageOffset={value:c,description:""+c};const u=gd(n.MPEntry.value,o*Lc+12,We.getTypeSize("SHORT"),r);i[o].DependentImage1EntryNumber={value:u,description:""+u};const d=gd(n.MPEntry.value,o*Lc+14,We.getTypeSize("SHORT"),r);i[o].DependentImage2EntryNumber={value:d,description:""+d},i[o].image=t.buffer.slice(c,c+a),ZS(i[o],"base64",function(){return XS(this.image)})}return n.Images=i,n}function gd(t,e,n,r){if(r===Co.LITTLE_ENDIAN){let o=0;for(let s=0;s<n;s++)o+=t[e+s]<<8*s;return o}let i=0;for(let o=0;o<n;o++)i+=t[e+o]<<8*(n-1-o);return i}function xj(t){const e=[t>>31&1,t>>30&1,t>>29&1],n=[];return e[0]&&n.push("Dependent Parent Image"),e[1]&&n.push("Dependent Child Image"),e[2]&&n.push("Representative Image"),{value:e,description:n.join(", ")||"None"}}function kj(t){const e=t>>24&7;return{value:e,description:e===0?"JPEG":"Unknown"}}function Sj(t){const e=t&16777215;return{value:e,description:{196608:"Baseline MP Primary Image",65537:"Large Thumbnail (VGA equivalent)",65538:"Large Thumbnail (Full HD equivalent)",131073:"Multi-Frame Image (Panorama)",131074:"Multi-Frame Image (Disparity)",131075:"Multi-Frame Image (Multi-Angle)",0:"Undefined"}[e]||"Unknown"}}function Ej(t,e,n,r){return Tj(t)?0:gd(e.value,t*Lc+8,We.getTypeSize("LONG"),n)+r}function Tj(t){return t===0}const Aj={read:Cj};function Cj(t,e){const n=$j(t,e),r=Lj(t,e,n);return{"Bits Per Sample":Ij(t,e,n),"Image Height":Pj(t,e,n),"Image Width":Nj(t,e,n),"Color Components":r,Subsampling:r&&Oj(t,e,r.value,n)}}function $j(t,e){return We.getShortAt(t,e)}function Ij(t,e,n){if(3>n)return;const o=We.getByteAt(t,e+2);return{value:o,description:""+o}}function Pj(t,e,n){if(5>n)return;const o=We.getShortAt(t,e+3);return{value:o,description:`${o}px`}}function Nj(t,e,n){if(7>n)return;const o=We.getShortAt(t,e+5);return{value:o,description:`${o}px`}}function Lj(t,e,n){if(8>n)return;const o=We.getByteAt(t,e+7);return{value:o,description:""+o}}function Oj(t,e,n,r){if(8+3*n>r)return;const s=[];for(let a=0;a<n;a++){const c=e+8+a*3;s.push([We.getByteAt(t,c),We.getByteAt(t,c+1),We.getByteAt(t,c+2)])}return{value:s,description:s.length>1?Rj(s)+Fj(s):""}}function Rj(t){const e={1:"Y",2:"Cb",3:"Cr",4:"I",5:"Q"};return t.map(n=>e[n[0]]).join("")}function Fj(t){const e={17:"4:4:4 (1 1)",18:"4:4:0 (1 2)",20:"4:4:1 (1 4)",33:"4:2:2 (2 1)",34:"4:2:0 (2 2)",36:"4:2:1 (2 4)",65:"4:1:1 (4 1)",66:"4:1:0 (4 2)"};return t.length===0||t[0][1]===void 0||e[t[0][1]]===void 0?"":e[t[0][1]]}const Dj={read:Mj};function Mj(t,e){const n=Uj(t,e),r=Gj(t,e,n),i=Kj(t,e,n),o={"JFIF Version":zj(t,e,n),"Resolution Unit":jj(t,e,n),XResolution:qj(t,e,n),YResolution:Hj(t,e,n),"JFIF Thumbnail Width":r,"JFIF Thumbnail Height":i};if(r!==void 0&&i!==void 0){const s=Vj(t,e,3*r.value*i.value,n);s&&(o["JFIF Thumbnail"]=s)}for(const s in o)o[s]===void 0&&delete o[s];return o}function Uj(t,e){return We.getShortAt(t,e)}function zj(t,e,n){if(9>n)return;const o=We.getByteAt(t,e+7),s=We.getByteAt(t,e+7+1);return{value:o*256+s,description:o+"."+s}}function jj(t,e,n){if(10>n)return;const o=We.getByteAt(t,e+9);return{value:o,description:Bj(o)}}function Bj(t){return t===0?"None":t===1?"inches":t===2?"cm":"Unknown"}function qj(t,e,n){if(12>n)return;const o=We.getShortAt(t,e+10);return{value:o,description:""+o}}function Hj(t,e,n){if(14>n)return;const o=We.getShortAt(t,e+12);return{value:o,description:""+o}}function Gj(t,e,n){if(15>n)return;const o=We.getByteAt(t,e+14);return{value:o,description:`${o}px`}}function Kj(t,e,n){if(16>n)return;const o=We.getByteAt(t,e+15);return{value:o,description:`${o}px`}}function Vj(t,e,n,r){return n===0||16+n>r?void 0:{value:t.buffer.slice(e+16,e+16+n),description:"<24-bit RGB pixel data>"}}const ea={iptc:{256:{name:"Model Version",description:t=>((t[0]<<8)+t[1]).toString()},261:{name:"Destination",repeatable:!0},276:{name:"File Format",description:t=>((t[0]<<8)+t[1]).toString()},278:{name:"File Format Version",description:t=>((t[0]<<8)+t[1]).toString()},286:"Service Identifier",296:"Envelope Number",306:"Product ID",316:"Envelope Priority",326:{name:"Date Sent",description:Ob},336:{name:"Time Sent",description:Rb},346:{name:"Coded Character Set",description:YE,encoding_name:YE},356:"UNO",376:{name:"ARM Identifier",description:t=>((t[0]<<8)+t[1]).toString()},378:{name:"ARM Version",description:t=>((t[0]<<8)+t[1]).toString()},512:{name:"Record Version",description:t=>((t[0]<<8)+t[1]).toString()},515:"Object Type Reference",516:"Object Attribute Reference",517:"Object Name",519:"Edit Status",520:{name:"Editorial Update",description:t=>nr(t)==="01"?"Additional Language":"Unknown"},522:"Urgency",524:{name:"Subject Reference",repeatable:!0,description:t=>{const e=nr(t).split(":");return e[2]+(e[3]?"/"+e[3]:"")+(e[4]?"/"+e[4]:"")}},527:"Category",532:{name:"Supplemental Category",repeatable:!0},534:"Fixture Identifier",537:{name:"Keywords",repeatable:!0},538:{name:"Content Location Code",repeatable:!0},539:{name:"Content Location Name",repeatable:!0},542:"Release Date",547:"Release Time",549:"Expiration Date",550:"Expiration Time",552:"Special Instructions",554:{name:"Action Advised",description:t=>{const e=nr(t);return e==="01"?"Object Kill":e==="02"?"Object Replace":e==="03"?"Object Append":e==="04"?"Object Reference":"Unknown"}},557:{name:"Reference Service",repeatable:!0},559:{name:"Reference Date",repeatable:!0},562:{name:"Reference Number",repeatable:!0},567:{name:"Date Created",description:Ob},572:{name:"Time Created",description:Rb},574:{name:"Digital Creation Date",description:Ob},575:{name:"Digital Creation Time",description:Rb},577:"Originating Program",582:"Program Version",587:{name:"Object Cycle",description:t=>{const e=nr(t);return e==="a"?"morning":e==="p"?"evening":e==="b"?"both":"Unknown"}},592:{name:"By-line",repeatable:!0},597:{name:"By-line Title",repeatable:!0},602:"City",604:"Sub-location",607:"Province/State",612:"Country/Primary Location Code",613:"Country/Primary Location Name",615:"Original Transmission Reference",617:"Headline",622:"Credit",627:"Source",628:"Copyright Notice",630:{name:"Contact",repeatable:!0},632:"Caption/Abstract",634:{name:"Writer/Editor",repeatable:!0},637:{name:"Rasterized Caption",description:t=>t},642:"Image Type",643:{name:"Image Orientation",description:t=>{const e=nr(t);return e==="P"?"Portrait":e==="L"?"Landscape":e==="S"?"Square":"Unknown"}},647:"Language Identifier",662:{name:"Audio Type",description:t=>{const e=nr(t),n=e.charAt(0),r=e.charAt(1);let i="";return n==="1"?i+="Mono":n==="2"&&(i+="Stereo"),r==="A"?i+=", actuality":r==="C"?i+=", question and answer session":r==="M"?i+=", music, transmitted by itself":r==="Q"?i+=", response to a question":r==="R"?i+=", raw sound":r==="S"?i+=", scener":r==="V"?i+=", voicer":r==="W"&&(i+=", wrap"),i!==""?i:e}},663:{name:"Audio Sampling Rate",description:t=>parseInt(nr(t),10)+" Hz"},664:{name:"Audio Sampling Resolution",description:t=>{const e=parseInt(nr(t),10);return e+(e===1?" bit":" bits")}},665:{name:"Audio Duration",description:t=>{const e=nr(t);return e.length>=6?e.substr(0,2)+":"+e.substr(2,2)+":"+e.substr(4,2):e}},666:"Audio Outcue",698:"Short Document ID",699:"Unique Document ID",700:"Owner ID",712:{name:t=>t.length===2?"ObjectData Preview File Format":"Record 2 destination",description:t=>{if(t.length===2){const e=(t[0]<<8)+t[1];return e===0?"No ObjectData":e===1?"IPTC-NAA Digital Newsphoto Parameter Record":e===2?"IPTC7901 Recommended Message Format":e===3?"Tagged Image File Format (Adobe/Aldus Image data)":e===4?"Illustrator (Adobe Graphics data)":e===5?"AppleSingle (Apple Computer Inc)":e===6?"NAA 89-3 (ANPA 1312)":e===7?"MacBinary II":e===8?"IPTC Unstructured Character Oriented File Format (UCOFF)":e===9?"United Press International ANPA 1312 variant":e===10?"United Press International Down-Load Message":e===11?"JPEG File Interchange (JFIF)":e===12?"Photo-CD Image-Pac (Eastman Kodak)":e===13?"Microsoft Bit Mapped Graphics File [*.BMP]":e===14?"Digital Audio File [*.WAV] (Microsoft & Creative Labs)":e===15?"Audio plus Moving Video [*.AVI] (Microsoft)":e===16?"PC DOS/Windows Executable Files [*.COM][*.EXE]":e===17?"Compressed Binary File [*.ZIP] (PKWare Inc)":e===18?"Audio Interchange File Format AIFF (Apple Computer Inc)":e===19?"RIFF Wave (Microsoft Corporation)":e===20?"Freehand (Macromedia/Aldus)":e===21?'Hypertext Markup Language "HTML" (The Internet Society)':e===22?"MPEG 2 Audio Layer 2 (Musicom), ISO/IEC":e===23?"MPEG 2 Audio Layer 3, ISO/IEC":e===24?"Portable Document File (*.PDF) Adobe":e===25?"News Industry Text Format (NITF)":e===26?"Tape Archive (*.TAR)":e===27?"Tidningarnas Telegrambyrå NITF version (TTNITF DTD)":e===28?"Ritzaus Bureau NITF version (RBNITF DTD)":e===29?"Corel Draw [*.CDR]":`Unknown format ${e}`}return nr(t)}},713:{name:"ObjectData Preview File Format Version",description:(t,e)=>{const n={"00":{"00":"1"},"01":{"01":"1","02":"2","03":"3","04":"4"},"02":{"04":"4"},"03":{"01":"5.0","02":"6.0"},"04":{"01":"1.40"},"05":{"01":"2"},"06":{"01":"1"},11:{"01":"1.02"},20:{"01":"3.1","02":"4.0","03":"5.0","04":"5.5"},21:{"02":"2.0"}},r=nr(t);if(e["ObjectData Preview File Format"]){const i=nr(e["ObjectData Preview File Format"].value);if(n[i]&&n[i][r])return n[i][r]}return r}},714:"ObjectData Preview Data",1802:{name:"Size Mode",description:t=>t[0].toString()},1812:{name:"Max Subfile Size",description:t=>{let e=0;for(let n=0;n<t.length;n++)e=(e<<8)+t[n];return e.toString()}},1882:{name:"ObjectData Size Announced",description:t=>{let e=0;for(let n=0;n<t.length;n++)e=(e<<8)+t[n];return e.toString()}},1887:{name:"Maximum ObjectData Size",description:t=>{let e=0;for(let n=0;n<t.length;n++)e=(e<<8)+t[n];return e.toString()}}}};function Ob(t){const e=nr(t);return e.length>=8?e.substr(0,4)+"-"+e.substr(4,2)+"-"+e.substr(6,2):e}function Rb(t){const e=nr(t);let n=e;return e.length>=6&&(n=e.substr(0,2)+":"+e.substr(2,2)+":"+e.substr(4,2),e.length===11&&(n+=e.substr(6,1)+e.substr(7,2)+":"+e.substr(9,2))),n}function YE(t){const e=nr(t);return e==="\x1B%G"?"UTF-8":e==="\x1B%5"?"Windows-1252":e==="\x1B%/G"?"UTF-8 Level 1":e==="\x1B%/H"?"UTF-8 Level 2":e==="\x1B%/I"?"UTF-8 Level 3":e==="\x1B/A"?"ISO-8859-1":e==="\x1B/B"?"ISO-8859-2":e==="\x1B/C"?"ISO-8859-3":e==="\x1B/D"?"ISO-8859-4":e==="\x1B/@"?"ISO-8859-5":e==="\x1B/G"?"ISO-8859-6":e==="\x1B/F"?"ISO-8859-7":e==="\x1B/H"?"ISO-8859-8":"Unknown"}const Wj={get:Yj};function Yj(){if(typeof TextDecoder<"u")return TextDecoder}const JE={decode:Jj,TAG_HEADER_SIZE:5};function Jj(t,e){const n=Wj.get();if(typeof n<"u"&&t!==void 0)try{return new n(t).decode(e instanceof DataView?e.buffer:Uint8Array.from(e))}catch{}const r=e.map(i=>String.fromCharCode(i)).join("");return Zj(r)}function Zj(t){try{return decodeURIComponent(escape(t))}catch{return t}}const Xj=943868237,md=4,sp=2,Qj=1,eB=2,ZE=4,tB=md+sp+eB+ZE,nB=1028,XE=5,Fb={read:rB};function rB(t,e,n){try{if(Array.isArray(t))return QE(new DataView(Uint8Array.from(t).buffer),{size:t.length},0,n);const{naaBlock:r,dataOffset:i}=iB(t,e);return QE(t,r,i,n)}catch{return{}}}function iB(t,e){for(;e+tB<=t.byteLength;){const n=oB(t,e);if(sB(n))return{naaBlock:n,dataOffset:e+n.headerSize};e+=n.headerSize+n.size+aB(n)}throw new Error("No IPTC NAA resource block.")}function oB(t,e){if(t.getUint32(e,!1)!==Xj)throw new Error("Not an IPTC resource block.");const n=t.getUint8(e+md+sp),r=(n%2===0?n+1:n)+Qj;return{headerSize:md+sp+r+ZE,type:t.getUint16(e+md),size:t.getUint32(e+md+sp+r)}}function sB(t){return t.type===nB}function aB(t){return t.size%2!==0?1:0}function QE(t,e,n,r){const i={};let o;const s=n+e.size;for(;n<s&&n<t.byteLength;){const{tag:a,tagSize:c}=lB(t,n,i,o,r);if(a===null)break;a&&("encoding"in a&&(o=a.encoding),i[a.name]===void 0||a.repeatable===void 0?i[a.name]={id:a.id,value:a.value,description:a.description}:(i[a.name]instanceof Array||(i[a.name]=[{id:i[a.name].id,value:i[a.name].value,description:i[a.name].description}]),i[a.name].push({id:a.id,value:a.value,description:a.description}))),n+=XE+c}return i}function lB(t,e,n,r,i){if(cB(t,e))return{tag:null,tagSize:0};const a=t.getUint16(e+1),c=t.getUint16(e+3);if(!i&&!ea.iptc[a])return{tag:void 0,tagSize:c};const u=uB(t,e+XE,c),d={id:a,name:dB(ea.iptc[a],a,u),value:u,description:pB(ea.iptc[a],u,n,r)};return vB(a)&&(d.repeatable=!0),bB(a)&&(d.encoding=ea.iptc[a].encoding_name(u)),{tag:d,tagSize:c}}function cB(t,e){return t.getUint8(e)!==28}function uB(t,e,n){const r=[];for(let i=0;i<n;i++)r.push(t.getUint8(e+i));return r}function dB(t,e,n){return t?fB(t)?t:hB(t)?t.name(n):t.name:`undefined-${e}`}function fB(t){return typeof t=="string"}function hB(t){return typeof t.name=="function"}function pB(t,e,n,r){if(mB(t))try{return t.description(e,n)}catch{}return gB(t,e)?JE.decode(r,e):e}function gB(t,e){return t&&e instanceof Array}function mB(t){return t&&t.description!==void 0}function vB(t){return ea.iptc[t]&&ea.iptc[t].repeatable}function bB(t){return ea.iptc[t]&&ea.iptc[t].encoding_name!==void 0}const ap={"tiff:Orientation"(t){return t==="1"?"Horizontal (normal)":t==="2"?"Mirror horizontal":t==="3"?"Rotate 180":t==="4"?"Mirror vertical":t==="5"?"Mirror horizontal and rotate 270 CW":t==="6"?"Rotate 90 CW":t==="7"?"Mirror horizontal and rotate 90 CW":t==="8"?"Rotate 270 CW":t},"tiff:ResolutionUnit":t=>vt.ResolutionUnit(parseInt(t,10)),"tiff:XResolution":t=>Oc(vt.XResolution,t),"tiff:YResolution":t=>Oc(vt.YResolution,t),"exif:ApertureValue":t=>Oc(vt.ApertureValue,t),"exif:GPSLatitude":tT,"exif:GPSLongitude":tT,"exif:FNumber":t=>Oc(vt.FNumber,t),"exif:FocalLength":t=>Oc(vt.FocalLength,t),"exif:FocalPlaneResolutionUnit":t=>vt.FocalPlaneResolutionUnit(parseInt(t,10)),"exif:ColorSpace":t=>vt.ColorSpace(_B(t)),"exif:ComponentsConfiguration"(t,e){if(/^\d, \d, \d, \d$/.test(e)){const n=e.split(", ").map(r=>r.charCodeAt(0));return vt.ComponentsConfiguration(n)}return e},"exif:Contrast":t=>vt.Contrast(parseInt(t,10)),"exif:CustomRendered":t=>vt.CustomRendered(parseInt(t,10)),"exif:ExposureMode":t=>vt.ExposureMode(parseInt(t,10)),"exif:ExposureProgram":t=>vt.ExposureProgram(parseInt(t,10)),"exif:ExposureTime"(t){return eT(t)?vt.ExposureTime(t.split("/").map(e=>parseInt(e,10))):t},"exif:MeteringMode":t=>vt.MeteringMode(parseInt(t,10)),"exif:Saturation":t=>vt.Saturation(parseInt(t,10)),"exif:SceneCaptureType":t=>vt.SceneCaptureType(parseInt(t,10)),"exif:Sharpness":t=>vt.Sharpness(parseInt(t,10)),"exif:ShutterSpeedValue":t=>Oc(vt.ShutterSpeedValue,t),"exif:WhiteBalance":t=>vt.WhiteBalance(parseInt(t,10))};function Oc(t,e){return eT(e)?t(e.split("/")):e}function _B(t){return t.substring(0,2)==="0x"?parseInt(t.substring(2),16):parseInt(t,10)}function eT(t){return/^-?\d+\/-?\d+$/.test(t)}function tT(t){const[e,n]=t.split(",");if(e!==void 0&&n!==void 0){const r=parseFloat(e),i=parseFloat(n),o=n.charAt(n.length-1);if(!Number.isNaN(r)&&!Number.isNaN(i))return""+(r+i/60)+o}return t}const yB={get:wB};function wB(t){if(t)return t;if(typeof DOMParser<"u")return new DOMParser;try{const{DOMParser:e,onErrorStopParsing:n}=__non_webpack_require__("@xmldom/xmldom");return new e({onError:n})}catch{return}}function xB(t){const e=["prefix is non-null and namespace is null","prefix not bound to a namespace","prefix inte bundet till en namnrymd",/Namespace prefix .+ is not defined/];for(let n=0;n<e.length;n++)if(new RegExp(e[n]).test(t.message))return!0;return!1}function kB(t){const e=t.match(/<([A-Za-z_][A-Za-z0-9._-]*)([^>]*)>/);if(!e)return t;const n=e[1],r=SB(t),o=EB(t).filter(a=>r.indexOf(a)===-1);if(o.length===0)return t;const s=AB(o);return CB(t,n,s)}function SB(t){const e=[],n=/xmlns:([\w-]+)=["'][^"']+["']/g;let r;for(;(r=n.exec(t))!==null;)e.indexOf(r[1])===-1&&e.push(r[1]);return e}function EB(t){const e=[],n=/\b([A-Za-z_][A-Za-z0-9._-]*):[A-Za-z_][A-Za-z0-9._-]*\b/g;let r;for(;(r=n.exec(t))!==null;){const i=r[1];i==="xmlns"||i==="xml"||e.indexOf(i)===-1&&e.push(i)}return e}const TB={xmp:"http://ns.adobe.com/xap/1.0/",tiff:"http://ns.adobe.com/tiff/1.0/",exif:"http://ns.adobe.com/exif/1.0/",dc:"http://purl.org/dc/elements/1.1/",xmpMM:"http://ns.adobe.com/xap/1.0/mm/",stEvt:"http://ns.adobe.com/xap/1.0/sType/ResourceEvent#",stRef:"http://ns.adobe.com/xap/1.0/sType/ResourceRef#",photoshop:"http://ns.adobe.com/photoshop/1.0/"};function AB(t){const e=[];for(let n=0;n<t.length;n++){const r=t[n],i=TB[r]||"http://fallback.namespace/"+r;e.push(" xmlns:"+r+'="'+i+'"')}return e.join("")}function CB(t,e,n){const r=new RegExp("<"+e+"([^>]*)>");return t.replace(r,"<"+e+"$1"+n+">")}const nT={read:IB};class $B extends Error{constructor(e){super(e),this.name="ParseError"}}function IB(t,e,n){const r={};if(typeof t=="string")return lp(r,t,n),r;const[i,o]=PB(t,e),s=lp(r,i,n);if(o){const a=lp(r,o,n);!s&&!a&&(delete r._raw,lp(r,Db(t,e),n))}return r}function PB(t,e){if(e.length===0)return[];const n=[Db(t,e.slice(0,1))];return e.length>1&&n.push(Db(t,e.slice(1))),n}function Db(t,e){const n=e.reduce((o,s)=>o+s.length,0),r=new Uint8Array(n);let i=0;for(let o=0;o<e.length;o++){const s=e[o],a=t.buffer.slice(s.dataOffset,s.dataOffset+s.length);r.set(new Uint8Array(a),i),i+=s.length}return new DataView(r.buffer)}function lp(t,e,n){try{const{doc:r,raw:i}=NB(e,n);t._raw=(t._raw||"")+i;const o=iT(r);return Et(t,sT(oT(o,!0))),!0}catch{return!1}}function NB(t,e){const n=yB.get(e);if(!n)throw console.warn("Warning: DOMParser is not available. It is needed to be able to parse XMP tags."),new Error;const r=typeof t=="string"?t:xt(t,0,t.byteLength);return{doc:rT(n,LB(r)),raw:r}}function LB(t){return t.replace(/^.+(<\?xpacket begin)/,"$1").replace(/(<\?xpacket end=".*"\?>).+$/,"$1")}function rT(t,e,n=!1){try{const r=t.parseFromString(e,"application/xml"),i=r.getElementsByTagName("parsererror");if(i.length>0)throw new $B(i[0].textContent);return r}catch(r){if(r.name==="ParseError"&&xB(r)&&!n)return rT(t,kB(e),!0);throw r}}function iT(t){for(let e=0;e<t.childNodes.length;e++){if(t.childNodes[e].tagName==="x:xmpmeta")return iT(t.childNodes[e]);if(t.childNodes[e].tagName==="rdf:RDF")return t.childNodes[e]}throw new Error}function oT(t,e=!1){const n=OB(t);return RB(n)?e?{}:FB(n[0]):DB(n)}function OB(t){const e=[];for(let n=0;n<t.childNodes.length;n++)e.push(t.childNodes[n]);return e}function RB(t){return t.length===1&&t[0].nodeName==="#text"}function FB(t){return t.nodeValue}function DB(t){const e={};return t.forEach(n=>{if(MB(n)){const r=UB(n);e[n.nodeName]!==void 0?(Array.isArray(e[n.nodeName])||(e[n.nodeName]=[e[n.nodeName]]),e[n.nodeName].push(r)):e[n.nodeName]=r}}),e}function MB(t){return t.nodeName&&t.nodeName!=="#text"}function UB(t){return{attributes:zB(t),value:oT(t)}}function zB(t){const e={};for(let n=0;n<t.attributes.length;n++)e[t.attributes[n].nodeName]=decodeURIComponent(escape(t.attributes[n].value));return e}function sT(t){const e={};if(typeof t=="string")return t;for(const n in t){let r=t[n];Array.isArray(r)||(r=[r]),r.forEach(i=>{Et(e,Mb(i.attributes)),typeof i.value=="object"&&Et(e,aT(i.value))})}return e}function Mb(t){const e={};for(const n in t)try{jB(n)&&(e[up(n)]={value:t[n],attributes:{},description:ls(t[n],n)})}catch{}return e}function jB(t){return t!=="rdf:parseType"&&!cp(t)}function cp(t){return t.split(":")[0]==="xmlns"}function up(t){return/^MicrosoftPhoto(_\d+_)?:Rating$/i.test(t)?"RatingPercent":t.split(":")[1]}function ls(t,e=void 0){if(Array.isArray(t)){const n=BB(t);return e&&typeof ap[e]=="function"?ap[e](t,n):n}if(typeof t=="object")return qB(t);try{return e&&typeof ap[e]=="function"?ap[e](t):decodeURIComponent(escape(t))}catch{return t}}function BB(t){return t.map(e=>e.value!==void 0?ls(e.value):ls(e)).join(", ")}function qB(t){const e=[];for(const n in t)e.push(`${HB(n)}: ${ls(t[n].value)}`);return e.join("; ")}function HB(t){return t==="CiAdrCity"?"CreatorCity":t==="CiAdrCtry"?"CreatorCountry":t==="CiAdrExtadr"?"CreatorAddress":t==="CiAdrPcode"?"CreatorPostalCode":t==="CiAdrRegion"?"CreatorRegion":t==="CiEmailWork"?"CreatorWorkEmail":t==="CiTelWork"?"CreatorWorkPhone":t==="CiUrlWork"?"CreatorWorkUrl":t}function aT(t){const e={};for(const n in t)try{cp(n)||(e[up(n)]=GB(t[n],n))}catch{}return e}function GB(t,e){return VB(t)?WB(t,e):KB(t)?{value:"",attributes:{},description:""}:lT(t)?cT(t,e):uT(t)?dT(t,e):fT(t)?hT(t,e):ZB(t)?XB(t,e):Ub(t,e)}function KB(t){return t.attributes["rdf:parseType"]==="Resource"&&typeof t.value=="string"&&t.value.trim()===""}function VB(t){return Array.isArray(t)}function WB(t,e){return Ub(t[t.length-1],e)}function lT(t){return t.attributes["rdf:parseType"]==="Resource"&&t.value["rdf:value"]!==void 0||t.value["rdf:Description"]!==void 0&&t.value["rdf:Description"].value["rdf:value"]!==void 0}function cT(t,e){const n=vd(t);t.value["rdf:Description"]!==void 0&&(t=t.value["rdf:Description"]),Et(n,vd(t),YB(t));const r=JB(t);return{value:r,attributes:n,description:ls(r,e)}}function vd(t){const e={};for(const n in t.attributes)n!=="rdf:parseType"&&n!=="rdf:resource"&&!cp(n)&&(e[up(n)]=t.attributes[n]);return e}function YB(t){const e={};for(const n in t.value)n!=="rdf:value"&&!cp(n)&&(e[up(n)]=t.value[n].value);return e}function JB(t){return gT(t.value["rdf:value"])||t.value["rdf:value"].value}function uT(t){return t.attributes["rdf:parseType"]==="Resource"||t.value["rdf:Description"]!==void 0&&t.value["rdf:Description"].value["rdf:value"]===void 0}function dT(t,e){const n={value:{},attributes:{}};return t.value["rdf:Description"]!==void 0&&(Et(n.value,Mb(t.value["rdf:Description"].attributes)),Et(n.attributes,vd(t)),t=t.value["rdf:Description"]),Et(n.value,aT(t.value)),n.description=ls(n.value,e),n}function fT(t){return Object.keys(t.value).length===0&&t.attributes["xml:lang"]===void 0&&t.attributes["rdf:resource"]===void 0}function hT(t,e){const n=Mb(t.attributes);return{value:n,attributes:{},description:ls(n,e)}}function ZB(t){return pT(t.value)!==void 0}function pT(t){return t["rdf:Bag"]||t["rdf:Seq"]||t["rdf:Alt"]}function XB(t,e){let n=pT(t.value).value["rdf:li"];const r=vd(t),i=[];return n===void 0?n=[]:Array.isArray(n)||(n=[n]),n.forEach(o=>{i.push(QB(o))}),{value:i,attributes:r,description:ls(i,e)}}function QB(t){return lT(t)?cT(t):uT(t)?dT(t).value:fT(t)?hT(t).value:Ub(t)}function Ub(t,e){const n=gT(t)||sT(t.value);return{value:n,attributes:vd(t),description:ls(n,e)}}function gT(t){return t.attributes&&t.attributes["rdf:resource"]}const cs={CLOSED_SUBPATH_LENGTH:0,CLOSED_SUBPATH_BEZIER_LINKED:1,CLOSED_SUBPATH_BEZIER_UNLINKED:2,OPEN_SUBPATH_LENGTH:3,OPEN_SUBPATH_BEZIER_LINKED:4,OPEN_SUBPATH_BEZIER_UNLINKED:5,FILL_RULE:6,CLIPBOARD:7,INITIAL_FILL_RULE:8},mT=24,zb={2e3:{name:"PathInformation",description:e4},2999:{name:"ClippingPathName",description(t){const[,e]=JS(t,0);return e}}};function e4(t){const n={},r=[];for(let i=0;i<t.byteLength;i+=2+mT){const o=We.getShortAt(t,i);jb[o]&&(n[o]||(n[o]=jb[o].description),r.push({type:o,path:jb[o].path(t,i+2)}))}return JSON.stringify({types:n,paths:r})}const jb={[cs.CLOSED_SUBPATH_LENGTH]:{description:"Closed subpath length",path:(t,e)=>[We.getShortAt(t,e)]},[cs.CLOSED_SUBPATH_BEZIER_LINKED]:{description:"Closed subpath Bezier knot, linked",path:dp},[cs.CLOSED_SUBPATH_BEZIER_UNLINKED]:{description:"Closed subpath Bezier knot, unlinked",path:dp},[cs.OPEN_SUBPATH_LENGTH]:{description:"Open subpath length",path:(t,e)=>[We.getShortAt(t,e)]},[cs.OPEN_SUBPATH_BEZIER_LINKED]:{description:"Open subpath Bezier knot, linked",path:dp},[cs.OPEN_SUBPATH_BEZIER_UNLINKED]:{description:"Open subpath Bezier knot, unlinked",path:dp},[cs.FILL_RULE]:{description:"Path fill rule",path:()=>[]},[cs.INITIAL_FILL_RULE]:{description:"Initial fill rule",path:(t,e)=>[We.getShortAt(t,e)]},[cs.CLIPBOARD]:{description:"Clipboard",path:n4}};function dp(t,e){const r=[];for(let i=0;i<mT;i+=8)r.push(t4(t,e+i));return r}function t4(t,e){const n=Ja(t,e,8);return[Ja(t,e+4,8),n]}function n4(t,e){return[[Ja(t,e,8),Ja(t,e+4,8),Ja(t,e+8,8),Ja(t,e+12,8)],Ja(t,e+16,8)]}function Ja(t,e,n){const r=We.getLongAt(t,e),i=r>>>31?-1:1,o=(r&2130706432)>>>32-n,s=r&parseInt(QS("1",32-n),2);return i*tU(o.toString(2)+"."+eU(s.toString(2),32-n,"0"),2)}const r4={read:s4},vT="8BIM",i4=2,o4=4,bT=vT.length;function s4(t,e){const n=YS(new Uint8Array(t).buffer),r={};let i=0;for(;i<t.length;){const o=xt(n,i,bT);i+=bT;const s=We.getShortAt(n,i);i+=i4;const{tagName:a,tagNameSize:c}=a4(n,i);i+=c;const u=We.getLongAt(n,i);if(i+=o4,o===vT){const d=YS(n.buffer,i,u),f={id:s,value:xt(d,0,u)};if(zb[s]){try{f.description=zb[s].description(d)}catch{f.description="<no description formatter>"}r[a||zb[s].name]=f}else e&&(r[`undefined-${s}`]=f)}i+=u+u%2}return r}function a4(t,e){const[n,r]=JS(t,e);return{tagName:r,tagNameSize:1+n+(n%2===0?1:0)}}const _T={desc:{name:"ICC Description"},cprt:{name:"ICC Copyright"},dmdd:{name:"ICC Device Model Description"},vued:{name:"ICC Viewing Conditions Description"},dmnd:{name:"ICC Device Manufacturer for Display"},tech:{name:"Technology"}},yT={4:{name:"Preferred CMM type",value:(t,e)=>xt(t,e,4),description:t=>t!==null?Bb(t):""},8:{name:"Profile Version",value:(t,e)=>t.getUint8(e).toString(10)+"."+(t.getUint8(e+1)>>4).toString(10)+"."+(t.getUint8(e+1)%16).toString(10)},12:{name:"Profile/Device class",value:(t,e)=>xt(t,e,4),description:t=>{switch(t.toLowerCase()){case"scnr":return"Input Device profile";case"mntr":return"Display Device profile";case"prtr":return"Output Device profile";case"link":return"DeviceLink profile";case"abst":return"Abstract profile";case"spac":return"ColorSpace profile";case"nmcl":return"NamedColor profile";case"cenc":return"ColorEncodingSpace profile";case"mid ":return"MultiplexIdentification profile";case"mlnk":return"MultiplexLink profile";case"mvis":return"MultiplexVisualization profile";default:return t}}},16:{name:"Color Space",value:(t,e)=>xt(t,e,4)},20:{name:"Connection Space",value:(t,e)=>xt(t,e,4)},24:{name:"ICC Profile Date",value:(t,e)=>l4(t,e).toISOString()},36:{name:"ICC Signature",value:(t,e)=>c4(t.buffer.slice(e,e+4))},40:{name:"Primary Platform",value:(t,e)=>xt(t,e,4),description:t=>Bb(t)},48:{name:"Device Manufacturer",value:(t,e)=>xt(t,e,4),description:t=>Bb(t)},52:{name:"Device Model Number",value:(t,e)=>xt(t,e,4)},64:{name:"Rendering Intent",value:(t,e)=>t.getUint32(e),description:t=>{switch(t){case 0:return"Perceptual";case 1:return"Relative Colorimetric";case 2:return"Saturation";case 3:return"Absolute Colorimetric";default:return t}}},80:{name:"Profile Creator",value:(t,e)=>xt(t,e,4)}};function l4(t,e){const n=t.getUint16(e),r=t.getUint16(e+2)-1,i=t.getUint16(e+4),o=t.getUint16(e+6),s=t.getUint16(e+8),a=t.getUint16(e+10);return new Date(Date.UTC(n,r,i,o,s,a))}function c4(t){return String.fromCharCode.apply(null,new Uint8Array(t))}function Bb(t){switch(t.toLowerCase()){case"appl":return"Apple";case"adbe":return"Adobe";case"msft":return"Microsoft";case"sunw":return"Sun Microsystems";case"sgi":return"Silicon Graphics";case"tgnt":return"Taligent";default:return t}}const wT={read:b4},u4=84,d4=128,f4="acsp",h4="desc",p4="mluc",g4="text",m4="sig ",v4=12;function b4(t,e,n){return n&&e[0].compressionMethod!==Xh?_4(t,e):w4(t,e)}function _4(t,e){if(!y4(e[0].compressionMethod))return{};const n=new DataView(t.buffer.slice(e[0].offset,e[0].offset+e[0].length));return tE(n,e[0].compressionMethod,"utf-8","dataview").then(xT).catch(()=>({}))}function y4(t){return t===eE}function w4(t,e){try{const n=e.reduce((s,a)=>s+a.length,0),r=new Uint8Array(n);let i=0;const o=x4(t);for(let s=1;s<=e.length;s++){const a=e.find(d=>d.chunkNumber===s);if(!a)throw new Error(`ICC chunk ${s} not found`);const c=o.slice(a.offset,a.offset+a.length),u=new Uint8Array(c);r.set(u,i),i+=u.length}return xT(new DataView(r.buffer))}catch{return{}}}function x4(t){return Array.isArray(t)?new DataView(Uint8Array.from(t).buffer).buffer:t.buffer}function k4(t){return t.length<d4+4}function S4(t,e){return t.length<e+v4}function xT(t){const e=t.buffer,n=t.getUint32();if(t.byteLength!==n)throw new Error("ICC profile length not matching");if(t.byteLength<u4)throw new Error("ICC profile too short");const r={},i=Object.keys(yT);for(let c=0;c<i.length;c++){const u=i[c],d=yT[u],f=d.value(t,parseInt(u,10));let h=f;d.description&&(h=d.description(f)),r[d.name]={value:f,description:h}}if(fp(e.slice(36,40))!==f4)throw new Error("ICC profile: missing signature");if(k4(e))return r;const s=t.getUint32(128);let a=132;for(let c=0;c<s;c++){if(S4(e,a))return r;const u=xt(t,a,4),d=t.getUint32(a+4),f=t.getUint32(a+8);if(d>e.length)return r;const h=xt(t,d,4);if(h===h4){const p=t.getUint32(d+8);if(p>f)return r;const g=fp(e.slice(d+12,d+p+11));bd(r,u,g)}else if(h===p4){const p=t.getUint32(d+8),g=t.getUint32(d+12);let m=d+16;const v=[];for(let b=0;b<p;b++){const y=xt(t,m+0,2),w=xt(t,m+2,2),S=t.getUint32(m+4),T=t.getUint32(m+8),E=X3(t,d+T,S);v.push({languageCode:y,countryCode:w,text:E}),m+=g}if(p===1)bd(r,u,v[0].text);else{const b={};for(let y=0;y<v.length;y++)b[`${v[y].languageCode}-${v[y].countryCode}`]=v[y].text;bd(r,u,b)}}else if(h===g4){const p=fp(e.slice(d+8,d+f-7));bd(r,u,p)}else if(h===m4){const p=fp(e.slice(d+8,d+12));bd(r,u,p)}a=a+12}return r}function fp(t){return String.fromCharCode.apply(null,new Uint8Array(t))}function bd(t,e,n){_T[e]?t[_T[e].name]={value:n,description:n}:t[e]={value:n,description:n}}const hp=27,E4={read:T4,SHOT_INFO_AUTO_ROTATE:hp};function T4(t,e,n,r,i){let o=Qs(t,UE,e,e+n,r,i);return o.ShotInfo&&(o=Et({},o,A4(o.ShotInfo.value)),delete o.ShotInfo),o}function A4(t){const e={};return t[hp]!==void 0&&(e.AutoRotate={value:t[hp],description:C4(t[hp])}),e}function C4(t){return t===0?"None":t===1?"Rotate 90 CW":t===2?"Rotate 180":t===3?"Rotate 270 CW":"Unknown"}const kT=8,ST=kT+2,ET={K3_III:78420},pp={CAMERA_ORIENTATION:1,ROLL_ANGLE:3,PITCH_ANGLE:5},$4={read:I4,PENTAX_IFD_OFFSET:ST,MODEL_ID:ET,LIK3III:pp};function I4(t,e,n,r){const i=Co.getByteOrder(t,e+n+kT),o=e+n;let s=Qs(t,Pb,o,o+ST,i,r);return P4(s)&&(s=Et({},s,N4(t,o+s.LevelInfo.__offset,i)),delete s.LevelInfo),s}function P4(t){return t.PentaxModelID&&t.PentaxModelID.value===ET.K3_III&&t.LevelInfo}function N4(t,e,n){const r={};if(e+7>t.byteLength)return r;const i=t.getInt8(e+pp.CAMERA_ORIENTATION);r.CameraOrientation={value:i,description:L4(i)};const o=t.getInt16(e+pp.ROLL_ANGLE,n===Co.LITTLE_ENDIAN);r.RollAngle={value:o,description:O4(o)};const s=t.getInt16(e+pp.PITCH_ANGLE,n===Co.LITTLE_ENDIAN);return r.PitchAngle={value:s,description:R4(s)},r}function L4(t){return t===0?"Horizontal (normal)":t===1?"Rotate 270 CW":t===2?"Rotate 180":t===3?"Rotate 90 CW":t===4?"Upwards":t===5?"Downwards":"Unknown"}function O4(t){return""+t*-.5}function R4(t){return""+t*-.5}const F4={read:D4};function D4(t,e){return{"Image Width":M4(t,e),"Image Height":U4(t,e),"Bit Depth":z4(t,e),"Color Type":j4(t,e),Compression:B4(t,e),Filter:q4(t,e),Interlace:H4(t,e)}}function M4(t,e){if(e+0+4>t.byteLength)return;const i=We.getLongAt(t,e);return{value:i,description:`${i}px`}}function U4(t,e){if(e+4+4>t.byteLength)return;const i=We.getLongAt(t,e+4);return{value:i,description:`${i}px`}}function z4(t,e){if(e+8+1>t.byteLength)return;const i=We.getByteAt(t,e+8);return{value:i,description:`${i}`}}function j4(t,e){const i={0:"Grayscale",2:"RGB",3:"Palette",4:"Grayscale with Alpha",6:"RGB with Alpha"};if(e+9+1>t.byteLength)return;const o=We.getByteAt(t,e+9);return{value:o,description:i[o]||"Unknown"}}function B4(t,e){if(e+10+1>t.byteLength)return;const i=We.getByteAt(t,e+10);return{value:i,description:i===0?"Deflate/Inflate":"Unknown"}}function q4(t,e){if(e+11+1>t.byteLength)return;const i=We.getByteAt(t,e+11);return{value:i,description:i===0?"Adaptive":"Unknown"}}function H4(t,e){const i={0:"Noninterlaced",1:"Adam7 Interlace"};if(e+12+1>t.byteLength)return;const o=We.getByteAt(t,e+12);return{value:o,description:i[o]||"Unknown"}}const G4={read:J4},qb="STATE_KEYWORD",Hb="STATE_COMPRESSION",Gb="STATE_LANG",K4="STATE_TRANSLATED_KEYWORD",Kb="STATE_TEXT",V4=1,W4=1,Y4=6;function J4(t,e,n,r){const i={},o=[];for(let s=0;s<e.length;s++){const{offset:a,length:c,type:u}=e[s],d=Z4(t,a,c,u,n);if(d instanceof Promise)o.push(d.then(({name:f,value:h,description:p})=>{try{if(nE.USE_EXIF&&AT(f,h))return{__exif:WE.read($T(h),Y4,r).tags};if(nE.USE_IPTC&&CT(f,h))return{__iptc:Fb.read($T(h),0,r)};if(f&&!AT(f,h)&&!CT(f,h))return{[f]:{value:h,description:p}}}catch{}return{}}));else{const{name:f,value:h,description:p}=d;f&&(i[f]={value:h,description:p})}}return{readTags:i,readTagsPromise:o.length>0?Promise.all(o):void 0}}function Z4(t,e,n,r,i){const o=[],s=[];let a,c=qb,u=Xh;for(let f=0;f<n&&e+f<t.byteLength;f++){if(c===Hb){u=X4({type:r,dataView:t,offset:e+f}),r===Ya&&(f+=V4),c=TT(r,c);continue}else if(c===Kb){a=new DataView(t.buffer.slice(e+f,e+n));break}const h=t.getUint8(e+f);h===0?c=TT(r,c):c===qb?o.push(h):c===Gb&&s.push(h)}if(u!==Xh&&!i)return{};const d=tE(a,u,Q4(r));return d instanceof Promise?d.then(f=>Vb(f,r,s,o)).catch(()=>Vb("<text using unknown compression>".split(""),r,s,o)):Vb(d,r,s,o)}function X4({type:t,dataView:e,offset:n}){if(t===Ya){if(e.getUint8(n)===W4)return e.getUint8(n+1)}else if(t===tp)return e.getUint8(n);return Xh}function TT(t,e){return e===qb&&[Ya,tp].includes(t)?Hb:e===Hb?t===Ya?Gb:Kb:e===Gb?K4:Kb}function Q4(t){return t===Ab||t===tp?"latin1":"utf-8"}function Vb(t,e,n,r){const i=t5(t);return{name:e5(e,n,r),value:i,description:e===Ya?n5(t):i}}function e5(t,e,n){const r=Wa(n);if(t===Ab||e.length===0)return r;const i=Wa(e);return`${r} (${i})`}function t5(t){return t instanceof DataView?xt(t,0,t.byteLength):t}function n5(t){return JE.decode("UTF-8",t)}function AT(t,e){return t.toLowerCase()==="raw profile type exif"&&e.substring(1,5)==="exif"}function CT(t,e){return t.toLowerCase()==="raw profile type iptc"&&e.substring(1,5)==="iptc"}function $T(t){const e=t.match(/\n(exif|iptc)\n\s*\d+\n([\s\S]*)$/);return r5(e[2].replace(/\n/g,""))}function r5(t){const e=new DataView(new ArrayBuffer(t.length/2));for(let n=0;n<t.length;n+=2)e.setUint8(n/2,parseInt(t.substring(n,n+2),16));return e}const i5={read:o5};function o5(t,e){const n={};for(let r=0;r<e.length;r++){const i=We.getLongAt(t,e[r]+Nc),o=xt(t,e[r]+Js,oo);o===wE?(n["Pixels Per Unit X"]=s5(t,e[r],i),n["Pixels Per Unit Y"]=a5(t,e[r],i),n["Pixel Units"]=l5(t,e[r],i)):o===xE&&(n["Modify Date"]=c5(t,e[r],i))}return n}function s5(t,e,n){if(!gp(t,e,n,0,4))return;const o=We.getLongAt(t,e+Tr+0);return{value:o,description:""+o}}function a5(t,e,n){if(!gp(t,e,n,4,4))return;const o=We.getLongAt(t,e+Tr+4);return{value:o,description:""+o}}function l5(t,e,n){if(!gp(t,e,n,8,1))return;const o=We.getByteAt(t,e+Tr+8);return{value:o,description:o===1?"meters":"Unknown"}}function c5(t,e,n){if(!gp(t,e,n,0,7))return;const i=We.getShortAt(t,e+Tr),o=We.getByteAt(t,e+Tr+2),s=We.getByteAt(t,e+Tr+3),a=We.getByteAt(t,e+Tr+4),c=We.getByteAt(t,e+Tr+5),u=We.getByteAt(t,e+Tr+6);return{value:[i,o,s,a,c,u],description:`${Rc(i,4)}-${Rc(o,2)}-${Rc(s,2)} ${Rc(a,2)}:${Rc(c,2)}:${Rc(u,2)}`}}function gp(t,e,n,r,i){return r+i<=n&&e+Tr+r+i<=t.byteLength}function Rc(t,e){return`${"0".repeat(e-(""+t).length)}${t}`}const u5={read:h5},d5=4,f5=7;function h5(t,e){const n={},r=We.getByteAt(t,e);return n.Alpha=p5(r),n.Animation=g5(r),n.ImageWidth=IT(t,e+d5),n.ImageHeight=IT(t,e+f5),n}function p5(t){const e=t&16;return{value:e?1:0,description:e?"Yes":"No"}}function g5(t){const e=t&2;return{value:e?1:0,description:e?"Yes":"No"}}function IT(t,e){const n=We.getByteAt(t,e)+256*We.getByteAt(t,e+1)+65536*We.getByteAt(t,e+2)+1;return{value:n,description:n+"px"}}const m5={read:v5};function v5(t){return{"GIF Version":b5(t),"Image Width":_5(t),"Image Height":y5(t),"Global Color Map":w5(t),"Bits Per Pixel":k5(t),"Color Resolution Depth":x5(t)}}function b5(t){if(6>t.byteLength)return;const r=xt(t,3,3);return{value:r,description:r}}function _5(t){if(8>t.byteLength)return;const r=t.getUint16(6,!0);return{value:r,description:`${r}px`}}function y5(t){if(10>t.byteLength)return;const r=t.getUint16(8,!0);return{value:r,description:`${r}px`}}function w5(t){if(11>t.byteLength)return;const i=(t.getUint8(10)&128)>>>7;return{value:i,description:i===1?"Yes":"No"}}function x5(t){if(11>t.byteLength)return;const i=((t.getUint8(10)&112)>>>4)+1;return{value:i,description:`${i} ${i===1?"bit":"bits"}`}}function k5(t){if(11>t.byteLength)return;const i=(t.getUint8(10)&7)+1;return{value:i,description:`${i} ${i===1?"bit":"bits"}`}}const S5=[6,7,99],E5={get:T5};function T5(t,e,n){if(A5(e)){e.type="image/jpeg";const r=n+e.JPEGInterchangeFormat.value;e.image=t.buffer.slice(r,r+e.JPEGInterchangeFormatLength.value),ZS(e,"base64",function(){return XS(this.image)})}return e}function A5(t){return t&&(t.Compression===void 0||S5.includes(t.Compression.value))&&t.JPEGInterchangeFormat&&t.JPEGInterchangeFormat.value&&t.JPEGInterchangeFormatLength&&t.JPEGInterchangeFormatLength.value}const Wb={INCHES:2,CENTIMETERS:3,MILLIMETERS:4},Yb={INCHES_TO_MM:25.4,CM_TO_MM:10,MM_TO_MM:1},C5={get:$5};function $5(t,e){const n={};let r=!1;const i=Za(t,"exif","FocalLength",e),o=Za(t,"exif","FocalPlaneXResolution",e),s=Za(t,"exif","FocalPlaneYResolution",e),a=Za(t,"exif","FocalPlaneResolutionUnit",e),c=Za(t,"file","Image Width",e),u=Za(t,"file","Image Height",e),d=Za(t,"exif","FocalLengthIn35mmFilm",e)||I5(o,s,a,c,u,i);d&&(n.FocalLength35efl={value:d,description:vt.FocalLengthIn35mmFilm(d)},r=!0);const f=P5(i,d);f&&(n.ScaleFactorTo35mmEquivalent=f,r=!0);const h=N5(d);if(h&&(n.FieldOfView=h,r=!0),r)return n}function Za(t,e,n,r){if(r&&t[e]&&t[e][n])return t[e][n].value;if(!r&&t[n])return t[n].value}function I5(t,e,n,r,i,o){if(t&&e&&n&&r&&i&&o)try{let a;switch(n){case Wb.INCHES:a=Yb.INCHES_TO_MM;break;case Wb.CENTIMETERS:a=Yb.CM_TO_MM;break;case Wb.MILLIMETERS:a=Yb.MM_TO_MM;break;default:return}const c=t[0]/t[1]*a,u=e[0]/e[1]*a,d=r/c,f=i/u,h=Math.sqrt(d**2+f**2);return o[0]/o[1]*(43.27/h)}catch{}}function P5(t,e){if(t&&e)try{const n=e/(t[0]/t[1]);return{value:n,description:n.toFixed(1)}}catch{}}function N5(t){if(t)try{const n=2*Math.atan(36/(2*t))*(180/Math.PI);return{value:n,description:n.toFixed(1)+" deg"}}catch{}}function PT(t){this.name="MetadataMissingError",this.message=t||"No Exif data",this.stack=new Error().stack}PT.prototype=new Error;const NT={MetadataMissingError:PT},L5={load:O5,loadView:LT,errors:NT};function O5(t,e={}){return R5(t)?(e.async=!0,F5(t,e).then(n=>Jb(n,e))):q5(t)?(e.async=!0,H5(t).then(n=>Jb(n,e))):Jb(t,e)}function R5(t){return typeof t=="string"}function F5(t,e){return/^\w+:\/\//.test(t)?typeof fetch<"u"?D5(t,e):M5(t,e):z5(t)?Promise.resolve(Q3(t)):j5(t,e)}function D5(t,{length:e}={}){const n={method:"GET"};return Number.isInteger(e)&&e>=0&&(n.headers={range:`bytes=0-${e-1}`}),fetch(t,n).then(r=>r.arrayBuffer())}function M5(t,{length:e}={}){return new Promise((n,r)=>{const i={};Number.isInteger(e)&&e>=0&&(i.headers={range:`bytes=0-${e-1}`}),U5(t)(t,i,s=>{if(s.statusCode>=200&&s.statusCode<=299){const a=[];s.on("data",c=>a.push(Buffer.from(c))),s.on("error",c=>r(c)),s.on("end",()=>n(Buffer.concat(a)))}else r(`Could not fetch file: ${s.statusCode} ${s.statusMessage}`),s.resume()}).on("error",s=>r(s))})}function U5(t){return/^https:\/\//.test(t)?__non_webpack_require__("https").get:__non_webpack_require__("http").get}function z5(t){return/^data:[^;,]*(;base64)?,/.test(t)}function j5(t,{length:e}={}){return new Promise((n,r)=>{const i=B5();i.open(t,(o,s)=>{o?r(o):i.stat(t,(a,c)=>{if(a)r(a);else{const u=Math.min(c.size,e!==void 0?e:c.size),d=Buffer.alloc(u),f={buffer:d,length:u};i.read(s,f,h=>{h?r(h):i.close(s,p=>{p&&console.warn(`Could not close file ${t}:`,p),n(d)})})}})})})}function B5(){try{return __non_webpack_require__("fs")}catch{return}}function q5(t){return typeof File<"u"&&t instanceof File}function H5(t){return new Promise((e,n)=>{const r=new FileReader;r.onload=i=>e(i.target.result),r.onerror=()=>n(r.error),r.readAsArrayBuffer(t)})}function Jb(t,e){return G5(t)&&(t=new Uint8Array(t).buffer),LT(K5(t),e)}function G5(t){try{return Buffer.isBuffer(t)}catch{return!1}}function K5(t){try{return new DataView(t)}catch{return new WS(t)}}function LT(t,{expanded:e=!1,async:n=!1,includeUnknown:r=!1,domParser:i=void 0}={expanded:!1,async:!1,includeUnknown:!1,domParser:void 0}){let o=!1,s={};const a=[],{fileType:c,fileDataOffset:u,jfifDataOffset:d,tiffHeaderOffset:f,iptcDataOffset:h,xmpChunks:p,iccChunks:g,mpfDataOffset:m,pngHeaderOffset:v,pngTextChunks:b,pngChunkOffsets:y,vp8xChunkOffset:w,gifHeaderOffset:S}=Gz.parseAppMarkers(t,n);if(V5(u)){o=!0;const x=Aj.read(t,u);e?s.file=x:s=Et({},s,x)}if(W5(d)){o=!0;const x=Dj.read(t,d);e?s.jfif=x:s=Et({},s,x)}if(Y5(f)){o=!0;const{tags:x,byteOrder:$}=WE.read(t,f,r);if(x.Thumbnail&&(s.Thumbnail=x.Thumbnail,delete x.Thumbnail),e?(s.exif=x,J5(s)):s=Et({},s,x),x["IPTC-NAA"]&&!OT(h)){const I=Fb.read(x["IPTC-NAA"].value,0,r);e?s.iptc=I:s=Et({},s,I)}if(x.ApplicationNotes&&!RT(p)){const I=nT.read(Wa(x.ApplicationNotes.value),void 0,i);e?s.xmp=I:(delete I._raw,s=Et({},s,I))}if(x.ImageSourceData&&x.PhotoshopSettings){const I=r4.read(x.PhotoshopSettings.value,r);e?s.photoshop=I:s=Et({},s,I)}if(x.ICC_Profile&&!FT(g)){const I=wT.read(x.ICC_Profile.value,[{offset:0,length:x.ICC_Profile.value.length,chunkNumber:1,chunksTotal:1}]);e?s.icc=I:s=Et({},s,I)}if(x.MakerNote){if(Z5(x)){const I=E4.read(t,f,x.MakerNote.__offset,$,r);e?s.makerNotes=I:s=Et({},s,I)}else if(X5(x)){const I=$4.read(t,f,x.MakerNote.__offset,r);e?s.makerNotes=I:s=Et({},s,I)}}x.MakerNote&&delete x.MakerNote.__offset}if(OT(h)){o=!0;const x=Fb.read(t,h,r);e?s.iptc=x:s=Et({},s,x)}if(RT(p)){o=!0;const x=nT.read(t,p,i);e?s.xmp=x:(delete x._raw,s=Et({},s,x))}if(FT(g)){o=!0;const x=wT.read(t,g,n);x instanceof Promise?a.push(x.then(C)):C(x)}if(Q5(m)){o=!0;const x=_j.read(t,m,r);e?s.mpf=x:s=Et({},s,x)}if(eq(v)){o=!0;const x=F4.read(t,v);e?(s.png=s.png?Et({},s.png,x):x,s.pngFile=x):s=Et({},s,x)}if(tq(b)){o=!0;const{readTags:x,readTagsPromise:$}=G4.read(t,b,n,r);k(x),$&&a.push($.then(I=>I.forEach(k)))}if(nq(y)){o=!0;const x=i5.read(t,y);e?s.png=s.png?Et({},s.png,x):x:s=Et({},s,x)}if(rq(w)){o=!0;const x=u5.read(t,w);e?s.riff=s.riff?Et({},s.riff,x):x:s=Et({},s,x)}if(iq(S)){o=!0;const x=m5.read(t,S);e?s.gif=s.gif?Et({},s.gif,x):x:s=Et({},s,x)}const T=C5.get(s,e);T&&(e?s.composite=T:s=Et({},s,T));const E=E5.get(t,s.Thumbnail,f);if(E?(o=!0,s.Thumbnail=E):delete s.Thumbnail,c&&(e?(s.file||(s.file={}),s.file.FileType=c):s.FileType=c,o=!0),!o)throw new NT.MetadataMissingError;if(n)return Promise.all(a).then(()=>s);return s;function C(x){e?s.icc=x:s=Et({},s,x)}function k(x){if(e){for(const $ of["exif","iptc"]){const I=`__${$}`;x[I]&&(s[$]=s[$]?Et({},s.exif,x[I]):x[I],delete x[I])}s.png=s.png?Et({},s.png,x):x,s.pngText=s.pngText?Et({},s.png,x):x}else s=Et({},s,x.__exif?x.__exif:{},x.__iptc?x.__iptc:{},x),delete s.__exif,delete s.__iptc}}function V5(t){return t!==void 0}function W5(t){return t!==void 0}function Y5(t){return t!==void 0}function J5(t){if(t.exif){if(t.exif.GPSLatitude&&t.exif.GPSLatitudeRef)try{t.gps=t.gps||{},t.gps.Latitude=Qh(t.exif.GPSLatitude.value),t.exif.GPSLatitudeRef.value.join("")==="S"&&(t.gps.Latitude=-t.gps.Latitude)}catch{}if(t.exif.GPSLongitude&&t.exif.GPSLongitudeRef)try{t.gps=t.gps||{},t.gps.Longitude=Qh(t.exif.GPSLongitude.value),t.exif.GPSLongitudeRef.value.join("")==="W"&&(t.gps.Longitude=-t.gps.Longitude)}catch{}if(t.exif.GPSAltitude&&t.exif.GPSAltitudeRef)try{t.gps=t.gps||{},t.gps.Altitude=t.exif.GPSAltitude.value[0]/t.exif.GPSAltitude.value[1],t.exif.GPSAltitudeRef.value===1&&(t.gps.Altitude=-t.gps.Altitude)}catch{}}}function OT(t){return t!==void 0}function RT(t){return Array.isArray(t)&&t.length>0}function FT(t){return Array.isArray(t)&&t.length>0}function Z5(t){return t.Make&&t.Make.value&&Array.isArray(t.Make.value)&&t.Make.value[0]==="Canon"&&t.MakerNote&&t.MakerNote.__offset}function X5(t){const e="PENTAX ";return t.MakerNote.value.length>e.length&&Wa(t.MakerNote.value.slice(0,e.length))===e&&t.MakerNote.__offset}function Q5(t){return t!==void 0}function eq(t){return t!==void 0}function tq(t){return t!==void 0}function nq(t){return t!==void 0}function rq(t){return t!==void 0}function iq(t){return t!==void 0}const Xa=(t,e)=>{if(typeof t!="number")return NaN;if(!Number.isFinite(t))return t;const n=10**e;return Math.round(t*n)/n},oq=/^(?<year>\d{4}):(?<month>\d{2}):(?<date>\d{2}) (?<hour>\d{2}):(?<minute>\d{2}):(?<second>\d{2})$/,sq=async(t,e)=>{if(!(e==="image")||!t.file)return{createdDate:void 0,coordinates:void 0};const{exif:{DateTimeOriginal:r,DateTime:i}={DateTimeOriginal:void 0,DateTime:void 0},gps:{Latitude:o,Longitude:s}={Latitude:void 0,Longitude:void 0}}=await L5.load(t.file,{expanded:!0}).catch(()=>{})??{},c=(r?.description??i?.description)?.match(oq);let u,d;if(c?.groups){const{year:f,month:h,date:p,hour:g,minute:m,second:v}=c.groups,b=new Date(`${f}-${h}-${p}T${g}:${m}:${v}Z`);Number.isNaN(b.getTime())||(u=b)}return typeof o=="number"&&typeof s=="number"&&Number.isFinite(o)&&Number.isFinite(s)&&(d={latitude:Xa(o,7),longitude:Xa(s,7)}),{createdDate:u,coordinates:d}},aq=t=>{const e=new Image;return new Promise(n=>{const r=()=>{n({dimensions:{width:e.naturalWidth,height:e.naturalHeight}})};e.addEventListener("load",r,{once:!0}),e.src=t})},lq=async(t,e)=>{const n=document.createElement(e);return new Promise(r=>{const i=()=>{const{duration:o}=n;e==="audio"&&r({duration:o});const{videoWidth:s,videoHeight:a}=n;r({dimensions:{width:s,height:a},duration:o})};n.addEventListener("loadedmetadata",i,{once:!0}),n.src=t})},cq=async(t,e)=>e==="image"?aq(t):lq(t,e),uq=async(t,e,n)=>{const{dimensions:r,duration:i}=await cq(e,n),{createdDate:o,coordinates:s}=await sq(t,n);return{dimensions:r,duration:i,createdDate:o,coordinates:s}},kue="modulepreload",Sue=function(t){return"/"+t},Eue={},DT=function(e,n,r){let i=Promise.resolve();function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return e().catch(o)})},Zb="0.106.1",dq={"@jsquash/webp":"^1.5.0","@lexical/markdown":"^0.35.0","@sindresorhus/transliterate":"^2.0.0","@sveltia/ui":"^0.28.3","@sveltia/utils":"^0.8.0","create-react-class":"^15.7.0",dayjs:"^1.11.18",deepmerge:"^4.3.1",exifreader:"^4.31.2","fast-deep-equal":"^3.1.3",flat:"^6.0.1","isomorphic-dompurify":"^2.28.0",leaflet:"^1.9.4",lexical:"^0.35.0",marked:"^16.3.0","marked-bidi":"^1.0.13",mime:"^4.1.0","parse-entities":"^4.0.2","pdfjs-dist":"^5.4.149",qrcode:"^1.5.4",react:"^19.1.1","react-dom":"^19.1.1","sanitize-filename":"^1.6.3","smol-toml":"^1.4.2","svelte-i18n":"^4.0.1",svgo:"^4.0.0","terra-draw":"^1.15.0","terra-draw-leaflet-adapter":"^1.0.3",turndown:"^7.2.1",yaml:"^2.8.1"},Xb=t=>{const e=`https://unpkg.com/${t}`,n=dq[t]?.replace(/^\D/,"");return n?`${e}@${n}`:e},Fc=async(t,e)=>DT(()=>import(`${Xb(t)}/${e}`),void 0),MT=["avif","gif","jpeg","png","webp"],fq=MT.map(t=>`image/${t}`),Qb=/\b(?:avif|gif|jpe?g|png|webp)$/i,hq=["image/svg+xml"],pq=/\b(?:svg)$/i,$o=[...fq,...hq],UT=["webp"],e_={},gq=async t=>{if(t in e_)return e_[t];const e=`image/${t}`,n=new OffscreenCanvas(1,1);n.getContext("2d");const i=(await n.convertToBlob({type:e})).type===e;return e_[t]=i,i},zT=async(t,{format:e="webp",quality:n=85}={})=>{const r=`image/${e}`;if(!await gq(e)&&UT.includes(e)){const o=t.getContext("2d").getImageData(0,0,t.width,t.height);try{const s=(await Fc(`@jsquash/${e}`,"encode.js?module")).default,a=await s(o,{quality:n});return new Blob([a],{type:r})}catch{}}return t.convertToBlob({type:r,quality:n/100})},mq=({width:t,height:e},{width:n=t,height:r=e,fit:i="scale-down"}={})=>{const o={scale:1,width:t,height:e};if(t===r&&e===r)return o;const s=t>e,a=t<r||e<r;let c=1,u=0,d=0;if(i==="scale-down"){if(a)return o;i="contain"}return i==="contain"&&(s?(n>r?(c=n/t,u=n):(c=r/t,u=r),d=e*c):(n>r?(c=r/e,d=r):(c=n/e,d=n),u=t*c)),{scale:c,width:u,height:d}},jT=(t,e,n)=>{const{scale:r,width:i,height:o}=mq(e,n);return t.width=i,t.height=o,{scale:r,width:i,height:o}},vq=async({blob:t})=>{const e=URL.createObjectURL(t),n=new Image;return new Promise(r=>{n.addEventListener("load",()=>{r({source:n,naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}),URL.revokeObjectURL(e)},{once:!0}),n.src=e})},bq=async({blob:t})=>{const e=URL.createObjectURL(t),n=document.createElement("video");return new Promise(r=>{n.addEventListener("canplay",()=>{n.pause(),r({source:n,naturalWidth:n.videoWidth,naturalHeight:n.videoHeight}),URL.revokeObjectURL(e)},{once:!0}),n.muted=!0,n.autoplay=!0,n.playsInline=!0,n.src=e,n.style.opacity="0",n.style.pointerEvents="none",document.body.appendChild(n)})},_q=async t=>t.type.startsWith("video/")?bq({blob:t}):vq({blob:t}),t_=async(t,{format:e="png",quality:n=85,width:r=void 0,height:i=void 0,fit:o="scale-down"}={})=>{let s,a=0,c=0;try{s=await createImageBitmap(t),{width:a,height:c}=s}catch{({source:s,naturalWidth:a,naturalHeight:c}=await _q(t))}r??=a,i??=c;const u=new OffscreenCanvas(512,512),d=u.getContext("2d");return jT(u,{width:a,height:c},{fit:o,width:r,height:i}),d.drawImage(s,0,0,u.width,u.height),s instanceof HTMLVideoElement&&document.body.removeChild(s),zT(u,{format:e,quality:n})},yq=async t=>{const e=await t.text();try{const{optimize:n}=await Fc("svgo","dist/svgo.browser.js"),{data:r}=n(e);return new Blob([r],{type:t.type})}catch{}return t},Dc=Xb("pdfjs-dist"),wq=`${Dc}/build/pdf.min.mjs`,xq=`${Dc}/build/pdf.worker.min.mjs`,kq={isEvalSupported:!1,disableAutoFetch:!0,cMapUrl:`${Dc}/cmaps/`,iccUrl:`${Dc}/iccs/`,standardFontDataUrl:`${Dc}/standard_fonts/`,wasmUrl:`${Dc}/wasm/`};let mp;const Sq=async(t,{format:e="png",quality:n=85,width:r=void 0,height:i=void 0,fit:o="scale-down"}={})=>{if(!mp)try{mp=await import(wq),mp.GlobalWorkerOptions.workerSrc=xq}catch{throw new Error("Failed to load PDF.js library")}const s=URL.createObjectURL(t),a=new OffscreenCanvas(512,512),c=a.getContext("2d");try{const d=await(await mp.getDocument({...kq,url:s}).promise).getPage(1),f=d.getViewport({scale:1}),{scale:h}=jT(a,{width:f.width,height:f.height},{width:r,height:i,fit:o});await d.render({canvasContext:c,viewport:h===1?f:d.getViewport({scale:h})}).promise,URL.revokeObjectURL(s)}catch{throw new Error("Failed to render PDF")}return zT(a,{format:e,quality:n})},n_=new Set,ta=async(t,e=0)=>{const{file:n,blobURL:r,name:i,path:o}=t;if(r)return fetch(r).then(a=>a.blob());let s;if(n)s=n;else{if(n_.has(o)&&e<=25)return await Ft(200),ta(t,e+1);n_.add(o);const a=await se(xn)?.fetchBlob?.(t);if(!a)throw new Error("Failed to retrieve blob");s=new Blob([a],{type:as.getType(i)??a.type})}return t.blobURL=URL.createObjectURL(s),n_.delete(o),s},r_=async t=>(t.blobURL||await ta(t),t.blobURL);let vp;const i_=async(t,{cacheOnly:e=!1}={})=>{const n=t.name.endsWith(".pdf");if(!(["image","video"].includes(t.kind)||n))return;if(vp===void 0){const{databaseName:i}=se(xn)?.repository??{};vp=i?new Ao(i,"asset-thumbnails"):null}let r=await vp?.get(t.sha);if(!r){if(e)return;const i=await ta(t),o={format:"webp",quality:85,width:512,height:512,fit:"contain"};r=n?await Sq(i,o):await t_(i,o),await vp?.set(t.sha,r)}return URL.createObjectURL(r)},_d=(t,{pathOnly:e=!1,allowSpecial:n=!1,entry:r=void 0}={})=>{const{publicPath:i,entryRelative:o,hasTemplateTags:s}=t.folder.collectionName===void 0?t.folder:Kh(t.path).find(({collectionName:d})=>d!==void 0)??se(Ha);if(o)return e&&r&&mn(t.path).dirname===mn(Object.values(r.locales)[0].path).dirname?t.name:void 0;const{_baseURL:a="",output:{encode_file_path:c=!1}={}}=se(Ct);let u=s?t.path.replace(HS(t.folder.internalPath??"",d=>{const f=d.match(/{{(?<tag>.+?)}}/)?.groups?.tag;return f?`(?<${f}>[^/]+)`:Wt(d)}),i?.replaceAll(/{{(.+?)}}/g,"$<$1>")??""):t.path.replace(t.folder.internalPath??"",i==="/"?"":i??"");if(c&&(u=GS(u)),!(!u.startsWith("/")&&!n))return e?u:`${a}${u}`},Mc=async({value:t,entry:e,collectionName:n,fileName:r,thumbnail:i=!1})=>{if(!t)return;if(/^(?:https?|data|blob):/.test(t))return t;const o=$_({value:t,entry:e,collectionName:n,fileName:r});if(o)return(i?await i_(o):await r_(o))??_d(o)},bp={publicURL:void 0,repoBlobURL:void 0,dimensions:void 0,duration:void 0,usedEntries:[]},_p=async t=>{const{kind:e,path:n}=t,{blobBaseURL:r}=se(xn)?.repository??{},i=await r_(t),o=_d(t,{allowSpecial:!0,pathOnly:!0})??i;let s={};return["image","video","audio"].includes(e)&&i&&(s=await uq(t,i,e)),{...s,publicURL:_d(t),repoBlobURL:r?`${r}/${n}`:void 0,usedEntries:o?await A_(o):[]}},Uc=rt(!1),Io=rt(),o_=rt([]),ci=rt([]),s_=rt([]),BT=t=>se(o_).filter(({collectionName:e,filePathMap:n})=>n?Object.values(n).includes(t):Zr(e)?._file?.fullPathRegEx?.test(t)).sort((e,n)=>n.folderPath?.localeCompare(e.folderPath??"")??0),Eq=()=>{try{return se(de)("index_file")}catch{return"Index File"}},ui=t=>{const{index_file:e}=t;if(!Md(t)||!e)return;const n=e===!0?{}:e;return{name:n.name??"_index",label:n.label??Eq(),icon:n.icon??"home",fields:n.fields,editor:n.editor}},Po=(t,e)=>{const n=ui(t);return n?e.slug===n.name:!1},Tq=t=>{const e=ui(t);return e?!Lo(t.name).some(({slug:n})=>n===e.name):!1};lr.extend(sb),lr.extend(ab),lr.extend(lb);const Aq=/{{(?:year|month|day|hour|minute|second)}}/,us=t=>BT(Object.values(t.locales)[0].path).map(({collectionName:e})=>Zr(e)).filter(e=>!!e),Cq=({dateFieldName:t,fields:e,content:n})=>{const r=t?e.find(({widget:a,name:c})=>a==="datetime"&&c===t):e.find(({widget:a})=>a==="datetime"),i=r?n[r.name]:void 0;if(!r||!i)return;const{format:o,picker_utc:s=!1}=r;return Ga({date:(s?lr.utc:lr)(i,o).toDate(),timeZone:s?"UTC":void 0})},qT=(t,e,n,r)=>{const{show_preview_links:i=!0,_baseURL:o}=se(Ct)??{},{slug:s,path:a,content:c}=t.locales[e]??{},{preview_path:u,preview_path_date_field:d,fields:f=[]}=r??n;if(!i||!o||!a||!c||!u)return;const h=Po(n,t),g=(h?ui(n):void 0)?.fields??f;let m;if(!(Aq.test(u)&&(m=Cq({dateFieldName:d,fields:g,content:c}),!m)))try{const v=Oo(u,{type:"preview_path",collection:n,content:c,locale:e,currentSlug:s,entryFilePath:a,dateTimeParts:m,isIndexFile:h});return`${o.replace(/\/$/,"")}/${v.replace(/^\//,"")}`}catch{return}},$q=(t,e)=>`${se(xn)?.repository?.blobBaseURL}/${t.locales[e]?.path}?plain=1`,yp=t=>!("divider"in t)&&typeof t.file=="string"&&Array.isArray(t.fields),wp=t=>t.filter(e=>yp(e)),zc=(t,e)=>{const n=typeof t=="string"?Zr(t):t;if(!(!n||!("_fileMap"in n)))return n._fileMap[e]},yd=t=>t.label||t.name,na=(t,e)=>"_fileMap"in t?Object.values(t._fileMap).filter(({_file:n,_i18n:r})=>n.fullPath===e.locales[r.defaultLocale]?.path):[],a_=(t,e)=>se(ci).find(n=>us(n).some(r=>r.name===t&&na(r,n).some(i=>i.name===e))),HT=(t,e)=>{if(t&&e){const{collections:n,singletons:r}=se(Ct);return t==="_singletons"?Array.isArray(r)?wp(r).findIndex(i=>i.name===e):-1:oa({collections:n}).find(({name:i})=>i===t)?.files?.findIndex(({name:i})=>i===e)??-1}return-1},l_=["file","image"],xp=[...l_,"relation","select"],GT=[...xp,"list","number"],KT=({multiline:t,dotAll:e,source:n})=>t||e||n.includes("[\\s\\S]")||n.includes("[\\S\\s]"),VT=t=>ss(Object.fromEntries(Object.entries(io(t)).filter(([e])=>!e.split(".").pop()?.startsWith("__sc_")))),WT=t=>t.replace(/"/g,"'"),Qa=t=>t.replace(/"/g,"""),kp=new Map,YT=/!\[(?<alt>(?:[^\]\\]|\\.)*)\]\((?<src>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title>(?:[^"\\]|\\.)*)")?\)/,Iq=/\[!\[(?<alt2>(?:[^\]\\]|\\.)*)\]\((?<src2>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title2>(?:[^"\\]|\\.)*)")?\)\](?:\((?<link>[^)]*\([^)]*\)[^)]*|[^)]*)\))/,Pq=new RegExp(`${YT.source}|${Iq.source}`),JT={id:"image",label:"Image",fields:[{name:"src",label:"Source",widget:"image"},{name:"alt",label:"Alt Text",required:!1},{name:"title",label:"Title",required:!1}],pattern:YT,toBlock:t=>{const{src:e="",alt:n="",title:r=""}=t;return e?`}"`:""})`:""},toPreview:t=>{const{src:e="",alt:n="",title:r=""}=t;return`<img src="${Qa(e)}" alt="${Qa(n)}" title="${Qa(r)}">`}},Nq={id:"linked-image",label:"Image",fields:[...JT.fields,{name:"link",label:"Link",required:!1}],pattern:Pq,fromBlock:t=>{const{src:e,alt:n,title:r,src2:i,alt2:o,title2:s,link:a}=t.groups??{};return{src:(e||i||"").trim(),alt:(n||o||"").trim(),title:(r||s||"").trim(),link:(a||"").trim()}},toBlock:t=>{const{src:e="",alt:n="",title:r="",link:i=""}=t,o=e?`}"`:""})`:"";return o&&i?`[${o}](${i})`:o},toPreview:t=>{const{src:e="",alt:n="",title:r="",link:i=""}=t,o=`<img src="${Qa(e)}" alt="${Qa(n)}" title="${Qa(r)}">`;return i?`<a href="${Qa(i)}">${o}</a>`:o}},ZT=t=>{if(kp.has(t))return kp.get(t);const e={icon:"image",label:se(de)("editor_components.image"),fields:[{name:"src",label:se(de)("editor_components.src"),widget:"image"},{name:"alt",label:se(de)("editor_components.alt"),required:!1},{name:"title",label:se(de)("editor_components.title"),required:!1}]};return{image:{...JT,...e},"linked-image":{...Nq,...e,fields:[...e.fields,{name:"link",label:se(de)("editor_components.link"),required:!1}]}}[t]};var c_,XT;function QT(){if(XT)return c_;XT=1;const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:s,create:a}=Object,{apply:c,construct:u}=typeof Reflect<"u"&&Reflect;o||(o=function(Ie){return Ie}),s||(s=function(Ie){return Ie}),c||(c=function(Ie,ze){for(var Ce=arguments.length,Te=new Array(Ce>2?Ce-2:0),ye=2;ye<Ce;ye++)Te[ye-2]=arguments[ye];return Ie.apply(ze,Te)}),u||(u=function(Ie){for(var ze=arguments.length,Ce=new Array(ze>1?ze-1:0),Te=1;Te<ze;Te++)Ce[Te-1]=arguments[Te];return new Ie(...Ce)});const d=k(Array.prototype.forEach),f=k(Array.prototype.lastIndexOf),h=k(Array.prototype.pop),p=k(Array.prototype.push),g=k(Array.prototype.splice),m=k(String.prototype.toLowerCase),v=k(String.prototype.toString),b=k(String.prototype.match),y=k(String.prototype.replace),w=k(String.prototype.indexOf),S=k(String.prototype.trim),T=k(Object.prototype.hasOwnProperty),E=k(RegExp.prototype.test),C=x(TypeError);function k(Be){return function(Ie){Ie instanceof RegExp&&(Ie.lastIndex=0);for(var ze=arguments.length,Ce=new Array(ze>1?ze-1:0),Te=1;Te<ze;Te++)Ce[Te-1]=arguments[Te];return c(Be,Ie,Ce)}}function x(Be){return function(){for(var Ie=arguments.length,ze=new Array(Ie),Ce=0;Ce<Ie;Ce++)ze[Ce]=arguments[Ce];return u(Be,ze)}}function $(Be,Ie){let ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m;e&&e(Be,null);let Ce=Ie.length;for(;Ce--;){let Te=Ie[Ce];if(typeof Te=="string"){const ye=ze(Te);ye!==Te&&(n(Ie)||(Ie[Ce]=ye),Te=ye)}Be[Te]=!0}return Be}function I(Be){for(let Ie=0;Ie<Be.length;Ie++)T(Be,Ie)||(Be[Ie]=null);return Be}function P(Be){const Ie=a(null);for(const[ze,Ce]of t(Be))T(Be,ze)&&(Array.isArray(Ce)?Ie[ze]=I(Ce):Ce&&typeof Ce=="object"&&Ce.constructor===Object?Ie[ze]=P(Ce):Ie[ze]=Ce);return Ie}function L(Be,Ie){for(;Be!==null;){const Ce=i(Be,Ie);if(Ce){if(Ce.get)return k(Ce.get);if(typeof Ce.value=="function")return k(Ce.value)}Be=r(Be)}function ze(){return null}return ze}const N=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),F=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Y=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=o(["#text"]),M=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),K=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),J=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Q=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ie=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ne=s(/<%[\w\W]*|[\w\W]*%>/gm),ee=s(/\$\{[\w\W]*/gm),re=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),ae=s(/^aria-[\-\w]+$/),he=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),me=s(/^(?:\w+script|data):/i),pe=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ue=s(/^html$/i),ge=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var be=Object.freeze({__proto__:null,ARIA_ATTR:ae,ATTR_WHITESPACE:pe,CUSTOM_ELEMENT:ge,DATA_ATTR:re,DOCTYPE_NAME:ue,ERB_EXPR:ne,IS_ALLOWED_URI:he,IS_SCRIPT_OR_DATA:me,MUSTACHE_EXPR:ie,TMPLIT_EXPR:ee});const _e={element:1,text:3,progressingInstruction:7,comment:8,document:9},Ee=function(){return typeof window>"u"?null:window},Ne=function(Ie,ze){if(typeof Ie!="object"||typeof Ie.createPolicy!="function")return null;let Ce=null;const Te="data-tt-policy-suffix";ze&&ze.hasAttribute(Te)&&(Ce=ze.getAttribute(Te));const ye="dompurify"+(Ce?"#"+Ce:"");try{return Ie.createPolicy(ye,{createHTML($e){return $e},createScriptURL($e){return $e}})}catch{return console.warn("TrustedTypes policy "+ye+" could not be created."),null}},Ue=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function qe(){let Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ee();const Ie=ct=>qe(ct);if(Ie.version="3.2.7",Ie.removed=[],!Be||!Be.document||Be.document.nodeType!==_e.document||!Be.Element)return Ie.isSupported=!1,Ie;let{document:ze}=Be;const Ce=ze,Te=Ce.currentScript,{DocumentFragment:ye,HTMLTemplateElement:$e,Node:Ae,Element:st,NodeFilter:Qe,NamedNodeMap:Le=Be.NamedNodeMap||Be.MozNamedAttrMap,HTMLFormElement:Fe,DOMParser:Ke,trustedTypes:lt}=Be,ht=st.prototype,Nt=L(ht,"cloneNode"),en=L(ht,"remove"),yn=L(ht,"nextSibling"),Gt=L(ht,"childNodes"),Lt=L(ht,"parentNode");if(typeof $e=="function"){const ct=ze.createElement("template");ct.content&&ct.content.ownerDocument&&(ze=ct.content.ownerDocument)}let Dt,dn="";const{implementation:fn,createNodeIterator:Fn,createDocumentFragment:hn,getElementsByTagName:Zt}=ze,{importNode:Ut}=Ce;let kt=Ue();Ie.isSupported=typeof t=="function"&&typeof Lt=="function"&&fn&&fn.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Zn,ERB_EXPR:Lr,TMPLIT_EXPR:mi,DATA_ATTR:pt,ARIA_ATTR:ln,IS_SCRIPT_OR_DATA:Dn,ATTR_WHITESPACE:$n,CUSTOM_ELEMENT:Br}=be;let{IS_ALLOWED_URI:Xn}=be,Ot=null;const Qn=$({},[...N,...F,...B,...W,...O]);let Kt=null;const Wi=$({},[...M,...K,...J,...Q]);let Vt=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Li=null,wn=null,ii=!0,qr=!0,Jo=!1,vi=!0,tn=!1,ut=!0,yt=!1,Mn=!1,Un=!1,_r=!1,bi=!1,Gn=!1,yr=!0,Zo=!1;const Uf="user-content-";let Hl=!0,fr=!1,wr={},_i=null;const aO=$({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lO=null;const cO=$({},["audio","video","img","source","image","track"]);let o0=null;const uO=$({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_m="http://www.w3.org/1998/Math/MathML",ym="http://www.w3.org/2000/svg",$s="http://www.w3.org/1999/xhtml";let Ru=$s,s0=!1,a0=null;const pue=$({},[_m,ym,$s],v);let wm=$({},["mi","mo","mn","ms","mtext"]),xm=$({},["annotation-xml"]);const gue=$({},["title","style","font","a","script"]);let zf=null;const mue=["application/xhtml+xml","text/html"],vue="text/html";let xr=null,Fu=null;const bue=ze.createElement("form"),dO=function(fe){return fe instanceof RegExp||fe instanceof Function},l0=function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Fu&&Fu===fe)){if((!fe||typeof fe!="object")&&(fe={}),fe=P(fe),zf=mue.indexOf(fe.PARSER_MEDIA_TYPE)===-1?vue:fe.PARSER_MEDIA_TYPE,xr=zf==="application/xhtml+xml"?v:m,Ot=T(fe,"ALLOWED_TAGS")?$({},fe.ALLOWED_TAGS,xr):Qn,Kt=T(fe,"ALLOWED_ATTR")?$({},fe.ALLOWED_ATTR,xr):Wi,a0=T(fe,"ALLOWED_NAMESPACES")?$({},fe.ALLOWED_NAMESPACES,v):pue,o0=T(fe,"ADD_URI_SAFE_ATTR")?$(P(uO),fe.ADD_URI_SAFE_ATTR,xr):uO,lO=T(fe,"ADD_DATA_URI_TAGS")?$(P(cO),fe.ADD_DATA_URI_TAGS,xr):cO,_i=T(fe,"FORBID_CONTENTS")?$({},fe.FORBID_CONTENTS,xr):aO,Li=T(fe,"FORBID_TAGS")?$({},fe.FORBID_TAGS,xr):P({}),wn=T(fe,"FORBID_ATTR")?$({},fe.FORBID_ATTR,xr):P({}),wr=T(fe,"USE_PROFILES")?fe.USE_PROFILES:!1,ii=fe.ALLOW_ARIA_ATTR!==!1,qr=fe.ALLOW_DATA_ATTR!==!1,Jo=fe.ALLOW_UNKNOWN_PROTOCOLS||!1,vi=fe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,tn=fe.SAFE_FOR_TEMPLATES||!1,ut=fe.SAFE_FOR_XML!==!1,yt=fe.WHOLE_DOCUMENT||!1,_r=fe.RETURN_DOM||!1,bi=fe.RETURN_DOM_FRAGMENT||!1,Gn=fe.RETURN_TRUSTED_TYPE||!1,Un=fe.FORCE_BODY||!1,yr=fe.SANITIZE_DOM!==!1,Zo=fe.SANITIZE_NAMED_PROPS||!1,Hl=fe.KEEP_CONTENT!==!1,fr=fe.IN_PLACE||!1,Xn=fe.ALLOWED_URI_REGEXP||he,Ru=fe.NAMESPACE||$s,wm=fe.MATHML_TEXT_INTEGRATION_POINTS||wm,xm=fe.HTML_INTEGRATION_POINTS||xm,Vt=fe.CUSTOM_ELEMENT_HANDLING||{},fe.CUSTOM_ELEMENT_HANDLING&&dO(fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Vt.tagNameCheck=fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),fe.CUSTOM_ELEMENT_HANDLING&&dO(fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Vt.attributeNameCheck=fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),fe.CUSTOM_ELEMENT_HANDLING&&typeof fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Vt.allowCustomizedBuiltInElements=fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tn&&(qr=!1),bi&&(_r=!0),wr&&(Ot=$({},O),Kt=[],wr.html===!0&&($(Ot,N),$(Kt,M)),wr.svg===!0&&($(Ot,F),$(Kt,K),$(Kt,Q)),wr.svgFilters===!0&&($(Ot,B),$(Kt,K),$(Kt,Q)),wr.mathMl===!0&&($(Ot,W),$(Kt,J),$(Kt,Q))),fe.ADD_TAGS&&(Ot===Qn&&(Ot=P(Ot)),$(Ot,fe.ADD_TAGS,xr)),fe.ADD_ATTR&&(Kt===Wi&&(Kt=P(Kt)),$(Kt,fe.ADD_ATTR,xr)),fe.ADD_URI_SAFE_ATTR&&$(o0,fe.ADD_URI_SAFE_ATTR,xr),fe.FORBID_CONTENTS&&(_i===aO&&(_i=P(_i)),$(_i,fe.FORBID_CONTENTS,xr)),Hl&&(Ot["#text"]=!0),yt&&$(Ot,["html","head","body"]),Ot.table&&($(Ot,["tbody"]),delete Li.tbody),fe.TRUSTED_TYPES_POLICY){if(typeof fe.TRUSTED_TYPES_POLICY.createHTML!="function")throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof fe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Dt=fe.TRUSTED_TYPES_POLICY,dn=Dt.createHTML("")}else Dt===void 0&&(Dt=Ne(lt,Te)),Dt!==null&&typeof dn=="string"&&(dn=Dt.createHTML(""));o&&o(fe),Fu=fe}},fO=$({},[...F,...B,...G]),hO=$({},[...W,...Y]),_ue=function(fe){let He=Lt(fe);(!He||!He.tagName)&&(He={namespaceURI:Ru,tagName:"template"});const at=m(fe.tagName),In=m(He.tagName);return a0[fe.namespaceURI]?fe.namespaceURI===ym?He.namespaceURI===$s?at==="svg":He.namespaceURI===_m?at==="svg"&&(In==="annotation-xml"||wm[In]):!!fO[at]:fe.namespaceURI===_m?He.namespaceURI===$s?at==="math":He.namespaceURI===ym?at==="math"&&xm[In]:!!hO[at]:fe.namespaceURI===$s?He.namespaceURI===ym&&!xm[In]||He.namespaceURI===_m&&!wm[In]?!1:!hO[at]&&(gue[at]||!fO[at]):!!(zf==="application/xhtml+xml"&&a0[fe.namespaceURI]):!1},Xo=function(fe){p(Ie.removed,{element:fe});try{Lt(fe).removeChild(fe)}catch{en(fe)}},Gl=function(fe,He){try{p(Ie.removed,{attribute:He.getAttributeNode(fe),from:He})}catch{p(Ie.removed,{attribute:null,from:He})}if(He.removeAttribute(fe),fe==="is")if(_r||bi)try{Xo(He)}catch{}else try{He.setAttribute(fe,"")}catch{}},pO=function(fe){let He=null,at=null;if(Un)fe="<remove></remove>"+fe;else{const sr=b(fe,/^[\r\n\t ]+/);at=sr&&sr[0]}zf==="application/xhtml+xml"&&Ru===$s&&(fe='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+fe+"</body></html>");const In=Dt?Dt.createHTML(fe):fe;if(Ru===$s)try{He=new Ke().parseFromString(In,zf)}catch{}if(!He||!He.documentElement){He=fn.createDocument(Ru,"template",null);try{He.documentElement.innerHTML=s0?dn:In}catch{}}const Hr=He.body||He.documentElement;return fe&&at&&Hr.insertBefore(ze.createTextNode(at),Hr.childNodes[0]||null),Ru===$s?Zt.call(He,yt?"html":"body")[0]:yt?He.documentElement:Hr},gO=function(fe){return Fn.call(fe.ownerDocument||fe,fe,Qe.SHOW_ELEMENT|Qe.SHOW_COMMENT|Qe.SHOW_TEXT|Qe.SHOW_PROCESSING_INSTRUCTION|Qe.SHOW_CDATA_SECTION,null)},c0=function(fe){return fe instanceof Fe&&(typeof fe.nodeName!="string"||typeof fe.textContent!="string"||typeof fe.removeChild!="function"||!(fe.attributes instanceof Le)||typeof fe.removeAttribute!="function"||typeof fe.setAttribute!="function"||typeof fe.namespaceURI!="string"||typeof fe.insertBefore!="function"||typeof fe.hasChildNodes!="function")},mO=function(fe){return typeof Ae=="function"&&fe instanceof Ae};function Is(ct,fe,He){d(ct,at=>{at.call(Ie,fe,He,Fu)})}const vO=function(fe){let He=null;if(Is(kt.beforeSanitizeElements,fe,null),c0(fe))return Xo(fe),!0;const at=xr(fe.nodeName);if(Is(kt.uponSanitizeElement,fe,{tagName:at,allowedTags:Ot}),ut&&fe.hasChildNodes()&&!mO(fe.firstElementChild)&&E(/<[/\w!]/g,fe.innerHTML)&&E(/<[/\w!]/g,fe.textContent)||fe.nodeType===_e.progressingInstruction||ut&&fe.nodeType===_e.comment&&E(/<[/\w]/g,fe.data))return Xo(fe),!0;if(!Ot[at]||Li[at]){if(!Li[at]&&_O(at)&&(Vt.tagNameCheck instanceof RegExp&&E(Vt.tagNameCheck,at)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(at)))return!1;if(Hl&&!_i[at]){const In=Lt(fe)||fe.parentNode,Hr=Gt(fe)||fe.childNodes;if(Hr&&In){const sr=Hr.length;for(let yi=sr-1;yi>=0;--yi){const Ps=Nt(Hr[yi],!0);Ps.__removalCount=(fe.__removalCount||0)+1,In.insertBefore(Ps,yn(fe))}}}return Xo(fe),!0}return fe instanceof st&&!_ue(fe)||(at==="noscript"||at==="noembed"||at==="noframes")&&E(/<\/no(script|embed|frames)/i,fe.innerHTML)?(Xo(fe),!0):(tn&&fe.nodeType===_e.text&&(He=fe.textContent,d([Zn,Lr,mi],In=>{He=y(He,In," ")}),fe.textContent!==He&&(p(Ie.removed,{element:fe.cloneNode()}),fe.textContent=He)),Is(kt.afterSanitizeElements,fe,null),!1)},bO=function(fe,He,at){if(yr&&(He==="id"||He==="name")&&(at in ze||at in bue))return!1;if(!(qr&&!wn[He]&&E(pt,He))){if(!(ii&&E(ln,He))){if(!Kt[He]||wn[He]){if(!(_O(fe)&&(Vt.tagNameCheck instanceof RegExp&&E(Vt.tagNameCheck,fe)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(fe))&&(Vt.attributeNameCheck instanceof RegExp&&E(Vt.attributeNameCheck,He)||Vt.attributeNameCheck instanceof Function&&Vt.attributeNameCheck(He,fe))||He==="is"&&Vt.allowCustomizedBuiltInElements&&(Vt.tagNameCheck instanceof RegExp&&E(Vt.tagNameCheck,at)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(at))))return!1}else if(!o0[He]){if(!E(Xn,y(at,$n,""))){if(!((He==="src"||He==="xlink:href"||He==="href")&&fe!=="script"&&w(at,"data:")===0&&lO[fe])){if(!(Jo&&!E(Dn,y(at,$n,"")))){if(at)return!1}}}}}}return!0},_O=function(fe){return fe!=="annotation-xml"&&b(fe,Br)},yO=function(fe){Is(kt.beforeSanitizeAttributes,fe,null);const{attributes:He}=fe;if(!He||c0(fe))return;const at={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Kt,forceKeepAttr:void 0};let In=He.length;for(;In--;){const Hr=He[In],{name:sr,namespaceURI:yi,value:Ps}=Hr,Du=xr(sr),u0=Ps;let Or=sr==="value"?u0:S(u0);if(at.attrName=Du,at.attrValue=Or,at.keepAttr=!0,at.forceKeepAttr=void 0,Is(kt.uponSanitizeAttribute,fe,at),Or=at.attrValue,Zo&&(Du==="id"||Du==="name")&&(Gl(sr,fe),Or=Uf+Or),ut&&E(/((--!?|])>)|<\/(style|title|textarea)/i,Or)){Gl(sr,fe);continue}if(Du==="attributename"&&b(Or,"href")){Gl(sr,fe);continue}if(at.forceKeepAttr)continue;if(!at.keepAttr){Gl(sr,fe);continue}if(!vi&&E(/\/>/i,Or)){Gl(sr,fe);continue}tn&&d([Zn,Lr,mi],xO=>{Or=y(Or,xO," ")});const wO=xr(fe.nodeName);if(!bO(wO,Du,Or)){Gl(sr,fe);continue}if(Dt&&typeof lt=="object"&&typeof lt.getAttributeType=="function"&&!yi)switch(lt.getAttributeType(wO,Du)){case"TrustedHTML":{Or=Dt.createHTML(Or);break}case"TrustedScriptURL":{Or=Dt.createScriptURL(Or);break}}if(Or!==u0)try{yi?fe.setAttributeNS(yi,sr,Or):fe.setAttribute(sr,Or),c0(fe)?Xo(fe):h(Ie.removed)}catch{Gl(sr,fe)}}Is(kt.afterSanitizeAttributes,fe,null)},yue=function ct(fe){let He=null;const at=gO(fe);for(Is(kt.beforeSanitizeShadowDOM,fe,null);He=at.nextNode();)Is(kt.uponSanitizeShadowNode,He,null),vO(He),yO(He),He.content instanceof ye&&ct(He.content);Is(kt.afterSanitizeShadowDOM,fe,null)};return Ie.sanitize=function(ct){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},He=null,at=null,In=null,Hr=null;if(s0=!ct,s0&&(ct="<!-->"),typeof ct!="string"&&!mO(ct))if(typeof ct.toString=="function"){if(ct=ct.toString(),typeof ct!="string")throw C("dirty is not a string, aborting")}else throw C("toString is not a function");if(!Ie.isSupported)return ct;if(Mn||l0(fe),Ie.removed=[],typeof ct=="string"&&(fr=!1),fr){if(ct.nodeName){const Ps=xr(ct.nodeName);if(!Ot[Ps]||Li[Ps])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(ct instanceof Ae)He=pO("<!---->"),at=He.ownerDocument.importNode(ct,!0),at.nodeType===_e.element&&at.nodeName==="BODY"||at.nodeName==="HTML"?He=at:He.appendChild(at);else{if(!_r&&!tn&&!yt&&ct.indexOf("<")===-1)return Dt&&Gn?Dt.createHTML(ct):ct;if(He=pO(ct),!He)return _r?null:Gn?dn:""}He&&Un&&Xo(He.firstChild);const sr=gO(fr?ct:He);for(;In=sr.nextNode();)vO(In),yO(In),In.content instanceof ye&&yue(In.content);if(fr)return ct;if(_r){if(bi)for(Hr=hn.call(He.ownerDocument);He.firstChild;)Hr.appendChild(He.firstChild);else Hr=He;return(Kt.shadowroot||Kt.shadowrootmode)&&(Hr=Ut.call(Ce,Hr,!0)),Hr}let yi=yt?He.outerHTML:He.innerHTML;return yt&&Ot["!doctype"]&&He.ownerDocument&&He.ownerDocument.doctype&&He.ownerDocument.doctype.name&&E(ue,He.ownerDocument.doctype.name)&&(yi="<!DOCTYPE "+He.ownerDocument.doctype.name+`>
|
|
147
|
+
`,ep=4,oo=4,Nc=0,Js=ep,Tr=ep+oo,Tb="XML:com.adobe.xmp\0",Ab="tEXt",Ya="iTXt",tp="zTXt",wE="pHYs",xE="tIME",MU="eXIf",UU="iCCP";function zU(t){return!!t&&xt(t,0,Eb.length)===Eb}function jU(t,e){const r={hasAppMarkers:!1};let i=Eb.length;for(;i+ep+oo<=t.byteLength;){if(BU(t,i))r.hasAppMarkers=!0,r.pngHeaderOffset=i+Tr;else if(qU(t,i)){const o=WU(t,i);o!==void 0&&(r.hasAppMarkers=!0,r.xmpChunks=[{dataOffset:o,length:t.getUint32(i+Nc)-(o-(i+Tr))}])}else if(HU(t,i,e)){r.hasAppMarkers=!0;const o=xt(t,i+Js,oo);r.pngTextChunks||(r.pngTextChunks=[]),r.pngTextChunks.push({length:t.getUint32(i+Nc),type:o,offset:i+Tr})}else if(GU(t,i))r.hasAppMarkers=!0,r.tiffHeaderOffset=i+Tr;else if(e&&KU(t,i)){r.hasAppMarkers=!0;const o=t.getUint32(i+Nc),s=i+Tr,{profileName:a,compressionMethod:c,compressedProfileOffset:u}=YU(t,s);r.iccChunks||(r.iccChunks=[]),r.iccChunks.push({offset:u,length:o-(u-s),chunkNumber:1,chunksTotal:1,profileName:a,compressionMethod:c})}else VU(t,i)&&(r.hasAppMarkers=!0,r.pngChunkOffsets||(r.pngChunkOffsets=[]),r.pngChunkOffsets.push(i+Nc));i+=t.getUint32(i+Nc)+ep+oo+4}return r}function BU(t,e){return xt(t,e+Js,oo)==="IHDR"}function qU(t,e){return xt(t,e+Js,oo)===Ya&&xt(t,e+Tr,Tb.length)===Tb}function HU(t,e,n){const r=xt(t,e+Js,oo);return r===Ab||r===Ya||r===tp&&n}function GU(t,e){return xt(t,e+Js,oo)===MU}function KU(t,e){return xt(t,e+Js,oo)===UU}function VU(t,e){const n=[wE,xE],r=xt(t,e+Js,oo);return n.includes(r)}function WU(t,e){e+=Tr+Tb.length+1+1;let i=0;for(;i<2&&e<t.byteLength;)t.getUint8(e)===0&&i++,e++;if(!(i<2))return e}function YU(t,e){const i=Pc(t,e);e+=i.length+1;const o=t.getUint8(e);return e+=1,{profileName:i,compressionMethod:o,compressedProfileOffset:e}}function JU(t,e){return t.getUint32(e+4)}function ZU(t,e,n,r){const{offsets:o,sizes:s}=XU(e,n+3),a=t.getUint8(o.offsetSize)>>4;s.item.extent.extentOffset=a;const c=t.getUint8(o.lengthSize)&15;s.item.extent.extentLength=c;const u=t.getUint8(o.baseOffsetSize)>>4;s.item.baseOffset=u;const d=QU(t,o.indexSize,e);s.item.extent.extentIndex=d!==void 0?d:0;const f=ez(t,o.itemCount,e);return{type:"iloc",items:tz(t,e,o,s,a,c,d,f),length:r}}function XU(t,e){const n={item:{dataReferenceIndex:2,extentCount:2,extent:{}}};t<2?(n.itemCount=2,n.item.itemId=2):t===2&&(n.itemCount=4,n.item.itemId=4),t===1||t===2?n.item.constructionMethod=2:n.item.constructionMethod=0;const r={offsetSize:e,lengthSize:e,baseOffsetSize:e+1,indexSize:e+1};return r.itemCount=e+2,r.items=r.itemCount+n.itemCount,r.item={itemId:0},r.item.constructionMethod=r.item.itemId+n.item.itemId,r.item.dataReferenceIndex=r.item.constructionMethod+n.item.constructionMethod,{offsets:r,sizes:n}}function QU(t,e,n){if(n===1||n===2)return t.getUint8(e)&15}function ez(t,e,n){if(n<2)return t.getUint16(e);if(n===2)return t.getUint32(e)}function tz(t,e,n,r,i,o,s,a){if(a===void 0)return[];const c=[];let u=n.items;for(let d=0;d<a;d++){const f={extents:[]};f.itemId=nz(t,u,e),u+=r.item.itemId,f.constructionMethod=e===1||e===2?t.getUint16(u)&15:void 0,u+=r.item.constructionMethod,f.dataReferenceIndex=t.getUint16(u),u+=r.item.dataReferenceIndex,f.baseOffset=np(t,u,r.item.baseOffset),u+=r.item.baseOffset,f.extentCount=t.getUint16(u),u+=r.item.extentCount;for(let h=0;h<f.extentCount;h++){const p={};p.extentIndex=rz(t,e,u,s),u+=r.item.extent.extentIndex,p.extentOffset=np(t,u,i),u+=r.item.extent.extentOffset,p.extentLength=np(t,u,o),u+=r.item.extent.extentLength,f.extents.push(p)}c.push(f)}return c}function nz(t,e,n){if(n<2)return t.getUint16(e);if(n===2)return t.getUint32(e)}function rz(t,e,n,r){if((e===1||e===2)&&r>0)return np(t,n,r)}function np(t,e,n){return n===4?t.getUint32(e):n===8?(console.warn("This file uses an 8-bit offset which is currently not supported by ExifReader. Contact the maintainer to get it fixed."),JU(t,e)):0}const iz=1718909296,oz=1768977008,sz=1835365473,az=1768714083,lz=1768517222,cz=1768842853,uz=1768973167,dz=1668246642,kE=1165519206,Cb=1835625829,fz=1970432288;function rp(t,e){const{length:o,contentOffset:s}=hz(t,e);if(o<8)return;const a=t.getUint32(e+4);if(a===iz)return Sz(t,s,o);if(a===oz)return Ez(t,e,s,o);if(a===uz)return Tz(t,e,s,o);if(a===dz)return Az(t,s,o);const c=t.getUint8(s);return a===sz?$z(t,e,s+1,o):a===az?ZU(t,c,s+1,o):a===lz?Iz(t,e,c,s+1,o):a===cz?Nz(t,e,c,s+1,o):{type:void 0,length:o}}function hz(t,e){const s=t.getUint32(e);return pz(s)?{length:t.byteLength-e,contentOffset:e+4+4}:gz(s)&&mz(t,e)?{length:t.getUint32(e+12),contentOffset:e+4+4+8}:{length:s,contentOffset:e+4+4}}function pz(t){return t===0}function gz(t){return t===1}function mz(t,e){return t.getUint32(e+8)===0}function SE(t){{const e={},n=vz(t);return n?(e.tiffHeaderOffset=bz(t,n),e.xmpChunks=wz(n),e.iccChunks=kz(n),e.hasAppMarkers=e.tiffHeaderOffset!==void 0||e.xmpChunks!==void 0||e.iccChunks!==void 0,e):{hasAppMarkers:!1}}}function vz(t){let r=0;for(;r+4+4<=t.byteLength;){const i=rp(t,r);if(i===void 0)break;if(i.type==="meta")return i;r+=i.length}}function bz(t,e){try{const n=_z(e).itemId,r=$b(e,n),i=r.baseOffset+r.extents[0].extentOffset;return yz(t,i)}catch{return}}function _z(t){return t.subBoxes.find(e=>e.type==="iinf").itemInfos.find(e=>e.itemType===kE)}function $b(t,e){return t.subBoxes.find(n=>n.type==="iloc").items.find(n=>n.itemId===e)}function yz(t,e){return e+4+t.getUint32(e)}function wz(t){try{const e=xz(t).itemId,n=$b(t,e),r=$b(t,e).extents[0];return[{dataOffset:n.baseOffset+r.extentOffset,length:r.extentLength}]}catch{return}}function xz(t){return t.subBoxes.find(e=>e.type==="iinf").itemInfos.find(e=>e.itemType===Cb&&e.contentType==="application/rdf+xml")}function kz(t){try{const e=t.subBoxes.find(n=>n.type==="iprp").subBoxes.find(n=>n.type==="ipco").properties.find(n=>n.type==="colr").icc;if(e)return[e]}catch{}}function Sz(t,e,n){return{type:"ftyp",majorBrand:xt(t,e,4),length:n}}function Ez(t,e,n,r){return{type:"iprp",subBoxes:ip(t,n,r-(n-e)),length:r}}function Tz(t,e,n,r){return{type:"ipco",properties:ip(t,n,r-(n-e)),length:r}}function Az(t,e,n){return{type:"colr",icc:Cz(t,e),length:n}}function Cz(t,e){const r=xt(t,e,4);if(!(r!=="prof"&&r!=="rICC"))return{offset:e+4,length:t.getUint32(e+4),chunkNumber:1,chunksTotal:1}}function $z(t,e,n,r){return{type:"meta",subBoxes:ip(t,n+3,r-(n+3-e)),length:r}}function ip(t,e,n){const r=[kE,Cb],i=[];let o=e;for(;o<e+n;){const s=rp(t,o);if(s===void 0)break;s.type!==void 0&&(s.itemType===void 0||r.indexOf(s.itemType)!==-1)&&i.push(s),o+=s.length}return i}function Iz(t,e,n,r,i){const{offsets:o}=Pz(n,r);return{type:"iinf",itemInfos:ip(t,o.itemInfos,i-(o.itemInfos-e)),length:i}}function Pz(t,e){const r={entryCount:e+3},i={};return t===0?i.entryCount=2:i.entryCount=4,r.itemInfos=r.entryCount+i.entryCount,{offsets:r}}function Nz(t,e,n,r,i){r+=3;const s={type:"infe",length:i};return(n===0||n===1)&&(s.itemId=t.getUint16(r),r+=2,s.itemProtectionIndex=t.getUint16(r),r+=2,s.itemName=Pc(t,r),r+=s.itemName.length+1),n>=2&&(n===2?(s.itemId=t.getUint16(r),r+=2):n===3&&(s.itemId=t.getUint32(r),r+=4),s.itemProtectionIndex=t.getUint16(r),r+=2,s.itemType=t.getUint32(r),r+=4,s.itemName=Pc(t,r),r+=s.itemName.length+1,s.itemType===Cb?(s.contentType=Pc(t,r),r+=s.contentType.length+1,e+i>r&&(s.contentEncoding=Pc(t,r),r+=s.contentEncoding.length+1)):s.itemType===fz&&(s.itemUri=Pc(t,r),r+=s.itemUri.length+1)),s}const EE={isHeicFile:Lz,findHeicOffsets:Oz};function Lz(t){if(!t)return!1;const e=["heic","heix","hevc","hevx","heim","heis","hevm","hevs","mif1"];try{const n=rp(t,0);return n&&e.indexOf(n.majorBrand)!==-1}catch{return!1}}function Oz(t){return SE(t)}const TE={isAvifFile:Rz,findAvifOffsets:Fz};function Rz(t){if(!t)return!1;try{const e=rp(t,0);return e&&e.majorBrand==="avif"}catch{return!1}}function Fz(t){return SE(t)}const AE={isWebpFile:Dz,findOffsets:Mz};function Dz(t){const n="RIFF",i="WEBP";return!!t&&xt(t,0,n.length)===n&&xt(t,8,i.length)===i}function Mz(t){const r="Exif\0\0";let o=12,s=!1,a,c,u,d;for(;o+8<t.byteLength;){const f=xt(t,o,4),h=t.getUint32(o+4,!0);f==="EXIF"?(s=!0,xt(t,o+8,r.length)===r?a=o+8+r.length:a=o+8):f==="XMP "?(s=!0,c=[{dataOffset:o+8,length:h}]):f==="ICCP"?(s=!0,u=[{offset:o+8,length:h,chunkNumber:1,chunksTotal:1}]):f==="VP8X"&&(s=!0,d=o+8),o+=8+(h%2===0?h:h+1)}return{hasAppMarkers:s,tiffHeaderOffset:a,xmpChunks:c,iccChunks:u,vp8xChunkOffset:d}}const CE={isGifFile:jz,findOffsets:Bz},Uz=6,zz=["GIF87a","GIF89a"];function jz(t){return!!t&&zz.includes(xt(t,0,Uz))}function Bz(){return{gifHeaderOffset:0}}const $E={isXMLFile:qz,findOffsets:Hz},IE=0,PE="<?xpacket begin";function qz(t){return!!t&&xt(t,IE,PE.length)===PE}function Hz(t){const e=[];return e.push({dataOffset:IE,length:t.byteLength}),{xmpChunks:e}}const Gz={parseAppMarkers:Kz};function Kz(t,e){if(rE.isTiffFile(t))return Zs(rE.findTiffOffsets(),"tiff","TIFF");if(iE.isJpegFile(t))return Zs(iE.findJpegOffsets(t),"jpeg","JPEG");if(yE.isPngFile(t))return Zs(yE.findPngOffsets(t,e),"png","PNG");if(EE.isHeicFile(t))return Zs(EE.findHeicOffsets(t),"heic","HEIC");if(TE.isAvifFile(t))return Zs(TE.findAvifOffsets(t),"avif","AVIF");if(AE.isWebpFile(t))return Zs(AE.findOffsets(t),"webp","WebP");if(CE.isGifFile(t))return Zs(CE.findOffsets(t),"gif","GIF");if($E.isXMLFile(t))return Zs($E.findOffsets(t),"xml","XML");throw new Error("Invalid image format")}function Zs(t,e,n){return Et({},t,{fileType:{value:e,description:n}})}const vt={ApertureValue:t=>Math.pow(Math.sqrt(2),t[0]/t[1]).toFixed(2),ColorSpace(t){return t===1?"sRGB":t===65535?"Uncalibrated":"Unknown"},ComponentsConfiguration(t){return t.map(e=>{if(e===49)return"Y";if(e===50)return"Cb";if(e===51)return"Cr";if(e===52)return"R";if(e===53)return"G";if(e===54)return"B"}).join("")},Contrast(t){return t===0?"Normal":t===1?"Soft":t===2?"Hard":"Unknown"},CustomRendered(t){return t===0?"Normal process":t===1?"Custom process":"Unknown"},ExposureMode(t){return t===0?"Auto exposure":t===1?"Manual exposure":t===2?"Auto bracket":"Unknown"},ExposureProgram(t){return t===0?"Undefined":t===1?"Manual":t===2?"Normal program":t===3?"Aperture priority":t===4?"Shutter priority":t===5?"Creative program":t===6?"Action program":t===7?"Portrait mode":t===8?"Landscape mode":t===9?"Bulb":"Unknown"},ExposureTime(t){if(t[0]/t[1]>.25){const e=t[0]/t[1];return Number.isInteger(e)?""+e:e.toFixed(1)}return t[0]!==0?`1/${Math.round(t[1]/t[0])}`:`0/${t[1]}`},FNumber:t=>`f/${Number(t[0]/t[1]).toFixed(1)}`,FocalLength:t=>t[0]/t[1]+" mm",FocalPlaneResolutionUnit(t){return t===2?"inches":t===3?"centimeters":t===4?"millimeters":"Unknown"},LightSource:t=>t===1?"Daylight":t===2?"Fluorescent":t===3?"Tungsten (incandescent light)":t===4?"Flash":t===9?"Fine weather":t===10?"Cloudy weather":t===11?"Shade":t===12?"Daylight fluorescent (D 5700 – 7100K)":t===13?"Day white fluorescent (N 4600 – 5400K)":t===14?"Cool white fluorescent (W 3900 – 4500K)":t===15?"White fluorescent (WW 3200 – 3700K)":t===17?"Standard light A":t===18?"Standard light B":t===19?"Standard light C":t===20?"D55":t===21?"D65":t===22?"D75":t===23?"D50":t===24?"ISO studio tungsten":t===255?"Other light source":"Unknown",MeteringMode(t){return t===1?"Average":t===2?"CenterWeightedAverage":t===3?"Spot":t===4?"MultiSpot":t===5?"Pattern":t===6?"Partial":t===255?"Other":"Unknown"},ResolutionUnit(t){return t===2?"inches":t===3?"centimeters":"Unknown"},Saturation(t){return t===0?"Normal":t===1?"Low saturation":t===2?"High saturation":"Unknown"},FocalLengthIn35mmFilm(t){return t===0?"Unknown":t+" mm"},SceneCaptureType(t){return t===0?"Standard":t===1?"Landscape":t===2?"Portrait":t===3?"Night scene":"Unknown"},Sharpness(t){return t===0?"Normal":t===1?"Soft":t===2?"Hard":"Unknown"},ShutterSpeedValue(t){const e=Math.pow(2,t[0]/t[1]);return e<=1?`${Math.round(1/e)}`:`1/${Math.round(e)}`},WhiteBalance(t){return t===0?"Auto white balance":t===1?"Manual white balance":"Unknown"},XResolution:t=>""+Math.round(t[0]/t[1]),YResolution:t=>""+Math.round(t[0]/t[1])},NE={11:"ProcessingSoftware",254:{name:"SubfileType",description:t=>({0:"Full-resolution image",1:"Reduced-resolution image",2:"Single page of multi-page image",3:"Single page of multi-page reduced-resolution image",4:"Transparency mask",5:"Transparency mask of reduced-resolution image",6:"Transparency mask of multi-page image",7:"Transparency mask of reduced-resolution multi-page image",65537:"Alternate reduced-resolution image",4294967295:"Invalid"})[t]||"Unknown"},255:{name:"OldSubfileType",description:t=>({0:"Full-resolution image",1:"Reduced-resolution image",2:"Single page of multi-page image"})[t]||"Unknown"},256:"ImageWidth",257:"ImageLength",258:"BitsPerSample",259:"Compression",262:"PhotometricInterpretation",263:{name:"Thresholding",description:t=>({1:"No dithering or halftoning",2:"Ordered dither or halfton",3:"Randomized dither"})[t]||"Unknown"},264:"CellWidth",265:"CellLength",266:{name:"FillOrder",description:t=>({1:"Normal",2:"Reversed"})[t]||"Unknown"},269:"DocumentName",270:"ImageDescription",271:"Make",272:"Model",273:"StripOffsets",274:{name:"Orientation",description:t=>t===1?"top-left":t===2?"top-right":t===3?"bottom-right":t===4?"bottom-left":t===5?"left-top":t===6?"right-top":t===7?"right-bottom":t===8?"left-bottom":"Undefined"},277:"SamplesPerPixel",278:"RowsPerStrip",279:"StripByteCounts",280:"MinSampleValue",281:"MaxSampleValue",282:{name:"XResolution",description:vt.XResolution},283:{name:"YResolution",description:vt.YResolution},284:"PlanarConfiguration",285:"PageName",286:{name:"XPosition",description:t=>""+Math.round(t[0]/t[1])},287:{name:"YPosition",description:t=>""+Math.round(t[0]/t[1])},290:{name:"GrayResponseUnit",description:t=>({1:"0.1",2:"0.001",3:"0.0001",4:"1e-05",5:"1e-06"})[t]||"Unknown"},296:{name:"ResolutionUnit",description:vt.ResolutionUnit},297:"PageNumber",301:"TransferFunction",305:"Software",306:"DateTime",315:"Artist",316:"HostComputer",317:"Predictor",318:{name:"WhitePoint",description:t=>t.map(e=>`${e[0]}/${e[1]}`).join(", ")},319:{name:"PrimaryChromaticities",description:t=>t.map(e=>`${e[0]}/${e[1]}`).join(", ")},321:"HalftoneHints",322:"TileWidth",323:"TileLength",330:"A100DataOffset",332:{name:"InkSet",description:t=>({1:"CMYK",2:"Not CMYK"})[t]||"Unknown"},337:"TargetPrinter",338:{name:"ExtraSamples",description:t=>({0:"Unspecified",1:"Associated Alpha",2:"Unassociated Alpha"})[t]||"Unknown"},339:{name:"SampleFormat",description:t=>{const e={1:"Unsigned",2:"Signed",3:"Float",4:"Undefined",5:"Complex int",6:"Complex float"};return Array.isArray(t)?t.map(n=>e[n]||"Unknown").join(", "):"Unknown"}},513:"JPEGInterchangeFormat",514:"JPEGInterchangeFormatLength",529:{name:"YCbCrCoefficients",description:t=>t.map(e=>""+e[0]/e[1]).join("/")},530:"YCbCrSubSampling",531:{name:"YCbCrPositioning",description:t=>t===1?"centered":t===2?"co-sited":"undefined "+t},532:{name:"ReferenceBlackWhite",description:t=>t.map(e=>""+e[0]/e[1]).join(", ")},700:"ApplicationNotes",18246:"Rating",18249:"RatingPercent",33432:{name:"Copyright",description:t=>t.join("; ")},33550:"PixelScale",33723:"IPTC-NAA",33920:"IntergraphMatrix",33922:"ModelTiePoint",34118:"SEMInfo",34264:"ModelTransform",34377:"PhotoshopSettings",34665:"Exif IFD Pointer",34675:"ICC_Profile",34735:"GeoTiffDirectory",34736:"GeoTiffDoubleParams",34737:"GeoTiffAsciiParams",34853:"GPS Info IFD Pointer",40091:{name:"XPTitle",description:pd},40092:{name:"XPComment",description:pd},40093:{name:"XPAuthor",description:pd},40094:{name:"XPKeywords",description:pd},40095:{name:"XPSubject",description:pd},42112:"GDALMetadata",42113:"GDALNoData",50341:"PrintIM",50707:"DNGBackwardVersion",50708:"UniqueCameraModel",50709:"LocalizedCameraModel",50721:"ColorMatrix1",50722:"ColorMatrix2",50723:"CameraCalibration1",50724:"CameraCalibration2",50725:"ReductionMatrix1",50726:"ReductionMatrix2",50727:"AnalogBalance",50728:"AsShotNeutral",50729:"AsShotWhiteXY",50730:"BaselineExposure",50731:"BaselineNoise",50732:"BaselineSharpness",50734:"LinearResponseLimit",50735:"CameraSerialNumber",50736:"DNGLensInfo",50739:"ShadowScale",50741:{name:"MakerNoteSafety",description:t=>({0:"Unsafe",1:"Safe"})[t]||"Unknown"},50778:{name:"CalibrationIlluminant1",description:vt.LightSource},50779:{name:"CalibrationIlluminant2",description:vt.LightSource},50781:"RawDataUniqueID",50827:"OriginalRawFileName",50828:"OriginalRawFileData",50831:"AsShotICCProfile",50832:"AsShotPreProfileMatrix",50833:"CurrentICCProfile",50834:"CurrentPreProfileMatrix",50879:"ColorimetricReference",50885:"SRawType",50898:"PanasonicTitle",50899:"PanasonicTitle2",50931:"CameraCalibrationSig",50932:"ProfileCalibrationSig",50933:"ProfileIFD",50934:"AsShotProfileName",50936:"ProfileName",50937:"ProfileHueSatMapDims",50938:"ProfileHueSatMapData1",50939:"ProfileHueSatMapData2",50940:"ProfileToneCurve",50941:{name:"ProfileEmbedPolicy",description:t=>({0:"Allow Copying",1:"Embed if Used",2:"Never Embed",3:"No Restrictions"})[t]||"Unknown"},50942:"ProfileCopyright",50964:"ForwardMatrix1",50965:"ForwardMatrix2",50966:"PreviewApplicationName",50967:"PreviewApplicationVersion",50968:"PreviewSettingsName",50969:"PreviewSettingsDigest",50970:{name:"PreviewColorSpace",description:t=>({1:"Gray Gamma 2.2",2:"sRGB",3:"Adobe RGB",4:"ProPhoto RGB"})[t]||"Unknown"},50971:"PreviewDateTime",50972:"RawImageDigest",50973:"OriginalRawFileDigest",50981:"ProfileLookTableDims",50982:"ProfileLookTableData",51043:"TimeCodes",51044:"FrameRate",51058:"TStop",51081:"ReelName",51089:"OriginalDefaultFinalSize",51090:"OriginalBestQualitySize",51091:"OriginalDefaultCropSize",51105:"CameraLabel",51107:{name:"ProfileHueSatMapEncoding",description:t=>({0:"Linear",1:"sRGB"})[t]||"Unknown"},51108:{name:"ProfileLookTableEncoding",description:t=>({0:"Linear",1:"sRGB"})[t]||"Unknown"},51109:"BaselineExposureOffset",51110:{name:"DefaultBlackRender",description:t=>({0:"Auto",1:"None"})[t]||"Unknown"},51111:"NewRawImageDigest",51112:"RawToPreviewGain"};function pd(t){return new TextDecoder("utf-16").decode(new Uint8Array(t)).replace(/\u0000+$/,"")}const Vz={33434:{name:"ExposureTime",description:vt.ExposureTime},33437:{name:"FNumber",description:vt.FNumber},34850:{name:"ExposureProgram",description:vt.ExposureProgram},34852:"SpectralSensitivity",34855:"ISOSpeedRatings",34856:{name:"OECF",description:()=>"[Raw OECF table data]"},34858:"TimeZoneOffset",34859:"SelfTimerMode",34864:{name:"SensitivityType",description:t=>({1:"Standard Output Sensitivity",2:"Recommended Exposure Index",3:"ISO Speed",4:"Standard Output Sensitivity and Recommended Exposure Index",5:"Standard Output Sensitivity and ISO Speed",6:"Recommended Exposure Index and ISO Speed",7:"Standard Output Sensitivity, Recommended Exposure Index and ISO Speed"})[t]||"Unknown"},34865:"StandardOutputSensitivity",34866:"RecommendedExposureIndex",34867:"ISOSpeed",34868:"ISOSpeedLatitudeyyy",34869:"ISOSpeedLatitudezzz",36864:{name:"ExifVersion",description:t=>nr(t)},36867:"DateTimeOriginal",36868:"DateTimeDigitized",36873:"GooglePlusUploadCode",36880:"OffsetTime",36881:"OffsetTimeOriginal",36882:"OffsetTimeDigitized",37121:{name:"ComponentsConfiguration",description:vt.ComponentsConfiguration},37122:"CompressedBitsPerPixel",37377:{name:"ShutterSpeedValue",description:vt.ShutterSpeedValue},37378:{name:"ApertureValue",description:vt.ApertureValue},37379:"BrightnessValue",37380:"ExposureBiasValue",37381:{name:"MaxApertureValue",description:t=>Math.pow(Math.sqrt(2),t[0]/t[1]).toFixed(2)},37382:{name:"SubjectDistance",description:t=>t[0]/t[1]+" m"},37383:{name:"MeteringMode",description:vt.MeteringMode},37384:{name:"LightSource",description:vt.LightSource},37385:{name:"Flash",description:t=>t===0?"Flash did not fire":t===1?"Flash fired":t===5?"Strobe return light not detected":t===7?"Strobe return light detected":t===9?"Flash fired, compulsory flash mode":t===13?"Flash fired, compulsory flash mode, return light not detected":t===15?"Flash fired, compulsory flash mode, return light detected":t===16?"Flash did not fire, compulsory flash mode":t===24?"Flash did not fire, auto mode":t===25?"Flash fired, auto mode":t===29?"Flash fired, auto mode, return light not detected":t===31?"Flash fired, auto mode, return light detected":t===32?"No flash function":t===65?"Flash fired, red-eye reduction mode":t===69?"Flash fired, red-eye reduction mode, return light not detected":t===71?"Flash fired, red-eye reduction mode, return light detected":t===73?"Flash fired, compulsory flash mode, red-eye reduction mode":t===77?"Flash fired, compulsory flash mode, red-eye reduction mode, return light not detected":t===79?"Flash fired, compulsory flash mode, red-eye reduction mode, return light detected":t===89?"Flash fired, auto mode, red-eye reduction mode":t===93?"Flash fired, auto mode, return light not detected, red-eye reduction mode":t===95?"Flash fired, auto mode, return light detected, red-eye reduction mode":"Unknown"},37386:{name:"FocalLength",description:vt.FocalLength},37393:"ImageNumber",37394:{name:"SecurityClassification",description:t=>({C:"Confidential",R:"Restricted",S:"Secret",T:"Top Secret",U:"Unclassified"})[t]||"Unknown"},37395:"ImageHistory",37396:{name:"SubjectArea",description:t=>t.length===2?`Location; X: ${t[0]}, Y: ${t[1]}`:t.length===3?`Circle; X: ${t[0]}, Y: ${t[1]}, diameter: ${t[2]}`:t.length===4?`Rectangle; X: ${t[0]}, Y: ${t[1]}, width: ${t[2]}, height: ${t[3]}`:"Unknown"},37500:{name:"MakerNote",description:()=>"[Raw maker note data]"},37510:{name:"UserComment",description:yb},37520:"SubSecTime",37521:"SubSecTimeOriginal",37522:"SubSecTimeDigitized",37724:"ImageSourceData",37888:{name:"AmbientTemperature",description:t=>t[0]/t[1]+" °C"},37889:{name:"Humidity",description:t=>t[0]/t[1]+" %"},37890:{name:"Pressure",description:t=>t[0]/t[1]+" hPa"},37891:{name:"WaterDepth",description:t=>t[0]/t[1]+" m"},37892:{name:"Acceleration",description:t=>t[0]/t[1]+" mGal"},37893:{name:"CameraElevationAngle",description:t=>t[0]/t[1]+" °"},40960:{name:"FlashpixVersion",description:t=>t.map(e=>String.fromCharCode(e)).join("")},40961:{name:"ColorSpace",description:vt.ColorSpace},40962:"PixelXDimension",40963:"PixelYDimension",40964:"RelatedSoundFile",40965:"Interoperability IFD Pointer",41483:"FlashEnergy",41484:{name:"SpatialFrequencyResponse",description:()=>"[Raw SFR table data]"},41486:"FocalPlaneXResolution",41487:"FocalPlaneYResolution",41488:{name:"FocalPlaneResolutionUnit",description:vt.FocalPlaneResolutionUnit},41492:{name:"SubjectLocation",description:([t,e])=>`X: ${t}, Y: ${e}`},41493:"ExposureIndex",41495:{name:"SensingMethod",description:t=>t===1?"Undefined":t===2?"One-chip color area sensor":t===3?"Two-chip color area sensor":t===4?"Three-chip color area sensor":t===5?"Color sequential area sensor":t===7?"Trilinear sensor":t===8?"Color sequential linear sensor":"Unknown"},41728:{name:"FileSource",description:t=>t===3?"DSC":"Unknown"},41729:{name:"SceneType",description:t=>t===1?"A directly photographed image":"Unknown"},41730:{name:"CFAPattern",description:()=>"[Raw CFA pattern table data]"},41985:{name:"CustomRendered",description:vt.CustomRendered},41986:{name:"ExposureMode",description:vt.ExposureMode},41987:{name:"WhiteBalance",description:vt.WhiteBalance},41988:{name:"DigitalZoomRatio",description:t=>t[0]===0?"Digital zoom was not used":""+t[0]/t[1]},41989:{name:"FocalLengthIn35mmFilm",description:vt.FocalLengthIn35mmFilm},41990:{name:"SceneCaptureType",description:vt.SceneCaptureType},41991:{name:"GainControl",description:t=>t===0?"None":t===1?"Low gain up":t===2?"High gain up":t===3?"Low gain down":t===4?"High gain down":"Unknown"},41992:{name:"Contrast",description:vt.Contrast},41993:{name:"Saturation",description:vt.Saturation},41994:{name:"Sharpness",description:vt.Sharpness},41995:{name:"DeviceSettingDescription",description:()=>"[Raw device settings table data]"},41996:{name:"SubjectDistanceRange",description:t=>t===1?"Macro":t===2?"Close view":t===3?"Distant view":"Unknown"},42016:"ImageUniqueID",42032:"CameraOwnerName",42033:"BodySerialNumber",42034:{name:"LensSpecification",description:t=>{const e=parseFloat((t[0][0]/t[0][1]).toFixed(5)),n=parseFloat((t[1][0]/t[1][1]).toFixed(5)),r=`${e}-${n} mm`;if(t[3][1]===0)return`${r} f/?`;const i=1/(t[2][1]/t[2][1]/(t[3][0]/t[3][1]));return`${r} f/${parseFloat(i.toFixed(5))}`}},42035:"LensMake",42036:"LensModel",42037:"LensSerialNumber",42080:{name:"CompositeImage",description:t=>({1:"Not a Composite Image",2:"General Composite Image",3:"Composite Image Captured While Shooting"})[t]||"Unknown"},42081:"SourceImageNumberOfCompositeImage",42082:"SourceExposureTimesOfCompositeImage",42240:"Gamma",59932:"Padding",59933:"OffsetSchema",65e3:"OwnerName",65001:"SerialNumber",65002:"Lens",65100:"RawFile",65101:"Converter",65102:"WhiteBalance",65105:"Exposure",65106:"Shadows",65107:"Brightness",65108:"Contrast",65109:"Saturation",65110:"Sharpness",65111:"Smoothness",65112:"MoireFilter"},Wz={0:{name:"GPSVersionID",description:t=>t[0]===2&&t[1]===2&&t[2]===0&&t[3]===0?"Version 2.2":"Unknown"},1:{name:"GPSLatitudeRef",description:t=>{const e=t.join("");return e==="N"?"North latitude":e==="S"?"South latitude":"Unknown"}},2:{name:"GPSLatitude",description:Qh},3:{name:"GPSLongitudeRef",description:t=>{const e=t.join("");return e==="E"?"East longitude":e==="W"?"West longitude":"Unknown"}},4:{name:"GPSLongitude",description:Qh},5:{name:"GPSAltitudeRef",description:t=>t===0?"Sea level":t===1?"Sea level reference (negative value)":"Unknown"},6:{name:"GPSAltitude",description:t=>t[0]/t[1]+" m"},7:{name:"GPSTimeStamp",description:t=>t.map(([e,n])=>{const r=e/n;return/^\d(\.|$)/.test(`${r}`)?`0${r}`:r}).join(":")},8:"GPSSatellites",9:{name:"GPSStatus",description:t=>{const e=t.join("");return e==="A"?"Measurement in progress":e==="V"?"Measurement Interoperability":"Unknown"}},10:{name:"GPSMeasureMode",description:t=>{const e=t.join("");return e==="2"?"2-dimensional measurement":e==="3"?"3-dimensional measurement":"Unknown"}},11:"GPSDOP",12:{name:"GPSSpeedRef",description:t=>{const e=t.join("");return e==="K"?"Kilometers per hour":e==="M"?"Miles per hour":e==="N"?"Knots":"Unknown"}},13:"GPSSpeed",14:{name:"GPSTrackRef",description:t=>{const e=t.join("");return e==="T"?"True direction":e==="M"?"Magnetic direction":"Unknown"}},15:"GPSTrack",16:{name:"GPSImgDirectionRef",description:t=>{const e=t.join("");return e==="T"?"True direction":e==="M"?"Magnetic direction":"Unknown"}},17:"GPSImgDirection",18:"GPSMapDatum",19:{name:"GPSDestLatitudeRef",description:t=>{const e=t.join("");return e==="N"?"North latitude":e==="S"?"South latitude":"Unknown"}},20:{name:"GPSDestLatitude",description:t=>t[0][0]/t[0][1]+t[1][0]/t[1][1]/60+t[2][0]/t[2][1]/3600},21:{name:"GPSDestLongitudeRef",description:t=>{const e=t.join("");return e==="E"?"East longitude":e==="W"?"West longitude":"Unknown"}},22:{name:"GPSDestLongitude",description:t=>t[0][0]/t[0][1]+t[1][0]/t[1][1]/60+t[2][0]/t[2][1]/3600},23:{name:"GPSDestBearingRef",description:t=>{const e=t.join("");return e==="T"?"True direction":e==="M"?"Magnetic direction":"Unknown"}},24:"GPSDestBearing",25:{name:"GPSDestDistanceRef",description:t=>{const e=t.join("");return e==="K"?"Kilometers":e==="M"?"Miles":e==="N"?"Knots":"Unknown"}},26:"GPSDestDistance",27:{name:"GPSProcessingMethod",description:yb},28:{name:"GPSAreaInformation",description:yb},29:"GPSDateStamp",30:{name:"GPSDifferential",description:t=>t===0?"Measurement without differential correction":t===1?"Differential correction applied":"Unknown"},31:"GPSHPositioningError"},Yz={1:"InteroperabilityIndex",2:{name:"InteroperabilityVersion",description:t=>nr(t)},4096:"RelatedImageFileFormat",4097:"RelatedImageWidth",4098:"RelatedImageHeight"},Jz={45056:{name:"MPFVersion",description:t=>nr(t)},45057:"NumberOfImages",45058:"MPEntry",45059:"ImageUIDList",45060:"TotalFrames"},Zz={4:{name:"ShotInfo",description:t=>t}},Xz={0:{name:"PentaxVersion",description:t=>t.join(".")},5:"PentaxModelID",555:"LevelInfo"},LE=Et({},NE,Vz),Ib="0th",OE="1st",RE="exif",FE="gps",DE="interoperability",ME="mpf",UE="canon",Pb="pentax",Xs={[Ib]:LE,[OE]:NE,[RE]:LE,[FE]:Wz,[DE]:Yz,[ME]:Jz,[UE]:Zz,[Pb]:Xz},zE={1:1,2:1,3:2,4:4,5:8,7:1,9:4,10:8,13:4},Nb={BYTE:1,ASCII:2,SHORT:3,LONG:4,RATIONAL:5,UNDEFINED:7,SLONG:9,SRATIONAL:10,IFD:13},We={getAsciiValue:Qz,getByteAt:jE,getAsciiAt:ej,getShortAt:tj,getLongAt:op,getRationalAt:nj,getUndefinedAt:rj,getSlongAt:Lb,getSrationalAt:ij,getIfdPointerAt:oj,typeSizes:zE,tagTypes:Nb,getTypeSize:sj};function Qz(t){return t.map(e=>String.fromCharCode(e))}function jE(t,e){return t.getUint8(e)}function ej(t,e){return t.getUint8(e)}function tj(t,e,n){return t.getUint16(e,n===Co.LITTLE_ENDIAN)}function op(t,e,n){return t.getUint32(e,n===Co.LITTLE_ENDIAN)}function nj(t,e,n){return[op(t,e,n),op(t,e+4,n)]}function rj(t,e){return jE(t,e)}function Lb(t,e,n){return t.getInt32(e,n===Co.LITTLE_ENDIAN)}function ij(t,e,n){return[Lb(t,e,n),Lb(t,e+4,n)]}function oj(t,e,n){return op(t,e,n)}function sj(t){if(Nb[t]===void 0)throw new Error("No such type found.");return zE[Nb[t]]}const aj={1:We.getByteAt,2:We.getAsciiAt,3:We.getShortAt,4:We.getLongAt,5:We.getRationalAt,7:We.getUndefinedAt,9:We.getSlongAt,10:We.getSrationalAt,13:We.getIfdPointerAt};function BE(t,e,n){return e+We.getLongAt(t,e+4,n)}function Qs(t,e,n,r,i,o){const s=We.getTypeSize("SHORT"),a=12,c={},u=lj(t,r,i);r+=s;for(let d=0;d<u&&!(r+a>t.byteLength);d++){const f=cj(t,e,n,r,i,o);f!==void 0&&(c[f.name]={id:f.id,value:f.value,description:f.description},(f.name==="MakerNote"||e===Pb&&f.name==="LevelInfo")&&(c[f.name].__offset=f.__offset)),r+=a}if(r<t.byteLength-We.getTypeSize("LONG")){const d=We.getLongAt(t,r,i);d!==0&&e===Ib&&(c.Thumbnail=Qs(t,OE,n,n+d,i,o))}return c}function lj(t,e,n){return e+We.getTypeSize("SHORT")<=t.byteLength?We.getShortAt(t,e,n):0}function cj(t,e,n,r,i,o){const a=We.getTypeSize("SHORT"),c=a+We.getTypeSize("SHORT"),u=c+We.getTypeSize("LONG"),d=We.getShortAt(t,r,i),f=We.getShortAt(t,r+a,i),h=We.getLongAt(t,r+c,i);let p,g;if(We.typeSizes[f]===void 0||!o&&Xs[e][d]===void 0)return;if(uj(f,h))g=r+u,p=qE(t,g,f,h,i);else if(g=We.getLongAt(t,r+u,i),dj(t,n,g,f,h)){const b=d===33723;p=qE(t,n+g,f,h,i,b)}else p="<faulty value>";f===We.tagTypes.ASCII&&(p=fj(p),p=hj(p));let m=`undefined-${d}`,v=p;if(Xs[e][d]!==void 0)if(Xs[e][d].name!==void 0&&Xs[e][d].description!==void 0){m=Xs[e][d].name;try{v=Xs[e][d].description(p)}catch{v=HE(p)}}else f===We.tagTypes.RATIONAL||f===We.tagTypes.SRATIONAL?(m=Xs[e][d],v=""+p[0]/p[1]):(m=Xs[e][d],v=HE(p));return{id:d,name:m,value:p,description:v,__offset:g}}function uj(t,e){return We.typeSizes[t]*e<=We.getTypeSize("LONG")}function qE(t,e,n,r,i,o=!1){let s=[];o&&(r=r*We.typeSizes[n],n=We.tagTypes.BYTE);for(let a=0;a<r;a++)s.push(aj[n](t,e,i)),e+=We.typeSizes[n];return n===We.tagTypes.ASCII?s=We.getAsciiValue(s):s.length===1&&(s=s[0]),s}function dj(t,e,n,r,i){return e+n+We.typeSizes[r]*i<=t.byteLength}function fj(t){const e=[];let n=0;for(let r=0;r<t.length;r++){if(t[r]==="\0"){n++;continue}e[n]===void 0&&(e[n]=""),e[n]+=t[r]}return e}function hj(t){try{return t.map(e=>decodeURIComponent(escape(e)))}catch{return t}}function HE(t){return t instanceof Array?t.join(", "):t}const GE="Exif IFD Pointer",KE="GPS Info IFD Pointer",VE="Interoperability IFD Pointer",WE={read:pj};function pj(t,e,n){const r=Co.getByteOrder(t,e);let i=gj(t,e,r,n);return i=mj(i,t,e,r,n),i=vj(i,t,e,r,n),i=bj(i,t,e,r,n),{tags:i,byteOrder:r}}function gj(t,e,n,r){return Qs(t,Ib,e,BE(t,e,n),n,r)}function mj(t,e,n,r,i){return t[GE]!==void 0?Et(t,Qs(e,RE,n,n+t[GE].value,r,i)):t}function vj(t,e,n,r,i){return t[KE]!==void 0?Et(t,Qs(e,FE,n,n+t[KE].value,r,i)):t}function bj(t,e,n,r,i){return t[VE]!==void 0?Et(t,Qs(e,DE,n,n+t[VE].value,r,i)):t}const _j={read:yj},Lc=16;function yj(t,e,n){const r=Co.getByteOrder(t,e),i=Qs(t,ME,e,BE(t,e,r),r,n);return wj(t,e,i,r)}function wj(t,e,n,r){if(!n.MPEntry)return n;const i=[];for(let o=0;o<Math.ceil(n.MPEntry.value.length/Lc);o++){i[o]={};const s=gd(n.MPEntry.value,o*Lc,We.getTypeSize("LONG"),r);i[o].ImageFlags=xj(s),i[o].ImageFormat=kj(s),i[o].ImageType=Sj(s);const a=gd(n.MPEntry.value,o*Lc+4,We.getTypeSize("LONG"),r);i[o].ImageSize={value:a,description:""+a};const c=Ej(o,n.MPEntry,r,e);i[o].ImageOffset={value:c,description:""+c};const u=gd(n.MPEntry.value,o*Lc+12,We.getTypeSize("SHORT"),r);i[o].DependentImage1EntryNumber={value:u,description:""+u};const d=gd(n.MPEntry.value,o*Lc+14,We.getTypeSize("SHORT"),r);i[o].DependentImage2EntryNumber={value:d,description:""+d},i[o].image=t.buffer.slice(c,c+a),ZS(i[o],"base64",function(){return XS(this.image)})}return n.Images=i,n}function gd(t,e,n,r){if(r===Co.LITTLE_ENDIAN){let o=0;for(let s=0;s<n;s++)o+=t[e+s]<<8*s;return o}let i=0;for(let o=0;o<n;o++)i+=t[e+o]<<8*(n-1-o);return i}function xj(t){const e=[t>>31&1,t>>30&1,t>>29&1],n=[];return e[0]&&n.push("Dependent Parent Image"),e[1]&&n.push("Dependent Child Image"),e[2]&&n.push("Representative Image"),{value:e,description:n.join(", ")||"None"}}function kj(t){const e=t>>24&7;return{value:e,description:e===0?"JPEG":"Unknown"}}function Sj(t){const e=t&16777215;return{value:e,description:{196608:"Baseline MP Primary Image",65537:"Large Thumbnail (VGA equivalent)",65538:"Large Thumbnail (Full HD equivalent)",131073:"Multi-Frame Image (Panorama)",131074:"Multi-Frame Image (Disparity)",131075:"Multi-Frame Image (Multi-Angle)",0:"Undefined"}[e]||"Unknown"}}function Ej(t,e,n,r){return Tj(t)?0:gd(e.value,t*Lc+8,We.getTypeSize("LONG"),n)+r}function Tj(t){return t===0}const Aj={read:Cj};function Cj(t,e){const n=$j(t,e),r=Lj(t,e,n);return{"Bits Per Sample":Ij(t,e,n),"Image Height":Pj(t,e,n),"Image Width":Nj(t,e,n),"Color Components":r,Subsampling:r&&Oj(t,e,r.value,n)}}function $j(t,e){return We.getShortAt(t,e)}function Ij(t,e,n){if(3>n)return;const o=We.getByteAt(t,e+2);return{value:o,description:""+o}}function Pj(t,e,n){if(5>n)return;const o=We.getShortAt(t,e+3);return{value:o,description:`${o}px`}}function Nj(t,e,n){if(7>n)return;const o=We.getShortAt(t,e+5);return{value:o,description:`${o}px`}}function Lj(t,e,n){if(8>n)return;const o=We.getByteAt(t,e+7);return{value:o,description:""+o}}function Oj(t,e,n,r){if(8+3*n>r)return;const s=[];for(let a=0;a<n;a++){const c=e+8+a*3;s.push([We.getByteAt(t,c),We.getByteAt(t,c+1),We.getByteAt(t,c+2)])}return{value:s,description:s.length>1?Rj(s)+Fj(s):""}}function Rj(t){const e={1:"Y",2:"Cb",3:"Cr",4:"I",5:"Q"};return t.map(n=>e[n[0]]).join("")}function Fj(t){const e={17:"4:4:4 (1 1)",18:"4:4:0 (1 2)",20:"4:4:1 (1 4)",33:"4:2:2 (2 1)",34:"4:2:0 (2 2)",36:"4:2:1 (2 4)",65:"4:1:1 (4 1)",66:"4:1:0 (4 2)"};return t.length===0||t[0][1]===void 0||e[t[0][1]]===void 0?"":e[t[0][1]]}const Dj={read:Mj};function Mj(t,e){const n=Uj(t,e),r=Gj(t,e,n),i=Kj(t,e,n),o={"JFIF Version":zj(t,e,n),"Resolution Unit":jj(t,e,n),XResolution:qj(t,e,n),YResolution:Hj(t,e,n),"JFIF Thumbnail Width":r,"JFIF Thumbnail Height":i};if(r!==void 0&&i!==void 0){const s=Vj(t,e,3*r.value*i.value,n);s&&(o["JFIF Thumbnail"]=s)}for(const s in o)o[s]===void 0&&delete o[s];return o}function Uj(t,e){return We.getShortAt(t,e)}function zj(t,e,n){if(9>n)return;const o=We.getByteAt(t,e+7),s=We.getByteAt(t,e+7+1);return{value:o*256+s,description:o+"."+s}}function jj(t,e,n){if(10>n)return;const o=We.getByteAt(t,e+9);return{value:o,description:Bj(o)}}function Bj(t){return t===0?"None":t===1?"inches":t===2?"cm":"Unknown"}function qj(t,e,n){if(12>n)return;const o=We.getShortAt(t,e+10);return{value:o,description:""+o}}function Hj(t,e,n){if(14>n)return;const o=We.getShortAt(t,e+12);return{value:o,description:""+o}}function Gj(t,e,n){if(15>n)return;const o=We.getByteAt(t,e+14);return{value:o,description:`${o}px`}}function Kj(t,e,n){if(16>n)return;const o=We.getByteAt(t,e+15);return{value:o,description:`${o}px`}}function Vj(t,e,n,r){return n===0||16+n>r?void 0:{value:t.buffer.slice(e+16,e+16+n),description:"<24-bit RGB pixel data>"}}const ea={iptc:{256:{name:"Model Version",description:t=>((t[0]<<8)+t[1]).toString()},261:{name:"Destination",repeatable:!0},276:{name:"File Format",description:t=>((t[0]<<8)+t[1]).toString()},278:{name:"File Format Version",description:t=>((t[0]<<8)+t[1]).toString()},286:"Service Identifier",296:"Envelope Number",306:"Product ID",316:"Envelope Priority",326:{name:"Date Sent",description:Ob},336:{name:"Time Sent",description:Rb},346:{name:"Coded Character Set",description:YE,encoding_name:YE},356:"UNO",376:{name:"ARM Identifier",description:t=>((t[0]<<8)+t[1]).toString()},378:{name:"ARM Version",description:t=>((t[0]<<8)+t[1]).toString()},512:{name:"Record Version",description:t=>((t[0]<<8)+t[1]).toString()},515:"Object Type Reference",516:"Object Attribute Reference",517:"Object Name",519:"Edit Status",520:{name:"Editorial Update",description:t=>nr(t)==="01"?"Additional Language":"Unknown"},522:"Urgency",524:{name:"Subject Reference",repeatable:!0,description:t=>{const e=nr(t).split(":");return e[2]+(e[3]?"/"+e[3]:"")+(e[4]?"/"+e[4]:"")}},527:"Category",532:{name:"Supplemental Category",repeatable:!0},534:"Fixture Identifier",537:{name:"Keywords",repeatable:!0},538:{name:"Content Location Code",repeatable:!0},539:{name:"Content Location Name",repeatable:!0},542:"Release Date",547:"Release Time",549:"Expiration Date",550:"Expiration Time",552:"Special Instructions",554:{name:"Action Advised",description:t=>{const e=nr(t);return e==="01"?"Object Kill":e==="02"?"Object Replace":e==="03"?"Object Append":e==="04"?"Object Reference":"Unknown"}},557:{name:"Reference Service",repeatable:!0},559:{name:"Reference Date",repeatable:!0},562:{name:"Reference Number",repeatable:!0},567:{name:"Date Created",description:Ob},572:{name:"Time Created",description:Rb},574:{name:"Digital Creation Date",description:Ob},575:{name:"Digital Creation Time",description:Rb},577:"Originating Program",582:"Program Version",587:{name:"Object Cycle",description:t=>{const e=nr(t);return e==="a"?"morning":e==="p"?"evening":e==="b"?"both":"Unknown"}},592:{name:"By-line",repeatable:!0},597:{name:"By-line Title",repeatable:!0},602:"City",604:"Sub-location",607:"Province/State",612:"Country/Primary Location Code",613:"Country/Primary Location Name",615:"Original Transmission Reference",617:"Headline",622:"Credit",627:"Source",628:"Copyright Notice",630:{name:"Contact",repeatable:!0},632:"Caption/Abstract",634:{name:"Writer/Editor",repeatable:!0},637:{name:"Rasterized Caption",description:t=>t},642:"Image Type",643:{name:"Image Orientation",description:t=>{const e=nr(t);return e==="P"?"Portrait":e==="L"?"Landscape":e==="S"?"Square":"Unknown"}},647:"Language Identifier",662:{name:"Audio Type",description:t=>{const e=nr(t),n=e.charAt(0),r=e.charAt(1);let i="";return n==="1"?i+="Mono":n==="2"&&(i+="Stereo"),r==="A"?i+=", actuality":r==="C"?i+=", question and answer session":r==="M"?i+=", music, transmitted by itself":r==="Q"?i+=", response to a question":r==="R"?i+=", raw sound":r==="S"?i+=", scener":r==="V"?i+=", voicer":r==="W"&&(i+=", wrap"),i!==""?i:e}},663:{name:"Audio Sampling Rate",description:t=>parseInt(nr(t),10)+" Hz"},664:{name:"Audio Sampling Resolution",description:t=>{const e=parseInt(nr(t),10);return e+(e===1?" bit":" bits")}},665:{name:"Audio Duration",description:t=>{const e=nr(t);return e.length>=6?e.substr(0,2)+":"+e.substr(2,2)+":"+e.substr(4,2):e}},666:"Audio Outcue",698:"Short Document ID",699:"Unique Document ID",700:"Owner ID",712:{name:t=>t.length===2?"ObjectData Preview File Format":"Record 2 destination",description:t=>{if(t.length===2){const e=(t[0]<<8)+t[1];return e===0?"No ObjectData":e===1?"IPTC-NAA Digital Newsphoto Parameter Record":e===2?"IPTC7901 Recommended Message Format":e===3?"Tagged Image File Format (Adobe/Aldus Image data)":e===4?"Illustrator (Adobe Graphics data)":e===5?"AppleSingle (Apple Computer Inc)":e===6?"NAA 89-3 (ANPA 1312)":e===7?"MacBinary II":e===8?"IPTC Unstructured Character Oriented File Format (UCOFF)":e===9?"United Press International ANPA 1312 variant":e===10?"United Press International Down-Load Message":e===11?"JPEG File Interchange (JFIF)":e===12?"Photo-CD Image-Pac (Eastman Kodak)":e===13?"Microsoft Bit Mapped Graphics File [*.BMP]":e===14?"Digital Audio File [*.WAV] (Microsoft & Creative Labs)":e===15?"Audio plus Moving Video [*.AVI] (Microsoft)":e===16?"PC DOS/Windows Executable Files [*.COM][*.EXE]":e===17?"Compressed Binary File [*.ZIP] (PKWare Inc)":e===18?"Audio Interchange File Format AIFF (Apple Computer Inc)":e===19?"RIFF Wave (Microsoft Corporation)":e===20?"Freehand (Macromedia/Aldus)":e===21?'Hypertext Markup Language "HTML" (The Internet Society)':e===22?"MPEG 2 Audio Layer 2 (Musicom), ISO/IEC":e===23?"MPEG 2 Audio Layer 3, ISO/IEC":e===24?"Portable Document File (*.PDF) Adobe":e===25?"News Industry Text Format (NITF)":e===26?"Tape Archive (*.TAR)":e===27?"Tidningarnas Telegrambyrå NITF version (TTNITF DTD)":e===28?"Ritzaus Bureau NITF version (RBNITF DTD)":e===29?"Corel Draw [*.CDR]":`Unknown format ${e}`}return nr(t)}},713:{name:"ObjectData Preview File Format Version",description:(t,e)=>{const n={"00":{"00":"1"},"01":{"01":"1","02":"2","03":"3","04":"4"},"02":{"04":"4"},"03":{"01":"5.0","02":"6.0"},"04":{"01":"1.40"},"05":{"01":"2"},"06":{"01":"1"},11:{"01":"1.02"},20:{"01":"3.1","02":"4.0","03":"5.0","04":"5.5"},21:{"02":"2.0"}},r=nr(t);if(e["ObjectData Preview File Format"]){const i=nr(e["ObjectData Preview File Format"].value);if(n[i]&&n[i][r])return n[i][r]}return r}},714:"ObjectData Preview Data",1802:{name:"Size Mode",description:t=>t[0].toString()},1812:{name:"Max Subfile Size",description:t=>{let e=0;for(let n=0;n<t.length;n++)e=(e<<8)+t[n];return e.toString()}},1882:{name:"ObjectData Size Announced",description:t=>{let e=0;for(let n=0;n<t.length;n++)e=(e<<8)+t[n];return e.toString()}},1887:{name:"Maximum ObjectData Size",description:t=>{let e=0;for(let n=0;n<t.length;n++)e=(e<<8)+t[n];return e.toString()}}}};function Ob(t){const e=nr(t);return e.length>=8?e.substr(0,4)+"-"+e.substr(4,2)+"-"+e.substr(6,2):e}function Rb(t){const e=nr(t);let n=e;return e.length>=6&&(n=e.substr(0,2)+":"+e.substr(2,2)+":"+e.substr(4,2),e.length===11&&(n+=e.substr(6,1)+e.substr(7,2)+":"+e.substr(9,2))),n}function YE(t){const e=nr(t);return e==="\x1B%G"?"UTF-8":e==="\x1B%5"?"Windows-1252":e==="\x1B%/G"?"UTF-8 Level 1":e==="\x1B%/H"?"UTF-8 Level 2":e==="\x1B%/I"?"UTF-8 Level 3":e==="\x1B/A"?"ISO-8859-1":e==="\x1B/B"?"ISO-8859-2":e==="\x1B/C"?"ISO-8859-3":e==="\x1B/D"?"ISO-8859-4":e==="\x1B/@"?"ISO-8859-5":e==="\x1B/G"?"ISO-8859-6":e==="\x1B/F"?"ISO-8859-7":e==="\x1B/H"?"ISO-8859-8":"Unknown"}const Wj={get:Yj};function Yj(){if(typeof TextDecoder<"u")return TextDecoder}const JE={decode:Jj,TAG_HEADER_SIZE:5};function Jj(t,e){const n=Wj.get();if(typeof n<"u"&&t!==void 0)try{return new n(t).decode(e instanceof DataView?e.buffer:Uint8Array.from(e))}catch{}const r=e.map(i=>String.fromCharCode(i)).join("");return Zj(r)}function Zj(t){try{return decodeURIComponent(escape(t))}catch{return t}}const Xj=943868237,md=4,sp=2,Qj=1,eB=2,ZE=4,tB=md+sp+eB+ZE,nB=1028,XE=5,Fb={read:rB};function rB(t,e,n){try{if(Array.isArray(t))return QE(new DataView(Uint8Array.from(t).buffer),{size:t.length},0,n);const{naaBlock:r,dataOffset:i}=iB(t,e);return QE(t,r,i,n)}catch{return{}}}function iB(t,e){for(;e+tB<=t.byteLength;){const n=oB(t,e);if(sB(n))return{naaBlock:n,dataOffset:e+n.headerSize};e+=n.headerSize+n.size+aB(n)}throw new Error("No IPTC NAA resource block.")}function oB(t,e){if(t.getUint32(e,!1)!==Xj)throw new Error("Not an IPTC resource block.");const n=t.getUint8(e+md+sp),r=(n%2===0?n+1:n)+Qj;return{headerSize:md+sp+r+ZE,type:t.getUint16(e+md),size:t.getUint32(e+md+sp+r)}}function sB(t){return t.type===nB}function aB(t){return t.size%2!==0?1:0}function QE(t,e,n,r){const i={};let o;const s=n+e.size;for(;n<s&&n<t.byteLength;){const{tag:a,tagSize:c}=lB(t,n,i,o,r);if(a===null)break;a&&("encoding"in a&&(o=a.encoding),i[a.name]===void 0||a.repeatable===void 0?i[a.name]={id:a.id,value:a.value,description:a.description}:(i[a.name]instanceof Array||(i[a.name]=[{id:i[a.name].id,value:i[a.name].value,description:i[a.name].description}]),i[a.name].push({id:a.id,value:a.value,description:a.description}))),n+=XE+c}return i}function lB(t,e,n,r,i){if(cB(t,e))return{tag:null,tagSize:0};const a=t.getUint16(e+1),c=t.getUint16(e+3);if(!i&&!ea.iptc[a])return{tag:void 0,tagSize:c};const u=uB(t,e+XE,c),d={id:a,name:dB(ea.iptc[a],a,u),value:u,description:pB(ea.iptc[a],u,n,r)};return vB(a)&&(d.repeatable=!0),bB(a)&&(d.encoding=ea.iptc[a].encoding_name(u)),{tag:d,tagSize:c}}function cB(t,e){return t.getUint8(e)!==28}function uB(t,e,n){const r=[];for(let i=0;i<n;i++)r.push(t.getUint8(e+i));return r}function dB(t,e,n){return t?fB(t)?t:hB(t)?t.name(n):t.name:`undefined-${e}`}function fB(t){return typeof t=="string"}function hB(t){return typeof t.name=="function"}function pB(t,e,n,r){if(mB(t))try{return t.description(e,n)}catch{}return gB(t,e)?JE.decode(r,e):e}function gB(t,e){return t&&e instanceof Array}function mB(t){return t&&t.description!==void 0}function vB(t){return ea.iptc[t]&&ea.iptc[t].repeatable}function bB(t){return ea.iptc[t]&&ea.iptc[t].encoding_name!==void 0}const ap={"tiff:Orientation"(t){return t==="1"?"Horizontal (normal)":t==="2"?"Mirror horizontal":t==="3"?"Rotate 180":t==="4"?"Mirror vertical":t==="5"?"Mirror horizontal and rotate 270 CW":t==="6"?"Rotate 90 CW":t==="7"?"Mirror horizontal and rotate 90 CW":t==="8"?"Rotate 270 CW":t},"tiff:ResolutionUnit":t=>vt.ResolutionUnit(parseInt(t,10)),"tiff:XResolution":t=>Oc(vt.XResolution,t),"tiff:YResolution":t=>Oc(vt.YResolution,t),"exif:ApertureValue":t=>Oc(vt.ApertureValue,t),"exif:GPSLatitude":tT,"exif:GPSLongitude":tT,"exif:FNumber":t=>Oc(vt.FNumber,t),"exif:FocalLength":t=>Oc(vt.FocalLength,t),"exif:FocalPlaneResolutionUnit":t=>vt.FocalPlaneResolutionUnit(parseInt(t,10)),"exif:ColorSpace":t=>vt.ColorSpace(_B(t)),"exif:ComponentsConfiguration"(t,e){if(/^\d, \d, \d, \d$/.test(e)){const n=e.split(", ").map(r=>r.charCodeAt(0));return vt.ComponentsConfiguration(n)}return e},"exif:Contrast":t=>vt.Contrast(parseInt(t,10)),"exif:CustomRendered":t=>vt.CustomRendered(parseInt(t,10)),"exif:ExposureMode":t=>vt.ExposureMode(parseInt(t,10)),"exif:ExposureProgram":t=>vt.ExposureProgram(parseInt(t,10)),"exif:ExposureTime"(t){return eT(t)?vt.ExposureTime(t.split("/").map(e=>parseInt(e,10))):t},"exif:MeteringMode":t=>vt.MeteringMode(parseInt(t,10)),"exif:Saturation":t=>vt.Saturation(parseInt(t,10)),"exif:SceneCaptureType":t=>vt.SceneCaptureType(parseInt(t,10)),"exif:Sharpness":t=>vt.Sharpness(parseInt(t,10)),"exif:ShutterSpeedValue":t=>Oc(vt.ShutterSpeedValue,t),"exif:WhiteBalance":t=>vt.WhiteBalance(parseInt(t,10))};function Oc(t,e){return eT(e)?t(e.split("/")):e}function _B(t){return t.substring(0,2)==="0x"?parseInt(t.substring(2),16):parseInt(t,10)}function eT(t){return/^-?\d+\/-?\d+$/.test(t)}function tT(t){const[e,n]=t.split(",");if(e!==void 0&&n!==void 0){const r=parseFloat(e),i=parseFloat(n),o=n.charAt(n.length-1);if(!Number.isNaN(r)&&!Number.isNaN(i))return""+(r+i/60)+o}return t}const yB={get:wB};function wB(t){if(t)return t;if(typeof DOMParser<"u")return new DOMParser;try{const{DOMParser:e,onErrorStopParsing:n}=__non_webpack_require__("@xmldom/xmldom");return new e({onError:n})}catch{return}}function xB(t){const e=["prefix is non-null and namespace is null","prefix not bound to a namespace","prefix inte bundet till en namnrymd",/Namespace prefix .+ is not defined/];for(let n=0;n<e.length;n++)if(new RegExp(e[n]).test(t.message))return!0;return!1}function kB(t){const e=t.match(/<([A-Za-z_][A-Za-z0-9._-]*)([^>]*)>/);if(!e)return t;const n=e[1],r=SB(t),o=EB(t).filter(a=>r.indexOf(a)===-1);if(o.length===0)return t;const s=AB(o);return CB(t,n,s)}function SB(t){const e=[],n=/xmlns:([\w-]+)=["'][^"']+["']/g;let r;for(;(r=n.exec(t))!==null;)e.indexOf(r[1])===-1&&e.push(r[1]);return e}function EB(t){const e=[],n=/\b([A-Za-z_][A-Za-z0-9._-]*):[A-Za-z_][A-Za-z0-9._-]*\b/g;let r;for(;(r=n.exec(t))!==null;){const i=r[1];i==="xmlns"||i==="xml"||e.indexOf(i)===-1&&e.push(i)}return e}const TB={xmp:"http://ns.adobe.com/xap/1.0/",tiff:"http://ns.adobe.com/tiff/1.0/",exif:"http://ns.adobe.com/exif/1.0/",dc:"http://purl.org/dc/elements/1.1/",xmpMM:"http://ns.adobe.com/xap/1.0/mm/",stEvt:"http://ns.adobe.com/xap/1.0/sType/ResourceEvent#",stRef:"http://ns.adobe.com/xap/1.0/sType/ResourceRef#",photoshop:"http://ns.adobe.com/photoshop/1.0/"};function AB(t){const e=[];for(let n=0;n<t.length;n++){const r=t[n],i=TB[r]||"http://fallback.namespace/"+r;e.push(" xmlns:"+r+'="'+i+'"')}return e.join("")}function CB(t,e,n){const r=new RegExp("<"+e+"([^>]*)>");return t.replace(r,"<"+e+"$1"+n+">")}const nT={read:IB};class $B extends Error{constructor(e){super(e),this.name="ParseError"}}function IB(t,e,n){const r={};if(typeof t=="string")return lp(r,t,n),r;const[i,o]=PB(t,e),s=lp(r,i,n);if(o){const a=lp(r,o,n);!s&&!a&&(delete r._raw,lp(r,Db(t,e),n))}return r}function PB(t,e){if(e.length===0)return[];const n=[Db(t,e.slice(0,1))];return e.length>1&&n.push(Db(t,e.slice(1))),n}function Db(t,e){const n=e.reduce((o,s)=>o+s.length,0),r=new Uint8Array(n);let i=0;for(let o=0;o<e.length;o++){const s=e[o],a=t.buffer.slice(s.dataOffset,s.dataOffset+s.length);r.set(new Uint8Array(a),i),i+=s.length}return new DataView(r.buffer)}function lp(t,e,n){try{const{doc:r,raw:i}=NB(e,n);t._raw=(t._raw||"")+i;const o=iT(r);return Et(t,sT(oT(o,!0))),!0}catch{return!1}}function NB(t,e){const n=yB.get(e);if(!n)throw console.warn("Warning: DOMParser is not available. It is needed to be able to parse XMP tags."),new Error;const r=typeof t=="string"?t:xt(t,0,t.byteLength);return{doc:rT(n,LB(r)),raw:r}}function LB(t){return t.replace(/^.+(<\?xpacket begin)/,"$1").replace(/(<\?xpacket end=".*"\?>).+$/,"$1")}function rT(t,e,n=!1){try{const r=t.parseFromString(e,"application/xml"),i=r.getElementsByTagName("parsererror");if(i.length>0)throw new $B(i[0].textContent);return r}catch(r){if(r.name==="ParseError"&&xB(r)&&!n)return rT(t,kB(e),!0);throw r}}function iT(t){for(let e=0;e<t.childNodes.length;e++){if(t.childNodes[e].tagName==="x:xmpmeta")return iT(t.childNodes[e]);if(t.childNodes[e].tagName==="rdf:RDF")return t.childNodes[e]}throw new Error}function oT(t,e=!1){const n=OB(t);return RB(n)?e?{}:FB(n[0]):DB(n)}function OB(t){const e=[];for(let n=0;n<t.childNodes.length;n++)e.push(t.childNodes[n]);return e}function RB(t){return t.length===1&&t[0].nodeName==="#text"}function FB(t){return t.nodeValue}function DB(t){const e={};return t.forEach(n=>{if(MB(n)){const r=UB(n);e[n.nodeName]!==void 0?(Array.isArray(e[n.nodeName])||(e[n.nodeName]=[e[n.nodeName]]),e[n.nodeName].push(r)):e[n.nodeName]=r}}),e}function MB(t){return t.nodeName&&t.nodeName!=="#text"}function UB(t){return{attributes:zB(t),value:oT(t)}}function zB(t){const e={};for(let n=0;n<t.attributes.length;n++)e[t.attributes[n].nodeName]=decodeURIComponent(escape(t.attributes[n].value));return e}function sT(t){const e={};if(typeof t=="string")return t;for(const n in t){let r=t[n];Array.isArray(r)||(r=[r]),r.forEach(i=>{Et(e,Mb(i.attributes)),typeof i.value=="object"&&Et(e,aT(i.value))})}return e}function Mb(t){const e={};for(const n in t)try{jB(n)&&(e[up(n)]={value:t[n],attributes:{},description:ls(t[n],n)})}catch{}return e}function jB(t){return t!=="rdf:parseType"&&!cp(t)}function cp(t){return t.split(":")[0]==="xmlns"}function up(t){return/^MicrosoftPhoto(_\d+_)?:Rating$/i.test(t)?"RatingPercent":t.split(":")[1]}function ls(t,e=void 0){if(Array.isArray(t)){const n=BB(t);return e&&typeof ap[e]=="function"?ap[e](t,n):n}if(typeof t=="object")return qB(t);try{return e&&typeof ap[e]=="function"?ap[e](t):decodeURIComponent(escape(t))}catch{return t}}function BB(t){return t.map(e=>e.value!==void 0?ls(e.value):ls(e)).join(", ")}function qB(t){const e=[];for(const n in t)e.push(`${HB(n)}: ${ls(t[n].value)}`);return e.join("; ")}function HB(t){return t==="CiAdrCity"?"CreatorCity":t==="CiAdrCtry"?"CreatorCountry":t==="CiAdrExtadr"?"CreatorAddress":t==="CiAdrPcode"?"CreatorPostalCode":t==="CiAdrRegion"?"CreatorRegion":t==="CiEmailWork"?"CreatorWorkEmail":t==="CiTelWork"?"CreatorWorkPhone":t==="CiUrlWork"?"CreatorWorkUrl":t}function aT(t){const e={};for(const n in t)try{cp(n)||(e[up(n)]=GB(t[n],n))}catch{}return e}function GB(t,e){return VB(t)?WB(t,e):KB(t)?{value:"",attributes:{},description:""}:lT(t)?cT(t,e):uT(t)?dT(t,e):fT(t)?hT(t,e):ZB(t)?XB(t,e):Ub(t,e)}function KB(t){return t.attributes["rdf:parseType"]==="Resource"&&typeof t.value=="string"&&t.value.trim()===""}function VB(t){return Array.isArray(t)}function WB(t,e){return Ub(t[t.length-1],e)}function lT(t){return t.attributes["rdf:parseType"]==="Resource"&&t.value["rdf:value"]!==void 0||t.value["rdf:Description"]!==void 0&&t.value["rdf:Description"].value["rdf:value"]!==void 0}function cT(t,e){const n=vd(t);t.value["rdf:Description"]!==void 0&&(t=t.value["rdf:Description"]),Et(n,vd(t),YB(t));const r=JB(t);return{value:r,attributes:n,description:ls(r,e)}}function vd(t){const e={};for(const n in t.attributes)n!=="rdf:parseType"&&n!=="rdf:resource"&&!cp(n)&&(e[up(n)]=t.attributes[n]);return e}function YB(t){const e={};for(const n in t.value)n!=="rdf:value"&&!cp(n)&&(e[up(n)]=t.value[n].value);return e}function JB(t){return gT(t.value["rdf:value"])||t.value["rdf:value"].value}function uT(t){return t.attributes["rdf:parseType"]==="Resource"||t.value["rdf:Description"]!==void 0&&t.value["rdf:Description"].value["rdf:value"]===void 0}function dT(t,e){const n={value:{},attributes:{}};return t.value["rdf:Description"]!==void 0&&(Et(n.value,Mb(t.value["rdf:Description"].attributes)),Et(n.attributes,vd(t)),t=t.value["rdf:Description"]),Et(n.value,aT(t.value)),n.description=ls(n.value,e),n}function fT(t){return Object.keys(t.value).length===0&&t.attributes["xml:lang"]===void 0&&t.attributes["rdf:resource"]===void 0}function hT(t,e){const n=Mb(t.attributes);return{value:n,attributes:{},description:ls(n,e)}}function ZB(t){return pT(t.value)!==void 0}function pT(t){return t["rdf:Bag"]||t["rdf:Seq"]||t["rdf:Alt"]}function XB(t,e){let n=pT(t.value).value["rdf:li"];const r=vd(t),i=[];return n===void 0?n=[]:Array.isArray(n)||(n=[n]),n.forEach(o=>{i.push(QB(o))}),{value:i,attributes:r,description:ls(i,e)}}function QB(t){return lT(t)?cT(t):uT(t)?dT(t).value:fT(t)?hT(t).value:Ub(t)}function Ub(t,e){const n=gT(t)||sT(t.value);return{value:n,attributes:vd(t),description:ls(n,e)}}function gT(t){return t.attributes&&t.attributes["rdf:resource"]}const cs={CLOSED_SUBPATH_LENGTH:0,CLOSED_SUBPATH_BEZIER_LINKED:1,CLOSED_SUBPATH_BEZIER_UNLINKED:2,OPEN_SUBPATH_LENGTH:3,OPEN_SUBPATH_BEZIER_LINKED:4,OPEN_SUBPATH_BEZIER_UNLINKED:5,FILL_RULE:6,CLIPBOARD:7,INITIAL_FILL_RULE:8},mT=24,zb={2e3:{name:"PathInformation",description:e4},2999:{name:"ClippingPathName",description(t){const[,e]=JS(t,0);return e}}};function e4(t){const n={},r=[];for(let i=0;i<t.byteLength;i+=2+mT){const o=We.getShortAt(t,i);jb[o]&&(n[o]||(n[o]=jb[o].description),r.push({type:o,path:jb[o].path(t,i+2)}))}return JSON.stringify({types:n,paths:r})}const jb={[cs.CLOSED_SUBPATH_LENGTH]:{description:"Closed subpath length",path:(t,e)=>[We.getShortAt(t,e)]},[cs.CLOSED_SUBPATH_BEZIER_LINKED]:{description:"Closed subpath Bezier knot, linked",path:dp},[cs.CLOSED_SUBPATH_BEZIER_UNLINKED]:{description:"Closed subpath Bezier knot, unlinked",path:dp},[cs.OPEN_SUBPATH_LENGTH]:{description:"Open subpath length",path:(t,e)=>[We.getShortAt(t,e)]},[cs.OPEN_SUBPATH_BEZIER_LINKED]:{description:"Open subpath Bezier knot, linked",path:dp},[cs.OPEN_SUBPATH_BEZIER_UNLINKED]:{description:"Open subpath Bezier knot, unlinked",path:dp},[cs.FILL_RULE]:{description:"Path fill rule",path:()=>[]},[cs.INITIAL_FILL_RULE]:{description:"Initial fill rule",path:(t,e)=>[We.getShortAt(t,e)]},[cs.CLIPBOARD]:{description:"Clipboard",path:n4}};function dp(t,e){const r=[];for(let i=0;i<mT;i+=8)r.push(t4(t,e+i));return r}function t4(t,e){const n=Ja(t,e,8);return[Ja(t,e+4,8),n]}function n4(t,e){return[[Ja(t,e,8),Ja(t,e+4,8),Ja(t,e+8,8),Ja(t,e+12,8)],Ja(t,e+16,8)]}function Ja(t,e,n){const r=We.getLongAt(t,e),i=r>>>31?-1:1,o=(r&2130706432)>>>32-n,s=r&parseInt(QS("1",32-n),2);return i*tU(o.toString(2)+"."+eU(s.toString(2),32-n,"0"),2)}const r4={read:s4},vT="8BIM",i4=2,o4=4,bT=vT.length;function s4(t,e){const n=YS(new Uint8Array(t).buffer),r={};let i=0;for(;i<t.length;){const o=xt(n,i,bT);i+=bT;const s=We.getShortAt(n,i);i+=i4;const{tagName:a,tagNameSize:c}=a4(n,i);i+=c;const u=We.getLongAt(n,i);if(i+=o4,o===vT){const d=YS(n.buffer,i,u),f={id:s,value:xt(d,0,u)};if(zb[s]){try{f.description=zb[s].description(d)}catch{f.description="<no description formatter>"}r[a||zb[s].name]=f}else e&&(r[`undefined-${s}`]=f)}i+=u+u%2}return r}function a4(t,e){const[n,r]=JS(t,e);return{tagName:r,tagNameSize:1+n+(n%2===0?1:0)}}const _T={desc:{name:"ICC Description"},cprt:{name:"ICC Copyright"},dmdd:{name:"ICC Device Model Description"},vued:{name:"ICC Viewing Conditions Description"},dmnd:{name:"ICC Device Manufacturer for Display"},tech:{name:"Technology"}},yT={4:{name:"Preferred CMM type",value:(t,e)=>xt(t,e,4),description:t=>t!==null?Bb(t):""},8:{name:"Profile Version",value:(t,e)=>t.getUint8(e).toString(10)+"."+(t.getUint8(e+1)>>4).toString(10)+"."+(t.getUint8(e+1)%16).toString(10)},12:{name:"Profile/Device class",value:(t,e)=>xt(t,e,4),description:t=>{switch(t.toLowerCase()){case"scnr":return"Input Device profile";case"mntr":return"Display Device profile";case"prtr":return"Output Device profile";case"link":return"DeviceLink profile";case"abst":return"Abstract profile";case"spac":return"ColorSpace profile";case"nmcl":return"NamedColor profile";case"cenc":return"ColorEncodingSpace profile";case"mid ":return"MultiplexIdentification profile";case"mlnk":return"MultiplexLink profile";case"mvis":return"MultiplexVisualization profile";default:return t}}},16:{name:"Color Space",value:(t,e)=>xt(t,e,4)},20:{name:"Connection Space",value:(t,e)=>xt(t,e,4)},24:{name:"ICC Profile Date",value:(t,e)=>l4(t,e).toISOString()},36:{name:"ICC Signature",value:(t,e)=>c4(t.buffer.slice(e,e+4))},40:{name:"Primary Platform",value:(t,e)=>xt(t,e,4),description:t=>Bb(t)},48:{name:"Device Manufacturer",value:(t,e)=>xt(t,e,4),description:t=>Bb(t)},52:{name:"Device Model Number",value:(t,e)=>xt(t,e,4)},64:{name:"Rendering Intent",value:(t,e)=>t.getUint32(e),description:t=>{switch(t){case 0:return"Perceptual";case 1:return"Relative Colorimetric";case 2:return"Saturation";case 3:return"Absolute Colorimetric";default:return t}}},80:{name:"Profile Creator",value:(t,e)=>xt(t,e,4)}};function l4(t,e){const n=t.getUint16(e),r=t.getUint16(e+2)-1,i=t.getUint16(e+4),o=t.getUint16(e+6),s=t.getUint16(e+8),a=t.getUint16(e+10);return new Date(Date.UTC(n,r,i,o,s,a))}function c4(t){return String.fromCharCode.apply(null,new Uint8Array(t))}function Bb(t){switch(t.toLowerCase()){case"appl":return"Apple";case"adbe":return"Adobe";case"msft":return"Microsoft";case"sunw":return"Sun Microsystems";case"sgi":return"Silicon Graphics";case"tgnt":return"Taligent";default:return t}}const wT={read:b4},u4=84,d4=128,f4="acsp",h4="desc",p4="mluc",g4="text",m4="sig ",v4=12;function b4(t,e,n){return n&&e[0].compressionMethod!==Xh?_4(t,e):w4(t,e)}function _4(t,e){if(!y4(e[0].compressionMethod))return{};const n=new DataView(t.buffer.slice(e[0].offset,e[0].offset+e[0].length));return tE(n,e[0].compressionMethod,"utf-8","dataview").then(xT).catch(()=>({}))}function y4(t){return t===eE}function w4(t,e){try{const n=e.reduce((s,a)=>s+a.length,0),r=new Uint8Array(n);let i=0;const o=x4(t);for(let s=1;s<=e.length;s++){const a=e.find(d=>d.chunkNumber===s);if(!a)throw new Error(`ICC chunk ${s} not found`);const c=o.slice(a.offset,a.offset+a.length),u=new Uint8Array(c);r.set(u,i),i+=u.length}return xT(new DataView(r.buffer))}catch{return{}}}function x4(t){return Array.isArray(t)?new DataView(Uint8Array.from(t).buffer).buffer:t.buffer}function k4(t){return t.length<d4+4}function S4(t,e){return t.length<e+v4}function xT(t){const e=t.buffer,n=t.getUint32();if(t.byteLength!==n)throw new Error("ICC profile length not matching");if(t.byteLength<u4)throw new Error("ICC profile too short");const r={},i=Object.keys(yT);for(let c=0;c<i.length;c++){const u=i[c],d=yT[u],f=d.value(t,parseInt(u,10));let h=f;d.description&&(h=d.description(f)),r[d.name]={value:f,description:h}}if(fp(e.slice(36,40))!==f4)throw new Error("ICC profile: missing signature");if(k4(e))return r;const s=t.getUint32(128);let a=132;for(let c=0;c<s;c++){if(S4(e,a))return r;const u=xt(t,a,4),d=t.getUint32(a+4),f=t.getUint32(a+8);if(d>e.length)return r;const h=xt(t,d,4);if(h===h4){const p=t.getUint32(d+8);if(p>f)return r;const g=fp(e.slice(d+12,d+p+11));bd(r,u,g)}else if(h===p4){const p=t.getUint32(d+8),g=t.getUint32(d+12);let m=d+16;const v=[];for(let b=0;b<p;b++){const y=xt(t,m+0,2),w=xt(t,m+2,2),S=t.getUint32(m+4),T=t.getUint32(m+8),E=X3(t,d+T,S);v.push({languageCode:y,countryCode:w,text:E}),m+=g}if(p===1)bd(r,u,v[0].text);else{const b={};for(let y=0;y<v.length;y++)b[`${v[y].languageCode}-${v[y].countryCode}`]=v[y].text;bd(r,u,b)}}else if(h===g4){const p=fp(e.slice(d+8,d+f-7));bd(r,u,p)}else if(h===m4){const p=fp(e.slice(d+8,d+12));bd(r,u,p)}a=a+12}return r}function fp(t){return String.fromCharCode.apply(null,new Uint8Array(t))}function bd(t,e,n){_T[e]?t[_T[e].name]={value:n,description:n}:t[e]={value:n,description:n}}const hp=27,E4={read:T4,SHOT_INFO_AUTO_ROTATE:hp};function T4(t,e,n,r,i){let o=Qs(t,UE,e,e+n,r,i);return o.ShotInfo&&(o=Et({},o,A4(o.ShotInfo.value)),delete o.ShotInfo),o}function A4(t){const e={};return t[hp]!==void 0&&(e.AutoRotate={value:t[hp],description:C4(t[hp])}),e}function C4(t){return t===0?"None":t===1?"Rotate 90 CW":t===2?"Rotate 180":t===3?"Rotate 270 CW":"Unknown"}const kT=8,ST=kT+2,ET={K3_III:78420},pp={CAMERA_ORIENTATION:1,ROLL_ANGLE:3,PITCH_ANGLE:5},$4={read:I4,PENTAX_IFD_OFFSET:ST,MODEL_ID:ET,LIK3III:pp};function I4(t,e,n,r){const i=Co.getByteOrder(t,e+n+kT),o=e+n;let s=Qs(t,Pb,o,o+ST,i,r);return P4(s)&&(s=Et({},s,N4(t,o+s.LevelInfo.__offset,i)),delete s.LevelInfo),s}function P4(t){return t.PentaxModelID&&t.PentaxModelID.value===ET.K3_III&&t.LevelInfo}function N4(t,e,n){const r={};if(e+7>t.byteLength)return r;const i=t.getInt8(e+pp.CAMERA_ORIENTATION);r.CameraOrientation={value:i,description:L4(i)};const o=t.getInt16(e+pp.ROLL_ANGLE,n===Co.LITTLE_ENDIAN);r.RollAngle={value:o,description:O4(o)};const s=t.getInt16(e+pp.PITCH_ANGLE,n===Co.LITTLE_ENDIAN);return r.PitchAngle={value:s,description:R4(s)},r}function L4(t){return t===0?"Horizontal (normal)":t===1?"Rotate 270 CW":t===2?"Rotate 180":t===3?"Rotate 90 CW":t===4?"Upwards":t===5?"Downwards":"Unknown"}function O4(t){return""+t*-.5}function R4(t){return""+t*-.5}const F4={read:D4};function D4(t,e){return{"Image Width":M4(t,e),"Image Height":U4(t,e),"Bit Depth":z4(t,e),"Color Type":j4(t,e),Compression:B4(t,e),Filter:q4(t,e),Interlace:H4(t,e)}}function M4(t,e){if(e+0+4>t.byteLength)return;const i=We.getLongAt(t,e);return{value:i,description:`${i}px`}}function U4(t,e){if(e+4+4>t.byteLength)return;const i=We.getLongAt(t,e+4);return{value:i,description:`${i}px`}}function z4(t,e){if(e+8+1>t.byteLength)return;const i=We.getByteAt(t,e+8);return{value:i,description:`${i}`}}function j4(t,e){const i={0:"Grayscale",2:"RGB",3:"Palette",4:"Grayscale with Alpha",6:"RGB with Alpha"};if(e+9+1>t.byteLength)return;const o=We.getByteAt(t,e+9);return{value:o,description:i[o]||"Unknown"}}function B4(t,e){if(e+10+1>t.byteLength)return;const i=We.getByteAt(t,e+10);return{value:i,description:i===0?"Deflate/Inflate":"Unknown"}}function q4(t,e){if(e+11+1>t.byteLength)return;const i=We.getByteAt(t,e+11);return{value:i,description:i===0?"Adaptive":"Unknown"}}function H4(t,e){const i={0:"Noninterlaced",1:"Adam7 Interlace"};if(e+12+1>t.byteLength)return;const o=We.getByteAt(t,e+12);return{value:o,description:i[o]||"Unknown"}}const G4={read:J4},qb="STATE_KEYWORD",Hb="STATE_COMPRESSION",Gb="STATE_LANG",K4="STATE_TRANSLATED_KEYWORD",Kb="STATE_TEXT",V4=1,W4=1,Y4=6;function J4(t,e,n,r){const i={},o=[];for(let s=0;s<e.length;s++){const{offset:a,length:c,type:u}=e[s],d=Z4(t,a,c,u,n);if(d instanceof Promise)o.push(d.then(({name:f,value:h,description:p})=>{try{if(nE.USE_EXIF&&AT(f,h))return{__exif:WE.read($T(h),Y4,r).tags};if(nE.USE_IPTC&&CT(f,h))return{__iptc:Fb.read($T(h),0,r)};if(f&&!AT(f,h)&&!CT(f,h))return{[f]:{value:h,description:p}}}catch{}return{}}));else{const{name:f,value:h,description:p}=d;f&&(i[f]={value:h,description:p})}}return{readTags:i,readTagsPromise:o.length>0?Promise.all(o):void 0}}function Z4(t,e,n,r,i){const o=[],s=[];let a,c=qb,u=Xh;for(let f=0;f<n&&e+f<t.byteLength;f++){if(c===Hb){u=X4({type:r,dataView:t,offset:e+f}),r===Ya&&(f+=V4),c=TT(r,c);continue}else if(c===Kb){a=new DataView(t.buffer.slice(e+f,e+n));break}const h=t.getUint8(e+f);h===0?c=TT(r,c):c===qb?o.push(h):c===Gb&&s.push(h)}if(u!==Xh&&!i)return{};const d=tE(a,u,Q4(r));return d instanceof Promise?d.then(f=>Vb(f,r,s,o)).catch(()=>Vb("<text using unknown compression>".split(""),r,s,o)):Vb(d,r,s,o)}function X4({type:t,dataView:e,offset:n}){if(t===Ya){if(e.getUint8(n)===W4)return e.getUint8(n+1)}else if(t===tp)return e.getUint8(n);return Xh}function TT(t,e){return e===qb&&[Ya,tp].includes(t)?Hb:e===Hb?t===Ya?Gb:Kb:e===Gb?K4:Kb}function Q4(t){return t===Ab||t===tp?"latin1":"utf-8"}function Vb(t,e,n,r){const i=t5(t);return{name:e5(e,n,r),value:i,description:e===Ya?n5(t):i}}function e5(t,e,n){const r=Wa(n);if(t===Ab||e.length===0)return r;const i=Wa(e);return`${r} (${i})`}function t5(t){return t instanceof DataView?xt(t,0,t.byteLength):t}function n5(t){return JE.decode("UTF-8",t)}function AT(t,e){return t.toLowerCase()==="raw profile type exif"&&e.substring(1,5)==="exif"}function CT(t,e){return t.toLowerCase()==="raw profile type iptc"&&e.substring(1,5)==="iptc"}function $T(t){const e=t.match(/\n(exif|iptc)\n\s*\d+\n([\s\S]*)$/);return r5(e[2].replace(/\n/g,""))}function r5(t){const e=new DataView(new ArrayBuffer(t.length/2));for(let n=0;n<t.length;n+=2)e.setUint8(n/2,parseInt(t.substring(n,n+2),16));return e}const i5={read:o5};function o5(t,e){const n={};for(let r=0;r<e.length;r++){const i=We.getLongAt(t,e[r]+Nc),o=xt(t,e[r]+Js,oo);o===wE?(n["Pixels Per Unit X"]=s5(t,e[r],i),n["Pixels Per Unit Y"]=a5(t,e[r],i),n["Pixel Units"]=l5(t,e[r],i)):o===xE&&(n["Modify Date"]=c5(t,e[r],i))}return n}function s5(t,e,n){if(!gp(t,e,n,0,4))return;const o=We.getLongAt(t,e+Tr+0);return{value:o,description:""+o}}function a5(t,e,n){if(!gp(t,e,n,4,4))return;const o=We.getLongAt(t,e+Tr+4);return{value:o,description:""+o}}function l5(t,e,n){if(!gp(t,e,n,8,1))return;const o=We.getByteAt(t,e+Tr+8);return{value:o,description:o===1?"meters":"Unknown"}}function c5(t,e,n){if(!gp(t,e,n,0,7))return;const i=We.getShortAt(t,e+Tr),o=We.getByteAt(t,e+Tr+2),s=We.getByteAt(t,e+Tr+3),a=We.getByteAt(t,e+Tr+4),c=We.getByteAt(t,e+Tr+5),u=We.getByteAt(t,e+Tr+6);return{value:[i,o,s,a,c,u],description:`${Rc(i,4)}-${Rc(o,2)}-${Rc(s,2)} ${Rc(a,2)}:${Rc(c,2)}:${Rc(u,2)}`}}function gp(t,e,n,r,i){return r+i<=n&&e+Tr+r+i<=t.byteLength}function Rc(t,e){return`${"0".repeat(e-(""+t).length)}${t}`}const u5={read:h5},d5=4,f5=7;function h5(t,e){const n={},r=We.getByteAt(t,e);return n.Alpha=p5(r),n.Animation=g5(r),n.ImageWidth=IT(t,e+d5),n.ImageHeight=IT(t,e+f5),n}function p5(t){const e=t&16;return{value:e?1:0,description:e?"Yes":"No"}}function g5(t){const e=t&2;return{value:e?1:0,description:e?"Yes":"No"}}function IT(t,e){const n=We.getByteAt(t,e)+256*We.getByteAt(t,e+1)+65536*We.getByteAt(t,e+2)+1;return{value:n,description:n+"px"}}const m5={read:v5};function v5(t){return{"GIF Version":b5(t),"Image Width":_5(t),"Image Height":y5(t),"Global Color Map":w5(t),"Bits Per Pixel":k5(t),"Color Resolution Depth":x5(t)}}function b5(t){if(6>t.byteLength)return;const r=xt(t,3,3);return{value:r,description:r}}function _5(t){if(8>t.byteLength)return;const r=t.getUint16(6,!0);return{value:r,description:`${r}px`}}function y5(t){if(10>t.byteLength)return;const r=t.getUint16(8,!0);return{value:r,description:`${r}px`}}function w5(t){if(11>t.byteLength)return;const i=(t.getUint8(10)&128)>>>7;return{value:i,description:i===1?"Yes":"No"}}function x5(t){if(11>t.byteLength)return;const i=((t.getUint8(10)&112)>>>4)+1;return{value:i,description:`${i} ${i===1?"bit":"bits"}`}}function k5(t){if(11>t.byteLength)return;const i=(t.getUint8(10)&7)+1;return{value:i,description:`${i} ${i===1?"bit":"bits"}`}}const S5=[6,7,99],E5={get:T5};function T5(t,e,n){if(A5(e)){e.type="image/jpeg";const r=n+e.JPEGInterchangeFormat.value;e.image=t.buffer.slice(r,r+e.JPEGInterchangeFormatLength.value),ZS(e,"base64",function(){return XS(this.image)})}return e}function A5(t){return t&&(t.Compression===void 0||S5.includes(t.Compression.value))&&t.JPEGInterchangeFormat&&t.JPEGInterchangeFormat.value&&t.JPEGInterchangeFormatLength&&t.JPEGInterchangeFormatLength.value}const Wb={INCHES:2,CENTIMETERS:3,MILLIMETERS:4},Yb={INCHES_TO_MM:25.4,CM_TO_MM:10,MM_TO_MM:1},C5={get:$5};function $5(t,e){const n={};let r=!1;const i=Za(t,"exif","FocalLength",e),o=Za(t,"exif","FocalPlaneXResolution",e),s=Za(t,"exif","FocalPlaneYResolution",e),a=Za(t,"exif","FocalPlaneResolutionUnit",e),c=Za(t,"file","Image Width",e),u=Za(t,"file","Image Height",e),d=Za(t,"exif","FocalLengthIn35mmFilm",e)||I5(o,s,a,c,u,i);d&&(n.FocalLength35efl={value:d,description:vt.FocalLengthIn35mmFilm(d)},r=!0);const f=P5(i,d);f&&(n.ScaleFactorTo35mmEquivalent=f,r=!0);const h=N5(d);if(h&&(n.FieldOfView=h,r=!0),r)return n}function Za(t,e,n,r){if(r&&t[e]&&t[e][n])return t[e][n].value;if(!r&&t[n])return t[n].value}function I5(t,e,n,r,i,o){if(t&&e&&n&&r&&i&&o)try{let a;switch(n){case Wb.INCHES:a=Yb.INCHES_TO_MM;break;case Wb.CENTIMETERS:a=Yb.CM_TO_MM;break;case Wb.MILLIMETERS:a=Yb.MM_TO_MM;break;default:return}const c=t[0]/t[1]*a,u=e[0]/e[1]*a,d=r/c,f=i/u,h=Math.sqrt(d**2+f**2);return o[0]/o[1]*(43.27/h)}catch{}}function P5(t,e){if(t&&e)try{const n=e/(t[0]/t[1]);return{value:n,description:n.toFixed(1)}}catch{}}function N5(t){if(t)try{const n=2*Math.atan(36/(2*t))*(180/Math.PI);return{value:n,description:n.toFixed(1)+" deg"}}catch{}}function PT(t){this.name="MetadataMissingError",this.message=t||"No Exif data",this.stack=new Error().stack}PT.prototype=new Error;const NT={MetadataMissingError:PT},L5={load:O5,loadView:LT,errors:NT};function O5(t,e={}){return R5(t)?(e.async=!0,F5(t,e).then(n=>Jb(n,e))):q5(t)?(e.async=!0,H5(t).then(n=>Jb(n,e))):Jb(t,e)}function R5(t){return typeof t=="string"}function F5(t,e){return/^\w+:\/\//.test(t)?typeof fetch<"u"?D5(t,e):M5(t,e):z5(t)?Promise.resolve(Q3(t)):j5(t,e)}function D5(t,{length:e}={}){const n={method:"GET"};return Number.isInteger(e)&&e>=0&&(n.headers={range:`bytes=0-${e-1}`}),fetch(t,n).then(r=>r.arrayBuffer())}function M5(t,{length:e}={}){return new Promise((n,r)=>{const i={};Number.isInteger(e)&&e>=0&&(i.headers={range:`bytes=0-${e-1}`}),U5(t)(t,i,s=>{if(s.statusCode>=200&&s.statusCode<=299){const a=[];s.on("data",c=>a.push(Buffer.from(c))),s.on("error",c=>r(c)),s.on("end",()=>n(Buffer.concat(a)))}else r(`Could not fetch file: ${s.statusCode} ${s.statusMessage}`),s.resume()}).on("error",s=>r(s))})}function U5(t){return/^https:\/\//.test(t)?__non_webpack_require__("https").get:__non_webpack_require__("http").get}function z5(t){return/^data:[^;,]*(;base64)?,/.test(t)}function j5(t,{length:e}={}){return new Promise((n,r)=>{const i=B5();i.open(t,(o,s)=>{o?r(o):i.stat(t,(a,c)=>{if(a)r(a);else{const u=Math.min(c.size,e!==void 0?e:c.size),d=Buffer.alloc(u),f={buffer:d,length:u};i.read(s,f,h=>{h?r(h):i.close(s,p=>{p&&console.warn(`Could not close file ${t}:`,p),n(d)})})}})})})}function B5(){try{return __non_webpack_require__("fs")}catch{return}}function q5(t){return typeof File<"u"&&t instanceof File}function H5(t){return new Promise((e,n)=>{const r=new FileReader;r.onload=i=>e(i.target.result),r.onerror=()=>n(r.error),r.readAsArrayBuffer(t)})}function Jb(t,e){return G5(t)&&(t=new Uint8Array(t).buffer),LT(K5(t),e)}function G5(t){try{return Buffer.isBuffer(t)}catch{return!1}}function K5(t){try{return new DataView(t)}catch{return new WS(t)}}function LT(t,{expanded:e=!1,async:n=!1,includeUnknown:r=!1,domParser:i=void 0}={expanded:!1,async:!1,includeUnknown:!1,domParser:void 0}){let o=!1,s={};const a=[],{fileType:c,fileDataOffset:u,jfifDataOffset:d,tiffHeaderOffset:f,iptcDataOffset:h,xmpChunks:p,iccChunks:g,mpfDataOffset:m,pngHeaderOffset:v,pngTextChunks:b,pngChunkOffsets:y,vp8xChunkOffset:w,gifHeaderOffset:S}=Gz.parseAppMarkers(t,n);if(V5(u)){o=!0;const x=Aj.read(t,u);e?s.file=x:s=Et({},s,x)}if(W5(d)){o=!0;const x=Dj.read(t,d);e?s.jfif=x:s=Et({},s,x)}if(Y5(f)){o=!0;const{tags:x,byteOrder:$}=WE.read(t,f,r);if(x.Thumbnail&&(s.Thumbnail=x.Thumbnail,delete x.Thumbnail),e?(s.exif=x,J5(s)):s=Et({},s,x),x["IPTC-NAA"]&&!OT(h)){const I=Fb.read(x["IPTC-NAA"].value,0,r);e?s.iptc=I:s=Et({},s,I)}if(x.ApplicationNotes&&!RT(p)){const I=nT.read(Wa(x.ApplicationNotes.value),void 0,i);e?s.xmp=I:(delete I._raw,s=Et({},s,I))}if(x.ImageSourceData&&x.PhotoshopSettings){const I=r4.read(x.PhotoshopSettings.value,r);e?s.photoshop=I:s=Et({},s,I)}if(x.ICC_Profile&&!FT(g)){const I=wT.read(x.ICC_Profile.value,[{offset:0,length:x.ICC_Profile.value.length,chunkNumber:1,chunksTotal:1}]);e?s.icc=I:s=Et({},s,I)}if(x.MakerNote){if(Z5(x)){const I=E4.read(t,f,x.MakerNote.__offset,$,r);e?s.makerNotes=I:s=Et({},s,I)}else if(X5(x)){const I=$4.read(t,f,x.MakerNote.__offset,r);e?s.makerNotes=I:s=Et({},s,I)}}x.MakerNote&&delete x.MakerNote.__offset}if(OT(h)){o=!0;const x=Fb.read(t,h,r);e?s.iptc=x:s=Et({},s,x)}if(RT(p)){o=!0;const x=nT.read(t,p,i);e?s.xmp=x:(delete x._raw,s=Et({},s,x))}if(FT(g)){o=!0;const x=wT.read(t,g,n);x instanceof Promise?a.push(x.then(C)):C(x)}if(Q5(m)){o=!0;const x=_j.read(t,m,r);e?s.mpf=x:s=Et({},s,x)}if(eq(v)){o=!0;const x=F4.read(t,v);e?(s.png=s.png?Et({},s.png,x):x,s.pngFile=x):s=Et({},s,x)}if(tq(b)){o=!0;const{readTags:x,readTagsPromise:$}=G4.read(t,b,n,r);k(x),$&&a.push($.then(I=>I.forEach(k)))}if(nq(y)){o=!0;const x=i5.read(t,y);e?s.png=s.png?Et({},s.png,x):x:s=Et({},s,x)}if(rq(w)){o=!0;const x=u5.read(t,w);e?s.riff=s.riff?Et({},s.riff,x):x:s=Et({},s,x)}if(iq(S)){o=!0;const x=m5.read(t,S);e?s.gif=s.gif?Et({},s.gif,x):x:s=Et({},s,x)}const T=C5.get(s,e);T&&(e?s.composite=T:s=Et({},s,T));const E=E5.get(t,s.Thumbnail,f);if(E?(o=!0,s.Thumbnail=E):delete s.Thumbnail,c&&(e?(s.file||(s.file={}),s.file.FileType=c):s.FileType=c,o=!0),!o)throw new NT.MetadataMissingError;if(n)return Promise.all(a).then(()=>s);return s;function C(x){e?s.icc=x:s=Et({},s,x)}function k(x){if(e){for(const $ of["exif","iptc"]){const I=`__${$}`;x[I]&&(s[$]=s[$]?Et({},s.exif,x[I]):x[I],delete x[I])}s.png=s.png?Et({},s.png,x):x,s.pngText=s.pngText?Et({},s.png,x):x}else s=Et({},s,x.__exif?x.__exif:{},x.__iptc?x.__iptc:{},x),delete s.__exif,delete s.__iptc}}function V5(t){return t!==void 0}function W5(t){return t!==void 0}function Y5(t){return t!==void 0}function J5(t){if(t.exif){if(t.exif.GPSLatitude&&t.exif.GPSLatitudeRef)try{t.gps=t.gps||{},t.gps.Latitude=Qh(t.exif.GPSLatitude.value),t.exif.GPSLatitudeRef.value.join("")==="S"&&(t.gps.Latitude=-t.gps.Latitude)}catch{}if(t.exif.GPSLongitude&&t.exif.GPSLongitudeRef)try{t.gps=t.gps||{},t.gps.Longitude=Qh(t.exif.GPSLongitude.value),t.exif.GPSLongitudeRef.value.join("")==="W"&&(t.gps.Longitude=-t.gps.Longitude)}catch{}if(t.exif.GPSAltitude&&t.exif.GPSAltitudeRef)try{t.gps=t.gps||{},t.gps.Altitude=t.exif.GPSAltitude.value[0]/t.exif.GPSAltitude.value[1],t.exif.GPSAltitudeRef.value===1&&(t.gps.Altitude=-t.gps.Altitude)}catch{}}}function OT(t){return t!==void 0}function RT(t){return Array.isArray(t)&&t.length>0}function FT(t){return Array.isArray(t)&&t.length>0}function Z5(t){return t.Make&&t.Make.value&&Array.isArray(t.Make.value)&&t.Make.value[0]==="Canon"&&t.MakerNote&&t.MakerNote.__offset}function X5(t){const e="PENTAX ";return t.MakerNote.value.length>e.length&&Wa(t.MakerNote.value.slice(0,e.length))===e&&t.MakerNote.__offset}function Q5(t){return t!==void 0}function eq(t){return t!==void 0}function tq(t){return t!==void 0}function nq(t){return t!==void 0}function rq(t){return t!==void 0}function iq(t){return t!==void 0}const Xa=(t,e)=>{if(typeof t!="number")return NaN;if(!Number.isFinite(t))return t;const n=10**e;return Math.round(t*n)/n},oq=/^(?<year>\d{4}):(?<month>\d{2}):(?<date>\d{2}) (?<hour>\d{2}):(?<minute>\d{2}):(?<second>\d{2})$/,sq=async(t,e)=>{if(!(e==="image")||!t.file)return{createdDate:void 0,coordinates:void 0};const{exif:{DateTimeOriginal:r,DateTime:i}={DateTimeOriginal:void 0,DateTime:void 0},gps:{Latitude:o,Longitude:s}={Latitude:void 0,Longitude:void 0}}=await L5.load(t.file,{expanded:!0}).catch(()=>{})??{},c=(r?.description??i?.description)?.match(oq);let u,d;if(c?.groups){const{year:f,month:h,date:p,hour:g,minute:m,second:v}=c.groups,b=new Date(`${f}-${h}-${p}T${g}:${m}:${v}Z`);Number.isNaN(b.getTime())||(u=b)}return typeof o=="number"&&typeof s=="number"&&Number.isFinite(o)&&Number.isFinite(s)&&(d={latitude:Xa(o,7),longitude:Xa(s,7)}),{createdDate:u,coordinates:d}},aq=t=>{const e=new Image;return new Promise(n=>{const r=()=>{n({dimensions:{width:e.naturalWidth,height:e.naturalHeight}})};e.addEventListener("load",r,{once:!0}),e.src=t})},lq=async(t,e)=>{const n=document.createElement(e);return new Promise(r=>{const i=()=>{const{duration:o}=n;e==="audio"&&r({duration:o});const{videoWidth:s,videoHeight:a}=n;r({dimensions:{width:s,height:a},duration:o})};n.addEventListener("loadedmetadata",i,{once:!0}),n.src=t})},cq=async(t,e)=>e==="image"?aq(t):lq(t,e),uq=async(t,e,n)=>{const{dimensions:r,duration:i}=await cq(e,n),{createdDate:o,coordinates:s}=await sq(t,n);return{dimensions:r,duration:i,createdDate:o,coordinates:s}},kue="modulepreload",Sue=function(t){return"/"+t},Eue={},DT=function(e,n,r){let i=Promise.resolve();function o(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return i.then(s=>{for(const a of s||[])a.status==="rejected"&&o(a.reason);return e().catch(o)})},Zb="0.106.2",dq={"@jsquash/webp":"^1.5.0","@lexical/markdown":"^0.35.0","@sindresorhus/transliterate":"^2.0.0","@sveltia/ui":"^0.28.3","@sveltia/utils":"^0.8.0","create-react-class":"^15.7.0",dayjs:"^1.11.18",deepmerge:"^4.3.1",exifreader:"^4.32.0","fast-deep-equal":"^3.1.3",flat:"^6.0.1","isomorphic-dompurify":"^2.28.0",leaflet:"^1.9.4",lexical:"^0.35.0",marked:"^16.3.0","marked-bidi":"^1.0.13",mime:"^4.1.0","parse-entities":"^4.0.2","pdfjs-dist":"^5.4.149",qrcode:"^1.5.4",react:"^19.1.1","react-dom":"^19.1.1","sanitize-filename":"^1.6.3","smol-toml":"^1.4.2","svelte-i18n":"^4.0.1",svgo:"^4.0.0","terra-draw":"^1.15.0","terra-draw-leaflet-adapter":"^1.0.3",turndown:"^7.2.1",yaml:"^2.8.1"},Xb=t=>{const e=`https://unpkg.com/${t}`,n=dq[t]?.replace(/^\D/,"");return n?`${e}@${n}`:e},Fc=async(t,e)=>DT(()=>import(`${Xb(t)}/${e}`),void 0),MT=["avif","gif","jpeg","png","webp"],fq=MT.map(t=>`image/${t}`),Qb=/\b(?:avif|gif|jpe?g|png|webp)$/i,hq=["image/svg+xml"],pq=/\b(?:svg)$/i,$o=[...fq,...hq],UT=["webp"],e_={},gq=async t=>{if(t in e_)return e_[t];const e=`image/${t}`,n=new OffscreenCanvas(1,1);n.getContext("2d");const i=(await n.convertToBlob({type:e})).type===e;return e_[t]=i,i},zT=async(t,{format:e="webp",quality:n=85}={})=>{const r=`image/${e}`;if(!await gq(e)&&UT.includes(e)){const o=t.getContext("2d").getImageData(0,0,t.width,t.height);try{const s=(await Fc(`@jsquash/${e}`,"encode.js?module")).default,a=await s(o,{quality:n});return new Blob([a],{type:r})}catch{}}return t.convertToBlob({type:r,quality:n/100})},mq=({width:t,height:e},{width:n=t,height:r=e,fit:i="scale-down"}={})=>{const o={scale:1,width:t,height:e};if(t===r&&e===r)return o;const s=t>e,a=t<r||e<r;let c=1,u=0,d=0;if(i==="scale-down"){if(a)return o;i="contain"}return i==="contain"&&(s?(n>r?(c=n/t,u=n):(c=r/t,u=r),d=e*c):(n>r?(c=r/e,d=r):(c=n/e,d=n),u=t*c)),{scale:c,width:u,height:d}},jT=(t,e,n)=>{const{scale:r,width:i,height:o}=mq(e,n);return t.width=i,t.height=o,{scale:r,width:i,height:o}},vq=async({blob:t})=>{const e=URL.createObjectURL(t),n=new Image;return new Promise(r=>{n.addEventListener("load",()=>{r({source:n,naturalWidth:n.naturalWidth,naturalHeight:n.naturalHeight}),URL.revokeObjectURL(e)},{once:!0}),n.src=e})},bq=async({blob:t})=>{const e=URL.createObjectURL(t),n=document.createElement("video");return new Promise(r=>{n.addEventListener("canplay",()=>{n.pause(),r({source:n,naturalWidth:n.videoWidth,naturalHeight:n.videoHeight}),URL.revokeObjectURL(e)},{once:!0}),n.muted=!0,n.autoplay=!0,n.playsInline=!0,n.src=e,n.style.opacity="0",n.style.pointerEvents="none",document.body.appendChild(n)})},_q=async t=>t.type.startsWith("video/")?bq({blob:t}):vq({blob:t}),t_=async(t,{format:e="png",quality:n=85,width:r=void 0,height:i=void 0,fit:o="scale-down"}={})=>{let s,a=0,c=0;try{s=await createImageBitmap(t),{width:a,height:c}=s}catch{({source:s,naturalWidth:a,naturalHeight:c}=await _q(t))}r??=a,i??=c;const u=new OffscreenCanvas(512,512),d=u.getContext("2d");return jT(u,{width:a,height:c},{fit:o,width:r,height:i}),d.drawImage(s,0,0,u.width,u.height),s instanceof HTMLVideoElement&&document.body.removeChild(s),zT(u,{format:e,quality:n})},yq=async t=>{const e=await t.text();try{const{optimize:n}=await Fc("svgo","dist/svgo.browser.js"),{data:r}=n(e);return new Blob([r],{type:t.type})}catch{}return t},Dc=Xb("pdfjs-dist"),wq=`${Dc}/build/pdf.min.mjs`,xq=`${Dc}/build/pdf.worker.min.mjs`,kq={isEvalSupported:!1,disableAutoFetch:!0,cMapUrl:`${Dc}/cmaps/`,iccUrl:`${Dc}/iccs/`,standardFontDataUrl:`${Dc}/standard_fonts/`,wasmUrl:`${Dc}/wasm/`};let mp;const Sq=async(t,{format:e="png",quality:n=85,width:r=void 0,height:i=void 0,fit:o="scale-down"}={})=>{if(!mp)try{mp=await import(wq),mp.GlobalWorkerOptions.workerSrc=xq}catch{throw new Error("Failed to load PDF.js library")}const s=URL.createObjectURL(t),a=new OffscreenCanvas(512,512),c=a.getContext("2d");try{const d=await(await mp.getDocument({...kq,url:s}).promise).getPage(1),f=d.getViewport({scale:1}),{scale:h}=jT(a,{width:f.width,height:f.height},{width:r,height:i,fit:o});await d.render({canvasContext:c,viewport:h===1?f:d.getViewport({scale:h})}).promise,URL.revokeObjectURL(s)}catch{throw new Error("Failed to render PDF")}return zT(a,{format:e,quality:n})},n_=new Set,ta=async(t,e=0)=>{const{file:n,blobURL:r,name:i,path:o}=t;if(r)return fetch(r).then(a=>a.blob());let s;if(n)s=n;else{if(n_.has(o)&&e<=25)return await Ft(200),ta(t,e+1);n_.add(o);const a=await se(xn)?.fetchBlob?.(t);if(!a)throw new Error("Failed to retrieve blob");s=new Blob([a],{type:as.getType(i)??a.type})}return t.blobURL=URL.createObjectURL(s),n_.delete(o),s},r_=async t=>(t.blobURL||await ta(t),t.blobURL);let vp;const i_=async(t,{cacheOnly:e=!1}={})=>{const n=t.name.endsWith(".pdf");if(!(["image","video"].includes(t.kind)||n))return;if(vp===void 0){const{databaseName:i}=se(xn)?.repository??{};vp=i?new Ao(i,"asset-thumbnails"):null}let r=await vp?.get(t.sha);if(!r){if(e)return;const i=await ta(t),o={format:"webp",quality:85,width:512,height:512,fit:"contain"};r=n?await Sq(i,o):await t_(i,o),await vp?.set(t.sha,r)}return URL.createObjectURL(r)},_d=(t,{pathOnly:e=!1,allowSpecial:n=!1,entry:r=void 0}={})=>{const{publicPath:i,entryRelative:o,hasTemplateTags:s}=t.folder.collectionName===void 0?t.folder:Kh(t.path).find(({collectionName:d})=>d!==void 0)??se(Ha);if(o)return e&&r&&mn(t.path).dirname===mn(Object.values(r.locales)[0].path).dirname?t.name:void 0;const{_baseURL:a="",output:{encode_file_path:c=!1}={}}=se(Ct);let u=s?t.path.replace(HS(t.folder.internalPath??"",d=>{const f=d.match(/{{(?<tag>.+?)}}/)?.groups?.tag;return f?`(?<${f}>[^/]+)`:Wt(d)}),i?.replaceAll(/{{(.+?)}}/g,"$<$1>")??""):t.path.replace(t.folder.internalPath??"",i==="/"?"":i??"");if(c&&(u=GS(u)),!(!u.startsWith("/")&&!n))return e?u:`${a}${u}`},Mc=async({value:t,entry:e,collectionName:n,fileName:r,thumbnail:i=!1})=>{if(!t)return;if(/^(?:https?|data|blob):/.test(t))return t;const o=$_({value:t,entry:e,collectionName:n,fileName:r});if(o)return(i?await i_(o):await r_(o))??_d(o)},bp={publicURL:void 0,repoBlobURL:void 0,dimensions:void 0,duration:void 0,usedEntries:[]},_p=async t=>{const{kind:e,path:n}=t,{blobBaseURL:r}=se(xn)?.repository??{},i=await r_(t),o=_d(t,{allowSpecial:!0,pathOnly:!0})??i;let s={};return["image","video","audio"].includes(e)&&i&&(s=await uq(t,i,e)),{...s,publicURL:_d(t),repoBlobURL:r?`${r}/${n}`:void 0,usedEntries:o?await A_(o):[]}},Uc=rt(!1),Io=rt(),o_=rt([]),ci=rt([]),s_=rt([]),BT=t=>se(o_).filter(({collectionName:e,filePathMap:n})=>n?Object.values(n).includes(t):Zr(e)?._file?.fullPathRegEx?.test(t)).sort((e,n)=>n.folderPath?.localeCompare(e.folderPath??"")??0),Eq=()=>{try{return se(de)("index_file")}catch{return"Index File"}},ui=t=>{const{index_file:e}=t;if(!Md(t)||!e)return;const n=e===!0?{}:e;return{name:n.name??"_index",label:n.label??Eq(),icon:n.icon??"home",fields:n.fields,editor:n.editor}},Po=(t,e)=>{const n=ui(t);return n?e.slug===n.name:!1},Tq=t=>{const e=ui(t);return e?!Lo(t.name).some(({slug:n})=>n===e.name):!1};lr.extend(sb),lr.extend(ab),lr.extend(lb);const Aq=/{{(?:year|month|day|hour|minute|second)}}/,us=t=>BT(Object.values(t.locales)[0].path).map(({collectionName:e})=>Zr(e)).filter(e=>!!e),Cq=({dateFieldName:t,fields:e,content:n})=>{const r=t?e.find(({widget:a,name:c})=>a==="datetime"&&c===t):e.find(({widget:a})=>a==="datetime"),i=r?n[r.name]:void 0;if(!r||!i)return;const{format:o,picker_utc:s=!1}=r;return Ga({date:(s?lr.utc:lr)(i,o).toDate(),timeZone:s?"UTC":void 0})},qT=(t,e,n,r)=>{const{show_preview_links:i=!0,_baseURL:o}=se(Ct)??{},{slug:s,path:a,content:c}=t.locales[e]??{},{preview_path:u,preview_path_date_field:d,fields:f=[]}=r??n;if(!i||!o||!a||!c||!u)return;const h=Po(n,t),g=(h?ui(n):void 0)?.fields??f;let m;if(!(Aq.test(u)&&(m=Cq({dateFieldName:d,fields:g,content:c}),!m)))try{const v=Oo(u,{type:"preview_path",collection:n,content:c,locale:e,currentSlug:s,entryFilePath:a,dateTimeParts:m,isIndexFile:h});return`${o.replace(/\/$/,"")}/${v.replace(/^\//,"")}`}catch{return}},$q=(t,e)=>`${se(xn)?.repository?.blobBaseURL}/${t.locales[e]?.path}?plain=1`,yp=t=>!("divider"in t)&&typeof t.file=="string"&&Array.isArray(t.fields),wp=t=>t.filter(e=>yp(e)),zc=(t,e)=>{const n=typeof t=="string"?Zr(t):t;if(!(!n||!("_fileMap"in n)))return n._fileMap[e]},yd=t=>t.label||t.name,na=(t,e)=>"_fileMap"in t?Object.values(t._fileMap).filter(({_file:n,_i18n:r})=>n.fullPath===e.locales[r.defaultLocale]?.path):[],a_=(t,e)=>se(ci).find(n=>us(n).some(r=>r.name===t&&na(r,n).some(i=>i.name===e))),HT=(t,e)=>{if(t&&e){const{collections:n,singletons:r}=se(Ct);return t==="_singletons"?Array.isArray(r)?wp(r).findIndex(i=>i.name===e):-1:oa({collections:n}).find(({name:i})=>i===t)?.files?.findIndex(({name:i})=>i===e)??-1}return-1},l_=["file","image"],xp=[...l_,"relation","select"],GT=[...xp,"list","number"],KT=({multiline:t,dotAll:e,source:n})=>t||e||n.includes("[\\s\\S]")||n.includes("[\\S\\s]"),VT=t=>ss(Object.fromEntries(Object.entries(io(t)).filter(([e])=>!e.split(".").pop()?.startsWith("__sc_")))),WT=t=>t.replace(/"/g,"'"),Qa=t=>t.replace(/"/g,"""),kp=new Map,YT=/!\[(?<alt>(?:[^\]\\]|\\.)*)\]\((?<src>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title>(?:[^"\\]|\\.)*)")?\)/,Iq=/\[!\[(?<alt2>(?:[^\]\\]|\\.)*)\]\((?<src2>(?:[^"()\\]|\\.|\([^)]*\)|"[^"]*")*?)(?:\s+"(?<title2>(?:[^"\\]|\\.)*)")?\)\](?:\((?<link>[^)]*\([^)]*\)[^)]*|[^)]*)\))/,Pq=new RegExp(`${YT.source}|${Iq.source}`),JT={id:"image",label:"Image",fields:[{name:"src",label:"Source",widget:"image"},{name:"alt",label:"Alt Text",required:!1},{name:"title",label:"Title",required:!1}],pattern:YT,toBlock:t=>{const{src:e="",alt:n="",title:r=""}=t;return e?`}"`:""})`:""},toPreview:t=>{const{src:e="",alt:n="",title:r=""}=t;return`<img src="${Qa(e)}" alt="${Qa(n)}" title="${Qa(r)}">`}},Nq={id:"linked-image",label:"Image",fields:[...JT.fields,{name:"link",label:"Link",required:!1}],pattern:Pq,fromBlock:t=>{const{src:e,alt:n,title:r,src2:i,alt2:o,title2:s,link:a}=t.groups??{};return{src:(e||i||"").trim(),alt:(n||o||"").trim(),title:(r||s||"").trim(),link:(a||"").trim()}},toBlock:t=>{const{src:e="",alt:n="",title:r="",link:i=""}=t,o=e?`}"`:""})`:"";return o&&i?`[${o}](${i})`:o},toPreview:t=>{const{src:e="",alt:n="",title:r="",link:i=""}=t,o=`<img src="${Qa(e)}" alt="${Qa(n)}" title="${Qa(r)}">`;return i?`<a href="${Qa(i)}">${o}</a>`:o}},ZT=t=>{if(kp.has(t))return kp.get(t);const e={icon:"image",label:se(de)("editor_components.image"),fields:[{name:"src",label:se(de)("editor_components.src"),widget:"image"},{name:"alt",label:se(de)("editor_components.alt"),required:!1},{name:"title",label:se(de)("editor_components.title"),required:!1}]};return{image:{...JT,...e},"linked-image":{...Nq,...e,fields:[...e.fields,{name:"link",label:se(de)("editor_components.link"),required:!1}]}}[t]};var c_,XT;function QT(){if(XT)return c_;XT=1;const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:r,getOwnPropertyDescriptor:i}=Object;let{freeze:o,seal:s,create:a}=Object,{apply:c,construct:u}=typeof Reflect<"u"&&Reflect;o||(o=function(Ie){return Ie}),s||(s=function(Ie){return Ie}),c||(c=function(Ie,ze){for(var Ce=arguments.length,Te=new Array(Ce>2?Ce-2:0),ye=2;ye<Ce;ye++)Te[ye-2]=arguments[ye];return Ie.apply(ze,Te)}),u||(u=function(Ie){for(var ze=arguments.length,Ce=new Array(ze>1?ze-1:0),Te=1;Te<ze;Te++)Ce[Te-1]=arguments[Te];return new Ie(...Ce)});const d=k(Array.prototype.forEach),f=k(Array.prototype.lastIndexOf),h=k(Array.prototype.pop),p=k(Array.prototype.push),g=k(Array.prototype.splice),m=k(String.prototype.toLowerCase),v=k(String.prototype.toString),b=k(String.prototype.match),y=k(String.prototype.replace),w=k(String.prototype.indexOf),S=k(String.prototype.trim),T=k(Object.prototype.hasOwnProperty),E=k(RegExp.prototype.test),C=x(TypeError);function k(Be){return function(Ie){Ie instanceof RegExp&&(Ie.lastIndex=0);for(var ze=arguments.length,Ce=new Array(ze>1?ze-1:0),Te=1;Te<ze;Te++)Ce[Te-1]=arguments[Te];return c(Be,Ie,Ce)}}function x(Be){return function(){for(var Ie=arguments.length,ze=new Array(Ie),Ce=0;Ce<Ie;Ce++)ze[Ce]=arguments[Ce];return u(Be,ze)}}function $(Be,Ie){let ze=arguments.length>2&&arguments[2]!==void 0?arguments[2]:m;e&&e(Be,null);let Ce=Ie.length;for(;Ce--;){let Te=Ie[Ce];if(typeof Te=="string"){const ye=ze(Te);ye!==Te&&(n(Ie)||(Ie[Ce]=ye),Te=ye)}Be[Te]=!0}return Be}function I(Be){for(let Ie=0;Ie<Be.length;Ie++)T(Be,Ie)||(Be[Ie]=null);return Be}function P(Be){const Ie=a(null);for(const[ze,Ce]of t(Be))T(Be,ze)&&(Array.isArray(Ce)?Ie[ze]=I(Ce):Ce&&typeof Ce=="object"&&Ce.constructor===Object?Ie[ze]=P(Ce):Ie[ze]=Ce);return Ie}function L(Be,Ie){for(;Be!==null;){const Ce=i(Be,Ie);if(Ce){if(Ce.get)return k(Ce.get);if(typeof Ce.value=="function")return k(Ce.value)}Be=r(Be)}function ze(){return null}return ze}const N=o(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),F=o(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","slot","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),B=o(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),G=o(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),W=o(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Y=o(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=o(["#text"]),M=o(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),K=o(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),J=o(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Q=o(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),ie=s(/\{\{[\w\W]*|[\w\W]*\}\}/gm),ne=s(/<%[\w\W]*|[\w\W]*%>/gm),ee=s(/\$\{[\w\W]*/gm),re=s(/^data-[\-\w.\u00B7-\uFFFF]+$/),ae=s(/^aria-[\-\w]+$/),he=s(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),me=s(/^(?:\w+script|data):/i),pe=s(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ue=s(/^html$/i),ge=s(/^[a-z][.\w]*(-[.\w]+)+$/i);var be=Object.freeze({__proto__:null,ARIA_ATTR:ae,ATTR_WHITESPACE:pe,CUSTOM_ELEMENT:ge,DATA_ATTR:re,DOCTYPE_NAME:ue,ERB_EXPR:ne,IS_ALLOWED_URI:he,IS_SCRIPT_OR_DATA:me,MUSTACHE_EXPR:ie,TMPLIT_EXPR:ee});const _e={element:1,text:3,progressingInstruction:7,comment:8,document:9},Ee=function(){return typeof window>"u"?null:window},Ne=function(Ie,ze){if(typeof Ie!="object"||typeof Ie.createPolicy!="function")return null;let Ce=null;const Te="data-tt-policy-suffix";ze&&ze.hasAttribute(Te)&&(Ce=ze.getAttribute(Te));const ye="dompurify"+(Ce?"#"+Ce:"");try{return Ie.createPolicy(ye,{createHTML($e){return $e},createScriptURL($e){return $e}})}catch{return console.warn("TrustedTypes policy "+ye+" could not be created."),null}},Ue=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}};function qe(){let Be=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ee();const Ie=ct=>qe(ct);if(Ie.version="3.2.7",Ie.removed=[],!Be||!Be.document||Be.document.nodeType!==_e.document||!Be.Element)return Ie.isSupported=!1,Ie;let{document:ze}=Be;const Ce=ze,Te=Ce.currentScript,{DocumentFragment:ye,HTMLTemplateElement:$e,Node:Ae,Element:st,NodeFilter:Qe,NamedNodeMap:Le=Be.NamedNodeMap||Be.MozNamedAttrMap,HTMLFormElement:Fe,DOMParser:Ke,trustedTypes:lt}=Be,ht=st.prototype,Nt=L(ht,"cloneNode"),en=L(ht,"remove"),yn=L(ht,"nextSibling"),Gt=L(ht,"childNodes"),Lt=L(ht,"parentNode");if(typeof $e=="function"){const ct=ze.createElement("template");ct.content&&ct.content.ownerDocument&&(ze=ct.content.ownerDocument)}let Dt,dn="";const{implementation:fn,createNodeIterator:Fn,createDocumentFragment:hn,getElementsByTagName:Zt}=ze,{importNode:Ut}=Ce;let kt=Ue();Ie.isSupported=typeof t=="function"&&typeof Lt=="function"&&fn&&fn.createHTMLDocument!==void 0;const{MUSTACHE_EXPR:Zn,ERB_EXPR:Lr,TMPLIT_EXPR:mi,DATA_ATTR:pt,ARIA_ATTR:ln,IS_SCRIPT_OR_DATA:Dn,ATTR_WHITESPACE:$n,CUSTOM_ELEMENT:Br}=be;let{IS_ALLOWED_URI:Xn}=be,Ot=null;const Qn=$({},[...N,...F,...B,...W,...O]);let Kt=null;const Wi=$({},[...M,...K,...J,...Q]);let Vt=Object.seal(a(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Li=null,wn=null,ii=!0,qr=!0,Jo=!1,vi=!0,tn=!1,ut=!0,yt=!1,Mn=!1,Un=!1,_r=!1,bi=!1,Gn=!1,yr=!0,Zo=!1;const Uf="user-content-";let Hl=!0,fr=!1,wr={},_i=null;const aO=$({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let lO=null;const cO=$({},["audio","video","img","source","image","track"]);let o0=null;const uO=$({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),_m="http://www.w3.org/1998/Math/MathML",ym="http://www.w3.org/2000/svg",$s="http://www.w3.org/1999/xhtml";let Ru=$s,s0=!1,a0=null;const pue=$({},[_m,ym,$s],v);let wm=$({},["mi","mo","mn","ms","mtext"]),xm=$({},["annotation-xml"]);const gue=$({},["title","style","font","a","script"]);let zf=null;const mue=["application/xhtml+xml","text/html"],vue="text/html";let xr=null,Fu=null;const bue=ze.createElement("form"),dO=function(fe){return fe instanceof RegExp||fe instanceof Function},l0=function(){let fe=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!(Fu&&Fu===fe)){if((!fe||typeof fe!="object")&&(fe={}),fe=P(fe),zf=mue.indexOf(fe.PARSER_MEDIA_TYPE)===-1?vue:fe.PARSER_MEDIA_TYPE,xr=zf==="application/xhtml+xml"?v:m,Ot=T(fe,"ALLOWED_TAGS")?$({},fe.ALLOWED_TAGS,xr):Qn,Kt=T(fe,"ALLOWED_ATTR")?$({},fe.ALLOWED_ATTR,xr):Wi,a0=T(fe,"ALLOWED_NAMESPACES")?$({},fe.ALLOWED_NAMESPACES,v):pue,o0=T(fe,"ADD_URI_SAFE_ATTR")?$(P(uO),fe.ADD_URI_SAFE_ATTR,xr):uO,lO=T(fe,"ADD_DATA_URI_TAGS")?$(P(cO),fe.ADD_DATA_URI_TAGS,xr):cO,_i=T(fe,"FORBID_CONTENTS")?$({},fe.FORBID_CONTENTS,xr):aO,Li=T(fe,"FORBID_TAGS")?$({},fe.FORBID_TAGS,xr):P({}),wn=T(fe,"FORBID_ATTR")?$({},fe.FORBID_ATTR,xr):P({}),wr=T(fe,"USE_PROFILES")?fe.USE_PROFILES:!1,ii=fe.ALLOW_ARIA_ATTR!==!1,qr=fe.ALLOW_DATA_ATTR!==!1,Jo=fe.ALLOW_UNKNOWN_PROTOCOLS||!1,vi=fe.ALLOW_SELF_CLOSE_IN_ATTR!==!1,tn=fe.SAFE_FOR_TEMPLATES||!1,ut=fe.SAFE_FOR_XML!==!1,yt=fe.WHOLE_DOCUMENT||!1,_r=fe.RETURN_DOM||!1,bi=fe.RETURN_DOM_FRAGMENT||!1,Gn=fe.RETURN_TRUSTED_TYPE||!1,Un=fe.FORCE_BODY||!1,yr=fe.SANITIZE_DOM!==!1,Zo=fe.SANITIZE_NAMED_PROPS||!1,Hl=fe.KEEP_CONTENT!==!1,fr=fe.IN_PLACE||!1,Xn=fe.ALLOWED_URI_REGEXP||he,Ru=fe.NAMESPACE||$s,wm=fe.MATHML_TEXT_INTEGRATION_POINTS||wm,xm=fe.HTML_INTEGRATION_POINTS||xm,Vt=fe.CUSTOM_ELEMENT_HANDLING||{},fe.CUSTOM_ELEMENT_HANDLING&&dO(fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(Vt.tagNameCheck=fe.CUSTOM_ELEMENT_HANDLING.tagNameCheck),fe.CUSTOM_ELEMENT_HANDLING&&dO(fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(Vt.attributeNameCheck=fe.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),fe.CUSTOM_ELEMENT_HANDLING&&typeof fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements=="boolean"&&(Vt.allowCustomizedBuiltInElements=fe.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),tn&&(qr=!1),bi&&(_r=!0),wr&&(Ot=$({},O),Kt=[],wr.html===!0&&($(Ot,N),$(Kt,M)),wr.svg===!0&&($(Ot,F),$(Kt,K),$(Kt,Q)),wr.svgFilters===!0&&($(Ot,B),$(Kt,K),$(Kt,Q)),wr.mathMl===!0&&($(Ot,W),$(Kt,J),$(Kt,Q))),fe.ADD_TAGS&&(Ot===Qn&&(Ot=P(Ot)),$(Ot,fe.ADD_TAGS,xr)),fe.ADD_ATTR&&(Kt===Wi&&(Kt=P(Kt)),$(Kt,fe.ADD_ATTR,xr)),fe.ADD_URI_SAFE_ATTR&&$(o0,fe.ADD_URI_SAFE_ATTR,xr),fe.FORBID_CONTENTS&&(_i===aO&&(_i=P(_i)),$(_i,fe.FORBID_CONTENTS,xr)),Hl&&(Ot["#text"]=!0),yt&&$(Ot,["html","head","body"]),Ot.table&&($(Ot,["tbody"]),delete Li.tbody),fe.TRUSTED_TYPES_POLICY){if(typeof fe.TRUSTED_TYPES_POLICY.createHTML!="function")throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof fe.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw C('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Dt=fe.TRUSTED_TYPES_POLICY,dn=Dt.createHTML("")}else Dt===void 0&&(Dt=Ne(lt,Te)),Dt!==null&&typeof dn=="string"&&(dn=Dt.createHTML(""));o&&o(fe),Fu=fe}},fO=$({},[...F,...B,...G]),hO=$({},[...W,...Y]),_ue=function(fe){let He=Lt(fe);(!He||!He.tagName)&&(He={namespaceURI:Ru,tagName:"template"});const at=m(fe.tagName),In=m(He.tagName);return a0[fe.namespaceURI]?fe.namespaceURI===ym?He.namespaceURI===$s?at==="svg":He.namespaceURI===_m?at==="svg"&&(In==="annotation-xml"||wm[In]):!!fO[at]:fe.namespaceURI===_m?He.namespaceURI===$s?at==="math":He.namespaceURI===ym?at==="math"&&xm[In]:!!hO[at]:fe.namespaceURI===$s?He.namespaceURI===ym&&!xm[In]||He.namespaceURI===_m&&!wm[In]?!1:!hO[at]&&(gue[at]||!fO[at]):!!(zf==="application/xhtml+xml"&&a0[fe.namespaceURI]):!1},Xo=function(fe){p(Ie.removed,{element:fe});try{Lt(fe).removeChild(fe)}catch{en(fe)}},Gl=function(fe,He){try{p(Ie.removed,{attribute:He.getAttributeNode(fe),from:He})}catch{p(Ie.removed,{attribute:null,from:He})}if(He.removeAttribute(fe),fe==="is")if(_r||bi)try{Xo(He)}catch{}else try{He.setAttribute(fe,"")}catch{}},pO=function(fe){let He=null,at=null;if(Un)fe="<remove></remove>"+fe;else{const sr=b(fe,/^[\r\n\t ]+/);at=sr&&sr[0]}zf==="application/xhtml+xml"&&Ru===$s&&(fe='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+fe+"</body></html>");const In=Dt?Dt.createHTML(fe):fe;if(Ru===$s)try{He=new Ke().parseFromString(In,zf)}catch{}if(!He||!He.documentElement){He=fn.createDocument(Ru,"template",null);try{He.documentElement.innerHTML=s0?dn:In}catch{}}const Hr=He.body||He.documentElement;return fe&&at&&Hr.insertBefore(ze.createTextNode(at),Hr.childNodes[0]||null),Ru===$s?Zt.call(He,yt?"html":"body")[0]:yt?He.documentElement:Hr},gO=function(fe){return Fn.call(fe.ownerDocument||fe,fe,Qe.SHOW_ELEMENT|Qe.SHOW_COMMENT|Qe.SHOW_TEXT|Qe.SHOW_PROCESSING_INSTRUCTION|Qe.SHOW_CDATA_SECTION,null)},c0=function(fe){return fe instanceof Fe&&(typeof fe.nodeName!="string"||typeof fe.textContent!="string"||typeof fe.removeChild!="function"||!(fe.attributes instanceof Le)||typeof fe.removeAttribute!="function"||typeof fe.setAttribute!="function"||typeof fe.namespaceURI!="string"||typeof fe.insertBefore!="function"||typeof fe.hasChildNodes!="function")},mO=function(fe){return typeof Ae=="function"&&fe instanceof Ae};function Is(ct,fe,He){d(ct,at=>{at.call(Ie,fe,He,Fu)})}const vO=function(fe){let He=null;if(Is(kt.beforeSanitizeElements,fe,null),c0(fe))return Xo(fe),!0;const at=xr(fe.nodeName);if(Is(kt.uponSanitizeElement,fe,{tagName:at,allowedTags:Ot}),ut&&fe.hasChildNodes()&&!mO(fe.firstElementChild)&&E(/<[/\w!]/g,fe.innerHTML)&&E(/<[/\w!]/g,fe.textContent)||fe.nodeType===_e.progressingInstruction||ut&&fe.nodeType===_e.comment&&E(/<[/\w]/g,fe.data))return Xo(fe),!0;if(!Ot[at]||Li[at]){if(!Li[at]&&_O(at)&&(Vt.tagNameCheck instanceof RegExp&&E(Vt.tagNameCheck,at)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(at)))return!1;if(Hl&&!_i[at]){const In=Lt(fe)||fe.parentNode,Hr=Gt(fe)||fe.childNodes;if(Hr&&In){const sr=Hr.length;for(let yi=sr-1;yi>=0;--yi){const Ps=Nt(Hr[yi],!0);Ps.__removalCount=(fe.__removalCount||0)+1,In.insertBefore(Ps,yn(fe))}}}return Xo(fe),!0}return fe instanceof st&&!_ue(fe)||(at==="noscript"||at==="noembed"||at==="noframes")&&E(/<\/no(script|embed|frames)/i,fe.innerHTML)?(Xo(fe),!0):(tn&&fe.nodeType===_e.text&&(He=fe.textContent,d([Zn,Lr,mi],In=>{He=y(He,In," ")}),fe.textContent!==He&&(p(Ie.removed,{element:fe.cloneNode()}),fe.textContent=He)),Is(kt.afterSanitizeElements,fe,null),!1)},bO=function(fe,He,at){if(yr&&(He==="id"||He==="name")&&(at in ze||at in bue))return!1;if(!(qr&&!wn[He]&&E(pt,He))){if(!(ii&&E(ln,He))){if(!Kt[He]||wn[He]){if(!(_O(fe)&&(Vt.tagNameCheck instanceof RegExp&&E(Vt.tagNameCheck,fe)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(fe))&&(Vt.attributeNameCheck instanceof RegExp&&E(Vt.attributeNameCheck,He)||Vt.attributeNameCheck instanceof Function&&Vt.attributeNameCheck(He,fe))||He==="is"&&Vt.allowCustomizedBuiltInElements&&(Vt.tagNameCheck instanceof RegExp&&E(Vt.tagNameCheck,at)||Vt.tagNameCheck instanceof Function&&Vt.tagNameCheck(at))))return!1}else if(!o0[He]){if(!E(Xn,y(at,$n,""))){if(!((He==="src"||He==="xlink:href"||He==="href")&&fe!=="script"&&w(at,"data:")===0&&lO[fe])){if(!(Jo&&!E(Dn,y(at,$n,"")))){if(at)return!1}}}}}}return!0},_O=function(fe){return fe!=="annotation-xml"&&b(fe,Br)},yO=function(fe){Is(kt.beforeSanitizeAttributes,fe,null);const{attributes:He}=fe;if(!He||c0(fe))return;const at={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:Kt,forceKeepAttr:void 0};let In=He.length;for(;In--;){const Hr=He[In],{name:sr,namespaceURI:yi,value:Ps}=Hr,Du=xr(sr),u0=Ps;let Or=sr==="value"?u0:S(u0);if(at.attrName=Du,at.attrValue=Or,at.keepAttr=!0,at.forceKeepAttr=void 0,Is(kt.uponSanitizeAttribute,fe,at),Or=at.attrValue,Zo&&(Du==="id"||Du==="name")&&(Gl(sr,fe),Or=Uf+Or),ut&&E(/((--!?|])>)|<\/(style|title|textarea)/i,Or)){Gl(sr,fe);continue}if(Du==="attributename"&&b(Or,"href")){Gl(sr,fe);continue}if(at.forceKeepAttr)continue;if(!at.keepAttr){Gl(sr,fe);continue}if(!vi&&E(/\/>/i,Or)){Gl(sr,fe);continue}tn&&d([Zn,Lr,mi],xO=>{Or=y(Or,xO," ")});const wO=xr(fe.nodeName);if(!bO(wO,Du,Or)){Gl(sr,fe);continue}if(Dt&&typeof lt=="object"&&typeof lt.getAttributeType=="function"&&!yi)switch(lt.getAttributeType(wO,Du)){case"TrustedHTML":{Or=Dt.createHTML(Or);break}case"TrustedScriptURL":{Or=Dt.createScriptURL(Or);break}}if(Or!==u0)try{yi?fe.setAttributeNS(yi,sr,Or):fe.setAttribute(sr,Or),c0(fe)?Xo(fe):h(Ie.removed)}catch{Gl(sr,fe)}}Is(kt.afterSanitizeAttributes,fe,null)},yue=function ct(fe){let He=null;const at=gO(fe);for(Is(kt.beforeSanitizeShadowDOM,fe,null);He=at.nextNode();)Is(kt.uponSanitizeShadowNode,He,null),vO(He),yO(He),He.content instanceof ye&&ct(He.content);Is(kt.afterSanitizeShadowDOM,fe,null)};return Ie.sanitize=function(ct){let fe=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},He=null,at=null,In=null,Hr=null;if(s0=!ct,s0&&(ct="<!-->"),typeof ct!="string"&&!mO(ct))if(typeof ct.toString=="function"){if(ct=ct.toString(),typeof ct!="string")throw C("dirty is not a string, aborting")}else throw C("toString is not a function");if(!Ie.isSupported)return ct;if(Mn||l0(fe),Ie.removed=[],typeof ct=="string"&&(fr=!1),fr){if(ct.nodeName){const Ps=xr(ct.nodeName);if(!Ot[Ps]||Li[Ps])throw C("root node is forbidden and cannot be sanitized in-place")}}else if(ct instanceof Ae)He=pO("<!---->"),at=He.ownerDocument.importNode(ct,!0),at.nodeType===_e.element&&at.nodeName==="BODY"||at.nodeName==="HTML"?He=at:He.appendChild(at);else{if(!_r&&!tn&&!yt&&ct.indexOf("<")===-1)return Dt&&Gn?Dt.createHTML(ct):ct;if(He=pO(ct),!He)return _r?null:Gn?dn:""}He&&Un&&Xo(He.firstChild);const sr=gO(fr?ct:He);for(;In=sr.nextNode();)vO(In),yO(In),In.content instanceof ye&&yue(In.content);if(fr)return ct;if(_r){if(bi)for(Hr=hn.call(He.ownerDocument);He.firstChild;)Hr.appendChild(He.firstChild);else Hr=He;return(Kt.shadowroot||Kt.shadowrootmode)&&(Hr=Ut.call(Ce,Hr,!0)),Hr}let yi=yt?He.outerHTML:He.innerHTML;return yt&&Ot["!doctype"]&&He.ownerDocument&&He.ownerDocument.doctype&&He.ownerDocument.doctype.name&&E(ue,He.ownerDocument.doctype.name)&&(yi="<!DOCTYPE "+He.ownerDocument.doctype.name+`>
|
|
148
148
|
`+yi),tn&&d([Zn,Lr,mi],Ps=>{yi=y(yi,Ps," ")}),Dt&&Gn?Dt.createHTML(yi):yi},Ie.setConfig=function(){let ct=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};l0(ct),Mn=!0},Ie.clearConfig=function(){Fu=null,Mn=!1},Ie.isValidAttribute=function(ct,fe,He){Fu||l0({});const at=xr(ct),In=xr(fe);return bO(at,In,He)},Ie.addHook=function(ct,fe){typeof fe=="function"&&p(kt[ct],fe)},Ie.removeHook=function(ct,fe){if(fe!==void 0){const He=f(kt[ct],fe);return He===-1?void 0:g(kt[ct],He,1)[0]}return h(kt[ct])},Ie.removeHooks=function(ct){kt[ct]=[]},Ie.removeAllHooks=function(){kt=Ue()},Ie}var et=qe();return c_=et,c_}var u_,eA;function Lq(){return eA||(eA=1,u_=window.DOMPurify||(window.DOMPurify=QT().default||QT())),u_}var Sp=Lq();const Ei=Yi(Sp);function d_(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}var el=d_();function tA(t){el=t}var wd={exec:()=>null};function Qt(t,e=""){let n=typeof t=="string"?t:t.source,r={replace:(i,o)=>{let s=typeof o=="string"?o:o.source;return s=s.replace(Yr.caret,"$1"),n=n.replace(i,s),r},getRegex:()=>new RegExp(n,e)};return r}var Yr={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceTabs:/^\t+/,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] /,listReplaceTask:/^\[[ xX]\] +/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,unescapeTest:/&(#(?:\d+)|(?:#x[0-9A-Fa-f]+)|(?:\w+));?/ig,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:t=>new RegExp(`^( {0,3}${t})((?:[ ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`),hrRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}#`),htmlBeginRegex:t=>new RegExp(`^ {0,${Math.min(3,t-1)}}<(?:[a-z].*>|!--)`,"i")},Oq=/^(?:[ \t]*(?:\n|$))+/,Rq=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,Fq=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,xd=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,Dq=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,f_=/(?:[*+-]|\d{1,9}[.)])/,nA=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,rA=Qt(nA).replace(/bull/g,f_).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),Mq=Qt(nA).replace(/bull/g,f_).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),h_=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,Uq=/^[^\n]+/,p_=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,zq=Qt(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",p_).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),jq=Qt(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,f_).getRegex(),Ep="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",g_=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,Bq=Qt("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",g_).replace("tag",Ep).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),iA=Qt(h_).replace("hr",xd).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ep).getRegex(),qq=Qt(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",iA).getRegex(),m_={blockquote:qq,code:Rq,def:zq,fences:Fq,heading:Dq,hr:xd,html:Bq,lheading:rA,list:jq,newline:Oq,paragraph:iA,table:wd,text:Uq},oA=Qt("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",xd).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3} )[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ep).getRegex(),Hq={...m_,lheading:Mq,table:oA,paragraph:Qt(h_).replace("hr",xd).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",oA).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",Ep).getRegex()},Gq={...m_,html:Qt(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",g_).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:wd,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Qt(h_).replace("hr",xd).replace("heading",` *#{1,6} *[^
|
|
149
149
|
]`).replace("lheading",rA).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},Kq=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,Vq=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,sA=/^( {2,}|\\)\n(?!\s*$)/,Wq=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,Tp=/[\p{P}\p{S}]/u,v_=/[\s\p{P}\p{S}]/u,aA=/[^\s\p{P}\p{S}]/u,Yq=Qt(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,v_).getRegex(),lA=/(?!~)[\p{P}\p{S}]/u,Jq=/(?!~)[\s\p{P}\p{S}]/u,Zq=/(?:[^\s\p{P}\p{S}]|~)/u,Xq=/\[[^\[\]]*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)|`[^`]*?`|<(?! )[^<>]*?>/g,cA=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,Qq=Qt(cA,"u").replace(/punct/g,Tp).getRegex(),e8=Qt(cA,"u").replace(/punct/g,lA).getRegex(),uA="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",t8=Qt(uA,"gu").replace(/notPunctSpace/g,aA).replace(/punctSpace/g,v_).replace(/punct/g,Tp).getRegex(),n8=Qt(uA,"gu").replace(/notPunctSpace/g,Zq).replace(/punctSpace/g,Jq).replace(/punct/g,lA).getRegex(),r8=Qt("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,aA).replace(/punctSpace/g,v_).replace(/punct/g,Tp).getRegex(),i8=Qt(/\\(punct)/,"gu").replace(/punct/g,Tp).getRegex(),o8=Qt(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),s8=Qt(g_).replace("(?:-->|$)","-->").getRegex(),a8=Qt("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",s8).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ap=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`[^`]*`|[^\[\]\\`])*?/,l8=Qt(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]*(?:\n[ \t]*)?)(title))?\s*\)/).replace("label",Ap).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),dA=Qt(/^!?\[(label)\]\[(ref)\]/).replace("label",Ap).replace("ref",p_).getRegex(),fA=Qt(/^!?\[(ref)\](?:\[\])?/).replace("ref",p_).getRegex(),c8=Qt("reflink|nolink(?!\\()","g").replace("reflink",dA).replace("nolink",fA).getRegex(),b_={_backpedal:wd,anyPunctuation:i8,autolink:o8,blockSkip:Xq,br:sA,code:Vq,del:wd,emStrongLDelim:Qq,emStrongRDelimAst:t8,emStrongRDelimUnd:r8,escape:Kq,link:l8,nolink:fA,punctuation:Yq,reflink:dA,reflinkSearch:c8,tag:a8,text:Wq,url:wd},u8={...b_,link:Qt(/^!?\[(label)\]\((.*?)\)/).replace("label",Ap).getRegex(),reflink:Qt(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ap).getRegex()},__={...b_,emStrongRDelimAst:n8,emStrongLDelim:e8,url:Qt(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},d8={...__,br:Qt(sA).replace("{2,}","*").getRegex(),text:Qt(__.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},Cp={normal:m_,gfm:Hq,pedantic:Gq},kd={normal:b_,gfm:__,breaks:d8,pedantic:u8},f8={"&":"&","<":"<",">":">",'"':""","'":"'"},hA=t=>f8[t];function No(t,e){if(e){if(Yr.escapeTest.test(t))return t.replace(Yr.escapeReplace,hA)}else if(Yr.escapeTestNoEncode.test(t))return t.replace(Yr.escapeReplaceNoEncode,hA);return t}function pA(t){try{t=encodeURI(t).replace(Yr.percentDecode,"%")}catch{return null}return t}function gA(t,e){let n=t.replace(Yr.findPipe,(o,s,a)=>{let c=!1,u=s;for(;--u>=0&&a[u]==="\\";)c=!c;return c?"|":" |"}),r=n.split(Yr.splitPipe),i=0;if(r[0].trim()||r.shift(),r.length>0&&!r.at(-1)?.trim()&&r.pop(),e)if(r.length>e)r.splice(e);else for(;r.length<e;)r.push("");for(;i<r.length;i++)r[i]=r[i].trim().replace(Yr.slashPipe,"|");return r}function Sd(t,e,n){let r=t.length;if(r===0)return"";let i=0;for(;i<r&&t.charAt(r-i-1)===e;)i++;return t.slice(0,r-i)}function h8(t,e){if(t.indexOf(e[1])===-1)return-1;let n=0;for(let r=0;r<t.length;r++)if(t[r]==="\\")r++;else if(t[r]===e[0])n++;else if(t[r]===e[1]&&(n--,n<0))return r;return n>0?-2:-1}function mA(t,e,n,r,i){let o=e.href,s=e.title||null,a=t[1].replace(i.other.outputLinkReplace,"$1");r.state.inLink=!0;let c={type:t[0].charAt(0)==="!"?"image":"link",raw:n,href:o,title:s,text:a,tokens:r.inlineTokens(a)};return r.state.inLink=!1,c}function p8(t,e,n){let r=t.match(n.other.indentCodeCompensation);if(r===null)return e;let i=r[1];return e.split(`
|
|
150
150
|
`).map(o=>{let s=o.match(n.other.beginningSpace);if(s===null)return o;let[a]=s;return a.length>=i.length?o.slice(i.length):o}).join(`
|
|
@@ -639,7 +639,7 @@ td.svelte-18v8t2h {border-width:0;}th.svelte-18v8t2h {padding-block:4px;color:va
|
|
|
639
639
|
[type=time]) {border-color:var(--sui-error-border-color);}.widget-wrapper.svelte-dkfcyc input:read-only {-webkit-user-select:text;user-select:text;pointer-events:auto;}.before-input.svelte-dkfcyc,
|
|
640
640
|
.after-input.svelte-dkfcyc,
|
|
641
641
|
.prefix.svelte-dkfcyc,
|
|
642
|
-
.suffix.svelte-dkfcyc {color:var(--sui-secondary-foreground-color);white-space:nowrap;}.comment.svelte-dkfcyc {margin-block:4px;line-height:var(--sui-line-height-compact);}.footer.svelte-dkfcyc {display:flex;gap:16px;justify-content:flex-end;margin-top:4px;}.hint.svelte-dkfcyc {flex:auto;margin:0;font-size:var(--sui-font-size-small);line-height:var(--sui-line-height-compact);opacity:0.75;}`};function pm(t,e){const n=jn();le(e,!0),xe(t,goe);const r=()=>H(Je,"$entryDraft",s),i=()=>H(de,"$_",s),o=()=>H(h,"$extraHint",s),[s,a]=ve(),c=er("field-editor")??{};let u=R(e,"context",19,()=>c.widgetContext??void 0),d=R(e,"valueStoreKey",19,()=>c.valueStoreKey??"currentValues");const f=Te=>Ei.sanitize(At.parseInline(Te.replaceAll("\\n","<br>")),{ALLOWED_TAGS:["strong","em","del","code","a","br"],ALLOWED_ATTR:["href"]}),h=rt();Fm("field-editor",{widgetContext:u(),extraHint:h,valueStoreKey:d()});const p=_(()=>u()==="markdown-editor-component"),g=_(()=>e.fieldConfig.name),m=_(()=>nt(e.fieldConfig.label,"")),v=_(()=>nt(e.fieldConfig.comment,"")),b=_(()=>nt(e.fieldConfig.hint,"")),y=_(()=>nt(e.fieldConfig.widget,"string")),w=_(()=>nt(e.fieldConfig.i18n,!1)),S=_(()=>nt(e.fieldConfig.pattern,()=>[],!0)),T=_(()=>nt(e.fieldConfig.readonly,!1)),E=_(()=>Hc({fieldConfig:e.fieldConfig,locale:e.locale})),C=_(()=>l(y)==="list"?Pd(e.fieldConfig):{hasSubFields:!1}),k=_(()=>l(C).hasSubFields),x=_(()=>qc(e.fieldConfig)),$=_(()=>GT.includes(l(y))?e.fieldConfig:{}),I=_(()=>nt(l($).min,0)),P=_(()=>nt(l($).max,1/0)),L=_(()=>l(y)==="string"?e.fieldConfig.type??"text":l(y)==="number"?"number":void 0),N=_(()=>["string"].includes(l(y))),F=_(()=>l(N)?e.fieldConfig.prefix:void 0),B=_(()=>l(N)?e.fieldConfig.suffix:void 0),G=_(()=>["boolean","number","string"].includes(l(y))),W=_(()=>l(G)?e.fieldConfig.before_input:void 0),Y=_(()=>l(G)?e.fieldConfig.after_input:void 0),O=_(()=>!!(l(F)||l(B)||l(W)||l(Y))),M=_(()=>l(y)==="list"&&l(k)||l(x)||l(y)==="keyvalue"),K=_(()=>l(y)==="list"||l(x)),J=_(()=>r()?.collection),Q=_(()=>r()?.collectionFile),ie=_(()=>r()?.originalValues),ne=_(()=>(l(Q)??l(J))?._i18n??lo),ee=_(()=>l(ne).i18nEnabled),re=_(()=>l(ne).allLocales),ae=_(()=>l(ne).defaultLocale),he=_(()=>l(ee)?l(re).filter(Te=>Te!==e.locale):[]),me=_(()=>l(ee)&&(l(w)===!0||l(w)==="translate")),pe=_(()=>l(ee)&&l(w)==="duplicate"),ue=_(()=>l(p)||e.locale===l(ae)||l(me)||l(pe)),ge=_(()=>!l(p)&&l(me)&&l(he).length),be=_(()=>!l(p)&&!(l(pe)&&e.locale!==l(ae))),_e=_(()=>new RegExp(`^${Wt(e.keyPath)}\\.\\d+$`)),Ee=_(()=>{const Te=zn(r()?.[d()][e.locale]??{}),ye=Te[e.keyPath];if(!l(K))return ye;const $e=Object.entries(Te).filter(([Ae])=>l(_e).test(Ae));return $e.length?$e.map(([,Ae])=>Ae).filter(Ae=>Ae!==void 0):l(x)&&ye!==void 0?[ye]:[]}),Ne=_(()=>l(K)?Object.entries(l(ie)?.[e.locale]??{}).filter(([Te])=>l(_e).test(Te)).map(([,Te])=>Te).filter(Te=>Te!==void 0):l(ie)?.[e.locale]?.[e.keyPath]),Ue=_(()=>r()?.validities[e.locale][e.keyPath]),qe=_(()=>l(m)||l(g)),et=_(()=>l(T)||l(w)==="duplicate"&&e.locale!==l(ae)||l(y)==="compute"||l(y)==="uuid"),Be=_(()=>l(Ue)?.valid===!1);Re(()=>{if(r()&&l(K)&&Array.isArray(l(Ee))){const Te=r()[d()][e.locale]?.[`${e.keyPath}.0`],[ye]=l(Ee);Te===void 0&&ye!==void 0&&(wt(Je,ke(r)[d()][e.locale][`${e.keyPath}.0`]=ye,ke(r)),delete r()[d()][e.locale][e.keyPath])}}),Re(()=>{if(r()&&!l(K)&&l(Ee)===void 0){const Te=r()[d()][e.locale]?.[`${e.keyPath}.0`];Te!==void 0&&(wt(Je,ke(r)[d()][e.locale][e.keyPath]=Te,ke(r)),Object.keys(r()[d()][e.locale]).forEach(ye=>{l(_e).test(ye)&&delete r()[d()][e.locale][ye]}))}});var Ie=Z(),ze=D(Ie);{var Ce=Te=>{{let ye=_(()=>i()("x_field",{values:{field:l(qe)}})),$e=_(()=>l(y)==="compute");SN(Te,{get"aria-label"(){return l(ye)},get"data-widget"(){return l(y)},get"data-key-path"(){return e.keyPath},get hidden(){return l($e)},children:(Ae,st)=>{var Qe=poe(),Le=D(Qe),Fe=U(Le),Ke=U(Fe),lt=z(Fe,2);{var ht=pt=>{var ln=noe();X(Dn=>Se(ln,"aria-label",Dn),[()=>i()("required")]),A(pt,ln)};q(lt,pt=>{!l(et)&&l(E)&&pt(ht)})}var Nt=z(lt,2);Qr(Nt,{flex:!0});var en=z(Nt,2);{var yn=pt=>{EN(pt,{size:"small",get locale(){return e.locale},get otherLocales(){return l(he)},get keyPath(){return e.keyPath}})};q(en,pt=>{l(ge)&&["markdown","string","text","list","object"].includes(l(y))&&pt(yn)})}var Gt=z(en,2);{var Lt=pt=>{{const ln=$n=>{{let Br=_(()=>i()("field_options"));cr($n,{get"aria-label"(){return l(Br)},children:(Xn,Ot)=>{var Qn=roe(),Kt=D(Qn);{var Wi=wn=>{Tx(wn,{get locale(){return e.locale},get otherLocales(){return l(he)},get keyPath(){return e.keyPath}})};q(Kt,wn=>{l(ge)&&wn(Wi)})}var Vt=z(Kt,2);{var Li=wn=>{{let ii=_(()=>i()("revert_changes")),qr=_(()=>cn(l(Ee),l(Ne))||/\.\d+\./.test(e.keyPath));mt(wn,{get label(){return l(ii)},get disabled(){return l(qr)},onclick:()=>{Nx({locale:e.locale,keyPath:e.keyPath})}})}};q(Vt,wn=>{l(be)&&wn(Li)})}A(Xn,Qn)},$$slots:{default:!0}})}};let Dn=_(()=>i()("show_field_options"));Ur(pt,{variant:"ghost",size:"small",iconic:!0,popupPosition:"bottom-right",get"aria-label"(){return l(Dn)},popup:ln,$$slots:{popup:!0}})}};q(Gt,pt=>{(l(ge)||l(be))&&pt(Lt)})}var Dt=z(Le,2);{var dn=pt=>{var ln=ioe(),Dn=U(ln);pr(Dn,()=>f(l(v))),A(pt,ln)};q(Dt,pt=>{!l(et)&&l(v)&&pt(dn)})}var fn=z(Dt,2);{var Fn=pt=>{Ax(pt,{get id(){return`${n}-error`},children:(ln,Dn)=>{var $n=ooe(),Br=D($n);{var Xn=ut=>{var yt=Oe();X(Mn=>te(yt,Mn),[()=>i()("validation.value_missing")]),A(ut,yt)};q(Br,ut=>{l(Ue).valueMissing&&ut(Xn)})}var Ot=z(Br,2);{var Qn=ut=>{const yt=_(()=>{const{minlength:Un}=e.fieldConfig;return{minlength:Un}});var Mn=Oe();X(Un=>te(Mn,Un),[()=>i()(l(yt).minlength===1?"validation.too_short.one":"validation.too_short.many",{values:{min:l(yt).minlength}})]),A(ut,Mn)};q(Ot,ut=>{l(Ue).tooShort&&ut(Qn)})}var Kt=z(Ot,2);{var Wi=ut=>{const yt=_(()=>{const{maxlength:Un}=e.fieldConfig;return{maxlength:Un}});var Mn=Oe();X(Un=>te(Mn,Un),[()=>i()(l(yt).maxlength===1?"validation.too_long.one":"validation.too_long.many",{values:{max:l(yt).maxlength}})]),A(ut,Mn)};q(Kt,ut=>{l(Ue).tooLong&&ut(Wi)})}var Vt=z(Kt,2);{var Li=ut=>{const yt=_(()=>l(I)===1?"one":"many");var Mn=Z(),Un=D(Mn);{var _r=Gn=>{var yr=Oe();X(Zo=>te(yr,Zo),[()=>i()("validation.range_underflow.number",{values:{min:l(I)}})]),A(Gn,yr)},bi=Gn=>{var yr=Z(),Zo=D(yr);{var Uf=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_underflow.add_${l(yt)}`,{values:{min:l(I)}})]),A(fr,wr)},Hl=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_underflow.select_${l(yt)}`,{values:{min:l(I)}})]),A(fr,wr)};q(Zo,fr=>{l(M)?fr(Uf):fr(Hl,!1)},!0)}A(Gn,yr)};q(Un,Gn=>{l(y)==="number"?Gn(_r):Gn(bi,!1)})}A(ut,Mn)};q(Vt,ut=>{l(Ue).rangeUnderflow&&ut(Li)})}var wn=z(Vt,2);{var ii=ut=>{const yt=_(()=>l(P)===1?"one":"many");var Mn=Z(),Un=D(Mn);{var _r=Gn=>{var yr=Oe();X(Zo=>te(yr,Zo),[()=>i()("validation.range_overflow.number",{values:{max:l(P)}})]),A(Gn,yr)},bi=Gn=>{var yr=Z(),Zo=D(yr);{var Uf=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_overflow.add_${l(yt)}`,{values:{max:l(P)}})]),A(fr,wr)},Hl=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_overflow.select_${l(yt)}`,{values:{max:l(P)}})]),A(fr,wr)};q(Zo,fr=>{l(M)?fr(Uf):fr(Hl,!1)},!0)}A(Gn,yr)};q(Un,Gn=>{l(y)==="number"?Gn(_r):Gn(bi,!1)})}A(ut,Mn)};q(wn,ut=>{l(Ue).rangeOverflow&&ut(ii)})}var qr=z(wn,2);{var Jo=ut=>{var yt=Oe();X(()=>te(yt,l(S)[1])),A(ut,yt)};q(qr,ut=>{l(Ue).patternMismatch&&ut(Jo)})}var vi=z(qr,2);{var tn=ut=>{var yt=Oe();X(Mn=>te(yt,Mn),[()=>i()(`validation.type_mismatch.${l(L)}`)]),A(ut,yt)};q(vi,ut=>{l(Ue).typeMismatch&&ut(tn)})}A(ln,$n)}})};q(fn,pt=>{l(Ue)?.valid===!1&&pt(Fn)})}var hn=z(fn,2);let Zt;var Ut=U(hn);{var kt=pt=>{var ln=soe(),Dn=U(ln);X($n=>te(Dn,$n),[()=>i()("unsupported_widget_x",{values:{name:l(y)}})]),A(pt,ln)},Zn=pt=>{var ln=Z(),Dn=D(ln);{var $n=Xn=>{const Ot=_(()=>Px[l(y)]);var Qn=Z(),Kt=D(Qn);Vn(Kt,()=>l(Ot),(Wi,Vt)=>{Vt(Wi,{get locale(){return e.locale},get keyPath(){return e.keyPath},get fieldId(){return n},get fieldLabel(){return l(qe)},get fieldConfig(){return e.fieldConfig},get currentValue(){return l(Ee)},get readonly(){return l(et)},get required(){return l(E)},get invalid(){return l(Be)}})}),A(Xn,Qn)},Br=Xn=>{const Ot=_(()=>Px[l(y)]);var Qn=doe(),Kt=D(Qn);{var Wi=tn=>{var ut=aoe(),yt=U(ut);pr(yt,()=>f(l(W))),A(tn,ut)};q(Kt,tn=>{l(W)&&tn(Wi)})}var Vt=z(Kt,2);{var Li=tn=>{var ut=loe(),yt=U(ut);X(()=>te(yt,l(F))),A(tn,ut)};q(Vt,tn=>{l(F)&&tn(Li)})}var wn=z(Vt,2);Vn(wn,()=>l(Ot),(tn,ut)=>{ut(tn,{get locale(){return e.locale},get keyPath(){return e.keyPath},get fieldId(){return n},get fieldLabel(){return l(qe)},get fieldConfig(){return e.fieldConfig},get readonly(){return l(et)},get required(){return l(E)},get invalid(){return l(Be)},get currentValue(){return r()[d()][e.locale][e.keyPath]},set currentValue(yt){wt(Je,ke(r)[d()][e.locale][e.keyPath]=yt,ke(r))}})});var ii=z(wn,2);{var qr=tn=>{var ut=coe(),yt=U(ut);X(()=>te(yt,l(B))),A(tn,ut)};q(ii,tn=>{l(B)&&tn(qr)})}var Jo=z(ii,2);{var vi=tn=>{var ut=uoe(),yt=U(ut);pr(yt,()=>f(l(Y))),A(tn,ut)};q(Jo,tn=>{l(Y)&&tn(vi)})}A(Xn,Qn)};q(Dn,Xn=>{l(K)?Xn($n):Xn(Br,!1)},!0)}A(pt,ln)};q(Ut,pt=>{l(y)in Px?pt(Zn,!1):pt(kt)})}var Lr=z(hn,2);{var mi=pt=>{const ln=_(o);var Dn=hoe(),$n=U(Dn);{var Br=Ot=>{var Qn=foe(),Kt=U(Qn);pr(Kt,()=>f(l(b))),A(Ot,Qn)};q($n,Ot=>{l(b)&&Ot(Br)})}var Xn=z($n,2);Vn(Xn,()=>l(ln),(Ot,Qn)=>{Qn(Ot,{get fieldConfig(){return e.fieldConfig},get currentValue(){return l(Ee)}})}),A(pt,Dn)};q(Lr,pt=>{!l(et)&&(l(b)||o())&&pt(mi)})}X(pt=>{Se(Fe,"id",`${n}-label`),te(Ke,l(qe)),Zt=nn(hn,1,"widget-wrapper svelte-dkfcyc",null,Zt,pt)},[()=>({"has-extra-labels":l(O)})]),A(Ae,Qe)},$$slots:{default:!0}})}};q(ze,Te=>{r()&&l(ue)&&l(y)!=="hidden"&&Te(Ce)})}A(t,Ie),ce(),a()}var moe=j('<div class="required">*</div>'),voe=j('<header role="none"><h4 role="none"> </h4> <!></header> <!> <div role="none" class="widget-wrapper"><!></div>',1);function boe(t,e){const n=jn();le(e,!0);const r=()=>H(Je,"$entryDraft",o),i=()=>H(de,"$_",o),[o,s]=ve(),a=_(()=>r()?.collection),c=_(()=>r()?.collectionFile),u=_(()=>(l(c)??l(a))?._i18n??lo),d=_(()=>l(u).defaultLocale),f=_(()=>r()?.slugEditor[e.locale]),h=_(()=>l(f)===!0),p=_(()=>l(f)==="readonly"),g=_(()=>r()?.validities[e.locale]._slug),m=_(()=>!l(p)&&l(g)?.valid===!1);let v=oe("");Re(()=>{l(v),ke(()=>{r()&&Object.entries(r().slugEditor).forEach(([S,T])=>{(e.locale===S||e.locale===l(d)&&T==="readonly")&&wt(Je,ke(r).currentSlugs[S]=l(v),ke(r))})})}),Re(()=>{l(p)&&V(v,r()?.currentSlugs[e.locale]??"",!0)});var b=Z(),y=D(b);{var w=S=>{SN(S,{children:(T,E)=>{var C=voe(),k=D(C),x=U(k),$=U(x),I=z(x,2);{var P=G=>{var W=moe();X(Y=>Se(W,"aria-label",Y),[()=>i()("required")]),A(G,W)};q(I,G=>{l(h)&&G(P)})}var L=z(k,2);{var N=G=>{Ax(G,{get id(){return`${n}-error`},children:(W,Y)=>{var O=Z(),M=D(O);{var K=J=>{var Q=Oe();X(ie=>te(Q,ie),[()=>i()("validation.value_missing")]),A(J,Q)};q(M,J=>{l(g)?.valueMissing&&J(K)})}A(W,O)}})};q(L,G=>{l(m)&&G(N)})}var F=z(L,2),B=U(F);Ln(B,{flex:!0,get readonly(){return l(p)},get required(){return l(h)},get invalid(){return l(m)},get"aria-labelledby"(){return`${n}-label`},get"aria-errormessage"(){return`${n}-error`},get value(){return l(v)},set value(G){V(v,G,!0)}}),X(G=>{Se(x,"id",`${n}-label`),te($,G)},[()=>i()("slug")]),A(T,C)},$$slots:{default:!0}})};q(y,S=>{r()&&S(w)})}A(t,b),ce(),s()}var _oe=j("<!> <!>",1);function yoe(t,e){le(e,!0);const n=()=>H(Je,"$entryDraft",r),[r,i]=ve(),o=_(()=>n()?.fields??[]);bo(t,{children:(s,a)=>{var c=_oe(),u=D(c);{var d=h=>{boe(h,{get locale(){return e.locale}})};q(u,h=>{n()?.slugEditor[e.locale]&&h(d)})}var f=z(u,2);ot(f,17,()=>l(o),h=>h.name,(h,p)=>{bo(h,{children:(g,m)=>{pm(g,{get keyPath(){return l(p).name},get locale(){return e.locale},get fieldConfig(){return l(p)}})},$$slots:{default:!0}})}),A(s,c)},$$slots:{default:!0}}),ce(),i()}function woe(t,e){let n=R(e,"children",3,void 0);var r=Z(),i=D(r);De(i,()=>n()??je),A(t,r)}var xoe=j('<iframe class="preview svelte-1k58u5t"></iframe>');const koe={hash:"svelte-1k58u5t",code:"iframe.svelte-1k58u5t {display:block;border:none;width:100%;height:100%;}"};function Soe(t,e){le(e,!0),xe(t,koe);const n=()=>H(de,"$_",r),[r,i]=ve();let o=oe(void 0);const s=()=>`
|
|
642
|
+
.suffix.svelte-dkfcyc {color:var(--sui-secondary-foreground-color);white-space:nowrap;}.comment.svelte-dkfcyc {margin-block:4px;line-height:var(--sui-line-height-compact);}.footer.svelte-dkfcyc {display:flex;gap:16px;justify-content:flex-end;margin-top:4px;}.hint.svelte-dkfcyc {flex:auto;margin:0;font-size:var(--sui-font-size-small);line-height:var(--sui-line-height-compact);opacity:0.75;}`};function pm(t,e){const n=jn();le(e,!0),xe(t,goe);const r=()=>H(Je,"$entryDraft",s),i=()=>H(de,"$_",s),o=()=>H(h,"$extraHint",s),[s,a]=ve(),c=er("field-editor")??{};let u=R(e,"context",19,()=>c.widgetContext??void 0),d=R(e,"valueStoreKey",19,()=>c.valueStoreKey??"currentValues");const f=Te=>Ei.sanitize(At.parseInline(Te.replaceAll("\\n","<br>")),{ALLOWED_TAGS:["strong","em","del","code","a","br"],ALLOWED_ATTR:["href"]}),h=rt();Fm("field-editor",{widgetContext:u(),extraHint:h,valueStoreKey:d()});const p=_(()=>u()==="markdown-editor-component"),g=_(()=>e.fieldConfig.name),m=_(()=>nt(e.fieldConfig.label,"")),v=_(()=>nt(e.fieldConfig.comment,"")),b=_(()=>nt(e.fieldConfig.hint,"")),y=_(()=>nt(e.fieldConfig.widget,"string")),w=_(()=>nt(e.fieldConfig.i18n,!1)),S=_(()=>nt(e.fieldConfig.pattern,()=>[],!0)),T=_(()=>nt(e.fieldConfig.readonly,!1)),E=_(()=>Hc({fieldConfig:e.fieldConfig,locale:e.locale})),C=_(()=>l(y)==="list"?Pd(e.fieldConfig):{hasSubFields:!1}),k=_(()=>l(C).hasSubFields),x=_(()=>qc(e.fieldConfig)),$=_(()=>GT.includes(l(y))?e.fieldConfig:{}),I=_(()=>nt(l($).min,0)),P=_(()=>nt(l($).max,1/0)),L=_(()=>l(y)==="string"?e.fieldConfig.type??"text":l(y)==="number"?"number":void 0),N=_(()=>["string"].includes(l(y))),F=_(()=>l(N)?e.fieldConfig.prefix:void 0),B=_(()=>l(N)?e.fieldConfig.suffix:void 0),G=_(()=>["boolean","number","string"].includes(l(y))),W=_(()=>l(G)?e.fieldConfig.before_input:void 0),Y=_(()=>l(G)?e.fieldConfig.after_input:void 0),O=_(()=>!!(l(F)||l(B)||l(W)||l(Y))),M=_(()=>l(y)==="list"&&l(k)||l(x)||l(y)==="keyvalue"),K=_(()=>l(y)==="list"||l(x)),J=_(()=>r()?.collection),Q=_(()=>r()?.collectionFile),ie=_(()=>r()?.originalValues),ne=_(()=>(l(Q)??l(J))?._i18n??lo),ee=_(()=>l(ne).i18nEnabled),re=_(()=>l(ne).allLocales),ae=_(()=>l(ne).defaultLocale),he=_(()=>l(ee)?l(re).filter(Te=>Te!==e.locale):[]),me=_(()=>l(ee)&&(l(w)===!0||l(w)==="translate")),pe=_(()=>l(ee)&&l(w)==="duplicate"),ue=_(()=>l(p)||e.locale===l(ae)||l(me)||l(pe)),ge=_(()=>!l(p)&&l(me)&&l(he).length),be=_(()=>!l(p)&&!(l(pe)&&e.locale!==l(ae))),_e=_(()=>new RegExp(`^${Wt(e.keyPath)}\\.\\d+$`)),Ee=_(()=>{const Te=zn(r()?.[d()][e.locale]??{}),ye=Te[e.keyPath];if(!l(K))return ye;const $e=Object.entries(Te).filter(([Ae])=>l(_e).test(Ae));return $e.length?$e.map(([,Ae])=>Ae).filter(Ae=>Ae!==void 0):l(x)&&ye!==void 0&&typeof ye!="object"?[ye]:[]}),Ne=_(()=>l(K)?Object.entries(l(ie)?.[e.locale]??{}).filter(([Te])=>l(_e).test(Te)).map(([,Te])=>Te).filter(Te=>Te!==void 0):l(ie)?.[e.locale]?.[e.keyPath]),Ue=_(()=>r()?.validities[e.locale][e.keyPath]),qe=_(()=>l(m)||l(g)),et=_(()=>l(T)||l(w)==="duplicate"&&e.locale!==l(ae)||l(y)==="compute"||l(y)==="uuid"),Be=_(()=>l(Ue)?.valid===!1);Re(()=>{if(r()&&l(x)&&Array.isArray(l(Ee))){const Te=r()[d()][e.locale]?.[`${e.keyPath}.0`],[ye]=l(Ee);Te===void 0&&ye!==void 0&&(wt(Je,ke(r)[d()][e.locale][`${e.keyPath}.0`]=ye,ke(r)),delete r()[d()][e.locale][e.keyPath])}}),Re(()=>{if(r()&&!l(x)&&l(Ee)===void 0){const Te=r()[d()][e.locale]?.[`${e.keyPath}.0`];Te!==void 0&&(wt(Je,ke(r)[d()][e.locale][e.keyPath]=Te,ke(r)),Object.keys(r()[d()][e.locale]).forEach(ye=>{l(_e).test(ye)&&delete r()[d()][e.locale][ye]}))}});var Ie=Z(),ze=D(Ie);{var Ce=Te=>{{let ye=_(()=>i()("x_field",{values:{field:l(qe)}})),$e=_(()=>l(y)==="compute");SN(Te,{get"aria-label"(){return l(ye)},get"data-widget"(){return l(y)},get"data-key-path"(){return e.keyPath},get hidden(){return l($e)},children:(Ae,st)=>{var Qe=poe(),Le=D(Qe),Fe=U(Le),Ke=U(Fe),lt=z(Fe,2);{var ht=pt=>{var ln=noe();X(Dn=>Se(ln,"aria-label",Dn),[()=>i()("required")]),A(pt,ln)};q(lt,pt=>{!l(et)&&l(E)&&pt(ht)})}var Nt=z(lt,2);Qr(Nt,{flex:!0});var en=z(Nt,2);{var yn=pt=>{EN(pt,{size:"small",get locale(){return e.locale},get otherLocales(){return l(he)},get keyPath(){return e.keyPath}})};q(en,pt=>{l(ge)&&["markdown","string","text","list","object"].includes(l(y))&&pt(yn)})}var Gt=z(en,2);{var Lt=pt=>{{const ln=$n=>{{let Br=_(()=>i()("field_options"));cr($n,{get"aria-label"(){return l(Br)},children:(Xn,Ot)=>{var Qn=roe(),Kt=D(Qn);{var Wi=wn=>{Tx(wn,{get locale(){return e.locale},get otherLocales(){return l(he)},get keyPath(){return e.keyPath}})};q(Kt,wn=>{l(ge)&&wn(Wi)})}var Vt=z(Kt,2);{var Li=wn=>{{let ii=_(()=>i()("revert_changes")),qr=_(()=>cn(l(Ee),l(Ne))||/\.\d+\./.test(e.keyPath));mt(wn,{get label(){return l(ii)},get disabled(){return l(qr)},onclick:()=>{Nx({locale:e.locale,keyPath:e.keyPath})}})}};q(Vt,wn=>{l(be)&&wn(Li)})}A(Xn,Qn)},$$slots:{default:!0}})}};let Dn=_(()=>i()("show_field_options"));Ur(pt,{variant:"ghost",size:"small",iconic:!0,popupPosition:"bottom-right",get"aria-label"(){return l(Dn)},popup:ln,$$slots:{popup:!0}})}};q(Gt,pt=>{(l(ge)||l(be))&&pt(Lt)})}var Dt=z(Le,2);{var dn=pt=>{var ln=ioe(),Dn=U(ln);pr(Dn,()=>f(l(v))),A(pt,ln)};q(Dt,pt=>{!l(et)&&l(v)&&pt(dn)})}var fn=z(Dt,2);{var Fn=pt=>{Ax(pt,{get id(){return`${n}-error`},children:(ln,Dn)=>{var $n=ooe(),Br=D($n);{var Xn=ut=>{var yt=Oe();X(Mn=>te(yt,Mn),[()=>i()("validation.value_missing")]),A(ut,yt)};q(Br,ut=>{l(Ue).valueMissing&&ut(Xn)})}var Ot=z(Br,2);{var Qn=ut=>{const yt=_(()=>{const{minlength:Un}=e.fieldConfig;return{minlength:Un}});var Mn=Oe();X(Un=>te(Mn,Un),[()=>i()(l(yt).minlength===1?"validation.too_short.one":"validation.too_short.many",{values:{min:l(yt).minlength}})]),A(ut,Mn)};q(Ot,ut=>{l(Ue).tooShort&&ut(Qn)})}var Kt=z(Ot,2);{var Wi=ut=>{const yt=_(()=>{const{maxlength:Un}=e.fieldConfig;return{maxlength:Un}});var Mn=Oe();X(Un=>te(Mn,Un),[()=>i()(l(yt).maxlength===1?"validation.too_long.one":"validation.too_long.many",{values:{max:l(yt).maxlength}})]),A(ut,Mn)};q(Kt,ut=>{l(Ue).tooLong&&ut(Wi)})}var Vt=z(Kt,2);{var Li=ut=>{const yt=_(()=>l(I)===1?"one":"many");var Mn=Z(),Un=D(Mn);{var _r=Gn=>{var yr=Oe();X(Zo=>te(yr,Zo),[()=>i()("validation.range_underflow.number",{values:{min:l(I)}})]),A(Gn,yr)},bi=Gn=>{var yr=Z(),Zo=D(yr);{var Uf=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_underflow.add_${l(yt)}`,{values:{min:l(I)}})]),A(fr,wr)},Hl=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_underflow.select_${l(yt)}`,{values:{min:l(I)}})]),A(fr,wr)};q(Zo,fr=>{l(M)?fr(Uf):fr(Hl,!1)},!0)}A(Gn,yr)};q(Un,Gn=>{l(y)==="number"?Gn(_r):Gn(bi,!1)})}A(ut,Mn)};q(Vt,ut=>{l(Ue).rangeUnderflow&&ut(Li)})}var wn=z(Vt,2);{var ii=ut=>{const yt=_(()=>l(P)===1?"one":"many");var Mn=Z(),Un=D(Mn);{var _r=Gn=>{var yr=Oe();X(Zo=>te(yr,Zo),[()=>i()("validation.range_overflow.number",{values:{max:l(P)}})]),A(Gn,yr)},bi=Gn=>{var yr=Z(),Zo=D(yr);{var Uf=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_overflow.add_${l(yt)}`,{values:{max:l(P)}})]),A(fr,wr)},Hl=fr=>{var wr=Oe();X(_i=>te(wr,_i),[()=>i()(`validation.range_overflow.select_${l(yt)}`,{values:{max:l(P)}})]),A(fr,wr)};q(Zo,fr=>{l(M)?fr(Uf):fr(Hl,!1)},!0)}A(Gn,yr)};q(Un,Gn=>{l(y)==="number"?Gn(_r):Gn(bi,!1)})}A(ut,Mn)};q(wn,ut=>{l(Ue).rangeOverflow&&ut(ii)})}var qr=z(wn,2);{var Jo=ut=>{var yt=Oe();X(()=>te(yt,l(S)[1])),A(ut,yt)};q(qr,ut=>{l(Ue).patternMismatch&&ut(Jo)})}var vi=z(qr,2);{var tn=ut=>{var yt=Oe();X(Mn=>te(yt,Mn),[()=>i()(`validation.type_mismatch.${l(L)}`)]),A(ut,yt)};q(vi,ut=>{l(Ue).typeMismatch&&ut(tn)})}A(ln,$n)}})};q(fn,pt=>{l(Ue)?.valid===!1&&pt(Fn)})}var hn=z(fn,2);let Zt;var Ut=U(hn);{var kt=pt=>{var ln=soe(),Dn=U(ln);X($n=>te(Dn,$n),[()=>i()("unsupported_widget_x",{values:{name:l(y)}})]),A(pt,ln)},Zn=pt=>{var ln=Z(),Dn=D(ln);{var $n=Xn=>{const Ot=_(()=>Px[l(y)]);var Qn=Z(),Kt=D(Qn);Vn(Kt,()=>l(Ot),(Wi,Vt)=>{Vt(Wi,{get locale(){return e.locale},get keyPath(){return e.keyPath},get fieldId(){return n},get fieldLabel(){return l(qe)},get fieldConfig(){return e.fieldConfig},get currentValue(){return l(Ee)},get readonly(){return l(et)},get required(){return l(E)},get invalid(){return l(Be)}})}),A(Xn,Qn)},Br=Xn=>{const Ot=_(()=>Px[l(y)]);var Qn=doe(),Kt=D(Qn);{var Wi=tn=>{var ut=aoe(),yt=U(ut);pr(yt,()=>f(l(W))),A(tn,ut)};q(Kt,tn=>{l(W)&&tn(Wi)})}var Vt=z(Kt,2);{var Li=tn=>{var ut=loe(),yt=U(ut);X(()=>te(yt,l(F))),A(tn,ut)};q(Vt,tn=>{l(F)&&tn(Li)})}var wn=z(Vt,2);Vn(wn,()=>l(Ot),(tn,ut)=>{ut(tn,{get locale(){return e.locale},get keyPath(){return e.keyPath},get fieldId(){return n},get fieldLabel(){return l(qe)},get fieldConfig(){return e.fieldConfig},get readonly(){return l(et)},get required(){return l(E)},get invalid(){return l(Be)},get currentValue(){return r()[d()][e.locale][e.keyPath]},set currentValue(yt){wt(Je,ke(r)[d()][e.locale][e.keyPath]=yt,ke(r))}})});var ii=z(wn,2);{var qr=tn=>{var ut=coe(),yt=U(ut);X(()=>te(yt,l(B))),A(tn,ut)};q(ii,tn=>{l(B)&&tn(qr)})}var Jo=z(ii,2);{var vi=tn=>{var ut=uoe(),yt=U(ut);pr(yt,()=>f(l(Y))),A(tn,ut)};q(Jo,tn=>{l(Y)&&tn(vi)})}A(Xn,Qn)};q(Dn,Xn=>{l(K)?Xn($n):Xn(Br,!1)},!0)}A(pt,ln)};q(Ut,pt=>{l(y)in Px?pt(Zn,!1):pt(kt)})}var Lr=z(hn,2);{var mi=pt=>{const ln=_(o);var Dn=hoe(),$n=U(Dn);{var Br=Ot=>{var Qn=foe(),Kt=U(Qn);pr(Kt,()=>f(l(b))),A(Ot,Qn)};q($n,Ot=>{l(b)&&Ot(Br)})}var Xn=z($n,2);Vn(Xn,()=>l(ln),(Ot,Qn)=>{Qn(Ot,{get fieldConfig(){return e.fieldConfig},get currentValue(){return l(Ee)}})}),A(pt,Dn)};q(Lr,pt=>{!l(et)&&(l(b)||o())&&pt(mi)})}X(pt=>{Se(Fe,"id",`${n}-label`),te(Ke,l(qe)),Zt=nn(hn,1,"widget-wrapper svelte-dkfcyc",null,Zt,pt)},[()=>({"has-extra-labels":l(O)})]),A(Ae,Qe)},$$slots:{default:!0}})}};q(ze,Te=>{r()&&l(ue)&&l(y)!=="hidden"&&Te(Ce)})}A(t,Ie),ce(),a()}var moe=j('<div class="required">*</div>'),voe=j('<header role="none"><h4 role="none"> </h4> <!></header> <!> <div role="none" class="widget-wrapper"><!></div>',1);function boe(t,e){const n=jn();le(e,!0);const r=()=>H(Je,"$entryDraft",o),i=()=>H(de,"$_",o),[o,s]=ve(),a=_(()=>r()?.collection),c=_(()=>r()?.collectionFile),u=_(()=>(l(c)??l(a))?._i18n??lo),d=_(()=>l(u).defaultLocale),f=_(()=>r()?.slugEditor[e.locale]),h=_(()=>l(f)===!0),p=_(()=>l(f)==="readonly"),g=_(()=>r()?.validities[e.locale]._slug),m=_(()=>!l(p)&&l(g)?.valid===!1);let v=oe("");Re(()=>{l(v),ke(()=>{r()&&Object.entries(r().slugEditor).forEach(([S,T])=>{(e.locale===S||e.locale===l(d)&&T==="readonly")&&wt(Je,ke(r).currentSlugs[S]=l(v),ke(r))})})}),Re(()=>{l(p)&&V(v,r()?.currentSlugs[e.locale]??"",!0)});var b=Z(),y=D(b);{var w=S=>{SN(S,{children:(T,E)=>{var C=voe(),k=D(C),x=U(k),$=U(x),I=z(x,2);{var P=G=>{var W=moe();X(Y=>Se(W,"aria-label",Y),[()=>i()("required")]),A(G,W)};q(I,G=>{l(h)&&G(P)})}var L=z(k,2);{var N=G=>{Ax(G,{get id(){return`${n}-error`},children:(W,Y)=>{var O=Z(),M=D(O);{var K=J=>{var Q=Oe();X(ie=>te(Q,ie),[()=>i()("validation.value_missing")]),A(J,Q)};q(M,J=>{l(g)?.valueMissing&&J(K)})}A(W,O)}})};q(L,G=>{l(m)&&G(N)})}var F=z(L,2),B=U(F);Ln(B,{flex:!0,get readonly(){return l(p)},get required(){return l(h)},get invalid(){return l(m)},get"aria-labelledby"(){return`${n}-label`},get"aria-errormessage"(){return`${n}-error`},get value(){return l(v)},set value(G){V(v,G,!0)}}),X(G=>{Se(x,"id",`${n}-label`),te($,G)},[()=>i()("slug")]),A(T,C)},$$slots:{default:!0}})};q(y,S=>{r()&&S(w)})}A(t,b),ce(),s()}var _oe=j("<!> <!>",1);function yoe(t,e){le(e,!0);const n=()=>H(Je,"$entryDraft",r),[r,i]=ve(),o=_(()=>n()?.fields??[]);bo(t,{children:(s,a)=>{var c=_oe(),u=D(c);{var d=h=>{boe(h,{get locale(){return e.locale}})};q(u,h=>{n()?.slugEditor[e.locale]&&h(d)})}var f=z(u,2);ot(f,17,()=>l(o),h=>h.name,(h,p)=>{bo(h,{children:(g,m)=>{pm(g,{get keyPath(){return l(p).name},get locale(){return e.locale},get fieldConfig(){return l(p)}})},$$slots:{default:!0}})}),A(s,c)},$$slots:{default:!0}}),ce(),i()}function woe(t,e){let n=R(e,"children",3,void 0);var r=Z(),i=D(r);De(i,()=>n()??je),A(t,r)}var xoe=j('<iframe class="preview svelte-1k58u5t"></iframe>');const koe={hash:"svelte-1k58u5t",code:"iframe.svelte-1k58u5t {display:block;border:none;width:100%;height:100%;}"};function Soe(t,e){le(e,!0),xe(t,koe);const n=()=>H(de,"$_",r),[r,i]=ve();let o=oe(void 0);const s=()=>`
|
|
643
643
|
<!DOCTYPE html>
|
|
644
644
|
<html lang="${Sp.sanitize(e.locale)}">
|
|
645
645
|
<head>
|