Add in-app document preview
Adds an inline preview for stored document files alongside download.
- API Server: GET /api/documents/{id}/file honours ?inline=1, serving an
inline Content-Disposition so the browser renders the file instead of
forcing a download (default stays attachment).
- Web App: BFF forwards the inline flag; documentPreviewUrl() helper; an eye
icon; and a preview modal (Teleported to body) that picks a viewer from the
file extension — images -> <img>, PDFs/text -> <iframe>, else a
download-instead fallback. Closes on backdrop click or Escape.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
1 parent
52f84ad6cf
commit
28291e27d7
10 files changed
+132
-29
No files matched your search
@@ -509,10 +509,15 @@ func (a *App) handleDeleteDocument(w http.ResponseWriter, r *http.Request) {
|
||||
}
|
||||
|
||||
// GET /bff/documents/{id}/file → API Server /api/documents/{id}/file. Streams
|
||||
// the blob download, preserving the upstream Content-Type + Content-Disposition.
|
||||
// the blob, preserving the upstream Content-Type + Content-Disposition. The
|
||||
// `?inline=1` flag (preview vs. download) is forwarded unchanged.
|
||||
func (a *App) handleDownloadDocument(w http.ResponseWriter, r *http.Request) {
|
||||
id := r.PathValue("id")
|
||||
req, _ := http.NewRequest(http.MethodGet, a.apiBaseFor(r)+"/api/documents/"+url.PathEscape(id)+"/file", nil)
|
||||
target := a.apiBaseFor(r) + "/api/documents/" + url.PathEscape(id) + "/file"
|
||||
if r.URL.RawQuery != "" {
|
||||
target += "?" + r.URL.RawQuery
|
||||
}
|
||||
req, _ := http.NewRequest(http.MethodGet, target, nil)
|
||||
req.Header.Set("Authorization", tokenOf(r))
|
||||
resp, err := client.Do(req)
|
||||
if err != nil {
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
:root,[data-theme=light]{--navy-950: #0B1730;--navy-900: #0F1E3D;--navy-800: #1B2E52;--navy-700: #26406E;--blue-50: #EAF1FE;--blue-100: #D6E3FD;--blue-200: #B4CDFA;--blue-300: #8FB4F6;--blue-400: #5B93F5;--blue-500: #3D7BF0;--blue-600: #2B62CC;--blue-700: #1F4CA0;--slate-0: #FFFFFF;--slate-50: #F6F7F9;--slate-100: #EEF0F3;--slate-150: #E6E9EE;--slate-200: #DCE0E7;--slate-300: #C5CCD7;--slate-400: #97A1B0;--slate-500: #6B7688;--slate-600: #4C5566;--slate-700: #333B4A;--slate-800: #1E2635;--slate-900: #131A28;--slate-950: #0B111C;--steel: #5A6B85;--green-500: #1F8A5B;--green-100: #DCF1E7;--green-600:#177049;--amber-500: #D9852B;--amber-100: #FBEBD5;--amber-600:#B86C1B;--red-500: #D64545;--red-100: #FBE0E0;--red-600: #B83232;--bg-app: var(--slate-100);--bg-subtle: var(--slate-50);--surface: var(--slate-0);--surface-2: var(--slate-50);--surface-inset: var(--slate-100);--border: var(--slate-200);--border-strong: var(--slate-300);--border-subtle: var(--slate-150);--text-primary: var(--navy-900);--text-secondary:var(--steel);--text-tertiary: var(--slate-400);--text-inverse: var(--slate-0);--text-on-accent:#FFFFFF;--accent: var(--blue-500);--accent-hover: var(--blue-600);--accent-active: var(--blue-700);--accent-soft: var(--blue-50);--accent-soft-fg:var(--blue-700);--focus-ring: color-mix(in srgb, var(--blue-500) 45%, transparent);--success: var(--green-500);--success-soft: var(--green-100);--success-fg: var(--green-600);--warning: var(--amber-500);--warning-soft: var(--amber-100);--warning-fg: var(--amber-600);--danger: var(--red-500);--danger-soft: var(--red-100);--danger-fg: var(--red-600);--overlay: color-mix(in srgb, var(--navy-950) 55%, transparent);--font-sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: "Space Mono", ui-monospace, "SF Mono", "JetBrains Mono", monospace;--radius-xs: 4px;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;--radius-xl: 20px;--radius-pill: 999px;--shadow-xs: 0 1px 2px rgba(15,30,61,.06);--shadow-sm: 0 1px 2px rgba(15,30,61,.06), 0 1px 3px rgba(15,30,61,.04);--shadow-md: 0 2px 4px rgba(15,30,61,.06), 0 6px 16px rgba(15,30,61,.08);--shadow-lg: 0 8px 24px rgba(15,30,61,.1), 0 2px 6px rgba(15,30,61,.06);--ease-standard: cubic-bezier(.4, 0, .2, 1);--ease-out: cubic-bezier(.16, 1, .3, 1);--dur-fast: .12s;--dur-base: .2s;color-scheme:light}[data-theme=dark]{--bg-app: var(--navy-950);--bg-subtle: var(--slate-950);--surface: #10203F;--surface-2: #142748;--surface-inset: var(--navy-950);--border: color-mix(in srgb, #FFFFFF 10%, transparent);--border-strong: color-mix(in srgb, #FFFFFF 18%, transparent);--border-subtle: color-mix(in srgb, #FFFFFF 6%, transparent);--text-primary: #F4F7FC;--text-secondary:#8FA0BE;--text-tertiary: #5E6E8C;--text-inverse: var(--navy-900);--text-on-accent:#FFFFFF;--accent: var(--blue-400);--accent-hover: var(--blue-300);--accent-active: var(--blue-200);--accent-soft: color-mix(in srgb, var(--blue-500) 18%, transparent);--accent-soft-fg:var(--blue-300);--focus-ring: color-mix(in srgb, var(--blue-400) 55%, transparent);--success:var(--green-500);--success-soft: color-mix(in srgb, var(--green-500) 22%, transparent);--success-fg:#5FD3A0;--warning:var(--amber-500);--warning-soft: color-mix(in srgb, var(--amber-500) 22%, transparent);--warning-fg:#F0B26A;--danger: var(--red-500);--danger-soft: color-mix(in srgb, var(--red-500) 22%, transparent);--danger-fg: #F08A8A;--overlay: color-mix(in srgb, #000000 62%, transparent);--shadow-xs: 0 1px 2px rgba(0,0,0,.35);--shadow-sm: 0 1px 3px rgba(0,0,0,.4);--shadow-md: 0 4px 12px rgba(0,0,0,.45);--shadow-lg: 0 12px 32px rgba(0,0,0,.5);color-scheme:dark}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-Line truncated
|
||||
-20
@@ -1,20 +0,0 @@
|
||||
(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))l(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const h of d.addedNodes)h.tagName==="LINK"&&h.rel==="modulepreload"&&l(h)}).observe(document,{childList:!0,subtree:!0});function o(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerPolicy&&(d.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?d.credentials="include":u.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(u){if(u.ep)return;u.ep=!0;const d=o(u);fetch(u.href,d)}})();/**
|
||||
* @vue/shared v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function yr(t){const i=Object.create(null);for(const o of t.split(","))i[o]=1;return o=>o in i}const ft={},_s=[],Un=()=>{},su=()=>!1,ua=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ca=t=>t.startsWith("onUpdate:"),Ot=Object.assign,br=(t,i)=>{const o=t.indexOf(i);o>-1&&t.splice(o,1)},ed=Object.prototype.hasOwnProperty,ot=(t,i)=>ed.call(t,i),Ee=Array.isArray,ys=t=>po(t)==="[object Map]",Cs=t=>po(t)==="[object Set]",sl=t=>po(t)==="[object Date]",He=t=>typeof t=="function",xt=t=>typeof t=="string",Ln=t=>typeof t=="symbol",at=t=>t!==null&&typeof t=="object",ou=t=>(at(t)||He(t))&&He(t.then)&&He(t.catch),au=Object.prototype.toString,po=t=>au.call(t),td=t=>po(t).slice(8,-1),ru=t=>po(t)==="[object Object]",xr=t=>xt(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,Xs=yr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),da=t=>{const i=Object.create(null);return(o=>i[o]||(i[o]=t(o)))},nd=/-\w/g,Tn=da(t=>t.replace(nd,i=>i.slice(1).toUpperCase())),id=/\B([A-Z])/g,Ci=da(t=>t.replace(id,"-$1").toLowerCase()),lu=da(t=>t.charAt(0).toUpperCase()+t.slice(1)),Wa=da(t=>t?`on${lu(t)}`:""),Vn=(t,i)=>!Object.is(t,i),qo=(t,...i)=>{for(let o=0;o<t.length;o++)t[o](...i)},uu=(t,i,o,l=!1)=>{Object.defineProperty(t,i,{configurable:!0,enumerable:!1,writable:l,value:o})},fa=t=>{const i=parseFloat(t);return isNaN(i)?t:i},sd=t=>{const i=xt(t)?Number(t):NaN;return isNaN(i)?t:i};let ol;const ha=()=>ol||(ol=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ss(t){if(Ee(t)){const i={};for(let o=0;o<t.length;o++){const l=t[o],u=xt(l)?ld(l):Ss(l);if(u)for(const d in u)i[d]=u[d]}return i}else if(xt(t)||at(t))return t}const od=/;(?![^(]*\))/g,ad=/:([^]+)/,rd=/\/\*[^]*?\*\//g;function ld(t){const i={};return t.replace(rd,"").split(od).forEach(o=>{if(o){const l=o.split(ad);l.length>1&&(i[l[0].trim()]=l[1].trim())}}),i}function Le(t){let i="";if(xt(t))i=t;else if(Ee(t))for(let o=0;o<t.length;o++){const l=Le(t[o]);l&&(i+=l+" ")}else if(at(t))for(const o in t)t[o]&&(i+=o+" ");return i.trim()}const ud="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",cd=yr(ud);function cu(t){return!!t||t===""}function dd(t,i){if(t.length!==i.length)return!1;let o=!0;for(let l=0;o&&l<t.length;l++)o=Si(t[l],i[l]);return o}function Si(t,i){if(t===i)return!0;let o=sl(t),l=sl(i);if(o||l)return o&&l?t.getTime()===i.getTime():!1;if(o=Ln(t),l=Ln(i),o||l)return t===i;if(o=Ee(t),l=Ee(i),o||l)return o&&l?dd(t,i):!1;if(o=at(t),l=at(i),o||l){if(!o||!l)return!1;const u=Object.keys(t).length,d=Object.keys(i).length;if(u!==d)return!1;for(const h in t){const _=t.hasOwnProperty(h),y=i.hasOwnProperty(h);if(_&&!y||!_&&y||!Si(t[h],i[h]))return!1}}return String(t)===String(i)}function wr(t,i){return t.findIndex(o=>Si(o,i))}const du=t=>!!(t&&t.__v_isRef===!0),k=t=>xt(t)?t:t==null?"":Ee(t)||at(t)&&(t.toString===au||!He(t.toString))?du(t)?k(t.value):JSON.stringify(t,fu,2):String(t),fu=(t,i)=>du(i)?fu(t,i.value):ys(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((o,[l,u],d)=>(o[Ka(l,d)+" =>"]=u,o),{})}:Cs(i)?{[`Set(${i.size})`]:[...i.values()].map(o=>Ka(o))}:Ln(i)?Ka(i):at(i)&&!Ee(i)&&!ru(i)?String(i):i,Ka=(t,i="")=>{var o;return Ln(t)?`Symbol(${(o=t.description)!=null?o:i})`:t};/**
|
||||
* @vue/reactivity v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let It;class fd{constructor(i=!1){this.detached=i,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!i&&It&&(It.active?(this.parent=It,this.index=(It.scopes||(It.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,o;if(this.scopes)for(i=0,o=this.scopes.length;i<o;i++)this.scopes[i].pause();for(i=0,o=this.effects.length;i<o;i++)this.effects[i].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let i,o;if(this.scopes)for(i=0,o=this.scopes.length;i<o;i++)this.scopes[i].resume();for(i=0,o=this.effects.length;i<o;i++)this.effects[i].resume()}}run(i){if(this._active){const o=It;try{return It=this,i()}finally{It=o}}}on(){++this._on===1&&(this.prevScope=It,It=this)}off(){if(this._on>0&&--this._on===0){if(It===this)It=this.prevScope;else{let i=It;for(;i;){if(i.prevScope===this){i.prevScope=this.prevScope;break}i=i.prevScope}}this.prevScope=void 0}}stop(i){if(this._active){this._active=!1;let o,l;for(o=0,l=this.effects.length;o<l;o++)this.effects[o].stop();for(this.effects.length=0,o=0,l=this.cleanups.length;o<l;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,l=this.scopes.length;o<l;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!i){const u=this.parent.scopes.pop();u&&u!==this&&(this.parent.scopes[this.index]=u,u.index=this.index)}this.parent=void 0}}}function hd(){return It}let mt;const Ga=new WeakSet;class hu{constructor(i){this.fn=i,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,It&&(It.active?It.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ga.has(this)&&(Ga.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,al(this),gu(this);const i=mt,o=Cn;mt=this,Cn=!0;try{return this.fn()}finally{vu(this),mt=i,Cn=o,this.flags&=-3}}stop(){if(this.flags&1){for(let i=this.deps;i;i=i.nextDep)Pr(i);this.deps=this.depsTail=void 0,al(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ga.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){sr(this)&&this.run()}get dirty(){return sr(this)}}let pu=0,Qs,eo;function mu(t,i=!1){if(t.flags|=8,i){t.next=eo,eo=t;return}t.next=Qs,Qs=t}function kr(){pu++}function Sr(){if(--pu>0)return;if(eo){let i=eo;for(eo=void 0;i;){const o=i.next;i.next=void 0,i.flags&=-9,i=o}}let t;for(;Qs;){let i=Qs;for(Qs=void 0;i;){const o=i.next;if(i.next=void 0,i.flags&=-9,i.flags&1)try{i.trigger()}catch(l){t||(t=l)}i=o}}if(t)throw t}function gu(t){for(let i=t.deps;i;i=i.nextDep)i.version=-1,i.prevActiveLink=i.dep.activeLink,i.dep.activeLink=i}function vu(t){let i,o=t.depsTail,l=o;for(;l;){const u=l.prevDep;l.version===-1?(l===o&&(o=u),Pr(l),pd(l)):i=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=u}t.deps=i,t.depsTail=o}function sr(t){for(let i=t.deps;i;i=i.nextDep)if(i.dep.version!==i.version||i.dep.computed&&(_u(i.dep.computed)||i.dep.version!==i.version))return!0;return!!t._dirty}function _u(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===oo)||(t.globalVersion=oo,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!sr(t))))return;t.flags|=2;const i=t.dep,o=mt,l=Cn;mt=t,Cn=!0;try{gu(t);const u=t.fn(t._value);(i.version===0||Vn(u,t._value))&&(t.flags|=128,t._value=u,i.version++)}catch(u){throw i.version++,u}finally{mt=o,Cn=l,vu(t),t.flags&=-3}}function Pr(t,i=!1){const{dep:o,prevSub:l,nextSub:u}=t;if(l&&(l.nextSub=u,t.prevSub=void 0),u&&(u.prevSub=l,t.nextSub=void 0),o.subs===t&&(o.subs=l,!l&&o.computed)){o.computed.flags&=-5;for(let d=o.computed.deps;d;d=d.nextDep)Pr(d,!0)}!i&&!--o.sc&&o.map&&o.map.delete(o.key)}function pd(t){const{prevDep:i,nextDep:o}=t;i&&(i.nextDep=o,t.prevDep=void 0),o&&(o.prevDep=i,t.nextDep=void 0)}let Cn=!0;const yu=[];function Zn(){yu.push(Cn),Cn=!1}function Hn(){const t=yu.pop();Cn=t===void 0?!0:t}function al(t){const{cleanup:i}=t;if(t.cleanup=void 0,i){const o=mt;mt=void 0;try{i()}finally{mt=o}}}let oo=0;class md{constructor(i,o){this.sub=i,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tr{constructor(i){this.computed=i,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(i){if(!mt||!Cn||mt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==mt)o=this.activeLink=new md(mt,this),mt.deps?(o.prevDep=mt.depsTail,mt.depsTail.nextDep=o,mt.depsTail=o):mt.deps=mt.depsTail=o,bu(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const l=o.nextDep;l.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=l),o.prevDep=mt.depsTail,o.nextDep=void 0,mt.depsTail.nextDep=o,mt.depsTail=o,mt.deps===o&&(mt.deps=l)}return o}trigger(i){this.versiLine truncated
|
||||
* @vue/runtime-core v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function mo(t,i,o,l){try{return l?t(...l):t()}catch(u){ma(u,i,o)}}function vn(t,i,o,l){if(He(t)){const u=mo(t,i,o,l);return u&&ou(u)&&u.catch(d=>{ma(d,i,o)}),u}if(Ee(t)){const u=[];for(let d=0;d<t.length;d++)u.push(vn(t[d],i,o,l));return u}}function ma(t,i,o,l=!0){const u=i?i.vnode:null,{errorHandler:d,throwUnhandledErrorInProduction:h}=i&&i.appContext.config||ft;if(i){let _=i.parent;const y=i.proxy,T=`https://vuejs.org/error-reference/#runtime-${o}`;for(;_;){const w=_.ec;if(w){for(let z=0;z<w.length;z++)if(w[z](t,y,T)===!1)return}_=_.parent}if(d){Zn(),mo(d,null,10,[t,y,T]),Hn();return}}Bd(t,o,u,l,h)}function Bd(t,i,o,l=!0,u=!1){if(u)throw t;console.error(t)}const Kt=[];let Rn=-1;const bs=[];let ki=null,vs=0;const Lu=Promise.resolve();let Xo=null;function Mu(t){const i=Xo||Lu;return t?i.then(this?t.bind(this):t):i}function Vd(t){let i=Rn+1,o=Kt.length;for(;i<o;){const l=i+o>>>1,u=Kt[l],d=ro(u);d<t||d===t&&u.flags&2?i=l+1:o=l}return i}function Er(t){if(!(t.flags&1)){const i=ro(t),o=Kt[Kt.length-1];!o||!(t.flags&2)&&i>=ro(o)?Kt.push(t):Kt.splice(Vd(i),0,t),t.flags|=1,Eu()}}function Eu(){Xo||(Xo=Lu.then(zu))}function Ud(t){Ee(t)?bs.push(...t):ki&&t.id===-1?ki.splice(vs+1,0,t):t.flags&1||(bs.push(t),t.flags|=1),Eu()}function ll(t,i,o=Rn+1){for(;o<Kt.length;o++){const l=Kt[o];if(l&&l.flags&2){if(t&&l.id!==t.uid)continue;Kt.splice(o,1),o--,l.flags&4&&(l.flags&=-2),l(),l.flags&4||(l.flags&=-2)}}}function Ou(t){if(bs.length){const i=[...new Set(bs)].sort((o,l)=>ro(o)-ro(l));if(bs.length=0,ki){ki.push(...i);return}for(ki=i,vs=0;vs<ki.length;vs++){const o=ki[vs];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}ki=null,vs=0}}const ro=t=>t.id==null?t.flags&2?-1:1/0:t.id;function zu(t){try{for(Rn=0;Rn<Kt.length;Rn++){const i=Kt[Rn];i&&!(i.flags&8)&&(i.flags&4&&(i.flags&=-2),mo(i,i.i,i.i?15:14),i.flags&4||(i.flags&=-2))}}finally{for(;Rn<Kt.length;Rn++){const i=Kt[Rn];i&&(i.flags&=-2)}Rn=-1,Kt.length=0,Ou(),Xo=null,(Kt.length||bs.length)&&zu()}}let Ft=null,Au=null;function Qo(t){const i=Ft;return Ft=t,Au=t&&t.type.__scopeId||null,i}function ye(t,i=Ft,o){if(!i||t._n)return t;const l=(...u)=>{l._d&&na(-1);const d=Qo(i);let h;try{h=t(...u)}finally{Qo(d),l._d&&na(1)}return h};return l._n=!0,l._c=!0,l._d=!0,l}function re(t,i){if(Ft===null)return t;const o=xa(Ft),l=t.dirs||(t.dirs=[]);for(let u=0;u<i.length;u++){let[d,h,_,y=ft]=i[u];d&&(He(d)&&(d={mounted:d,updated:d}),d.deep&&ai(h),l.push({dir:d,instance:o,value:h,oldValue:void 0,arg:_,modifiers:y}))}return t}function Ui(t,i,o,l){const u=t.dirs,d=i&&i.dirs;for(let h=0;h<u.length;h++){const _=u[h];d&&(_.oldValue=d[h].value);let y=_.dir[l];y&&(Zn(),vn(y,o,8,[t.el,_,t,i]),Hn())}}function Iu(t,i){if(Gt){let o=Gt.provides;const l=Gt.parent&&Gt.parent.provides;l===o&&(o=Gt.provides=Object.create(l)),o[t]=i}}function to(t,i,o=!1){const l=fc();if(l||ws){let u=ws?ws._context.provides:l?l.parent==null||l.ce?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:void 0;if(u&&t in u)return u[t];if(arguments.length>1)return o&&He(i)?i.call(l&&l.proxy):i}}const Zd=Symbol.for("v-scx"),Hd=()=>to(Zd);function en(t,i,o){return $u(t,i,o)}function $u(t,i,o=ft){const{immediate:l,deep:u,flush:d,once:h}=o,_=Ot({},o),y=i&&l||!i&&d!=="post";let T;if(fo){if(d==="sync"){const V=Hd();T=V.__watcherHandles||(V.__watcherHandles=[])}else if(!y){const V=()=>{};return V.stop=Un,V.resume=Un,V.pause=Un,V}}const w=Gt;_.call=(V,ue,X)=>vn(V,w,ue,X);let z=!1;d==="post"?_.scheduler=V=>{Qt(V,w&&w.suspense)}:d!=="sync"&&(z=!0,_.scheduler=(V,ue)=>{ue?V():Er(V)}),_.augmentJob=V=>{i&&(V.flags|=4),z&&(V.flags|=2,w&&(V.id=w.uid,V.i=w))};const U=Fd(t,i,_);return fo&&(T?T.push(U):y&&U()),U}function jd(t,i,o){const l=this.proxy,u=xt(t)?t.includes(".")?Du(l,t):()=>l[t]:t.bind(l,l);let d;He(i)?d=i:(d=i.handler,o=i);const h=go(this),_=$u(u,d.bind(l),o);return h(),_}function Du(t,i){const o=i.split(".");return()=>{let l=t;for(let u=0;u<o.length&&l;u++)l=l[o[u]];return l}}const Wd=Symbol("_vte"),Nu=t=>t.__isTeleport,pn=Symbol("_leaveCb"),Ws=Symbol("_enterCb");function Kd(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Li(()=>{t.isMounted=!0}),_a(()=>{t.isUnmounting=!0}),t}const fn=[Function,Array],Ru={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:fn,onEnter:fn,onAfterEnter:fn,onEnterCancelled:fn,onBeforeLeave:fn,onLeave:fn,onAfterLeave:fn,onLeaveCancelled:fn,onBeforeAppear:fn,onAppear:fn,onAfterAppear:fn,onAppearCancelled:fn},Fu=t=>{const i=t.subTree;return i.component?Fu(i.component):i},Gd={name:"BaseTransition",props:Ru,setup(t,{slots:i}){const o=fc(),l=Kd();return()=>{const u=i.default&&Uu(i.default(),!0),d=u&&u.length?Bu(u):o.subTree?R():void 0;if(!d)return;const h=tt(t),{mode:_}=h;if(l.isLeaving)return Ja(d);const y=ul(d);if(!y)return Ja(d);let T=ur(y,h,l,o,z=>T=z);y.type!==Rt&&lo(y,T);let w=o.subTree&&ul(o.subTree);if(w&&w.type!==Rt&&!Ki(w,y)&&Fu(o).type!==Rt){let z=ur(w,h,l,o);if(lo(w,z),_==="out-in"&&y.type!==Rt)return l.isLeaving=!0,z.afterLeave=()=>{l.isLea
Line truncated
|
||||
* @vue/runtime-dom v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let mr;const wl=typeof window<"u"&&window.trustedTypes;if(wl)try{mr=wl.createPolicy("vue",{createHTML:t=>t})}catch{}const mc=mr?t=>mr.createHTML(t):t=>t,qf="http://www.w3.org/2000/svg",Yf="http://www.w3.org/1998/Math/MathML",ii=typeof document<"u"?document:null,kl=ii&&ii.createElement("template"),Jf={insert:(t,i,o)=>{i.insertBefore(t,o||null)},remove:t=>{const i=t.parentNode;i&&i.removeChild(t)},createElement:(t,i,o,l)=>{const u=i==="svg"?ii.createElementNS(qf,t):i==="mathml"?ii.createElementNS(Yf,t):o?ii.createElement(t,{is:o}):ii.createElement(t);return t==="select"&&l&&l.multiple!=null&&u.setAttribute("multiple",l.multiple),u},createText:t=>ii.createTextNode(t),createComment:t=>ii.createComment(t),setText:(t,i)=>{t.nodeValue=i},setElementText:(t,i)=>{t.textContent=i},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ii.querySelector(t),setScopeId(t,i){t.setAttribute(i,"")},insertStaticContent(t,i,o,l,u,d){const h=o?o.previousSibling:i.lastChild;if(u&&(u===d||u.nextSibling))for(;i.insertBefore(u.cloneNode(!0),o),!(u===d||!(u=u.nextSibling)););else{kl.innerHTML=mc(l==="svg"?`<svg>${t}</svg>`:l==="mathml"?`<math>${t}</math>`:t);const _=kl.content;if(l==="svg"||l==="mathml"){const y=_.firstChild;for(;y.firstChild;)_.appendChild(y.firstChild);_.removeChild(y)}i.insertBefore(_,o)}return[h?h.nextSibling:i.firstChild,o?o.previousSibling:i.lastChild]}},wi="transition",Ks="animation",ho=Symbol("_vtc"),gc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Xf=Ot({},Ru,gc),Qf=t=>(t.displayName="Transition",t.props=Xf,t),eh=Qf((t,{slots:i})=>Kf(qd,th(t),i)),Hi=(t,i=[])=>{Ee(t)?t.forEach(o=>o(...i)):t&&t(...i)},Sl=t=>t?Ee(t)?t.some(i=>i.length>1):t.length>1:!1;function th(t){const i={};for(const ee in t)ee in gc||(i[ee]=t[ee]);if(t.css===!1)return i;const{name:o="v",type:l,duration:u,enterFromClass:d=`${o}-enter-from`,enterActiveClass:h=`${o}-enter-active`,enterToClass:_=`${o}-enter-to`,appearFromClass:y=d,appearActiveClass:T=h,appearToClass:w=_,leaveFromClass:z=`${o}-leave-from`,leaveActiveClass:U=`${o}-leave-active`,leaveToClass:V=`${o}-leave-to`}=t,ue=nh(u),X=ue&&ue[0],Ae=ue&&ue[1],{onBeforeEnter:$e,onEnter:Q,onEnterCancelled:me,onLeave:oe,onLeaveCancelled:de,onBeforeAppear:Ne=$e,onAppear:nt=Q,onAppearCancelled:ke=me}=i,Te=(ee,pe,Re,Ze)=>{ee._enterCancelled=Ze,ji(ee,pe?w:_),ji(ee,pe?T:h),Re&&Re()},Be=(ee,pe)=>{ee._isLeaving=!1,ji(ee,z),ji(ee,V),ji(ee,U),pe&&pe()},Ce=ee=>(pe,Re)=>{const Ze=ee?nt:Q,he=()=>Te(pe,ee,Re);Hi(Ze,[pe,he]),Pl(()=>{ji(pe,ee?y:d),ni(pe,ee?w:_),Sl(Ze)||Tl(pe,l,X,he)})};return Ot(i,{onBeforeEnter(ee){Hi($e,[ee]),ni(ee,d),ni(ee,h)},onBeforeAppear(ee){Hi(Ne,[ee]),ni(ee,y),ni(ee,T)},onEnter:Ce(!1),onAppear:Ce(!0),onLeave(ee,pe){ee._isLeaving=!0;const Re=()=>Be(ee,pe);ni(ee,z),ee._enterCancelled?(ni(ee,U),Ml(ee)):(Ml(ee),ni(ee,U)),Pl(()=>{ee._isLeaving&&(ji(ee,z),ni(ee,V),Sl(oe)||Tl(ee,l,Ae,Re))}),Hi(oe,[ee,Re])},onEnterCancelled(ee){Te(ee,!1,void 0,!0),Hi(me,[ee])},onAppearCancelled(ee){Te(ee,!0,void 0,!0),Hi(ke,[ee])},onLeaveCancelled(ee){Be(ee),Hi(de,[ee])}})}function nh(t){if(t==null)return null;if(at(t))return[tr(t.enter),tr(t.leave)];{const i=tr(t);return[i,i]}}function tr(t){return sd(t)}function ni(t,i){i.split(/\s+/).forEach(o=>o&&t.classList.add(o)),(t[ho]||(t[ho]=new Set)).add(i)}function ji(t,i){i.split(/\s+/).forEach(l=>l&&t.classList.remove(l));const o=t[ho];o&&(o.delete(i),o.size||(t[ho]=void 0))}function Pl(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let ih=0;function Tl(t,i,o,l){const u=t._endId=++ih,d=()=>{u===t._endId&&l()};if(o!=null)return setTimeout(d,o);const{type:h,timeout:_,propCount:y}=sh(t,i);if(!h)return l();const T=h+"end";let w=0;const z=()=>{t.removeEventListener(T,U),d()},U=V=>{V.target===t&&++w>=y&&z()};setTimeout(()=>{w<y&&z()},_+1),t.addEventListener(T,U)}function sh(t,i){const o=window.getComputedStyle(t),l=ue=>(o[ue]||"").split(", "),u=l(`${wi}Delay`),d=l(`${wi}Duration`),h=Cl(u,d),_=l(`${Ks}Delay`),y=l(`${Ks}Duration`),T=Cl(_,y);let w=null,z=0,U=0;i===wi?h>0&&(w=wi,z=h,U=d.length):i===Ks?T>0&&(w=Ks,z=T,U=y.length):(z=Math.max(h,T),w=z>0?h>T?wi:Ks:null,U=w?w===wi?d.length:y.length:0);const V=w===wi&&/\b(?:transform|all)(?:,|$)/.test(l(`${wi}Property`).toString());return{type:w,timeout:z,propCount:U,hasTransform:V}}function Cl(t,i){for(;t.length<i.length;)t=t.concat(t);return Math.max(...i.map((o,l)=>Ll(o)+Ll(t[l])))}function Ll(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Ml(t){return(t?t.ownerDocument:document).body.offsetHeight}function oh(t,i,o){const l=t[ho];l&&(i=(i?[i,...l]:[...l]).join(" ")),i==null?t.removeAttribute("class"):o?t.setAttribute("class",i):t.className=i}const oa=Symbol("_vod"),vc=Symbol("_vsh"),ah={name:"show",beforeMount(t,{value:i},{trans
Line truncated
|
||||
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
||||
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
||||
*/var Vp=Js.exports,Xl;function Up(){return Xl||(Xl=1,(function(t,i){(function(o,l){l(i)})(Vp,(function(o){var l="1.9.4";function u(e){var n,s,a,c;for(s=1,a=arguments.length;s<a;s++){c=arguments[s];for(n in c)e[n]=c[n]}return e}var d=Object.create||(function(){function e(){}return function(n){return e.prototype=n,new e}})();function h(e,n){var s=Array.prototype.slice;if(e.bind)return e.bind.apply(e,s.call(arguments,1));var a=s.call(arguments,2);return function(){return e.apply(n,a.length?a.concat(s.call(arguments)):arguments)}}var _=0;function y(e){return"_leaflet_id"in e||(e._leaflet_id=++_),e._leaflet_id}function T(e,n,s){var a,c,p,P;return P=function(){a=!1,c&&(p.apply(s,c),c=!1)},p=function(){a?c=arguments:(e.apply(s,arguments),setTimeout(P,n),a=!0)},p}function w(e,n,s){var a=n[1],c=n[0],p=a-c;return e===a&&s?e:((e-c)%p+p)%p+c}function z(){return!1}function U(e,n){if(n===!1)return e;var s=Math.pow(10,n===void 0?6:n);return Math.round(e*s)/s}function V(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function ue(e){return V(e).split(/\s+/)}function X(e,n){Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?d(e.options):{});for(var s in n)e.options[s]=n[s];return e.options}function Ae(e,n,s){var a=[];for(var c in e)a.push(encodeURIComponent(s?c.toUpperCase():c)+"="+encodeURIComponent(e[c]));return(!n||n.indexOf("?")===-1?"?":"&")+a.join("&")}var $e=/\{ *([\w_ -]+) *\}/g;function Q(e,n){return e.replace($e,function(s,a){var c=n[a];if(c===void 0)throw new Error("No value provided for variable "+s);return typeof c=="function"&&(c=c(n)),c})}var me=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function oe(e,n){for(var s=0;s<e.length;s++)if(e[s]===n)return s;return-1}var de="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function Ne(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var nt=0;function ke(e){var n=+new Date,s=Math.max(0,16-(n-nt));return nt=n+s,window.setTimeout(e,s)}var Te=window.requestAnimationFrame||Ne("RequestAnimationFrame")||ke,Be=window.cancelAnimationFrame||Ne("CancelAnimationFrame")||Ne("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function Ce(e,n,s){if(s&&Te===ke)e.call(n);else return Te.call(window,h(e,n))}function ee(e){e&&Be.call(window,e)}var pe={__proto__:null,extend:u,create:d,bind:h,get lastId(){return _},stamp:y,throttle:T,wrapNum:w,falseFn:z,formatNum:U,trim:V,splitWords:ue,setOptions:X,getParamString:Ae,template:Q,isArray:me,indexOf:oe,emptyImageUrl:de,requestFn:Te,cancelFn:Be,requestAnimFrame:Ce,cancelAnimFrame:ee};function Re(){}Re.extend=function(e){var n=function(){X(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},s=n.__super__=this.prototype,a=d(s);a.constructor=n,n.prototype=a;for(var c in this)Object.prototype.hasOwnProperty.call(this,c)&&c!=="prototype"&&c!=="__super__"&&(n[c]=this[c]);return e.statics&&u(n,e.statics),e.includes&&(Ze(e.includes),u.apply(null,[a].concat(e.includes))),u(a,e),delete a.statics,delete a.includes,a.options&&(a.options=s.options?d(s.options):{},u(a.options,e.options)),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){s.callInitHooks&&s.callInitHooks.call(this),this._initHooksCalled=!0;for(var p=0,P=a._initHooks.length;p<P;p++)a._initHooks[p].call(this)}},n},Re.include=function(e){var n=this.prototype.options;return u(this.prototype,e),e.options&&(this.prototype.options=n,this.mergeOptions(e.options)),this},Re.mergeOptions=function(e){return u(this.prototype.options,e),this},Re.addInitHook=function(e){var n=Array.prototype.slice.call(arguments,1),s=typeof e=="function"?e:function(){this[e].apply(this,n)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(s),this};function Ze(e){if(!(typeof L>"u"||!L||!L.Mixin)){e=me(e)?e:[e];for(var n=0;n<e.length;n++)e[n]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var he={on:function(e,n,s){if(typeof e=="object")for(var a in e)this._on(a,e[a],n);else{e=ue(e);for(var c=0,p=e.length;c<p;c++)this._on(e[c],n,s)}return this},off:function(e,n,s){if(!arguments.length)delete this._events;else if(typeof e=="object")for(var a in e)this._off(a,e[a],n);else{e=ue(e);for(var c=arguments.length===1,p=0,P=e.length;p<P;p++)c?this._off(e[p]):this._off(e[p],n,s)}return this},_on:function(e,n,s,a){if(typeof n!="function"){console.warn("wrong listener type: "+typeof n);return}if(this._listens(e,n,s)===!1){s===this&&(s=void 0);var c={fn:n,ctx:s};a&&(c.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(c)}},_off:function(e,n,s){var a,c,p;if(this._events&&(a=this._events[e],!!a)){if(arguments.length===1){if(this._firingCount)for(c=0,p=a.length;c<p;c++)a[c].fn=z;delete this._events[e];return}if(typeof n!="function"){console.warn("wrong listener tLine truncated
|
||||
+20
@@ -0,0 +1,20 @@
|
||||
(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const u of document.querySelectorAll('link[rel="modulepreload"]'))l(u);new MutationObserver(u=>{for(const d of u)if(d.type==="childList")for(const p of d.addedNodes)p.tagName==="LINK"&&p.rel==="modulepreload"&&l(p)}).observe(document,{childList:!0,subtree:!0});function o(u){const d={};return u.integrity&&(d.integrity=u.integrity),u.referrerPolicy&&(d.referrerPolicy=u.referrerPolicy),u.crossOrigin==="use-credentials"?d.credentials="include":u.crossOrigin==="anonymous"?d.credentials="omit":d.credentials="same-origin",d}function l(u){if(u.ep)return;u.ep=!0;const d=o(u);fetch(u.href,d)}})();/**
|
||||
* @vue/shared v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function Pr(t){const i=Object.create(null);for(const o of t.split(","))i[o]=1;return o=>o in i}const ht={},bs=[],Un=()=>{},mu=()=>!1,pa=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),ma=t=>t.startsWith("onUpdate:"),zt=Object.assign,Cr=(t,i)=>{const o=t.indexOf(i);o>-1&&t.splice(o,1)},cd=Object.prototype.hasOwnProperty,at=(t,i)=>cd.call(t,i),Ae=Array.isArray,xs=t=>vo(t)==="[object Map]",Ms=t=>vo(t)==="[object Set]",hl=t=>vo(t)==="[object Date]",Ze=t=>typeof t=="function",_t=t=>typeof t=="string",Ln=t=>typeof t=="symbol",rt=t=>t!==null&&typeof t=="object",gu=t=>(rt(t)||Ze(t))&&Ze(t.then)&&Ze(t.catch),vu=Object.prototype.toString,vo=t=>vu.call(t),dd=t=>vo(t).slice(8,-1),_u=t=>vo(t)==="[object Object]",Lr=t=>_t(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,to=Pr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ga=t=>{const i=Object.create(null);return(o=>i[o]||(i[o]=t(o)))},fd=/-\w/g,Pn=ga(t=>t.replace(fd,i=>i.slice(1).toUpperCase())),hd=/\B([A-Z])/g,Mi=ga(t=>t.replace(hd,"-$1").toLowerCase()),yu=ga(t=>t.charAt(0).toUpperCase()+t.slice(1)),Ya=ga(t=>t?`on${yu(t)}`:""),Vn=(t,i)=>!Object.is(t,i),ea=(t,...i)=>{for(let o=0;o<t.length;o++)t[o](...i)},bu=(t,i,o,l=!1)=>{Object.defineProperty(t,i,{configurable:!0,enumerable:!1,writable:l,value:o})},va=t=>{const i=parseFloat(t);return isNaN(i)?t:i},pd=t=>{const i=_t(t)?Number(t):NaN;return isNaN(i)?t:i};let pl;const _a=()=>pl||(pl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ps(t){if(Ae(t)){const i={};for(let o=0;o<t.length;o++){const l=t[o],u=_t(l)?_d(l):Ps(l);if(u)for(const d in u)i[d]=u[d]}return i}else if(_t(t)||rt(t))return t}const md=/;(?![^(]*\))/g,gd=/:([^]+)/,vd=/\/\*[^]*?\*\//g;function _d(t){const i={};return t.replace(vd,"").split(md).forEach(o=>{if(o){const l=o.split(gd);l.length>1&&(i[l[0].trim()]=l[1].trim())}}),i}function Me(t){let i="";if(_t(t))i=t;else if(Ae(t))for(let o=0;o<t.length;o++){const l=Me(t[o]);l&&(i+=l+" ")}else if(rt(t))for(const o in t)t[o]&&(i+=o+" ");return i.trim()}const yd="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bd=Pr(yd);function xu(t){return!!t||t===""}function xd(t,i){if(t.length!==i.length)return!1;let o=!0;for(let l=0;o&&l<t.length;l++)o=Pi(t[l],i[l]);return o}function Pi(t,i){if(t===i)return!0;let o=hl(t),l=hl(i);if(o||l)return o&&l?t.getTime()===i.getTime():!1;if(o=Ln(t),l=Ln(i),o||l)return t===i;if(o=Ae(t),l=Ae(i),o||l)return o&&l?xd(t,i):!1;if(o=rt(t),l=rt(i),o||l){if(!o||!l)return!1;const u=Object.keys(t).length,d=Object.keys(i).length;if(u!==d)return!1;for(const p in t){const _=t.hasOwnProperty(p),b=i.hasOwnProperty(p);if(_&&!b||!_&&b||!Pi(t[p],i[p]))return!1}}return String(t)===String(i)}function Mr(t,i){return t.findIndex(o=>Pi(o,i))}const wu=t=>!!(t&&t.__v_isRef===!0),S=t=>_t(t)?t:t==null?"":Ae(t)||rt(t)&&(t.toString===vu||!Ze(t.toString))?wu(t)?S(t.value):JSON.stringify(t,ku,2):String(t),ku=(t,i)=>wu(i)?ku(t,i.value):xs(i)?{[`Map(${i.size})`]:[...i.entries()].reduce((o,[l,u],d)=>(o[Ja(l,d)+" =>"]=u,o),{})}:Ms(i)?{[`Set(${i.size})`]:[...i.values()].map(o=>Ja(o))}:Ln(i)?Ja(i):rt(i)&&!Ae(i)&&!_u(i)?String(i):i,Ja=(t,i="")=>{var o;return Ln(t)?`Symbol(${(o=t.description)!=null?o:i})`:t};/**
|
||||
* @vue/reactivity v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let It;class wd{constructor(i=!1){this.detached=i,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!i&&It&&(It.active?(this.parent=It,this.index=(It.scopes||(It.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let i,o;if(this.scopes)for(i=0,o=this.scopes.length;i<o;i++)this.scopes[i].pause();for(i=0,o=this.effects.length;i<o;i++)this.effects[i].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let i,o;if(this.scopes)for(i=0,o=this.scopes.length;i<o;i++)this.scopes[i].resume();for(i=0,o=this.effects.length;i<o;i++)this.effects[i].resume()}}run(i){if(this._active){const o=It;try{return It=this,i()}finally{It=o}}}on(){++this._on===1&&(this.prevScope=It,It=this)}off(){if(this._on>0&&--this._on===0){if(It===this)It=this.prevScope;else{let i=It;for(;i;){if(i.prevScope===this){i.prevScope=this.prevScope;break}i=i.prevScope}}this.prevScope=void 0}}stop(i){if(this._active){this._active=!1;let o,l;for(o=0,l=this.effects.length;o<l;o++)this.effects[o].stop();for(this.effects.length=0,o=0,l=this.cleanups.length;o<l;o++)this.cleanups[o]();if(this.cleanups.length=0,this.scopes){for(o=0,l=this.scopes.length;o<l;o++)this.scopes[o].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!i){const u=this.parent.scopes.pop();u&&u!==this&&(this.parent.scopes[this.index]=u,u.index=this.index)}this.parent=void 0}}}function kd(){return It}let mt;const Xa=new WeakSet;class Su{constructor(i){this.fn=i,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,It&&(It.active?It.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xa.has(this)&&(Xa.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Pu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,ml(this),Cu(this);const i=mt,o=Cn;mt=this,Cn=!0;try{return this.fn()}finally{Lu(this),mt=i,Cn=o,this.flags&=-3}}stop(){if(this.flags&1){for(let i=this.deps;i;i=i.nextDep)zr(i);this.deps=this.depsTail=void 0,ml(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xa.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ur(this)&&this.run()}get dirty(){return ur(this)}}let Tu=0,no,io;function Pu(t,i=!1){if(t.flags|=8,i){t.next=io,io=t;return}t.next=no,no=t}function Er(){Tu++}function Or(){if(--Tu>0)return;if(io){let i=io;for(io=void 0;i;){const o=i.next;i.next=void 0,i.flags&=-9,i=o}}let t;for(;no;){let i=no;for(no=void 0;i;){const o=i.next;if(i.next=void 0,i.flags&=-9,i.flags&1)try{i.trigger()}catch(l){t||(t=l)}i=o}}if(t)throw t}function Cu(t){for(let i=t.deps;i;i=i.nextDep)i.version=-1,i.prevActiveLink=i.dep.activeLink,i.dep.activeLink=i}function Lu(t){let i,o=t.depsTail,l=o;for(;l;){const u=l.prevDep;l.version===-1?(l===o&&(o=u),zr(l),Sd(l)):i=l,l.dep.activeLink=l.prevActiveLink,l.prevActiveLink=void 0,l=u}t.deps=i,t.depsTail=o}function ur(t){for(let i=t.deps;i;i=i.nextDep)if(i.dep.version!==i.version||i.dep.computed&&(Mu(i.dep.computed)||i.dep.version!==i.version))return!0;return!!t._dirty}function Mu(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===lo)||(t.globalVersion=lo,!t.isSSR&&t.flags&128&&(!t.deps&&!t._dirty||!ur(t))))return;t.flags|=2;const i=t.dep,o=mt,l=Cn;mt=t,Cn=!0;try{Cu(t);const u=t.fn(t._value);(i.version===0||Vn(u,t._value))&&(t.flags|=128,t._value=u,i.version++)}catch(u){throw i.version++,u}finally{mt=o,Cn=l,Lu(t),t.flags&=-3}}function zr(t,i=!1){const{dep:o,prevSub:l,nextSub:u}=t;if(l&&(l.nextSub=u,t.prevSub=void 0),u&&(u.prevSub=l,t.nextSub=void 0),o.subs===t&&(o.subs=l,!l&&o.computed)){o.computed.flags&=-5;for(let d=o.computed.deps;d;d=d.nextDep)zr(d,!0)}!i&&!--o.sc&&o.map&&o.map.delete(o.key)}function Sd(t){const{prevDep:i,nextDep:o}=t;i&&(i.nextDep=o,t.prevDep=void 0),o&&(o.prevDep=i,t.nextDep=void 0)}let Cn=!0;const Eu=[];function Zn(){Eu.push(Cn),Cn=!1}function Hn(){const t=Eu.pop();Cn=t===void 0?!0:t}function ml(t){const{cleanup:i}=t;if(t.cleanup=void 0,i){const o=mt;mt=void 0;try{i()}finally{mt=o}}}let lo=0;class Td{constructor(i,o){this.sub=i,this.dep=o,this.version=o.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Ar{constructor(i){this.computed=i,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(i){if(!mt||!Cn||mt===this.computed)return;let o=this.activeLink;if(o===void 0||o.sub!==mt)o=this.activeLink=new Td(mt,this),mt.deps?(o.prevDep=mt.depsTail,mt.depsTail.nextDep=o,mt.depsTail=o):mt.deps=mt.depsTail=o,Ou(o);else if(o.version===-1&&(o.version=this.version,o.nextDep)){const l=o.nextDep;l.prevDep=o.prevDep,o.prevDep&&(o.prevDep.nextDep=l),o.prevDep=mt.depsTail,o.nextDep=void 0,mt.depsTail.nextDep=o,mt.depsTail=o,mt.deps===o&&(mt.deps=l)}return o}trigger(i){this.versiLine truncated
|
||||
* @vue/runtime-core v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/function _o(t,i,o,l){try{return l?t(...l):t()}catch(u){ba(u,i,o)}}function vn(t,i,o,l){if(Ze(t)){const u=_o(t,i,o,l);return u&&gu(u)&&u.catch(d=>{ba(d,i,o)}),u}if(Ae(t)){const u=[];for(let d=0;d<t.length;d++)u.push(vn(t[d],i,o,l));return u}}function ba(t,i,o,l=!0){const u=i?i.vnode:null,{errorHandler:d,throwUnhandledErrorInProduction:p}=i&&i.appContext.config||ht;if(i){let _=i.parent;const b=i.proxy,C=`https://vuejs.org/error-reference/#runtime-${o}`;for(;_;){const k=_.ec;if(k){for(let O=0;O<k.length;O++)if(k[O](t,b,C)===!1)return}_=_.parent}if(d){Zn(),_o(d,null,10,[t,b,C]),Hn();return}}Yd(t,o,u,l,p)}function Yd(t,i,o,l=!0,u=!1){if(u)throw t;console.error(t)}const qt=[];let Rn=-1;const ws=[];let Ti=null,ys=0;const Fu=Promise.resolve();let ia=null;function Bu(t){const i=ia||Fu;return t?i.then(this?t.bind(this):t):i}function Jd(t){let i=Rn+1,o=qt.length;for(;i<o;){const l=i+o>>>1,u=qt[l],d=co(u);d<t||d===t&&u.flags&2?i=l+1:o=l}return i}function Nr(t){if(!(t.flags&1)){const i=co(t),o=qt[qt.length-1];!o||!(t.flags&2)&&i>=co(o)?qt.push(t):qt.splice(Jd(i),0,t),t.flags|=1,Vu()}}function Vu(){ia||(ia=Fu.then(Zu))}function Xd(t){Ae(t)?ws.push(...t):Ti&&t.id===-1?Ti.splice(ys+1,0,t):t.flags&1||(ws.push(t),t.flags|=1),Vu()}function vl(t,i,o=Rn+1){for(;o<qt.length;o++){const l=qt[o];if(l&&l.flags&2){if(t&&l.id!==t.uid)continue;qt.splice(o,1),o--,l.flags&4&&(l.flags&=-2),l(),l.flags&4||(l.flags&=-2)}}}function Uu(t){if(ws.length){const i=[...new Set(ws)].sort((o,l)=>co(o)-co(l));if(ws.length=0,Ti){Ti.push(...i);return}for(Ti=i,ys=0;ys<Ti.length;ys++){const o=Ti[ys];o.flags&4&&(o.flags&=-2),o.flags&8||o(),o.flags&=-2}Ti=null,ys=0}}const co=t=>t.id==null?t.flags&2?-1:1/0:t.id;function Zu(t){try{for(Rn=0;Rn<qt.length;Rn++){const i=qt[Rn];i&&!(i.flags&8)&&(i.flags&4&&(i.flags&=-2),_o(i,i.i,i.i?15:14),i.flags&4||(i.flags&=-2))}}finally{for(;Rn<qt.length;Rn++){const i=qt[Rn];i&&(i.flags&=-2)}Rn=-1,qt.length=0,Uu(),ia=null,(qt.length||ws.length)&&Zu()}}let Bt=null,Hu=null;function sa(t){const i=Bt;return Bt=t,Hu=t&&t.type.__scopeId||null,i}function be(t,i=Bt,o){if(!i||t._n)return t;const l=(...u)=>{l._d&&ra(-1);const d=sa(i);let p;try{p=t(...u)}finally{sa(d),l._d&&ra(1)}return p};return l._n=!0,l._c=!0,l._d=!0,l}function oe(t,i){if(Bt===null)return t;const o=Ta(Bt),l=t.dirs||(t.dirs=[]);for(let u=0;u<i.length;u++){let[d,p,_,b=ht]=i[u];d&&(Ze(d)&&(d={mounted:d,updated:d}),d.deep&&ai(p),l.push({dir:d,instance:o,value:p,oldValue:void 0,arg:_,modifiers:b}))}return t}function Zi(t,i,o,l){const u=t.dirs,d=i&&i.dirs;for(let p=0;p<u.length;p++){const _=u[p];d&&(_.oldValue=d[p].value);let b=_.dir[l];b&&(Zn(),vn(b,o,8,[t.el,_,t,i]),Hn())}}function ju(t,i){if(Yt){let o=Yt.provides;const l=Yt.parent&&Yt.parent.provides;l===o&&(o=Yt.provides=Object.create(l)),o[t]=i}}function so(t,i,o=!1){const l=kc();if(l||Ss){let u=Ss?Ss._context.provides:l?l.parent==null||l.ce?l.vnode.appContext&&l.vnode.appContext.provides:l.parent.provides:void 0;if(u&&t in u)return u[t];if(arguments.length>1)return o&&Ze(i)?i.call(l&&l.proxy):i}}const Qd=Symbol.for("v-scx"),ef=()=>so(Qd);function en(t,i,o){return Wu(t,i,o)}function Wu(t,i,o=ht){const{immediate:l,deep:u,flush:d,once:p}=o,_=zt({},o),b=i&&l||!i&&d!=="post";let C;if(mo){if(d==="sync"){const F=ef();C=F.__watcherHandles||(F.__watcherHandles=[])}else if(!b){const F=()=>{};return F.stop=Un,F.resume=Un,F.pause=Un,F}}const k=Yt;_.call=(F,X,q)=>vn(F,k,X,q);let O=!1;d==="post"?_.scheduler=F=>{Gt(F,k&&k.suspense)}:d!=="sync"&&(O=!0,_.scheduler=(F,X)=>{X?F():Nr(F)}),_.augmentJob=F=>{i&&(F.flags|=4),O&&(F.flags|=2,k&&(F.id=k.uid,F.i=k))};const R=qd(t,i,_);return mo&&(C?C.push(R):b&&R()),R}function tf(t,i,o){const l=this.proxy,u=_t(t)?t.includes(".")?Ku(l,t):()=>l[t]:t.bind(l,l);let d;Ze(i)?d=i:(d=i.handler,o=i);const p=bo(this),_=Wu(u,d.bind(l),o);return p(),_}function Ku(t,i){const o=i.split(".");return()=>{let l=t;for(let u=0;u<o.length&&l;u++)l=l[o[u]];return l}}const Si=new WeakMap,Gu=Symbol("_vte"),qu=t=>t.__isTeleport,Gi=t=>t&&(t.disabled||t.disabled===""),nf=t=>t&&(t.defer||t.defer===""),_l=t=>typeof SVGElement<"u"&&t instanceof SVGElement,yl=t=>typeof MathMLElement=="function"&&t instanceof MathMLElement,pr=(t,i)=>{const o=t&&t.to;return _t(o)?i?i(o):null:o},sf={name:"Teleport",__isTeleport:!0,process(t,i,o,l,u,d,p,_,b,C){const{mc:k,pc:O,pbc:R,o:{insert:F,querySelector:X,createText:q,createComment:ge,parentNode:we}}=C,K=Gi(i.props);let{dynamicChildren:fe}=i;const ie=(Ee,Ve,pe)=>{Ee.shapeFlag&16&&k(Ee.children,Ve,pe,u,d,p,_,b)},me=(Ee=i)=>{const Ve=Gi(Ee.props),pe=Ee.target=pr(Ee.props,X),$e=mr(pe,Ee,q,F);pe&&(p!=="svg"&&_l(pe)?p="svg":p!=="mathml"&&yl(pe)&&(p="mathml"),u&&u.isCE&&(u.ce._teleportTargets||(u.ce._teleportTargets=new Set)).add(pe),Ve||(ie(Ee,pe,$e),Js(Ee,!1)))},Le=Ee=>{const Ve=()=>{if(Si.get(Ee)===Ve){if(Si.delete(Ee),Gi(Ee.props)){const pe=we(Ee.el)||o;ie(Ee,pe,Ee.anchor),Js(Ee,!0)}me(Ee)}};Si.set(Ee,Ve),Gt(Ve,d)};if(t==null){const Ee=i.el=q(""),Ve=i.anchor=q("");if(F(Ee,o,l),F(Ve,o,l),nf
Line truncated
|
||||
* @vue/runtime-dom v3.5.39
|
||||
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
||||
* @license MIT
|
||||
**/let wr;const Al=typeof window<"u"&&window.trustedTypes;if(Al)try{wr=Al.createPolicy("vue",{createHTML:t=>t})}catch{}const Pc=wr?t=>wr.createHTML(t):t=>t,lh="http://www.w3.org/2000/svg",uh="http://www.w3.org/1998/Math/MathML",ii=typeof document<"u"?document:null,$l=ii&&ii.createElement("template"),ch={insert:(t,i,o)=>{i.insertBefore(t,o||null)},remove:t=>{const i=t.parentNode;i&&i.removeChild(t)},createElement:(t,i,o,l)=>{const u=i==="svg"?ii.createElementNS(lh,t):i==="mathml"?ii.createElementNS(uh,t):o?ii.createElement(t,{is:o}):ii.createElement(t);return t==="select"&&l&&l.multiple!=null&&u.setAttribute("multiple",l.multiple),u},createText:t=>ii.createTextNode(t),createComment:t=>ii.createComment(t),setText:(t,i)=>{t.nodeValue=i},setElementText:(t,i)=>{t.textContent=i},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>ii.querySelector(t),setScopeId(t,i){t.setAttribute(i,"")},insertStaticContent(t,i,o,l,u,d){const p=o?o.previousSibling:i.lastChild;if(u&&(u===d||u.nextSibling))for(;i.insertBefore(u.cloneNode(!0),o),!(u===d||!(u=u.nextSibling)););else{$l.innerHTML=Pc(l==="svg"?`<svg>${t}</svg>`:l==="mathml"?`<math>${t}</math>`:t);const _=$l.content;if(l==="svg"||l==="mathml"){const b=_.firstChild;for(;b.firstChild;)_.appendChild(b.firstChild);_.removeChild(b)}i.insertBefore(_,o)}return[p?p.nextSibling:i.firstChild,o?o.previousSibling:i.lastChild]}},ki="transition",qs="animation",go=Symbol("_vtc"),Cc={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},dh=zt({},Yu,Cc),fh=t=>(t.displayName="Transition",t.props=dh,t),hh=fh((t,{slots:i})=>ah(uf,ph(t),i)),ji=(t,i=[])=>{Ae(t)?t.forEach(o=>o(...i)):t&&t(...i)},Il=t=>t?Ae(t)?t.some(i=>i.length>1):t.length>1:!1;function ph(t){const i={};for(const Q in t)Q in Cc||(i[Q]=t[Q]);if(t.css===!1)return i;const{name:o="v",type:l,duration:u,enterFromClass:d=`${o}-enter-from`,enterActiveClass:p=`${o}-enter-active`,enterToClass:_=`${o}-enter-to`,appearFromClass:b=d,appearActiveClass:C=p,appearToClass:k=_,leaveFromClass:O=`${o}-leave-from`,leaveActiveClass:R=`${o}-leave-active`,leaveToClass:F=`${o}-leave-to`}=t,X=mh(u),q=X&&X[0],ge=X&&X[1],{onBeforeEnter:we,onEnter:K,onEnterCancelled:fe,onLeave:ie,onLeaveCancelled:me,onBeforeAppear:Le=we,onAppear:Ee=K,onAppearCancelled:Ve=fe}=i,pe=(Q,ue,ye,ze)=>{Q._enterCancelled=ze,Wi(Q,ue?k:_),Wi(Q,ue?C:p),ye&&ye()},$e=(Q,ue)=>{Q._isLeaving=!1,Wi(Q,O),Wi(Q,F),Wi(Q,R),ue&&ue()},Oe=Q=>(ue,ye)=>{const ze=Q?Ee:K,ce=()=>pe(ue,Q,ye);ji(ze,[ue,ce]),Dl(()=>{Wi(ue,Q?b:d),ni(ue,Q?k:_),Il(ze)||Nl(ue,l,q,ce)})};return zt(i,{onBeforeEnter(Q){ji(we,[Q]),ni(Q,d),ni(Q,p)},onBeforeAppear(Q){ji(Le,[Q]),ni(Q,b),ni(Q,C)},onEnter:Oe(!1),onAppear:Oe(!0),onLeave(Q,ue){Q._isLeaving=!0;const ye=()=>$e(Q,ue);ni(Q,O),Q._enterCancelled?(ni(Q,R),Bl(Q)):(Bl(Q),ni(Q,R)),Dl(()=>{Q._isLeaving&&(Wi(Q,O),ni(Q,F),Il(ie)||Nl(Q,l,ge,ye))}),ji(ie,[Q,ye])},onEnterCancelled(Q){pe(Q,!1,void 0,!0),ji(fe,[Q])},onAppearCancelled(Q){pe(Q,!0,void 0,!0),ji(Ve,[Q])},onLeaveCancelled(Q){$e(Q),ji(me,[Q])}})}function mh(t){if(t==null)return null;if(rt(t))return[or(t.enter),or(t.leave)];{const i=or(t);return[i,i]}}function or(t){return pd(t)}function ni(t,i){i.split(/\s+/).forEach(o=>o&&t.classList.add(o)),(t[go]||(t[go]=new Set)).add(i)}function Wi(t,i){i.split(/\s+/).forEach(l=>l&&t.classList.remove(l));const o=t[go];o&&(o.delete(i),o.size||(t[go]=void 0))}function Dl(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let gh=0;function Nl(t,i,o,l){const u=t._endId=++gh,d=()=>{u===t._endId&&l()};if(o!=null)return setTimeout(d,o);const{type:p,timeout:_,propCount:b}=vh(t,i);if(!p)return l();const C=p+"end";let k=0;const O=()=>{t.removeEventListener(C,R),d()},R=F=>{F.target===t&&++k>=b&&O()};setTimeout(()=>{k<b&&O()},_+1),t.addEventListener(C,R)}function vh(t,i){const o=window.getComputedStyle(t),l=X=>(o[X]||"").split(", "),u=l(`${ki}Delay`),d=l(`${ki}Duration`),p=Rl(u,d),_=l(`${qs}Delay`),b=l(`${qs}Duration`),C=Rl(_,b);let k=null,O=0,R=0;i===ki?p>0&&(k=ki,O=p,R=d.length):i===qs?C>0&&(k=qs,O=C,R=b.length):(O=Math.max(p,C),k=O>0?p>C?ki:qs:null,R=k?k===ki?d.length:b.length:0);const F=k===ki&&/\b(?:transform|all)(?:,|$)/.test(l(`${ki}Property`).toString());return{type:k,timeout:O,propCount:R,hasTransform:F}}function Rl(t,i){for(;t.length<i.length;)t=t.concat(t);return Math.max(...i.map((o,l)=>Fl(o)+Fl(t[l])))}function Fl(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function Bl(t){return(t?t.ownerDocument:document).body.offsetHeight}function _h(t,i,o){const l=t[go];l&&(i=(i?[i,...l]:[...l]).join(" ")),i==null?t.removeAttribute("class"):o?t.setAttribute("class",i):t.className=i}const ca=Symbol("_vod"),Lc=Symbol("_vsh"),yh={name:"show",beforeMount(t,{value:i},{transition:o}){t[ca]=t.style.display==="none"?"":t.style.disp
Line truncated
|
||||
* Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com
|
||||
* (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade
|
||||
*/var em=eo.exports,uu;function tm(){return uu||(uu=1,(function(t,i){(function(o,l){l(i)})(em,(function(o){var l="1.9.4";function u(e){var n,s,a,c;for(s=1,a=arguments.length;s<a;s++){c=arguments[s];for(n in c)e[n]=c[n]}return e}var d=Object.create||(function(){function e(){}return function(n){return e.prototype=n,new e}})();function p(e,n){var s=Array.prototype.slice;if(e.bind)return e.bind.apply(e,s.call(arguments,1));var a=s.call(arguments,2);return function(){return e.apply(n,a.length?a.concat(s.call(arguments)):arguments)}}var _=0;function b(e){return"_leaflet_id"in e||(e._leaflet_id=++_),e._leaflet_id}function C(e,n,s){var a,c,g,P;return P=function(){a=!1,c&&(g.apply(s,c),c=!1)},g=function(){a?c=arguments:(e.apply(s,arguments),setTimeout(P,n),a=!0)},g}function k(e,n,s){var a=n[1],c=n[0],g=a-c;return e===a&&s?e:((e-c)%g+g)%g+c}function O(){return!1}function R(e,n){if(n===!1)return e;var s=Math.pow(10,n===void 0?6:n);return Math.round(e*s)/s}function F(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}function X(e){return F(e).split(/\s+/)}function q(e,n){Object.prototype.hasOwnProperty.call(e,"options")||(e.options=e.options?d(e.options):{});for(var s in n)e.options[s]=n[s];return e.options}function ge(e,n,s){var a=[];for(var c in e)a.push(encodeURIComponent(s?c.toUpperCase():c)+"="+encodeURIComponent(e[c]));return(!n||n.indexOf("?")===-1?"?":"&")+a.join("&")}var we=/\{ *([\w_ -]+) *\}/g;function K(e,n){return e.replace(we,function(s,a){var c=n[a];if(c===void 0)throw new Error("No value provided for variable "+s);return typeof c=="function"&&(c=c(n)),c})}var fe=Array.isArray||function(e){return Object.prototype.toString.call(e)==="[object Array]"};function ie(e,n){for(var s=0;s<e.length;s++)if(e[s]===n)return s;return-1}var me="data:image/gif;base64,R0lGODlhAQABAAD/ACwAAAAAAQABAAACADs=";function Le(e){return window["webkit"+e]||window["moz"+e]||window["ms"+e]}var Ee=0;function Ve(e){var n=+new Date,s=Math.max(0,16-(n-Ee));return Ee=n+s,window.setTimeout(e,s)}var pe=window.requestAnimationFrame||Le("RequestAnimationFrame")||Ve,$e=window.cancelAnimationFrame||Le("CancelAnimationFrame")||Le("CancelRequestAnimationFrame")||function(e){window.clearTimeout(e)};function Oe(e,n,s){if(s&&pe===Ve)e.call(n);else return pe.call(window,p(e,n))}function Q(e){e&&$e.call(window,e)}var ue={__proto__:null,extend:u,create:d,bind:p,get lastId(){return _},stamp:b,throttle:C,wrapNum:k,falseFn:O,formatNum:R,trim:F,splitWords:X,setOptions:q,getParamString:ge,template:K,isArray:fe,indexOf:ie,emptyImageUrl:me,requestFn:pe,cancelFn:$e,requestAnimFrame:Oe,cancelAnimFrame:Q};function ye(){}ye.extend=function(e){var n=function(){q(this),this.initialize&&this.initialize.apply(this,arguments),this.callInitHooks()},s=n.__super__=this.prototype,a=d(s);a.constructor=n,n.prototype=a;for(var c in this)Object.prototype.hasOwnProperty.call(this,c)&&c!=="prototype"&&c!=="__super__"&&(n[c]=this[c]);return e.statics&&u(n,e.statics),e.includes&&(ze(e.includes),u.apply(null,[a].concat(e.includes))),u(a,e),delete a.statics,delete a.includes,a.options&&(a.options=s.options?d(s.options):{},u(a.options,e.options)),a._initHooks=[],a.callInitHooks=function(){if(!this._initHooksCalled){s.callInitHooks&&s.callInitHooks.call(this),this._initHooksCalled=!0;for(var g=0,P=a._initHooks.length;g<P;g++)a._initHooks[g].call(this)}},n},ye.include=function(e){var n=this.prototype.options;return u(this.prototype,e),e.options&&(this.prototype.options=n,this.mergeOptions(e.options)),this},ye.mergeOptions=function(e){return u(this.prototype.options,e),this},ye.addInitHook=function(e){var n=Array.prototype.slice.call(arguments,1),s=typeof e=="function"?e:function(){this[e].apply(this,n)};return this.prototype._initHooks=this.prototype._initHooks||[],this.prototype._initHooks.push(s),this};function ze(e){if(!(typeof L>"u"||!L||!L.Mixin)){e=fe(e)?e:[e];for(var n=0;n<e.length;n++)e[n]===L.Mixin.Events&&console.warn("Deprecated include of L.Mixin.Events: this property will be removed in future releases, please inherit from L.Evented instead.",new Error().stack)}}var ce={on:function(e,n,s){if(typeof e=="object")for(var a in e)this._on(a,e[a],n);else{e=X(e);for(var c=0,g=e.length;c<g;c++)this._on(e[c],n,s)}return this},off:function(e,n,s){if(!arguments.length)delete this._events;else if(typeof e=="object")for(var a in e)this._off(a,e[a],n);else{e=X(e);for(var c=arguments.length===1,g=0,P=e.length;g<P;g++)c?this._off(e[g]):this._off(e[g],n,s)}return this},_on:function(e,n,s,a){if(typeof n!="function"){console.warn("wrong listener type: "+typeof n);return}if(this._listens(e,n,s)===!1){s===this&&(s=void 0);var c={fn:n,ctx:s};a&&(c.once=!0),this._events=this._events||{},this._events[e]=this._events[e]||[],this._events[e].push(c)}},_off:function(e,n,s){var a,c,g;if(this._events&&(a=this._events[e],!!a)){if(arguments.length===1){if(this._firingCount)for(c=0,g=a.length;c<g;c++)a[c].fn=O;delete this._events[e];return}if(typeof n!="function"){console.warn("wrong listener type: "Line truncated
|
||||
@@ -0,0 +1 @@
|
||||
:root,[data-theme=light]{--navy-950: #0B1730;--navy-900: #0F1E3D;--navy-800: #1B2E52;--navy-700: #26406E;--blue-50: #EAF1FE;--blue-100: #D6E3FD;--blue-200: #B4CDFA;--blue-300: #8FB4F6;--blue-400: #5B93F5;--blue-500: #3D7BF0;--blue-600: #2B62CC;--blue-700: #1F4CA0;--slate-0: #FFFFFF;--slate-50: #F6F7F9;--slate-100: #EEF0F3;--slate-150: #E6E9EE;--slate-200: #DCE0E7;--slate-300: #C5CCD7;--slate-400: #97A1B0;--slate-500: #6B7688;--slate-600: #4C5566;--slate-700: #333B4A;--slate-800: #1E2635;--slate-900: #131A28;--slate-950: #0B111C;--steel: #5A6B85;--green-500: #1F8A5B;--green-100: #DCF1E7;--green-600:#177049;--amber-500: #D9852B;--amber-100: #FBEBD5;--amber-600:#B86C1B;--red-500: #D64545;--red-100: #FBE0E0;--red-600: #B83232;--bg-app: var(--slate-100);--bg-subtle: var(--slate-50);--surface: var(--slate-0);--surface-2: var(--slate-50);--surface-inset: var(--slate-100);--border: var(--slate-200);--border-strong: var(--slate-300);--border-subtle: var(--slate-150);--text-primary: var(--navy-900);--text-secondary:var(--steel);--text-tertiary: var(--slate-400);--text-inverse: var(--slate-0);--text-on-accent:#FFFFFF;--accent: var(--blue-500);--accent-hover: var(--blue-600);--accent-active: var(--blue-700);--accent-soft: var(--blue-50);--accent-soft-fg:var(--blue-700);--focus-ring: color-mix(in srgb, var(--blue-500) 45%, transparent);--success: var(--green-500);--success-soft: var(--green-100);--success-fg: var(--green-600);--warning: var(--amber-500);--warning-soft: var(--amber-100);--warning-fg: var(--amber-600);--danger: var(--red-500);--danger-soft: var(--red-100);--danger-fg: var(--red-600);--overlay: color-mix(in srgb, var(--navy-950) 55%, transparent);--font-sans: "Space Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;--font-mono: "Space Mono", ui-monospace, "SF Mono", "JetBrains Mono", monospace;--radius-xs: 4px;--radius-sm: 6px;--radius-md: 10px;--radius-lg: 14px;--radius-xl: 20px;--radius-pill: 999px;--shadow-xs: 0 1px 2px rgba(15,30,61,.06);--shadow-sm: 0 1px 2px rgba(15,30,61,.06), 0 1px 3px rgba(15,30,61,.04);--shadow-md: 0 2px 4px rgba(15,30,61,.06), 0 6px 16px rgba(15,30,61,.08);--shadow-lg: 0 8px 24px rgba(15,30,61,.1), 0 2px 6px rgba(15,30,61,.06);--ease-standard: cubic-bezier(.4, 0, .2, 1);--ease-out: cubic-bezier(.16, 1, .3, 1);--dur-fast: .12s;--dur-base: .2s;color-scheme:light}[data-theme=dark]{--bg-app: var(--navy-950);--bg-subtle: var(--slate-950);--surface: #10203F;--surface-2: #142748;--surface-inset: var(--navy-950);--border: color-mix(in srgb, #FFFFFF 10%, transparent);--border-strong: color-mix(in srgb, #FFFFFF 18%, transparent);--border-subtle: color-mix(in srgb, #FFFFFF 6%, transparent);--text-primary: #F4F7FC;--text-secondary:#8FA0BE;--text-tertiary: #5E6E8C;--text-inverse: var(--navy-900);--text-on-accent:#FFFFFF;--accent: var(--blue-400);--accent-hover: var(--blue-300);--accent-active: var(--blue-200);--accent-soft: color-mix(in srgb, var(--blue-500) 18%, transparent);--accent-soft-fg:var(--blue-300);--focus-ring: color-mix(in srgb, var(--blue-400) 55%, transparent);--success:var(--green-500);--success-soft: color-mix(in srgb, var(--green-500) 22%, transparent);--success-fg:#5FD3A0;--warning:var(--amber-500);--warning-soft: color-mix(in srgb, var(--amber-500) 22%, transparent);--warning-fg:#F0B26A;--danger: var(--red-500);--danger-soft: color-mix(in srgb, var(--red-500) 22%, transparent);--danger-fg: #F08A8A;--overlay: color-mix(in srgb, #000000 62%, transparent);--shadow-xs: 0 1px 2px rgba(0,0,0,.35);--shadow-sm: 0 1px 3px rgba(0,0,0,.4);--shadow-md: 0 4px 12px rgba(0,0,0,.45);--shadow-lg: 0 12px 32px rgba(0,0,0,.5);color-scheme:dark}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-Line truncated
|
||||
Vendored
+2
-2
@@ -35,8 +35,8 @@
|
||||
})()
|
||||
</script>
|
||||
<title>PilotVault — Control Panel</title>
|
||||
<script type="module" crossorigin src="./assets/index-Bw9Fgeki.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-B-aj3yVr.css">
|
||||
<script type="module" crossorigin src="./assets/index-By3vEu-b.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="./assets/index-CoIRbg0g.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
Reference in new issue
Block a user