relaton-cli 3.0.0.pre.alpha.1 → 3.0.0.pre.alpha.4

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.
data/docs/README.adoc CHANGED
@@ -81,7 +81,8 @@ The following datasets are available:
81
81
  * `bipm-data-outcomes` - looks for the BIPM dataset in the local `./bipm-data-outcomes` directory. The dataset can be downloaded from https://github.com/metanorma/bipm-data-outcomes
82
82
  * `si-brochure` - looks for the SI-Brochure dataset in the local `./bipm-si-brochure` directory. The dataset can be downloaded from https://github.com/metanorma/bipm-si-brochure
83
83
  * `ecma-standards` - https://www.ecma-international.org/publications/standards/
84
- * `itu-r` - https://extranet.itu.int/brdocsearch
84
+ * `itu-t` - https://www.itu.int/mws/api/recommendations/searchRecs
85
+ * `itu-r` - **unavailable**: ITU decommissioned the bulk-enumeration endpoint this crawler used, so it raises rather than harvesting (see https://github.com/relaton/relaton/issues/75)
85
86
  * `ccsds` - https://public.ccsds.org/Publications/AllPubs.aspx
86
87
  * `etsi-csv` - https://www.etsi.org/
87
88
  * `plateau-handbooks` - https://www.mlit.go.jp/plateau/_next/data/1.3.0/libraries/handbooks.json
@@ -225,6 +226,181 @@ $ relaton yaml2html YAML [<stylesheet>] [<liquid-template-dir>]
225
226
 
226
227
  Render a Relaton YAML file as an HTML file. The `stylesheet` and `liquid-template-dir` parameters are as for <<relaton-xml2html,relaton xml2html>>.
227
228
 
229
+ [[relaton-index]]
230
+ === relaton index
231
+
232
+ [source,console]
233
+ ----
234
+ $ relaton index [DATA-DIR] [options]
235
+ ----
236
+
237
+ Build a modern, browsable HTML index site from a folder of Relaton
238
+ bibliographic YAML documents (default `./data`, arbitrarily nested). This is the
239
+ command that generates the GitHub Pages index for `relaton-data-<flavor>`
240
+ repositories (e.g. https://relaton.github.io/relaton-data-bipm/).
241
+
242
+ The generated `index.html` inlines a compiled Vue + Tailwind frontend (search,
243
+ doctype/stage filters, sort, list/grid, dark mode, copy-DocID, responsive
244
+ pagination). It carries **no document data of its own** — the page is a fixed
245
+ ~110 KB regardless of whether the corpus holds 200 documents or 200,000. The
246
+ documents live in numbered JSON shards written alongside it, which the page
247
+ fetches:
248
+
249
+ [source]
250
+ ----
251
+ _site/index.html branding + the inlined bundle + the shard layout
252
+ _site/search-0000.json summary records, --shard-size each
253
+ _site/search-0001.json …loaded progressively: the first shard paints,
254
+ the rest stream in behind it
255
+ _site/detail-0000.json the richer fields, --detail-shard-size each
256
+ _site/detail-0001.json …fetched only when a detail page is opened
257
+ ----
258
+
259
+ This keeps page weight a function of what the reader is looking at rather than
260
+ of corpus size. It matters at the top of the fleet: in the previous
261
+ single-page design `relaton-data-3gpp` (88,464 documents) published a
262
+ 151,688,883-byte `index.html`, and `relaton-data-ids` (166,658 documents) would
263
+ have published roughly twice that. The cost is not really the download —
264
+ GitHub Pages gzips, so that page transfers in ~6.4 MB — but the browser still
265
+ has to parse it and build a DOM node per document before anything appears.
266
+
267
+ Clicking a document opens a shareable **detail page** (`?doc=<id>`) showing its
268
+ full bibliographic details — abstract, contributors, all identifiers and dates,
269
+ edition, languages, keywords, publisher, and the landing/raw-YAML links. Those
270
+ fields come from the `detail-NNNN.json` shard holding that document, fetched
271
+ when the panel opens; each block renders as it arrives, and a document with no
272
+ such fields simply shows its summary and links.
273
+
274
+ [NOTE]
275
+ ====
276
+ Because the page fetches its data, it must be served over `http(s)://`. Opening
277
+ `_site/index.html` straight off the filesystem shows an empty index — browsers
278
+ block `fetch` from `file://`. To preview a build locally:
279
+
280
+ [source,console]
281
+ ----
282
+ $ cd _site && python3 -m http.server
283
+ ----
284
+
285
+ Do **not** pre-compress the shards. GitHub Pages already serves them gzipped
286
+ (verified: a 32.9 MB `search.json` transfers in 4.8 MB); a stored `.json.gz`
287
+ would be served as `application/gzip` with no `Content-Encoding`, so the browser
288
+ would not transparently inflate it.
289
+ ====
290
+
291
+ .Options
292
+ [cols="1,3"]
293
+ |===
294
+ | `-o, --output` | Output directory for the generated site (default `_site`).
295
+ | `--flavor` | Build from `relaton/relaton-data-<flavor>` (shallow-cloned) instead of a local folder.
296
+ | `--repo` | Build from a GitHub repo `ORG/NAME` (shallow-cloned) instead of a local folder.
297
+ | `--branch` | Branch to clone when `--flavor`/`--repo` is used (default: the repo's default branch).
298
+ | `-t, --title` | Index page title.
299
+ | `--description` | Index page description. Emitted as `<meta name="description">` (search-result blurb) and rendered as the header subtitle in place of the default sentence.
300
+ | `--favicon` | Favicon href for `<link rel="icon">`, emitted **verbatim**. Normally an absolute URL (e.g. the SDO's own logo). A site-relative path also works, but `relaton index` copies no assets — only the HTML shell and the JSON shards are written — so the caller must put that file into the deployed site itself. A known image extension (`.svg`, `.png`, `.ico`, `.gif`, `.jpg`) also sets `type`; anything else is left for the browser to sniff.
301
+ | `--base-url` | Base URL for the raw-YAML links (defaults to the raw GitHub URL when cloning).
302
+ | `--shard-size` | Summary records per `search-NNNN.json` (default `5000`, ≈1 MB per shard). Smaller shards paint sooner and cost more requests.
303
+ | `--detail-shard-size` | Detail records per `detail-NNNN.json` (default `500`). This is how much is fetched to open one detail page, so keep it modest.
304
+ | `--[no-]detail` | Emit the detail shards (default `true`). `--no-detail` roughly halves the deployed site and degrades detail pages to the summary fields plus links.
305
+ | `--[no-]static` | Also index a sibling `static/` folder next to `DATA-DIR` (auto-detected, default `true`). Pass `--no-static` to index `DATA-DIR` only.
306
+ | `--pubid-flavor` | Flavor whose pubid `Identifier` parses each docid and whose `INDEXFILE` names the published index (e.g. `iso`, `iho`, `iec`). **Required** unless `--no-machine-index`.
307
+ | `--[no-]machine-index` | Emit the machine-consumable index (default `true`). `--no-machine-index` builds the human site only, and is the way to run without `--pubid-flavor`.
308
+ | `--index-name` | Base name for the published index, overriding the flavor's `INDEXFILE` (e.g. `index-v2`). For a corpus that is not a relaton flavor. Must be a single file name — no `/` and no leading `.`.
309
+ | `--[no-]publish-data` | Copy the scanned corpus to `_site/data/` so document fetches share the Pages origin (default `false`). For a repo whose records are served only from Pages; it roughly doubles the deployed size, and most repos are already served by `raw.githubusercontent.com`.
310
+ | `-f, --overwrite` | Overwrite existing output files (default `true`).
311
+ |===
312
+
313
+ ==== The machine index
314
+
315
+ Alongside the human site, `relaton index` publishes a machine-consumable copy of
316
+ the index so a Relaton client can resolve a reference from the Pages origin:
317
+
318
+ [source]
319
+ ----
320
+ _site/index-v2.yaml the whole index, same shape as the repo's own
321
+ _site/index-v2.zip its zip sibling — what `Relaton::Index url:` fetches
322
+ _site/index/manifest.json the lookup rule
323
+ _site/index/shard-00000.json one bucket of rows
324
+ ----
325
+
326
+ The monolith is named from the flavor's own `INDEXFILE` (hence `index-v2` for
327
+ ISO, `index-v3` for IHO), so it is the file that flavor's consumer already
328
+ fetches. Shard buckets are `crc32(pubid.root.number.to_s) % shards`, the same
329
+ key `Relaton::Index` narrows on, so a document family lands in one shard.
330
+
331
+ The wire contract — manifest fields, shard naming, and what the shards cannot
332
+ serve — is specified in `docs/data-repository-format.adoc` in the `relaton`
333
+ repo.
334
+
335
+ NOTE: Some `relaton-data-<flavor>` repos keep manually-curated bibliographic YAML
336
+ records (documents the crawler can't fetch — e.g. ISO/IEC Directives, JCGM/GUM
337
+ guides, NIST research-library metadata) in a `static/` folder alongside `data/`.
338
+ These are part of the served corpus (they appear in the repo's `index-vN.yaml`),
339
+ so `relaton index` includes them by default: it auto-detects a `static/` sibling
340
+ of `DATA-DIR` and folds its docs into the same site, with the raw-YAML links
341
+ resolving to `static/<path>`. If a document id appears in both folders the `data/`
342
+ copy wins. Use `--no-static` to suppress this.
343
+
344
+ .Examples
345
+ [source,console]
346
+ ----
347
+ # From the checked-out data repo (as in the GitHub Action):
348
+ $ relaton index data --output _site --pubid-flavor bipm --base-url \
349
+ https://raw.githubusercontent.com/relaton/relaton-data-bipm/v2
350
+
351
+ # From a local folder of YAML docs (default ./data), human site only:
352
+ $ relaton index ./my-docs --title "My Standards Index" --no-machine-index
353
+
354
+ # Branded per flavor — title, search-result blurb and tab icon:
355
+ $ relaton index data --pubid-flavor w3c --title "W3C Index" \
356
+ --description "Welcome to the World Wide Web Consortium standards index site!" \
357
+ --favicon https://www.w3.org/assets/logos/w3c/w3c-no-bars.svg
358
+
359
+ # Ad-hoc, cloning the official data repo by flavor:
360
+ $ relaton index --flavor bipm --pubid-flavor bipm --output _site
361
+
362
+ # From an arbitrary GitHub repo, pinning the branch to clone:
363
+ $ relaton index --repo relaton/relaton-data-bipm --branch v2 \
364
+ --pubid-flavor bipm --output _site
365
+
366
+ # A corpus that is not a relaton flavor: name the index explicitly:
367
+ $ relaton index data --pubid-flavor iso --index-name index-v2 --output _site
368
+
369
+ # Tune the shard layout for a very large corpus:
370
+ $ relaton index data --pubid-flavor iso --shard-size 10000 \
371
+ --detail-shard-size 250 --output _site
372
+
373
+ # Skip the detail shards entirely (smaller site, summary-only detail pages):
374
+ $ relaton index data --pubid-flavor iso --no-detail --output _site
375
+ ----
376
+
377
+ [IMPORTANT]
378
+ ====
379
+ `--mode` (`embedded` / `dom` / `static-json`) has been **removed**. Those modes
380
+ existed to trade the crawler-indexable DOM against page weight; there is now one
381
+ delivery mode, so there is nothing to choose. A caller still passing `--mode`
382
+ fails with a usage error and a non-zero exit — deliberately loud, because
383
+ silently ignoring it would publish a site nobody asked for.
384
+ ====
385
+
386
+ NOTE: When building from a git checkout of relaton-cli, the compiled frontend
387
+ must exist first: run `bundle exec rake build_frontend` (or
388
+ `cd frontend && npm install && npm run build`). The released gem already ships
389
+ the compiled bundle, so installed users need only Ruby.
390
+
391
+ To publish these indexes from CI (GitHub Pages), a `relaton-data-<flavor>` repo
392
+ calls the shared reusable workflow in `relaton/support`:
393
+
394
+ [source,yaml]
395
+ ----
396
+ jobs:
397
+ deploy:
398
+ uses: relaton/support/.github/workflows/data-deploy.yml@main
399
+ ----
400
+
401
+ That workflow installs relaton-cli, runs `relaton index`, and deploys the result
402
+ to GitHub Pages.
403
+
228
404
  === relaton version
229
405
 
230
406
  [source,console]
@@ -0,0 +1,18 @@
1
+ <!doctype html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <title>Redirecting…</title>
6
+ <script>
7
+ // GitHub Pages has no URL rewrites, so path-based document URLs
8
+ // (/doc/<id>) land on this 404 fallback. Hand the id to the app as
9
+ // ?doc=<id>, preserving the site's base path wherever it is hosted.
10
+ (function () {
11
+ var m = location.pathname.match(/\/doc\/([^/?#]+)$/);
12
+ var root = m ? location.pathname.slice(0, m.index) : location.pathname.replace(/[^/]*$/, "");
13
+ location.replace(root + "?doc=" + (m ? m[1] : ""));
14
+ })();
15
+ </script>
16
+ </head>
17
+ <body></body>
18
+ </html>
@@ -0,0 +1 @@
1
+ !function(){function e(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return e=>e in t}var t,n={},s=[],r=()=>{},l=()=>!1,o=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),a=e=>e.startsWith("onUpdate:"),i=Object.assign,c=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},u=Object.prototype.hasOwnProperty,d=(e,t)=>u.call(e,t),f=Array.isArray,p=e=>"[object Map]"===w(e),h=e=>"[object Set]"===w(e),v=e=>"[object Date]"===w(e),m=e=>"function"==typeof e,g=e=>"string"==typeof e,y=e=>"symbol"==typeof e,b=e=>null!==e&&"object"==typeof e,x=e=>(b(e)||m(e))&&m(e.then)&&m(e.catch),_=Object.prototype.toString,w=e=>_.call(e),k=e=>"[object Object]"===w(e),S=e=>g(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,C=e(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),M=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},O=/-\w/g,E=M(e=>e.replace(O,e=>e.slice(1).toUpperCase())),T=/\B([A-Z])/g,P=M(e=>e.replace(T,"-$1").toLowerCase()),A=M(e=>e.charAt(0).toUpperCase()+e.slice(1)),D=M(e=>e?`on${A(e)}`:""),$=(e,t)=>!Object.is(e,t),j=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},R=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},F=e=>{const t=parseFloat(e);return isNaN(t)?e:t},I=()=>t||(t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{});function L(e){if(f(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=g(s)?z(s):L(s);if(r)for(const e in r)t[e]=r[e]}return t}if(g(e)||b(e))return e}var V=/;(?![^(]*\))/g,N=/:([^]+)/,U=/\/\*[^]*?\*\//g;function z(e){const t={};return e.replace(U,"").split(V).forEach(e=>{if(e){const n=e.split(N);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function B(e){let t="";if(g(e))t=e;else if(f(e))for(let n=0;n<e.length;n++){const s=B(e[n]);s&&(t+=s+" ")}else if(b(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}var H="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",W=e(H);function q(e){return!!e||""===e}function K(e,t){if(e===t)return!0;let n=v(e),s=v(t);if(n||s)return!(!n||!s)&&e.getTime()===t.getTime();if(n=y(e),s=y(t),n||s)return e===t;if(n=f(e),s=f(t),n||s)return!(!n||!s)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=K(e[s],t[s]);return n}(e,t);if(n=b(e),s=b(t),n||s){if(!n||!s)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const s=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(s&&!r||!s&&r||!K(e[n],t[n]))return!1}}return String(e)===String(t)}var G,J,X=e=>!(!e||!0!==e.__v_isRef),Z=e=>g(e)?e:null==e?"":f(e)||b(e)&&(e.toString===_||!m(e.toString))?X(e)?Z(e.value):JSON.stringify(e,Y,2):String(e),Y=(e,t)=>X(t)?Y(e,t.value):p(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],s)=>(e[Q(t,s)+" =>"]=n,e),{})}:h(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Q(e))}:y(t)?Q(t):!b(t)||f(t)||k(t)?t:String(t),Q=(e,t="")=>{var n;return y(e)?`Symbol(${null!=(n=e.description)?n:t})`:e},ee=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&G&&(G.active?(this.parent=G,this.index=(G.scopes||(G.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){let e,t;if(this._isPaused=!0,this.scopes){const n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].pause()}for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){let e,t;if(this._isPaused=!1,this.scopes){const n=this.scopes.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}const n=this.effects.slice();for(e=0,t=n.length;e<t;e++)n[e].resume()}}run(e){if(this._active){const t=G;try{return G=this,e()}finally{G=t}}}on(){1===++this._on&&(this.prevScope=G,G=this)}off(){if(this._on>0&&0===--this._on){if(G===this)G=this.prevScope;else{let e=G;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){let t,n;for(this._active=!1,t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){const e=this.scopes.slice();for(t=0,n=e.length;t<n;t++)e[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){const e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};var te,ne,se=new WeakSet,re=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,G&&(G.active?G.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){64&this.flags&&(this.flags&=-65,se.has(this)&&(se.delete(this),this.trigger()))}notify(){2&this.flags&&!(32&this.flags)||8&this.flags||oe(this)}run(){if(!(1&this.flags))return this.fn();this.flags|=2,be(this),ce(this);const e=J,t=ve;J=this,ve=!0;try{return this.fn()}finally{ue(this),J=e,ve=t,this.flags&=-3}}stop(){if(1&this.flags){for(let e=this.deps;e;e=e.nextDep)pe(e);this.deps=this.depsTail=void 0,be(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){64&this.flags?se.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){de(this)&&this.run()}get dirty(){return de(this)}},le=0;function oe(e,t=!1){if(e.flags|=8,t)return e.next=ne,void(ne=e);e.next=te,te=e}function ae(){le++}function ie(){if(--le>0)return;if(ne){let e=ne;for(ne=void 0;e;){const t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;te;){let n=te;for(te=void 0;n;){const s=n.next;if(n.next=void 0,n.flags&=-9,1&n.flags)try{n.trigger()}catch(t){e||(e=t)}n=s}}if(e)throw e}function ce(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ue(e){let t,n=e.depsTail,s=n;for(;s;){const e=s.prevDep;-1===s.version?(s===n&&(n=e),pe(s),he(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=e}e.deps=t,e.depsTail=n}function de(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(fe(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function fe(e){if(4&e.flags&&!(16&e.flags))return;if(e.flags&=-17,e.globalVersion===xe)return;if(e.globalVersion=xe,!e.isSSR&&128&e.flags&&(!e.deps&&!e._dirty||!de(e)))return;e.flags|=2;const t=e.dep,n=J,s=ve;J=e,ve=!0;try{ce(e);const n=e.fn(e._value);(0===t.version||$(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(r){throw t.version++,r}finally{J=n,ve=s,ue(e),e.flags&=-3}}function pe(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)pe(e,!0)}t||--n.sc||!n.map||n.map.delete(n.key)}function he(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var ve=!0,me=[];function ge(){me.push(ve),ve=!1}function ye(){const e=me.pop();ve=void 0===e||e}function be(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const e=J;J=void 0;try{t()}finally{J=e}}}var xe=0,_e=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},we=class{constructor(e){this.computed=e,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(e){if(!J||!ve||J===this.computed)return;let t=this.activeLink;if(void 0===t||t.sub!==J)t=this.activeLink=new _e(J,this),J.deps?(t.prevDep=J.depsTail,J.depsTail.nextDep=t,J.depsTail=t):J.deps=J.depsTail=t,ke(t);else if(-1===t.version&&(t.version=this.version,t.nextDep)){const e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=J.depsTail,t.nextDep=void 0,J.depsTail.nextDep=t,J.depsTail=t,J.deps===t&&(J.deps=e)}return t}trigger(e){this.version++,xe++,this.notify(e)}notify(e){ae();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{ie()}}};function ke(e){if(e.dep.sc++,4&e.sub.flags){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)ke(e)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Se=new WeakMap,Ce=Symbol(""),Me=Symbol(""),Oe=Symbol("");function Ee(e,t,n){if(ve&&J){let t=Se.get(e);t||Se.set(e,t=new Map);let s=t.get(n);s||(t.set(n,s=new we),s.map=t,s.key=n),s.track()}}function Te(e,t,n,s,r,l){const o=Se.get(e);if(!o)return void xe++;const a=e=>{e&&e.trigger()};if(ae(),"clear"===t)o.forEach(a);else{const r=f(e),l=r&&S(n);if(r&&"length"===n){const e=Number(s);o.forEach((t,n)=>{("length"===n||n===Oe||!y(n)&&n>=e)&&a(t)})}else switch((void 0!==n||o.has(void 0))&&a(o.get(n)),l&&a(o.get(Oe)),t){case"add":r?l&&a(o.get("length")):(a(o.get(Ce)),p(e)&&a(o.get(Me)));break;case"delete":r||(a(o.get(Ce)),p(e)&&a(o.get(Me)));break;case"set":p(e)&&a(o.get(Ce))}}ie()}function Pe(e){const t=ht(e);return t===e?t:(Ee(t,0,Oe),ft(e)?t:t.map(vt))}function Ae(e){return Ee(e=ht(e),0,Oe),e}function De(e,t){return dt(e)?mt(ut(e)?vt(t):t):vt(t)}var $e={__proto__:null,[Symbol.iterator](){return je(this,Symbol.iterator,e=>De(this,e))},concat(...e){return Pe(this).concat(...e.map(e=>f(e)?Pe(e):e))},entries(){return je(this,"entries",e=>(e[1]=De(this,e[1]),e))},every(e,t){return Fe(this,"every",e,t,void 0,arguments)},filter(e,t){return Fe(this,"filter",e,t,e=>e.map(e=>De(this,e)),arguments)},find(e,t){return Fe(this,"find",e,t,e=>De(this,e),arguments)},findIndex(e,t){return Fe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fe(this,"findLast",e,t,e=>De(this,e),arguments)},findLastIndex(e,t){return Fe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Le(this,"includes",e)},indexOf(...e){return Le(this,"indexOf",e)},join(e){return Pe(this).join(e)},lastIndexOf(...e){return Le(this,"lastIndexOf",e)},map(e,t){return Fe(this,"map",e,t,void 0,arguments)},pop(){return Ve(this,"pop")},push(...e){return Ve(this,"push",e)},reduce(e,...t){return Ie(this,"reduce",e,t)},reduceRight(e,...t){return Ie(this,"reduceRight",e,t)},shift(){return Ve(this,"shift")},some(e,t){return Fe(this,"some",e,t,void 0,arguments)},splice(...e){return Ve(this,"splice",e)},toReversed(){return Pe(this).toReversed()},toSorted(e){return Pe(this).toSorted(e)},toSpliced(...e){return Pe(this).toSpliced(...e)},unshift(...e){return Ve(this,"unshift",e)},values(){return je(this,"values",e=>De(this,e))}};function je(e,t,n){const s=Ae(e),r=s[t]();return s===e||ft(e)||(r._next=r.next,r.next=()=>{const e=r._next();return e.done||(e.value=n(e.value)),e}),r}var Re=Array.prototype;function Fe(e,t,n,s,r,l){const o=Ae(e),a=o!==e&&!ft(e),i=o[t];if(i!==Re[t]){const t=i.apply(e,l);return a?vt(t):t}let c=n;o!==e&&(a?c=function(t,s){return n.call(this,De(e,t),s,e)}:n.length>2&&(c=function(t,s){return n.call(this,t,s,e)}));const u=i.call(o,c,s);return a&&r?r(u):u}function Ie(e,t,n,s){const r=Ae(e);let l=n,o=!1;r!==e&&(r!==e&&!ft(e)?(o=0===s.length,l=function(t,s,r){return o&&(o=!1,t=De(e,t)),n.call(this,t,De(e,s),r,e)}):n.length>3&&(l=function(t,s,r){return n.call(this,t,s,r,e)}));const a=r[t](l,...s);return o?De(e,a):a}function Le(e,t,n){const s=ht(e);Ee(s,0,Oe);const r=s[t](...n);return-1!==r&&!1!==r||!pt(n[0])?r:(n[0]=ht(n[0]),s[t](...n))}function Ve(e,t,n=[]){ge(),ae();const s=ht(e)[t].apply(e,n);return ie(),ye(),s}var Ne=e("__proto__,__v_isRef,__isVue"),Ue=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>"arguments"!==e&&"caller"!==e).map(e=>Symbol[e]).filter(y));function ze(e){y(e)||(e=String(e));const t=ht(this);return Ee(t,0,e),t.hasOwnProperty(e)}var Be=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if("__v_skip"===t)return e.__v_skip;const s=this._isReadonly,r=this._isShallow;if("__v_isReactive"===t)return!s;if("__v_isReadonly"===t)return s;if("__v_isShallow"===t)return r;if("__v_raw"===t)return n===(s?r?ot:lt:r?rt:st).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const l=f(e);if(!s){let e;if(l&&(e=$e[t]))return e;if("hasOwnProperty"===t)return ze}const o=Reflect.get(e,t,gt(e)?e:n);if(y(t)?Ue.has(t):Ne(t))return o;if(s||Ee(e,0,t),r)return o;if(gt(o)){const e=l&&S(t)?o:o.value;return s&&b(e)?it(e):e}return b(o)?s?it(o):at(o):o}},He=class extends Be{constructor(e=!1){super(!1,e)}set(e,t,n,s){let r=e[t];const l=f(e)&&S(t);if(!this._isShallow){const e=dt(r);if(ft(n)||dt(n)||(r=ht(r),n=ht(n)),!l&&gt(r)&&!gt(n))return e||(r.value=n),!0}const o=l?Number(t)<e.length:d(e,t),a=Reflect.set(e,t,n,gt(e)?e:s);return e===ht(s)&&a&&(o?$(n,r)&&Te(e,"set",t,n):Te(e,"add",t,n)),a}deleteProperty(e,t){const n=d(e,t),s=(e[t],Reflect.deleteProperty(e,t));return s&&n&&Te(e,"delete",t,void 0),s}has(e,t){const n=Reflect.has(e,t);return y(t)&&Ue.has(t)||Ee(e,0,t),n}ownKeys(e){return Ee(e,0,f(e)?"length":Ce),Reflect.ownKeys(e)}},We=class extends Be{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},qe=new He,Ke=new We,Ge=new He(!0),Je=e=>e,Xe=e=>Reflect.getPrototypeOf(e);function Ze(e){return function(...t){return"delete"!==e&&("clear"===e?void 0:this)}}function Ye(e,t){const n={get(n){const s=this.__v_raw,r=ht(s),l=ht(n);e||($(n,l)&&Ee(r,0,n),Ee(r,0,l));const{has:o}=Xe(r),a=t?Je:e?mt:vt;return o.call(r,n)?a(s.get(n)):o.call(r,l)?a(s.get(l)):void(s!==r&&s.get(n))},get size(){const t=this.__v_raw;return!e&&Ee(ht(t),0,Ce),t.size},has(t){const n=this.__v_raw,s=ht(n),r=ht(t);return e||($(t,r)&&Ee(s,0,t),Ee(s,0,r)),t===r?n.has(t):n.has(t)||n.has(r)},forEach(n,s){const r=this,l=r.__v_raw,o=t?Je:e?mt:vt;return!e&&Ee(ht(l),0,Ce),l.forEach((e,t)=>n.call(s,o(e),o(t),r))}};return i(n,e?{add:Ze("add"),set:Ze("set"),delete:Ze("delete"),clear:Ze("clear")}:{add(e){const n=ht(this),s=Xe(n),r=ht(e),l=t||ft(e)||dt(e)?e:r;return s.has.call(n,l)||$(e,l)&&s.has.call(n,e)||$(r,l)&&s.has.call(n,r)||(n.add(l),Te(n,"add",l,l)),this},set(e,n){t||ft(n)||dt(n)||(n=ht(n));const s=ht(this),{has:r,get:l}=Xe(s);let o=r.call(s,e);o||(e=ht(e),o=r.call(s,e));const a=l.call(s,e);return s.set(e,n),o?$(n,a)&&Te(s,"set",e,n):Te(s,"add",e,n),this},delete(e){const t=ht(this),{has:n,get:s}=Xe(t);let r=n.call(t,e);r||(e=ht(e),r=n.call(t,e));s&&s.call(t,e);const l=t.delete(e);return r&&Te(t,"delete",e,void 0),l},clear(){const e=ht(this),t=0!==e.size,n=e.clear();return t&&Te(e,"clear",void 0,void 0),n}}),["keys","values","entries",Symbol.iterator].forEach(s=>{n[s]=function(e,t,n){return function(...s){const r=this.__v_raw,l=ht(r),o=p(l),a="entries"===e||e===Symbol.iterator&&o,c="keys"===e&&o,u=r[e](...s),d=n?Je:t?mt:vt;return!t&&Ee(l,0,c?Me:Ce),i(Object.create(u),{next(){const{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:a?[d(e[0]),d(e[1])]:d(e),done:t}}})}}(s,e,t)}),n}function Qe(e,t){const n=Ye(e,t);return(t,s,r)=>"__v_isReactive"===s?!e:"__v_isReadonly"===s?e:"__v_raw"===s?t:Reflect.get(d(n,s)&&s in t?n:t,s,r)}var et={get:Qe(!1,!1)},tt={get:Qe(!1,!0)},nt={get:Qe(!0,!1)},st=new WeakMap,rt=new WeakMap,lt=new WeakMap,ot=new WeakMap;function at(e){return dt(e)?e:ct(e,!1,qe,et,st)}function it(e){return ct(e,!0,Ke,nt,lt)}function ct(e,t,n,s,r){if(!b(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;if(e.__v_skip||!Object.isExtensible(e))return e;const l=r.get(e);if(l)return l;const o=function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}(w(e).slice(8,-1));if(0===o)return e;const a=new Proxy(e,2===o?s:n);return r.set(e,a),a}function ut(e){return dt(e)?ut(e.__v_raw):!(!e||!e.__v_isReactive)}function dt(e){return!(!e||!e.__v_isReadonly)}function ft(e){return!(!e||!e.__v_isShallow)}function pt(e){return!!e&&!!e.__v_raw}function ht(e){const t=e&&e.__v_raw;return t?ht(t):e}var vt=e=>b(e)?at(e):e,mt=e=>b(e)?it(e):e;function gt(e){return!!e&&!0===e.__v_isRef}function yt(e){return n=!1,gt(t=e)?t:new bt(t,n);var t,n}var bt=class{constructor(e,t){this.dep=new we,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:ht(e),this._value=t?e:vt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){const t=this._rawValue,n=this.__v_isShallow||ft(e)||dt(e);$(e=n?e:ht(e),t)&&(this._rawValue=e,this._value=n?e:vt(e),this.dep.trigger())}};var xt={get:(e,t,n)=>{return"__v_raw"===t?e:gt(s=Reflect.get(e,t,n))?s.value:s;var s},set:(e,t,n,s)=>{const r=e[t];return gt(r)&&!gt(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function _t(e){return ut(e)?e:new Proxy(e,xt)}var wt=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new we(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=xe-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(8&this.flags)&&J!==this)return oe(this,!0),!0}get value(){const e=this.dep.track();return fe(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};var kt={},St=new WeakMap,Ct=void 0;function Mt(e,t,s=n){const{immediate:l,deep:o,once:a,scheduler:i,augmentJob:u,call:d}=s,p=e=>o?e:ft(e)||!1===o||0===o?Ot(e,1):Ot(e);let h,v,g,y,b=!1,x=!1;if(gt(e)?(v=()=>e.value,b=ft(e)):ut(e)?(v=()=>p(e),b=!0):f(e)?(x=!0,b=e.some(e=>ut(e)||ft(e)),v=()=>e.map(e=>gt(e)?e.value:ut(e)?p(e):m(e)?d?d(e,2):e():void 0)):v=m(e)?t?d?()=>d(e,2):e:()=>{if(g){ge();try{g()}finally{ye()}}const t=Ct;Ct=h;try{return d?d(e,3,[y]):e(y)}finally{Ct=t}}:r,t&&o){const e=v,t=!0===o?1/0:o;v=()=>Ot(e(),t)}const _=G,w=()=>{h.stop(),_&&_.active&&c(_.effects,h)};if(a&&t){const e=t;t=(...t)=>{const n=e(...t);return w(),n}}let k=x?new Array(e.length).fill(kt):kt;const S=e=>{if(1&h.flags&&(h.dirty||e))if(t){const n=h.run();if(e||o||b||(x?n.some((e,t)=>$(e,k[t])):$(n,k))){g&&g();const e=Ct;Ct=h;try{const e=[n,k===kt?void 0:x&&k[0]===kt?[]:k,y];k=n,d?d(t,3,e):t(...e)}finally{Ct=e}}}else h.run()};return u&&u(S),h=new re(v),h.scheduler=i?()=>i(S,!1):S,y=e=>function(e,t=!1,n=Ct){if(n){let t=St.get(n);t||St.set(n,t=[]),t.push(e)}}(e,!1,h),g=h.onStop=()=>{const e=St.get(h);if(e){if(d)d(e,4);else for(const t of e)t();St.delete(h)}},t?l?S(!0):k=h.run():i?i(S.bind(null,!0),!0):h.run(),w.pause=h.pause.bind(h),w.resume=h.resume.bind(h),w.stop=w,w}function Ot(e,t=1/0,n){if(t<=0||!b(e)||e.__v_skip)return e;if(((n=n||new Map).get(e)||0)>=t)return e;if(n.set(e,t),t--,gt(e))Ot(e.value,t,n);else if(f(e))for(let s=0;s<e.length;s++)Ot(e[s],t,n);else if(h(e)||p(e))e.forEach(e=>{Ot(e,t,n)});else if(k(e)){for(const s in e)Ot(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ot(e[s],t,n)}return e}function Et(e,t,n,s){try{return s?e(...s):e()}catch(r){Pt(r,t,n)}}function Tt(e,t,n,s){if(m(e)){const r=Et(e,t,n,s);return r&&x(r)&&r.catch(e=>{Pt(e,t,n)}),r}if(f(e)){const r=[];for(let l=0;l<e.length;l++)r.push(Tt(e[l],t,n,s));return r}}function Pt(e,t,s,r=!0){t&&t.vnode;const{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||n;if(t){let n=t.parent;const r=t.proxy,o=`https://vuejs.org/error-reference/#runtime-${s}`;for(;n;){const t=n.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,o))return;n=n.parent}if(l)return ge(),Et(l,null,10,[e,r,o]),void ye()}!function(e,t,n,s=!0,r=!1){if(r)throw e}(e,0,0,r,o)}var At=[],Dt=-1,$t=[],jt=null,Rt=0,Ft=Promise.resolve(),It=null;function Lt(e){const t=It||Ft;return e?t.then(this?e.bind(this):e):t}function Vt(e){if(!(1&e.flags)){const t=Bt(e),n=At[At.length-1];!n||!(2&e.flags)&&t>=Bt(n)?At.push(e):At.splice(function(e){let t=Dt+1,n=At.length;for(;t<n;){const s=t+n>>>1,r=At[s],l=Bt(r);l<e||l===e&&2&r.flags?t=s+1:n=s}return t}(t),0,e),e.flags|=1,Nt()}}function Nt(){It||(It=Ft.then(Ht))}function Ut(e,t,n=Dt+1){for(;n<At.length;n++){const t=At[n];if(t&&2&t.flags){if(e&&t.id!==e.uid)continue;At.splice(n,1),n--,4&t.flags&&(t.flags&=-2),t(),4&t.flags||(t.flags&=-2)}}}function zt(e){if($t.length){const e=[...new Set($t)].sort((e,t)=>Bt(e)-Bt(t));if($t.length=0,jt)return void jt.push(...e);for(jt=e,Rt=0;Rt<jt.length;Rt++){const e=jt[Rt];4&e.flags&&(e.flags&=-2),8&e.flags||e(),e.flags&=-2}jt=null,Rt=0}}var Bt=e=>null==e.id?2&e.flags?-1:1/0:e.id;function Ht(e){try{for(Dt=0;Dt<At.length;Dt++){const e=At[Dt];!e||8&e.flags||(4&e.flags&&(e.flags&=-2),Et(e,e.i,e.i?15:14),4&e.flags||(e.flags&=-2))}}finally{for(;Dt<At.length;Dt++){const e=At[Dt];e&&(e.flags&=-2)}Dt=-1,At.length=0,zt(),It=null,(At.length||$t.length)&&Ht(e)}}var Wt=null,qt=null;function Kt(e){const t=Wt;return Wt=e,qt=e&&e.type.__scopeId||null,t}function Gt(e,t){if(null===Wt)return e;const s=br(Wt),r=e.dirs||(e.dirs=[]);for(let l=0;l<t.length;l++){let[e,o,a,i=n]=t[l];e&&(m(e)&&(e={mounted:e,updated:e}),e.deep&&Ot(o),r.push({dir:e,instance:s,value:o,oldValue:void 0,arg:a,modifiers:i}))}return e}function Jt(e,t,n,s){const r=e.dirs,l=t&&t.dirs;for(let o=0;o<r.length;o++){const a=r[o];l&&(a.oldValue=l[o].value);let i=a.dir[s];i&&(ge(),Tt(i,n,8,[e.el,a,e,t]),ye())}}function Xt(e,t,n=!1){const s=cr();if(s||Yn){let r=Yn?Yn._context.provides:s?null==s.parent||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&m(t)?t.call(s&&s.proxy):t}}var Zt=Symbol.for("v-scx");function Yt(e,t,n){return Qt(e,t,n)}function Qt(e,t,s=n){const{immediate:l,deep:o,flush:a,once:c}=s,u=i({},s),d=t&&l||!t&&"post"!==a;let f;if(vr)if("sync"===a){const e=Xt(Zt);f=e.__watcherHandles||(e.__watcherHandles=[])}else if(!d){const e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}const p=ir;u.call=(e,t,n)=>Tt(e,p,t,n);let h=!1;"post"===a?u.scheduler=e=>{ks(e,p&&p.suspense)}:"sync"!==a&&(h=!0,u.scheduler=(e,t)=>{t?e():Vt(e)}),u.augmentJob=e=>{t&&(e.flags|=4),h&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};const v=Mt(e,t,u);return vr&&(f?f.push(v):d&&v()),v}function en(e,t,n){const s=this.proxy,r=g(e)?e.includes(".")?tn(s,e):()=>s[e]:e.bind(s,s);let l;m(t)?l=t:(l=t.handler,n=t);const o=ur(this),a=Qt(r,l.bind(s),n);return o(),a}function tn(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var nn=Symbol("_vte"),sn=Symbol("_leaveCb");function rn(e,t){6&e.shapeFlag&&e.component?(e.transition=t,rn(e.component.subTree,t)):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function ln(e,t){return m(e)?(()=>i({name:e.name},t,{setup:e}))():e}function on(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function an(e,t){let n;return!(!(n=Object.getOwnPropertyDescriptor(e,t))||n.configurable)}var cn=new WeakMap;function un(e,t,s,r,o=!1){if(f(e))return void e.forEach((e,n)=>un(e,t&&(f(t)?t[n]:t),s,r,o));if(fn(r)&&!o)return void(512&r.shapeFlag&&r.type.__asyncResolved&&r.component.subTree.component&&un(e,t,s,r.component.subTree));const a=4&r.shapeFlag?br(r.component):r.el,i=o?null:a,{i:u,r:p}=e,h=t&&t.r,v=u.refs===n?u.refs={}:u.refs,y=u.setupState,b=ht(y),x=y===n?l:e=>!an(v,e)&&d(b,e),_=(e,t)=>!t||!an(v,t);if(null!=h&&h!==p)if(dn(t),g(h))v[h]=null,x(h)&&(y[h]=null);else if(gt(h)){const e=t;_(0,e.k)&&(h.value=null),e.k&&(v[e.k]=null)}if(m(p))Et(p,u,12,[i,v]);else{const t=g(p),n=gt(p);if(t||n){const r=()=>{if(e.f){const n=t?x(p)?y[p]:v[p]:_()||!e.k?p.value:v[e.k];if(o)f(n)&&c(n,a);else if(f(n))n.includes(a)||n.push(a);else if(t)v[p]=[a],x(p)&&(y[p]=v[p]);else{const t=[a];_(0,e.k)&&(p.value=t),e.k&&(v[e.k]=t)}}else t?(v[p]=i,x(p)&&(y[p]=i)):n&&(_(0,e.k)&&(p.value=i),e.k&&(v[e.k]=i))};if(i){const t=()=>{r(),cn.delete(e)};t.id=-1,cn.set(e,t),ks(t,s)}else dn(e),r()}}}function dn(e){const t=cn.get(e);t&&(t.flags|=8,cn.delete(e))}I().requestIdleCallback,I().cancelIdleCallback;var fn=e=>!!e.type.__asyncLoader,pn=e=>e.type.__isKeepAlive;function hn(e,t){mn(e,"a",t)}function vn(e,t){mn(e,"da",t)}function mn(e,t,n=ir){const s=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()});if(yn(t,s,n),n){let e=n.parent;for(;e&&e.parent;)pn(e.parent.vnode)&&gn(s,t,n,e),e=e.parent}}function gn(e,t,n,s){const r=yn(t,e,s,!0);Cn(()=>{c(s[t],r)},n)}function yn(e,t,n=ir,s=!1){if(n){const r=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...s)=>{ge();const r=ur(n),l=Tt(t,n,e,s);return r(),ye(),l});return s?r.unshift(l):r.push(l),l}}var bn=e=>(t,n=ir)=>{vr&&"sp"!==e||yn(e,(...e)=>t(...e),n)},xn=bn("bm"),_n=bn("m"),wn=bn("bu"),kn=bn("u"),Sn=bn("bum"),Cn=bn("um"),Mn=bn("sp"),On=bn("rtg"),En=bn("rtc");function Tn(e,t=ir){yn("ec",e,t)}var Pn=Symbol.for("v-ndc");function An(e,t,n,s){let r;const l=n&&n[s],o=f(e);if(o||g(e)){let n=!1,s=!1;o&&ut(e)&&(n=!ft(e),s=dt(e),e=Ae(e)),r=new Array(e.length);for(let o=0,a=e.length;o<a;o++)r[o]=t(n?s?mt(vt(e[o])):vt(e[o]):e[o],o,void 0,l&&l[o])}else if("number"==typeof e){r=new Array(e);for(let n=0;n<e;n++)r[n]=t(n+1,n,void 0,l&&l[n])}else if(b(e))if(e[Symbol.iterator])r=Array.from(e,(e,n)=>t(e,n,void 0,l&&l[n]));else{const n=Object.keys(e);r=new Array(n.length);for(let s=0,o=n.length;s<o;s++){const o=n[s];r[s]=t(e[o],o,s,l&&l[s])}}else r=[];return n&&(n[s]=r),r}var Dn=e=>e?fr(e)?br(e):Dn(e.parent):null,$n=i(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>Dn(e.parent),$root:e=>Dn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Un(e),$forceUpdate:e=>e.f||(e.f=()=>{Vt(e.update)}),$nextTick:e=>e.n||(e.n=Lt.bind(e.proxy)),$watch:e=>en.bind(e)}),jn=(e,t)=>e!==n&&!e.__isScriptSetup&&d(e,t),Rn={get({_:e},t){if("__v_skip"===t)return!0;const{ctx:s,setupState:r,data:l,props:o,accessCache:a,type:i,appContext:c}=e;if("$"!==t[0]){const e=a[t];if(void 0!==e)switch(e){case 1:return r[t];case 2:return l[t];case 4:return s[t];case 3:return o[t]}else{if(jn(r,t))return a[t]=1,r[t];if(l!==n&&d(l,t))return a[t]=2,l[t];if(d(o,t))return a[t]=3,o[t];if(s!==n&&d(s,t))return a[t]=4,s[t];In&&(a[t]=0)}}const u=$n[t];let f,p;return u?("$attrs"===t&&Ee(e.attrs,0,""),u(e)):(f=i.__cssModules)&&(f=f[t])?f:s!==n&&d(s,t)?(a[t]=4,s[t]):(p=c.config.globalProperties,d(p,t)?p[t]:void 0)},set({_:e},t,s){const{data:r,setupState:l,ctx:o}=e;return jn(l,t)?(l[t]=s,!0):r!==n&&d(r,t)?(r[t]=s,!0):!d(e.props,t)&&(("$"!==t[0]||!(t.slice(1)in e))&&(o[t]=s,!0))},has({_:{data:e,setupState:t,accessCache:s,ctx:r,appContext:l,props:o,type:a}},i){let c;return!!(s[i]||e!==n&&"$"!==i[0]&&d(e,i)||jn(t,i)||d(o,i)||d(r,i)||d($n,i)||d(l.config.globalProperties,i)||(c=a.__cssModules)&&c[i])},defineProperty(e,t,n){return null!=n.get?e._.accessCache[t]=0:d(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Fn(e){return f(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}var In=!0;function Ln(e){const t=Un(e),n=e.proxy,s=e.ctx;In=!1,t.beforeCreate&&Vn(t.beforeCreate,e,"bc");const{data:l,computed:o,methods:a,watch:i,provide:c,inject:u,created:d,beforeMount:p,mounted:h,beforeUpdate:v,updated:g,activated:y,deactivated:x,beforeDestroy:_,beforeUnmount:w,destroyed:k,unmounted:S,render:C,renderTracked:M,renderTriggered:O,errorCaptured:E,serverPrefetch:T,expose:P,inheritAttrs:A,components:D,directives:$,filters:j}=t;if(u&&function(e,t){f(e)&&(e=Wn(e));for(const n in e){const s=e[n];let r;r=b(s)?"default"in s?Xt(s.from||n,s.default,!0):Xt(s.from||n):Xt(s),gt(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:e=>r.value=e}):t[n]=r}}(u,s,null),a)for(const r in a){const e=a[r];m(e)&&(s[r]=e.bind(n))}if(l){const t=l.call(n,n);b(t)&&(e.data=at(t))}if(In=!0,o)for(const f in o){const e=o[f],t=m(e)?e.bind(n,n):m(e.get)?e.get.bind(n,n):r,l=!m(e)&&m(e.set)?e.set.bind(n):r,a=xr({get:t,set:l});Object.defineProperty(s,f,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(i)for(const r in i)Nn(i[r],s,n,r);if(c){const e=m(c)?c.call(n):c;Reflect.ownKeys(e).forEach(t=>{!function(e,t){if(ir){let n=ir.provides;const s=ir.parent&&ir.parent.provides;s===n&&(n=ir.provides=Object.create(s)),n[e]=t}}(t,e[t])})}function R(e,t){f(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(d&&Vn(d,e,"c"),R(xn,p),R(_n,h),R(wn,v),R(kn,g),R(hn,y),R(vn,x),R(Tn,E),R(En,M),R(On,O),R(Sn,w),R(Cn,S),R(Mn,T),f(P))if(P.length){const t=e.exposed||(e.exposed={});P.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||(e.exposed={});C&&e.render===r&&(e.render=C),null!=A&&(e.inheritAttrs=A),D&&(e.components=D),$&&(e.directives=$),T&&on(e)}function Vn(e,t,n){Tt(f(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Nn(e,t,n,s){let r=s.includes(".")?tn(n,s):()=>n[s];if(g(e)){const n=t[e];m(n)&&Yt(r,n)}else if(m(e))Yt(r,e.bind(n));else if(b(e))if(f(e))e.forEach(e=>Nn(e,t,n,s));else{const s=m(e.handler)?e.handler.bind(n):t[e.handler];m(s)&&Yt(r,s,e)}}function Un(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,a=l.get(t);let i;return a?i=a:r.length||n||s?(i={},r.length&&r.forEach(e=>zn(i,e,o,!0)),zn(i,t,o)):i=t,b(t)&&l.set(t,i),i}function zn(e,t,n,s=!1){const{mixins:r,extends:l}=t;l&&zn(e,l,n,!0),r&&r.forEach(t=>zn(e,t,n,!0));for(const o in t)if(s&&"expose"===o);else{const s=Bn[o]||n&&n[o];e[o]=s?s(e[o],t[o]):t[o]}return e}var Bn={data:Hn,props:Gn,emits:Gn,methods:Kn,computed:Kn,beforeCreate:qn,created:qn,beforeMount:qn,mounted:qn,beforeUpdate:qn,updated:qn,beforeDestroy:qn,beforeUnmount:qn,destroyed:qn,unmounted:qn,activated:qn,deactivated:qn,errorCaptured:qn,serverPrefetch:qn,components:Kn,directives:Kn,watch:function(e,t){if(!e)return t;if(!t)return e;const n=i(Object.create(null),e);for(const s in t)n[s]=qn(e[s],t[s]);return n},provide:Hn,inject:function(e,t){return Kn(Wn(e),Wn(t))}};function Hn(e,t){return t?e?function(){return i(m(e)?e.call(this,this):e,m(t)?t.call(this,this):t)}:t:e}function Wn(e){if(f(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function qn(e,t){return e?[...new Set([].concat(e,t))]:t}function Kn(e,t){return e?i(Object.create(null),e,t):t}function Gn(e,t){return e?f(e)&&f(t)?[...new Set([...e,...t])]:i(Object.create(null),Fn(e),Fn(null!=t?t:{})):t}function Jn(){return{app:null,config:{isNativeTag:l,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}var Xn=0;function Zn(e,t){return function(n,s=null){m(n)||(n=i({},n)),null==s||b(s)||(s=null);const r=Jn(),l=new WeakSet,o=[];let a=!1;const c=r.app={_uid:Xn++,_component:n,_props:s,_container:null,_context:r,_instance:null,version:_r,get config(){return r.config},set config(e){},use:(e,...t)=>(l.has(e)||(e&&m(e.install)?(l.add(e),e.install(c,...t)):m(e)&&(l.add(e),e(c,...t))),c),mixin:e=>(r.mixins.includes(e)||r.mixins.push(e),c),component:(e,t)=>t?(r.components[e]=t,c):r.components[e],directive:(e,t)=>t?(r.directives[e]=t,c):r.directives[e],mount(l,o,i){if(!a){const u=c._ceVNode||Xs(n,s);return u.appContext=r,!0===i?i="svg":!1===i&&(i=void 0),o&&t?t(u,l):e(u,l,i),a=!0,c._container=l,l.__vue_app__=c,br(u.component)}},onUnmount(e){o.push(e)},unmount(){a&&(Tt(o,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide:(e,t)=>(r.provides[e]=t,c),runWithContext(e){const t=Yn;Yn=c;try{return e()}finally{Yn=t}}};return c}}var Yn=null;function Qn(e,t,...s){if(e.isUnmounted)return;const r=e.vnode.props||n;let l=s;const o=t.startsWith("update:"),a=o&&((e,t)=>"modelValue"===t||"model-value"===t?e.modelModifiers:e[`${t}Modifiers`]||e[`${E(t)}Modifiers`]||e[`${P(t)}Modifiers`])(r,t.slice(7));let i;a&&(a.trim&&(l=s.map(e=>g(e)?e.trim():e)),a.number&&(l=s.map(F)));let c=r[i=D(t)]||r[i=D(E(t))];!c&&o&&(c=r[i=D(P(t))]),c&&Tt(c,e,6,l);const u=r[i+"Once"];if(u){if(e.emitted){if(e.emitted[i])return}else e.emitted={};e.emitted[i]=!0,Tt(u,e,6,l)}}var es=new WeakMap;function ts(e,t,n=!1){const s=n?es:t.emitsCache,r=s.get(e);if(void 0!==r)return r;const l=e.emits;let o={},a=!1;if(!m(e)){const s=e=>{const n=ts(e,t,!0);n&&(a=!0,i(o,n))};!n&&t.mixins.length&&t.mixins.forEach(s),e.extends&&s(e.extends),e.mixins&&e.mixins.forEach(s)}return l||a?(f(l)?l.forEach(e=>o[e]=null):i(o,l),b(e)&&s.set(e,o),o):(b(e)&&s.set(e,null),null)}function ns(e,t){return!(!e||!o(t))&&(t="Once"===(t=t.slice(2))?t:t.replace(/Once$/,""),d(e,t[0].toLowerCase()+t.slice(1))||d(e,P(t))||d(e,t))}function ss(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[l],slots:o,attrs:i,emit:c,render:u,renderCache:d,props:f,data:p,setupState:h,ctx:v,inheritAttrs:m}=e,g=Kt(e);let y,b;try{if(4&n.shapeFlag){const e=r||s,t=e;y=er(u.call(t,e,d,f,h,p,v)),b=i}else{const e=t;y=er(e.length>1?e(f,{attrs:i,slots:o,emit:c}):e(f,null)),b=t.props?i:rs(i)}}catch(_){Fs.length=0,Pt(_,e,1),y=Xs(js)}let x=y;if(b&&!1!==m){const e=Object.keys(b),{shapeFlag:t}=x;e.length&&7&t&&(l&&e.some(a)&&(b=ls(b,l)),x=Zs(x,b,!1,!0))}return n.dirs&&(x=Zs(x,null,!1,!0),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&rn(x,n.transition),y=x,Kt(g),y}var rs=e=>{let t;for(const n in e)("class"===n||"style"===n||o(n))&&((t||(t={}))[n]=e[n]);return t},ls=(e,t)=>{const n={};for(const s in e)a(s)&&s.slice(9)in t||(n[s]=e[s]);return n};function os(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const l=s[r];if(as(t,e,l)&&!ns(n,l))return!0}return!1}function as(e,t,n){const s=e[n],r=t[n];return"style"===n&&b(s)&&b(r)?!K(s,r):s!==r}var is={},cs=()=>Object.create(is),us=e=>Object.getPrototypeOf(e)===is;function ds(e,t,n,s=!1){const r={},l=cs();e.propsDefaults=Object.create(null),fs(e,t,r,l);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:ct(r,!1,Ge,tt,rt):e.type.props?e.props=r:e.props=l,e.attrs=l}function fs(e,t,s,r){const[l,o]=e.propsOptions;let a,i=!1;if(t)for(let n in t){if(C(n))continue;const c=t[n];let u;l&&d(l,u=E(n))?o&&o.includes(u)?(a||(a={}))[u]=c:s[u]=c:ns(e.emitsOptions,n)||n in r&&c===r[n]||(r[n]=c,i=!0)}if(o){const t=ht(s),r=a||n;for(let n=0;n<o.length;n++){const a=o[n];s[a]=ps(l,t,a,r[a],e,!d(r,a))}}return i}function ps(e,t,n,s,r,l){const o=e[n];if(null!=o){const e=d(o,"default");if(e&&void 0===s){const e=o.default;if(o.type!==Function&&!o.skipFactory&&m(e)){const{propsDefaults:l}=r;if(n in l)s=l[n];else{const o=ur(r);s=l[n]=e.call(null,t),o()}}else s=e;r.ce&&r.ce._setProp(n,s)}o[0]&&(l&&!e?s=!1:!o[1]||""!==s&&s!==P(n)||(s=!0))}return s}var hs=new WeakMap;function vs(e,t,r=!1){const l=r?hs:t.propsCache,o=l.get(e);if(o)return o;const a=e.props,c={},u=[];let p=!1;if(!m(e)){const n=e=>{p=!0;const[n,s]=vs(e,t,!0);i(c,n),s&&u.push(...s)};!r&&t.mixins.length&&t.mixins.forEach(n),e.extends&&n(e.extends),e.mixins&&e.mixins.forEach(n)}if(!a&&!p)return b(e)&&l.set(e,s),s;if(f(a))for(let s=0;s<a.length;s++){const e=E(a[s]);ms(e)&&(c[e]=n)}else if(a)for(const n in a){const e=E(n);if(ms(e)){const t=a[n],s=c[e]=f(t)||m(t)?{type:t}:i({},t),r=s.type;let l=!1,o=!0;if(f(r))for(let e=0;e<r.length;++e){const t=r[e],n=m(t)&&t.name;if("Boolean"===n){l=!0;break}"String"===n&&(o=!1)}else l=m(r)&&"Boolean"===r.name;s[0]=l,s[1]=o,(l||d(s,"default"))&&u.push(e)}}const h=[c,u];return b(e)&&l.set(e,h),h}function ms(e){return"$"!==e[0]&&!C(e)}var gs=e=>"_"===e||"_ctx"===e||"$stable"===e,ys=e=>f(e)?e.map(er):[er(e)],bs=(e,t,n)=>{if(t._n)return t;const s=function(e,t=Wt){if(!t)return e;if(e._n)return e;const n=(...s)=>{n._d&&Us(-1);const r=Kt(t),l=Fs.length;let o;try{o=e(...s)}finally{for(let e=Fs.length;e>l;e--)Vs();Kt(r),n._d&&Us(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}((...e)=>ys(t(...e)),n);return s._c=!1,s},xs=(e,t,n)=>{const s=e._ctx;for(const r in e){if(gs(r))continue;const n=e[r];if(m(n))t[r]=bs(0,n,s);else if(null!=n){const e=ys(n);t[r]=()=>e}}},_s=(e,t)=>{const n=ys(t);e.slots.default=()=>n},ws=(e,t,n)=>{for(const s in t)!n&&gs(s)||(e[s]=t[s])},ks=function(e,t){t&&t.pendingBranch?f(e)?t.effects.push(...e):t.effects.push(e):(n=e,f(n)?$t.push(...n):jt&&-1===n.id?jt.splice(Rt+1,0,n):1&n.flags||($t.push(n),n.flags|=1),Nt());var n};function Ss(e){return function(e,t){I().__VUE__=!0;const{insert:l,remove:o,patchProp:a,createElement:i,createText:c,createComment:u,setText:f,setElementText:p,parentNode:h,nextSibling:v,setScopeId:m=r,insertStaticContent:g}=e,y=(e,t,n,s=null,r=null,l=null,o=void 0,a=null,i=!!t.dynamicChildren)=>{if(e===t)return;e&&!qs(e,t)&&(s=Q(e),G(e,r,l,!0),e=null),-2===t.patchFlag&&(i=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case $s:b(e,t,n,s);break;case js:_(e,t,n,s);break;case Rs:null==e&&w(t,n,s,o);break;case Ds:L(e,t,n,s,r,l,o,a,i);break;default:1&d?M(e,t,n,s,r,l,o,a,i):6&d?V(e,t,n,s,r,l,o,a,i):(64&d||128&d)&&c.process(e,t,n,s,r,l,o,a,i,se)}null!=u&&r?un(u,e&&e.ref,l,t||e,!t):null==u&&e&&null!=e.ref&&un(e.ref,null,l,e,!0)},b=(e,t,n,s)=>{if(null==e)l(t.el=c(t.children),n,s);else{const n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},_=(e,t,n,s)=>{null==e?l(t.el=u(t.children||""),n,s):t.el=e.el},w=(e,t,n,s)=>{[e.el,e.anchor]=g(e.children,t,n,s,e.el,e.anchor)},k=({el:e,anchor:t},n,s)=>{let r;for(;e&&e!==t;)r=v(e),l(e,n,s),e=r;l(t,n,s)},S=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=v(e),o(e),e=n;o(t)},M=(e,t,n,s,r,l,o,a,i)=>{if("svg"===t.type?o="svg":"math"===t.type&&(o="mathml"),null==e)O(t,n,s,r,l,o,a,i);else{const n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),D(e,t,r,l,o,a,i)}finally{n&&n._endPatch()}}},O=(e,t,n,s,r,o,c,u)=>{let d,f;const{props:h,shapeFlag:v,transition:m,dirs:g}=e;if(d=e.el=i(e.type,o,h&&h.is,h),8&v?p(d,e.children):16&v&&A(e.children,d,null,s,r,Cs(e,o),c,u),g&&Jt(e,null,s,"created"),T(d,e,e.scopeId,c,s),h){for(const e in h)"value"===e||C(e)||a(d,e,null,h[e],o,s);"value"in h&&a(d,"value",null,h.value,o),(f=h.onVnodeBeforeMount)&&sr(f,s,e)}g&&Jt(e,null,s,"beforeMount");const y=function(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}(r,m);y&&m.beforeEnter(d),l(d,t,n),((f=h&&h.onVnodeMounted)||y||g)&&ks(()=>{try{f&&sr(f,s,e),y&&m.enter(d),g&&Jt(e,null,s,"mounted")}finally{}},r)},T=(e,t,n,s,r)=>{if(n&&m(e,n),s)for(let l=0;l<s.length;l++)m(e,s[l]);if(r){let n=r.subTree;if(t===n||As(n.type)&&(n.ssContent===t||n.ssFallback===t)){const t=r.vnode;T(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},A=(e,t,n,s,r,l,o,a,i=0)=>{for(let c=i;c<e.length;c++){const i=e[c]=a?tr(e[c]):er(e[c]);y(null,i,t,n,s,r,l,o,a)}},D=(e,t,s,r,l,o,i)=>{const c=t.el=e.el;let{patchFlag:u,dynamicChildren:d,dirs:f}=t;u|=16&e.patchFlag;const h=e.props||n,v=t.props||n;let m;if(s&&Ms(s,!1),(m=v.onVnodeBeforeUpdate)&&sr(m,s,t,e),f&&Jt(t,e,s,"beforeUpdate"),s&&Ms(s,!0),!d||e.dynamicChildren&&e.dynamicChildren.length===d.length||(u=0,i=!1,d=null),(h.innerHTML&&null==v.innerHTML||h.textContent&&null==v.textContent)&&p(c,""),d?$(e.dynamicChildren,d,c,s,r,Cs(t,l),o):i||H(e,t,c,null,s,r,Cs(t,l),o,!1),u>0){if(16&u)F(c,h,v,s,l);else if(2&u&&h.class!==v.class&&a(c,"class",null,v.class,l),4&u&&a(c,"style",h.style,v.style,l),8&u){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t],r=h[n],o=v[n];o===r&&"value"!==n||a(c,n,r,o,l,s)}}1&u&&e.children!==t.children&&p(c,t.children)}else i||null!=d||F(c,h,v,s,l);((m=v.onVnodeUpdated)||f)&&ks(()=>{m&&sr(m,s,t,e),f&&Jt(t,e,s,"updated")},r)},$=(e,t,n,s,r,l,o)=>{for(let a=0;a<t.length;a++){const i=e[a],c=t[a],u=i.el&&(i.type===Ds||!qs(i,c)||198&i.shapeFlag)?h(i.el):n;y(i,c,u,null,s,r,l,o,!0)}},F=(e,t,s,r,l)=>{if(t!==s){if(t!==n)for(const n in t)C(n)||n in s||a(e,n,t[n],null,l,r);for(const n in s){if(C(n))continue;const o=s[n],i=t[n];o!==i&&"value"!==n&&a(e,n,i,o,l,r)}"value"in s&&a(e,"value",t.value,s.value,l)}},L=(e,t,n,s,r,o,a,i,u)=>{const d=t.el=e?e.el:c(""),f=t.anchor=e?e.anchor:c("");let{patchFlag:p,dynamicChildren:h,slotScopeIds:v}=t;v&&(i=i?i.concat(v):v),null==e?(l(d,n,s),l(f,n,s),A(t.children||[],n,f,r,o,a,i,u)):p>0&&64&p&&h&&e.dynamicChildren&&e.dynamicChildren.length===h.length?($(e.dynamicChildren,h,n,r,o,a,i),(null!=t.key||r&&t===r.subTree)&&Os(e,t,!0)):H(e,t,n,f,r,o,a,i,u)},V=(e,t,n,s,r,l,o,a,i)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,s,o,i):N(t,n,s,r,l,o,i):U(e,t,i)},N=(e,t,s,r,l,o,a)=>{const i=e.component=function(e,t,s){const r=e.type,l=(t?t.appContext:e.appContext)||rr,o={uid:lr++,vnode:e,type:r,parent:t,appContext:l,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new ee(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(l.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:vs(r,l),emitsOptions:ts(r,l),emit:null,emitted:null,propsDefaults:n,inheritAttrs:r.inheritAttrs,ctx:n,data:n,props:n,attrs:n,slots:n,refs:n,setupState:n,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};o.ctx={_:o},o.root=t?t.root:o,o.emit=Qn.bind(null,o),e.ce&&e.ce(o);return o}(e,r,l);if(pn(e)&&(i.ctx.renderer=se),function(e,t=!1,n=!1){t&&ar(t);const{props:s,children:r}=e.vnode,l=fr(e);ds(e,s,l,t),((e,t,n)=>{const s=e.slots=cs();if(32&e.vnode.shapeFlag){const e=t._;e?(ws(s,t,n),n&&R(s,"_",e,!0)):xs(t,s)}else t&&_s(e,t)})(e,r,n||t);const o=l?function(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Rn);const{setup:s}=n;if(s){ge();const n=e.setupContext=s.length>1?function(e){const t=t=>{e.exposed=t||{}};return{attrs:new Proxy(e.attrs,yr),slots:e.slots,emit:e.emit,expose:t}}(e):null,r=ur(e),l=Et(s,e,0,[e.props,n]),o=x(l);if(ye(),r(),!o&&!e.sp||fn(e)||on(e),o){if(l.then(dr,dr),t)return l.then(n=>{mr(e,n,t)}).catch(t=>{Pt(t,e,0)});e.asyncDep=l}else mr(e,l,t)}else gr(e,t)}(e,t):void 0;t&&ar(!1)}(i,!1,a),i.asyncDep){if(l&&l.registerDep(i,z,a),!e.el){const n=i.subTree=Xs(js);_(null,n,t,s),e.placeholder=n.el}}else z(i,e,t,s,l,o,a)},U=(e,t,n)=>{const s=t.component=e.component;if(function(e,t,n){const{props:s,children:r,component:l}=e,{props:o,children:a,patchFlag:i}=t,c=l.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&i>=0))return!(!r&&!a||a&&a.$stable)||s!==o&&(s?!o||os(s,o,c):!!o);if(1024&i)return!0;if(16&i)return s?os(s,o,c):!!o;if(8&i){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(as(o,s,n)&&!ns(c,n))return!0}}return!1}(e,t,n)){if(s.asyncDep&&!s.asyncResolved)return void B(s,t,n);s.next=t,s.update()}else t.el=e.el,s.vnode=t},z=(e,t,n,s,r,l,o)=>{const a=()=>{if(e.isMounted){let{next:t,bu:n,u:s,parent:a,vnode:i}=e;{const n=Es(e);if(n)return t&&(t.el=i.el,B(e,t,o)),void n.asyncDep.then(()=>{ks(()=>{e.isUnmounted||c()},r)})}let u,d=t;Ms(e,!1),t?(t.el=i.el,B(e,t,o)):t=i,n&&j(n),(u=t.props&&t.props.onVnodeBeforeUpdate)&&sr(u,a,t,i),Ms(e,!0);const f=ss(e),p=e.subTree;e.subTree=f,y(p,f,h(p.el),Q(p),e,r,l),t.el=f.el,null===d&&function({vnode:e,parent:t,suspense:n},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=s,e=n),n!==e)break;(e=t.vnode).el=s,t=t.parent}n&&n.activeBranch===e&&(n.vnode.el=s)}(e,f.el),s&&ks(s,r),(u=t.props&&t.props.onVnodeUpdated)&&ks(()=>sr(u,a,t,i),r)}else{let o;const{el:a,props:i}=t,{bm:c,m:u,parent:d,root:f,type:p}=e,h=fn(t);if(Ms(e,!1),c&&j(c),!h&&(o=i&&i.onVnodeBeforeMount)&&sr(o,d,t),Ms(e,!0),a&&oe){const t=()=>{e.subTree=ss(e),oe(a,e.subTree,e,r,null)};h&&p.__asyncHydrate?p.__asyncHydrate(a,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);const o=e.subTree=ss(e);y(null,o,n,s,e,r,l),t.el=o.el}if(u&&ks(u,r),!h&&(o=i&&i.onVnodeMounted)){const e=t;ks(()=>sr(o,d,e),r)}(256&t.shapeFlag||d&&fn(d.vnode)&&256&d.vnode.shapeFlag)&&e.a&&ks(e.a,r),e.isMounted=!0,t=n=s=null}};e.scope.on();const i=e.effect=new re(a);e.scope.off();const c=e.update=i.run.bind(i),u=e.job=i.runIfDirty.bind(i);u.i=e,u.id=e.uid,i.scheduler=()=>Vt(u),Ms(e,!0),c()},B=(e,t,s)=>{t.component=e;const r=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,s){const{props:r,attrs:l,vnode:{patchFlag:o}}=e,a=ht(r),[i]=e.propsOptions;let c=!1;if(!(s||o>0)||16&o){let s;fs(e,t,r,l)&&(c=!0);for(const l in a)t&&(d(t,l)||(s=P(l))!==l&&d(t,s))||(i?!n||void 0===n[l]&&void 0===n[s]||(r[l]=ps(i,a,l,void 0,e,!0)):delete r[l]);if(l!==a)for(const e in l)t&&d(t,e)||(delete l[e],c=!0)}else if(8&o){const n=e.vnode.dynamicProps;for(let s=0;s<n.length;s++){let o=n[s];if(ns(e.emitsOptions,o))continue;const u=t[o];if(i)if(d(l,o))u!==l[o]&&(l[o]=u,c=!0);else{const t=E(o);r[t]=ps(i,a,t,u,e,!1)}else u!==l[o]&&(l[o]=u,c=!0)}}c&&Te(e.attrs,"set","")}(e,t.props,r,s),((e,t,s)=>{const{vnode:r,slots:l}=e;let o=!0,a=n;if(32&r.shapeFlag){const e=t._;e?s&&1===e?o=!1:ws(l,t,s):(o=!t.$stable,xs(t,l)),a=t}else t&&(_s(e,t),a={default:1});if(o)for(const n in l)gs(n)||null!=a[n]||delete l[n]})(e,t.children,s),ge(),Ut(e),ye()},H=(e,t,n,s,r,l,o,a,i=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:h}=t;if(f>0){if(128&f)return void q(c,d,n,s,r,l,o,a,i);if(256&f)return void W(c,d,n,s,r,l,o,a,i)}8&h?(16&u&&Y(c,r,l),d!==c&&p(n,d)):16&u?16&h?q(c,d,n,s,r,l,o,a,i):Y(c,r,l,!0):(8&u&&p(n,""),16&h&&A(d,n,s,r,l,o,a,i))},W=(e,t,n,r,l,o,a,i,c)=>{t=t||s;const u=(e=e||s).length,d=t.length,f=Math.min(u,d);let p;for(p=0;p<f;p++){const s=t[p]=c?tr(t[p]):er(t[p]);y(e[p],s,n,null,l,o,a,i,c)}u>d?Y(e,l,o,!0,!1,f):A(t,n,r,l,o,a,i,c,f)},q=(e,t,n,r,l,o,a,i,c)=>{let u=0;const d=t.length;let f=e.length-1,p=d-1;for(;u<=f&&u<=p;){const s=e[u],r=t[u]=c?tr(t[u]):er(t[u]);if(!qs(s,r))break;y(s,r,n,null,l,o,a,i,c),u++}for(;u<=f&&u<=p;){const s=e[f],r=t[p]=c?tr(t[p]):er(t[p]);if(!qs(s,r))break;y(s,r,n,null,l,o,a,i,c),f--,p--}if(u>f){if(u<=p){const e=p+1,s=e<d?t[e].el:r;for(;u<=p;)y(null,t[u]=c?tr(t[u]):er(t[u]),n,s,l,o,a,i,c),u++}}else if(u>p)for(;u<=f;)G(e[u],l,o,!0),u++;else{const h=u,v=u,m=new Map;for(u=v;u<=p;u++){const e=t[u]=c?tr(t[u]):er(t[u]);null!=e.key&&m.set(e.key,u)}let g,b=0;const x=p-v+1;let _=!1,w=0;const k=new Array(x);for(u=0;u<x;u++)k[u]=0;for(u=h;u<=f;u++){const s=e[u];if(b>=x){G(s,l,o,!0);continue}let r;if(null!=s.key)r=m.get(s.key);else for(g=v;g<=p;g++)if(0===k[g-v]&&qs(s,t[g])){r=g;break}void 0===r?G(s,l,o,!0):(k[r-v]=u+1,r>=w?w=r:_=!0,y(s,t[r],n,null,l,o,a,i,c),b++)}const S=_?function(e){const t=e.slice(),n=[0];let s,r,l,o,a;const i=e.length;for(s=0;s<i;s++){const i=e[s];if(0!==i){if(r=n[n.length-1],e[r]<i){t[s]=r,n.push(s);continue}for(l=0,o=n.length-1;l<o;)a=l+o>>1,e[n[a]]<i?l=a+1:o=a;i<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}l=n.length,o=n[l-1];for(;l-- >0;)n[l]=o,o=t[o];return n}(k):s;for(g=S.length-1,u=x-1;u>=0;u--){const e=v+u,s=t[e],f=t[e+1],p=e+1<d?f.el||Ps(f):r;0===k[u]?y(null,s,n,p,l,o,a,i,c):_&&(g<0||u!==S[g]?K(s,n,p,2):g--)}}},K=(e,t,n,s,r=null)=>{const{el:a,type:i,transition:c,children:u,shapeFlag:d}=e;if(6&d)K(e.component.subTree,t,n,s);else if(128&d)e.suspense.move(t,n,s);else if(64&d)i.move(e,t,n,se);else if(i!==Ds)if(i!==Rs)if(2!==s&&1&d&&c)if(0===s)c.persisted&&!a[sn]?l(a,t,n):(c.beforeEnter(a),l(a,t,n),ks(()=>c.enter(a),r));else{const{leave:s,delayLeave:r,afterLeave:i}=c,u=()=>{e.ctx.isUnmounted?o(a):l(a,t,n)},d=()=>{const e=a._isLeaving||!!a[sn];a._isLeaving&&a[sn](!0),c.persisted&&!e?u():s(a,()=>{u(),i&&i()})};r?r(a,u,d):d()}else l(a,t,n);else k(e,t,n);else{l(a,t,n);for(let e=0;e<u.length;e++)K(u[e],t,n,s);l(e.anchor,t,n)}},G=(e,t,n,s=!1,r=!1)=>{const{type:l,props:o,ref:a,children:i,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:h}=e;if(-2===d&&(r=!1),null!=a&&(ge(),un(a,null,n,e,!0),ye()),null!=p&&(t.renderCache[p]=void 0),256&u)return void t.ctx.deactivate(e);const v=1&u&&f,m=!fn(e);let g;if(m&&(g=o&&o.onVnodeBeforeUnmount)&&sr(g,t,e),6&u)Z(e.component,n,s);else{if(128&u)return void e.suspense.unmount(n,s);v&&Jt(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,se,s):c&&!c.hasOnce&&(l!==Ds||d>0&&64&d)?Y(c,t,n,!1,!0):(l===Ds&&384&d||!r&&16&u)&&Y(i,t,n),s&&J(e)}const y=null!=h&&null==p;(m&&(g=o&&o.onVnodeUnmounted)||v||y)&&ks(()=>{g&&sr(g,t,e),v&&Jt(e,null,t,"unmounted"),y&&(e.el=null)},n)},J=e=>{const{type:t,el:n,anchor:s,transition:r}=e;if(t===Ds)return void X(n,s);if(t===Rs)return void S(e);const l=()=>{o(n),r&&!r.persisted&&r.afterLeave&&r.afterLeave()};if(1&e.shapeFlag&&r&&!r.persisted){const{leave:t,delayLeave:s}=r,o=()=>t(n,l);s?s(e.el,l,o):o()}else l()},X=(e,t)=>{let n;for(;e!==t;)n=v(e),o(e),e=n;o(t)},Z=(e,t,n)=>{const{bum:s,scope:r,job:l,subTree:o,um:a,m:i,a:c}=e;Ts(i),Ts(c),s&&j(s),r.stop(),l&&(l.flags|=8,G(o,e,t,n)),a&&ks(a,t),ks(()=>{e.isUnmounted=!0},t)},Y=(e,t,n,s=!1,r=!1,l=0)=>{for(let o=l;o<e.length;o++)G(e[o],t,n,s,r)},Q=e=>{if(6&e.shapeFlag)return Q(e.component.subTree);if(128&e.shapeFlag)return e.suspense.next();const t=v(e.anchor||e.el),n=t&&t[nn];return n?v(n):t};let te=!1;const ne=(e,t,n)=>{let s;null==e?t._vnode&&(G(t._vnode,null,null,!0),s=t._vnode.component):y(t._vnode||null,e,t,null,null,null,n),t._vnode=e,te||(te=!0,Ut(s),zt(),te=!1)},se={p:y,um:G,m:K,r:J,mt:N,mc:A,pc:H,pbc:$,n:Q,o:e};let le,oe;t&&([le,oe]=t(se));return{render:ne,hydrate:le,createApp:Zn(ne,le)}}(e)}function Cs({type:e,props:t},n){return"svg"===n&&"foreignObject"===e||"mathml"===n&&"annotation-xml"===e&&t&&t.encoding&&t.encoding.includes("html")?void 0:n}function Ms({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Os(e,t,n=!1){const s=e.children,r=t.children;if(f(s)&&f(r))for(let l=0;l<s.length;l++){const e=s[l];let t=r[l];1&t.shapeFlag&&!t.dynamicChildren&&((t.patchFlag<=0||32===t.patchFlag)&&(t=r[l]=tr(r[l]),t.el=e.el),n||-2===t.patchFlag||Os(e,t)),t.type===$s&&(-1===t.patchFlag&&(t=r[l]=tr(t)),t.el=e.el),t.type!==js||t.el||(t.el=e.el)}}function Es(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Es(t)}function Ts(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ps(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ps(t.subTree):null}var As=e=>e.__isSuspense;var Ds=Symbol.for("v-fgt"),$s=Symbol.for("v-txt"),js=Symbol.for("v-cmt"),Rs=Symbol.for("v-stc"),Fs=[],Is=null;function Ls(e=!1){Fs.push(Is=e?null:[])}function Vs(){Fs.pop(),Is=Fs[Fs.length-1]||null}var Ns=1;function Us(e,t=!1){Ns+=e,e<0&&Is&&t&&(Is.hasOnce=!0)}function zs(e){return e.dynamicChildren=Ns>0?Is||s:null,Vs(),Ns>0&&Is&&Is.push(e),e}function Bs(e,t,n,s,r,l){return zs(Js(e,t,n,s,r,l,!0))}function Hs(e,t,n,s,r){return zs(Xs(e,t,n,s,r,!0))}function Ws(e){return!!e&&!0===e.__v_isVNode}function qs(e,t){return e.type===t.type&&e.key===t.key}var Ks=({key:e})=>null!=e?e:null,Gs=({ref:e,ref_key:t,ref_for:n})=>("number"==typeof e&&(e=""+e),null!=e?g(e)||gt(e)||m(e)?{i:Wt,r:e,k:t,f:!!n}:e:null);function Js(e,t=null,n=null,s=0,r=null,l=(e===Ds?0:1),o=!1,a=!1){const i={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ks(t),ref:t&&Gs(t),scopeId:qt,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:l,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Wt};return a?(nr(i,n),128&l&&e.normalize(i)):n&&(i.shapeFlag|=g(n)?8:16),Ns>0&&!o&&Is&&(i.patchFlag>0||6&l)&&32!==i.patchFlag&&Is.push(i),i}var Xs=function(e,t=null,n=null,s=0,r=null,l=!1){e&&e!==Pn||(e=js);if(Ws(e)){const s=Zs(e,t,!0);return n&&nr(s,n),Ns>0&&!l&&Is&&(6&s.shapeFlag?Is[Is.indexOf(e)]=s:Is.push(s)),s.patchFlag=-2,s}o=e,m(o)&&"__vccOpts"in o&&(e=e.__vccOpts);var o;if(t){t=function(e){return e?pt(e)||us(e)?i({},e):e:null}(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=B(e)),b(n)&&(pt(n)&&!f(n)&&(n=i({},n)),t.style=L(n))}const a=g(e)?1:As(e)?128:(e=>e.__isTeleport)(e)?64:b(e)?4:m(e)?2:0;return Js(e,t,n,s,r,a,l,!0)};function Zs(e,t,n=!1,s=!1){const{props:r,ref:l,patchFlag:i,children:c,transition:u}=e,d=t?function(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const e in s)if("class"===e)t.class!==s.class&&(t.class=B([t.class,s.class]));else if("style"===e)t.style=L([t.style,s.style]);else if(o(e)){const n=t[e],r=s[e];!r||n===r||f(n)&&n.includes(r)?null!=r||null!=n||a(e)||(t[e]=r):t[e]=n?[].concat(n,r):r}else""!==e&&(t[e]=s[e])}return t}(r||{},t):r,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Ks(d),ref:t&&t.ref?n&&l?f(l)?l.concat(Gs(t)):[l,Gs(t)]:Gs(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Ds?-1===i?16:16|i:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Zs(e.ssContent),ssFallback:e.ssFallback&&Zs(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&s&&rn(p,u.clone(p)),p}function Ys(e=" ",t=0){return Xs($s,null,e,t)}function Qs(e="",t=!1){return t?(Ls(),Hs(js,null,e)):Xs(js,null,e)}function er(e){return null==e||"boolean"==typeof e?Xs(js):f(e)?Xs(Ds,null,e.slice()):Ws(e)?tr(e):Xs($s,null,String(e))}function tr(e){return null===e.el&&-1!==e.patchFlag||e.memo?e:Zs(e)}function nr(e,t){let n=0;const{shapeFlag:s}=e;if(null==t)t=null;else if(f(t))n=16;else if("object"==typeof t){if(65&s){const n=t.default;return void(n&&(n._c&&(n._d=!1),nr(e,n()),n._c&&(n._d=!0)))}{n=32;const s=t._;s||us(t)?3===s&&Wt&&(1===Wt.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=Wt}}else if(m(t)){if(65&s)return void nr(e,{default:t});t={default:t,_ctx:Wt},n=32}else t=String(t),64&s?(n=16,t=[Ys(t)]):n=8;e.children=t,e.shapeFlag|=n}function sr(e,t,n,s=null){Tt(e,t,7,[n,s])}var rr=Jn(),lr=0;var or,ar,ir=null,cr=()=>ir||Wt;{const e=I(),t=(t,n)=>{let s;return(s=e[t])||(s=e[t]=[]),s.push(n),e=>{s.length>1?s.forEach(t=>t(e)):s[0](e)}};or=t("__VUE_INSTANCE_SETTERS__",e=>ir=e),ar=t("__VUE_SSR_SETTERS__",e=>vr=e)}var ur=e=>{const t=ir;return or(e),e.scope.on(),()=>{e.scope.off(),or(t)}},dr=()=>{ir&&ir.scope.off(),or(null)};function fr(e){return 4&e.vnode.shapeFlag}var pr,hr,vr=!1;function mr(e,t,n){m(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:b(t)&&(e.setupState=_t(t)),gr(e,n)}function gr(e,t,n){const s=e.type;if(!e.render){if(!t&&pr&&!s.render){const t=s.template||Un(e).template;if(t){const{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:l,compilerOptions:o}=s,a=i(i({isCustomElement:n,delimiters:l},r),o);s.render=pr(t,a)}}e.render=s.render||r,hr&&hr(e)}{const t=ur(e);ge();try{Ln(e)}finally{ye(),t()}}}var yr={get:(e,t)=>(Ee(e,0,""),e[t])};function br(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(_t((t=e.exposed,!d(t,"__v_skip")&&Object.isExtensible(t)&&R(t,"__v_skip",!0),t)),{get:(t,n)=>n in t?t[n]:n in $n?$n[n](e):void 0,has:(e,t)=>t in e||t in $n})):e.proxy;var t}var xr=(e,t)=>function(e,t,n=!1){let s,r;return m(e)?s=e:(s=e.get,r=e.set),new wt(s,r,n)}(e,0,vr),_r="3.5.40",wr=void 0,kr="undefined"!=typeof window&&window.trustedTypes;if(kr)try{wr=kr.createPolicy("vue",{createHTML:e=>e})}catch(ia){}var Sr=wr?e=>wr.createHTML(e):e=>e,Cr="undefined"!=typeof document?document:null,Mr=Cr&&Cr.createElement("template"),Or={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r="svg"===t?Cr.createElementNS("http://www.w3.org/2000/svg",e):"mathml"===t?Cr.createElementNS("http://www.w3.org/1998/Math/MathML",e):n?Cr.createElement(e,{is:n}):Cr.createElement(e);return"select"===e&&s&&null!=s.multiple&&r.setAttribute("multiple",s.multiple),r},createText:e=>Cr.createTextNode(e),createComment:e=>Cr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Cr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,l){const o=n?n.previousSibling:t.lastChild;if(r&&(r===l||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),r!==l&&(r=r.nextSibling););else{Mr.innerHTML=Sr("svg"===s?`<svg>${e}</svg>`:"mathml"===s?`<math>${e}</math>`:e);const r=Mr.content;if("svg"===s||"mathml"===s){const e=r.firstChild;for(;e.firstChild;)r.appendChild(e.firstChild);r.removeChild(e)}t.insertBefore(r,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Er=Symbol("_vtc");var Tr=Symbol("_vod"),Pr=Symbol("_vsh"),Ar=Symbol(""),Dr=/(?:^|;)\s*display\s*:/;var $r=/\s*!important$/;function jr(e,t,n){if(f(n))n.forEach(n=>jr(e,t,n));else if(null==n&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=function(e,t){const n=Fr[t];if(n)return n;let s=E(t);if("filter"!==s&&s in e)return Fr[t]=s;s=A(s);for(let r=0;r<Rr.length;r++){const n=Rr[r]+s;if(n in e)return Fr[t]=n}return t}(e,t);$r.test(n)?e.setProperty(P(s),n.replace($r,""),"important"):e[s]=n}}var Rr=["Webkit","Moz","ms"],Fr={};function Ir(e,t,n,s){return"TEXTAREA"===e.tagName&&("width"===t||"height"===t)&&g(s)&&n===s}var Lr="http://www.w3.org/1999/xlink";function Vr(e,t,n,s,r,l=W(t)){s&&t.startsWith("xlink:")?null==n?e.removeAttributeNS(Lr,t.slice(6,t.length)):e.setAttributeNS(Lr,t,n):null==n||l&&!q(n)?e.removeAttribute(t):e.setAttribute(t,l?"":y(n)?String(n):n)}function Nr(e,t,n,s,r){if("innerHTML"===t||"textContent"===t)return void(null!=n&&(e[t]="innerHTML"===t?Sr(n):n));const l=e.tagName;if("value"===t&&"PROGRESS"!==l&&!l.includes("-")){const s="OPTION"===l?e.getAttribute("value")||"":e.value,r=null==n?"checkbox"===e.type?"on":"":String(n);return s===r&&"_value"in e||(e.value=r),null==n&&e.removeAttribute(t),void(e._value=n)}let o=!1;if(""===n||null==n){const s=typeof e[t];"boolean"===s?n=q(n):null==n&&"string"===s?(n="",o=!0):"number"===s&&(n=0,o=!0)}try{e[t]=n}catch(ia){}o&&e.removeAttribute(r||t)}function Ur(e,t,n,s){e.addEventListener(t,n,s)}var zr=Symbol("_vei");function Br(e,t,n,s,r=null){const l=e[zr]||(e[zr]={}),o=l[t];if(s&&o)o.value=s;else{const[n,a]=function(e){let t,n;for(;(n=e.match(Hr))&&!Wr.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[":"===e[2]?e.slice(3):P(e.slice(2)),t]}(t);s?Ur(e,n,l[t]=function(e,t){const n=e=>{if(e._vts){if(e._vts<=n.attached)return}else e._vts=Date.now();const s=n.value;if(f(s)){const n=e.stopImmediatePropagation;e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0};const r=s.slice(),l=[e];for(let s=0;s<r.length&&!e._stopped;s++){const e=r[s];e&&Tt(e,t,5,l)}}else Tt(s,t,5,[e])};return n.value=e,n.attached=Gr(),n}(s,r),a):o&&(!function(e,t,n,s){e.removeEventListener(t,n,s)}(e,n,o,a),l[t]=void 0)}}var Hr=/(Once|Passive|Capture)$/,Wr=/^on:?(?:Once|Passive|Capture)$/;var qr=0,Kr=Promise.resolve(),Gr=()=>qr||(Kr.then(()=>qr=0),qr=Date.now());var Jr=e=>111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123;var Xr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return f(t)?e=>j(t,e):t};function Zr(e){e.target.composing=!0}function Yr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}var Qr=Symbol("_assign");function el(e,t,n){return t&&(e=e.trim()),n&&(e=F(e)),e}var tl,nl={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Qr]=Xr(r);const l=s||r.props&&"number"===r.props.type;Ur(e,t?"change":"input",t=>{t.target.composing||e[Qr](el(e.value,n,l))}),(n||l)&&Ur(e,"change",()=>{e.value=el(e.value,n,l)}),t||(Ur(e,"compositionstart",Zr),Ur(e,"compositionend",Yr),Ur(e,"change",Yr))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:l}},o){if(e[Qr]=Xr(o),e.composing)return;const a=null==t?"":t;if((!l&&"number"!==e.type||/^0\d/.test(e.value)?e.value:F(e.value))===a)return;const i=e.getRootNode();if((i instanceof Document||i instanceof ShadowRoot)&&i.activeElement===e&&"range"!==e.type){if(s&&t===n)return;if(r&&e.value.trim()===a)return}e.value=a}},sl=["ctrl","shift","alt","meta"],rl={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>sl.some(n=>e[`${n}Key`]&&!t.includes(n))},ll=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(n,...s)=>{for(let e=0;e<t.length;e++){const s=rl[t[e]];if(s&&s(n,t))return}return e(n,...s)})},ol=i({patchProp:(e,t,n,s,r,l)=>{const i="svg"===r;"class"===t?function(e,t,n){const s=e[Er];s&&(t=(t?[t,...s]:[...s]).join(" ")),null==t?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}(e,s,i):"style"===t?function(e,t,n){const s=e.style,r=g(n);let l=!1;if(n&&!r){if(t)if(g(t))for(const e of t.split(";")){const t=e.slice(0,e.indexOf(":")).trim();null==n[t]&&jr(s,t,"")}else for(const e in t)null==n[e]&&jr(s,e,"");for(const r in n){"display"===r&&(l=!0);const o=n[r];null!=o?Ir(e,r,!g(t)&&t?t[r]:void 0,o)||jr(s,r,o):jr(s,r,"")}}else if(r){if(t!==n){const e=s[Ar];e&&(n+=";"+e),s.cssText=n,l=Dr.test(n)}}else t&&e.removeAttribute("style");Tr in e&&(e[Tr]=l?s.display:"",e[Pr]&&(s.display="none"))}(e,n,s):o(t)?a(t)||Br(e,t,0,s,l):("."===t[0]?(t=t.slice(1),1):"^"===t[0]?(t=t.slice(1),0):function(e,t,n,s){if(s)return"innerHTML"===t||"textContent"===t||!!(t in e&&Jr(t)&&m(n));if("spellcheck"===t||"draggable"===t||"translate"===t||"autocorrect"===t)return!1;if("sandbox"===t&&"IFRAME"===e.tagName)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if("width"===t||"height"===t){const t=e.tagName;if("IMG"===t||"VIDEO"===t||"CANVAS"===t||"SOURCE"===t)return!1}return(!Jr(t)||!g(n))&&t in e}(e,t,s,i))?(Nr(e,t,s),e.tagName.includes("-")||"value"!==t&&"checked"!==t&&"selected"!==t||Vr(e,t,s,i,0,"value"!==t)):e._isVueCE&&(function(e,t){const n=e._def.props;if(!n)return!1;const s=E(t);return Array.isArray(n)?n.some(e=>E(e)===s):Object.keys(n).some(e=>E(e)===s)}(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(s)))?Nr(e,E(t),s,0,t):("true-value"===t?e._trueValue=s:"false-value"===t&&(e._falseValue=s),Vr(e,t,s,i))}},Or);var al=(...e)=>{const t=(tl||(tl=Ss(ol))).createApp(...e),{mount:n}=t;return t.mount=e=>{const s=function(e){return g(e)?document.querySelector(e):e}(e);if(!s)return;const r=t._component;m(r)||r.render||r.template||(r.template=s.innerHTML),1===s.nodeType&&(s.textContent="");const l=n(s,!1,function(e){if(e instanceof SVGElement)return"svg";if("function"==typeof MathMLElement&&e instanceof MathMLElement)return"mathml"}(s));return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),l},t};function il(e,t){const n=new Set;for(const s of e){const e=s[t];e&&n.add(e)}return Array.from(n).sort((e,t)=>e.localeCompare(t))}var cl=new Intl.Collator(void 0,{numeric:!0,sensitivity:"base"});function ul(e,t){return e.filter(e=>!!function(e,t){const n=t.trim().toLowerCase();if(!n)return!0;const s=function(e){return`${e.id} ${e.title} ${e.doctype??""}`.toLowerCase()}(e);return n.split(/\s+/).every(e=>s.includes(e))}(e,t.query)&&(!!(!t.doctypes.size||e.doctype&&t.doctypes.has(e.doctype))&&!!(!t.stages.size||e.stage&&t.stages.has(e.stage)))).sort((e,n)=>function(e,t,n,s){let r=0;switch(n){case"date":{const n=e.date,s=t.date;if(!n&&!s)return 0;if(!n)return 1;if(!s)return-1;r=n.localeCompare(s);break}case"title":r=cl.compare(e.title,t.title);break;default:r=cl.compare(e.id,t.id)}return"asc"===s?r:-r}(e,n,t.sortKey,t.sortDir))}var dl="page";function fl(e=("undefined"!=typeof window?window.location.search:"")){const t=new URLSearchParams(e).get(dl);if(null===t)return 1;const n=Number(t);return Number.isInteger(n)&&n>=1?n:1}function pl(e,t="replace"){if("undefined"==typeof window||!window.history)return;const n=new URL(window.location.href);e<=1?n.searchParams.delete(dl):n.searchParams.set(dl,String(e));const s=`${n.pathname}${n.search}${n.hash}`;"push"===t?window.history.pushState(window.history.state,"",s):window.history.replaceState(window.history.state,"",s)}function hl(e){return`${vl()}/doc/${encodeURIComponent(e)}`}function vl(){const e=window.location.pathname,t=e.lastIndexOf("/doc/"),n=t>=0?e.slice(0,t):e.replace(/\/index\.html$/,"");return"/"===n?"":n.replace(/\/+$/,"")}function ml(e=("undefined"!=typeof window?window.location.search:"")){if(e===("undefined"!=typeof window?window.location.search:"")){const e=window.location.pathname.match(/\/doc\/([^/?#]+)$/);if(e){const t=decodeURIComponent(e[1]);if(""!==t.trim())return t}}const t=new URLSearchParams(e).get("doc");return t&&""!==t.trim()?t:null}function gl(e,t="replace"){if("undefined"==typeof window||!window.history)return;const n=new URL(window.location.href);if(e){const s=`${vl()}/doc/${encodeURIComponent(e)}${n.search&&n.searchParams.has(dl)?`?${n.searchParams}`:""}${n.hash}`;return void("push"===t?window.history.pushState(window.history.state,"",s):window.history.replaceState(window.history.state,"",s))}n.searchParams.delete("doc");const s=`${vl()}/${n.search}${n.hash}`;"push"===t?window.history.pushState(window.history.state,"",s):window.history.replaceState(window.history.state,"",s)}var yl={key:0,xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",viewBox:"0 0 24 24","aria-hidden":"true"},bl=["d"],xl=ln({__name:"Icon",props:{name:{}},setup(e){const t={sun:["M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"],moon:["M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"],search:["M21 21l-6-6m2-5a7 7 0 11-14 0 7 7 0 0114 0z"],"chevron-up":["M5 15l7-7 7 7"],"chevron-down":["M19 9l-7 7-7-7"],"chevron-right":["M9 5l7 7-7 7"],"arrow-left":["M10 19l-7-7m0 0l7-7m-7 7h18"],external:["M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"],list:["M4 6h16M4 12h16M4 18h16"],grid:["M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z"],copy:["M8 16H6a2 2 0 01-2-2V6a2 2 0 012-2h8a2 2 0 012 2v2m-6 12h8a2 2 0 002-2v-8a2 2 0 00-2-2h-8a2 2 0 00-2 2v8a2 2 0 002 2z"],check:["M5 13l4 4L19 7"],document:["M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"]},n=e,s=xr(()=>t[n.name]??null);return(e,t)=>s.value?(Ls(),Bs("svg",yl,[(Ls(!0),Bs(Ds,null,An(s.value,(e,t)=>(Ls(),Bs("path",{key:t,d:e},null,8,bl))),128))])):Qs("",!0)}}),_l={class:"flex items-start justify-between gap-3"},wl={class:"min-w-0"},kl={class:"flex items-center gap-2"},Sl={class:"truncate font-mono text-sm font-semibold text-brand dark:text-brand-dark"},Cl=["href"],Ml=["aria-label","title"],Ol={class:"mt-1 text-sm text-slate-700 dark:text-slate-300"},El=["href"],Tl={class:"flex shrink-0 items-start gap-2"},Pl={class:"flex flex-col items-end gap-1 text-xs"},Al={class:"flex flex-wrap justify-end gap-1"},Dl={key:0,class:"rounded bg-slate-100 px-1.5 py-0.5 text-slate-600 dark:bg-slate-800 dark:text-slate-300"},$l={key:1,class:"rounded bg-emerald-100 px-1.5 py-0.5 text-emerald-700 dark:bg-emerald-900/50 dark:text-emerald-300"},jl={key:0,class:"text-slate-400"},Rl=["href"],Fl=ln({__name:"DocumentRow",props:{doc:{},view:{}},emits:["open"],setup(e){const t=e,n=xr(()=>hl(t.doc.id)),s=yt(!1);return(t,r)=>(Ls(),Bs("article",{class:B(["document group py-4","grid"===e.view?"rounded-xl border border-slate-200 bg-white p-4 dark:border-slate-800 dark:bg-slate-900":""])},[Js("div",_l,[Js("div",wl,[Js("div",kl,[Js("h2",Sl,[Js("a",{href:n.value,class:"hover:underline",onClick:r[0]||(r[0]=ll(n=>t.$emit("open",e.doc.id),["exact","prevent"]))},Z(e.doc.id),9,Cl)]),Js("button",{type:"button",class:"rounded p-0.5 text-slate-400 opacity-0 transition group-hover:opacity-100 hover:text-brand","aria-label":`Copy DocID ${e.doc.id}`,title:s.value?"Copied!":"Copy DocID",onClick:r[1]||(r[1]=t=>async function(e){try{await navigator.clipboard.writeText(e),s.value=!0,setTimeout(()=>s.value=!1,1200)}catch{}}(e.doc.id))},[Xs(xl,{name:s.value?"check":"copy",class:"h-4 w-4"},null,8,["name"])],8,Ml)]),Js("p",Ol,[Js("a",{href:n.value,class:"hover:underline",tabindex:"-1",onClick:r[2]||(r[2]=ll(n=>t.$emit("open",e.doc.id),["exact","prevent"]))},Z(e.doc.title),9,El)])]),Js("div",Tl,[Js("div",Pl,[Js("div",Al,[e.doc.doctype?(Ls(),Bs("span",Dl,Z(e.doc.doctype),1)):Qs("",!0),e.doc.stage?(Ls(),Bs("span",$l,Z(e.doc.stage),1)):Qs("",!0)]),e.doc.date?(Ls(),Bs("time",jl,Z(e.doc.date),1)):Qs("",!0)]),Js("a",{href:n.value,class:"mt-0.5 text-slate-300 transition group-hover:text-brand dark:text-slate-600 dark:group-hover:text-brand-dark","aria-hidden":"true",tabindex:"-1",onClick:r[3]||(r[3]=ll(n=>t.$emit("open",e.doc.id),["exact","prevent"]))},[Xs(xl,{name:"chevron-right",class:"h-5 w-5"})],8,Rl)])])],2))}}),Il={class:"py-2"},Ll={class:"mb-6"},Vl={class:"flex items-center gap-2"},Nl={class:"font-mono text-lg font-semibold text-brand dark:text-brand-dark"},Ul=["aria-label","title"],zl={class:"mt-1 text-2xl font-semibold tracking-tight"},Bl={key:0,class:"mb-6"},Hl={class:"text-sm leading-relaxed text-slate-700 dark:text-slate-300"},Wl={key:1,class:"mb-6"},ql={class:"grid grid-cols-1 gap-x-6 gap-y-2 text-sm sm:grid-cols-2"},Kl={key:0,class:"flex gap-2"},Gl={key:1,class:"flex gap-2"},Jl={key:2,class:"flex gap-2"},Xl={key:3,class:"flex gap-2"},Zl={key:4,class:"flex gap-2"},Yl={key:5,class:"flex gap-2"},Ql={key:2,class:"mb-6"},eo={class:"flex flex-wrap gap-1.5"},to={key:3,class:"mb-6"},no={class:"space-y-1 text-sm"},so={class:"text-slate-700 dark:text-slate-300"},ro={key:0,class:"text-xs text-slate-500 dark:text-slate-400"},lo={key:4,class:"mb-6"},oo={class:"space-y-1 text-sm"},ao={class:"font-mono text-slate-700 dark:text-slate-300"},io={key:0,class:"text-xs text-slate-500 dark:text-slate-400"},co={key:5,class:"mb-6"},uo={class:"space-y-1 text-sm"},fo={class:"w-28 shrink-0 text-slate-500 dark:text-slate-400"},po=["href","onClick"],ho={key:1,class:"font-mono text-slate-700 dark:text-slate-300"},vo={key:6,class:"mb-6"},mo={class:"space-y-1 text-sm"},go={key:0,class:"text-slate-500 dark:text-slate-400"},yo={class:"text-slate-700 dark:text-slate-300"},bo={key:7,class:"flex flex-wrap gap-4 text-sm"},xo=["href"],_o=["href"],wo=ln({__name:"DocumentDetail",props:{doc:{},hasDoc:{type:Function}},emits:["back","open"],setup(e){const t=e,n=yt(!1);async function s(){try{await navigator.clipboard.writeText(t.doc.id),n.value=!0,setTimeout(()=>n.value=!1,1200)}catch{}}const r=xr(()=>(t.doc.languages??[]).join(", ")),l=xr(()=>t.doc.keywords??[]),o=xr(()=>t.doc.contributors??[]),a=xr(()=>t.doc.docids??[]),i=xr(()=>t.doc.dates??[]),c=xr(()=>!!t.doc.date&&0===i.value.length),u=xr(()=>!!(t.doc.doctype||t.doc.stage||t.doc.edition||r.value||t.doc.publisher||c.value));function d(e){return[e.type,e.language].filter(Boolean).join(" · ")}const f=xr(()=>(t.doc.relations??[]).map(e=>({...e,label:p(e.type),href:t.hasDoc?.(e.id)?hl(e.id):null})));function p(e){if(!e)return"Related";const t=e.replace(/([a-z0-9])([A-Z])/g,"$1 $2").toLowerCase();return t.charAt(0).toUpperCase()+t.slice(1)}return(t,p)=>(Ls(),Bs("article",Il,[Js("button",{type:"button",class:"mb-6 inline-flex items-center gap-1.5 text-sm text-brand hover:underline dark:text-brand-dark","aria-label":"Back to index",onClick:p[0]||(p[0]=e=>t.$emit("back"))},[Xs(xl,{name:"arrow-left",class:"h-4 w-4"}),p[1]||(p[1]=Ys("Back to index ",-1))]),Js("header",Ll,[Js("div",Vl,[Js("h2",Nl,Z(e.doc.id),1),Js("button",{type:"button",class:"rounded p-0.5 text-slate-400 transition hover:text-brand","aria-label":`Copy DocID ${e.doc.id}`,title:n.value?"Copied!":"Copy DocID",onClick:s},[Xs(xl,{name:n.value?"check":"copy",class:"h-4 w-4"},null,8,["name"])],8,Ul)]),Js("h1",zl,Z(e.doc.title),1)]),e.doc.abstract?(Ls(),Bs("section",Bl,[p[2]||(p[2]=Js("h3",{class:"mb-1 text-sm font-semibold uppercase tracking-wide text-slate-500 dark:text-slate-400"}," Abstract ",-1)),Js("p",Hl,Z(e.doc.abstract),1)])):Qs("",!0),u.value?(Ls(),Bs("section",Wl,[Js("dl",ql,[e.doc.doctype?(Ls(),Bs("div",Kl,[p[3]||(p[3]=Js("dt",{class:"w-28 shrink-0 text-slate-500 dark:text-slate-400"},"Type",-1)),Js("dd",null,Z(e.doc.doctype),1)])):Qs("",!0),e.doc.stage?(Ls(),Bs("div",Gl,[p[4]||(p[4]=Js("dt",{class:"w-28 shrink-0 text-slate-500 dark:text-slate-400"},"Stage",-1)),Js("dd",null,Z(e.doc.stage),1)])):Qs("",!0),e.doc.edition?(Ls(),Bs("div",Jl,[p[5]||(p[5]=Js("dt",{class:"w-28 shrink-0 text-slate-500 dark:text-slate-400"},"Edition",-1)),Js("dd",null,Z(e.doc.edition),1)])):Qs("",!0),r.value?(Ls(),Bs("div",Xl,[p[6]||(p[6]=Js("dt",{class:"w-28 shrink-0 text-slate-500 dark:text-slate-400"},"Language",-1)),Js("dd",null,Z(r.value),1)])):Qs("",!0),e.doc.publisher?(Ls(),Bs("div",Zl,[p[7]||(p[7]=Js("dt",{class:"w-28 shrink-0 text-slate-500 dark:text-slate-400"},"Publisher",-1)),Js("dd",null,Z(e.doc.publisher),1)])):Qs("",!0),c.value?(Ls(),Bs("div",Yl,[p[8]||(p[8]=Js("dt",{class:"w-28 shrink-0 text-slate-500 dark:text-slate-400"},"Date",-1)),Js("dd",null,Z(e.doc.date),1)])):Qs("",!0)])])):Qs("",!0),l.value.length?(Ls(),Bs("section",Ql,[p[9]||(p[9]=Js("h3",{class:"mb-2 text-sm font-semibold uppercase tracking-wide text-slate-500 dark:text-slate-400"}," Keywords ",-1)),Js("div",eo,[(Ls(!0),Bs(Ds,null,An(l.value,e=>(Ls(),Bs("span",{key:e,class:"rounded-full bg-slate-100 px-3 py-1 text-xs text-slate-600 dark:bg-slate-800 dark:text-slate-300"},Z(e),1))),128))])])):Qs("",!0),o.value.length?(Ls(),Bs("section",to,[p[10]||(p[10]=Js("h3",{class:"mb-2 text-sm font-semibold uppercase tracking-wide text-slate-500 dark:text-slate-400"}," Contributors ",-1)),Js("ul",no,[(Ls(!0),Bs(Ds,null,An(o.value,(e,t)=>(Ls(),Bs("li",{key:t,class:"flex flex-wrap items-baseline gap-2"},[Js("span",so,Z(e.name),1),e.role?(Ls(),Bs("span",ro,Z(e.role),1)):Qs("",!0)]))),128))])])):Qs("",!0),a.value.length?(Ls(),Bs("section",lo,[p[11]||(p[11]=Js("h3",{class:"mb-2 text-sm font-semibold uppercase tracking-wide text-slate-500 dark:text-slate-400"}," Identifiers ",-1)),Js("ul",oo,[(Ls(!0),Bs(Ds,null,An(a.value,(e,t)=>(Ls(),Bs("li",{key:t,class:"flex flex-wrap items-baseline gap-2"},[Js("span",ao,Z(e.id),1),d(e)?(Ls(),Bs("span",io,Z(d(e)),1)):Qs("",!0)]))),128))])])):Qs("",!0),f.value.length?(Ls(),Bs("section",co,[p[12]||(p[12]=Js("h3",{class:"mb-2 text-sm font-semibold uppercase tracking-wide text-slate-500 dark:text-slate-400"}," Relations ",-1)),Js("ul",uo,[(Ls(!0),Bs(Ds,null,An(f.value,(e,n)=>(Ls(),Bs("li",{key:n,class:"flex flex-wrap items-baseline gap-2"},[Js("span",fo,Z(e.label),1),e.href?(Ls(),Bs("a",{key:0,href:e.href,class:"font-mono text-brand hover:underline dark:text-brand-dark",onClick:ll(n=>t.$emit("open",e.id),["exact","prevent"])},Z(e.id),9,po)):(Ls(),Bs("span",ho,Z(e.id),1))]))),128))])])):Qs("",!0),i.value.length?(Ls(),Bs("section",vo,[p[13]||(p[13]=Js("h3",{class:"mb-2 text-sm font-semibold uppercase tracking-wide text-slate-500 dark:text-slate-400"}," Dates ",-1)),Js("ul",mo,[(Ls(!0),Bs(Ds,null,An(i.value,(e,t)=>(Ls(),Bs("li",{key:t,class:"flex flex-wrap items-baseline gap-2"},[e.type?(Ls(),Bs("span",go,Z(e.type),1)):Qs("",!0),Js("time",yo,Z(e.value),1)]))),128))])])):Qs("",!0),e.doc.link||e.doc.yaml?(Ls(),Bs("section",bo,[e.doc.link?(Ls(),Bs("a",{key:0,href:e.doc.link,target:"_blank",rel:"noopener",class:"inline-flex items-center gap-1 text-brand hover:underline dark:text-brand-dark"},[Xs(xl,{name:"external",class:"h-4 w-4"}),p[14]||(p[14]=Ys("Landing page",-1))],8,xo)):Qs("",!0),e.doc.yaml?(Ls(),Bs("a",{key:1,href:e.doc.yaml,target:"_blank",rel:"noopener",class:"inline-flex items-center gap-1 text-brand hover:underline dark:text-brand-dark"},[Xs(xl,{name:"document",class:"h-4 w-4"}),p[15]||(p[15]=Ys("Raw YAML",-1))],8,_o)):Qs("",!0)])):Qs("",!0)]))}}),ko={key:0,class:"flex items-center justify-center gap-2 text-sm","aria-label":"Pagination"},So=["disabled"],Co={class:"text-slate-500 dark:text-slate-400"},Mo=["disabled"],Oo=ln({__name:"Pagination",props:{page:{},pageCount:{}},emits:["go"],setup(e,{emit:t}){const n=t;return(t,s)=>e.pageCount>1?(Ls(),Bs("nav",ko,[Js("button",{type:"button",class:"rounded-md border border-slate-300 px-3 py-1 disabled:opacity-40 dark:border-slate-700",disabled:1===e.page,onClick:s[0]||(s[0]=t=>n("go",e.page-1))},"Prev",8,So),Js("span",Co,"Page "+Z(e.page)+" of "+Z(e.pageCount),1),Js("button",{type:"button",class:"rounded-md border border-slate-300 px-3 py-1 disabled:opacity-40 dark:border-slate-700",disabled:e.page===e.pageCount,onClick:s[1]||(s[1]=t=>n("go",e.page+1))},"Next",8,Mo)])):Qs("",!0)}}),Eo=Oo,To={class:"min-h-screen bg-slate-50 text-slate-900 dark:bg-slate-950 dark:text-slate-100"},Po={class:"border-b border-slate-200 dark:border-slate-800"},Ao={class:"mx-auto flex max-w-5xl items-center justify-between gap-4 px-4 py-5"},Do={class:"text-2xl font-semibold tracking-tight"},$o={class:"mt-1 text-sm text-slate-500 dark:text-slate-400"},jo=["aria-label","title"],Ro={class:"mx-auto max-w-5xl px-4 py-6"},Fo={class:"sticky top-0 z-10 -mx-4 mb-4 bg-slate-50/90 px-4 py-3 backdrop-blur dark:bg-slate-950/90"},Io={class:"flex flex-wrap items-center gap-3"},Lo={class:"relative min-w-56 flex-1"},Vo={class:"pointer-events-none absolute inset-y-0 left-3 flex items-center text-slate-400"},No={class:"flex items-center gap-1 text-sm"},Uo=["onClick"],zo={class:"flex items-center gap-1 rounded-lg border border-slate-300 p-0.5 dark:border-slate-700"},Bo={key:0,class:"mt-3 flex flex-wrap items-center gap-2"},Ho=["onClick"],Wo=["onClick"],qo={class:"mt-3 flex items-center gap-3 text-xs text-slate-500 dark:text-slate-400"},Ko={key:0,class:"text-slate-400 dark:text-slate-500"},Go={key:1,class:"py-16 text-center text-slate-500 dark:text-slate-400"},Jo={class:"border-t border-slate-200 py-8 text-center text-xs text-slate-500 dark:border-slate-800 dark:text-slate-400"},Xo={key:0,class:"mt-1"},Zo=ln({__name:"App",props:{data:{},hydration:{},loadDetail:{type:Function}},setup(e){const t=e,n={loading:!1,total:null,requestAll:()=>{}},s=xr(()=>t.hydration??n),r=xr(()=>s.value.loading),l=yt(""),o=yt(new Set),a=yt(new Set),i=yt("id"),c=yt("asc"),u=yt(localStorage.getItem("relaton-index-view")||"list"),d=yt(document.documentElement.classList.contains("dark")),f=yt(null),p=xr(()=>t.data.documents),h=xr(()=>il(p.value,"doctype")),v=xr(()=>il(p.value,"stage")),m=xr(()=>Math.max(s.value.total??0,p.value.length)),g=yt(ml()),y=xr(()=>null==g.value?null:p.value.find(e=>e.id===g.value)??null);function b(e){g.value=e,gl(e,"push"),window.scrollTo({top:0})}const x=xr(()=>new Set(p.value.map(e=>e.id)));function _(e){return x.value.has(e)}function w(){g.value=null,gl(null,"replace")}const k=xr(()=>ul(p.value,{query:l.value,doctypes:o.value,stages:a.value,sortKey:i.value,sortDir:c.value})),S=yt(null),C={list:76,grid:128};function M(){const e=window.innerHeight||800,t=S.value?.getBoundingClientRect().top??300,n=Math.max(e-t-120,C.list),s="grid"===u.value&&window.innerWidth>=640?2:1,r=Math.floor(n/C[u.value])*s;return Math.min(100,Math.max(10,r))}const O=yt(M()),E=yt(fl()),T=xr(()=>Math.max(1,Math.ceil(k.value.length/O.value))),P=xr(()=>{const e=(E.value-1)*O.value;return k.value.slice(e,e+O.value)});function A(){const e=M();e!==O.value&&(O.value=e)}function D(){const e=Math.min(E.value,T.value);e!==E.value&&(E.value=e,pl(e,"replace"))}let $;function j(){clearTimeout($),$=setTimeout(A,150)}Yt(u,()=>Lt(A)),Yt([y,r],([e,t])=>{e||(Lt(A),null!=g.value&&(t?s.value.requestAll():(g.value=null,gl(null,"replace"))))},{immediate:!0}),Yt(O,()=>{r.value||D()}),Yt(r,e=>{e||D()}),Yt([l,o,a,i,c],()=>{1!==E.value&&(E.value=1,pl(1,"replace")),s.value.requestAll()});const R=new Set;function F(e){const t=Math.min(T.value,Math.max(1,e));t!==E.value&&(E.value=t,pl(t,"push")),document.getElementById("relaton-index-app")?.scrollIntoView({block:"start"})}function I(){g.value=ml();const e=Math.max(1,fl());E.value=r.value?e:Math.min(T.value,e)}function L(e,t){const n=new Set(e);return n.has(t)?n.delete(t):n.add(t),n}function V(){l.value="",o.value=new Set,a.value=new Set}function N(e){u.value=e,localStorage.setItem("relaton-index-view",e)}function U(){d.value=!d.value,document.documentElement.classList.toggle("dark",d.value);try{localStorage.setItem("relaton-index-theme",d.value?"dark":"light")}catch{}}Yt(y,e=>{const n=t.loadDetail;if(!e||!n)return;const s=function(e){return`${e.id}|${e.yaml??""}`}(e);if(R.has(s))return;R.add(s);const r=e.pos??p.value.indexOf(e);r<0||n(r,e.id).then(n=>{if(!n)return;const{r:s,...r}=n;Object.assign(e,r),r.relations?.length&&t.hydration?.requestAll()}).catch(()=>{})});const z=xr(()=>""!==l.value.trim()||o.value.size>0||a.value.size>0);function H(e){const t=e.target,n=t&&("INPUT"===t.tagName||"TEXTAREA"===t.tagName||t.isContentEditable);"/"!==e.key||n?"Escape"===e.key&&t===f.value&&(l.value="",f.value?.blur()):(e.preventDefault(),f.value?.focus())}return _n(()=>{window.addEventListener("keydown",H),window.addEventListener("resize",j),window.addEventListener("popstate",I),Lt(()=>{A(),r.value||D()})}),Cn(()=>{window.removeEventListener("keydown",H),window.removeEventListener("resize",j),window.removeEventListener("popstate",I),clearTimeout($)}),(t,n)=>(Ls(),Bs("div",To,[Js("header",Po,[Js("div",Ao,[Js("div",null,[Js("h1",Do,Z(e.data.title),1),Js("p",$o,Z(e.data.description||"Please use the provided Relaton DocID to refer to an item."),1)]),Js("button",{type:"button",class:"rounded-lg border border-slate-300 p-2 text-slate-600 hover:bg-slate-100 dark:border-slate-700 dark:text-slate-300 dark:hover:bg-slate-800","aria-label":d.value?"Switch to light theme":"Switch to dark theme",title:d.value?"Light theme":"Dark theme",onClick:U},[Xs(xl,{name:d.value?"sun":"moon",class:"h-5 w-5"},null,8,["name"])],8,jo)])]),Js("main",Ro,[y.value?(Ls(),Hs(wo,{key:0,doc:y.value,"has-doc":_,onBack:w,onOpen:b},null,8,["doc"])):(Ls(),Bs(Ds,{key:1},[Js("div",Fo,[Js("div",Io,[Js("div",Lo,[Js("span",Vo,[Xs(xl,{name:"search",class:"h-4 w-4"})]),Gt(Js("input",{ref_key:"searchEl",ref:f,"onUpdate:modelValue":n[0]||(n[0]=e=>l.value=e),type:"search",class:"w-full rounded-lg border border-slate-300 bg-white py-2 pl-9 pr-3 text-sm shadow-sm outline-none focus:border-brand focus:ring-2 focus:ring-brand/30 dark:border-slate-700 dark:bg-slate-900","aria-label":"Filter documents by identifier or title",placeholder:"Filter by identifier or title… ( / )"},null,512),[[nl,l.value]])]),Js("div",No,[n[3]||(n[3]=Js("span",{class:"text-slate-500 dark:text-slate-400"},"Sort",-1)),(Ls(),Bs(Ds,null,An(["id","date","title"],e=>Js("button",{key:e,type:"button",class:B(["rounded-md px-2 py-1 capitalize",i.value===e?"bg-brand text-white":"text-slate-600 hover:bg-slate-200 dark:text-slate-300 dark:hover:bg-slate-800"]),onClick:t=>{return n=e,void(i.value===n?c.value="asc"===c.value?"desc":"asc":(i.value=n,c.value="asc"));var n}},[Ys(Z(e),1),i.value===e?(Ls(),Hs(xl,{key:0,name:"asc"===c.value?"chevron-up":"chevron-down",class:"ml-0.5 inline h-3.5 w-3.5"},null,8,["name"])):Qs("",!0)],10,Uo)),64))]),Js("div",zo,[Js("button",{type:"button",class:B(["rounded-md px-2 py-1 text-sm","list"===u.value?"bg-brand text-white":"text-slate-600 dark:text-slate-300"]),"aria-label":"List view",onClick:n[1]||(n[1]=e=>N("list"))},[Xs(xl,{name:"list",class:"h-4 w-4"})],2),Js("button",{type:"button",class:B(["rounded-md px-2 py-1 text-sm","grid"===u.value?"bg-brand text-white":"text-slate-600 dark:text-slate-300"]),"aria-label":"Grid view",onClick:n[2]||(n[2]=e=>N("grid"))},[Xs(xl,{name:"grid",class:"h-4 w-4"})],2)])]),h.value.length||v.value.length?(Ls(),Bs("div",Bo,[(Ls(!0),Bs(Ds,null,An(h.value,e=>(Ls(),Bs("button",{key:"dt-"+e,type:"button",class:B(["rounded-full border px-3 py-1 text-xs",o.value.has(e)?"border-brand bg-brand text-white":"border-slate-300 text-slate-600 hover:border-brand dark:border-slate-700 dark:text-slate-300"]),onClick:t=>{return n=e,void(o.value=L(o.value,n));var n}},Z(e),11,Ho))),128)),(Ls(!0),Bs(Ds,null,An(v.value,e=>(Ls(),Bs("button",{key:"st-"+e,type:"button",class:B(["rounded-full border px-3 py-1 text-xs",a.value.has(e)?"border-emerald-500 bg-emerald-500 text-white":"border-slate-300 text-slate-600 hover:border-emerald-500 dark:border-slate-700 dark:text-slate-300"]),onClick:t=>{return n=e,void(a.value=L(a.value,n));var n}},Z(e),11,Wo))),128))])):Qs("",!0),Js("div",qo,[Js("span",null,Z(k.value.length)+" of "+Z(m.value)+" documents",1),r.value?(Ls(),Bs("span",Ko,"loading…")):Qs("",!0),z.value?(Ls(),Bs("button",{key:1,type:"button",class:"text-brand hover:underline dark:text-brand-dark",onClick:V},"Clear filters")):Qs("",!0)])]),Xs(Eo,{class:"mb-4",page:E.value,"page-count":T.value,onGo:F},null,8,["page","page-count"]),k.value.length?(Ls(),Bs("div",{key:0,ref_key:"listEl",ref:S,class:B("grid"===u.value?"grid grid-cols-1 gap-3 sm:grid-cols-2":"flex flex-col divide-y divide-slate-200 dark:divide-slate-800")},[(Ls(!0),Bs(Ds,null,An(P.value,e=>(Ls(),Hs(Fl,{key:e.id+"|"+(e.yaml??""),doc:e,view:u.value,onOpen:b},null,8,["doc","view"]))),128))],2)):(Ls(),Bs("p",Go," No documents match your filters. ")),Xs(Eo,{class:"mt-6",page:E.value,"page-count":T.value,onGo:F},null,8,["page","page-count"])],64))]),Js("footer",Jo,[n[4]||(n[4]=Js("p",null,[Ys(" An open source project by "),Js("a",{class:"text-brand hover:underline dark:text-brand-dark",href:"https://www.ribose.com"},"Ribose"),Ys(". Built with "),Js("a",{class:"text-brand hover:underline dark:text-brand-dark",href:"https://www.relaton.org"},"Relaton"),Ys(". ")],-1)),e.data.generated?(Ls(),Bs("p",Xo,"Generated "+Z(e.data.generated),1)):Qs("",!0)])]))}}),Yo=Zo;function Qo(e){const t=Number.parseInt(e??"",10);return Number.isFinite(t)&&t>0?t:0}function ea(e){return{total:Qo(e.dataset.total),shards:Qo(e.dataset.shards),shardSize:Qo(e.dataset.shardSize),detailShards:Qo(e.dataset.detailShards),detailShardSize:Qo(e.dataset.detailShardSize)}}function ta(e){return e.dataset.title||document.querySelector("h1")?.textContent?.trim()||document.title||"Relaton Index"}function na(e){return e.dataset.description||null}function sa(e,t){return`${e}-${String(t).padStart(4,"0")}.json`}async function ra(e){try{const t=await fetch(e);if(!t.ok)return null;const n=await t.json();return Array.isArray(n)?n:null}catch{return null}}async function la(e){const t=await ra(e);return t||ra(e)}function oa(e){const t=new Map,n=new Map;return async function(s,r){const{detailShards:l,detailShardSize:o}=e;if(l<=0||o<=0||s<0)return null;const a=Math.floor(s/o);if(a>=l)return null;let i=t.get(a);if(!i){let e=n.get(a);e||(e=ra(sa("detail",a)).then(e=>e??[]),n.set(a,e)),i=await e,t.set(a,i),n.delete(a)}const c=i[s%o];return c&&c.r===r?c:i.find(e=>null!=e&&e.r===r)??null}}function aa(){const e=document.getElementById("relaton-index-app");if(!e)return;!function(){try{const e=localStorage.getItem("relaton-index-theme"),t="dark"===e||null===e&&window.matchMedia?.("(prefers-color-scheme: dark)").matches;document.documentElement.classList.toggle("dark",!!t)}catch{}}();const{data:t,shards:n}=function(e){return{data:{title:ta(e),description:na(e),documents:[],generated:e.dataset.generated||null},shards:ea(e)}}(e),s=at({...t});let r=!1;function l(){r||n.shards<=0||(r=!0,async function(e,t,n={}){const s=e.shards;if(s<=0)return;const r=n.flushMs??750,l=n.now??(()=>Date.now()),o=new Array(s).fill(null);let a=[],i=0,c=0,u=-1/0;const d=e=>{let n=!1;for(;i<s&&o[i];)a=a.concat(o[i]),o[i]=null,i++,n=!0;if(!n&&!e)return;const c=l();!e&&c-u<r||(u=c,t(a))},f=Math.max(1,Math.min(n.concurrency??4,s));await Promise.all(Array.from({length:f},async()=>{for(let t=c++;t<s;t=c++){const n=await la(sa("search",t));if(!n){o[t]=[],d(!1);continue}const s=t*e.shardSize;o[t]=n.map((e,t)=>{return r=s+t,{id:(n=e).r??"",title:n.c??"",doctype:n.t||null,stage:n.s||null,date:n.d||null,link:n.l||null,yaml:n.u||null,...void 0===r?{}:{pos:r}};var n,r}),d(!1)}})),d(!0)}(n,e=>{s.documents=e}).catch(e=>{}).finally(()=>{o.loading=!1}))}const o=at({loading:n.shards>0,total:n.total,requestAll:l});var a;n.shards>0&&(a=l,"function"==typeof window.requestIdleCallback?window.requestIdleCallback(()=>a(),{timeout:2e3}):window.setTimeout(a,0)),al(Yo,{data:s,hydration:o,loadDetail:oa(n)}).mount(e)}"loading"===document.readyState?document.addEventListener("DOMContentLoaded",aa,{once:!0}):aa()}();
@@ -0,0 +1,3 @@
1
+ /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
2
+ @layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}::backdrop{--tw-space-y-reverse:0;--tw-divide-y-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial}}}@layer theme{:root,:host{--font-sans:"Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-emerald-100:#d0fae5;--color-emerald-300:#5ee9b5;--color-emerald-500:#00bb7f;--color-emerald-700:#007956;--color-emerald-900:#004e3b;--color-slate-50:#f8fafc;--color-slate-100:#f1f5f9;--color-slate-200:#e2e8f0;--color-slate-300:#cad5e2;--color-slate-400:#90a1b9;--color-slate-500:#62748e;--color-slate-600:#45556c;--color-slate-700:#314158;--color-slate-800:#1d293d;--color-slate-900:#0f172b;--color-slate-950:#020618;--color-white:#fff;--spacing:.25rem;--container-5xl:64rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--font-weight-semibold:600;--tracking-tight:-.025em;--tracking-wide:.025em;--leading-relaxed:1.625;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand:#1e6bb8;--color-brand-dark:#4a9fe0}@supports (color:color(display-p3 0 0 0)){:root,:host{--color-emerald-100:color(display-p3 .848335 .975974 .901691);--color-emerald-300:color(display-p3 .524941 .903425 .722352);--color-emerald-500:color(display-p3 .267113 .726847 .508397);--color-emerald-700:color(display-p3 .164041 .470229 .343508);--color-emerald-900:color(display-p3 .117821 .302975 .234501);--color-slate-50:color(display-p3 .974377 .979815 .986207);--color-slate-100:color(display-p3 .947345 .959969 .97483);--color-slate-200:color(display-p3 .890322 .909405 .939294);--color-slate-300:color(display-p3 .800294 .834432 .882803);--color-slate-400:color(display-p3 .577446 .629622 .716602);--color-slate-500:color(display-p3 .397645 .452653 .547642);--color-slate-600:color(display-p3 .283418 .332214 .416355);--color-slate-700:color(display-p3 .205992 .253487 .336039);--color-slate-800:color(display-p3 .121994 .158688 .232363);--color-slate-900:color(display-p3 .0639692 .0891152 .163036);--color-slate-950:color(display-p3 .0102437 .0227555 .0878731)}}@supports (color:lab(0% 0 0)){:root,:host{--color-emerald-100:lab(94.9004% -17.0769 5.63836);--color-emerald-300:lab(83.9203% -48.7124 13.8849);--color-emerald-500:lab(66.9756% -58.27 19.5419);--color-emerald-700:lab(44.4871% -41.0396 11.0361);--color-emerald-900:lab(28.8637% -26.9249 5.45986);--color-slate-50:lab(98.1434% -.369519 -1.05966);--color-slate-100:lab(96.286% -.852436 -2.46847);--color-slate-200:lab(91.7353% -.998765 -4.76968);--color-slate-300:lab(84.7652% -1.94535 -7.93337);--color-slate-400:lab(65.5349% -2.25151 -14.5072);--color-slate-500:lab(48.0876% -2.03595 -16.5814);--color-slate-600:lab(35.5623% -1.74978 -15.4316);--color-slate-700:lab(26.9569% -1.47016 -15.6993);--color-slate-800:lab(16.132% -.318035 -14.6672);--color-slate-900:lab(7.78673% 1.82345 -15.0537);--color-slate-950:lab(1.76974% 1.32743 -9.28855)}}}@layer base{*,:after,:before{box-sizing:border-box;border:0 solid;margin:0;padding:0}::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::-webkit-file-upload-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::-webkit-file-upload-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:-webkit-any([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:-webkit-any([multiple],[size])) optgroup option{padding-inline-start:20px}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::-webkit-file-upload-button{margin-inline-end:4px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-year-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-month-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-day-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-hour-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-minute-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-second-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-millisecond-field{padding-block-start:0;padding-block-end:0}::-webkit-datetime-edit-meridiem-field{padding-block-start:0;padding-block-end:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button{-webkit-appearance:button;appearance:button}input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;appearance:button}::-webkit-file-upload-button{-webkit-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.pointer-events-none{pointer-events:none}.visible{visibility:visible}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-y-0{top:0;bottom:0}.top-0{top:0}.left-3{left:calc(var(--spacing) * 3)}.z-10{z-index:10}.-mx-4{margin-inline:calc(var(--spacing) * -4)}.mx-auto{margin-inline-start:auto;margin-inline-end:auto}.mt-0\.5{margin-top:calc(var(--spacing) * .5)}.mt-1{margin-top:var(--spacing)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mb-1{margin-bottom:var(--spacing)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.ml-0\.5{margin-left:calc(var(--spacing) * .5)}.block{display:block}.flex{display:flex}.grid{display:grid}.inline{display:inline}.inline-flex{display:inline-flex}.h-3\.5{height:calc(var(--spacing) * 3.5)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.min-h-screen{min-height:100vh}.w-3\.5{width:calc(var(--spacing) * 3.5)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-28{width:calc(var(--spacing) * 28)}.w-full{width:100%}.max-w-5xl{max-width:var(--container-5xl)}.min-w-0{min-width:0}.min-w-56{min-width:calc(var(--spacing) * 56)}.flex-1{flex:1}.shrink-0{flex-shrink:0}.resize{resize:both}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}.items-baseline{align-items:baseline}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:var(--spacing)}.gap-1\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}:where(.space-y-1>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(var(--spacing) * var(--tw-space-y-reverse));margin-block-end:calc(var(--spacing) * calc(1 - var(--tw-space-y-reverse)))}.gap-x-6{column-gap:calc(var(--spacing) * 6)}.gap-y-2{row-gap:calc(var(--spacing) * 2)}:where(.divide-y>:not(:last-child)){--tw-divide-y-reverse:0;border-bottom-style:var(--tw-border-style);border-top-style:var(--tw-border-style);border-top-width:calc(1px * var(--tw-divide-y-reverse));border-bottom-width:calc(1px * calc(1 - var(--tw-divide-y-reverse)))}:where(.divide-slate-200>:not(:last-child)){border-color:var(--color-slate-200)}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rounded{border-radius:.25rem}.rounded-full{border-radius:2147483647px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-brand{border-color:var(--color-brand)}.border-emerald-500{border-color:var(--color-emerald-500)}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-300{border-color:var(--color-slate-300)}.bg-brand{background-color:var(--color-brand)}.bg-emerald-100{background-color:var(--color-emerald-100)}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-slate-50{background-color:var(--color-slate-50)}.bg-slate-50\/90{background-color:#f8fafce6}@supports (color:color-mix(in lab, red, red)){.bg-slate-50\/90{background-color:color-mix(in oklab, var(--color-slate-50) 90%, transparent)}}.bg-slate-100{background-color:var(--color-slate-100)}.bg-white{background-color:var(--color-white)}.p-0\.5{padding:calc(var(--spacing) * .5)}.p-2{padding:calc(var(--spacing) * 2)}.p-4{padding:calc(var(--spacing) * 4)}.px-1\.5{padding-inline:calc(var(--spacing) * 1.5)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.py-0\.5{padding-block:calc(var(--spacing) * .5)}.py-1{padding-block:var(--spacing)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-4{padding-block:calc(var(--spacing) * 4)}.py-5{padding-block:calc(var(--spacing) * 5)}.py-6{padding-block:calc(var(--spacing) * 6)}.py-8{padding-block:calc(var(--spacing) * 8)}.py-16{padding-block:calc(var(--spacing) * 16)}.pr-3{padding-right:calc(var(--spacing) * 3)}.pl-9{padding-left:calc(var(--spacing) * 9)}.text-center{text-align:center}.font-mono{font-family:var(--font-mono)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.leading-relaxed{--tw-leading:var(--leading-relaxed);line-height:var(--leading-relaxed)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.text-brand{color:var(--color-brand)}.text-emerald-700{color:var(--color-emerald-700)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-900{color:var(--color-slate-900)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.uppercase{text-transform:uppercase}.opacity-0{opacity:0}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.outline-none{--tw-outline-style:none;outline-style:none}@media (hover:hover){.group-hover\:text-brand:is(:where(.group):hover *){color:var(--color-brand)}.group-hover\:opacity-100:is(:where(.group):hover *){opacity:1}.hover\:border-brand:hover{border-color:var(--color-brand)}.hover\:border-emerald-500:hover{border-color:var(--color-emerald-500)}.hover\:bg-slate-100:hover{background-color:var(--color-slate-100)}.hover\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\:text-brand:hover{color:var(--color-brand)}.hover\:underline:hover{text-decoration-line:underline}}.focus\:border-brand:focus{border-color:var(--color-brand)}.focus\:ring-2:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus\:ring-brand\/30:focus{--tw-ring-color:#1e6bb84d}@supports (color:color-mix(in lab, red, red)){.focus\:ring-brand\/30:focus{--tw-ring-color:color-mix(in oklab, var(--color-brand) 30%, transparent)}}.disabled\:opacity-40:disabled{opacity:.4}@media (min-width:40rem){.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}}:where(.dark\:divide-slate-800:where(.dark,.dark *)>:not(:last-child)){border-color:var(--color-slate-800)}.dark\:border-slate-700:where(.dark,.dark *){border-color:var(--color-slate-700)}.dark\:border-slate-800:where(.dark,.dark *){border-color:var(--color-slate-800)}.dark\:bg-emerald-900\/50:where(.dark,.dark *){background-color:#004e3b80}@supports (color:color-mix(in lab, red, red)){.dark\:bg-emerald-900\/50:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-emerald-900) 50%, transparent)}}.dark\:bg-slate-800:where(.dark,.dark *){background-color:var(--color-slate-800)}.dark\:bg-slate-900:where(.dark,.dark *){background-color:var(--color-slate-900)}.dark\:bg-slate-950:where(.dark,.dark *){background-color:var(--color-slate-950)}.dark\:bg-slate-950\/90:where(.dark,.dark *){background-color:#020618e6}@supports (color:color-mix(in lab, red, red)){.dark\:bg-slate-950\/90:where(.dark,.dark *){background-color:color-mix(in oklab, var(--color-slate-950) 90%, transparent)}}.dark\:text-brand-dark:where(.dark,.dark *){color:var(--color-brand-dark)}.dark\:text-emerald-300:where(.dark,.dark *){color:var(--color-emerald-300)}.dark\:text-slate-100:where(.dark,.dark *){color:var(--color-slate-100)}.dark\:text-slate-300:where(.dark,.dark *){color:var(--color-slate-300)}.dark\:text-slate-400:where(.dark,.dark *){color:var(--color-slate-400)}.dark\:text-slate-500:where(.dark,.dark *){color:var(--color-slate-500)}.dark\:text-slate-600:where(.dark,.dark *){color:var(--color-slate-600)}@media (hover:hover){.dark\:group-hover\:text-brand-dark:where(.dark,.dark *):is(:where(.group):hover *){color:var(--color-brand-dark)}.dark\:hover\:bg-slate-800:where(.dark,.dark *):hover{background-color:var(--color-slate-800)}}}#relaton-index-app{font-family:var(--font-sans);-webkit-font-smoothing:antialiased;line-height:1.5}#relaton-index-app>.documents[hidden]{display:none}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-divide-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}
3
+ /*$vite$:1*/