diff --git a/404.html b/404.html index 115c1e6b..9b53e447 100644 --- a/404.html +++ b/404.html @@ -6,9 +6,9 @@ 404 | Vue Qrcode Reader - + - + @@ -16,8 +16,8 @@ -
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MIT License.

- +
Skip to content

404

PAGE NOT FOUND

But if you don't change your direction, and if you keep looking, you may end up where you are heading.

Released under the MIT License.

+ \ No newline at end of file diff --git a/api/QrcodeCapture.html b/api/QrcodeCapture.html index c8487c24..52c0e952 100644 --- a/api/QrcodeCapture.html +++ b/api/QrcodeCapture.html @@ -6,21 +6,21 @@ QrcodeCapture | Vue Qrcode Reader - + - + - - + + - + -
Skip to content

QrcodeCapture

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes¹
  1. It doesn't work in web apps added to home screen (PWA mode) on iOS prior to 11.3 (see this StackOverflow question)

Events

detect

  • Payload Type: DetectedBarcode[]

The component renders to a simple file picker input element. Clicking opens a file dialog. On supporting mobile devices the camera is started to take a picture. The selected images are directly scanned and positive results are indicated by the detect event. You can also select multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

decode removed in v5.0.0

Use detect instead. TODO: link old docs.

Props

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-capture :formats="['qr_code', 'code_128']"></qrcode-capture>

disabled, capture, multiple, ...

Technically, QrcodeCapture does not explicitly define any other props. But checkout the components template:

html
<template>
+    
Skip to content

QrcodeCapture

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes¹
  1. It doesn't work in web apps added to home screen (PWA mode) on iOS prior to 11.3 (see this StackOverflow question)

Events

detect

  • Payload Type: DetectedBarcode[]

The component renders to a simple file picker input element. Clicking opens a file dialog. On supporting mobile devices the camera is started to take a picture. The selected images are directly scanned and positive results are indicated by the detect event. You can also select multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

decode removed in v5.0.0

Use detect instead. TODO: link old docs.

Props

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-capture :formats="['qr_code', 'code_128']"></qrcode-capture>

disabled, capture, multiple, ...

Technically, QrcodeCapture does not explicitly define any other props. But checkout the components template:

html
<template>
   <input
     @change="onChangeInput"
     type="file"
@@ -29,8 +29,8 @@
     capture="environment"
     multiple
   />
-</template>

Because the input element is the root element of the component and because Vue components accept fallthrough attributes you can make use of any valid input attribute:

html
<qrcode-capture disabled />

You can also override attributes. To remove attributes, set them to null:

html
<qrcode-capture :capture="null" />

Slots

no slots

Released under the MIT License.

- +</template>

Because the input element is the root element of the component and because Vue components accept fallthrough attributes you can make use of any valid input attribute:

html
<qrcode-capture disabled />

You can also override attributes. To remove attributes, set them to null:

html
<qrcode-capture :capture="null" />

Slots

no slots

Released under the MIT License.

+ \ No newline at end of file diff --git a/api/QrcodeDropZone.html b/api/QrcodeDropZone.html index 261a0dd2..6f23a2b5 100644 --- a/api/QrcodeDropZone.html +++ b/api/QrcodeDropZone.html @@ -6,21 +6,21 @@ QrcodeDropZone | Vue Qrcode Reader - + - + - - + + - + -
Skip to content

QrcodeDropZone

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes

Events

detect

  • Payload Type: DetectedBarcode[]

You can drag-and-drop image files from your desktop or images embedded into other web pages anywhere in the area the component occupies. The images are directly scanned and positive results are indicated by the detect event. You can also drop multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

error new in v5.0.0

Error events are emitted when a dropped url can't be fetched due to CORS or a dropped file has an unsupported file type.

html
<qrcode-drop-zone @detect="onDetect">
+    
Skip to content

QrcodeDropZone

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes

Events

detect

  • Payload Type: DetectedBarcode[]

You can drag-and-drop image files from your desktop or images embedded into other web pages anywhere in the area the component occupies. The images are directly scanned and positive results are indicated by the detect event. You can also drop multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

error new in v5.0.0

Error events are emitted when a dropped url can't be fetched due to CORS or a dropped file has an unsupported file type.

html
<qrcode-drop-zone @detect="onDetect">
   <!-- ... -->
 </qrcode-drop-zone>
javascript
methods: {
   onError (error) {
@@ -33,7 +33,7 @@
       // idk, open an issue ¯\_(ツ)_/¯
     }
   }
-}

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-drop-zone :formats="['qr_code', 'code_128']"></qrcode-drop-zone>

dragover

  • Payload Type: Boolean

When the user is dragging something over the the component you might want to apply some emphasizing styling. Do that by reacting to the dragover event.

html
<qrcode-drop-zone @dragover="onDragOver">
+}

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-drop-zone :formats="['qr_code', 'code_128']"></qrcode-drop-zone>

dragover

  • Payload Type: Boolean

When the user is dragging something over the the component you might want to apply some emphasizing styling. Do that by reacting to the dragover event.

html
<qrcode-drop-zone @dragover="onDragOver">
   <div :class="{ highlight: draggingOver }">
     <!-- ... -->
   </div>
@@ -47,10 +47,10 @@
   onDragOver (draggingOver) {
     this.draggingOver = draggingOver
   }
-}

WARNING

This is a custom event not to be confused with native dragover. If you really need to listen for the DOM event instead, use Vues native event modifier.

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

Props

no props

Slots

default

This component merely renders a wrapper div. Its height is defined by the content inside so it will have zero height if you don't provide any content.

html
<qrcode-drop-zone>
+}

WARNING

This is a custom event not to be confused with native dragover. If you really need to listen for the DOM event instead, use Vues native event modifier.

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

Props

no props

Slots

default

This component merely renders a wrapper div. Its height is defined by the content inside so it will have zero height if you don't provide any content.

html
<qrcode-drop-zone>
   <b>put anything here</b>
-</qrcode-drop-zone>

Released under the MIT License.

- +</qrcode-drop-zone>

Released under the MIT License.

+ \ No newline at end of file diff --git a/api/QrcodeStream.html b/api/QrcodeStream.html index eb59616c..1bce9216 100644 --- a/api/QrcodeStream.html +++ b/api/QrcodeStream.html @@ -6,21 +6,21 @@ QrcodeStream | Vue Qrcode Reader - + - + - - + + - + -
Skip to content

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

  • Payload Type: DetectedBarcode[]

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
+    
Skip to content

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

  • Payload Type: DetectedBarcode[]

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
   onDetect (detectedCodes) {
     // ...
   }
@@ -65,11 +65,11 @@
       { "x": 342, "y": 375 }
     ]
   }
-]

TIP

If you scan the same QR code multiple times in a row, detect is still only emitted once. When you hold a QR code in the camera, frames are actually decoded multiple times a second but you don't want to be flooded with detect events that often. That's why the last decoded QR code is always cached and only new results are propagated. However changing the value of paused resets this internal cache.

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. By default, only QR codes are selected, so if you want to scan other barcode formats, you have to modify this prop. See: supported formats.

html
<qrcode-stream :formats="['qr_code', 'code_128']"></qrcode-stream>

WARNING

Don't select more barcode formats than needed. Scanning becomes more expensive the more formats you select.

Under the hood, we use the standard BarcodeDetector browser API. Support varies across devices, operating systems and browsers. The component will prefer to use the native implementation if available and otherwise falls back to a polyfill implementation. Note that even if the native implementation is availabe,
the component still might use the polyfill. For example, if the native implementation only supports the format 'qr_code' but the you select the formats ['qr_code', 'aztec'].

camera-on since v5.0.0

  • Payload Type: Promise<MediaTrackCapabilities>

It might take a while before the component is ready and the scanning process starts. The user has to be asked for camera access permission first and the camera stream has to be loaded.

If you want to show a loading indicator, you can listen for the camera-on event. It's emitted as soon as the camera start streaming.

It carries a promise which resolves with the cameras MediaTrackCapabilities when everything is ready.

html
<qrcode-stream @camera-on="onReady"></qrcode-stream>
javascript
methods: {
+]

TIP

If you scan the same QR code multiple times in a row, detect is still only emitted once. When you hold a QR code in the camera, frames are actually decoded multiple times a second but you don't want to be flooded with detect events that often. That's why the last decoded QR code is always cached and only new results are propagated. However changing the value of paused resets this internal cache.

formats since v5.3.0

  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. By default, only QR codes are selected, so if you want to scan other barcode formats, you have to modify this prop. See: supported formats.

html
<qrcode-stream :formats="['qr_code', 'code_128']"></qrcode-stream>

WARNING

Don't select more barcode formats than needed. Scanning becomes more expensive the more formats you select.

Under the hood, we use the standard BarcodeDetector browser API. Support varies across devices, operating systems and browsers. The component will prefer to use the native implementation if available and otherwise falls back to a polyfill implementation. Note that even if the native implementation is availabe,
the component still might use the polyfill. For example, if the native implementation only supports the format 'qr_code' but the you select the formats ['qr_code', 'aztec'].

camera-on since v5.0.0

  • Payload Type: Promise<MediaTrackCapabilities>

It might take a while before the component is ready and the scanning process starts. The user has to be asked for camera access permission first and the camera stream has to be loaded.

If you want to show a loading indicator, you can listen for the camera-on event. It's emitted as soon as the camera start streaming.

It carries a promise which resolves with the cameras MediaTrackCapabilities when everything is ready.

html
<qrcode-stream @camera-on="onReady"></qrcode-stream>
javascript
methods: {
   onReady(capabilities) {
     // hide loading indicator
   }
-}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

camera-off since v5.0.0

  • Payload Type: void

Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.

error since v5.0.0

  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
+}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

camera-off since v5.0.0

  • Payload Type: void

Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.

error since v5.0.0

  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
   onError(error) {
     if (error.name === 'NotAllowedError') {
       // user denied camera access permission
@@ -85,7 +85,7 @@
       // browser seems to be lacking features
     }
   }
-}

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

init removed in v5.0.0

Use camera-on/error instead.

docs for v4.0.0

camera removed in v5.0.0

Use constraints instead.

docs for v4.0.0

Props

paused since v5.0.0

  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: Function
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives the location object as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that this scanning frequency has to be increased. So if you want to go easy on your target device you might not want to enable tracking.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
+}

decode removed in v5.0.0

Use detect instead.

docs for v4.0.0

init removed in v5.0.0

Use camera-on/error instead.

docs for v4.0.0

camera removed in v5.0.0

Use constraints instead.

docs for v4.0.0

Props

paused since v5.0.0

  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: (codes: DetectedBarcode[], ctx: CanvasRenderingContext2D) => void
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives an array of detected barcodes as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that the scanning frequency is increased when you provide a track function, which might hurt performance perceptibly. So if you want to go easy on your target device you might want to keep tracking disabled.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
   audio: false,
   video: the_constraint_object_you_provide
 })

Every time the prop is modified, a new camera stream is requested so the camera-on event is emitted again. You can catch errors with the error event. An error can occur for example when you try to use the front camera on a device that doesn't have one.

html
<qrcode-stream
@@ -119,8 +119,8 @@
   }
 }

Slots

default

Any distributed content overlays the camera stream, wrapped in a position: absolute container.

html
<qrcode-stream>
   <b>stuff here overlays the camera stream</b>
-</qrcode-stream>

Released under the MIT License.

- +</qrcode-stream>

Released under the MIT License.

+ \ No newline at end of file diff --git a/assets/api_QrcodeCapture.md.GlYdj7pr.js b/assets/api_QrcodeCapture.md.pRQZbi1Y.js similarity index 99% rename from assets/api_QrcodeCapture.md.GlYdj7pr.js rename to assets/api_QrcodeCapture.md.pRQZbi1Y.js index ea1cec2a..e1383e01 100644 --- a/assets/api_QrcodeCapture.md.GlYdj7pr.js +++ b/assets/api_QrcodeCapture.md.pRQZbi1Y.js @@ -1,4 +1,4 @@ -import{_ as n,a as l,b as o,c as r,d as h}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as p,D as d,c,k as e,a as t,I as a,R as i,o as k}from"./chunks/framework.BeH60Y6U.js";const I=JSON.parse('{"title":"QrcodeCapture","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeCapture.md","filePath":"api/QrcodeCapture.md","lastUpdated":1708022193000}'),u={name:"api/QrcodeCapture.md"},g=i('

QrcodeCapture

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes¹
  1. It doesn't work in web apps added to home screen (PWA mode) on iOS prior to 11.3 (see this StackOverflow question)

Events

detect

The component renders to a simple file picker input element. Clicking opens a file dialog. On supporting mobile devices the camera is started to take a picture. The selected images are directly scanned and positive results are indicated by the detect event. You can also select multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

',10),m={id:"decode",tabindex:"-1"},E=e("code",null,"decode",-1),y=e("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),_=e("p",null,[t("Use "),e("code",null,"detect"),t(" instead. TODO: link old docs.")],-1),b=e("h2",{id:"props",tabindex:"-1"},[t("Props "),e("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),f={id:"formats",tabindex:"-1"},v=e("code",null,"formats",-1),F=e("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),C=i(`

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-capture :formats="['qr_code', 'code_128']"></qrcode-capture>

disabled, capture, multiple, ...

Technically, QrcodeCapture does not explicitly define any other props. But checkout the components template:

html
<template>
+import{_ as n,a as l,b as o,c as r,d as h}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as p,D as d,c,k as e,a as t,I as a,R as i,o as k}from"./chunks/framework.CI0_Jyb9.js";const I=JSON.parse('{"title":"QrcodeCapture","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeCapture.md","filePath":"api/QrcodeCapture.md","lastUpdated":1708022193000}'),u={name:"api/QrcodeCapture.md"},g=i('

QrcodeCapture

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes¹
  1. It doesn't work in web apps added to home screen (PWA mode) on iOS prior to 11.3 (see this StackOverflow question)

Events

detect

  • Payload Type: DetectedBarcode[]

The component renders to a simple file picker input element. Clicking opens a file dialog. On supporting mobile devices the camera is started to take a picture. The selected images are directly scanned and positive results are indicated by the detect event. You can also select multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

',10),m={id:"decode",tabindex:"-1"},E=e("code",null,"decode",-1),y=e("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),_=e("p",null,[t("Use "),e("code",null,"detect"),t(" instead. TODO: link old docs.")],-1),b=e("h2",{id:"props",tabindex:"-1"},[t("Props "),e("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),f={id:"formats",tabindex:"-1"},v=e("code",null,"formats",-1),F=e("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),C=i(`
  • Payload Type: BarcodeDetectorOptions['formats']
  • Default: ['qr_code']

The formats prop defines which barcode formats are detected. Supported Formats.

html
<qrcode-capture :formats="['qr_code', 'code_128']"></qrcode-capture>

disabled, capture, multiple, ...

Technically, QrcodeCapture does not explicitly define any other props. But checkout the components template:

html
<template>
   <input
     @change="onChangeInput"
     type="file"
diff --git a/assets/api_QrcodeCapture.md.GlYdj7pr.lean.js b/assets/api_QrcodeCapture.md.pRQZbi1Y.lean.js
similarity index 95%
rename from assets/api_QrcodeCapture.md.GlYdj7pr.lean.js
rename to assets/api_QrcodeCapture.md.pRQZbi1Y.lean.js
index 3626f7a9..14c6e06e 100644
--- a/assets/api_QrcodeCapture.md.GlYdj7pr.lean.js
+++ b/assets/api_QrcodeCapture.md.pRQZbi1Y.lean.js
@@ -1 +1 @@
-import{_ as n,a as l,b as o,c as r,d as h}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as p,D as d,c,k as e,a as t,I as a,R as i,o as k}from"./chunks/framework.BeH60Y6U.js";const I=JSON.parse('{"title":"QrcodeCapture","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeCapture.md","filePath":"api/QrcodeCapture.md","lastUpdated":1708022193000}'),u={name:"api/QrcodeCapture.md"},g=i("",10),m={id:"decode",tabindex:"-1"},E=e("code",null,"decode",-1),y=e("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),_=e("p",null,[t("Use "),e("code",null,"detect"),t(" instead. TODO: link old docs.")],-1),b=e("h2",{id:"props",tabindex:"-1"},[t("Props "),e("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),f={id:"formats",tabindex:"-1"},v=e("code",null,"formats",-1),F=e("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),C=i("",12);function q(x,B,T,P,S,A){const s=d("Badge");return k(),c("div",null,[g,e("h3",m,[E,t(),a(s,{text:"removed in v5.0.0",type:"danger"}),t(),y]),_,b,e("h3",f,[v,t(),a(s,{text:"since v5.3.0",type:"info"}),t(),F]),C])}const Q=p(u,[["render",q]]);export{I as __pageData,Q as default};
+import{_ as n,a as l,b as o,c as r,d as h}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as p,D as d,c,k as e,a as t,I as a,R as i,o as k}from"./chunks/framework.CI0_Jyb9.js";const I=JSON.parse('{"title":"QrcodeCapture","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeCapture.md","filePath":"api/QrcodeCapture.md","lastUpdated":1708022193000}'),u={name:"api/QrcodeCapture.md"},g=i("",10),m={id:"decode",tabindex:"-1"},E=e("code",null,"decode",-1),y=e("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),_=e("p",null,[t("Use "),e("code",null,"detect"),t(" instead. TODO: link old docs.")],-1),b=e("h2",{id:"props",tabindex:"-1"},[t("Props "),e("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),f={id:"formats",tabindex:"-1"},v=e("code",null,"formats",-1),F=e("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),C=i("",12);function q(x,B,T,P,S,A){const s=d("Badge");return k(),c("div",null,[g,e("h3",m,[E,t(),a(s,{text:"removed in v5.0.0",type:"danger"}),t(),y]),_,b,e("h3",f,[v,t(),a(s,{text:"since v5.3.0",type:"info"}),t(),F]),C])}const Q=p(u,[["render",q]]);export{I as __pageData,Q as default};
diff --git a/assets/api_QrcodeDropZone.md.DTUFZSpV.js b/assets/api_QrcodeDropZone.md.Cu2lV0vM.js
similarity index 99%
rename from assets/api_QrcodeDropZone.md.DTUFZSpV.js
rename to assets/api_QrcodeDropZone.md.Cu2lV0vM.js
index 69f71afb..ce6d2027 100644
--- a/assets/api_QrcodeDropZone.md.DTUFZSpV.js
+++ b/assets/api_QrcodeDropZone.md.Cu2lV0vM.js
@@ -1,4 +1,4 @@
-import{_ as n,a as l,b as r,c as h,d as p}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as d,c as k,k as s,a as e,I as t,R as a,o as c}from"./chunks/framework.BeH60Y6U.js";const N=JSON.parse('{"title":"QrcodeDropZone","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeDropZone.md","filePath":"api/QrcodeDropZone.md","lastUpdated":1703524587000}'),g={name:"api/QrcodeDropZone.md"},E=a('

QrcodeDropZone

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes

Events

detect

  • Payload Type: DetectedBarcode[]

You can drag-and-drop image files from your desktop or images embedded into other web pages anywhere in the area the component occupies. The images are directly scanned and positive results are indicated by the detect event. You can also drop multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

',9),y={id:"error",tabindex:"-1"},u=s("code",null,"error",-1),m=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),_=a(`

Error events are emitted when a dropped url can't be fetched due to CORS or a dropped file has an unsupported file type.

html
<qrcode-drop-zone @detect="onDetect">
+import{_ as n,a as l,b as r,c as h,d as p}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as d,c as k,k as s,a as e,I as t,R as a,o as c}from"./chunks/framework.CI0_Jyb9.js";const N=JSON.parse('{"title":"QrcodeDropZone","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeDropZone.md","filePath":"api/QrcodeDropZone.md","lastUpdated":1703524587000}'),g={name:"api/QrcodeDropZone.md"},E=a('

QrcodeDropZone

Browser Support

The newest API this component depend on is the FileReader API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
10+YesYesYesYes

Events

detect

  • Payload Type: DetectedBarcode[]

You can drag-and-drop image files from your desktop or images embedded into other web pages anywhere in the area the component occupies. The images are directly scanned and positive results are indicated by the detect event. You can also drop multiple images at the same time (still one event per image though). If no QR code can be recognized an empty array is emitted.

The structure of the event payload is the same as for the detect event on QrcodeStream.

',9),y={id:"error",tabindex:"-1"},u=s("code",null,"error",-1),m=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),_=a(`

Error events are emitted when a dropped url can't be fetched due to CORS or a dropped file has an unsupported file type.

html
<qrcode-drop-zone @detect="onDetect">
   <!-- ... -->
 </qrcode-drop-zone>
javascript
methods: {
   onError (error) {
diff --git a/assets/api_QrcodeDropZone.md.DTUFZSpV.lean.js b/assets/api_QrcodeDropZone.md.Cu2lV0vM.lean.js
similarity index 95%
rename from assets/api_QrcodeDropZone.md.DTUFZSpV.lean.js
rename to assets/api_QrcodeDropZone.md.Cu2lV0vM.lean.js
index fc20676d..a3caa5a9 100644
--- a/assets/api_QrcodeDropZone.md.DTUFZSpV.lean.js
+++ b/assets/api_QrcodeDropZone.md.Cu2lV0vM.lean.js
@@ -1 +1 @@
-import{_ as n,a as l,b as r,c as h,d as p}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as d,c as k,k as s,a as e,I as t,R as a,o as c}from"./chunks/framework.BeH60Y6U.js";const N=JSON.parse('{"title":"QrcodeDropZone","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeDropZone.md","filePath":"api/QrcodeDropZone.md","lastUpdated":1703524587000}'),g={name:"api/QrcodeDropZone.md"},E=a("",9),y={id:"error",tabindex:"-1"},u=s("code",null,"error",-1),m=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),_=a("",3),v={id:"formats",tabindex:"-1"},b=s("code",null,"formats",-1),f=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),D=a("",9),F={id:"decode",tabindex:"-1"},A=s("code",null,"decode",-1),C=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),q=a("",8);function T(x,B,P,S,I,w){const i=d("Badge");return c(),k("div",null,[E,s("h3",y,[u,e(),t(i,{text:"new in v5.0.0",type:"info"}),e(),m]),_,s("h3",v,[b,e(),t(i,{text:"since v5.3.0",type:"info"}),e(),f]),D,s("h3",F,[A,e(),t(i,{text:"removed in v5.0.0",type:"danger"}),e(),C]),q])}const O=o(g,[["render",T]]);export{N as __pageData,O as default};
+import{_ as n,a as l,b as r,c as h,d as p}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as d,c as k,k as s,a as e,I as t,R as a,o as c}from"./chunks/framework.CI0_Jyb9.js";const N=JSON.parse('{"title":"QrcodeDropZone","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeDropZone.md","filePath":"api/QrcodeDropZone.md","lastUpdated":1703524587000}'),g={name:"api/QrcodeDropZone.md"},E=a("",9),y={id:"error",tabindex:"-1"},u=s("code",null,"error",-1),m=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),_=a("",3),v={id:"formats",tabindex:"-1"},b=s("code",null,"formats",-1),f=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),D=a("",9),F={id:"decode",tabindex:"-1"},A=s("code",null,"decode",-1),C=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),q=a("",8);function T(x,B,P,S,I,w){const i=d("Badge");return c(),k("div",null,[E,s("h3",y,[u,e(),t(i,{text:"new in v5.0.0",type:"info"}),e(),m]),_,s("h3",v,[b,e(),t(i,{text:"since v5.3.0",type:"info"}),e(),f]),D,s("h3",F,[A,e(),t(i,{text:"removed in v5.0.0",type:"danger"}),e(),C]),q])}const O=o(g,[["render",T]]);export{N as __pageData,O as default};
diff --git a/assets/api_QrcodeStream.md.P3i2WWbk.js b/assets/api_QrcodeStream.md.CTYs1BfR.js
similarity index 93%
rename from assets/api_QrcodeStream.md.P3i2WWbk.js
rename to assets/api_QrcodeStream.md.CTYs1BfR.js
index 149f2255..3374bb32 100644
--- a/assets/api_QrcodeStream.md.P3i2WWbk.js
+++ b/assets/api_QrcodeStream.md.CTYs1BfR.js
@@ -1,4 +1,4 @@
-import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as k,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.BeH60Y6U.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1726829926000}'),E={name:"api/QrcodeStream.md"},g=t('

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

  • Payload Type: DetectedBarcode[]

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
+import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as k,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.CI0_Jyb9.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1735330400000}'),E={name:"api/QrcodeStream.md"},g=t('

QrcodeStream

Browser Support

This component fundamentally depends on the Stream API. Vue Native is not supported (see #206).

Internet ExplorerEdgeFirefoxChromeSafari
NoYesYesYes¹Yes²
  1. Chrome requires HTTPS or localhost (see Troubleshooting for help)
  2. Safari also requires HTTPS even on localhost (see #48). Support is limited for:
    • web apps added to home screen (PWA mode): at least iOS 13.4 (see #76)
    • iOS browsers other than Safari (Chrome for iOS, Firefox for iOS, ...): at least iOS 14.3 (see #29)
    • WkWebView component in native iOS apps: at least iOS 14.3 (see #29)

Events

detect

  • Payload Type: DetectedBarcode[]

Once a stream from the users camera is loaded, it's displayed and continuously scanned for QR codes. Results are indicated by the detect event.

html
<qrcode-stream @detect="onDetect"></qrcode-stream>
javascript
methods: {
   onDetect (detectedCodes) {
     // ...
   }
@@ -47,7 +47,7 @@ import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js
   onReady(capabilities) {
     // hide loading indicator
   }
-}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

`,7),_={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),T={id:"error",tabindex:"-1"},x=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t(`
  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
+}

WARNING

In Chrome you can't prompt users for permissions a second time. Once denied, users can only manually grant them. Make sure your users understand why you need access to their camera before you mount this component. Otherwise they might panic and deny and then get frustrated because they don't know how to change their decision.

`,7),_={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),x={id:"error",tabindex:"-1"},T=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t(`
  • Payload Type: Error

Error events are emitted in particular when camera initialization fails. This can happen a couple of reasons.

html
<qrcode-stream @error="onError"></qrcode-stream>
javascript
methods: {
   onError(error) {
     if (error.name === 'NotAllowedError') {
       // user denied camera access permission
@@ -63,7 +63,7 @@ import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js
       // browser seems to be lacking features
     }
   }
-}
`,4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),N=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),R=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),z=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),Y=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t(`
  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: Function
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives the location object as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that this scanning frequency has to be increased. So if you want to go easy on your target device you might not want to enable tracking.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
+}
`,4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),R=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),N=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),z=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),Y=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t(`
  • Input Type: Boolean
  • Default: false

Setting this prop to true freezes the camera. Useful if you want to show some microinteraction after successful scans. When you unpause the camera is restarted so the camera-on event is emitted again.

track

  • Input Type: (codes: DetectedBarcode[], ctx: CanvasRenderingContext2D) => void
  • Default: undefined

You can visually highlight detected QR codes in real-time. A transparent canvas overlays the camera stream. When a QR code is detected, its location is painted to the canvas.

To enable this feature, pass a function to track that defines how this should look like. This function is called to produce each frame. It receives an array of detected barcodes as the first argument and a CanvasRenderingContext2D instance as the second argument.

For example check out this demo.

Note that the scanning frequency is increased when you provide a track function, which might hurt performance perceptibly. So if you want to go easy on your target device you might want to keep tracking disabled.

DANGER

Avoid access to reactive properties in this function (like stuff in data, computed or your Vuex store). The function is called several times a second and might cause memory leaks. To be safe don't access this at all.

constraints

  • Input Type: MediaTrackConstraints
  • Default: { facingMode: "environment" }

With this prop you can pass an object with various camera configuration options. For example whether to use front- or rear camera.

The object must be of type MediaTrackConstriants.

The object is passed as-is to getUserMedia, which is the API call for requesting a camera stream:

js
navigator.mediaDevices.getUserMedia({
   audio: false,
   video: the_constraint_object_you_provide
 })

Every time the prop is modified, a new camera stream is requested so the camera-on event is emitted again. You can catch errors with the error event. An error can occur for example when you try to use the front camera on a device that doesn't have one.

html
<qrcode-stream
@@ -97,4 +97,4 @@ import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js
   }
 }

Slots

default

Any distributed content overlays the camera stream, wrapped in a position: absolute container.

html
<qrcode-stream>
   <b>stuff here overlays the camera stream</b>
-</qrcode-stream>
`,28);function Z(ss,is,as,es,ts,ns){const a=k("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),v,s("h3",_,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",T,[x,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),N]),R,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),z]),Y,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=o(E,[["render",Z]]);export{ps as __pageData,rs as default}; +</qrcode-stream>
`,28);function Z(ss,is,as,es,ts,ns){const a=k("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),v,s("h3",_,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",x,[T,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),R]),N,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),z]),Y,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=o(E,[["render",Z]]);export{ps as __pageData,rs as default}; diff --git a/assets/api_QrcodeStream.md.P3i2WWbk.lean.js b/assets/api_QrcodeStream.md.CTYs1BfR.lean.js similarity index 87% rename from assets/api_QrcodeStream.md.P3i2WWbk.lean.js rename to assets/api_QrcodeStream.md.CTYs1BfR.lean.js index 44813b09..de578e82 100644 --- a/assets/api_QrcodeStream.md.P3i2WWbk.lean.js +++ b/assets/api_QrcodeStream.md.CTYs1BfR.lean.js @@ -1 +1 @@ -import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as k,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.BeH60Y6U.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1726829926000}'),E={name:"api/QrcodeStream.md"},g=t("",14),y={id:"formats",tabindex:"-1"},u=s("code",null,"formats",-1),m=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),F=t("",5),C={id:"camera-on",tabindex:"-1"},f=s("code",null,"camera-on",-1),b=s("a",{class:"header-anchor",href:"#camera-on","aria-label":'Permalink to "`camera-on` "'},"​",-1),v=t("",7),_={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),T={id:"error",tabindex:"-1"},x=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t("",4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),N=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),R=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),z=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),Y=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t("",28);function Z(ss,is,as,es,ts,ns){const a=k("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),v,s("h3",_,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",T,[x,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),N]),R,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),z]),Y,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=o(E,[["render",Z]]);export{ps as __pageData,rs as default}; +import{_ as n,a as h,b as l,c as p,d as r}from"./chunks/safari_32x32.Bkuv9jEj.js";import{_ as o,D as k,c as d,k as s,a as i,I as e,R as t,o as c}from"./chunks/framework.CI0_Jyb9.js";const ps=JSON.parse('{"title":"QrcodeStream","description":"","frontmatter":{},"headers":[],"relativePath":"api/QrcodeStream.md","filePath":"api/QrcodeStream.md","lastUpdated":1735330400000}'),E={name:"api/QrcodeStream.md"},g=t("",14),y={id:"formats",tabindex:"-1"},u=s("code",null,"formats",-1),m=s("a",{class:"header-anchor",href:"#formats","aria-label":'Permalink to "`formats` "'},"​",-1),F=t("",5),C={id:"camera-on",tabindex:"-1"},f=s("code",null,"camera-on",-1),b=s("a",{class:"header-anchor",href:"#camera-on","aria-label":'Permalink to "`camera-on` "'},"​",-1),v=t("",7),_={id:"camera-off",tabindex:"-1"},q=s("code",null,"camera-off",-1),B=s("a",{class:"header-anchor",href:"#camera-off","aria-label":'Permalink to "`camera-off` "'},"​",-1),A=s("ul",null,[s("li",null,[s("strong",null,"Payload Type:"),i(),s("code",null,"void")])],-1),D=s("p",null,"Emitted whenever the camera is turned off. This happens whenever the camera constraints are modified and the camera has to be restarted or a different camera is started. For example when switching between front and rear camera.",-1),x={id:"error",tabindex:"-1"},T=s("code",null,"error",-1),w=s("a",{class:"header-anchor",href:"#error","aria-label":'Permalink to "`error` "'},"​",-1),S=t("",4),P={id:"decode",tabindex:"-1"},I=s("code",null,"decode",-1),R=s("a",{class:"header-anchor",href:"#decode","aria-label":'Permalink to "`decode` "'},"​",-1),N=s("p",null,[i("Use "),s("code",null,"detect"),i(" instead.")],-1),j=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),M={id:"init",tabindex:"-1"},V=s("code",null,"init",-1),Q=s("a",{class:"header-anchor",href:"#init","aria-label":'Permalink to "`init` "'},"​",-1),O=s("p",null,[i("Use "),s("code",null,"camera-on"),i("/"),s("code",null,"error"),i(" instead.")],-1),W=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),U={id:"camera",tabindex:"-1"},H=s("code",null,"camera",-1),z=s("a",{class:"header-anchor",href:"#camera","aria-label":'Permalink to "`camera` "'},"​",-1),Y=s("p",null,[i("Use "),s("code",null,"constraints"),i(" instead.")],-1),$=s("p",null,[s("a",{href:"https://github.com/gruhn/vue-qrcode-reader/blob/781484fccd186e8e30c6191f85beec3bd174ef59/docs/api/QrcodeStream.md",target:"_blank",rel:"noreferrer"},"docs for v4.0.0")],-1),G=s("h2",{id:"props",tabindex:"-1"},[i("Props "),s("a",{class:"header-anchor",href:"#props","aria-label":'Permalink to "Props"'},"​")],-1),J={id:"paused",tabindex:"-1"},K=s("code",null,"paused",-1),L=s("a",{class:"header-anchor",href:"#paused","aria-label":'Permalink to "`paused` "'},"​",-1),X=t("",28);function Z(ss,is,as,es,ts,ns){const a=k("Badge");return c(),d("div",null,[g,s("h3",y,[u,i(),e(a,{text:"since v5.3.0",type:"info"}),i(),m]),F,s("h3",C,[f,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),b]),v,s("h3",_,[q,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),B]),A,D,s("h3",x,[T,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),w]),S,s("h3",P,[I,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),R]),N,j,s("h3",M,[V,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),Q]),O,W,s("h3",U,[H,i(),e(a,{text:"removed in v5.0.0",type:"danger"}),i(),z]),Y,$,G,s("h3",J,[K,i(),e(a,{text:"since v5.0.0",type:"info"}),i(),L]),X])}const rs=o(E,[["render",Z]]);export{ps as __pageData,rs as default}; diff --git a/assets/app.CMq4myxa.js b/assets/app.BIV7YYZn.js similarity index 91% rename from assets/app.CMq4myxa.js rename to assets/app.BIV7YYZn.js index 378199db..2f6fc885 100644 --- a/assets/app.CMq4myxa.js +++ b/assets/app.BIV7YYZn.js @@ -1,4 +1,4 @@ -import{v as s,aa as p,ab as u,ac as c,ad as l,ae as f,af as d,ag as m,ah as h,ai as A,aj as g,Y as v,d as P,u as y,j as C,z as w,ak as _,al as b,am as E,an as R}from"./chunks/framework.BeH60Y6U.js";import{t as j}from"./chunks/theme.C8UVLHxp.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=i(j),D=P({name:"VitePressApp",setup(){const{site:e}=y();return C(()=>{w(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),e.value.router.prefetchLinks&&_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function L(){const e=S(),a=O();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function O(){return h(D)}function S(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),__vite__mapDeps([]))),s&&(e=!1),r},o.NotFound)}s&&L().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{L as createApp}; +import{v as s,aa as p,ab as u,ac as c,ad as l,ae as f,af as d,ag as m,ah as h,ai as A,aj as g,Y as v,d as P,u as y,j as C,z as w,ak as _,al as b,am as E,an as R}from"./chunks/framework.CI0_Jyb9.js";import{t as j}from"./chunks/theme.CbsQzOZw.js";function i(e){if(e.extends){const a=i(e.extends);return{...a,...e,async enhanceApp(t){a.enhanceApp&&await a.enhanceApp(t),e.enhanceApp&&await e.enhanceApp(t)}}}return e}const o=i(j),D=P({name:"VitePressApp",setup(){const{site:e}=y();return C(()=>{w(()=>{document.documentElement.lang=e.value.lang,document.documentElement.dir=e.value.dir})}),e.value.router.prefetchLinks&&_(),b(),E(),o.setup&&o.setup(),()=>R(o.Layout)}});async function L(){const e=S(),a=O();a.provide(u,e);const t=c(e.route);return a.provide(l,t),a.component("Content",f),a.component("ClientOnly",d),Object.defineProperties(a.config.globalProperties,{$frontmatter:{get(){return t.frontmatter.value}},$params:{get(){return t.page.value.params}}}),o.enhanceApp&&await o.enhanceApp({app:a,router:e,siteData:m}),{app:a,router:e,data:t}}function O(){return h(D)}function S(){let e=s,a;return A(t=>{let n=g(t),r=null;return n&&(e&&(a=n),(e||a===n)&&(n=n.replace(/\.js$/,".lean.js")),r=v(()=>import(n),__vite__mapDeps([]))),s&&(e=!1),r},o.NotFound)}s&&L().then(({app:e,router:a,data:t})=>{a.go().then(()=>{p(a.route,t.site),e.mount("#app")})});export{L as createApp}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/assets/chunks/@localSearchIndexroot.BiSJWzvQ.js b/assets/chunks/@localSearchIndexroot.BiSJWzvQ.js new file mode 100644 index 00000000..2c8cdbf0 --- /dev/null +++ b/assets/chunks/@localSearchIndexroot.BiSJWzvQ.js @@ -0,0 +1 @@ +const e='{"documentCount":58,"nextId":58,"documentIds":{"0":"/vue-qrcode-reader/api/QrcodeCapture.html#qrcodecapture","1":"/vue-qrcode-reader/api/QrcodeCapture.html#browser-support","2":"/vue-qrcode-reader/api/QrcodeCapture.html#events","3":"/vue-qrcode-reader/api/QrcodeCapture.html#detect","4":"/vue-qrcode-reader/api/QrcodeCapture.html#decode","5":"/vue-qrcode-reader/api/QrcodeCapture.html#props","6":"/vue-qrcode-reader/api/QrcodeCapture.html#formats","7":"/vue-qrcode-reader/api/QrcodeCapture.html#disabled-capture-multiple","8":"/vue-qrcode-reader/api/QrcodeCapture.html#slots","9":"/vue-qrcode-reader/api/QrcodeDropZone.html#qrcodedropzone","10":"/vue-qrcode-reader/api/QrcodeDropZone.html#browser-support","11":"/vue-qrcode-reader/api/QrcodeDropZone.html#events","12":"/vue-qrcode-reader/api/QrcodeDropZone.html#detect","13":"/vue-qrcode-reader/api/QrcodeDropZone.html#error","14":"/vue-qrcode-reader/api/QrcodeDropZone.html#formats","15":"/vue-qrcode-reader/api/QrcodeDropZone.html#dragover","16":"/vue-qrcode-reader/api/QrcodeDropZone.html#decode","17":"/vue-qrcode-reader/api/QrcodeDropZone.html#props","18":"/vue-qrcode-reader/api/QrcodeDropZone.html#slots","19":"/vue-qrcode-reader/api/QrcodeDropZone.html#default","20":"/vue-qrcode-reader/api/QrcodeStream.html#qrcodestream","21":"/vue-qrcode-reader/api/QrcodeStream.html#browser-support","22":"/vue-qrcode-reader/api/QrcodeStream.html#events","23":"/vue-qrcode-reader/api/QrcodeStream.html#detect","24":"/vue-qrcode-reader/api/QrcodeStream.html#formats","25":"/vue-qrcode-reader/api/QrcodeStream.html#camera-on","26":"/vue-qrcode-reader/api/QrcodeStream.html#camera-off","27":"/vue-qrcode-reader/api/QrcodeStream.html#error","28":"/vue-qrcode-reader/api/QrcodeStream.html#decode","29":"/vue-qrcode-reader/api/QrcodeStream.html#init","30":"/vue-qrcode-reader/api/QrcodeStream.html#camera","31":"/vue-qrcode-reader/api/QrcodeStream.html#props","32":"/vue-qrcode-reader/api/QrcodeStream.html#paused","33":"/vue-qrcode-reader/api/QrcodeStream.html#track","34":"/vue-qrcode-reader/api/QrcodeStream.html#constraints","35":"/vue-qrcode-reader/api/QrcodeStream.html#torch","36":"/vue-qrcode-reader/api/QrcodeStream.html#slots","37":"/vue-qrcode-reader/api/QrcodeStream.html#default","38":"/vue-qrcode-reader/demos/DragDrop.html#decode-by-drag-drop","39":"/vue-qrcode-reader/demos/DragDrop.html#source","40":"/vue-qrcode-reader/demos/FullDemo.html#full-demo","41":"/vue-qrcode-reader/demos/FullDemo.html#source","42":"/vue-qrcode-reader/demos/Fullscreen.html#fullscreen","43":"/vue-qrcode-reader/demos/Fullscreen.html#source","44":"/vue-qrcode-reader/demos/LoadingIndicator.html#show-loading-indicator","45":"/vue-qrcode-reader/demos/LoadingIndicator.html#source","46":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#scan-same-qr-code-more-than-once","47":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#source","48":"/vue-qrcode-reader/demos/Simple.html#simple","49":"/vue-qrcode-reader/demos/Simple.html#source","50":"/vue-qrcode-reader/demos/SwitchCamera.html#switch-to-front-camera","51":"/vue-qrcode-reader/demos/SwitchCamera.html#source","52":"/vue-qrcode-reader/demos/Torch.html#torch-flashlight","53":"/vue-qrcode-reader/demos/Torch.html#source","54":"/vue-qrcode-reader/demos/Upload.html#decode-by-upload","55":"/vue-qrcode-reader/demos/Upload.html#source","56":"/vue-qrcode-reader/demos/Validate.html#pause-validate","57":"/vue-qrcode-reader/demos/Validate.html#source"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[2,1,39],"2":[1,1,1],"3":[1,2,69],"4":[1,2,8],"5":[1,1,1],"6":[1,2,25],"7":[4,2,60],"8":[1,1,3],"9":[1,1,1],"10":[2,1,19],"11":[1,1,1],"12":[1,2,64],"13":[1,2,67],"14":[1,2,26],"15":[1,2,65],"16":[1,2,8],"17":[1,1,3],"18":[1,1,1],"19":[1,2,36],"20":[1,1,1],"21":[2,1,58],"22":[1,1,1],"23":[1,2,141],"24":[1,2,92],"25":[2,2,105],"26":[2,2,32],"27":[1,2,73],"28":[1,2,8],"29":[1,2,10],"30":[1,2,8],"31":[1,1,1],"32":[1,2,33],"33":[1,2,118],"34":[1,2,101],"35":[1,2,98],"36":[1,1,1],"37":[1,2,21],"38":[5,1,27],"39":[1,6,176],"40":[2,1,1],"41":[1,3,325],"42":[1,1,26],"43":[1,2,148],"44":[3,1,30],"45":[1,4,61],"46":[7,1,67],"47":[1,8,99],"48":[1,1,38],"49":[1,2,154],"50":[4,1,16],"51":[1,5,90],"52":[3,1,43],"53":[1,3,118],"54":[3,1,52],"55":[1,4,67],"56":[3,1,29],"57":[1,4,134]},"averageFieldLength":[1.5172413793103448,1.9310344827586208,53.46551724137931],"storedFields":{"0":{"title":"QrcodeCapture","titles":[]},"1":{"title":"Browser Support","titles":["QrcodeCapture"]},"2":{"title":"Events","titles":["QrcodeCapture"]},"3":{"title":"detect","titles":["QrcodeCapture","Events"]},"4":{"title":"decode","titles":["QrcodeCapture","Events"]},"5":{"title":"Props","titles":["QrcodeCapture"]},"6":{"title":"formats","titles":["QrcodeCapture","Props"]},"7":{"title":"disabled, capture, multiple, ...","titles":["QrcodeCapture","Props"]},"8":{"title":"Slots","titles":["QrcodeCapture"]},"9":{"title":"QrcodeDropZone","titles":[]},"10":{"title":"Browser Support","titles":["QrcodeDropZone"]},"11":{"title":"Events","titles":["QrcodeDropZone"]},"12":{"title":"detect","titles":["QrcodeDropZone","Events"]},"13":{"title":"error","titles":["QrcodeDropZone","Events"]},"14":{"title":"formats","titles":["QrcodeDropZone","Events"]},"15":{"title":"dragover","titles":["QrcodeDropZone","Events"]},"16":{"title":"decode","titles":["QrcodeDropZone","Events"]},"17":{"title":"Props","titles":["QrcodeDropZone"]},"18":{"title":"Slots","titles":["QrcodeDropZone"]},"19":{"title":"default","titles":["QrcodeDropZone","Slots"]},"20":{"title":"QrcodeStream","titles":[]},"21":{"title":"Browser Support","titles":["QrcodeStream"]},"22":{"title":"Events","titles":["QrcodeStream"]},"23":{"title":"detect","titles":["QrcodeStream","Events"]},"24":{"title":"formats","titles":["QrcodeStream","Events"]},"25":{"title":"camera-on","titles":["QrcodeStream","Events"]},"26":{"title":"camera-off","titles":["QrcodeStream","Events"]},"27":{"title":"error","titles":["QrcodeStream","Events"]},"28":{"title":"decode","titles":["QrcodeStream","Events"]},"29":{"title":"init","titles":["QrcodeStream","Events"]},"30":{"title":"camera","titles":["QrcodeStream","Events"]},"31":{"title":"Props","titles":["QrcodeStream"]},"32":{"title":"paused","titles":["QrcodeStream","Props"]},"33":{"title":"track","titles":["QrcodeStream","Props"]},"34":{"title":"constraints","titles":["QrcodeStream","Props"]},"35":{"title":"torch","titles":["QrcodeStream","Props"]},"36":{"title":"Slots","titles":["QrcodeStream"]},"37":{"title":"default","titles":["QrcodeStream","Slots"]},"38":{"title":"Decode by Drag&Drop","titles":[]},"39":{"title":"Source","titles":["Decode by Drag&Drop",null]},"40":{"title":"Full Demo","titles":[]},"41":{"title":"Source","titles":["Full Demo",null]},"42":{"title":"Fullscreen","titles":[]},"43":{"title":"Source","titles":["Fullscreen",null]},"44":{"title":"Show Loading Indicator","titles":[]},"45":{"title":"Source","titles":["Show Loading Indicator",null]},"46":{"title":"Scan Same QR Code More Than Once","titles":[]},"47":{"title":"Source","titles":["Scan Same QR Code More Than Once",null]},"48":{"title":"Simple","titles":[]},"49":{"title":"Source","titles":["Simple",null]},"50":{"title":"Switch to Front Camera","titles":[]},"51":{"title":"Source","titles":["Switch to Front Camera",null]},"52":{"title":"Torch (Flashlight)","titles":[]},"53":{"title":"Source","titles":["Torch (Flashlight)",null]},"54":{"title":"Decode by Upload","titles":[]},"55":{"title":"Source","titles":["Decode by Upload",null]},"56":{"title":"Pause & Validate","titles":[]},"57":{"title":"Source","titles":["Pause & Validate",null]}},"dirtCount":0,"index":[["|",{"2":{"53":1}}],["\\t\\t",{"2":{"49":1}}],["\\t",{"2":{"49":2}}],["$nexttick",{"2":{"45":1}}],["$refs",{"2":{"43":1}}],["$",{"2":{"41":3,"49":1}}],["`requestfullscreen`",{"2":{"43":3}}],["`bold",{"2":{"41":1}}],["`",{"2":{"41":3,"49":2}}],["`$",{"2":{"41":1}}],["`camera",{"2":{"41":1}}],["`qrcodestream`",{"2":{"41":1}}],["`enumeratedevices`",{"2":{"41":1}}],["+=",{"2":{"41":8,"49":8}}],["+",{"2":{"39":1,"41":2}}],["8",{"2":{"39":1,"41":1,"47":1,"49":1,"57":1}}],["82",{"2":{"23":3}}],["kind",{"2":{"39":1,"41":2,"53":2}}],["key=",{"2":{"39":1,"41":3,"53":1,"55":1}}],["keys",{"2":{"39":2,"41":2}}],["keep",{"2":{"33":1}}],["know",{"2":{"25":1}}],["green",{"2":{"57":1}}],["grained",{"2":{"41":1}}],["grant",{"2":{"25":1,"41":1,"49":1}}],["global",{"2":{"49":1}}],["guarantee",{"2":{"41":1}}],["given",{"2":{"41":1}}],["g",{"2":{"41":1}}],["go",{"2":{"33":1,"42":1}}],["getusermedia",{"2":{"34":2}}],["get",{"2":{"25":1}}],["gt",{"2":{"25":1,"33":1}}],["5",{"2":{"49":1}}],["5cb984",{"2":{"41":1}}],["50px",{"2":{"51":2,"53":2}}],["500",{"2":{"47":1}}],["50",{"2":{"41":1}}],["542",{"2":{"23":1}}],["566",{"2":{"23":2}}],["93",{"2":{"39":1,"41":1}}],["94",{"2":{"23":1}}],["91",{"2":{"23":1}}],["70",{"2":{"23":3}}],["76",{"2":{"21":1}}],["x26",{"2":{"34":2,"51":4,"57":2}}],["x",{"2":{"23":10,"41":7,"49":2}}],["x3c",{"2":{"6":2,"7":5,"13":4,"14":2,"15":5,"19":4,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":4,"39":26,"41":37,"43":13,"45":14,"47":17,"49":31,"51":17,"53":21,"55":18,"57":20}}],["2px",{"2":{"49":1}}],["255",{"2":{"47":3,"57":3}}],["258",{"2":{"23":2}}],["2000",{"2":{"57":1}}],["20px",{"2":{"45":1}}],["206",{"2":{"1":1,"10":1,"21":1}}],["2rem",{"2":{"43":1,"45":1}}],["2",{"2":{"41":3,"49":1}}],["240",{"2":{"23":2}}],["244",{"2":{"23":2}}],["260",{"2":{"23":2}}],["29",{"2":{"21":2}}],["4rem",{"2":{"57":1}}],["4",{"2":{"21":1}}],["48",{"2":{"21":1}}],["lang=",{"2":{"41":1,"49":1,"53":1}}],["label>",{"2":{"39":1,"41":1}}],["label",{"2":{"39":1,"41":8,"53":2}}],["lacking",{"2":{"27":1}}],["last",{"2":{"23":1,"39":1,"41":1,"46":1,"47":1,"55":1,"56":1,"57":1}}],["lt",{"2":{"25":1}}],["length",{"2":{"53":1}}],["less",{"2":{"42":1}}],["leaks",{"2":{"33":1}}],["least",{"2":{"21":3}}],["left",{"2":{"23":2,"43":1,"51":1,"53":1}}],["long",{"2":{"57":2}}],["low",{"2":{"52":1}}],["log",{"2":{"39":1,"41":1,"53":1,"55":1}}],["logerrors",{"2":{"39":2,"43":2}}],["looks",{"2":{"56":1}}],["look",{"2":{"33":1}}],["location",{"2":{"33":1}}],["localhost",{"2":{"21":2,"27":1,"41":2,"49":2}}],["load",{"2":{"39":1}}],["loading",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":7}}],["loaded",{"2":{"23":1,"25":1,"35":1}}],["light",{"2":{"52":1}}],["linewidth",{"2":{"41":2,"49":1}}],["lineto",{"2":{"41":2}}],["linear",{"2":{"39":1,"41":1}}],["link",{"2":{"4":1}}],["limitations",{"2":{"35":1}}],["limited",{"2":{"21":1}}],["like",{"2":{"33":2,"48":1,"56":1}}],["listen",{"2":{"15":1,"25":1,"44":1}}],["z",{"2":{"43":1}}],["zero",{"2":{"19":1}}],["zone>",{"2":{"13":1,"14":1,"15":1,"19":2,"39":1}}],["zone",{"2":{"13":1,"14":1,"15":1,"39":1}}],["007bff",{"2":{"41":1,"49":1}}],["0",{"2":{"16":2,"28":2,"29":2,"30":2,"43":6,"47":1,"49":1,"53":2,"55":1,"57":1}}],["=>",{"2":{"39":2,"41":5,"47":2,"49":1,"53":3,"55":1,"57":1}}],["==",{"2":{"39":1,"43":1,"53":1}}],["===",{"2":{"13":2,"27":6,"34":2,"39":2,"41":8,"49":7,"51":3,"53":1,"57":3}}],["=",{"2":{"15":1,"33":1,"34":3,"35":1,"39":5,"41":29,"43":3,"45":4,"47":5,"49":9,"51":7,"53":9,"55":2,"57":5}}],["ツ",{"2":{"13":1}}],["¯",{"2":{"13":2}}],["js",{"2":{"49":2}}],["jsmethods",{"2":{"35":1}}],["jsdata",{"2":{"34":1}}],["jsnavigator",{"2":{"34":1}}],["json",{"2":{"23":1,"39":1,"41":1,"47":1,"49":1,"55":1}}],["javascriptdata",{"2":{"15":1}}],["javascriptmethods",{"2":{"13":1,"23":1,"25":1,"27":1}}],["justify",{"2":{"47":1,"57":1}}],["just",{"2":{"13":1,"56":1}}],["using",{"2":{"52":1}}],["useful",{"2":{"32":1}}],["users",{"2":{"23":1,"25":3,"38":1,"50":1,"57":1}}],["user",{"2":{"15":1,"25":1,"27":1,"34":2,"41":2,"43":2,"51":3,"55":1}}],["use",{"2":{"4":1,"7":1,"15":1,"16":1,"24":3,"27":1,"28":1,"29":1,"30":1,"34":2,"38":1,"41":3,"43":1,"48":1,"49":3,"52":1}}],["umd",{"2":{"49":1}}],["utf",{"2":{"49":1}}],["utilize",{"2":{"48":1}}],["uploaded",{"2":{"54":2}}],["upload",{"0":{"54":1},"1":{"55":1},"2":{"54":1}}],["ups",{"2":{"39":1}}],["upc",{"2":{"39":2,"41":2}}],["unpkg",{"2":{"49":2}}],["unpause",{"2":{"32":1}}],["undefined",{"2":{"33":1,"41":1,"57":3}}],["understand",{"2":{"25":1}}],["under",{"2":{"24":1}}],["unsupported",{"2":{"13":1,"35":1}}],["url",{"2":{"13":2,"57":2}}],["v",{"2":{"39":3,"41":6,"45":2,"47":1,"51":2,"53":5,"55":2,"57":3}}],["via",{"2":{"54":1}}],["vite",{"2":{"48":1}}],["vitepress",{"2":{"43":1,"47":1,"51":1,"53":1}}],["visible",{"2":{"44":1}}],["visually",{"2":{"33":1,"41":1}}],["viewport",{"2":{"43":1,"49":1}}],["view",{"2":{"41":1,"46":1}}],["videoinput",{"2":{"41":1,"53":1}}],["videodevices",{"2":{"41":2}}],["video",{"2":{"34":1}}],["violation",{"2":{"13":1}}],["void",{"2":{"26":1,"33":1}}],["vary",{"2":{"35":1}}],["variety",{"2":{"39":1,"41":2}}],["varies",{"2":{"24":1}}],["various",{"2":{"34":1}}],["value=",{"2":{"41":2,"53":1,"55":1}}],["value",{"2":{"23":1,"41":19,"49":10,"53":6,"55":4}}],["validationpending",{"2":{"57":2}}],["validationfailure",{"2":{"57":2}}],["validation",{"2":{"57":9}}],["validationsuccess",{"2":{"57":2}}],["validate",{"0":{"56":1},"1":{"57":1}}],["valid",{"2":{"7":1}}],["v4",{"2":{"16":1,"28":1,"29":1,"30":1}}],["vueqrcodereader",{"2":{"49":1}}],["vuex",{"2":{"33":1}}],["vues",{"2":{"15":1}}],["vue",{"2":{"1":1,"7":1,"10":1,"21":1,"39":1,"41":2,"43":1,"45":1,"47":1,"49":5,"51":1,"53":2,"55":1,"57":1}}],["rgba",{"2":{"47":1,"57":1}}],["rather",{"2":{"41":1,"43":1,"49":1}}],["rawvalue",{"2":{"23":2,"39":1,"41":4,"47":1,"49":1,"55":1,"57":1}}],["rm",{"2":{"39":1,"41":1}}],["row",{"2":{"23":1,"46":1,"47":1}}],["root",{"2":{"7":1}}],["right",{"2":{"23":2,"41":1,"43":2,"48":1}}],["reload",{"2":{"45":2}}],["reloaded",{"2":{"35":1}}],["re",{"2":{"44":1,"45":1}}],["ref=",{"2":{"43":1}}],["ref",{"2":{"41":7,"49":3,"53":5}}],["red",{"2":{"39":1,"41":2,"49":1,"51":1,"53":1,"57":1}}],["received",{"2":{"56":1}}],["receives",{"2":{"33":1}}],["recognized",{"2":{"3":1,"12":1}}],["required",{"2":{"41":1,"49":1}}],["requires",{"2":{"21":2}}],["requestfullscreen",{"2":{"43":4}}],["requested",{"2":{"34":1}}],["requesting",{"2":{"34":1,"41":1}}],["request",{"2":{"27":1}}],["resolve",{"2":{"47":2,"57":2}}],["resolves",{"2":{"25":1}}],["resetvalidationstate",{"2":{"57":2}}],["reset",{"2":{"46":1}}],["resets",{"2":{"23":1}}],["result",{"2":{"39":5,"41":5,"47":5,"49":5,"55":5,"57":6}}],["results",{"2":{"3":1,"12":1,"23":2}}],["restarted",{"2":{"26":1,"32":1}}],["read",{"2":{"57":1}}],["reader",{"2":{"49":2}}],["ready",{"2":{"25":2}}],["reactive",{"2":{"33":1}}],["reacting",{"2":{"15":1}}],["real",{"2":{"33":1,"41":1}}],["really",{"2":{"15":1,"57":1}}],["reasons",{"2":{"27":1}}],["rear",{"2":{"26":1,"34":1,"35":1,"41":2,"50":1,"51":1,"55":1}}],["return",{"2":{"15":1,"34":1,"39":2,"41":1,"43":3,"45":1,"47":2,"49":1,"51":1,"53":2,"55":1,"57":5}}],["remove",{"2":{"7":1}}],["renders",{"2":{"3":1,"19":1}}],[">destroy",{"2":{"45":1}}],[">",{"2":{"6":1,"7":3,"13":2,"14":1,"15":3,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"39":8,"41":12,"43":4,"45":2,"47":4,"49":9,"51":5,"53":8,"55":5,"57":5}}],["hr",{"2":{"55":1}}],["h1>",{"2":{"49":1}}],["h1>simple",{"2":{"49":1}}],["hurt",{"2":{"33":1}}],["hits",{"2":{"43":1}}],["hide",{"2":{"25":1}}],["highlighted",{"2":{"41":1}}],["highlight",{"2":{"15":1,"33":1}}],["how",{"2":{"25":1,"33":1}}],["however",{"2":{"23":1,"46":1}}],["hood",{"2":{"24":1}}],["hold",{"2":{"23":1}}],["home",{"2":{"1":1,"21":1}}],["http",{"2":{"41":1,"49":1,"57":1}}],["https",{"2":{"21":2,"23":1,"27":1,"41":2,"49":4}}],["html>",{"2":{"49":2}}],["html",{"2":{"6":1,"7":3,"13":1,"14":1,"15":1,"19":1,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":1,"49":2}}],["handling",{"2":{"41":2}}],["happening",{"2":{"54":1}}],["happened",{"2":{"41":1}}],["happen",{"2":{"27":1}}],["happens",{"2":{"26":1}}],["have",{"2":{"19":1,"24":1,"34":1,"41":1,"46":1,"51":2,"57":1}}],["has",{"2":{"13":1,"25":2,"26":1,"35":2,"41":2}}],["head>",{"2":{"49":2}}],["header",{"2":{"13":1}}],["hello",{"2":{"23":1}}],["help",{"2":{"21":1}}],["here",{"2":{"19":1,"23":1,"37":1,"39":1}}],["height",{"2":{"19":2,"23":2,"39":1,"41":3,"47":1,"49":2,"51":1,"53":1,"57":1}}],["fullscreenelement",{"2":{"43":1}}],["fullscreenicon",{"2":{"43":2}}],["fullscreenchange=",{"2":{"43":1}}],["fullscreen",{"0":{"42":1},"1":{"43":1},"2":{"42":1,"43":16}}],["full",{"0":{"40":1},"1":{"41":1}}],["functons",{"2":{"41":1}}],["function",{"2":{"33":5,"41":6,"49":3,"53":2}}],["fundamentally",{"2":{"21":1}}],["following",{"2":{"41":1,"54":1}}],["fontsize",{"2":{"41":2}}],["font",{"2":{"39":2,"41":2,"45":2,"51":1,"53":1,"57":2}}],["force",{"2":{"44":1,"55":1}}],["for=",{"2":{"39":2,"41":4,"53":1,"55":1}}],["format",{"2":{"23":2,"24":1,"39":3,"41":4}}],["formats=",{"2":{"6":1,"14":1,"24":1,"39":1,"41":1}}],["formats",{"0":{"6":1,"14":1,"24":1},"2":{"6":4,"14":4,"24":8,"39":2,"41":2}}],["for",{"2":{"3":1,"12":1,"15":1,"16":1,"21":4,"23":1,"24":1,"25":3,"26":1,"28":1,"29":1,"30":1,"33":1,"34":3,"35":1,"38":1,"41":5,"43":1,"44":1,"48":1,"49":1,"53":1}}],["fff",{"2":{"39":1}}],["flow",{"2":{"47":1,"57":1}}],["flooded",{"2":{"23":1,"46":1}}],["flex",{"2":{"47":2,"57":2}}],["flash",{"2":{"53":2}}],["flashlight",{"0":{"52":1},"1":{"53":1},"2":{"35":3,"52":2}}],["flavor",{"2":{"41":1}}],["feature",{"2":{"33":1,"38":1,"52":1}}],["features",{"2":{"27":1}}],["fetched",{"2":{"13":1}}],["failure",{"2":{"57":3}}],["fails",{"2":{"27":1,"35":1}}],["facingmode",{"2":{"34":5,"41":3,"51":7}}],["fallback",{"2":{"38":1}}],["falls",{"2":{"24":1}}],["fallthrough",{"2":{"7":1}}],["false",{"2":{"15":1,"32":1,"34":1,"35":1,"39":21,"41":20,"43":1,"45":3,"47":4,"51":2,"53":2,"57":3}}],["frequency",{"2":{"33":1}}],["freezes",{"2":{"32":1}}],["frame",{"2":{"33":1,"56":1}}],["frames",{"2":{"23":1}}],["front",{"0":{"50":1},"1":{"51":1},"2":{"26":1,"27":1,"34":3,"35":1,"41":2,"50":1,"51":1,"55":1}}],["from",{"2":{"12":1,"13":1,"23":1,"35":1,"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["frustrated",{"2":{"25":1}}],["finally",{"2":{"54":1}}],["fine",{"2":{"41":1}}],["fixed",{"2":{"43":1}}],["filltext",{"2":{"41":1}}],["fillstyle",{"2":{"41":1}}],["filter",{"2":{"39":1,"41":2,"53":1}}],["film",{"2":{"39":1,"41":1}}],["files",{"2":{"12":1}}],["file",{"2":{"3":2,"7":1,"13":3,"48":1,"54":2,"55":1}}],["filereader",{"2":{"1":1,"10":1}}],["firstdetectedcode",{"2":{"57":2}}],["firstpoint",{"2":{"41":5}}],["first",{"2":{"25":1,"33":1}}],["firefox",{"2":{"21":1,"43":2}}],["ms",{"2":{"47":2,"57":2}}],["msexitfullscreen",{"2":{"43":2}}],["msrequestfullscreen",{"2":{"43":2}}],["must",{"2":{"34":1,"35":1}}],["multiple",{"0":{"7":1},"2":{"3":1,"7":1,"12":1,"23":3,"39":1,"41":1,"46":2}}],["micro",{"2":{"39":1,"41":1}}],["microinteraction",{"2":{"32":1}}],["might",{"2":{"15":1,"24":1,"25":2,"33":3,"43":1,"46":1,"52":1}}],["margin",{"2":{"41":1,"43":1,"45":1}}],["max",{"2":{"41":1}}],["maxi",{"2":{"39":1,"41":1}}],["math",{"2":{"41":1}}],["matrix",{"2":{"39":2,"41":2}}],["map",{"2":{"39":1,"41":2,"47":1,"49":1,"55":1}}],["maybe",{"2":{"27":1}}],["manually",{"2":{"25":1}}],["make",{"2":{"7":1,"25":1,"52":1}}],["memo=",{"2":{"53":1}}],["memory",{"2":{"33":1}}],["meta",{"2":{"49":2}}],["methods",{"2":{"15":1,"34":1,"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["message",{"2":{"39":1,"41":1,"49":1,"57":1}}],["means",{"2":{"35":1}}],["mediadeviceinfo",{"2":{"53":2}}],["mediadevices",{"2":{"34":1,"41":1,"53":1}}],["mediatrackconstriants",{"2":{"34":1}}],["mediatrackconstraints",{"2":{"34":1}}],["mediatrackcapabilities",{"2":{"25":2,"35":1}}],["merely",{"2":{"19":1}}],["mozcancelfullscreen",{"2":{"43":2}}],["mozrequestfullscreen",{"2":{"43":2}}],["move",{"2":{"43":1}}],["moveto",{"2":{"41":1}}],["mounting",{"2":{"44":1}}],["mount",{"2":{"25":1,"49":1}}],["more",{"0":{"46":1},"1":{"47":1},"2":{"24":3,"39":2,"41":3,"42":1,"57":1}}],["moment",{"2":{"23":1,"35":1}}],["modified",{"2":{"26":1,"34":1}}],["modifier",{"2":{"15":1}}],["modify",{"2":{"24":1}}],["modern",{"2":{"41":1}}],["model=",{"2":{"39":1,"41":3,"53":1,"55":1}}],["mode",{"2":{"1":1,"21":1}}],["mobile",{"2":{"3":1,"41":1,"43":1,"54":1}}],["y",{"2":{"23":10,"41":7,"49":2}}],["your",{"2":{"12":1,"25":1,"33":2,"43":1,"46":1,"48":1,"51":2,"54":2}}],["you",{"2":{"3":1,"7":2,"12":2,"15":2,"19":1,"23":3,"24":4,"25":5,"27":1,"32":2,"33":4,"34":4,"35":3,"38":1,"39":3,"41":4,"43":1,"46":3,"48":1,"49":1,"50":1,"51":2,"52":2,"54":3,"56":1}}],["yes²",{"2":{"21":1}}],["yes¹",{"2":{"1":1,"21":1}}],["yes",{"2":{"1":3,"10":4,"21":2}}],["black",{"2":{"49":1,"57":1}}],["block",{"2":{"41":1}}],["build",{"2":{"48":1}}],["bundler",{"2":{"48":1}}],["button>",{"2":{"43":1,"45":1,"51":1,"53":1}}],["button",{"2":{"43":6,"44":1,"45":2,"51":3,"53":3}}],["but",{"2":{"7":1,"23":1,"24":1,"35":2,"39":2,"41":2,"43":1,"54":1}}],["break",{"2":{"51":2}}],["br",{"2":{"39":1,"41":1}}],["browsers",{"2":{"21":1,"24":1,"35":1,"52":1}}],["browser",{"0":{"1":1,"10":1,"21":1},"2":{"24":1,"27":1,"35":1,"41":1,"48":1,"49":1,"54":1}}],["background",{"2":{"39":2,"43":1,"47":1,"57":1}}],["back",{"2":{"24":1,"43":1}}],["barcodeformats",{"2":{"39":5,"41":5}}],["barcodes",{"2":{"33":1}}],["barcodedetector",{"2":{"24":1}}],["barcodedetectoroptions",{"2":{"6":1,"14":1,"24":1}}],["barcode",{"2":{"6":1,"14":1,"23":1,"24":3,"39":3,"41":4}}],["border",{"2":{"49":1}}],["body>",{"2":{"49":2}}],["box",{"2":{"41":1}}],["bounding",{"2":{"41":1}}],["boundingbox",{"2":{"23":2,"41":7,"49":1}}],["bold",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["bottom",{"2":{"23":2,"43":2,"45":1}}],["boolean",{"2":{"15":1,"32":1,"35":1}}],["b>stuff",{"2":{"37":1}}],["b>",{"2":{"19":1,"37":1,"39":2,"41":2,"47":2,"49":2,"55":2,"57":2}}],["b>put",{"2":{"19":1}}],["behavior",{"2":{"54":1}}],["below",{"2":{"44":1}}],["beginpath",{"2":{"41":1}}],["best",{"2":{"41":1}}],["been",{"2":{"35":1}}],["between",{"2":{"26":1,"44":1}}],["before",{"2":{"25":2,"41":1}}],["becoming",{"2":{"44":1}}],["becomes",{"2":{"24":1,"39":1,"41":1,"43":1}}],["because",{"2":{"7":2,"25":1}}],["be",{"2":{"3":1,"12":1,"13":2,"15":1,"23":1,"25":2,"26":1,"27":1,"33":1,"34":1,"35":2,"38":1,"39":1,"46":1,"52":1,"54":1}}],["by",{"0":{"38":1,"54":1},"1":{"39":1,"55":1},"2":{"3":1,"12":1,"15":1,"19":1,"23":1,"24":1,"35":1,"39":1,"41":4,"43":1,"52":1,"56":1}}],["ok",{"2":{"39":1}}],["occur",{"2":{"34":1}}],["occupies",{"2":{"12":1,"42":1}}],["option>",{"2":{"41":2,"53":1,"55":1}}],["option",{"2":{"39":6,"41":16,"53":1,"55":5}}],["options",{"2":{"34":1,"55":4}}],["opera",{"2":{"43":2}}],["operating",{"2":{"24":1}}],["open",{"2":{"13":1}}],["opens",{"2":{"3":1}}],["object",{"2":{"34":4,"35":1,"39":2,"41":2}}],["outline",{"2":{"41":1}}],["out",{"2":{"33":1}}],["overlays",{"2":{"33":1,"37":2}}],["overconstrainederror",{"2":{"27":1,"34":1,"41":1,"49":1,"51":1}}],["over",{"2":{"15":1,"27":1}}],["override",{"2":{"7":1}}],["org",{"2":{"23":1}}],["origin",{"2":{"13":1,"39":1}}],["or",{"2":{"12":1,"13":1,"21":1,"23":1,"26":1,"27":1,"33":1,"34":1,"35":1,"38":1,"39":1,"41":3,"49":1,"50":1}}],["otherpoints",{"2":{"41":2}}],["otherwise",{"2":{"24":1,"25":1}}],["other",{"2":{"7":1,"12":1,"21":1,"24":1,"39":1,"41":1,"48":1}}],["old",{"2":{"4":1}}],["off=",{"2":{"47":1}}],["off",{"0":{"26":1},"2":{"26":1,"35":2,"52":1,"53":1}}],["often",{"2":{"23":1,"35":1,"41":1,"46":1}}],["of",{"2":{"3":1,"7":2,"12":1,"13":1,"23":3,"27":1,"33":1,"34":1,"39":2,"41":7,"46":1,"49":1,"52":1}}],["onmounted",{"2":{"53":2}}],["onfullscreenchange",{"2":{"43":2}}],["on`",{"2":{"41":1}}],["oninit",{"2":{"35":2}}],["onready",{"2":{"25":2}}],["on=",{"2":{"25":1,"35":1,"41":1,"45":1,"47":1,"53":1,"57":1}}],["only",{"2":{"23":3,"24":2,"25":1,"35":1,"39":1,"41":2,"46":1,"49":1,"52":1}}],["oncameraoff",{"2":{"47":2}}],["oncameraon",{"2":{"45":2,"47":2,"53":2}}],["oncameraready",{"2":{"41":2}}],["once",{"0":{"46":1},"1":{"47":1},"2":{"23":2,"25":1,"35":1}}],["onchangeinput",{"2":{"7":1}}],["ondragover",{"2":{"15":2,"39":2}}],["ondetect",{"2":{"13":1,"23":2,"39":2,"41":2,"47":2,"49":3,"55":2,"57":2}}],["onerror",{"2":{"13":1,"27":2,"34":2,"41":2,"47":2,"49":3,"51":2,"53":1,"57":2}}],["one",{"2":{"3":1,"12":1,"23":1,"34":1,"39":1,"41":2,"56":1}}],["on",{"0":{"25":1},"2":{"1":2,"3":2,"10":1,"12":1,"21":2,"25":1,"29":1,"32":1,"33":1,"34":3,"35":7,"41":2,"43":2,"44":1,"48":1,"49":1,"50":1,"51":2,"52":1,"53":1,"54":1}}],["createapp",{"2":{"49":2}}],["create",{"2":{"44":1,"45":1}}],["cross",{"2":{"39":1}}],["centered",{"2":{"41":1}}],["centery",{"2":{"41":3}}],["centerx",{"2":{"41":3}}],["center",{"2":{"39":1,"41":1,"45":1,"47":1,"57":2}}],["ctx",{"2":{"33":1,"41":21,"49":4}}],["custom",{"2":{"15":1}}],["client",{"2":{"54":1}}],["click=",{"2":{"43":1,"45":1,"51":1,"53":1}}],["clicking",{"2":{"3":1}}],["classic",{"2":{"54":1}}],["class=",{"2":{"15":1,"39":5,"41":3,"43":2,"45":1,"47":2,"51":2,"53":1,"55":1,"57":4}}],["closepath",{"2":{"41":1}}],["ch",{"2":{"52":1}}],["choose",{"2":{"50":1}}],["choice",{"2":{"41":1}}],["charset=",{"2":{"49":1}}],["changes",{"2":{"46":1}}],["change",{"2":{"25":1,"41":1,"46":1}}],["change=",{"2":{"7":1}}],["changing",{"2":{"23":1}}],["checkmark",{"2":{"47":2}}],["checkbox",{"2":{"39":2,"41":3}}],["check",{"2":{"33":1}}],["checkout",{"2":{"7":1}}],["chrome",{"2":{"21":2,"25":1,"43":2}}],["column",{"2":{"57":1}}],["color",{"2":{"39":4,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":4}}],["comes",{"2":{"54":1}}],["com",{"2":{"49":2}}],["computed",{"2":{"33":1,"39":1,"41":2,"43":1,"53":2,"57":1}}],["components",{"2":{"7":2,"39":1,"43":1,"45":1,"47":1,"48":1,"51":1,"55":1,"57":1}}],["component",{"2":{"1":1,"3":1,"7":1,"10":1,"12":1,"15":1,"19":1,"21":2,"24":2,"25":2,"38":1,"42":1,"44":2,"45":1,"54":1}}],["covered",{"2":{"43":1}}],["covers",{"2":{"42":1}}],["codabar",{"2":{"39":1,"41":1}}],["codes",{"2":{"23":3,"24":1,"33":2,"39":3,"41":4,"46":1}}],["code",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":3,"12":1,"14":3,"23":5,"24":5,"33":1,"39":9,"41":9,"46":3,"47":2,"49":2,"55":2,"56":1}}],["couple",{"2":{"27":1}}],["cornerpoints",{"2":{"23":2,"41":1}}],["cors",{"2":{"13":2}}],["conditions",{"2":{"52":1}}],["consider",{"2":{"43":1}}],["consistently",{"2":{"35":1}}],["console",{"2":{"39":1,"41":1,"43":1,"47":1,"51":1,"53":3,"55":1,"57":1}}],["const",{"2":{"34":2,"35":1,"41":21,"43":1,"49":6,"51":3,"53":5,"55":1}}],["constraintoptions",{"2":{"41":3}}],["constraint",{"2":{"34":1}}],["constraints=",{"2":{"34":1,"41":1,"51":1,"53":1}}],["constraints",{"0":{"34":1},"2":{"26":1,"30":1,"41":5}}],["confirmation",{"2":{"47":2}}],["configuration",{"2":{"34":1}}],["confused",{"2":{"15":1}}],["context",{"2":{"41":2,"49":2}}],["content=",{"2":{"49":1}}],["content",{"2":{"19":2,"37":1,"46":1,"47":1,"57":1}}],["container",{"2":{"37":1}}],["control",{"2":{"35":1,"41":1}}],["continuously",{"2":{"23":1}}],["case",{"2":{"51":2}}],["care",{"2":{"41":1}}],["carries",{"2":{"25":1}}],["catch",{"2":{"34":1}}],["calling",{"2":{"43":2}}],["call",{"2":{"34":1}}],["called",{"2":{"33":2}}],["cause",{"2":{"33":1}}],["caused",{"2":{"13":1}}],["capabilities",{"2":{"25":1,"35":2,"53":3}}],["capture=",{"2":{"7":2,"55":1}}],["capture>",{"2":{"6":1}}],["capture",{"0":{"7":1},"2":{"6":1,"7":2,"55":2}}],["cache",{"2":{"23":1,"46":1}}],["cached",{"2":{"23":1,"46":1}}],["canvas",{"2":{"33":2,"41":1}}],["canvasrenderingcontext2d",{"2":{"33":2}}],["can",{"2":{"3":2,"7":2,"12":3,"13":2,"25":3,"27":1,"33":1,"34":3,"35":4,"38":1,"39":3,"41":3,"46":1,"50":1,"52":2,"54":1,"56":1}}],["cameramissingerror",{"2":{"34":2,"51":3}}],["cameras",{"2":{"25":1,"41":2,"49":1,"52":1}}],["camera",{"0":{"25":1,"26":1,"30":1,"50":1},"1":{"51":1},"2":{"3":1,"23":2,"25":6,"26":5,"27":5,"29":1,"32":3,"33":1,"34":7,"35":8,"37":2,"41":10,"43":2,"44":2,"45":1,"46":1,"47":2,"49":4,"50":1,"51":4,"52":1,"53":3,"54":1,"55":2,"57":1}}],["etc",{"2":{"43":1}}],["esc",{"2":{"43":1}}],["err",{"2":{"41":10,"49":10,"53":2}}],["errors",{"2":{"34":1}}],["error=",{"2":{"27":1,"34":1,"39":1,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["error",{"0":{"13":1,"27":1},"2":{"13":4,"27":9,"29":1,"34":4,"39":13,"41":15,"43":1,"47":1,"49":12,"51":7,"53":4,"57":1}}],["e",{"2":{"39":1,"41":2}}],["edge",{"2":{"39":1,"41":1,"43":2}}],["ean",{"2":{"39":2,"41":2}}],["easy",{"2":{"33":1}}],["each",{"2":{"33":1,"56":1}}],["en",{"2":{"49":1}}],["enterfullscreen",{"2":{"43":2}}],["entire",{"2":{"42":2,"43":1}}],["enumeratedevices",{"2":{"41":1,"53":1}}],["enable",{"2":{"33":1}}],["environment",{"2":{"7":1,"34":2,"41":2,"51":4,"55":1}}],["every",{"2":{"34":1}}],["everything",{"2":{"25":1,"54":1}}],["even",{"2":{"21":1,"24":1,"35":1,"43":1}}],["event",{"2":{"3":4,"12":4,"15":4,"23":1,"25":1,"32":1,"34":2,"35":2,"41":1,"43":1,"44":1,"46":1}}],["events",{"0":{"2":1,"11":1,"22":1},"1":{"3":1,"4":1,"12":1,"13":1,"14":1,"15":1,"16":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1},"2":{"13":1,"23":1,"27":1,"35":1,"46":1}}],["exitfullscreen",{"2":{"43":4}}],["exit",{"2":{"43":2}}],["exploit",{"2":{"46":1}}],["explicitly",{"2":{"7":1}}],["expanded",{"2":{"39":1,"41":1}}],["export",{"2":{"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["expensive",{"2":{"24":1,"39":1,"41":1}}],["example",{"2":{"23":1,"24":1,"26":1,"33":1,"34":2,"35":1,"48":1}}],["elem",{"2":{"43":9}}],["element",{"2":{"3":1,"7":2,"13":1,"42":1}}],["else",{"2":{"13":2,"27":5,"39":2,"41":7,"43":8,"49":7,"53":1}}],["emphasizing",{"2":{"15":1}}],["empty",{"2":{"3":1,"12":1}}],["embedded",{"2":{"12":1}}],["emitted",{"2":{"3":1,"12":1,"13":1,"23":1,"25":1,"26":1,"27":1,"32":1,"34":1,"35":2,"46":1}}],["quot",{"2":{"34":2,"46":2}}],["question",{"2":{"1":1}}],["qrcodedropzone",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"2":{"38":1,"39":2}}],["qrcode",{"2":{"6":2,"7":2,"13":2,"14":2,"15":2,"19":2,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":2,"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":2,"55":1,"57":2}}],["qrcodestream",{"0":{"20":1},"1":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1},"2":{"3":1,"12":1,"41":1,"42":1,"43":2,"45":2,"47":2,"51":2,"53":1,"57":2}}],["qrcodecapture",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1},"2":{"7":1,"54":1,"55":2}}],["qr",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":2,"12":1,"14":2,"23":7,"24":5,"33":2,"39":4,"41":4,"46":4,"56":1}}],["3000",{"2":{"57":1}}],["300px",{"2":{"39":1}}],["35495e",{"2":{"41":1}}],["359",{"2":{"23":1}}],["3c3c43",{"2":{"39":1}}],["39",{"2":{"39":1,"41":1}}],["342",{"2":{"23":1}}],["375",{"2":{"23":2}}],["322",{"2":{"23":3}}],["3",{"2":{"1":1,"21":2,"41":1,"49":1}}],["1rem",{"2":{"43":1}}],["1",{"2":{"41":1,"57":1}}],["12",{"2":{"41":1}}],["128",{"2":{"6":1,"14":1,"24":1,"39":1,"41":1,"47":1}}],["100",{"2":{"47":2,"57":2}}],["1000",{"2":{"43":1}}],["10b981",{"2":{"39":1}}],["10px",{"2":{"39":1,"41":1,"51":2,"53":2,"57":1}}],["10+",{"2":{"1":1,"10":1}}],["160",{"2":{"23":1}}],["188",{"2":{"23":1}}],["178",{"2":{"23":1}}],["14",{"2":{"21":2}}],["135",{"2":{"23":3}}],["13",{"2":{"21":1,"39":1,"41":1}}],["11",{"2":{"1":1}}],["pending",{"2":{"57":2}}],["permitted",{"2":{"41":1,"49":1}}],["permissions",{"2":{"25":1,"41":1}}],["permission",{"2":{"25":1,"27":1,"41":2,"43":2,"49":1}}],["perceptibly",{"2":{"33":1}}],["performance",{"2":{"33":1}}],["per",{"2":{"3":1,"12":1}}],["physical",{"2":{"43":1}}],["phones",{"2":{"41":1}}],["push",{"2":{"44":1}}],["pushes",{"2":{"43":1}}],["put",{"2":{"42":1}}],["px",{"2":{"41":1}}],["pdf417",{"2":{"39":1,"41":1}}],["p",{"2":{"39":2,"41":2,"47":1,"49":1,"51":2,"53":1,"55":1,"57":1}}],["p>last",{"2":{"49":1}}],["p>",{"2":{"39":4,"41":8,"47":1,"49":2,"51":2,"53":3,"55":3,"57":1}}],["position",{"2":{"37":1,"43":2,"47":1,"51":1,"53":1,"57":1}}],["positive",{"2":{"3":1,"12":1}}],["polyfill",{"2":{"24":2}}],["policy",{"2":{"13":1}}],["pausing",{"2":{"56":1}}],["pause",{"0":{"56":1},"1":{"57":1}}],["paused=",{"2":{"47":1,"57":1}}],["paused",{"0":{"32":1},"2":{"23":1,"46":1,"47":4,"56":1,"57":5}}],["paintcentertext",{"2":{"41":2}}],["paintboundingbox",{"2":{"41":2,"49":3}}],["paintoutline",{"2":{"41":2}}],["painted",{"2":{"33":1}}],["padding",{"2":{"39":1,"57":1}}],["passed",{"2":{"34":1}}],["pass",{"2":{"33":1,"34":1}}],["page",{"2":{"27":1,"48":1}}],["pages",{"2":{"12":1}}],["particular",{"2":{"27":1}}],["panic",{"2":{"25":1}}],["payload",{"2":{"3":2,"6":1,"12":2,"14":1,"15":1,"23":2,"24":1,"25":1,"26":1,"27":1,"35":1}}],["pretend",{"2":{"57":1}}],["prefer",{"2":{"24":1}}],["progress",{"2":{"57":1}}],["project",{"2":{"48":1}}],["produce",{"2":{"33":1}}],["prompted",{"2":{"54":1}}],["prompt",{"2":{"25":1,"43":1}}],["promise",{"2":{"25":2,"47":1,"57":1}}],["process",{"2":{"25":1,"56":1}}],["provide",{"2":{"19":1,"33":1,"34":1}}],["probably",{"2":{"13":1}}],["properties",{"2":{"33":1}}],["propagated",{"2":{"23":1}}],["prop",{"2":{"6":1,"14":1,"24":2,"32":1,"34":2,"35":1,"46":1,"52":1}}],["props",{"0":{"5":1,"17":1,"31":1},"1":{"6":1,"7":1,"32":1,"33":1,"34":1,"35":1},"2":{"7":1,"17":1}}],["prior",{"2":{"1":1}}],["pick",{"2":{"53":1}}],["picked",{"2":{"41":1}}],["picker",{"2":{"3":1}}],["picture",{"2":{"3":1,"54":1}}],["pwa",{"2":{"1":1,"21":1}}],["adjust",{"2":{"54":1}}],["added",{"2":{"1":1,"21":1}}],["aeschbacher",{"2":{"52":1}}],["await",{"2":{"41":1,"45":1,"47":1,"53":1,"57":2}}],["amp",{"0":{"38":1,"56":1},"1":{"39":1,"57":1}}],["absolute",{"2":{"37":1,"43":1,"47":1,"51":1,"53":1,"57":1}}],["audio",{"2":{"34":1}}],["avoid",{"2":{"33":1}}],["availabe",{"2":{"24":1}}],["available",{"2":{"24":1,"42":1}}],["again",{"2":{"32":1,"34":1,"35":1,"46":1}}],["after",{"2":{"32":1,"52":1}}],["aztec",{"2":{"24":1,"39":1,"41":1}}],["alt=",{"2":{"43":1,"47":1,"51":1,"53":1}}],["although",{"2":{"27":1}}],["align",{"2":{"39":1,"45":1,"57":1}}],["allows",{"2":{"54":1}}],["allow",{"2":{"50":1}}],["all",{"2":{"33":1,"35":1,"48":1}}],["already",{"2":{"27":1,"41":1,"43":1,"49":1,"52":1}}],["always",{"2":{"23":1,"42":1}}],["also",{"2":{"3":1,"7":1,"12":1,"21":1,"38":1,"39":1,"41":1,"50":1}}],["active",{"2":{"53":1}}],["actually",{"2":{"23":1,"54":1}}],["across",{"2":{"24":1,"52":1}}],["access",{"2":{"25":2,"27":1,"33":2,"35":1,"41":3,"43":1,"49":2}}],["accept",{"2":{"7":1}}],["accept=",{"2":{"7":1}}],["accroding",{"2":{"23":1}}],["async",{"2":{"41":1,"45":1,"47":1,"53":1,"57":1}}],["asked",{"2":{"25":1,"43":1}}],["as",{"2":{"3":1,"12":1,"25":2,"33":2,"34":1,"38":2,"53":2}}],["argument",{"2":{"33":2}}],["array",{"2":{"3":1,"12":1,"23":2,"33":1}}],["area",{"2":{"12":1,"39":2}}],["are",{"2":{"3":2,"6":1,"12":2,"13":1,"14":1,"23":3,"24":2,"26":1,"27":1,"39":2,"41":4,"49":1,"54":2}}],["another",{"2":{"43":1,"54":1}}],["angle",{"2":{"41":1}}],["anything",{"2":{"19":1}}],["anywhere",{"2":{"12":1}}],["any",{"2":{"7":2,"19":1,"37":1}}],["an",{"2":{"3":1,"12":1,"13":3,"23":2,"33":1,"34":2,"39":1,"46":1,"48":1}}],["and",{"2":{"3":1,"7":1,"12":2,"13":3,"23":2,"24":2,"25":4,"26":2,"33":2,"35":2,"38":1,"43":2,"44":2,"45":1,"46":1,"48":1,"52":2,"54":1}}],["attribute",{"2":{"7":1}}],["attributes",{"2":{"7":3}}],["at",{"2":{"3":1,"12":1,"21":3,"23":1,"33":1,"35":1,"56":1}}],["a",{"2":{"3":3,"13":2,"15":1,"19":1,"23":4,"24":1,"25":4,"26":1,"27":1,"33":6,"34":3,"35":2,"37":1,"38":2,"39":2,"41":4,"42":1,"43":2,"44":1,"46":3,"48":2,"51":2,"54":1,"56":1,"57":2}}],["app",{"2":{"49":5}}],["apply",{"2":{"15":1}}],["apps",{"2":{"1":1,"21":2}}],["api",{"2":{"1":2,"10":2,"21":1,"23":1,"24":1,"34":1,"35":1,"41":1,"49":1}}],["wrapped",{"2":{"37":1}}],["wrapper",{"2":{"19":1,"42":1,"43":2}}],["weight",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["we",{"2":{"24":1,"35":1,"41":1,"46":1}}],["webkitexitfullscreen",{"2":{"43":2}}],["webkitrequestfullscreen",{"2":{"43":2}}],["web",{"2":{"1":1,"12":1,"21":1}}],["world",{"2":{"23":1}}],["works",{"2":{"48":1}}],["work",{"2":{"1":1,"46":1}}],["wkwebview",{"2":{"21":1}}],["window",{"2":{"47":1,"57":1}}],["wide",{"2":{"41":1}}],["width=device",{"2":{"49":1}}],["width=",{"2":{"47":1}}],["width",{"2":{"23":2,"41":5,"43":1,"47":1,"49":3,"51":1,"53":1,"57":1}}],["wikipedia",{"2":{"23":1}}],["will",{"2":{"19":1,"24":1,"35":2}}],["withbase",{"2":{"43":3,"47":3,"51":3,"53":2}}],["with",{"2":{"15":1,"23":1,"25":1,"34":3,"35":2,"38":1,"43":1,"46":1,"54":4}}],["without",{"2":{"13":1,"43":1,"48":1}}],["watch",{"2":{"43":1}}],["warning",{"2":{"15":1,"24":1,"25":1}}],["want",{"2":{"15":1,"23":1,"24":1,"25":1,"32":1,"33":2,"46":1,"52":1}}],["what",{"2":{"39":1}}],["whether",{"2":{"34":1,"35":1}}],["whenever",{"2":{"26":2}}],["when",{"2":{"13":1,"15":1,"23":1,"25":1,"26":1,"27":1,"32":1,"33":2,"34":1,"35":1,"43":1,"46":3}}],["white",{"2":{"41":1,"43":1}}],["while",{"2":{"25":1}}],["which",{"2":{"6":1,"14":1,"24":1,"25":1,"33":1,"34":1,"54":1}}],["why",{"2":{"23":1,"25":1,"46":1}}],["ts",{"2":{"41":1,"53":1}}],["turning",{"2":{"35":1}}],["turn",{"2":{"35":1,"52":1}}],["turned",{"2":{"26":1}}],["taking",{"2":{"57":1}}],["takes",{"2":{"41":1}}],["take",{"2":{"3":1,"25":1,"54":1}}],["target",{"2":{"33":1}}],["triedrearcamera",{"2":{"51":2}}],["triedfrontcamera",{"2":{"34":2,"51":2}}],["try",{"2":{"34":1}}],["transparent",{"2":{"33":1}}],["track=",{"2":{"41":1,"49":1}}],["trackfunctionoptions",{"2":{"41":3}}],["trackfunctionselected",{"2":{"41":3}}],["tracking",{"2":{"33":1}}],["track",{"0":{"33":1},"2":{"33":2,"41":1}}],["true",{"2":{"32":1,"35":1,"39":1,"41":1,"45":3,"47":2,"51":2,"57":2}}],["troubleshooting",{"2":{"21":1}}],["title>",{"2":{"49":1}}],["title>simple",{"2":{"49":1}}],["tip",{"2":{"23":1}}],["timeout",{"2":{"47":2,"57":3}}],["times",{"2":{"23":2,"33":1,"46":2}}],["time",{"2":{"3":1,"12":1,"25":1,"33":1,"34":1,"41":1,"56":1,"57":1}}],["textalign",{"2":{"41":1}}],["text",{"2":{"39":1,"41":7,"45":1,"55":5,"57":1}}],["tell",{"2":{"35":2}}],["template>",{"2":{"7":2,"39":2,"41":2,"43":2,"45":2,"47":2,"51":2,"53":2,"55":2,"57":2}}],["template",{"2":{"7":1}}],["technically",{"2":{"7":1}}],["type=",{"2":{"7":1,"39":1,"41":1}}],["type",{"2":{"3":1,"6":1,"12":1,"13":2,"14":1,"15":1,"23":1,"24":1,"25":1,"26":1,"27":1,"32":1,"33":1,"34":2,"35":1}}],["toggle",{"2":{"43":1,"53":1}}],["torchactive",{"2":{"53":6}}],["torchnotsupported",{"2":{"53":4}}],["torch=",{"2":{"35":1,"53":1}}],["torch",{"0":{"35":1,"52":1},"1":{"53":1},"2":{"35":6,"52":1,"53":3}}],["top",{"2":{"23":2,"43":1,"51":1,"53":1}}],["todo",{"2":{"4":1}}],["to",{"0":{"50":1},"1":{"51":1},"2":{"1":2,"3":2,"7":2,"13":1,"15":4,"21":1,"23":2,"24":4,"25":5,"26":1,"27":1,"32":2,"33":8,"34":3,"35":1,"41":2,"42":1,"43":1,"44":2,"46":2,"48":1,"49":1,"50":1,"51":2,"52":1,"54":1,"57":1}}],["t",{"2":{"1":1,"13":2,"19":1,"23":1,"24":1,"25":2,"33":1,"34":1,"35":1,"39":2,"41":1,"43":1,"46":2,"51":2}}],["thing",{"2":{"46":1}}],["this",{"2":{"1":2,"10":1,"15":2,"19":1,"21":1,"23":1,"24":1,"25":1,"26":1,"27":1,"32":1,"33":6,"34":4,"35":2,"39":8,"41":3,"43":7,"45":5,"46":1,"47":6,"48":2,"49":2,"51":7,"54":1,"55":1,"57":14}}],["than",{"0":{"46":1},"1":{"47":1},"2":{"21":1,"24":1,"41":1,"49":1}}],["that",{"2":{"15":1,"23":2,"24":1,"33":2,"34":1,"35":1,"38":1,"39":2,"41":1,"42":1,"46":4,"48":1,"52":1}}],["though",{"2":{"3":1,"12":1,"46":1}}],["there",{"2":{"27":1,"44":1}}],["then",{"2":{"25":1}}],["they",{"2":{"25":2}}],["their",{"2":{"25":2,"50":1}}],["them",{"2":{"7":1,"25":1,"48":1}}],["the",{"2":{"1":2,"3":9,"6":1,"7":4,"10":2,"12":9,"14":1,"15":5,"19":1,"21":1,"23":11,"24":13,"25":7,"26":3,"27":1,"32":3,"33":6,"34":8,"35":13,"37":2,"38":1,"39":2,"41":11,"42":3,"43":5,"44":5,"46":7,"48":1,"49":1,"50":1,"52":4,"54":2,"56":2,"57":1}}],["dx",{"2":{"39":1,"41":1}}],["databar",{"2":{"39":2,"41":2}}],["data",{"2":{"33":1,"39":2,"41":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["danger",{"2":{"33":1}}],["due",{"2":{"13":1,"35":1}}],["dropdown",{"2":{"41":1,"54":1}}],["dropimagedecodeerror",{"2":{"13":1,"39":1}}],["dropimagefetcherror",{"2":{"13":1,"39":1}}],["dropped",{"2":{"13":4}}],["drop",{"0":{"38":1},"1":{"39":1},"2":{"12":2,"13":2,"14":2,"15":2,"19":2,"38":1,"39":7}}],["draggingover",{"2":{"15":5}}],["dragging",{"2":{"15":1}}],["dragover=",{"2":{"15":1,"39":1}}],["dragover",{"0":{"15":1},"2":{"15":2,"39":5}}],["drag",{"0":{"38":1},"1":{"39":1},"2":{"12":1,"13":2,"38":1}}],["doctype",{"2":{"49":1}}],["document",{"2":{"43":9}}],["docs",{"2":{"4":1,"16":1,"28":1,"29":1,"30":1}}],["don",{"2":{"19":1,"23":1,"24":1,"25":1,"33":1,"46":1,"51":2}}],["dom",{"2":{"15":1}}],["domain",{"2":{"13":1}}],["do",{"2":{"15":1}}],["does",{"2":{"7":1}}],["doesn",{"2":{"1":1,"34":1,"35":1,"43":1,"46":1}}],["did",{"2":{"27":1}}],["dist",{"2":{"49":2}}],["distributed",{"2":{"37":1}}],["display",{"2":{"41":1,"47":1,"57":1}}],["displayed",{"2":{"23":1,"56":1}}],["disabled=",{"2":{"53":1}}],["disabled",{"0":{"7":1},"2":{"7":1,"33":1}}],["div>",{"2":{"15":1,"39":3,"41":4,"43":1,"45":3,"47":3,"49":2,"51":2,"53":2,"55":2,"57":5}}],["div",{"2":{"15":1,"19":1,"39":1,"43":1,"45":1,"47":1,"49":2,"57":3}}],["different",{"2":{"13":1,"26":1,"41":1}}],["directly",{"2":{"3":1,"12":1,"54":1}}],["dialog",{"2":{"3":1,"43":1,"54":1,"55":1}}],["destroyed",{"2":{"45":4}}],["destroy",{"2":{"44":1}}],["desk",{"2":{"41":1}}],["desktop",{"2":{"12":1,"38":1,"43":1}}],["delay",{"2":{"44":1,"57":1}}],["demos",{"2":{"48":1}}],["demo",{"0":{"40":1},"1":{"41":1},"2":{"33":1,"48":1,"49":2}}],["deviceid",{"2":{"41":3,"53":3}}],["device",{"2":{"27":1,"33":1,"34":2,"35":1,"41":3,"49":1,"50":1,"51":2,"53":4}}],["devices",{"2":{"3":1,"24":1,"35":3,"41":2,"52":1,"53":5}}],["decision",{"2":{"25":1}}],["decoded",{"2":{"13":1,"23":2,"39":1,"46":3}}],["decode",{"0":{"4":1,"16":1,"28":1,"38":1,"54":1},"1":{"39":1,"55":1},"2":{"39":1,"41":1,"47":1,"55":1,"57":1}}],["deny",{"2":{"25":1}}],["denied",{"2":{"25":1,"27":1}}],["defined",{"2":{"19":1}}],["define",{"2":{"7":1}}],["defines",{"2":{"6":1,"14":1,"24":1,"33":1}}],["defaultconstraintoptions",{"2":{"41":3}}],["default",{"0":{"19":1,"37":1},"2":{"6":1,"14":1,"24":2,"32":1,"33":1,"34":1,"35":1,"39":2,"41":3,"43":1,"45":1,"47":1,"51":1,"55":2,"57":1}}],["detection",{"2":{"23":1,"41":1}}],["detect=",{"2":{"13":1,"23":1,"39":1,"41":1,"47":1,"49":1,"55":1,"57":1}}],["detectedcode",{"2":{"41":7,"49":2}}],["detectedcodes",{"2":{"23":1,"39":3,"41":9,"47":2,"49":4,"55":3}}],["detected",{"2":{"6":1,"14":1,"23":1,"24":1,"33":3,"39":1,"41":2,"52":1}}],["detectedbarcode",{"2":{"3":1,"12":1,"23":1,"33":1}}],["detect",{"0":{"3":1,"12":1,"23":1},"2":{"3":2,"4":1,"12":2,"16":1,"23":3,"28":1,"46":1}}],["depends",{"2":{"21":1}}],["depend",{"2":{"1":1,"10":1}}],["icon",{"2":{"53":2}}],["ie",{"2":{"43":2}}],["id",{"2":{"41":2}}],["id=",{"2":{"39":1,"41":1,"49":1}}],["idk",{"2":{"13":1}}],["img",{"2":{"43":2,"47":1,"51":2,"53":2}}],["img>",{"2":{"13":1}}],["important",{"2":{"43":1}}],["import",{"2":{"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["implementation",{"2":{"24":4,"43":1}}],["image",{"2":{"3":1,"7":2,"12":2,"13":1,"39":1,"54":1}}],["images",{"2":{"3":2,"12":3,"38":1,"39":2}}],["if=",{"2":{"39":1,"45":2,"51":2,"53":2,"57":3}}],["if",{"2":{"3":1,"12":1,"13":2,"15":1,"19":1,"23":1,"24":4,"25":1,"27":6,"32":1,"33":1,"34":1,"35":1,"39":2,"41":7,"43":10,"49":7,"51":2,"53":2,"54":1}}],["ios",{"2":{"1":1,"21":7,"41":1}}],["inconsistent",{"2":{"52":1}}],["increased",{"2":{"33":1}}],["index",{"2":{"43":1}}],["indicator",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":2}}],["indicated",{"2":{"3":1,"12":1,"23":1}}],["invasive",{"2":{"43":1}}],["invoke",{"2":{"41":1}}],["inline",{"2":{"41":1}}],["infrared",{"2":{"41":1}}],["initial",{"2":{"49":1}}],["initialization",{"2":{"27":1}}],["init",{"0":{"29":1}}],["internally",{"2":{"41":1}}],["internal",{"2":{"23":1}}],["into",{"2":{"12":1}}],["insecurecontexterror",{"2":{"41":1,"49":1}}],["instance",{"2":{"33":1}}],["installed",{"2":{"27":1,"41":2,"49":1}}],["instead",{"2":{"4":1,"15":1,"16":1,"28":1,"29":1,"30":1}}],["inside",{"2":{"19":1}}],["input",{"2":{"3":1,"7":3,"32":1,"33":1,"34":1,"35":1,"39":1,"41":1}}],["in",{"2":{"1":1,"12":1,"21":1,"23":2,"25":1,"27":2,"33":3,"37":1,"39":1,"41":7,"42":1,"43":1,"46":2,"48":2,"49":3,"52":1,"53":1,"55":1,"57":1}}],["itf",{"2":{"39":1,"41":1}}],["items",{"2":{"23":1}}],["its",{"2":{"19":1,"33":1}}],["it",{"2":{"1":1,"19":1,"23":1,"25":3,"33":1,"38":1,"46":1,"54":1,"56":1,"57":1}}],["isvalid",{"2":{"57":6}}],["isdraggingover",{"2":{"39":2}}],["issue",{"2":{"13":1}}],["is",{"2":{"1":2,"3":3,"7":1,"10":2,"12":2,"13":1,"15":2,"19":1,"21":2,"23":6,"24":1,"25":2,"26":2,"27":3,"32":2,"33":5,"34":6,"35":5,"39":1,"41":4,"43":2,"44":1,"46":5,"49":3,"52":1,"54":2,"56":2,"57":2}}],["switchcamera",{"2":{"51":2}}],["switch",{"0":{"50":1},"1":{"51":1},"2":{"51":3}}],["switching",{"2":{"26":1}}],["svg",{"2":{"43":2,"47":1,"51":1,"53":2}}],["skipping",{"2":{"43":1}}],["src=",{"2":{"43":1,"47":1,"49":2,"51":1,"53":1}}],["src",{"2":{"39":1,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"55":1,"57":1}}],["sponsored",{"2":{"52":1}}],["space",{"2":{"41":1,"42":1}}],["span>",{"2":{"39":1,"41":1}}],["span",{"2":{"39":1,"41":1}}],["spec",{"2":{"23":1}}],["side",{"2":{"54":1}}],["single",{"2":{"48":1}}],["size",{"2":{"45":1,"57":1}}],["simply",{"2":{"42":1}}],["simple",{"0":{"48":1},"1":{"49":1},"2":{"3":1}}],["silently",{"2":{"35":1}}],["should",{"2":{"33":1,"38":1,"41":1}}],["showscanconfirmation",{"2":{"47":4}}],["show=",{"2":{"47":1}}],["show",{"0":{"44":1},"1":{"45":1},"2":{"25":1,"32":1,"44":1}}],["success",{"2":{"57":3}}],["successful",{"2":{"32":1}}],["suitable",{"2":{"27":1,"41":1,"49":1}}],["sure",{"2":{"25":1}}],["supports",{"2":{"24":1,"54":1}}],["supporting",{"2":{"3":1}}],["supported",{"2":{"1":1,"6":1,"10":1,"14":1,"21":1,"23":1,"24":1,"35":4,"39":1,"41":2,"49":1,"53":1}}],["support",{"0":{"1":1,"10":1,"21":1},"2":{"21":1,"24":1,"35":1,"52":1}}],["systems",{"2":{"24":1}}],["s",{"2":{"23":2,"25":1,"39":1,"46":2,"57":1}}],["sans",{"2":{"41":1}}],["safe",{"2":{"33":1}}],["safari",{"2":{"21":2,"43":2}}],["same",{"0":{"46":1},"1":{"47":1},"2":{"3":2,"12":2,"13":1,"23":1,"35":2,"46":2}}],["solid",{"2":{"49":1}}],["sorry",{"2":{"39":1}}],["source",{"0":{"39":1,"41":1,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1}}],["soon",{"2":{"25":1}}],["so",{"2":{"19":1,"24":1,"32":1,"33":1,"34":1,"42":1,"43":2,"54":1,"56":1,"57":1}}],["sometimes",{"2":{"41":1}}],["something",{"2":{"15":1}}],["some",{"2":{"15":1,"32":1,"39":1,"44":1,"57":1}}],["slots",{"0":{"8":1,"18":1,"36":1},"1":{"19":1,"37":1},"2":{"8":1}}],["step",{"2":{"48":1}}],["style=",{"2":{"49":2}}],["style",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["style>",{"2":{"39":2,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["styling",{"2":{"15":1}}],["store",{"2":{"33":1}}],["stuff",{"2":{"33":1}}],["stroketext",{"2":{"41":1}}],["strokerect",{"2":{"41":1,"49":1}}],["stroke",{"2":{"41":1}}],["strokestyle",{"2":{"41":3,"49":1}}],["stringify",{"2":{"39":1,"41":1,"47":1,"49":1,"55":1}}],["streamapinotsupportederror",{"2":{"27":1,"41":1,"49":1}}],["streaming",{"2":{"25":1}}],["stream>",{"2":{"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":2,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["stream",{"2":{"21":1,"23":2,"24":1,"25":2,"27":1,"33":1,"34":3,"35":2,"37":2,"41":2,"43":2,"44":1,"45":1,"47":1,"49":2,"51":1,"53":1,"56":1,"57":1}}],["structure",{"2":{"3":1,"12":1,"23":1}}],["still",{"2":{"3":1,"12":1,"23":1,"24":1,"56":1}}],["standalone",{"2":{"38":1}}],["standard",{"2":{"24":1}}],["starting",{"2":{"52":1}}],["startfrontcamera",{"2":{"34":1}}],["start",{"2":{"25":1}}],["startswith",{"2":{"57":1}}],["starts",{"2":{"25":1}}],["started",{"2":{"3":1,"26":1}}],["stackoverflow",{"2":{"1":1}}],["scale=1",{"2":{"49":1}}],["scans",{"2":{"32":1}}],["scanning",{"2":{"24":1,"25":1,"33":1,"39":1,"41":1,"46":1,"54":1}}],["scanned",{"2":{"3":1,"12":1,"23":1,"38":1,"56":1}}],["scan",{"0":{"46":1},"1":{"47":1},"2":{"23":1,"24":1,"46":1,"47":2}}],["scoped>",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["script",{"2":{"41":1,"49":2,"53":1}}],["script>",{"2":{"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":1,"55":2,"57":2}}],["screen",{"2":{"1":1,"21":1,"42":1}}],["secure",{"2":{"41":2,"49":2}}],["second",{"2":{"23":1,"25":1,"33":2,"46":1}}],["serif`",{"2":{"41":1}}],["served",{"2":{"27":1}}],["several",{"2":{"33":1}}],["settimeout",{"2":{"47":1,"57":1}}],["setting",{"2":{"32":1}}],["setup",{"2":{"41":1,"49":1,"53":1}}],["set",{"2":{"7":1}}],["select>",{"2":{"41":2,"53":1,"55":1}}],["select",{"2":{"3":1,"24":3,"39":2,"41":6,"53":1,"55":1}}],["selectedconstraints",{"2":{"41":3}}],["selectedbarcodeformats",{"2":{"39":2,"41":2}}],["selected",{"2":{"3":1,"24":1,"53":6,"55":3}}],["seem",{"2":{"51":2}}],["seems",{"2":{"27":1}}],["see",{"2":{"1":2,"10":1,"21":6,"24":1,"48":1}}],["new",{"2":{"23":1,"34":1,"47":1,"57":1}}],["newest",{"2":{"1":1,"10":1}}],["needed",{"2":{"24":1}}],["need",{"2":{"15":1,"25":1,"41":1,"48":1,"49":1}}],["null",{"2":{"7":2,"39":3,"43":1,"53":3,"55":1,"57":1}}],["navigator",{"2":{"41":1,"53":1}}],["name",{"2":{"13":2,"27":6,"34":1,"39":2,"41":8,"49":8,"51":1}}],["name=",{"2":{"7":1,"49":1}}],["native",{"2":{"1":1,"10":1,"15":2,"21":2,"24":3}}],["norearcamera",{"2":{"51":3}}],["nofrontcamera",{"2":{"51":3}}],["nowrap",{"2":{"41":1,"47":1,"57":1}}],["none",{"2":{"27":1}}],["no",{"2":{"3":1,"8":1,"12":1,"17":1,"21":1,"27":1,"34":1,"41":1,"49":1}}],["noticed",{"2":{"46":1}}],["nothing",{"2":{"41":1,"54":1}}],["notreadableerror",{"2":{"27":1,"41":1,"49":1}}],["notsupportederror",{"2":{"27":1,"41":1,"49":1}}],["notfounderror",{"2":{"27":1,"41":1,"49":1}}],["notallowederror",{"2":{"27":1,"41":1,"49":1}}],["note",{"2":{"24":1,"33":1,"41":1,"43":1,"52":1}}],["not",{"2":{"1":1,"7":1,"10":1,"13":1,"15":1,"21":1,"27":1,"35":2,"39":1,"41":3,"42":2,"49":2,"53":1,"54":1,"57":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/@localSearchIndexroot.C9dE4YuA.js b/assets/chunks/@localSearchIndexroot.C9dE4YuA.js deleted file mode 100644 index 6ddd434e..00000000 --- a/assets/chunks/@localSearchIndexroot.C9dE4YuA.js +++ /dev/null @@ -1 +0,0 @@ -const e='{"documentCount":58,"nextId":58,"documentIds":{"0":"/vue-qrcode-reader/api/QrcodeCapture.html#qrcodecapture","1":"/vue-qrcode-reader/api/QrcodeCapture.html#browser-support","2":"/vue-qrcode-reader/api/QrcodeCapture.html#events","3":"/vue-qrcode-reader/api/QrcodeCapture.html#detect","4":"/vue-qrcode-reader/api/QrcodeCapture.html#decode","5":"/vue-qrcode-reader/api/QrcodeCapture.html#props","6":"/vue-qrcode-reader/api/QrcodeCapture.html#formats","7":"/vue-qrcode-reader/api/QrcodeCapture.html#disabled-capture-multiple","8":"/vue-qrcode-reader/api/QrcodeCapture.html#slots","9":"/vue-qrcode-reader/api/QrcodeDropZone.html#qrcodedropzone","10":"/vue-qrcode-reader/api/QrcodeDropZone.html#browser-support","11":"/vue-qrcode-reader/api/QrcodeDropZone.html#events","12":"/vue-qrcode-reader/api/QrcodeDropZone.html#detect","13":"/vue-qrcode-reader/api/QrcodeDropZone.html#error","14":"/vue-qrcode-reader/api/QrcodeDropZone.html#formats","15":"/vue-qrcode-reader/api/QrcodeDropZone.html#dragover","16":"/vue-qrcode-reader/api/QrcodeDropZone.html#decode","17":"/vue-qrcode-reader/api/QrcodeDropZone.html#props","18":"/vue-qrcode-reader/api/QrcodeDropZone.html#slots","19":"/vue-qrcode-reader/api/QrcodeDropZone.html#default","20":"/vue-qrcode-reader/api/QrcodeStream.html#qrcodestream","21":"/vue-qrcode-reader/api/QrcodeStream.html#browser-support","22":"/vue-qrcode-reader/api/QrcodeStream.html#events","23":"/vue-qrcode-reader/api/QrcodeStream.html#detect","24":"/vue-qrcode-reader/api/QrcodeStream.html#formats","25":"/vue-qrcode-reader/api/QrcodeStream.html#camera-on","26":"/vue-qrcode-reader/api/QrcodeStream.html#camera-off","27":"/vue-qrcode-reader/api/QrcodeStream.html#error","28":"/vue-qrcode-reader/api/QrcodeStream.html#decode","29":"/vue-qrcode-reader/api/QrcodeStream.html#init","30":"/vue-qrcode-reader/api/QrcodeStream.html#camera","31":"/vue-qrcode-reader/api/QrcodeStream.html#props","32":"/vue-qrcode-reader/api/QrcodeStream.html#paused","33":"/vue-qrcode-reader/api/QrcodeStream.html#track","34":"/vue-qrcode-reader/api/QrcodeStream.html#constraints","35":"/vue-qrcode-reader/api/QrcodeStream.html#torch","36":"/vue-qrcode-reader/api/QrcodeStream.html#slots","37":"/vue-qrcode-reader/api/QrcodeStream.html#default","38":"/vue-qrcode-reader/demos/DragDrop.html#decode-by-drag-drop","39":"/vue-qrcode-reader/demos/DragDrop.html#source","40":"/vue-qrcode-reader/demos/FullDemo.html#full-demo","41":"/vue-qrcode-reader/demos/FullDemo.html#source","42":"/vue-qrcode-reader/demos/Fullscreen.html#fullscreen","43":"/vue-qrcode-reader/demos/Fullscreen.html#source","44":"/vue-qrcode-reader/demos/LoadingIndicator.html#show-loading-indicator","45":"/vue-qrcode-reader/demos/LoadingIndicator.html#source","46":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#scan-same-qr-code-more-than-once","47":"/vue-qrcode-reader/demos/ScanSameQrcodeMoreThanOnce.html#source","48":"/vue-qrcode-reader/demos/Simple.html#simple","49":"/vue-qrcode-reader/demos/Simple.html#source","50":"/vue-qrcode-reader/demos/SwitchCamera.html#switch-to-front-camera","51":"/vue-qrcode-reader/demos/SwitchCamera.html#source","52":"/vue-qrcode-reader/demos/Torch.html#torch-flashlight","53":"/vue-qrcode-reader/demos/Torch.html#source","54":"/vue-qrcode-reader/demos/Upload.html#decode-by-upload","55":"/vue-qrcode-reader/demos/Upload.html#source","56":"/vue-qrcode-reader/demos/Validate.html#pause-validate","57":"/vue-qrcode-reader/demos/Validate.html#source"},"fieldIds":{"title":0,"titles":1,"text":2},"fieldLength":{"0":[1,1,1],"1":[2,1,39],"2":[1,1,1],"3":[1,2,69],"4":[1,2,8],"5":[1,1,1],"6":[1,2,25],"7":[4,2,60],"8":[1,1,3],"9":[1,1,1],"10":[2,1,19],"11":[1,1,1],"12":[1,2,64],"13":[1,2,67],"14":[1,2,26],"15":[1,2,65],"16":[1,2,8],"17":[1,1,3],"18":[1,1,1],"19":[1,2,36],"20":[1,1,1],"21":[2,1,58],"22":[1,1,1],"23":[1,2,141],"24":[1,2,92],"25":[2,2,105],"26":[2,2,32],"27":[1,2,73],"28":[1,2,8],"29":[1,2,10],"30":[1,2,8],"31":[1,1,1],"32":[1,2,33],"33":[1,2,105],"34":[1,2,101],"35":[1,2,98],"36":[1,1,1],"37":[1,2,21],"38":[5,1,27],"39":[1,6,176],"40":[2,1,1],"41":[1,3,325],"42":[1,1,26],"43":[1,2,148],"44":[3,1,30],"45":[1,4,61],"46":[7,1,67],"47":[1,8,99],"48":[1,1,38],"49":[1,2,154],"50":[4,1,16],"51":[1,5,90],"52":[3,1,43],"53":[1,3,118],"54":[3,1,52],"55":[1,4,67],"56":[3,1,29],"57":[1,4,134]},"averageFieldLength":[1.5172413793103448,1.9310344827586208,53.24137931034483],"storedFields":{"0":{"title":"QrcodeCapture","titles":[]},"1":{"title":"Browser Support","titles":["QrcodeCapture"]},"2":{"title":"Events","titles":["QrcodeCapture"]},"3":{"title":"detect","titles":["QrcodeCapture","Events"]},"4":{"title":"decode","titles":["QrcodeCapture","Events"]},"5":{"title":"Props","titles":["QrcodeCapture"]},"6":{"title":"formats","titles":["QrcodeCapture","Props"]},"7":{"title":"disabled, capture, multiple, ...","titles":["QrcodeCapture","Props"]},"8":{"title":"Slots","titles":["QrcodeCapture"]},"9":{"title":"QrcodeDropZone","titles":[]},"10":{"title":"Browser Support","titles":["QrcodeDropZone"]},"11":{"title":"Events","titles":["QrcodeDropZone"]},"12":{"title":"detect","titles":["QrcodeDropZone","Events"]},"13":{"title":"error","titles":["QrcodeDropZone","Events"]},"14":{"title":"formats","titles":["QrcodeDropZone","Events"]},"15":{"title":"dragover","titles":["QrcodeDropZone","Events"]},"16":{"title":"decode","titles":["QrcodeDropZone","Events"]},"17":{"title":"Props","titles":["QrcodeDropZone"]},"18":{"title":"Slots","titles":["QrcodeDropZone"]},"19":{"title":"default","titles":["QrcodeDropZone","Slots"]},"20":{"title":"QrcodeStream","titles":[]},"21":{"title":"Browser Support","titles":["QrcodeStream"]},"22":{"title":"Events","titles":["QrcodeStream"]},"23":{"title":"detect","titles":["QrcodeStream","Events"]},"24":{"title":"formats","titles":["QrcodeStream","Events"]},"25":{"title":"camera-on","titles":["QrcodeStream","Events"]},"26":{"title":"camera-off","titles":["QrcodeStream","Events"]},"27":{"title":"error","titles":["QrcodeStream","Events"]},"28":{"title":"decode","titles":["QrcodeStream","Events"]},"29":{"title":"init","titles":["QrcodeStream","Events"]},"30":{"title":"camera","titles":["QrcodeStream","Events"]},"31":{"title":"Props","titles":["QrcodeStream"]},"32":{"title":"paused","titles":["QrcodeStream","Props"]},"33":{"title":"track","titles":["QrcodeStream","Props"]},"34":{"title":"constraints","titles":["QrcodeStream","Props"]},"35":{"title":"torch","titles":["QrcodeStream","Props"]},"36":{"title":"Slots","titles":["QrcodeStream"]},"37":{"title":"default","titles":["QrcodeStream","Slots"]},"38":{"title":"Decode by Drag&Drop","titles":[]},"39":{"title":"Source","titles":["Decode by Drag&Drop",null]},"40":{"title":"Full Demo","titles":[]},"41":{"title":"Source","titles":["Full Demo",null]},"42":{"title":"Fullscreen","titles":[]},"43":{"title":"Source","titles":["Fullscreen",null]},"44":{"title":"Show Loading Indicator","titles":[]},"45":{"title":"Source","titles":["Show Loading Indicator",null]},"46":{"title":"Scan Same QR Code More Than Once","titles":[]},"47":{"title":"Source","titles":["Scan Same QR Code More Than Once",null]},"48":{"title":"Simple","titles":[]},"49":{"title":"Source","titles":["Simple",null]},"50":{"title":"Switch to Front Camera","titles":[]},"51":{"title":"Source","titles":["Switch to Front Camera",null]},"52":{"title":"Torch (Flashlight)","titles":[]},"53":{"title":"Source","titles":["Torch (Flashlight)",null]},"54":{"title":"Decode by Upload","titles":[]},"55":{"title":"Source","titles":["Decode by Upload",null]},"56":{"title":"Pause & Validate","titles":[]},"57":{"title":"Source","titles":["Pause & Validate",null]}},"dirtCount":0,"index":[["|",{"2":{"53":1}}],["\\t\\t",{"2":{"49":1}}],["\\t",{"2":{"49":2}}],["$nexttick",{"2":{"45":1}}],["$refs",{"2":{"43":1}}],["$",{"2":{"41":3,"49":1}}],["`requestfullscreen`",{"2":{"43":3}}],["`bold",{"2":{"41":1}}],["`",{"2":{"41":3,"49":2}}],["`$",{"2":{"41":1}}],["`camera",{"2":{"41":1}}],["`qrcodestream`",{"2":{"41":1}}],["`enumeratedevices`",{"2":{"41":1}}],["+=",{"2":{"41":8,"49":8}}],["+",{"2":{"39":1,"41":2}}],["8",{"2":{"39":1,"41":1,"47":1,"49":1,"57":1}}],["82",{"2":{"23":3}}],["kind",{"2":{"39":1,"41":2,"53":2}}],["key=",{"2":{"39":1,"41":3,"53":1,"55":1}}],["keys",{"2":{"39":2,"41":2}}],["know",{"2":{"25":1}}],["green",{"2":{"57":1}}],["grained",{"2":{"41":1}}],["grant",{"2":{"25":1,"41":1,"49":1}}],["global",{"2":{"49":1}}],["guarantee",{"2":{"41":1}}],["given",{"2":{"41":1}}],["g",{"2":{"41":1}}],["go",{"2":{"33":1,"42":1}}],["getusermedia",{"2":{"34":2}}],["get",{"2":{"25":1}}],["gt",{"2":{"25":1}}],["5",{"2":{"49":1}}],["5cb984",{"2":{"41":1}}],["50px",{"2":{"51":2,"53":2}}],["500",{"2":{"47":1}}],["50",{"2":{"41":1}}],["542",{"2":{"23":1}}],["566",{"2":{"23":2}}],["93",{"2":{"39":1,"41":1}}],["94",{"2":{"23":1}}],["91",{"2":{"23":1}}],["70",{"2":{"23":3}}],["76",{"2":{"21":1}}],["x26",{"2":{"34":2,"51":4,"57":2}}],["x",{"2":{"23":10,"41":7,"49":2}}],["x3c",{"2":{"6":2,"7":5,"13":4,"14":2,"15":5,"19":4,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":4,"39":26,"41":37,"43":13,"45":14,"47":17,"49":31,"51":17,"53":21,"55":18,"57":20}}],["2px",{"2":{"49":1}}],["255",{"2":{"47":3,"57":3}}],["258",{"2":{"23":2}}],["2000",{"2":{"57":1}}],["20px",{"2":{"45":1}}],["206",{"2":{"1":1,"10":1,"21":1}}],["2rem",{"2":{"43":1,"45":1}}],["2",{"2":{"41":3,"49":1}}],["240",{"2":{"23":2}}],["244",{"2":{"23":2}}],["260",{"2":{"23":2}}],["29",{"2":{"21":2}}],["4rem",{"2":{"57":1}}],["4",{"2":{"21":1}}],["48",{"2":{"21":1}}],["lang=",{"2":{"41":1,"49":1,"53":1}}],["label>",{"2":{"39":1,"41":1}}],["label",{"2":{"39":1,"41":8,"53":2}}],["lacking",{"2":{"27":1}}],["last",{"2":{"23":1,"39":1,"41":1,"46":1,"47":1,"55":1,"56":1,"57":1}}],["lt",{"2":{"25":1}}],["length",{"2":{"53":1}}],["less",{"2":{"42":1}}],["leaks",{"2":{"33":1}}],["least",{"2":{"21":3}}],["left",{"2":{"23":2,"43":1,"51":1,"53":1}}],["long",{"2":{"57":2}}],["low",{"2":{"52":1}}],["log",{"2":{"39":1,"41":1,"53":1,"55":1}}],["logerrors",{"2":{"39":2,"43":2}}],["looks",{"2":{"56":1}}],["look",{"2":{"33":1}}],["location",{"2":{"33":2}}],["localhost",{"2":{"21":2,"27":1,"41":2,"49":2}}],["load",{"2":{"39":1}}],["loading",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":7}}],["loaded",{"2":{"23":1,"25":1,"35":1}}],["light",{"2":{"52":1}}],["linewidth",{"2":{"41":2,"49":1}}],["lineto",{"2":{"41":2}}],["linear",{"2":{"39":1,"41":1}}],["link",{"2":{"4":1}}],["limitations",{"2":{"35":1}}],["limited",{"2":{"21":1}}],["like",{"2":{"33":2,"48":1,"56":1}}],["listen",{"2":{"15":1,"25":1,"44":1}}],["z",{"2":{"43":1}}],["zero",{"2":{"19":1}}],["zone>",{"2":{"13":1,"14":1,"15":1,"19":2,"39":1}}],["zone",{"2":{"13":1,"14":1,"15":1,"39":1}}],["007bff",{"2":{"41":1,"49":1}}],["0",{"2":{"16":2,"28":2,"29":2,"30":2,"43":6,"47":1,"49":1,"53":2,"55":1,"57":1}}],["=>",{"2":{"39":2,"41":5,"47":2,"49":1,"53":3,"55":1,"57":1}}],["==",{"2":{"39":1,"43":1,"53":1}}],["===",{"2":{"13":2,"27":6,"34":2,"39":2,"41":8,"49":7,"51":3,"53":1,"57":3}}],["=",{"2":{"15":1,"34":3,"35":1,"39":5,"41":29,"43":3,"45":4,"47":5,"49":9,"51":7,"53":9,"55":2,"57":5}}],["ツ",{"2":{"13":1}}],["¯",{"2":{"13":2}}],["js",{"2":{"49":2}}],["jsmethods",{"2":{"35":1}}],["jsdata",{"2":{"34":1}}],["jsnavigator",{"2":{"34":1}}],["json",{"2":{"23":1,"39":1,"41":1,"47":1,"49":1,"55":1}}],["javascriptdata",{"2":{"15":1}}],["javascriptmethods",{"2":{"13":1,"23":1,"25":1,"27":1}}],["justify",{"2":{"47":1,"57":1}}],["just",{"2":{"13":1,"56":1}}],["using",{"2":{"52":1}}],["useful",{"2":{"32":1}}],["users",{"2":{"23":1,"25":3,"38":1,"50":1,"57":1}}],["user",{"2":{"15":1,"25":1,"27":1,"34":2,"41":2,"43":2,"51":3,"55":1}}],["use",{"2":{"4":1,"7":1,"15":1,"16":1,"24":3,"27":1,"28":1,"29":1,"30":1,"34":2,"38":1,"41":3,"43":1,"48":1,"49":3,"52":1}}],["umd",{"2":{"49":1}}],["utf",{"2":{"49":1}}],["utilize",{"2":{"48":1}}],["uploaded",{"2":{"54":2}}],["upload",{"0":{"54":1},"1":{"55":1},"2":{"54":1}}],["ups",{"2":{"39":1}}],["upc",{"2":{"39":2,"41":2}}],["unpkg",{"2":{"49":2}}],["unpause",{"2":{"32":1}}],["undefined",{"2":{"33":1,"41":1,"57":3}}],["understand",{"2":{"25":1}}],["under",{"2":{"24":1}}],["unsupported",{"2":{"13":1,"35":1}}],["url",{"2":{"13":2,"57":2}}],["v",{"2":{"39":3,"41":6,"45":2,"47":1,"51":2,"53":5,"55":2,"57":3}}],["via",{"2":{"54":1}}],["vite",{"2":{"48":1}}],["vitepress",{"2":{"43":1,"47":1,"51":1,"53":1}}],["visible",{"2":{"44":1}}],["visually",{"2":{"33":1,"41":1}}],["viewport",{"2":{"43":1,"49":1}}],["view",{"2":{"41":1,"46":1}}],["videoinput",{"2":{"41":1,"53":1}}],["videodevices",{"2":{"41":2}}],["video",{"2":{"34":1}}],["violation",{"2":{"13":1}}],["void",{"2":{"26":1}}],["vary",{"2":{"35":1}}],["variety",{"2":{"39":1,"41":2}}],["varies",{"2":{"24":1}}],["various",{"2":{"34":1}}],["value=",{"2":{"41":2,"53":1,"55":1}}],["value",{"2":{"23":1,"41":19,"49":10,"53":6,"55":4}}],["validationpending",{"2":{"57":2}}],["validationfailure",{"2":{"57":2}}],["validation",{"2":{"57":9}}],["validationsuccess",{"2":{"57":2}}],["validate",{"0":{"56":1},"1":{"57":1}}],["valid",{"2":{"7":1}}],["v4",{"2":{"16":1,"28":1,"29":1,"30":1}}],["vueqrcodereader",{"2":{"49":1}}],["vuex",{"2":{"33":1}}],["vues",{"2":{"15":1}}],["vue",{"2":{"1":1,"7":1,"10":1,"21":1,"39":1,"41":2,"43":1,"45":1,"47":1,"49":5,"51":1,"53":2,"55":1,"57":1}}],["rgba",{"2":{"47":1,"57":1}}],["rather",{"2":{"41":1,"43":1,"49":1}}],["rawvalue",{"2":{"23":2,"39":1,"41":4,"47":1,"49":1,"55":1,"57":1}}],["rm",{"2":{"39":1,"41":1}}],["row",{"2":{"23":1,"46":1,"47":1}}],["root",{"2":{"7":1}}],["right",{"2":{"23":2,"41":1,"43":2,"48":1}}],["reload",{"2":{"45":2}}],["reloaded",{"2":{"35":1}}],["re",{"2":{"44":1,"45":1}}],["ref=",{"2":{"43":1}}],["ref",{"2":{"41":7,"49":3,"53":5}}],["red",{"2":{"39":1,"41":2,"49":1,"51":1,"53":1,"57":1}}],["received",{"2":{"56":1}}],["receives",{"2":{"33":1}}],["recognized",{"2":{"3":1,"12":1}}],["required",{"2":{"41":1,"49":1}}],["requires",{"2":{"21":2}}],["requestfullscreen",{"2":{"43":4}}],["requested",{"2":{"34":1}}],["requesting",{"2":{"34":1,"41":1}}],["request",{"2":{"27":1}}],["resolve",{"2":{"47":2,"57":2}}],["resolves",{"2":{"25":1}}],["resetvalidationstate",{"2":{"57":2}}],["reset",{"2":{"46":1}}],["resets",{"2":{"23":1}}],["result",{"2":{"39":5,"41":5,"47":5,"49":5,"55":5,"57":6}}],["results",{"2":{"3":1,"12":1,"23":2}}],["restarted",{"2":{"26":1,"32":1}}],["read",{"2":{"57":1}}],["reader",{"2":{"49":2}}],["ready",{"2":{"25":2}}],["reactive",{"2":{"33":1}}],["reacting",{"2":{"15":1}}],["real",{"2":{"33":1,"41":1}}],["really",{"2":{"15":1,"57":1}}],["reasons",{"2":{"27":1}}],["rear",{"2":{"26":1,"34":1,"35":1,"41":2,"50":1,"51":1,"55":1}}],["return",{"2":{"15":1,"34":1,"39":2,"41":1,"43":3,"45":1,"47":2,"49":1,"51":1,"53":2,"55":1,"57":5}}],["remove",{"2":{"7":1}}],["renders",{"2":{"3":1,"19":1}}],[">destroy",{"2":{"45":1}}],[">",{"2":{"6":1,"7":3,"13":2,"14":1,"15":3,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"39":8,"41":12,"43":4,"45":2,"47":4,"49":9,"51":5,"53":8,"55":5,"57":5}}],["hr",{"2":{"55":1}}],["h1>",{"2":{"49":1}}],["h1>simple",{"2":{"49":1}}],["hits",{"2":{"43":1}}],["hide",{"2":{"25":1}}],["highlighted",{"2":{"41":1}}],["highlight",{"2":{"15":1,"33":1}}],["how",{"2":{"25":1,"33":1}}],["however",{"2":{"23":1,"46":1}}],["hood",{"2":{"24":1}}],["hold",{"2":{"23":1}}],["home",{"2":{"1":1,"21":1}}],["http",{"2":{"41":1,"49":1,"57":1}}],["https",{"2":{"21":2,"23":1,"27":1,"41":2,"49":4}}],["html>",{"2":{"49":2}}],["html",{"2":{"6":1,"7":3,"13":1,"14":1,"15":1,"19":1,"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":1,"49":2}}],["handling",{"2":{"41":2}}],["happening",{"2":{"54":1}}],["happened",{"2":{"41":1}}],["happen",{"2":{"27":1}}],["happens",{"2":{"26":1}}],["have",{"2":{"19":1,"24":1,"34":1,"41":1,"46":1,"51":2,"57":1}}],["has",{"2":{"13":1,"25":2,"26":1,"33":1,"35":2,"41":2}}],["head>",{"2":{"49":2}}],["header",{"2":{"13":1}}],["hello",{"2":{"23":1}}],["help",{"2":{"21":1}}],["here",{"2":{"19":1,"23":1,"37":1,"39":1}}],["height",{"2":{"19":2,"23":2,"39":1,"41":3,"47":1,"49":2,"51":1,"53":1,"57":1}}],["fullscreenelement",{"2":{"43":1}}],["fullscreenicon",{"2":{"43":2}}],["fullscreenchange=",{"2":{"43":1}}],["fullscreen",{"0":{"42":1},"1":{"43":1},"2":{"42":1,"43":16}}],["full",{"0":{"40":1},"1":{"41":1}}],["functons",{"2":{"41":1}}],["function",{"2":{"33":5,"41":6,"49":3,"53":2}}],["fundamentally",{"2":{"21":1}}],["following",{"2":{"41":1,"54":1}}],["fontsize",{"2":{"41":2}}],["font",{"2":{"39":2,"41":2,"45":2,"51":1,"53":1,"57":2}}],["force",{"2":{"44":1,"55":1}}],["for=",{"2":{"39":2,"41":4,"53":1,"55":1}}],["format",{"2":{"23":2,"24":1,"39":3,"41":4}}],["formats=",{"2":{"6":1,"14":1,"24":1,"39":1,"41":1}}],["formats",{"0":{"6":1,"14":1,"24":1},"2":{"6":4,"14":4,"24":8,"39":2,"41":2}}],["for",{"2":{"3":1,"12":1,"15":1,"16":1,"21":4,"23":1,"24":1,"25":3,"26":1,"28":1,"29":1,"30":1,"33":1,"34":3,"35":1,"38":1,"41":5,"43":1,"44":1,"48":1,"49":1,"53":1}}],["fff",{"2":{"39":1}}],["flow",{"2":{"47":1,"57":1}}],["flooded",{"2":{"23":1,"46":1}}],["flex",{"2":{"47":2,"57":2}}],["flash",{"2":{"53":2}}],["flashlight",{"0":{"52":1},"1":{"53":1},"2":{"35":3,"52":2}}],["flavor",{"2":{"41":1}}],["feature",{"2":{"33":1,"38":1,"52":1}}],["features",{"2":{"27":1}}],["fetched",{"2":{"13":1}}],["failure",{"2":{"57":3}}],["fails",{"2":{"27":1,"35":1}}],["facingmode",{"2":{"34":5,"41":3,"51":7}}],["fallback",{"2":{"38":1}}],["falls",{"2":{"24":1}}],["fallthrough",{"2":{"7":1}}],["false",{"2":{"15":1,"32":1,"34":1,"35":1,"39":21,"41":20,"43":1,"45":3,"47":4,"51":2,"53":2,"57":3}}],["frequency",{"2":{"33":1}}],["freezes",{"2":{"32":1}}],["frame",{"2":{"33":1,"56":1}}],["frames",{"2":{"23":1}}],["front",{"0":{"50":1},"1":{"51":1},"2":{"26":1,"27":1,"34":3,"35":1,"41":2,"50":1,"51":1,"55":1}}],["from",{"2":{"12":1,"13":1,"23":1,"35":1,"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["frustrated",{"2":{"25":1}}],["finally",{"2":{"54":1}}],["fine",{"2":{"41":1}}],["fixed",{"2":{"43":1}}],["filltext",{"2":{"41":1}}],["fillstyle",{"2":{"41":1}}],["filter",{"2":{"39":1,"41":2,"53":1}}],["film",{"2":{"39":1,"41":1}}],["files",{"2":{"12":1}}],["file",{"2":{"3":2,"7":1,"13":3,"48":1,"54":2,"55":1}}],["filereader",{"2":{"1":1,"10":1}}],["firstdetectedcode",{"2":{"57":2}}],["firstpoint",{"2":{"41":5}}],["first",{"2":{"25":1,"33":1}}],["firefox",{"2":{"21":1,"43":2}}],["ms",{"2":{"47":2,"57":2}}],["msexitfullscreen",{"2":{"43":2}}],["msrequestfullscreen",{"2":{"43":2}}],["must",{"2":{"34":1,"35":1}}],["multiple",{"0":{"7":1},"2":{"3":1,"7":1,"12":1,"23":3,"39":1,"41":1,"46":2}}],["micro",{"2":{"39":1,"41":1}}],["microinteraction",{"2":{"32":1}}],["might",{"2":{"15":1,"24":1,"25":2,"33":2,"43":1,"46":1,"52":1}}],["margin",{"2":{"41":1,"43":1,"45":1}}],["max",{"2":{"41":1}}],["maxi",{"2":{"39":1,"41":1}}],["math",{"2":{"41":1}}],["matrix",{"2":{"39":2,"41":2}}],["map",{"2":{"39":1,"41":2,"47":1,"49":1,"55":1}}],["maybe",{"2":{"27":1}}],["manually",{"2":{"25":1}}],["make",{"2":{"7":1,"25":1,"52":1}}],["memo=",{"2":{"53":1}}],["memory",{"2":{"33":1}}],["meta",{"2":{"49":2}}],["methods",{"2":{"15":1,"34":1,"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["message",{"2":{"39":1,"41":1,"49":1,"57":1}}],["means",{"2":{"35":1}}],["mediadeviceinfo",{"2":{"53":2}}],["mediadevices",{"2":{"34":1,"41":1,"53":1}}],["mediatrackconstriants",{"2":{"34":1}}],["mediatrackconstraints",{"2":{"34":1}}],["mediatrackcapabilities",{"2":{"25":2,"35":1}}],["merely",{"2":{"19":1}}],["mozcancelfullscreen",{"2":{"43":2}}],["mozrequestfullscreen",{"2":{"43":2}}],["move",{"2":{"43":1}}],["moveto",{"2":{"41":1}}],["mounting",{"2":{"44":1}}],["mount",{"2":{"25":1,"49":1}}],["more",{"0":{"46":1},"1":{"47":1},"2":{"24":3,"39":2,"41":3,"42":1,"57":1}}],["moment",{"2":{"23":1,"35":1}}],["modified",{"2":{"26":1,"34":1}}],["modifier",{"2":{"15":1}}],["modify",{"2":{"24":1}}],["modern",{"2":{"41":1}}],["model=",{"2":{"39":1,"41":3,"53":1,"55":1}}],["mode",{"2":{"1":1,"21":1}}],["mobile",{"2":{"3":1,"41":1,"43":1,"54":1}}],["y",{"2":{"23":10,"41":7,"49":2}}],["your",{"2":{"12":1,"25":1,"33":2,"43":1,"46":1,"48":1,"51":2,"54":2}}],["you",{"2":{"3":1,"7":2,"12":2,"15":2,"19":1,"23":3,"24":4,"25":5,"27":1,"32":2,"33":3,"34":4,"35":3,"38":1,"39":3,"41":4,"43":1,"46":3,"48":1,"49":1,"50":1,"51":2,"52":2,"54":3,"56":1}}],["yes²",{"2":{"21":1}}],["yes¹",{"2":{"1":1,"21":1}}],["yes",{"2":{"1":3,"10":4,"21":2}}],["black",{"2":{"49":1,"57":1}}],["block",{"2":{"41":1}}],["build",{"2":{"48":1}}],["bundler",{"2":{"48":1}}],["button>",{"2":{"43":1,"45":1,"51":1,"53":1}}],["button",{"2":{"43":6,"44":1,"45":2,"51":3,"53":3}}],["but",{"2":{"7":1,"23":1,"24":1,"35":2,"39":2,"41":2,"43":1,"54":1}}],["break",{"2":{"51":2}}],["br",{"2":{"39":1,"41":1}}],["browsers",{"2":{"21":1,"24":1,"35":1,"52":1}}],["browser",{"0":{"1":1,"10":1,"21":1},"2":{"24":1,"27":1,"35":1,"41":1,"48":1,"49":1,"54":1}}],["background",{"2":{"39":2,"43":1,"47":1,"57":1}}],["back",{"2":{"24":1,"43":1}}],["barcodeformats",{"2":{"39":5,"41":5}}],["barcodedetector",{"2":{"24":1}}],["barcodedetectoroptions",{"2":{"6":1,"14":1,"24":1}}],["barcode",{"2":{"6":1,"14":1,"23":1,"24":3,"39":3,"41":4}}],["border",{"2":{"49":1}}],["body>",{"2":{"49":2}}],["box",{"2":{"41":1}}],["bounding",{"2":{"41":1}}],["boundingbox",{"2":{"23":2,"41":7,"49":1}}],["bold",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["bottom",{"2":{"23":2,"43":2,"45":1}}],["boolean",{"2":{"15":1,"32":1,"35":1}}],["b>stuff",{"2":{"37":1}}],["b>",{"2":{"19":1,"37":1,"39":2,"41":2,"47":2,"49":2,"55":2,"57":2}}],["b>put",{"2":{"19":1}}],["behavior",{"2":{"54":1}}],["below",{"2":{"44":1}}],["beginpath",{"2":{"41":1}}],["best",{"2":{"41":1}}],["been",{"2":{"35":1}}],["between",{"2":{"26":1,"44":1}}],["before",{"2":{"25":2,"41":1}}],["becoming",{"2":{"44":1}}],["becomes",{"2":{"24":1,"39":1,"41":1,"43":1}}],["because",{"2":{"7":2,"25":1}}],["be",{"2":{"3":1,"12":1,"13":2,"15":1,"23":1,"25":2,"26":1,"27":1,"33":2,"34":1,"35":2,"38":1,"39":1,"46":1,"52":1,"54":1}}],["by",{"0":{"38":1,"54":1},"1":{"39":1,"55":1},"2":{"3":1,"12":1,"15":1,"19":1,"23":1,"24":1,"35":1,"39":1,"41":4,"43":1,"52":1,"56":1}}],["ok",{"2":{"39":1}}],["occur",{"2":{"34":1}}],["occupies",{"2":{"12":1,"42":1}}],["option>",{"2":{"41":2,"53":1,"55":1}}],["option",{"2":{"39":6,"41":16,"53":1,"55":5}}],["options",{"2":{"34":1,"55":4}}],["opera",{"2":{"43":2}}],["operating",{"2":{"24":1}}],["open",{"2":{"13":1}}],["opens",{"2":{"3":1}}],["outline",{"2":{"41":1}}],["out",{"2":{"33":1}}],["object",{"2":{"33":1,"34":4,"35":1,"39":2,"41":2}}],["overlays",{"2":{"33":1,"37":2}}],["overconstrainederror",{"2":{"27":1,"34":1,"41":1,"49":1,"51":1}}],["over",{"2":{"15":1,"27":1}}],["override",{"2":{"7":1}}],["org",{"2":{"23":1}}],["origin",{"2":{"13":1,"39":1}}],["or",{"2":{"12":1,"13":1,"21":1,"23":1,"26":1,"27":1,"33":1,"34":1,"35":1,"38":1,"39":1,"41":3,"49":1,"50":1}}],["otherpoints",{"2":{"41":2}}],["otherwise",{"2":{"24":1,"25":1}}],["other",{"2":{"7":1,"12":1,"21":1,"24":1,"39":1,"41":1,"48":1}}],["old",{"2":{"4":1}}],["off=",{"2":{"47":1}}],["off",{"0":{"26":1},"2":{"26":1,"35":2,"52":1,"53":1}}],["often",{"2":{"23":1,"35":1,"41":1,"46":1}}],["of",{"2":{"3":1,"7":2,"12":1,"13":1,"23":3,"27":1,"34":1,"39":2,"41":7,"46":1,"49":1,"52":1}}],["onmounted",{"2":{"53":2}}],["onfullscreenchange",{"2":{"43":2}}],["on`",{"2":{"41":1}}],["oninit",{"2":{"35":2}}],["onready",{"2":{"25":2}}],["on=",{"2":{"25":1,"35":1,"41":1,"45":1,"47":1,"53":1,"57":1}}],["only",{"2":{"23":3,"24":2,"25":1,"35":1,"39":1,"41":2,"46":1,"49":1,"52":1}}],["oncameraoff",{"2":{"47":2}}],["oncameraon",{"2":{"45":2,"47":2,"53":2}}],["oncameraready",{"2":{"41":2}}],["once",{"0":{"46":1},"1":{"47":1},"2":{"23":2,"25":1,"35":1}}],["onchangeinput",{"2":{"7":1}}],["ondragover",{"2":{"15":2,"39":2}}],["ondetect",{"2":{"13":1,"23":2,"39":2,"41":2,"47":2,"49":3,"55":2,"57":2}}],["onerror",{"2":{"13":1,"27":2,"34":2,"41":2,"47":2,"49":3,"51":2,"53":1,"57":2}}],["one",{"2":{"3":1,"12":1,"23":1,"34":1,"39":1,"41":2,"56":1}}],["on",{"0":{"25":1},"2":{"1":2,"3":2,"10":1,"12":1,"21":2,"25":1,"29":1,"32":1,"33":1,"34":3,"35":7,"41":2,"43":2,"44":1,"48":1,"49":1,"50":1,"51":2,"52":1,"53":1,"54":1}}],["createapp",{"2":{"49":2}}],["create",{"2":{"44":1,"45":1}}],["cross",{"2":{"39":1}}],["ctx",{"2":{"41":21,"49":4}}],["centered",{"2":{"41":1}}],["centery",{"2":{"41":3}}],["centerx",{"2":{"41":3}}],["center",{"2":{"39":1,"41":1,"45":1,"47":1,"57":2}}],["custom",{"2":{"15":1}}],["client",{"2":{"54":1}}],["click=",{"2":{"43":1,"45":1,"51":1,"53":1}}],["clicking",{"2":{"3":1}}],["classic",{"2":{"54":1}}],["class=",{"2":{"15":1,"39":5,"41":3,"43":2,"45":1,"47":2,"51":2,"53":1,"55":1,"57":4}}],["closepath",{"2":{"41":1}}],["ch",{"2":{"52":1}}],["choose",{"2":{"50":1}}],["choice",{"2":{"41":1}}],["charset=",{"2":{"49":1}}],["changes",{"2":{"46":1}}],["change",{"2":{"25":1,"41":1,"46":1}}],["change=",{"2":{"7":1}}],["changing",{"2":{"23":1}}],["checkmark",{"2":{"47":2}}],["checkbox",{"2":{"39":2,"41":3}}],["check",{"2":{"33":1}}],["checkout",{"2":{"7":1}}],["chrome",{"2":{"21":2,"25":1,"43":2}}],["column",{"2":{"57":1}}],["color",{"2":{"39":4,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":4}}],["comes",{"2":{"54":1}}],["com",{"2":{"49":2}}],["computed",{"2":{"33":1,"39":1,"41":2,"43":1,"53":2,"57":1}}],["components",{"2":{"7":2,"39":1,"43":1,"45":1,"47":1,"48":1,"51":1,"55":1,"57":1}}],["component",{"2":{"1":1,"3":1,"7":1,"10":1,"12":1,"15":1,"19":1,"21":2,"24":2,"25":2,"38":1,"42":1,"44":2,"45":1,"54":1}}],["covered",{"2":{"43":1}}],["covers",{"2":{"42":1}}],["codabar",{"2":{"39":1,"41":1}}],["codes",{"2":{"23":3,"24":1,"33":1,"39":3,"41":4,"46":1}}],["code",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":3,"12":1,"14":3,"23":5,"24":5,"33":1,"39":9,"41":9,"46":3,"47":2,"49":2,"55":2,"56":1}}],["couple",{"2":{"27":1}}],["cornerpoints",{"2":{"23":2,"41":1}}],["cors",{"2":{"13":2}}],["conditions",{"2":{"52":1}}],["consider",{"2":{"43":1}}],["consistently",{"2":{"35":1}}],["console",{"2":{"39":1,"41":1,"43":1,"47":1,"51":1,"53":3,"55":1,"57":1}}],["const",{"2":{"34":2,"35":1,"41":21,"43":1,"49":6,"51":3,"53":5,"55":1}}],["constraintoptions",{"2":{"41":3}}],["constraint",{"2":{"34":1}}],["constraints=",{"2":{"34":1,"41":1,"51":1,"53":1}}],["constraints",{"0":{"34":1},"2":{"26":1,"30":1,"41":5}}],["confirmation",{"2":{"47":2}}],["configuration",{"2":{"34":1}}],["confused",{"2":{"15":1}}],["context",{"2":{"41":2,"49":2}}],["content=",{"2":{"49":1}}],["content",{"2":{"19":2,"37":1,"46":1,"47":1,"57":1}}],["container",{"2":{"37":1}}],["control",{"2":{"35":1,"41":1}}],["continuously",{"2":{"23":1}}],["case",{"2":{"51":2}}],["care",{"2":{"41":1}}],["carries",{"2":{"25":1}}],["catch",{"2":{"34":1}}],["calling",{"2":{"43":2}}],["call",{"2":{"34":1}}],["called",{"2":{"33":2}}],["cause",{"2":{"33":1}}],["caused",{"2":{"13":1}}],["capabilities",{"2":{"25":1,"35":2,"53":3}}],["capture=",{"2":{"7":2,"55":1}}],["capture>",{"2":{"6":1}}],["capture",{"0":{"7":1},"2":{"6":1,"7":2,"55":2}}],["cache",{"2":{"23":1,"46":1}}],["cached",{"2":{"23":1,"46":1}}],["canvasrenderingcontext2d",{"2":{"33":1}}],["canvas",{"2":{"33":2,"41":1}}],["can",{"2":{"3":2,"7":2,"12":3,"13":2,"25":3,"27":1,"33":1,"34":3,"35":4,"38":1,"39":3,"41":3,"46":1,"50":1,"52":2,"54":1,"56":1}}],["cameramissingerror",{"2":{"34":2,"51":3}}],["cameras",{"2":{"25":1,"41":2,"49":1,"52":1}}],["camera",{"0":{"25":1,"26":1,"30":1,"50":1},"1":{"51":1},"2":{"3":1,"23":2,"25":6,"26":5,"27":5,"29":1,"32":3,"33":1,"34":7,"35":8,"37":2,"41":10,"43":2,"44":2,"45":1,"46":1,"47":2,"49":4,"50":1,"51":4,"52":1,"53":3,"54":1,"55":2,"57":1}}],["etc",{"2":{"43":1}}],["esc",{"2":{"43":1}}],["err",{"2":{"41":10,"49":10,"53":2}}],["errors",{"2":{"34":1}}],["error=",{"2":{"27":1,"34":1,"39":1,"41":1,"43":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["error",{"0":{"13":1,"27":1},"2":{"13":4,"27":9,"29":1,"34":4,"39":13,"41":15,"43":1,"47":1,"49":12,"51":7,"53":4,"57":1}}],["e",{"2":{"39":1,"41":2}}],["edge",{"2":{"39":1,"41":1,"43":2}}],["ean",{"2":{"39":2,"41":2}}],["easy",{"2":{"33":1}}],["each",{"2":{"33":1,"56":1}}],["en",{"2":{"49":1}}],["enterfullscreen",{"2":{"43":2}}],["entire",{"2":{"42":2,"43":1}}],["enumeratedevices",{"2":{"41":1,"53":1}}],["enable",{"2":{"33":2}}],["environment",{"2":{"7":1,"34":2,"41":2,"51":4,"55":1}}],["every",{"2":{"34":1}}],["everything",{"2":{"25":1,"54":1}}],["even",{"2":{"21":1,"24":1,"35":1,"43":1}}],["event",{"2":{"3":4,"12":4,"15":4,"23":1,"25":1,"32":1,"34":2,"35":2,"41":1,"43":1,"44":1,"46":1}}],["events",{"0":{"2":1,"11":1,"22":1},"1":{"3":1,"4":1,"12":1,"13":1,"14":1,"15":1,"16":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1},"2":{"13":1,"23":1,"27":1,"35":1,"46":1}}],["exitfullscreen",{"2":{"43":4}}],["exit",{"2":{"43":2}}],["exploit",{"2":{"46":1}}],["explicitly",{"2":{"7":1}}],["expanded",{"2":{"39":1,"41":1}}],["export",{"2":{"39":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["expensive",{"2":{"24":1,"39":1,"41":1}}],["example",{"2":{"23":1,"24":1,"26":1,"33":1,"34":2,"35":1,"48":1}}],["elem",{"2":{"43":9}}],["element",{"2":{"3":1,"7":2,"13":1,"42":1}}],["else",{"2":{"13":2,"27":5,"39":2,"41":7,"43":8,"49":7,"53":1}}],["emphasizing",{"2":{"15":1}}],["empty",{"2":{"3":1,"12":1}}],["embedded",{"2":{"12":1}}],["emitted",{"2":{"3":1,"12":1,"13":1,"23":1,"25":1,"26":1,"27":1,"32":1,"34":1,"35":2,"46":1}}],["quot",{"2":{"34":2,"46":2}}],["question",{"2":{"1":1}}],["qrcodedropzone",{"0":{"9":1},"1":{"10":1,"11":1,"12":1,"13":1,"14":1,"15":1,"16":1,"17":1,"18":1,"19":1},"2":{"38":1,"39":2}}],["qrcode",{"2":{"6":2,"7":2,"13":2,"14":2,"15":2,"19":2,"23":2,"24":2,"25":2,"27":2,"34":2,"35":2,"37":2,"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":2,"55":1,"57":2}}],["qrcodestream",{"0":{"20":1},"1":{"21":1,"22":1,"23":1,"24":1,"25":1,"26":1,"27":1,"28":1,"29":1,"30":1,"31":1,"32":1,"33":1,"34":1,"35":1,"36":1,"37":1},"2":{"3":1,"12":1,"41":1,"42":1,"43":2,"45":2,"47":2,"51":2,"53":1,"57":2}}],["qrcodecapture",{"0":{"0":1},"1":{"1":1,"2":1,"3":1,"4":1,"5":1,"6":1,"7":1,"8":1},"2":{"7":1,"54":1,"55":2}}],["qr",{"0":{"46":1},"1":{"47":1},"2":{"3":1,"6":2,"12":1,"14":2,"23":7,"24":5,"33":2,"39":4,"41":4,"46":4,"56":1}}],["3000",{"2":{"57":1}}],["300px",{"2":{"39":1}}],["35495e",{"2":{"41":1}}],["359",{"2":{"23":1}}],["3c3c43",{"2":{"39":1}}],["39",{"2":{"39":1,"41":1}}],["342",{"2":{"23":1}}],["375",{"2":{"23":2}}],["322",{"2":{"23":3}}],["3",{"2":{"1":1,"21":2,"41":1,"49":1}}],["1rem",{"2":{"43":1}}],["1",{"2":{"41":1,"57":1}}],["12",{"2":{"41":1}}],["128",{"2":{"6":1,"14":1,"24":1,"39":1,"41":1,"47":1}}],["100",{"2":{"47":2,"57":2}}],["1000",{"2":{"43":1}}],["10b981",{"2":{"39":1}}],["10px",{"2":{"39":1,"41":1,"51":2,"53":2,"57":1}}],["10+",{"2":{"1":1,"10":1}}],["160",{"2":{"23":1}}],["188",{"2":{"23":1}}],["178",{"2":{"23":1}}],["14",{"2":{"21":2}}],["135",{"2":{"23":3}}],["13",{"2":{"21":1,"39":1,"41":1}}],["11",{"2":{"1":1}}],["pending",{"2":{"57":2}}],["permitted",{"2":{"41":1,"49":1}}],["permissions",{"2":{"25":1,"41":1}}],["permission",{"2":{"25":1,"27":1,"41":2,"43":2,"49":1}}],["per",{"2":{"3":1,"12":1}}],["physical",{"2":{"43":1}}],["phones",{"2":{"41":1}}],["push",{"2":{"44":1}}],["pushes",{"2":{"43":1}}],["put",{"2":{"42":1}}],["px",{"2":{"41":1}}],["pdf417",{"2":{"39":1,"41":1}}],["p",{"2":{"39":2,"41":2,"47":1,"49":1,"51":2,"53":1,"55":1,"57":1}}],["p>last",{"2":{"49":1}}],["p>",{"2":{"39":4,"41":8,"47":1,"49":2,"51":2,"53":3,"55":3,"57":1}}],["position",{"2":{"37":1,"43":2,"47":1,"51":1,"53":1,"57":1}}],["positive",{"2":{"3":1,"12":1}}],["polyfill",{"2":{"24":2}}],["policy",{"2":{"13":1}}],["pausing",{"2":{"56":1}}],["pause",{"0":{"56":1},"1":{"57":1}}],["paused=",{"2":{"47":1,"57":1}}],["paused",{"0":{"32":1},"2":{"23":1,"46":1,"47":4,"56":1,"57":5}}],["paintcentertext",{"2":{"41":2}}],["paintboundingbox",{"2":{"41":2,"49":3}}],["paintoutline",{"2":{"41":2}}],["painted",{"2":{"33":1}}],["padding",{"2":{"39":1,"57":1}}],["passed",{"2":{"34":1}}],["pass",{"2":{"33":1,"34":1}}],["page",{"2":{"27":1,"48":1}}],["pages",{"2":{"12":1}}],["particular",{"2":{"27":1}}],["panic",{"2":{"25":1}}],["payload",{"2":{"3":2,"6":1,"12":2,"14":1,"15":1,"23":2,"24":1,"25":1,"26":1,"27":1,"35":1}}],["pretend",{"2":{"57":1}}],["prefer",{"2":{"24":1}}],["progress",{"2":{"57":1}}],["project",{"2":{"48":1}}],["produce",{"2":{"33":1}}],["prompted",{"2":{"54":1}}],["prompt",{"2":{"25":1,"43":1}}],["promise",{"2":{"25":2,"47":1,"57":1}}],["process",{"2":{"25":1,"56":1}}],["provide",{"2":{"19":1,"34":1}}],["probably",{"2":{"13":1}}],["properties",{"2":{"33":1}}],["propagated",{"2":{"23":1}}],["prop",{"2":{"6":1,"14":1,"24":2,"32":1,"34":2,"35":1,"46":1,"52":1}}],["props",{"0":{"5":1,"17":1,"31":1},"1":{"6":1,"7":1,"32":1,"33":1,"34":1,"35":1},"2":{"7":1,"17":1}}],["prior",{"2":{"1":1}}],["pick",{"2":{"53":1}}],["picked",{"2":{"41":1}}],["picker",{"2":{"3":1}}],["picture",{"2":{"3":1,"54":1}}],["pwa",{"2":{"1":1,"21":1}}],["adjust",{"2":{"54":1}}],["added",{"2":{"1":1,"21":1}}],["aeschbacher",{"2":{"52":1}}],["await",{"2":{"41":1,"45":1,"47":1,"53":1,"57":2}}],["amp",{"0":{"38":1,"56":1},"1":{"39":1,"57":1}}],["absolute",{"2":{"37":1,"43":1,"47":1,"51":1,"53":1,"57":1}}],["audio",{"2":{"34":1}}],["avoid",{"2":{"33":1}}],["availabe",{"2":{"24":1}}],["available",{"2":{"24":1,"42":1}}],["again",{"2":{"32":1,"34":1,"35":1,"46":1}}],["after",{"2":{"32":1,"52":1}}],["aztec",{"2":{"24":1,"39":1,"41":1}}],["alt=",{"2":{"43":1,"47":1,"51":1,"53":1}}],["although",{"2":{"27":1}}],["align",{"2":{"39":1,"45":1,"57":1}}],["allows",{"2":{"54":1}}],["allow",{"2":{"50":1}}],["all",{"2":{"33":1,"35":1,"48":1}}],["already",{"2":{"27":1,"41":1,"43":1,"49":1,"52":1}}],["always",{"2":{"23":1,"42":1}}],["also",{"2":{"3":1,"7":1,"12":1,"21":1,"38":1,"39":1,"41":1,"50":1}}],["active",{"2":{"53":1}}],["actually",{"2":{"23":1,"54":1}}],["across",{"2":{"24":1,"52":1}}],["access",{"2":{"25":2,"27":1,"33":2,"35":1,"41":3,"43":1,"49":2}}],["accept",{"2":{"7":1}}],["accept=",{"2":{"7":1}}],["accroding",{"2":{"23":1}}],["async",{"2":{"41":1,"45":1,"47":1,"53":1,"57":1}}],["asked",{"2":{"25":1,"43":1}}],["as",{"2":{"3":1,"12":1,"25":2,"33":2,"34":1,"38":2,"53":2}}],["argument",{"2":{"33":2}}],["array",{"2":{"3":1,"12":1,"23":2}}],["area",{"2":{"12":1,"39":2}}],["are",{"2":{"3":2,"6":1,"12":2,"13":1,"14":1,"23":3,"24":2,"26":1,"27":1,"39":2,"41":4,"49":1,"54":2}}],["another",{"2":{"43":1,"54":1}}],["angle",{"2":{"41":1}}],["anything",{"2":{"19":1}}],["anywhere",{"2":{"12":1}}],["any",{"2":{"7":2,"19":1,"37":1}}],["an",{"2":{"3":1,"12":1,"13":3,"23":2,"34":2,"39":1,"46":1,"48":1}}],["and",{"2":{"3":1,"7":1,"12":2,"13":3,"23":2,"24":2,"25":4,"26":2,"33":2,"35":2,"38":1,"43":2,"44":2,"45":1,"46":1,"48":1,"52":2,"54":1}}],["attribute",{"2":{"7":1}}],["attributes",{"2":{"7":3}}],["at",{"2":{"3":1,"12":1,"21":3,"23":1,"33":1,"35":1,"56":1}}],["a",{"2":{"3":3,"13":2,"15":1,"19":1,"23":4,"24":1,"25":4,"26":1,"27":1,"33":5,"34":3,"35":2,"37":1,"38":2,"39":2,"41":4,"42":1,"43":2,"44":1,"46":3,"48":2,"51":2,"54":1,"56":1,"57":2}}],["app",{"2":{"49":5}}],["apply",{"2":{"15":1}}],["apps",{"2":{"1":1,"21":2}}],["api",{"2":{"1":2,"10":2,"21":1,"23":1,"24":1,"34":1,"35":1,"41":1,"49":1}}],["wrapped",{"2":{"37":1}}],["wrapper",{"2":{"19":1,"42":1,"43":2}}],["weight",{"2":{"39":2,"41":1,"45":1,"51":1,"53":1,"57":1}}],["we",{"2":{"24":1,"35":1,"41":1,"46":1}}],["webkitexitfullscreen",{"2":{"43":2}}],["webkitrequestfullscreen",{"2":{"43":2}}],["web",{"2":{"1":1,"12":1,"21":1}}],["world",{"2":{"23":1}}],["works",{"2":{"48":1}}],["work",{"2":{"1":1,"46":1}}],["wkwebview",{"2":{"21":1}}],["window",{"2":{"47":1,"57":1}}],["wide",{"2":{"41":1}}],["width=device",{"2":{"49":1}}],["width=",{"2":{"47":1}}],["width",{"2":{"23":2,"41":5,"43":1,"47":1,"49":3,"51":1,"53":1,"57":1}}],["wikipedia",{"2":{"23":1}}],["will",{"2":{"19":1,"24":1,"35":2}}],["withbase",{"2":{"43":3,"47":3,"51":3,"53":2}}],["with",{"2":{"15":1,"23":1,"25":1,"34":3,"35":2,"38":1,"43":1,"46":1,"54":4}}],["without",{"2":{"13":1,"43":1,"48":1}}],["watch",{"2":{"43":1}}],["warning",{"2":{"15":1,"24":1,"25":1}}],["want",{"2":{"15":1,"23":1,"24":1,"25":1,"32":1,"33":2,"46":1,"52":1}}],["what",{"2":{"39":1}}],["whether",{"2":{"34":1,"35":1}}],["whenever",{"2":{"26":2}}],["when",{"2":{"13":1,"15":1,"23":1,"25":1,"26":1,"27":1,"32":1,"33":1,"34":1,"35":1,"43":1,"46":3}}],["white",{"2":{"41":1,"43":1}}],["while",{"2":{"25":1}}],["which",{"2":{"6":1,"14":1,"24":1,"25":1,"34":1,"54":1}}],["why",{"2":{"23":1,"25":1,"46":1}}],["ts",{"2":{"41":1,"53":1}}],["turning",{"2":{"35":1}}],["turn",{"2":{"35":1,"52":1}}],["turned",{"2":{"26":1}}],["taking",{"2":{"57":1}}],["takes",{"2":{"41":1}}],["take",{"2":{"3":1,"25":1,"54":1}}],["target",{"2":{"33":1}}],["triedrearcamera",{"2":{"51":2}}],["triedfrontcamera",{"2":{"34":2,"51":2}}],["try",{"2":{"34":1}}],["transparent",{"2":{"33":1}}],["track=",{"2":{"41":1,"49":1}}],["trackfunctionoptions",{"2":{"41":3}}],["trackfunctionselected",{"2":{"41":3}}],["tracking",{"2":{"33":1}}],["track",{"0":{"33":1},"2":{"33":1,"41":1}}],["true",{"2":{"32":1,"35":1,"39":1,"41":1,"45":3,"47":2,"51":2,"57":2}}],["troubleshooting",{"2":{"21":1}}],["title>",{"2":{"49":1}}],["title>simple",{"2":{"49":1}}],["tip",{"2":{"23":1}}],["timeout",{"2":{"47":2,"57":3}}],["times",{"2":{"23":2,"33":1,"46":2}}],["time",{"2":{"3":1,"12":1,"25":1,"33":1,"34":1,"41":1,"56":1,"57":1}}],["textalign",{"2":{"41":1}}],["text",{"2":{"39":1,"41":7,"45":1,"55":5,"57":1}}],["tell",{"2":{"35":2}}],["template>",{"2":{"7":2,"39":2,"41":2,"43":2,"45":2,"47":2,"51":2,"53":2,"55":2,"57":2}}],["template",{"2":{"7":1}}],["technically",{"2":{"7":1}}],["type=",{"2":{"7":1,"39":1,"41":1}}],["type",{"2":{"3":1,"6":1,"12":1,"13":2,"14":1,"15":1,"23":1,"24":1,"25":1,"26":1,"27":1,"32":1,"33":1,"34":2,"35":1}}],["toggle",{"2":{"43":1,"53":1}}],["torchactive",{"2":{"53":6}}],["torchnotsupported",{"2":{"53":4}}],["torch=",{"2":{"35":1,"53":1}}],["torch",{"0":{"35":1,"52":1},"1":{"53":1},"2":{"35":6,"52":1,"53":3}}],["top",{"2":{"23":2,"43":1,"51":1,"53":1}}],["todo",{"2":{"4":1}}],["to",{"0":{"50":1},"1":{"51":1},"2":{"1":2,"3":2,"7":2,"13":1,"15":4,"21":1,"23":2,"24":4,"25":5,"26":1,"27":1,"32":2,"33":9,"34":3,"35":1,"41":2,"42":1,"43":1,"44":2,"46":2,"48":1,"49":1,"50":1,"51":2,"52":1,"54":1,"57":1}}],["t",{"2":{"1":1,"13":2,"19":1,"23":1,"24":1,"25":2,"33":1,"34":1,"35":1,"39":2,"41":1,"43":1,"46":2,"51":2}}],["thing",{"2":{"46":1}}],["this",{"2":{"1":2,"10":1,"15":2,"19":1,"21":1,"23":1,"24":1,"25":1,"26":1,"27":1,"32":1,"33":7,"34":4,"35":2,"39":8,"41":3,"43":7,"45":5,"46":1,"47":6,"48":2,"49":2,"51":7,"54":1,"55":1,"57":14}}],["than",{"0":{"46":1},"1":{"47":1},"2":{"21":1,"24":1,"41":1,"49":1}}],["that",{"2":{"15":1,"23":2,"24":1,"33":2,"34":1,"35":1,"38":1,"39":2,"41":1,"42":1,"46":4,"48":1,"52":1}}],["though",{"2":{"3":1,"12":1,"46":1}}],["there",{"2":{"27":1,"44":1}}],["then",{"2":{"25":1}}],["they",{"2":{"25":2}}],["their",{"2":{"25":2,"50":1}}],["them",{"2":{"7":1,"25":1,"48":1}}],["the",{"2":{"1":2,"3":9,"6":1,"7":4,"10":2,"12":9,"14":1,"15":5,"19":1,"21":1,"23":11,"24":13,"25":7,"26":3,"27":1,"32":3,"33":6,"34":8,"35":13,"37":2,"38":1,"39":2,"41":11,"42":3,"43":5,"44":5,"46":7,"48":1,"49":1,"50":1,"52":4,"54":2,"56":2,"57":1}}],["dx",{"2":{"39":1,"41":1}}],["databar",{"2":{"39":2,"41":2}}],["data",{"2":{"33":1,"39":2,"41":1,"43":1,"45":1,"47":1,"51":1,"55":1,"57":1}}],["danger",{"2":{"33":1}}],["due",{"2":{"13":1,"35":1}}],["dropdown",{"2":{"41":1,"54":1}}],["dropimagedecodeerror",{"2":{"13":1,"39":1}}],["dropimagefetcherror",{"2":{"13":1,"39":1}}],["dropped",{"2":{"13":4}}],["drop",{"0":{"38":1},"1":{"39":1},"2":{"12":2,"13":2,"14":2,"15":2,"19":2,"38":1,"39":7}}],["draggingover",{"2":{"15":5}}],["dragging",{"2":{"15":1}}],["dragover=",{"2":{"15":1,"39":1}}],["dragover",{"0":{"15":1},"2":{"15":2,"39":5}}],["drag",{"0":{"38":1},"1":{"39":1},"2":{"12":1,"13":2,"38":1}}],["doctype",{"2":{"49":1}}],["document",{"2":{"43":9}}],["docs",{"2":{"4":1,"16":1,"28":1,"29":1,"30":1}}],["don",{"2":{"19":1,"23":1,"24":1,"25":1,"33":1,"46":1,"51":2}}],["dom",{"2":{"15":1}}],["domain",{"2":{"13":1}}],["do",{"2":{"15":1}}],["does",{"2":{"7":1}}],["doesn",{"2":{"1":1,"34":1,"35":1,"43":1,"46":1}}],["did",{"2":{"27":1}}],["dist",{"2":{"49":2}}],["distributed",{"2":{"37":1}}],["display",{"2":{"41":1,"47":1,"57":1}}],["displayed",{"2":{"23":1,"56":1}}],["disabled=",{"2":{"53":1}}],["disabled",{"0":{"7":1},"2":{"7":1}}],["div>",{"2":{"15":1,"39":3,"41":4,"43":1,"45":3,"47":3,"49":2,"51":2,"53":2,"55":2,"57":5}}],["div",{"2":{"15":1,"19":1,"39":1,"43":1,"45":1,"47":1,"49":2,"57":3}}],["different",{"2":{"13":1,"26":1,"41":1}}],["directly",{"2":{"3":1,"12":1,"54":1}}],["dialog",{"2":{"3":1,"43":1,"54":1,"55":1}}],["destroyed",{"2":{"45":4}}],["destroy",{"2":{"44":1}}],["desk",{"2":{"41":1}}],["desktop",{"2":{"12":1,"38":1,"43":1}}],["delay",{"2":{"44":1,"57":1}}],["demos",{"2":{"48":1}}],["demo",{"0":{"40":1},"1":{"41":1},"2":{"33":1,"48":1,"49":2}}],["deviceid",{"2":{"41":3,"53":3}}],["device",{"2":{"27":1,"33":1,"34":2,"35":1,"41":3,"49":1,"50":1,"51":2,"53":4}}],["devices",{"2":{"3":1,"24":1,"35":3,"41":2,"52":1,"53":5}}],["decision",{"2":{"25":1}}],["decoded",{"2":{"13":1,"23":2,"39":1,"46":3}}],["decode",{"0":{"4":1,"16":1,"28":1,"38":1,"54":1},"1":{"39":1,"55":1},"2":{"39":1,"41":1,"47":1,"55":1,"57":1}}],["deny",{"2":{"25":1}}],["denied",{"2":{"25":1,"27":1}}],["defined",{"2":{"19":1}}],["define",{"2":{"7":1}}],["defines",{"2":{"6":1,"14":1,"24":1,"33":1}}],["defaultconstraintoptions",{"2":{"41":3}}],["default",{"0":{"19":1,"37":1},"2":{"6":1,"14":1,"24":2,"32":1,"33":1,"34":1,"35":1,"39":2,"41":3,"43":1,"45":1,"47":1,"51":1,"55":2,"57":1}}],["detection",{"2":{"23":1,"41":1}}],["detect=",{"2":{"13":1,"23":1,"39":1,"41":1,"47":1,"49":1,"55":1,"57":1}}],["detectedcode",{"2":{"41":7,"49":2}}],["detectedcodes",{"2":{"23":1,"39":3,"41":9,"47":2,"49":4,"55":3}}],["detected",{"2":{"6":1,"14":1,"23":1,"24":1,"33":2,"39":1,"41":2,"52":1}}],["detectedbarcode",{"2":{"3":1,"12":1,"23":1}}],["detect",{"0":{"3":1,"12":1,"23":1},"2":{"3":2,"4":1,"12":2,"16":1,"23":3,"28":1,"46":1}}],["depends",{"2":{"21":1}}],["depend",{"2":{"1":1,"10":1}}],["icon",{"2":{"53":2}}],["ie",{"2":{"43":2}}],["id",{"2":{"41":2}}],["id=",{"2":{"39":1,"41":1,"49":1}}],["idk",{"2":{"13":1}}],["img",{"2":{"43":2,"47":1,"51":2,"53":2}}],["img>",{"2":{"13":1}}],["important",{"2":{"43":1}}],["import",{"2":{"39":1,"41":2,"43":2,"45":1,"47":2,"51":2,"53":3,"55":1,"57":1}}],["implementation",{"2":{"24":4,"43":1}}],["image",{"2":{"3":1,"7":2,"12":2,"13":1,"39":1,"54":1}}],["images",{"2":{"3":2,"12":3,"38":1,"39":2}}],["if=",{"2":{"39":1,"45":2,"51":2,"53":2,"57":3}}],["if",{"2":{"3":1,"12":1,"13":2,"15":1,"19":1,"23":1,"24":4,"25":1,"27":6,"32":1,"33":1,"34":1,"35":1,"39":2,"41":7,"43":10,"49":7,"51":2,"53":2,"54":1}}],["ios",{"2":{"1":1,"21":7,"41":1}}],["inconsistent",{"2":{"52":1}}],["increased",{"2":{"33":1}}],["index",{"2":{"43":1}}],["indicator",{"0":{"44":1},"1":{"45":1},"2":{"25":2,"44":1,"45":2}}],["indicated",{"2":{"3":1,"12":1,"23":1}}],["invasive",{"2":{"43":1}}],["invoke",{"2":{"41":1}}],["inline",{"2":{"41":1}}],["infrared",{"2":{"41":1}}],["initial",{"2":{"49":1}}],["initialization",{"2":{"27":1}}],["init",{"0":{"29":1}}],["internally",{"2":{"41":1}}],["internal",{"2":{"23":1}}],["into",{"2":{"12":1}}],["insecurecontexterror",{"2":{"41":1,"49":1}}],["instance",{"2":{"33":1}}],["installed",{"2":{"27":1,"41":2,"49":1}}],["instead",{"2":{"4":1,"15":1,"16":1,"28":1,"29":1,"30":1}}],["inside",{"2":{"19":1}}],["input",{"2":{"3":1,"7":3,"32":1,"33":1,"34":1,"35":1,"39":1,"41":1}}],["in",{"2":{"1":1,"12":1,"21":1,"23":2,"25":1,"27":2,"33":3,"37":1,"39":1,"41":7,"42":1,"43":1,"46":2,"48":2,"49":3,"52":1,"53":1,"55":1,"57":1}}],["itf",{"2":{"39":1,"41":1}}],["items",{"2":{"23":1}}],["its",{"2":{"19":1,"33":1}}],["it",{"2":{"1":1,"19":1,"23":1,"25":3,"33":1,"38":1,"46":1,"54":1,"56":1,"57":1}}],["isvalid",{"2":{"57":6}}],["isdraggingover",{"2":{"39":2}}],["issue",{"2":{"13":1}}],["is",{"2":{"1":2,"3":3,"7":1,"10":2,"12":2,"13":1,"15":2,"19":1,"21":2,"23":6,"24":1,"25":2,"26":2,"27":3,"32":2,"33":4,"34":6,"35":5,"39":1,"41":4,"43":2,"44":1,"46":5,"49":3,"52":1,"54":2,"56":2,"57":2}}],["switchcamera",{"2":{"51":2}}],["switch",{"0":{"50":1},"1":{"51":1},"2":{"51":3}}],["switching",{"2":{"26":1}}],["svg",{"2":{"43":2,"47":1,"51":1,"53":2}}],["skipping",{"2":{"43":1}}],["src=",{"2":{"43":1,"47":1,"49":2,"51":1,"53":1}}],["src",{"2":{"39":1,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"55":1,"57":1}}],["sponsored",{"2":{"52":1}}],["space",{"2":{"41":1,"42":1}}],["span>",{"2":{"39":1,"41":1}}],["span",{"2":{"39":1,"41":1}}],["spec",{"2":{"23":1}}],["side",{"2":{"54":1}}],["single",{"2":{"48":1}}],["size",{"2":{"45":1,"57":1}}],["simply",{"2":{"42":1}}],["simple",{"0":{"48":1},"1":{"49":1},"2":{"3":1}}],["silently",{"2":{"35":1}}],["should",{"2":{"33":1,"38":1,"41":1}}],["showscanconfirmation",{"2":{"47":4}}],["show=",{"2":{"47":1}}],["show",{"0":{"44":1},"1":{"45":1},"2":{"25":1,"32":1,"44":1}}],["success",{"2":{"57":3}}],["successful",{"2":{"32":1}}],["suitable",{"2":{"27":1,"41":1,"49":1}}],["sure",{"2":{"25":1}}],["supports",{"2":{"24":1,"54":1}}],["supporting",{"2":{"3":1}}],["supported",{"2":{"1":1,"6":1,"10":1,"14":1,"21":1,"23":1,"24":1,"35":4,"39":1,"41":2,"49":1,"53":1}}],["support",{"0":{"1":1,"10":1,"21":1},"2":{"21":1,"24":1,"35":1,"52":1}}],["systems",{"2":{"24":1}}],["s",{"2":{"23":2,"25":1,"39":1,"46":2,"57":1}}],["sans",{"2":{"41":1}}],["safe",{"2":{"33":1}}],["safari",{"2":{"21":2,"43":2}}],["same",{"0":{"46":1},"1":{"47":1},"2":{"3":2,"12":2,"13":1,"23":1,"35":2,"46":2}}],["solid",{"2":{"49":1}}],["sorry",{"2":{"39":1}}],["source",{"0":{"39":1,"41":1,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"55":1,"57":1}}],["soon",{"2":{"25":1}}],["so",{"2":{"19":1,"24":1,"32":1,"33":1,"34":1,"42":1,"43":2,"54":1,"56":1,"57":1}}],["sometimes",{"2":{"41":1}}],["something",{"2":{"15":1}}],["some",{"2":{"15":1,"32":1,"39":1,"44":1,"57":1}}],["slots",{"0":{"8":1,"18":1,"36":1},"1":{"19":1,"37":1},"2":{"8":1}}],["step",{"2":{"48":1}}],["style=",{"2":{"49":2}}],["style",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["style>",{"2":{"39":2,"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["styling",{"2":{"15":1}}],["store",{"2":{"33":1}}],["stuff",{"2":{"33":1}}],["stroketext",{"2":{"41":1}}],["strokerect",{"2":{"41":1,"49":1}}],["stroke",{"2":{"41":1}}],["strokestyle",{"2":{"41":3,"49":1}}],["stringify",{"2":{"39":1,"41":1,"47":1,"49":1,"55":1}}],["streamapinotsupportederror",{"2":{"27":1,"41":1,"49":1}}],["streaming",{"2":{"25":1}}],["stream>",{"2":{"23":1,"24":1,"25":1,"27":1,"34":1,"35":1,"37":2,"43":1,"45":1,"47":1,"49":1,"51":1,"53":1,"57":1}}],["stream",{"2":{"21":1,"23":2,"24":1,"25":2,"27":1,"33":1,"34":3,"35":2,"37":2,"41":2,"43":2,"44":1,"45":1,"47":1,"49":2,"51":1,"53":1,"56":1,"57":1}}],["structure",{"2":{"3":1,"12":1,"23":1}}],["still",{"2":{"3":1,"12":1,"23":1,"24":1,"56":1}}],["standalone",{"2":{"38":1}}],["standard",{"2":{"24":1}}],["starting",{"2":{"52":1}}],["startfrontcamera",{"2":{"34":1}}],["start",{"2":{"25":1}}],["startswith",{"2":{"57":1}}],["starts",{"2":{"25":1}}],["started",{"2":{"3":1,"26":1}}],["stackoverflow",{"2":{"1":1}}],["scale=1",{"2":{"49":1}}],["scans",{"2":{"32":1}}],["scanning",{"2":{"24":1,"25":1,"33":1,"39":1,"41":1,"46":1,"54":1}}],["scanned",{"2":{"3":1,"12":1,"23":1,"38":1,"56":1}}],["scan",{"0":{"46":1},"1":{"47":1},"2":{"23":1,"24":1,"46":1,"47":2}}],["scoped>",{"2":{"41":1,"43":1,"45":1,"47":1,"51":1,"53":1,"57":1}}],["script",{"2":{"41":1,"49":2,"53":1}}],["script>",{"2":{"39":2,"41":1,"43":2,"45":2,"47":2,"49":4,"51":2,"53":1,"55":2,"57":2}}],["screen",{"2":{"1":1,"21":1,"42":1}}],["secure",{"2":{"41":2,"49":2}}],["second",{"2":{"23":1,"25":1,"33":2,"46":1}}],["serif`",{"2":{"41":1}}],["served",{"2":{"27":1}}],["several",{"2":{"33":1}}],["settimeout",{"2":{"47":1,"57":1}}],["setting",{"2":{"32":1}}],["setup",{"2":{"41":1,"49":1,"53":1}}],["set",{"2":{"7":1}}],["select>",{"2":{"41":2,"53":1,"55":1}}],["select",{"2":{"3":1,"24":3,"39":2,"41":6,"53":1,"55":1}}],["selectedconstraints",{"2":{"41":3}}],["selectedbarcodeformats",{"2":{"39":2,"41":2}}],["selected",{"2":{"3":1,"24":1,"53":6,"55":3}}],["seem",{"2":{"51":2}}],["seems",{"2":{"27":1}}],["see",{"2":{"1":2,"10":1,"21":6,"24":1,"48":1}}],["new",{"2":{"23":1,"34":1,"47":1,"57":1}}],["newest",{"2":{"1":1,"10":1}}],["needed",{"2":{"24":1}}],["need",{"2":{"15":1,"25":1,"41":1,"48":1,"49":1}}],["null",{"2":{"7":2,"39":3,"43":1,"53":3,"55":1,"57":1}}],["navigator",{"2":{"41":1,"53":1}}],["name",{"2":{"13":2,"27":6,"34":1,"39":2,"41":8,"49":8,"51":1}}],["name=",{"2":{"7":1,"49":1}}],["native",{"2":{"1":1,"10":1,"15":2,"21":2,"24":3}}],["norearcamera",{"2":{"51":3}}],["nofrontcamera",{"2":{"51":3}}],["nowrap",{"2":{"41":1,"47":1,"57":1}}],["none",{"2":{"27":1}}],["no",{"2":{"3":1,"8":1,"12":1,"17":1,"21":1,"27":1,"34":1,"41":1,"49":1}}],["noticed",{"2":{"46":1}}],["nothing",{"2":{"41":1,"54":1}}],["notreadableerror",{"2":{"27":1,"41":1,"49":1}}],["notsupportederror",{"2":{"27":1,"41":1,"49":1}}],["notfounderror",{"2":{"27":1,"41":1,"49":1}}],["notallowederror",{"2":{"27":1,"41":1,"49":1}}],["note",{"2":{"24":1,"33":1,"41":1,"43":1,"52":1}}],["not",{"2":{"1":1,"7":1,"10":1,"13":1,"15":1,"21":1,"27":1,"33":1,"35":2,"39":1,"41":3,"42":2,"49":2,"53":1,"54":1,"57":1}}]],"serializationVersion":2}';export{e as default}; diff --git a/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js b/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js deleted file mode 100644 index 938861aa..00000000 --- a/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js +++ /dev/null @@ -1 +0,0 @@ -import{d as X,h as i,y as u,j as Y,A as Z,g as O,o as ee,c as te,k as g,O as ae,a4 as oe,a7 as ne,r as se}from"./framework.BeH60Y6U.js";import{s as p,b as n,c as ie,d as re,k as ce}from"./camera.D9-V0Y9a.js";const ue=X({__name:"QrcodeStream",props:{constraints:{type:Object,default(){return{facingMode:"environment"}}},formats:{type:Array,default:()=>["qr_code"]},paused:{type:Boolean,default:!1},torch:{type:Boolean,default:!1},track:{type:Function}},emits:["detect","camera-on","camera-off","error"],setup(N,{emit:j}){const o=N,h=j,_=i(o.constraints),w=i(o.formats);u(()=>o.constraints,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(_.value=t)},{deep:!0}),u(()=>o.formats,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(w.value=t)},{deep:!0});const f=i(),v=i(),l=i(),m=i(!1),y=i(!1);Y(()=>{y.value=!0}),Z(()=>{p()});const M=O(()=>({torch:o.torch,constraints:_.value,shouldStream:y.value&&!o.paused}));u(M,async t=>{const e=l.value;n(e!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus video element should always be defined.");const a=f.value;n(a!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus canvas should always be defined.");const d=a.getContext("2d");if(n(d!==null,"if cavnas is defined, canvas 2d context should also be non-null"),t.shouldStream){p(),m.value=!1;try{const r=await ie(e,t);y.value?(m.value=!0,h("camera-on",r)):await p()}catch(r){h("error",r)}}else a.width=e.videoWidth,a.height=e.videoHeight,d.drawImage(e,0,0,e.videoWidth,e.videoHeight),p(),m.value=!1,h("camera-off")},{deep:!0}),u(w,async t=>{y.value&&await re(t)});const S=O(()=>M.value.shouldStream&&m.value);u(S,t=>{if(t){n(f.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus pause frame canvas is defined"),x(f.value),n(v.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus tracking canvas is defined"),x(v.value);const e=()=>o.track===void 0?500:40;n(l.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus video element is defined"),ce(l.value,{detectHandler:a=>h("detect",a),formats:w.value,locateHandler:J,minDelay:e()})}});const x=t=>{const e=t.getContext("2d");n(e!==null,"canvas 2d context should always be non-null"),e.clearRect(0,0,t.width,t.height)},J=t=>{const e=v.value;n(e!==void 0,"onLocate handler should only be called when component is mounted. Thus tracking canvas is always defined.");const a=l.value;if(n(a!==void 0,"onLocate handler should only be called when component is mounted. Thus video element is always defined."),t.length===0||o.track===void 0)x(e);else{const d=a.offsetWidth,r=a.offsetHeight,k=a.videoWidth,R=a.videoHeight,B=Math.max(d/k,r/R),T=k*B,C=R*B,D=T/k,E=C/R,F=(d-T)/2,z=(r-C)/2,H=({x:c,y:s})=>({x:Math.floor(c*D),y:Math.floor(s*E)}),L=({x:c,y:s})=>({x:Math.floor(c+F),y:Math.floor(s+z)}),I=t.map(c=>{const{boundingBox:s,cornerPoints:Q}=c,{x:U,y:V}=L(H({x:s.x,y:s.y})),{x:$,y:G}=H({x:s.width,y:s.height});return{...c,cornerPoints:Q.map(K=>L(H(K))),boundingBox:DOMRectReadOnly.fromRect({x:U,y:V,width:$,height:G})}});e.width=a.offsetWidth,e.height=a.offsetHeight;const P=e.getContext("2d");o.track(I,P)}},q={width:"100%",height:"100%",position:"relative","z-index":"0"},W={width:"100%",height:"100%",position:"absolute",top:"0",left:"0"},b={width:"100%",height:"100%","object-fit":"cover"},A=O(()=>S.value?b:{...b,visibility:"hidden",position:"absolute"});return(t,e)=>(ee(),te("div",{style:q},[g("video",{ref_key:"videoRef",ref:l,style:ae(A.value),autoplay:"",muted:"",playsinline:""},null,4),oe(g("canvas",{id:"qrcode-stream-pause-frame",ref_key:"pauseFrameRef",ref:f,style:b},null,512),[[ne,!S.value]]),g("canvas",{id:"qrcode-stream-tracking-layer",ref_key:"trackingLayerRef",ref:v,style:W},null,512),g("div",{style:W},[se(t.$slots,"default")])]))}});export{ue as _}; diff --git a/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js b/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js new file mode 100644 index 00000000..1c534d9f --- /dev/null +++ b/assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js @@ -0,0 +1 @@ +import{d as X,h as i,y as u,j as Y,A as Z,g as _,o as ee,c as te,k as g,O as ae,a4 as oe,a7 as ne,r as se}from"./framework.CI0_Jyb9.js";import{s as p,b as o,c as ie,d as re,k as le}from"./camera.CxigVlA0.js";const ue=X({__name:"QrcodeStream",props:{constraints:{default:()=>({facingMode:"environment"})},formats:{default:()=>["qr_code"]},paused:{type:Boolean,default:!1},torch:{type:Boolean,default:!1},track:{type:Function,default:void 0}},emits:["detect","camera-on","camera-off","error"],setup(J,{emit:j}){const n=J,h=j,M=i(n.constraints),w=i(n.formats);u(()=>n.constraints,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(M.value=t)},{deep:!0}),u(()=>n.formats,(t,e)=>{JSON.stringify(t)!==JSON.stringify(e)&&(w.value=t)},{deep:!0});const f=i(),v=i(),c=i(),m=i(!1),y=i(!1);Y(()=>{y.value=!0}),Z(()=>{p()});const O=_(()=>({torch:n.torch,constraints:M.value,shouldStream:y.value&&!n.paused}));u(O,async t=>{const e=c.value;o(e!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus video element should always be defined.");const a=f.value;o(a!==void 0,"cameraSettings watcher should never be triggered when component is not mounted. Thus canvas should always be defined.");const d=a.getContext("2d");if(o(d!==null,"if cavnas is defined, canvas 2d context should also be non-null"),t.shouldStream){p(),m.value=!1;try{const r=await ie(e,t);y.value?(m.value=!0,h("camera-on",r)):await p()}catch(r){h("error",r)}}else a.width=e.videoWidth,a.height=e.videoHeight,d.drawImage(e,0,0,e.videoWidth,e.videoHeight),p(),m.value=!1,h("camera-off")},{deep:!0}),u(w,async t=>{y.value&&await re(t)});const S=_(()=>O.value.shouldStream&&m.value);u(S,t=>{if(t){o(f.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus pause frame canvas is defined"),x(f.value),o(v.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus tracking canvas is defined"),x(v.value);const e=()=>n.track===void 0?500:40;o(c.value!==void 0,"shouldScan watcher should only be triggered when component is mounted. Thus video element is defined"),le(c.value,{detectHandler:a=>h("detect",a),formats:w.value,locateHandler:q,minDelay:e()})}});const x=t=>{const e=t.getContext("2d");o(e!==null,"canvas 2d context should always be non-null"),e.clearRect(0,0,t.width,t.height)},q=t=>{const e=v.value;o(e!==void 0,"onLocate handler should only be called when component is mounted. Thus tracking canvas is always defined.");const a=c.value;if(o(a!==void 0,"onLocate handler should only be called when component is mounted. Thus video element is always defined."),t.length===0||n.track===void 0)x(e);else{const d=a.offsetWidth,r=a.offsetHeight,k=a.videoWidth,R=a.videoHeight,B=Math.max(d/k,r/R),T=k*B,C=R*B,F=T/k,z=C/R,A=(d-T)/2,I=(r-C)/2,H=({x:l,y:s})=>({x:Math.floor(l*F),y:Math.floor(s*z)}),L=({x:l,y:s})=>({x:Math.floor(l+A),y:Math.floor(s+I)}),P=t.map(l=>{const{boundingBox:s,cornerPoints:Q}=l,{x:U,y:V}=L(H({x:s.x,y:s.y})),{x:$,y:G}=H({x:s.width,y:s.height});return{...l,cornerPoints:Q.map(K=>L(H(K))),boundingBox:DOMRectReadOnly.fromRect({x:U,y:V,width:$,height:G})}});e.width=a.offsetWidth,e.height=a.offsetHeight;const N=e.getContext("2d");o(N!==null,"canvas 2d context should always be non-null"),n.track(P,N)}},D={width:"100%",height:"100%",position:"relative","z-index":"0"},W={width:"100%",height:"100%",position:"absolute",top:"0",left:"0"},b={width:"100%",height:"100%","object-fit":"cover"},E=_(()=>S.value?b:{...b,visibility:"hidden",position:"absolute"});return(t,e)=>(ee(),te("div",{style:D},[g("video",{ref_key:"videoRef",ref:c,style:ae(E.value),autoplay:"",muted:"",playsinline:""},null,4),oe(g("canvas",{id:"qrcode-stream-pause-frame",ref_key:"pauseFrameRef",ref:f,style:b},null,512),[[ne,!S.value]]),g("canvas",{id:"qrcode-stream-tracking-layer",ref_key:"trackingLayerRef",ref:v,style:W},null,512),g("div",{style:W},[se(t.$slots,"default")])]))}});export{ue as _}; diff --git a/assets/chunks/VPLocalSearchBox.Czqvq3Gp.js b/assets/chunks/VPLocalSearchBox.BMUz8lFT.js similarity index 99% rename from assets/chunks/VPLocalSearchBox.Czqvq3Gp.js rename to assets/chunks/VPLocalSearchBox.BMUz8lFT.js index 12d03122..5e72089f 100644 --- a/assets/chunks/VPLocalSearchBox.Czqvq3Gp.js +++ b/assets/chunks/VPLocalSearchBox.BMUz8lFT.js @@ -1,11 +1,11 @@ -import{Y as pt,h as oe,y as Ve,ao as Ct,ap as Nt,d as It,G as xe,aq as tt,g as Fe,ar as Dt,as as _t,z as Ot,at as Rt,j as _e,P as he,W as Ee,au as Mt,U as Lt,V as zt,av as Pt,Z as Bt,v as Vt,aw as $t,o as ee,b as Wt,k as E,a2 as jt,m as G,a4 as Kt,ax as Ut,ay as Jt,c as re,n as rt,e as Se,E as at,F as nt,a as ve,t as pe,az as Ht,p as Gt,q as qt,a9 as it,aA as Qt,ad as Yt,aj as Zt,_ as Xt}from"./framework.BeH60Y6U.js";import{u as er,c as tr,L as rr}from"./theme.C8UVLHxp.js";const ar={root:()=>pt(()=>import("./@localSearchIndexroot.C9dE4YuA.js"),__vite__mapDeps([]))};/*! +import{Y as pt,h as oe,y as Ve,ao as Ct,ap as Nt,d as It,G as xe,aq as tt,g as Fe,ar as Dt,as as _t,z as Ot,at as Rt,j as _e,P as he,W as Ee,au as Mt,U as Lt,V as zt,av as Pt,Z as Bt,v as Vt,aw as $t,o as ee,b as Wt,k as E,a2 as jt,m as G,a4 as Kt,ax as Ut,ay as Jt,c as re,n as rt,e as Se,E as at,F as nt,a as ve,t as pe,az as Ht,p as Gt,q as qt,a9 as it,aA as Qt,ad as Yt,aj as Zt,_ as Xt}from"./framework.CI0_Jyb9.js";import{u as er,c as tr,L as rr}from"./theme.CbsQzOZw.js";const ar={root:()=>pt(()=>import("./@localSearchIndexroot.BiSJWzvQ.js"),__vite__mapDeps([]))};/*! * tabbable 6.2.0 * @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE */var yt=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"],Te=yt.join(","),mt=typeof Element>"u",ue=mt?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ce=!mt&&Element.prototype.getRootNode?function(o){var e;return o==null||(e=o.getRootNode)===null||e===void 0?void 0:e.call(o)}:function(o){return o==null?void 0:o.ownerDocument},Ne=function o(e,t){var r;t===void 0&&(t=!0);var n=e==null||(r=e.getAttribute)===null||r===void 0?void 0:r.call(e,"inert"),a=n===""||n==="true",i=a||t&&e&&o(e.parentNode);return i},nr=function(e){var t,r=e==null||(t=e.getAttribute)===null||t===void 0?void 0:t.call(e,"contenteditable");return r===""||r==="true"},gt=function(e,t,r){if(Ne(e))return[];var n=Array.prototype.slice.apply(e.querySelectorAll(Te));return t&&ue.call(e,Te)&&n.unshift(e),n=n.filter(r),n},bt=function o(e,t,r){for(var n=[],a=Array.from(e);a.length;){var i=a.shift();if(!Ne(i,!1))if(i.tagName==="SLOT"){var s=i.assignedElements(),u=s.length?s:i.children,l=o(u,!0,r);r.flatten?n.push.apply(n,l):n.push({scopeParent:i,candidates:l})}else{var d=ue.call(i,Te);d&&r.filter(i)&&(t||!e.includes(i))&&n.push(i);var h=i.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(i),v=!Ne(h,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(i));if(h&&v){var y=o(h===!0?i.children:h.children,!0,r);r.flatten?n.push.apply(n,y):n.push({scopeParent:i,candidates:y})}else a.unshift.apply(a,i.children)}}return n},wt=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},se=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||nr(e))&&!wt(e)?0:e.tabIndex},ir=function(e,t){var r=se(e);return r<0&&t&&!wt(e)?0:r},or=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},xt=function(e){return e.tagName==="INPUT"},sr=function(e){return xt(e)&&e.type==="hidden"},ur=function(e){var t=e.tagName==="DETAILS"&&Array.prototype.slice.apply(e.children).some(function(r){return r.tagName==="SUMMARY"});return t},lr=function(e,t){for(var r=0;rsummary:first-of-type"),i=a?e.parentElement:e;if(ue.call(i,"details:not([open]) *"))return!0;if(!r||r==="full"||r==="legacy-full"){if(typeof n=="function"){for(var s=e;e;){var u=e.parentElement,l=Ce(e);if(u&&!u.shadowRoot&&n(u)===!0)return ot(e);e.assignedSlot?e=e.assignedSlot:!u&&l!==e.ownerDocument?e=l.host:e=u}e=s}if(hr(e))return!e.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return ot(e);return!1},pr=function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if(t.tagName==="FIELDSET"&&t.disabled){for(var r=0;r=0)},mr=function o(e){var t=[],r=[];return e.forEach(function(n,a){var i=!!n.scopeParent,s=i?n.scopeParent:n,u=ir(s,i),l=i?o(n.candidates):s;u===0?i?t.push.apply(t,l):t.push(s):r.push({documentOrder:a,tabIndex:u,item:n,isScope:i,content:l})}),r.sort(or).reduce(function(n,a){return a.isScope?n.push.apply(n,a.content):n.push(a.content),n},[]).concat(t)},gr=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:$e.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:yr}):r=gt(e,t.includeContainer,$e.bind(null,t)),mr(r)},br=function(e,t){t=t||{};var r;return t.getShadowRoot?r=bt([e],t.includeContainer,{filter:Ie.bind(null,t),flatten:!0,getShadowRoot:t.getShadowRoot}):r=gt(e,t.includeContainer,Ie.bind(null,t)),r},le=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,Te)===!1?!1:$e(t,e)},wr=yt.concat("iframe").join(","),Oe=function(e,t){if(t=t||{},!e)throw new Error("No node provided");return ue.call(e,wr)===!1?!1:Ie(t,e)};/*! * focus-trap 7.6.2 * @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE */function We(o,e){(e==null||e>o.length)&&(e=o.length);for(var t=0,r=Array(e);t0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Nr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ir=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Dr=function(e){return ge(e)&&!e.shiftKey},_r=function(e){return ge(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ye=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1&&arguments[1]!==void 0?arguments[1]:{},g=f.hasFallback,I=g===void 0?!1:g,O=f.params,P=O===void 0?[]:O,k=a[c];if(typeof k=="function"&&(k=k.apply(void 0,Ar(P))),k===!0&&(k=void 0),!k){if(k===void 0||k===!1)return k;throw new Error("`".concat(c,"` was specified but was not a node, or did not return a node"))}var p=k;if(typeof k=="string"){try{p=r.querySelector(k)}catch(w){throw new Error("`".concat(c,'` appears to be an invalid selector; error="').concat(w.message,'"'))}if(!p&&!I)throw new Error("`".concat(c,"` as selector refers to no known node"))}return p},h=function(){var c=d("initialFocus",{hasFallback:!0});if(c===!1)return!1;if(c===void 0||c&&!Oe(c,a.tabbableOptions))if(l(r.activeElement)>=0)c=r.activeElement;else{var f=i.tabbableGroups[0],g=f&&f.firstTabbableNode;c=g||d("fallbackFocus")}else c===null&&(c=d("fallbackFocus"));if(!c)throw new Error("Your focus-trap needs to have at least one focusable element");return c},v=function(){if(i.containerGroups=i.containers.map(function(c){var f=gr(c,a.tabbableOptions),g=br(c,a.tabbableOptions),I=f.length>0?f[0]:void 0,O=f.length>0?f[f.length-1]:void 0,P=g.find(function(w){return le(w)}),k=g.slice().reverse().find(function(w){return le(w)}),p=!!f.find(function(w){return se(w)>0});return{container:c,tabbableNodes:f,focusableNodes:g,posTabIndexesFound:p,firstTabbableNode:I,lastTabbableNode:O,firstDomTabbableNode:P,lastDomTabbableNode:k,nextTabbableNode:function(B){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=f.indexOf(B);return K<0?J?g.slice(g.indexOf(B)+1).find(function(U){return le(U)}):g.slice(0,g.indexOf(B)).reverse().find(function(U){return le(U)}):f[K+(J?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(c){return c.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(c){return c.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function(c){var f=c.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?y(f.shadowRoot):f},b=function(c){if(c!==!1&&c!==y(document)){if(!c||!c.focus){b(h());return}c.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=c,Nr(c)&&c.select()}},S=function(c){var f=d("setReturnFocus",{params:[c]});return f||(f===!1?!1:c)},m=function(c){var f=c.target,g=c.event,I=c.isBackward,O=I===void 0?!1:I;f=f||Ae(g),v();var P=null;if(i.tabbableGroups.length>0){var k=l(f,g),p=k>=0?i.containerGroups[k]:void 0;if(k<0)O?P=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:P=i.tabbableGroups[0].firstTabbableNode;else if(O){var w=i.tabbableGroups.findIndex(function(H){var Q=H.firstTabbableNode;return f===Q});if(w<0&&(p.container===f||Oe(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!p.nextTabbableNode(f,!1))&&(w=k),w>=0){var B=w===0?i.tabbableGroups.length-1:w-1,J=i.tabbableGroups[B];P=se(f)>=0?J.lastTabbableNode:J.lastDomTabbableNode}else ge(g)||(P=p.nextTabbableNode(f,!1))}else{var K=i.tabbableGroups.findIndex(function(H){var Q=H.lastTabbableNode;return f===Q});if(K<0&&(p.container===f||Oe(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!p.nextTabbableNode(f))&&(K=k),K>=0){var U=K===i.tabbableGroups.length-1?0:K+1,$=i.tabbableGroups[U];P=se(f)>=0?$.firstTabbableNode:$.firstDomTabbableNode}else ge(g)||(P=p.nextTabbableNode(f))}}else P=d("fallbackFocus");return P},A=function(c){var f=Ae(c);if(!(l(f,c)>=0)){if(ye(a.clickOutsideDeactivates,c)){s.deactivate({returnFocus:a.returnFocusOnDeactivate});return}ye(a.allowOutsideClick,c)||c.preventDefault()}},T=function(c){var f=Ae(c),g=l(f,c)>=0;if(g||f instanceof Document)g&&(i.mostRecentlyFocusedNode=f);else{c.stopImmediatePropagation();var I,O=!0;if(i.mostRecentlyFocusedNode)if(se(i.mostRecentlyFocusedNode)>0){var P=l(i.mostRecentlyFocusedNode),k=i.containerGroups[P].tabbableNodes;if(k.length>0){var p=k.findIndex(function(w){return w===i.mostRecentlyFocusedNode});p>=0&&(a.isKeyForward(i.recentNavEvent)?p+1=0&&(I=k[p-1],O=!1))}}else i.containerGroups.some(function(w){return w.tabbableNodes.some(function(B){return se(B)>0})})||(O=!1);else O=!1;O&&(I=m({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),b(I||i.mostRecentlyFocusedNode||h())}i.recentNavEvent=void 0},F=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=c;var g=m({event:c,isBackward:f});g&&(ge(c)&&c.preventDefault(),b(g))},z=function(c){(a.isKeyForward(c)||a.isKeyBackward(c))&&F(c,a.isKeyBackward(c))},L=function(c){Ir(c)&&ye(a.escapeDeactivates,c)!==!1&&(c.preventDefault(),s.deactivate())},V=function(c){var f=Ae(c);l(f,c)>=0||ye(a.clickOutsideDeactivates,c)||ye(a.allowOutsideClick,c)||(c.preventDefault(),c.stopImmediatePropagation())},N=function(){if(i.active)return lt.activateTrap(n,s),i.delayInitialFocusTimer=a.delayInitialFocus?ct(function(){b(h())}):b(h()),r.addEventListener("focusin",T,!0),r.addEventListener("mousedown",A,{capture:!0,passive:!1}),r.addEventListener("touchstart",A,{capture:!0,passive:!1}),r.addEventListener("click",V,{capture:!0,passive:!1}),r.addEventListener("keydown",z,{capture:!0,passive:!1}),r.addEventListener("keydown",L),s},_=function(){if(i.active)return r.removeEventListener("focusin",T,!0),r.removeEventListener("mousedown",A,!0),r.removeEventListener("touchstart",A,!0),r.removeEventListener("click",V,!0),r.removeEventListener("keydown",z,!0),r.removeEventListener("keydown",L),s},C=function(c){var f=c.some(function(g){var I=Array.from(g.removedNodes);return I.some(function(O){return O===i.mostRecentlyFocusedNode})});f&&b(h())},R=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(C):void 0,M=function(){R&&(R.disconnect(),i.active&&!i.paused&&i.containers.map(function(c){R.observe(c,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(c){if(i.active)return this;var f=u(c,"onActivate"),g=u(c,"onPostActivate"),I=u(c,"checkCanFocusTrap");I||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,f==null||f();var O=function(){I&&v(),N(),M(),g==null||g()};return I?(I(i.containers.concat()).then(O,O),this):(O(),this)},deactivate:function(c){if(!i.active)return this;var f=ut({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},c);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,_(),i.active=!1,i.paused=!1,M(),lt.deactivateTrap(n,s);var g=u(f,"onDeactivate"),I=u(f,"onPostDeactivate"),O=u(f,"checkCanReturnFocus"),P=u(f,"returnFocus","returnFocusOnDeactivate");g==null||g();var k=function(){ct(function(){P&&b(S(i.nodeFocusedBeforeActivation)),I==null||I()})};return P&&O?(O(S(i.nodeFocusedBeforeActivation)).then(k,k),this):(k(),this)},pause:function(c){if(i.paused||!i.active)return this;var f=u(c,"onPause"),g=u(c,"onPostPause");return i.paused=!0,f==null||f(),_(),M(),g==null||g(),this},unpause:function(c){if(!i.paused||!i.active)return this;var f=u(c,"onUnpause"),g=u(c,"onPostUnpause");return i.paused=!1,f==null||f(),v(),N(),M(),g==null||g(),this},updateContainerElements:function(c){var f=[].concat(c).filter(Boolean);return i.containers=f.map(function(g){return typeof g=="string"?r.querySelector(g):g}),i.active&&v(),M(),this}},s.updateContainerElements(e),s};function Mr(o,e={}){let t;const{immediate:r,...n}=e,a=oe(!1),i=oe(!1),s=h=>t&&t.activate(h),u=h=>t&&t.deactivate(h),l=()=>{t&&(t.pause(),i.value=!0)},d=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Ct(o),h=>{h&&(t=Rr(h,{...n,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),Nt(()=>u()),{hasFocus:a,isPaused:i,activate:s,deactivate:u,pause:l,unpause:d}}class fe{constructor(e,t=!0,r=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=n}static matches(e,t){const r=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return r.every(i=>n.call(e,i)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const n=t.filter(a=>a.contains(r)).length>0;t.indexOf(r)===-1&&!n&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let n;try{const a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{r()}n&&t(n)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let n=!1,a=null;const i=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,n=>{r++,this.waitForIframes(n.querySelector("html"),()=>{--r||t()})},n=>{n||t()})}forEachIframe(e,t,r,n=()=>{}){let a=e.querySelectorAll("iframe"),i=a.length,s=0;a=Array.prototype.slice.call(a);const u=()=>{--i<=0&&n(s)};i||u(),a.forEach(l=>{fe.matches(l,this.exclude)?u():this.onIframeReady(l,d=>{t(l)&&(s++,r(d)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new fe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const n=e.compareDocumentPosition(r),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,n){let a=!1,i=!1;return n.forEach((s,u)=>{s.val===r&&(a=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(a===!1&&!i?n.push({val:r,handled:!0}):a!==!1&&!i&&(n[a].handled=!0),!0):(a===!1&&n.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,n)})})}iterateThroughNodes(e,t,r,n,a){const i=this.createIterator(t,e,n);let s=[],u=[],l,d,h=()=>({prevNode:d,node:l}=this.getIteratorNode(i),l);for(;h();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,d,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>u.push(y),n)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,n),a()}forEachNode(e,t,r,n=()=>{}){const a=this.getContexts();let i=a.length;i||n(),a.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(s,u):u()})}}let Lr=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){const i=t[a],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),n+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,n)=>{let a=n.charAt(r+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(a=>{r.every(i=>{if(i.indexOf(a)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,n=typeof r=="string"?r:r.value,a=typeof r=="string"?[]:r.limiters,i="";switch(a.forEach(s=>{i+=`|${this.escapeStr(s)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,n)=>n.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:i,valid:s}=this.callNoMatchOnInvalidRanges(n,r);s&&(n.start=a,n.length=i-a,t.push(n),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,n,a=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),n=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-r>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:n,valid:a}}checkWhitespaceRanges(e,t,r){let n,a=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,n=u+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||n-u<0||u>i||n>i?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:n,valid:a}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{r.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return fe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),i=a.splitText(r-t);let s=document.createElement(n);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=a.textContent,a.parentNode.replaceChild(s,a),i}wrapRangeInMappedTextNode(e,t,r,n,a){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!n(i.node))return!1;const l=t-i.start,d=(r>i.end?i.end:r)-i.start,h=e.value.substr(0,i.start),v=e.value.substr(d+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,d),e.value=h+v,e.nodes.forEach((y,b)=>{b>=s&&(e.nodes[b].start>0&&b!==s&&(e.nodes[b].start-=d),e.nodes[b].end-=d)}),r-=d,a(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,n,a){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let d=l.index;if(i!==0)for(let h=1;h{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let h=1;hr(u[i],h),(h,v)=>{e.lastIndex=v,n(h)})}a()})}wrapRangeFromIndex(e,t,r,n){this.getTextNodes(a=>{const i=a.value.length;e.forEach((s,u)=>{let{start:l,end:d,valid:h}=this.checkWhitespaceRanges(s,i,a.value);h&&this.wrapRangeInMappedTextNode(a,l,d,v=>t(v,s,a.value.substring(l,d),u),v=>{r(v,s)})}),n()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,n="wrapMatches";const a=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),a,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,n="wrapMatches";const{keywords:a,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let d=new RegExp(this.createRegExp(l),`gm${s}`),h=0;this.log(`Searching with expression "${d}"`),this[n](d,1,(v,y)=>this.opt.filter(y,l,r,h),v=>{h++,r++,this.opt.each(v)},()=>{h===0&&this.opt.noMatch(l),a[i-1]===l?this.opt.done(r):u(a[a.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(a[0])}markRanges(e,t){this.opt=t;let r=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,i,s,u)=>this.opt.filter(a,i,s,u),(a,i)=>{r++,this.opt.each(a,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const n=fe.matches(r,t),a=this.matchesExclude(r);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function zr(o){const e=new Lr(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var W=function(){return W=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function j(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),n,a=[],i;try{for(;(e===void 0||e-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}var Vr="ENTRIES",Ft="KEYS",Et="VALUES",q="",Re=function(){function o(e,t){var r=e._tree,n=Array.from(r.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:r,keys:n}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=ce(this._path),t=e.node,r=e.keys;if(ce(r)===q)return{done:!1,value:this.result()};var n=t.get(ce(r));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=ce(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return ce(t)}).filter(function(e){return e!==q}).join("")},o.prototype.value=function(){return ce(this._path).node.get(q)},o.prototype.result=function(){switch(this._type){case Et:return this.value();case Ft:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),ce=function(o){return o[o.length-1]},$r=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var n=e.length+1,a=n+t,i=new Uint8Array(a*n).fill(t+1),s=0;st)continue e}St(o.get(y),e,t,r,n,S,i,s+y)}}}catch(c){u={error:c}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}},Me=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var n=j(De(this._tree,e.slice(this._prefix.length)),2),a=n[0],i=n[1];if(a===void 0){var s=j(Je(i),2),u=s[0],l=s[1];try{for(var d=D(u.keys()),h=d.next();!h.done;h=d.next()){var v=h.value;if(v!==q&&v.startsWith(l)){var y=new Map;return y.set(v.slice(l.length),u.get(v)),new o(y,e)}}}catch(b){t={error:b}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}return new o(a,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,Wr(this._tree,e)},o.prototype.entries=function(){return new Re(this,Vr)},o.prototype.forEach=function(e){var t,r;try{for(var n=D(this),a=n.next();!a.done;a=n.next()){var i=j(a.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return $r(this._tree,e,t)},o.prototype.get=function(e){var t=je(this._tree,e);return t!==void 0?t.get(q):void 0},o.prototype.has=function(e){var t=je(this._tree,e);return t!==void 0&&t.has(q)},o.prototype.keys=function(){return new Re(this,Ft)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(q,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(q,t(r.get(q))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e),n=r.get(q);return n===void 0&&r.set(q,n=t()),n},o.prototype.values=function(){return new Re(this,Et)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,n=new o;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=j(i.value,2),u=s[0],l=s[1];n.set(u,l)}}catch(d){t={error:d}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),De=function(o,e,t){var r,n;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var a=D(o.keys()),i=a.next();!i.done;i=a.next()){var s=i.value;if(s!==q&&e.startsWith(s))return t.push([o,s]),De(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.push([o,e]),De(void 0,"",t)},je=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var n=D(o.keys()),a=n.next();!a.done;a=n.next()){var i=a.value;if(i!==q&&e.startsWith(i))return je(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Le=function(o,e){var t,r,n=e.length;e:for(var a=0;o&&a0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Me,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(n,a){t.removeFieldLength(r,a,t._documentCount,n)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,n=e.batchSize,a=e.batchWait;this.conditionalVacuum({batchSize:n,batchWait:a},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,n=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,n=t.extractField,a=n(e,r);this.discard(a),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var n=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=Ue,r.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return Pr(this,void 0,void 0,function(){var r,n,a,i,s,u,l,d,h,v,y,b,S,m,A,T,F,z,L,V,N,_,C,R,M;return Br(this,function(x){switch(x.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];n=e.batchSize||Ke.batchSize,a=e.batchWait||Ke.batchWait,i=1,x.label=1;case 1:x.trys.push([1,7,8,9]),s=D(this._index),u=s.next(),x.label=2;case 2:if(u.done)return[3,6];l=j(u.value,2),d=l[0],h=l[1];try{for(v=(_=void 0,D(h)),y=v.next();!y.done;y=v.next()){b=j(y.value,2),S=b[0],m=b[1];try{for(A=(R=void 0,D(m)),T=A.next();!T.done;T=A.next())F=j(T.value,1),z=F[0],!this._documentIds.has(z)&&(m.size<=1?h.delete(S):m.delete(z))}catch(c){R={error:c}}finally{try{T&&!T.done&&(M=A.return)&&M.call(A)}finally{if(R)throw R.error}}}}catch(c){_={error:c}}finally{try{y&&!y.done&&(C=v.return)&&C.call(v)}finally{if(_)throw _.error}}return this._index.get(d).size===0&&this._index.delete(d),i%n!==0?[3,4]:[4,new Promise(function(c){return setTimeout(c,a)})];case 3:x.sent(),x.label=4;case 4:i+=1,x.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return L=x.sent(),V={error:L},[3,9];case 8:try{u&&!u.done&&(N=s.return)&&N.call(s)}finally{if(V)throw V.error}return[7];case 9:this._dirtCount-=r,x.label=10;case 10:return[4,null];case 11:return x.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||Be.minDirtCount,r=r||Be.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,n;t===void 0&&(t={});var a=this.executeQuery(e,t),i=[];try{for(var s=D(a),u=s.next();!u.done;u=s.next()){var l=j(u.value,2),d=l[0],h=l[1],v=h.score,y=h.terms,b=h.match,S=y.length||1,m={id:this._documentIds.get(d),score:v*S,terms:Object.keys(b),queryTerms:y,match:b};Object.assign(m,this._storedFields.get(d)),(t.filter==null||t.filter(m))&&i.push(m)}}catch(A){r={error:A}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return e===o.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||i.sort(ht),i},o.prototype.autoSuggest=function(e,t){var r,n,a,i;t===void 0&&(t={}),t=W(W({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=D(this.search(e,t)),l=u.next();!l.done;l=u.next()){var d=l.value,h=d.score,v=d.terms,y=v.join(" "),b=s.get(y);b!=null?(b.score+=h,b.count+=1):s.set(y,{score:h,terms:v,count:1})}}catch(L){r={error:L}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var S=[];try{for(var m=D(s),A=m.next();!A.done;A=m.next()){var T=j(A.value,2),b=T[0],F=T[1],h=F.score,v=F.terms,z=F.count;S.push({suggestion:b,terms:v,score:h/z})}}catch(L){a={error:L}}finally{try{A&&!A.done&&(i=m.return)&&i.call(m)}finally{if(a)throw a.error}}return S.sort(ht),S},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,n,a,i,s,u,l=e.index,d=e.documentCount,h=e.nextId,v=e.documentIds,y=e.fieldIds,b=e.fieldLength,S=e.averageFieldLength,m=e.storedFields,A=e.dirtCount,T=e.serializationVersion;if(T!==1&&T!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var F=new o(t);F._documentCount=d,F._nextId=h,F._documentIds=ke(v),F._idToShortId=new Map,F._fieldIds=y,F._fieldLength=ke(b),F._avgFieldLength=S,F._storedFields=ke(m),F._dirtCount=A||0,F._index=new Me;try{for(var z=D(F._documentIds),L=z.next();!L.done;L=z.next()){var V=j(L.value,2),N=V[0],_=V[1];F._idToShortId.set(_,N)}}catch(k){r={error:k}}finally{try{L&&!L.done&&(n=z.return)&&n.call(z)}finally{if(r)throw r.error}}try{for(var C=D(l),R=C.next();!R.done;R=C.next()){var M=j(R.value,2),x=M[0],c=M[1],f=new Map;try{for(var g=(s=void 0,D(Object.keys(c))),I=g.next();!I.done;I=g.next()){var O=I.value,P=c[O];T===1&&(P=P.ds),f.set(parseInt(O,10),ke(P))}}catch(k){s={error:k}}finally{try{I&&!I.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}F._index.set(x,f)}}catch(k){a={error:k}}finally{try{R&&!R.done&&(i=C.return)&&i.call(C)}finally{if(a)throw a.error}}return F},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),e===o.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){var n=W(W(W({},t),e),{queries:void 0}),a=e.queries.map(function(m){return r.executeQuery(m,n)});return this.combineResults(a,n.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,d=W(W({tokenize:s,processTerm:u},l),t),h=d.tokenize,v=d.processTerm,y=h(e).flatMap(function(m){return v(m)}).filter(function(m){return!!m}),b=y.map(Gr(d)),S=b.map(function(m){return r.executeQuerySpec(m,d)});return this.combineResults(S,d.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,n,a,i,s=W(W({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(O,P){var k;return W(W({},O),(k={},k[P]=ze(s.boost,P)||1,k))},{}),l=s.boostDocument,d=s.weights,h=s.maxFuzzy,v=s.bm25,y=W(W({},ft.weights),d),b=y.fuzzy,S=y.prefix,m=this._index.get(e.term),A=this.termResults(e.term,e.term,1,m,u,l,v),T,F;if(e.prefix&&(T=this._index.atPrefix(e.term)),e.fuzzy){var z=e.fuzzy===!0?.2:e.fuzzy,L=z<1?Math.min(h,Math.round(e.term.length*z)):z;L&&(F=this._index.fuzzyGet(e.term,L))}if(T)try{for(var V=D(T),N=V.next();!N.done;N=V.next()){var _=j(N.value,2),C=_[0],R=_[1],M=C.length-e.term.length;if(M){F==null||F.delete(C);var x=S*C.length/(C.length+.3*M);this.termResults(e.term,C,x,R,u,l,v,A)}}}catch(O){r={error:O}}finally{try{N&&!N.done&&(n=V.return)&&n.call(V)}finally{if(r)throw r.error}}if(F)try{for(var c=D(F.keys()),f=c.next();!f.done;f=c.next()){var C=f.value,g=j(F.get(C),2),I=g[0],M=g[1];if(M){var x=b*C.length/(C.length+M);this.termResults(e.term,C,x,I,u,l,v,A)}}}catch(O){a={error:O}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return A},o.prototype.executeWildcardQuery=function(e){var t,r,n=new Map,a=W(W({},this._options.searchOptions),e);try{for(var i=D(this._documentIds),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h=a.boostDocument?a.boostDocument(d,"",this._storedFields.get(l)):1;n.set(l,{score:h,terms:[],match:{}})}}catch(v){t={error:v}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=He),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce(Ur[r])||new Map},o.prototype.toJSON=function(){var e,t,r,n,a=[];try{for(var i=D(this._index),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h={};try{for(var v=(r=void 0,D(d)),y=v.next();!y.done;y=v.next()){var b=j(y.value,2),S=b[0],m=b[1];h[S]=Object.fromEntries(m)}}catch(A){r={error:A}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}a.push([l,h])}}catch(A){e={error:A}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:a,serializationVersion:2}},o.prototype.termResults=function(e,t,r,n,a,i,s,u){var l,d,h,v,y;if(u===void 0&&(u=new Map),n==null)return u;try{for(var b=D(Object.keys(a)),S=b.next();!S.done;S=b.next()){var m=S.value,A=a[m],T=this._fieldIds[m],F=n.get(T);if(F!=null){var z=F.size,L=this._avgFieldLength[T];try{for(var V=(h=void 0,D(F.keys())),N=V.next();!N.done;N=V.next()){var _=N.value;if(!this._documentIds.has(_)){this.removeTerm(T,_,t),z-=1;continue}var C=i?i(this._documentIds.get(_),t,this._storedFields.get(_)):1;if(C){var R=F.get(_),M=this._fieldLength.get(_)[T],x=Hr(R,z,this._documentCount,M,L,s),c=r*A*C*x,f=u.get(_);if(f){f.score+=c,Qr(f.terms,e);var g=ze(f.match,t);g?g.push(m):f.match[t]=[m]}else u.set(_,{score:c,terms:[e],match:(y={},y[t]=[m],y)})}}}catch(I){h={error:I}}finally{try{N&&!N.done&&(v=V.return)&&v.call(V)}finally{if(h)throw h.error}}}}}catch(I){l={error:I}}finally{try{S&&!S.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var n=this._index.fetch(r,vt),a=n.get(e);if(a==null)a=new Map,a.set(t,1),n.set(e,a);else{var i=a.get(t);a.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var n=this._index.fetch(r,vt),a=n.get(e);a==null||a.get(t)==null?this.warnDocumentChanged(t,e,r):a.get(t)<=1?a.size<=1?n.delete(e):a.delete(t):a.set(t,a.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var n,a;try{for(var i=D(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Gt("data-v-7d260642"),o=o(),qt(),o),Zr=["aria-owns"],Xr={class:"shell"},ea=["title"],ta=Z(()=>E("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("circle",{cx:"11",cy:"11",r:"8"}),E("path",{d:"m21 21l-4.35-4.35"})])],-1)),ra=[ta],aa={class:"search-actions before"},na=["title"],ia=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"})],-1)),oa=[ia],sa=["placeholder"],ua={class:"search-actions"},la=["title"],ca=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14h7v7H3zM3 3h7v7H3zm11 1h7m-7 5h7m-7 6h7m-7 5h7"})],-1)),fa=[ca],da=["disabled","title"],ha=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"})],-1)),va=[ha],pa=["id","role","aria-labelledby"],ya=["aria-selected"],ma=["href","aria-label","onMouseenter","onFocusin"],ga={class:"titles"},ba=Z(()=>E("span",{class:"title-icon"},"#",-1)),wa=["innerHTML"],xa=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1)),Fa={class:"title main"},Ea=["innerHTML"],Sa={key:0,class:"excerpt-wrapper"},Aa={key:0,class:"excerpt",inert:""},ka=["innerHTML"],Ta=Z(()=>E("div",{class:"excerpt-gradient-bottom"},null,-1)),Ca=Z(()=>E("div",{class:"excerpt-gradient-top"},null,-1)),Na={key:0,class:"no-results"},Ia={class:"search-keyboard-shortcuts"},Da=["aria-label"],_a=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)),Oa=[_a],Ra=["aria-label"],Ma=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)),La=[Ma],za=["aria-label"],Pa=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("path",{d:"m9 10l-5 5l5 5"}),E("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)),Ba=[Pa],Va=["aria-label"],$a=It({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var P,k;const t=e,r=xe(),n=xe(),a=xe(ar),i=er(),{activate:s}=Mr(r,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:u,theme:l}=i,d=tt(async()=>{var p,w,B,J,K,U,$,H,Q;return it(Kr.loadJSON((B=await((w=(p=a.value)[u.value])==null?void 0:w.call(p)))==null?void 0:B.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((J=l.value.search)==null?void 0:J.provider)==="local"&&((U=(K=l.value.search.options)==null?void 0:K.miniSearch)==null?void 0:U.searchOptions)},...(($=l.value.search)==null?void 0:$.provider)==="local"&&((Q=(H=l.value.search.options)==null?void 0:H.miniSearch)==null?void 0:Q.options)}))}),v=Fe(()=>{var p,w;return((p=l.value.search)==null?void 0:p.provider)==="local"&&((w=l.value.search.options)==null?void 0:w.disableQueryPersistence)===!0}).value?oe(""):Dt("vitepress:local-search-filter",""),y=_t("vitepress:local-search-detailed-list",((P=l.value.search)==null?void 0:P.provider)==="local"&&((k=l.value.search.options)==null?void 0:k.detailedView)===!0),b=Fe(()=>{var p,w,B;return((p=l.value.search)==null?void 0:p.provider)==="local"&&(((w=l.value.search.options)==null?void 0:w.disableDetailedView)===!0||((B=l.value.search.options)==null?void 0:B.detailedView)===!1)}),S=Fe(()=>{var w,B,J,K,U,$,H;const p=((w=l.value.search)==null?void 0:w.options)??l.value.algolia;return((U=(K=(J=(B=p==null?void 0:p.locales)==null?void 0:B[u.value])==null?void 0:J.translations)==null?void 0:K.button)==null?void 0:U.buttonText)||((H=($=p==null?void 0:p.translations)==null?void 0:$.button)==null?void 0:H.buttonText)||"Search"});Ot(()=>{b.value&&(y.value=!1)});const m=xe([]),A=oe(!1);Ve(v,()=>{A.value=!1});const T=tt(async()=>{if(n.value)return it(new zr(n.value))},null),F=new rr(16);Rt(()=>[d.value,v.value,y.value],async([p,w,B],J,K)=>{var be,Ge,qe,Qe;(J==null?void 0:J[0])!==p&&F.clear();let U=!1;if(K(()=>{U=!0}),!p)return;m.value=p.search(w).slice(0,16),A.value=!0;const $=B?await Promise.all(m.value.map(Y=>z(Y.id))):[];if(U)return;for(const{id:Y,mod:ae}of $){const ne=Y.slice(0,Y.indexOf("#"));let te=F.get(ne);if(te)continue;te=new Map,F.set(ne,te);const X=ae.default??ae;if(X!=null&&X.render||X!=null&&X.setup){const ie=Qt(X);ie.config.warnHandler=()=>{},ie.provide(Yt,i),Object.defineProperties(ie.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Ye=document.createElement("div");ie.mount(Ye),Ye.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var et;const we=(et=de.querySelector("a"))==null?void 0:et.getAttribute("href"),Ze=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ze)return;let Xe="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Xe+=de.outerHTML;te.set(Ze,Xe)}),ie.unmount()}if(U)return}const H=new Set;if(m.value=m.value.map(Y=>{const[ae,ne]=Y.id.split("#"),te=F.get(ae),X=(te==null?void 0:te.get(ne))??"";for(const ie in Y.match)H.add(ie);return{...Y,text:X}}),await he(),U)return;await new Promise(Y=>{var ae;(ae=T.value)==null||ae.unmark({done:()=>{var ne;(ne=T.value)==null||ne.markRegExp(O(H),{done:Y})}})});const Q=((be=r.value)==null?void 0:be.querySelectorAll(".result .excerpt"))??[];for(const Y of Q)(Ge=Y.querySelector('mark[data-markjs="true"]'))==null||Ge.scrollIntoView({block:"center"});(Qe=(qe=n.value)==null?void 0:qe.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function z(p){const w=Zt(p.slice(0,p.indexOf("#")));try{if(!w)throw new Error(`Cannot find file for id: ${p}`);return{id:p,mod:await pt(()=>import(w),__vite__mapDeps([]))}}catch(B){return console.error(B),{id:p,mod:{}}}}const L=oe(),V=Fe(()=>{var p;return((p=v.value)==null?void 0:p.length)<=0});function N(p=!0){var w,B;(w=L.value)==null||w.focus(),p&&((B=L.value)==null||B.select())}_e(()=>{N()});function _(p){p.pointerType==="mouse"&&N()}const C=oe(-1),R=oe(!1);Ve(m,p=>{C.value=p.length?0:-1,M()});function M(){he(()=>{const p=document.querySelector(".result.selected");p&&p.scrollIntoView({block:"nearest"})})}Ee("ArrowUp",p=>{p.preventDefault(),C.value--,C.value<0&&(C.value=m.value.length-1),R.value=!0,M()}),Ee("ArrowDown",p=>{p.preventDefault(),C.value++,C.value>=m.value.length&&(C.value=0),R.value=!0,M()});const x=Mt();Ee("Enter",p=>{if(p.target instanceof HTMLButtonElement&&p.target.type!=="submit")return;const w=m.value[C.value];if(p.target instanceof HTMLInputElement&&!w){p.preventDefault();return}w&&(x.go(w.id),t("close"))}),Ee("Escape",()=>{t("close")});const c={modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}},f=Lt(tr)(zt(()=>{var p;return(p=l.value.search)==null?void 0:p.options}),c);_e(()=>{window.history.pushState(null,"",null)}),Pt("popstate",p=>{p.preventDefault(),t("close")});const g=Bt(Vt?document.body:null);_e(()=>{he(()=>{g.value=!0,he().then(()=>s())})}),$t(()=>{g.value=!1});function I(){v.value="",he().then(()=>N(!1))}function O(p){return new RegExp([...p].sort((w,B)=>B.length-w.length).map(w=>`(${w.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}return(p,w)=>{var B,J,K,U;return ee(),Wt(Ht,{to:"body"},[E("div",{ref_key:"el",ref:r,role:"button","aria-owns":(B=m.value)!=null&&B.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[E("div",{class:"backdrop",onClick:w[0]||(w[0]=$=>p.$emit("close"))}),E("div",Xr,[E("form",{class:"search-bar",onPointerup:w[4]||(w[4]=$=>_($)),onSubmit:w[5]||(w[5]=jt(()=>{},["prevent"]))},[E("label",{title:S.value,id:"localsearch-label",for:"localsearch-input"},ra,8,ea),E("div",aa,[E("button",{class:"back-button",title:G(f)("modal.backButtonTitle"),onClick:w[1]||(w[1]=$=>p.$emit("close"))},oa,8,na)]),Kt(E("input",{ref_key:"searchInput",ref:L,"onUpdate:modelValue":w[2]||(w[2]=$=>Jt(v)?v.value=$:null),placeholder:S.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,sa),[[Ut,G(v)]]),E("div",ua,[b.value?Se("",!0):(ee(),re("button",{key:0,class:rt(["toggle-layout-button",{"detailed-list":G(y)}]),type:"button",title:G(f)("modal.displayDetails"),onClick:w[3]||(w[3]=$=>C.value>-1&&(y.value=!G(y)))},fa,10,la)),E("button",{class:"clear-button",type:"reset",disabled:V.value,title:G(f)("modal.resetButtonTitle"),onClick:I},va,8,da)])],32),E("ul",{ref_key:"resultsEl",ref:n,id:(J=m.value)!=null&&J.length?"localsearch-list":void 0,role:(K=m.value)!=null&&K.length?"listbox":void 0,"aria-labelledby":(U=m.value)!=null&&U.length?"localsearch-label":void 0,class:"results",onMousemove:w[7]||(w[7]=$=>R.value=!1)},[(ee(!0),re(nt,null,at(m.value,($,H)=>(ee(),re("li",{key:$.id,role:"option","aria-selected":C.value===H?"true":"false"},[E("a",{href:$.id,class:rt(["result",{selected:C.value===H}]),"aria-label":[...$.titles,$.title].join(" > "),onMouseenter:Q=>!R.value&&(C.value=H),onFocusin:Q=>C.value=H,onClick:w[6]||(w[6]=Q=>p.$emit("close"))},[E("div",null,[E("div",ga,[ba,(ee(!0),re(nt,null,at($.titles,(Q,be)=>(ee(),re("span",{key:be,class:"title"},[E("span",{class:"text",innerHTML:Q},null,8,wa),xa]))),128)),E("span",Fa,[E("span",{class:"text",innerHTML:$.title},null,8,Ea)])]),G(y)?(ee(),re("div",Sa,[$.text?(ee(),re("div",Aa,[E("div",{class:"vp-doc",innerHTML:$.text},null,8,ka)])):Se("",!0),Ta,Ca])):Se("",!0)])],42,ma)],8,ya))),128)),G(v)&&!m.value.length&&A.value?(ee(),re("li",Na,[ve(pe(G(f)("modal.noResultsText"))+' "',1),E("strong",null,pe(G(v)),1),ve('" ')])):Se("",!0)],40,pa),E("div",Ia,[E("span",null,[E("kbd",{"aria-label":G(f)("modal.footer.navigateUpKeyAriaLabel")},Oa,8,Da),E("kbd",{"aria-label":G(f)("modal.footer.navigateDownKeyAriaLabel")},La,8,Ra),ve(" "+pe(G(f)("modal.footer.navigateText")),1)]),E("span",null,[E("kbd",{"aria-label":G(f)("modal.footer.selectKeyAriaLabel")},Ba,8,za),ve(" "+pe(G(f)("modal.footer.selectText")),1)]),E("span",null,[E("kbd",{"aria-label":G(f)("modal.footer.closeKeyAriaLabel")},"esc",8,Va),ve(" "+pe(G(f)("modal.footer.closeText")),1)])])])],8,Zr)])}}}),Ja=Xt($a,[["__scopeId","data-v-7d260642"]]);export{Ja as default}; +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function st(o,e){var t=Object.keys(o);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(o);e&&(r=r.filter(function(n){return Object.getOwnPropertyDescriptor(o,n).enumerable})),t.push.apply(t,r)}return t}function ut(o){for(var e=1;e0){var r=e[e.length-1];r!==t&&r.pause()}var n=e.indexOf(t);n===-1||e.splice(n,1),e.push(t)},deactivateTrap:function(e,t){var r=e.indexOf(t);r!==-1&&e.splice(r,1),e.length>0&&e[e.length-1].unpause()}},Nr=function(e){return e.tagName&&e.tagName.toLowerCase()==="input"&&typeof e.select=="function"},Ir=function(e){return(e==null?void 0:e.key)==="Escape"||(e==null?void 0:e.key)==="Esc"||(e==null?void 0:e.keyCode)===27},ge=function(e){return(e==null?void 0:e.key)==="Tab"||(e==null?void 0:e.keyCode)===9},Dr=function(e){return ge(e)&&!e.shiftKey},_r=function(e){return ge(e)&&e.shiftKey},ct=function(e){return setTimeout(e,0)},ye=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1&&arguments[1]!==void 0?arguments[1]:{},g=f.hasFallback,I=g===void 0?!1:g,O=f.params,P=O===void 0?[]:O,k=a[c];if(typeof k=="function"&&(k=k.apply(void 0,Ar(P))),k===!0&&(k=void 0),!k){if(k===void 0||k===!1)return k;throw new Error("`".concat(c,"` was specified but was not a node, or did not return a node"))}var p=k;if(typeof k=="string"){try{p=r.querySelector(k)}catch(w){throw new Error("`".concat(c,'` appears to be an invalid selector; error="').concat(w.message,'"'))}if(!p&&!I)throw new Error("`".concat(c,"` as selector refers to no known node"))}return p},h=function(){var c=d("initialFocus",{hasFallback:!0});if(c===!1)return!1;if(c===void 0||c&&!Oe(c,a.tabbableOptions))if(l(r.activeElement)>=0)c=r.activeElement;else{var f=i.tabbableGroups[0],g=f&&f.firstTabbableNode;c=g||d("fallbackFocus")}else c===null&&(c=d("fallbackFocus"));if(!c)throw new Error("Your focus-trap needs to have at least one focusable element");return c},v=function(){if(i.containerGroups=i.containers.map(function(c){var f=gr(c,a.tabbableOptions),g=br(c,a.tabbableOptions),I=f.length>0?f[0]:void 0,O=f.length>0?f[f.length-1]:void 0,P=g.find(function(w){return le(w)}),k=g.slice().reverse().find(function(w){return le(w)}),p=!!f.find(function(w){return se(w)>0});return{container:c,tabbableNodes:f,focusableNodes:g,posTabIndexesFound:p,firstTabbableNode:I,lastTabbableNode:O,firstDomTabbableNode:P,lastDomTabbableNode:k,nextTabbableNode:function(B){var J=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,K=f.indexOf(B);return K<0?J?g.slice(g.indexOf(B)+1).find(function(U){return le(U)}):g.slice(0,g.indexOf(B)).reverse().find(function(U){return le(U)}):f[K+(J?1:-1)]}}}),i.tabbableGroups=i.containerGroups.filter(function(c){return c.tabbableNodes.length>0}),i.tabbableGroups.length<=0&&!d("fallbackFocus"))throw new Error("Your focus-trap must have at least one container with at least one tabbable node in it at all times");if(i.containerGroups.find(function(c){return c.posTabIndexesFound})&&i.containerGroups.length>1)throw new Error("At least one node with a positive tabindex was found in one of your focus-trap's multiple containers. Positive tabindexes are only supported in single-container focus-traps.")},y=function(c){var f=c.activeElement;if(f)return f.shadowRoot&&f.shadowRoot.activeElement!==null?y(f.shadowRoot):f},b=function(c){if(c!==!1&&c!==y(document)){if(!c||!c.focus){b(h());return}c.focus({preventScroll:!!a.preventScroll}),i.mostRecentlyFocusedNode=c,Nr(c)&&c.select()}},S=function(c){var f=d("setReturnFocus",{params:[c]});return f||(f===!1?!1:c)},m=function(c){var f=c.target,g=c.event,I=c.isBackward,O=I===void 0?!1:I;f=f||Ae(g),v();var P=null;if(i.tabbableGroups.length>0){var k=l(f,g),p=k>=0?i.containerGroups[k]:void 0;if(k<0)O?P=i.tabbableGroups[i.tabbableGroups.length-1].lastTabbableNode:P=i.tabbableGroups[0].firstTabbableNode;else if(O){var w=i.tabbableGroups.findIndex(function(H){var Q=H.firstTabbableNode;return f===Q});if(w<0&&(p.container===f||Oe(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!p.nextTabbableNode(f,!1))&&(w=k),w>=0){var B=w===0?i.tabbableGroups.length-1:w-1,J=i.tabbableGroups[B];P=se(f)>=0?J.lastTabbableNode:J.lastDomTabbableNode}else ge(g)||(P=p.nextTabbableNode(f,!1))}else{var K=i.tabbableGroups.findIndex(function(H){var Q=H.lastTabbableNode;return f===Q});if(K<0&&(p.container===f||Oe(f,a.tabbableOptions)&&!le(f,a.tabbableOptions)&&!p.nextTabbableNode(f))&&(K=k),K>=0){var U=K===i.tabbableGroups.length-1?0:K+1,$=i.tabbableGroups[U];P=se(f)>=0?$.firstTabbableNode:$.firstDomTabbableNode}else ge(g)||(P=p.nextTabbableNode(f))}}else P=d("fallbackFocus");return P},A=function(c){var f=Ae(c);if(!(l(f,c)>=0)){if(ye(a.clickOutsideDeactivates,c)){s.deactivate({returnFocus:a.returnFocusOnDeactivate});return}ye(a.allowOutsideClick,c)||c.preventDefault()}},T=function(c){var f=Ae(c),g=l(f,c)>=0;if(g||f instanceof Document)g&&(i.mostRecentlyFocusedNode=f);else{c.stopImmediatePropagation();var I,O=!0;if(i.mostRecentlyFocusedNode)if(se(i.mostRecentlyFocusedNode)>0){var P=l(i.mostRecentlyFocusedNode),k=i.containerGroups[P].tabbableNodes;if(k.length>0){var p=k.findIndex(function(w){return w===i.mostRecentlyFocusedNode});p>=0&&(a.isKeyForward(i.recentNavEvent)?p+1=0&&(I=k[p-1],O=!1))}}else i.containerGroups.some(function(w){return w.tabbableNodes.some(function(B){return se(B)>0})})||(O=!1);else O=!1;O&&(I=m({target:i.mostRecentlyFocusedNode,isBackward:a.isKeyBackward(i.recentNavEvent)})),b(I||i.mostRecentlyFocusedNode||h())}i.recentNavEvent=void 0},F=function(c){var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;i.recentNavEvent=c;var g=m({event:c,isBackward:f});g&&(ge(c)&&c.preventDefault(),b(g))},z=function(c){(a.isKeyForward(c)||a.isKeyBackward(c))&&F(c,a.isKeyBackward(c))},L=function(c){Ir(c)&&ye(a.escapeDeactivates,c)!==!1&&(c.preventDefault(),s.deactivate())},V=function(c){var f=Ae(c);l(f,c)>=0||ye(a.clickOutsideDeactivates,c)||ye(a.allowOutsideClick,c)||(c.preventDefault(),c.stopImmediatePropagation())},N=function(){if(i.active)return lt.activateTrap(n,s),i.delayInitialFocusTimer=a.delayInitialFocus?ct(function(){b(h())}):b(h()),r.addEventListener("focusin",T,!0),r.addEventListener("mousedown",A,{capture:!0,passive:!1}),r.addEventListener("touchstart",A,{capture:!0,passive:!1}),r.addEventListener("click",V,{capture:!0,passive:!1}),r.addEventListener("keydown",z,{capture:!0,passive:!1}),r.addEventListener("keydown",L),s},_=function(){if(i.active)return r.removeEventListener("focusin",T,!0),r.removeEventListener("mousedown",A,!0),r.removeEventListener("touchstart",A,!0),r.removeEventListener("click",V,!0),r.removeEventListener("keydown",z,!0),r.removeEventListener("keydown",L),s},C=function(c){var f=c.some(function(g){var I=Array.from(g.removedNodes);return I.some(function(O){return O===i.mostRecentlyFocusedNode})});f&&b(h())},R=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(C):void 0,M=function(){R&&(R.disconnect(),i.active&&!i.paused&&i.containers.map(function(c){R.observe(c,{subtree:!0,childList:!0})}))};return s={get active(){return i.active},get paused(){return i.paused},activate:function(c){if(i.active)return this;var f=u(c,"onActivate"),g=u(c,"onPostActivate"),I=u(c,"checkCanFocusTrap");I||v(),i.active=!0,i.paused=!1,i.nodeFocusedBeforeActivation=r.activeElement,f==null||f();var O=function(){I&&v(),N(),M(),g==null||g()};return I?(I(i.containers.concat()).then(O,O),this):(O(),this)},deactivate:function(c){if(!i.active)return this;var f=ut({onDeactivate:a.onDeactivate,onPostDeactivate:a.onPostDeactivate,checkCanReturnFocus:a.checkCanReturnFocus},c);clearTimeout(i.delayInitialFocusTimer),i.delayInitialFocusTimer=void 0,_(),i.active=!1,i.paused=!1,M(),lt.deactivateTrap(n,s);var g=u(f,"onDeactivate"),I=u(f,"onPostDeactivate"),O=u(f,"checkCanReturnFocus"),P=u(f,"returnFocus","returnFocusOnDeactivate");g==null||g();var k=function(){ct(function(){P&&b(S(i.nodeFocusedBeforeActivation)),I==null||I()})};return P&&O?(O(S(i.nodeFocusedBeforeActivation)).then(k,k),this):(k(),this)},pause:function(c){if(i.paused||!i.active)return this;var f=u(c,"onPause"),g=u(c,"onPostPause");return i.paused=!0,f==null||f(),_(),M(),g==null||g(),this},unpause:function(c){if(!i.paused||!i.active)return this;var f=u(c,"onUnpause"),g=u(c,"onPostUnpause");return i.paused=!1,f==null||f(),v(),N(),M(),g==null||g(),this},updateContainerElements:function(c){var f=[].concat(c).filter(Boolean);return i.containers=f.map(function(g){return typeof g=="string"?r.querySelector(g):g}),i.active&&v(),M(),this}},s.updateContainerElements(e),s};function Mr(o,e={}){let t;const{immediate:r,...n}=e,a=oe(!1),i=oe(!1),s=h=>t&&t.activate(h),u=h=>t&&t.deactivate(h),l=()=>{t&&(t.pause(),i.value=!0)},d=()=>{t&&(t.unpause(),i.value=!1)};return Ve(()=>Ct(o),h=>{h&&(t=Rr(h,{...n,onActivate(){a.value=!0,e.onActivate&&e.onActivate()},onDeactivate(){a.value=!1,e.onDeactivate&&e.onDeactivate()}}),r&&s())},{flush:"post"}),Nt(()=>u()),{hasFocus:a,isPaused:i,activate:s,deactivate:u,pause:l,unpause:d}}class fe{constructor(e,t=!0,r=[],n=5e3){this.ctx=e,this.iframes=t,this.exclude=r,this.iframesTimeout=n}static matches(e,t){const r=typeof t=="string"?[t]:t,n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.oMatchesSelector||e.webkitMatchesSelector;if(n){let a=!1;return r.every(i=>n.call(e,i)?(a=!0,!1):!0),a}else return!1}getContexts(){let e,t=[];return typeof this.ctx>"u"||!this.ctx?e=[]:NodeList.prototype.isPrototypeOf(this.ctx)?e=Array.prototype.slice.call(this.ctx):Array.isArray(this.ctx)?e=this.ctx:typeof this.ctx=="string"?e=Array.prototype.slice.call(document.querySelectorAll(this.ctx)):e=[this.ctx],e.forEach(r=>{const n=t.filter(a=>a.contains(r)).length>0;t.indexOf(r)===-1&&!n&&t.push(r)}),t}getIframeContents(e,t,r=()=>{}){let n;try{const a=e.contentWindow;if(n=a.document,!a||!n)throw new Error("iframe inaccessible")}catch{r()}n&&t(n)}isIframeBlank(e){const t="about:blank",r=e.getAttribute("src").trim();return e.contentWindow.location.href===t&&r!==t&&r}observeIframeLoad(e,t,r){let n=!1,a=null;const i=()=>{if(!n){n=!0,clearTimeout(a);try{this.isIframeBlank(e)||(e.removeEventListener("load",i),this.getIframeContents(e,t,r))}catch{r()}}};e.addEventListener("load",i),a=setTimeout(i,this.iframesTimeout)}onIframeReady(e,t,r){try{e.contentWindow.document.readyState==="complete"?this.isIframeBlank(e)?this.observeIframeLoad(e,t,r):this.getIframeContents(e,t,r):this.observeIframeLoad(e,t,r)}catch{r()}}waitForIframes(e,t){let r=0;this.forEachIframe(e,()=>!0,n=>{r++,this.waitForIframes(n.querySelector("html"),()=>{--r||t()})},n=>{n||t()})}forEachIframe(e,t,r,n=()=>{}){let a=e.querySelectorAll("iframe"),i=a.length,s=0;a=Array.prototype.slice.call(a);const u=()=>{--i<=0&&n(s)};i||u(),a.forEach(l=>{fe.matches(l,this.exclude)?u():this.onIframeReady(l,d=>{t(l)&&(s++,r(d)),u()},u)})}createIterator(e,t,r){return document.createNodeIterator(e,t,r,!1)}createInstanceOnIframe(e){return new fe(e.querySelector("html"),this.iframes)}compareNodeIframe(e,t,r){const n=e.compareDocumentPosition(r),a=Node.DOCUMENT_POSITION_PRECEDING;if(n&a)if(t!==null){const i=t.compareDocumentPosition(r),s=Node.DOCUMENT_POSITION_FOLLOWING;if(i&s)return!0}else return!0;return!1}getIteratorNode(e){const t=e.previousNode();let r;return t===null?r=e.nextNode():r=e.nextNode()&&e.nextNode(),{prevNode:t,node:r}}checkIframeFilter(e,t,r,n){let a=!1,i=!1;return n.forEach((s,u)=>{s.val===r&&(a=u,i=s.handled)}),this.compareNodeIframe(e,t,r)?(a===!1&&!i?n.push({val:r,handled:!0}):a!==!1&&!i&&(n[a].handled=!0),!0):(a===!1&&n.push({val:r,handled:!1}),!1)}handleOpenIframes(e,t,r,n){e.forEach(a=>{a.handled||this.getIframeContents(a.val,i=>{this.createInstanceOnIframe(i).forEachNode(t,r,n)})})}iterateThroughNodes(e,t,r,n,a){const i=this.createIterator(t,e,n);let s=[],u=[],l,d,h=()=>({prevNode:d,node:l}=this.getIteratorNode(i),l);for(;h();)this.iframes&&this.forEachIframe(t,v=>this.checkIframeFilter(l,d,v,s),v=>{this.createInstanceOnIframe(v).forEachNode(e,y=>u.push(y),n)}),u.push(l);u.forEach(v=>{r(v)}),this.iframes&&this.handleOpenIframes(s,e,r,n),a()}forEachNode(e,t,r,n=()=>{}){const a=this.getContexts();let i=a.length;i||n(),a.forEach(s=>{const u=()=>{this.iterateThroughNodes(e,s,t,r,()=>{--i<=0&&n()})};this.iframes?this.waitForIframes(s,u):u()})}}let Lr=class{constructor(e){this.ctx=e,this.ie=!1;const t=window.navigator.userAgent;(t.indexOf("MSIE")>-1||t.indexOf("Trident")>-1)&&(this.ie=!0)}set opt(e){this._opt=Object.assign({},{element:"",className:"",exclude:[],iframes:!1,iframesTimeout:5e3,separateWordSearch:!0,diacritics:!0,synonyms:{},accuracy:"partially",acrossElements:!1,caseSensitive:!1,ignoreJoiners:!1,ignoreGroups:0,ignorePunctuation:[],wildcards:"disabled",each:()=>{},noMatch:()=>{},filter:()=>!0,done:()=>{},debug:!1,log:window.console},e)}get opt(){return this._opt}get iterator(){return new fe(this.ctx,this.opt.iframes,this.opt.exclude,this.opt.iframesTimeout)}log(e,t="debug"){const r=this.opt.log;this.opt.debug&&typeof r=="object"&&typeof r[t]=="function"&&r[t](`mark.js: ${e}`)}escapeStr(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")}createRegExp(e){return this.opt.wildcards!=="disabled"&&(e=this.setupWildcardsRegExp(e)),e=this.escapeStr(e),Object.keys(this.opt.synonyms).length&&(e=this.createSynonymsRegExp(e)),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),this.opt.diacritics&&(e=this.createDiacriticsRegExp(e)),e=this.createMergedBlanksRegExp(e),(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.createJoinersRegExp(e)),this.opt.wildcards!=="disabled"&&(e=this.createWildcardsRegExp(e)),e=this.createAccuracyRegExp(e),e}createSynonymsRegExp(e){const t=this.opt.synonyms,r=this.opt.caseSensitive?"":"i",n=this.opt.ignoreJoiners||this.opt.ignorePunctuation.length?"\0":"";for(let a in t)if(t.hasOwnProperty(a)){const i=t[a],s=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(a):this.escapeStr(a),u=this.opt.wildcards!=="disabled"?this.setupWildcardsRegExp(i):this.escapeStr(i);s!==""&&u!==""&&(e=e.replace(new RegExp(`(${this.escapeStr(s)}|${this.escapeStr(u)})`,`gm${r}`),n+`(${this.processSynomyms(s)}|${this.processSynomyms(u)})`+n))}return e}processSynomyms(e){return(this.opt.ignoreJoiners||this.opt.ignorePunctuation.length)&&(e=this.setupIgnoreJoinersRegExp(e)),e}setupWildcardsRegExp(e){return e=e.replace(/(?:\\)*\?/g,t=>t.charAt(0)==="\\"?"?":""),e.replace(/(?:\\)*\*/g,t=>t.charAt(0)==="\\"?"*":"")}createWildcardsRegExp(e){let t=this.opt.wildcards==="withSpaces";return e.replace(/\u0001/g,t?"[\\S\\s]?":"\\S?").replace(/\u0002/g,t?"[\\S\\s]*?":"\\S*")}setupIgnoreJoinersRegExp(e){return e.replace(/[^(|)\\]/g,(t,r,n)=>{let a=n.charAt(r+1);return/[(|)\\]/.test(a)||a===""?t:t+"\0"})}createJoinersRegExp(e){let t=[];const r=this.opt.ignorePunctuation;return Array.isArray(r)&&r.length&&t.push(this.escapeStr(r.join(""))),this.opt.ignoreJoiners&&t.push("\\u00ad\\u200b\\u200c\\u200d"),t.length?e.split(/\u0000+/).join(`[${t.join("")}]*`):e}createDiacriticsRegExp(e){const t=this.opt.caseSensitive?"":"i",r=this.opt.caseSensitive?["aàáảãạăằắẳẵặâầấẩẫậäåāą","AÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćč","CÇĆČ","dđď","DĐĎ","eèéẻẽẹêềếểễệëěēę","EÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïī","IÌÍỈĨỊÎÏĪ","lł","LŁ","nñňń","NÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøō","OÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rř","RŘ","sšśșş","SŠŚȘŞ","tťțţ","TŤȚŢ","uùúủũụưừứửữựûüůū","UÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿ","YÝỲỶỸỴŸ","zžżź","ZŽŻŹ"]:["aàáảãạăằắẳẵặâầấẩẫậäåāąAÀÁẢÃẠĂẰẮẲẴẶÂẦẤẨẪẬÄÅĀĄ","cçćčCÇĆČ","dđďDĐĎ","eèéẻẽẹêềếểễệëěēęEÈÉẺẼẸÊỀẾỂỄỆËĚĒĘ","iìíỉĩịîïīIÌÍỈĨỊÎÏĪ","lłLŁ","nñňńNÑŇŃ","oòóỏõọôồốổỗộơởỡớờợöøōOÒÓỎÕỌÔỒỐỔỖỘƠỞỠỚỜỢÖØŌ","rřRŘ","sšśșşSŠŚȘŞ","tťțţTŤȚŢ","uùúủũụưừứửữựûüůūUÙÚỦŨỤƯỪỨỬỮỰÛÜŮŪ","yýỳỷỹỵÿYÝỲỶỸỴŸ","zžżźZŽŻŹ"];let n=[];return e.split("").forEach(a=>{r.every(i=>{if(i.indexOf(a)!==-1){if(n.indexOf(i)>-1)return!1;e=e.replace(new RegExp(`[${i}]`,`gm${t}`),`[${i}]`),n.push(i)}return!0})}),e}createMergedBlanksRegExp(e){return e.replace(/[\s]+/gmi,"[\\s]+")}createAccuracyRegExp(e){const t="!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~¡¿";let r=this.opt.accuracy,n=typeof r=="string"?r:r.value,a=typeof r=="string"?[]:r.limiters,i="";switch(a.forEach(s=>{i+=`|${this.escapeStr(s)}`}),n){case"partially":default:return`()(${e})`;case"complementary":return i="\\s"+(i||this.escapeStr(t)),`()([^${i}]*${e}[^${i}]*)`;case"exactly":return`(^|\\s${i})(${e})(?=$|\\s${i})`}}getSeparatedKeywords(e){let t=[];return e.forEach(r=>{this.opt.separateWordSearch?r.split(" ").forEach(n=>{n.trim()&&t.indexOf(n)===-1&&t.push(n)}):r.trim()&&t.indexOf(r)===-1&&t.push(r)}),{keywords:t.sort((r,n)=>n.length-r.length),length:t.length}}isNumeric(e){return Number(parseFloat(e))==e}checkRanges(e){if(!Array.isArray(e)||Object.prototype.toString.call(e[0])!=="[object Object]")return this.log("markRanges() will only accept an array of objects"),this.opt.noMatch(e),[];const t=[];let r=0;return e.sort((n,a)=>n.start-a.start).forEach(n=>{let{start:a,end:i,valid:s}=this.callNoMatchOnInvalidRanges(n,r);s&&(n.start=a,n.length=i-a,t.push(n),r=i)}),t}callNoMatchOnInvalidRanges(e,t){let r,n,a=!1;return e&&typeof e.start<"u"?(r=parseInt(e.start,10),n=r+parseInt(e.length,10),this.isNumeric(e.start)&&this.isNumeric(e.length)&&n-t>0&&n-r>0?a=!0:(this.log(`Ignoring invalid or overlapping range: ${JSON.stringify(e)}`),this.opt.noMatch(e))):(this.log(`Ignoring invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)),{start:r,end:n,valid:a}}checkWhitespaceRanges(e,t,r){let n,a=!0,i=r.length,s=t-i,u=parseInt(e.start,10)-s;return u=u>i?i:u,n=u+parseInt(e.length,10),n>i&&(n=i,this.log(`End range automatically set to the max value of ${i}`)),u<0||n-u<0||u>i||n>i?(a=!1,this.log(`Invalid range: ${JSON.stringify(e)}`),this.opt.noMatch(e)):r.substring(u,n).replace(/\s+/g,"")===""&&(a=!1,this.log("Skipping whitespace only range: "+JSON.stringify(e)),this.opt.noMatch(e)),{start:u,end:n,valid:a}}getTextNodes(e){let t="",r=[];this.iterator.forEachNode(NodeFilter.SHOW_TEXT,n=>{r.push({start:t.length,end:(t+=n.textContent).length,node:n})},n=>this.matchesExclude(n.parentNode)?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT,()=>{e({value:t,nodes:r})})}matchesExclude(e){return fe.matches(e,this.opt.exclude.concat(["script","style","title","head","html"]))}wrapRangeInTextNode(e,t,r){const n=this.opt.element?this.opt.element:"mark",a=e.splitText(t),i=a.splitText(r-t);let s=document.createElement(n);return s.setAttribute("data-markjs","true"),this.opt.className&&s.setAttribute("class",this.opt.className),s.textContent=a.textContent,a.parentNode.replaceChild(s,a),i}wrapRangeInMappedTextNode(e,t,r,n,a){e.nodes.every((i,s)=>{const u=e.nodes[s+1];if(typeof u>"u"||u.start>t){if(!n(i.node))return!1;const l=t-i.start,d=(r>i.end?i.end:r)-i.start,h=e.value.substr(0,i.start),v=e.value.substr(d+i.start);if(i.node=this.wrapRangeInTextNode(i.node,l,d),e.value=h+v,e.nodes.forEach((y,b)=>{b>=s&&(e.nodes[b].start>0&&b!==s&&(e.nodes[b].start-=d),e.nodes[b].end-=d)}),r-=d,a(i.node.previousSibling,i.start),r>i.end)t=i.end;else return!1}return!0})}wrapMatches(e,t,r,n,a){const i=t===0?0:t+1;this.getTextNodes(s=>{s.nodes.forEach(u=>{u=u.node;let l;for(;(l=e.exec(u.textContent))!==null&&l[i]!=="";){if(!r(l[i],u))continue;let d=l.index;if(i!==0)for(let h=1;h{let u;for(;(u=e.exec(s.value))!==null&&u[i]!=="";){let l=u.index;if(i!==0)for(let h=1;hr(u[i],h),(h,v)=>{e.lastIndex=v,n(h)})}a()})}wrapRangeFromIndex(e,t,r,n){this.getTextNodes(a=>{const i=a.value.length;e.forEach((s,u)=>{let{start:l,end:d,valid:h}=this.checkWhitespaceRanges(s,i,a.value);h&&this.wrapRangeInMappedTextNode(a,l,d,v=>t(v,s,a.value.substring(l,d),u),v=>{r(v,s)})}),n()})}unwrapMatches(e){const t=e.parentNode;let r=document.createDocumentFragment();for(;e.firstChild;)r.appendChild(e.removeChild(e.firstChild));t.replaceChild(r,e),this.ie?this.normalizeTextNode(t):t.normalize()}normalizeTextNode(e){if(e){if(e.nodeType===3)for(;e.nextSibling&&e.nextSibling.nodeType===3;)e.nodeValue+=e.nextSibling.nodeValue,e.parentNode.removeChild(e.nextSibling);else this.normalizeTextNode(e.firstChild);this.normalizeTextNode(e.nextSibling)}}markRegExp(e,t){this.opt=t,this.log(`Searching with expression "${e}"`);let r=0,n="wrapMatches";const a=i=>{r++,this.opt.each(i)};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),this[n](e,this.opt.ignoreGroups,(i,s)=>this.opt.filter(s,i,r),a,()=>{r===0&&this.opt.noMatch(e),this.opt.done(r)})}mark(e,t){this.opt=t;let r=0,n="wrapMatches";const{keywords:a,length:i}=this.getSeparatedKeywords(typeof e=="string"?[e]:e),s=this.opt.caseSensitive?"":"i",u=l=>{let d=new RegExp(this.createRegExp(l),`gm${s}`),h=0;this.log(`Searching with expression "${d}"`),this[n](d,1,(v,y)=>this.opt.filter(y,l,r,h),v=>{h++,r++,this.opt.each(v)},()=>{h===0&&this.opt.noMatch(l),a[i-1]===l?this.opt.done(r):u(a[a.indexOf(l)+1])})};this.opt.acrossElements&&(n="wrapMatchesAcrossElements"),i===0?this.opt.done(r):u(a[0])}markRanges(e,t){this.opt=t;let r=0,n=this.checkRanges(e);n&&n.length?(this.log("Starting to mark with the following ranges: "+JSON.stringify(n)),this.wrapRangeFromIndex(n,(a,i,s,u)=>this.opt.filter(a,i,s,u),(a,i)=>{r++,this.opt.each(a,i)},()=>{this.opt.done(r)})):this.opt.done(r)}unmark(e){this.opt=e;let t=this.opt.element?this.opt.element:"*";t+="[data-markjs]",this.opt.className&&(t+=`.${this.opt.className}`),this.log(`Removal selector "${t}"`),this.iterator.forEachNode(NodeFilter.SHOW_ELEMENT,r=>{this.unwrapMatches(r)},r=>{const n=fe.matches(r,t),a=this.matchesExclude(r);return!n||a?NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT},this.opt.done)}};function zr(o){const e=new Lr(o);return this.mark=(t,r)=>(e.mark(t,r),this),this.markRegExp=(t,r)=>(e.markRegExp(t,r),this),this.markRanges=(t,r)=>(e.markRanges(t,r),this),this.unmark=t=>(e.unmark(t),this),this}var W=function(){return W=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&a[a.length-1])&&(l[0]===6||l[0]===2)){t=0;continue}if(l[0]===3&&(!a||l[1]>a[0]&&l[1]=o.length&&(o=void 0),{value:o&&o[r++],done:!o}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function j(o,e){var t=typeof Symbol=="function"&&o[Symbol.iterator];if(!t)return o;var r=t.call(o),n,a=[],i;try{for(;(e===void 0||e-- >0)&&!(n=r.next()).done;)a.push(n.value)}catch(s){i={error:s}}finally{try{n&&!n.done&&(t=r.return)&&t.call(r)}finally{if(i)throw i.error}}return a}var Vr="ENTRIES",Ft="KEYS",Et="VALUES",q="",Re=function(){function o(e,t){var r=e._tree,n=Array.from(r.keys());this.set=e,this._type=t,this._path=n.length>0?[{node:r,keys:n}]:[]}return o.prototype.next=function(){var e=this.dive();return this.backtrack(),e},o.prototype.dive=function(){if(this._path.length===0)return{done:!0,value:void 0};var e=ce(this._path),t=e.node,r=e.keys;if(ce(r)===q)return{done:!1,value:this.result()};var n=t.get(ce(r));return this._path.push({node:n,keys:Array.from(n.keys())}),this.dive()},o.prototype.backtrack=function(){if(this._path.length!==0){var e=ce(this._path).keys;e.pop(),!(e.length>0)&&(this._path.pop(),this.backtrack())}},o.prototype.key=function(){return this.set._prefix+this._path.map(function(e){var t=e.keys;return ce(t)}).filter(function(e){return e!==q}).join("")},o.prototype.value=function(){return ce(this._path).node.get(q)},o.prototype.result=function(){switch(this._type){case Et:return this.value();case Ft:return this.key();default:return[this.key(),this.value()]}},o.prototype[Symbol.iterator]=function(){return this},o}(),ce=function(o){return o[o.length-1]},$r=function(o,e,t){var r=new Map;if(e===void 0)return r;for(var n=e.length+1,a=n+t,i=new Uint8Array(a*n).fill(t+1),s=0;st)continue e}St(o.get(y),e,t,r,n,S,i,s+y)}}}catch(c){u={error:c}}finally{try{v&&!v.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}},Me=function(){function o(e,t){e===void 0&&(e=new Map),t===void 0&&(t=""),this._size=void 0,this._tree=e,this._prefix=t}return o.prototype.atPrefix=function(e){var t,r;if(!e.startsWith(this._prefix))throw new Error("Mismatched prefix");var n=j(De(this._tree,e.slice(this._prefix.length)),2),a=n[0],i=n[1];if(a===void 0){var s=j(Je(i),2),u=s[0],l=s[1];try{for(var d=D(u.keys()),h=d.next();!h.done;h=d.next()){var v=h.value;if(v!==q&&v.startsWith(l)){var y=new Map;return y.set(v.slice(l.length),u.get(v)),new o(y,e)}}}catch(b){t={error:b}}finally{try{h&&!h.done&&(r=d.return)&&r.call(d)}finally{if(t)throw t.error}}}return new o(a,e)},o.prototype.clear=function(){this._size=void 0,this._tree.clear()},o.prototype.delete=function(e){return this._size=void 0,Wr(this._tree,e)},o.prototype.entries=function(){return new Re(this,Vr)},o.prototype.forEach=function(e){var t,r;try{for(var n=D(this),a=n.next();!a.done;a=n.next()){var i=j(a.value,2),s=i[0],u=i[1];e(s,u,this)}}catch(l){t={error:l}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},o.prototype.fuzzyGet=function(e,t){return $r(this._tree,e,t)},o.prototype.get=function(e){var t=je(this._tree,e);return t!==void 0?t.get(q):void 0},o.prototype.has=function(e){var t=je(this._tree,e);return t!==void 0&&t.has(q)},o.prototype.keys=function(){return new Re(this,Ft)},o.prototype.set=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(q,t),this},Object.defineProperty(o.prototype,"size",{get:function(){if(this._size)return this._size;this._size=0;for(var e=this.entries();!e.next().done;)this._size+=1;return this._size},enumerable:!1,configurable:!0}),o.prototype.update=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e);return r.set(q,t(r.get(q))),this},o.prototype.fetch=function(e,t){if(typeof e!="string")throw new Error("key must be a string");this._size=void 0;var r=Le(this._tree,e),n=r.get(q);return n===void 0&&r.set(q,n=t()),n},o.prototype.values=function(){return new Re(this,Et)},o.prototype[Symbol.iterator]=function(){return this.entries()},o.from=function(e){var t,r,n=new o;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=j(i.value,2),u=s[0],l=s[1];n.set(u,l)}}catch(d){t={error:d}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n},o.fromObject=function(e){return o.from(Object.entries(e))},o}(),De=function(o,e,t){var r,n;if(t===void 0&&(t=[]),e.length===0||o==null)return[o,t];try{for(var a=D(o.keys()),i=a.next();!i.done;i=a.next()){var s=i.value;if(s!==q&&e.startsWith(s))return t.push([o,s]),De(o.get(s),e.slice(s.length),t)}}catch(u){r={error:u}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return t.push([o,e]),De(void 0,"",t)},je=function(o,e){var t,r;if(e.length===0||o==null)return o;try{for(var n=D(o.keys()),a=n.next();!a.done;a=n.next()){var i=a.value;if(i!==q&&e.startsWith(i))return je(o.get(i),e.slice(i.length))}}catch(s){t={error:s}}finally{try{a&&!a.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}},Le=function(o,e){var t,r,n=e.length;e:for(var a=0;o&&a0)throw new Error("Expected documents to be present. Omit the argument to remove all documents.");this._index=new Me,this._documentCount=0,this._documentIds=new Map,this._idToShortId=new Map,this._fieldLength=new Map,this._avgFieldLength=[],this._storedFields=new Map,this._nextId=0}},o.prototype.discard=function(e){var t=this,r=this._idToShortId.get(e);if(r==null)throw new Error("MiniSearch: cannot discard document with ID ".concat(e,": it is not in the index"));this._idToShortId.delete(e),this._documentIds.delete(r),this._storedFields.delete(r),(this._fieldLength.get(r)||[]).forEach(function(n,a){t.removeFieldLength(r,a,t._documentCount,n)}),this._fieldLength.delete(r),this._documentCount-=1,this._dirtCount+=1,this.maybeAutoVacuum()},o.prototype.maybeAutoVacuum=function(){if(this._options.autoVacuum!==!1){var e=this._options.autoVacuum,t=e.minDirtFactor,r=e.minDirtCount,n=e.batchSize,a=e.batchWait;this.conditionalVacuum({batchSize:n,batchWait:a},{minDirtCount:r,minDirtFactor:t})}},o.prototype.discardAll=function(e){var t,r,n=this._options.autoVacuum;try{this._options.autoVacuum=!1;try{for(var a=D(e),i=a.next();!i.done;i=a.next()){var s=i.value;this.discard(s)}}catch(u){t={error:u}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}}finally{this._options.autoVacuum=n}this.maybeAutoVacuum()},o.prototype.replace=function(e){var t=this._options,r=t.idField,n=t.extractField,a=n(e,r);this.discard(a),this.add(e)},o.prototype.vacuum=function(e){return e===void 0&&(e={}),this.conditionalVacuum(e)},o.prototype.conditionalVacuum=function(e,t){var r=this;return this._currentVacuum?(this._enqueuedVacuumConditions=this._enqueuedVacuumConditions&&t,this._enqueuedVacuum!=null?this._enqueuedVacuum:(this._enqueuedVacuum=this._currentVacuum.then(function(){var n=r._enqueuedVacuumConditions;return r._enqueuedVacuumConditions=Ue,r.performVacuuming(e,n)}),this._enqueuedVacuum)):this.vacuumConditionsMet(t)===!1?Promise.resolve():(this._currentVacuum=this.performVacuuming(e),this._currentVacuum)},o.prototype.performVacuuming=function(e,t){return Pr(this,void 0,void 0,function(){var r,n,a,i,s,u,l,d,h,v,y,b,S,m,A,T,F,z,L,V,N,_,C,R,M;return Br(this,function(x){switch(x.label){case 0:if(r=this._dirtCount,!this.vacuumConditionsMet(t))return[3,10];n=e.batchSize||Ke.batchSize,a=e.batchWait||Ke.batchWait,i=1,x.label=1;case 1:x.trys.push([1,7,8,9]),s=D(this._index),u=s.next(),x.label=2;case 2:if(u.done)return[3,6];l=j(u.value,2),d=l[0],h=l[1];try{for(v=(_=void 0,D(h)),y=v.next();!y.done;y=v.next()){b=j(y.value,2),S=b[0],m=b[1];try{for(A=(R=void 0,D(m)),T=A.next();!T.done;T=A.next())F=j(T.value,1),z=F[0],!this._documentIds.has(z)&&(m.size<=1?h.delete(S):m.delete(z))}catch(c){R={error:c}}finally{try{T&&!T.done&&(M=A.return)&&M.call(A)}finally{if(R)throw R.error}}}}catch(c){_={error:c}}finally{try{y&&!y.done&&(C=v.return)&&C.call(v)}finally{if(_)throw _.error}}return this._index.get(d).size===0&&this._index.delete(d),i%n!==0?[3,4]:[4,new Promise(function(c){return setTimeout(c,a)})];case 3:x.sent(),x.label=4;case 4:i+=1,x.label=5;case 5:return u=s.next(),[3,2];case 6:return[3,9];case 7:return L=x.sent(),V={error:L},[3,9];case 8:try{u&&!u.done&&(N=s.return)&&N.call(s)}finally{if(V)throw V.error}return[7];case 9:this._dirtCount-=r,x.label=10;case 10:return[4,null];case 11:return x.sent(),this._currentVacuum=this._enqueuedVacuum,this._enqueuedVacuum=null,[2]}})})},o.prototype.vacuumConditionsMet=function(e){if(e==null)return!0;var t=e.minDirtCount,r=e.minDirtFactor;return t=t||Be.minDirtCount,r=r||Be.minDirtFactor,this.dirtCount>=t&&this.dirtFactor>=r},Object.defineProperty(o.prototype,"isVacuuming",{get:function(){return this._currentVacuum!=null},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtCount",{get:function(){return this._dirtCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"dirtFactor",{get:function(){return this._dirtCount/(1+this._documentCount+this._dirtCount)},enumerable:!1,configurable:!0}),o.prototype.has=function(e){return this._idToShortId.has(e)},o.prototype.getStoredFields=function(e){var t=this._idToShortId.get(e);if(t!=null)return this._storedFields.get(t)},o.prototype.search=function(e,t){var r,n;t===void 0&&(t={});var a=this.executeQuery(e,t),i=[];try{for(var s=D(a),u=s.next();!u.done;u=s.next()){var l=j(u.value,2),d=l[0],h=l[1],v=h.score,y=h.terms,b=h.match,S=y.length||1,m={id:this._documentIds.get(d),score:v*S,terms:Object.keys(b),queryTerms:y,match:b};Object.assign(m,this._storedFields.get(d)),(t.filter==null||t.filter(m))&&i.push(m)}}catch(A){r={error:A}}finally{try{u&&!u.done&&(n=s.return)&&n.call(s)}finally{if(r)throw r.error}}return e===o.wildcard&&t.boostDocument==null&&this._options.searchOptions.boostDocument==null||i.sort(ht),i},o.prototype.autoSuggest=function(e,t){var r,n,a,i;t===void 0&&(t={}),t=W(W({},this._options.autoSuggestOptions),t);var s=new Map;try{for(var u=D(this.search(e,t)),l=u.next();!l.done;l=u.next()){var d=l.value,h=d.score,v=d.terms,y=v.join(" "),b=s.get(y);b!=null?(b.score+=h,b.count+=1):s.set(y,{score:h,terms:v,count:1})}}catch(L){r={error:L}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(r)throw r.error}}var S=[];try{for(var m=D(s),A=m.next();!A.done;A=m.next()){var T=j(A.value,2),b=T[0],F=T[1],h=F.score,v=F.terms,z=F.count;S.push({suggestion:b,terms:v,score:h/z})}}catch(L){a={error:L}}finally{try{A&&!A.done&&(i=m.return)&&i.call(m)}finally{if(a)throw a.error}}return S.sort(ht),S},Object.defineProperty(o.prototype,"documentCount",{get:function(){return this._documentCount},enumerable:!1,configurable:!0}),Object.defineProperty(o.prototype,"termCount",{get:function(){return this._index.size},enumerable:!1,configurable:!0}),o.loadJSON=function(e,t){if(t==null)throw new Error("MiniSearch: loadJSON should be given the same options used when serializing the index");return this.loadJS(JSON.parse(e),t)},o.getDefault=function(e){if(Pe.hasOwnProperty(e))return ze(Pe,e);throw new Error('MiniSearch: unknown option "'.concat(e,'"'))},o.loadJS=function(e,t){var r,n,a,i,s,u,l=e.index,d=e.documentCount,h=e.nextId,v=e.documentIds,y=e.fieldIds,b=e.fieldLength,S=e.averageFieldLength,m=e.storedFields,A=e.dirtCount,T=e.serializationVersion;if(T!==1&&T!==2)throw new Error("MiniSearch: cannot deserialize an index created with an incompatible version");var F=new o(t);F._documentCount=d,F._nextId=h,F._documentIds=ke(v),F._idToShortId=new Map,F._fieldIds=y,F._fieldLength=ke(b),F._avgFieldLength=S,F._storedFields=ke(m),F._dirtCount=A||0,F._index=new Me;try{for(var z=D(F._documentIds),L=z.next();!L.done;L=z.next()){var V=j(L.value,2),N=V[0],_=V[1];F._idToShortId.set(_,N)}}catch(k){r={error:k}}finally{try{L&&!L.done&&(n=z.return)&&n.call(z)}finally{if(r)throw r.error}}try{for(var C=D(l),R=C.next();!R.done;R=C.next()){var M=j(R.value,2),x=M[0],c=M[1],f=new Map;try{for(var g=(s=void 0,D(Object.keys(c))),I=g.next();!I.done;I=g.next()){var O=I.value,P=c[O];T===1&&(P=P.ds),f.set(parseInt(O,10),ke(P))}}catch(k){s={error:k}}finally{try{I&&!I.done&&(u=g.return)&&u.call(g)}finally{if(s)throw s.error}}F._index.set(x,f)}}catch(k){a={error:k}}finally{try{R&&!R.done&&(i=C.return)&&i.call(C)}finally{if(a)throw a.error}}return F},o.prototype.executeQuery=function(e,t){var r=this;if(t===void 0&&(t={}),e===o.wildcard)return this.executeWildcardQuery(t);if(typeof e!="string"){var n=W(W(W({},t),e),{queries:void 0}),a=e.queries.map(function(m){return r.executeQuery(m,n)});return this.combineResults(a,n.combineWith)}var i=this._options,s=i.tokenize,u=i.processTerm,l=i.searchOptions,d=W(W({tokenize:s,processTerm:u},l),t),h=d.tokenize,v=d.processTerm,y=h(e).flatMap(function(m){return v(m)}).filter(function(m){return!!m}),b=y.map(Gr(d)),S=b.map(function(m){return r.executeQuerySpec(m,d)});return this.combineResults(S,d.combineWith)},o.prototype.executeQuerySpec=function(e,t){var r,n,a,i,s=W(W({},this._options.searchOptions),t),u=(s.fields||this._options.fields).reduce(function(O,P){var k;return W(W({},O),(k={},k[P]=ze(s.boost,P)||1,k))},{}),l=s.boostDocument,d=s.weights,h=s.maxFuzzy,v=s.bm25,y=W(W({},ft.weights),d),b=y.fuzzy,S=y.prefix,m=this._index.get(e.term),A=this.termResults(e.term,e.term,1,m,u,l,v),T,F;if(e.prefix&&(T=this._index.atPrefix(e.term)),e.fuzzy){var z=e.fuzzy===!0?.2:e.fuzzy,L=z<1?Math.min(h,Math.round(e.term.length*z)):z;L&&(F=this._index.fuzzyGet(e.term,L))}if(T)try{for(var V=D(T),N=V.next();!N.done;N=V.next()){var _=j(N.value,2),C=_[0],R=_[1],M=C.length-e.term.length;if(M){F==null||F.delete(C);var x=S*C.length/(C.length+.3*M);this.termResults(e.term,C,x,R,u,l,v,A)}}}catch(O){r={error:O}}finally{try{N&&!N.done&&(n=V.return)&&n.call(V)}finally{if(r)throw r.error}}if(F)try{for(var c=D(F.keys()),f=c.next();!f.done;f=c.next()){var C=f.value,g=j(F.get(C),2),I=g[0],M=g[1];if(M){var x=b*C.length/(C.length+M);this.termResults(e.term,C,x,I,u,l,v,A)}}}catch(O){a={error:O}}finally{try{f&&!f.done&&(i=c.return)&&i.call(c)}finally{if(a)throw a.error}}return A},o.prototype.executeWildcardQuery=function(e){var t,r,n=new Map,a=W(W({},this._options.searchOptions),e);try{for(var i=D(this._documentIds),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h=a.boostDocument?a.boostDocument(d,"",this._storedFields.get(l)):1;n.set(l,{score:h,terms:[],match:{}})}}catch(v){t={error:v}}finally{try{s&&!s.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n},o.prototype.combineResults=function(e,t){if(t===void 0&&(t=He),e.length===0)return new Map;var r=t.toLowerCase();return e.reduce(Ur[r])||new Map},o.prototype.toJSON=function(){var e,t,r,n,a=[];try{for(var i=D(this._index),s=i.next();!s.done;s=i.next()){var u=j(s.value,2),l=u[0],d=u[1],h={};try{for(var v=(r=void 0,D(d)),y=v.next();!y.done;y=v.next()){var b=j(y.value,2),S=b[0],m=b[1];h[S]=Object.fromEntries(m)}}catch(A){r={error:A}}finally{try{y&&!y.done&&(n=v.return)&&n.call(v)}finally{if(r)throw r.error}}a.push([l,h])}}catch(A){e={error:A}}finally{try{s&&!s.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return{documentCount:this._documentCount,nextId:this._nextId,documentIds:Object.fromEntries(this._documentIds),fieldIds:this._fieldIds,fieldLength:Object.fromEntries(this._fieldLength),averageFieldLength:this._avgFieldLength,storedFields:Object.fromEntries(this._storedFields),dirtCount:this._dirtCount,index:a,serializationVersion:2}},o.prototype.termResults=function(e,t,r,n,a,i,s,u){var l,d,h,v,y;if(u===void 0&&(u=new Map),n==null)return u;try{for(var b=D(Object.keys(a)),S=b.next();!S.done;S=b.next()){var m=S.value,A=a[m],T=this._fieldIds[m],F=n.get(T);if(F!=null){var z=F.size,L=this._avgFieldLength[T];try{for(var V=(h=void 0,D(F.keys())),N=V.next();!N.done;N=V.next()){var _=N.value;if(!this._documentIds.has(_)){this.removeTerm(T,_,t),z-=1;continue}var C=i?i(this._documentIds.get(_),t,this._storedFields.get(_)):1;if(C){var R=F.get(_),M=this._fieldLength.get(_)[T],x=Hr(R,z,this._documentCount,M,L,s),c=r*A*C*x,f=u.get(_);if(f){f.score+=c,Qr(f.terms,e);var g=ze(f.match,t);g?g.push(m):f.match[t]=[m]}else u.set(_,{score:c,terms:[e],match:(y={},y[t]=[m],y)})}}}catch(I){h={error:I}}finally{try{N&&!N.done&&(v=V.return)&&v.call(V)}finally{if(h)throw h.error}}}}}catch(I){l={error:I}}finally{try{S&&!S.done&&(d=b.return)&&d.call(b)}finally{if(l)throw l.error}}return u},o.prototype.addTerm=function(e,t,r){var n=this._index.fetch(r,vt),a=n.get(e);if(a==null)a=new Map,a.set(t,1),n.set(e,a);else{var i=a.get(t);a.set(t,(i||0)+1)}},o.prototype.removeTerm=function(e,t,r){if(!this._index.has(r)){this.warnDocumentChanged(t,e,r);return}var n=this._index.fetch(r,vt),a=n.get(e);a==null||a.get(t)==null?this.warnDocumentChanged(t,e,r):a.get(t)<=1?a.size<=1?n.delete(e):a.delete(t):a.set(t,a.get(t)-1),this._index.get(r).size===0&&this._index.delete(r)},o.prototype.warnDocumentChanged=function(e,t,r){var n,a;try{for(var i=D(Object.keys(this._fieldIds)),s=i.next();!s.done;s=i.next()){var u=s.value;if(this._fieldIds[u]===t){this._options.logger("warn","MiniSearch: document with ID ".concat(this._documentIds.get(e),' has changed before removal: term "').concat(r,'" was not present in field "').concat(u,'". Removing a document after it has changed can corrupt the index!'),"version_conflict");return}}}catch(l){n={error:l}}finally{try{s&&!s.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},o.prototype.addDocumentId=function(e){var t=this._nextId;return this._idToShortId.set(e,t),this._documentIds.set(t,e),this._documentCount+=1,this._nextId+=1,t},o.prototype.addFields=function(e){for(var t=0;t(Gt("data-v-2a6bf25b"),o=o(),qt(),o),Zr=["aria-owns"],Xr={class:"shell"},ea=["title"],ta=Z(()=>E("svg",{class:"search-icon",width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("g",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("circle",{cx:"11",cy:"11",r:"8"}),E("path",{d:"m21 21l-4.35-4.35"})])],-1)),ra=[ta],aa={class:"search-actions before"},na=["title"],ia=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M19 12H5m7 7l-7-7l7-7"})],-1)),oa=[ia],sa=["placeholder"],ua={class:"search-actions"},la=["title"],ca=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M3 14h7v7H3zM3 3h7v7H3zm11 1h7m-7 5h7m-7 6h7m-7 5h7"})],-1)),fa=[ca],da=["disabled","title"],ha=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24","aria-hidden":"true"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M20 5H9l-7 7l7 7h11a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2Zm-2 4l-6 6m0-6l6 6"})],-1)),va=[ha],pa=["id","role","aria-labelledby"],ya=["aria-selected"],ma=["href","aria-label","onMouseenter","onFocusin"],ga={class:"titles"},ba=Z(()=>E("span",{class:"title-icon"},"#",-1)),wa=["innerHTML"],xa=Z(()=>E("svg",{width:"18",height:"18",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"m9 18l6-6l-6-6"})],-1)),Fa={class:"title main"},Ea=["innerHTML"],Sa={key:0,class:"excerpt-wrapper"},Aa={key:0,class:"excerpt",inert:""},ka=["innerHTML"],Ta=Z(()=>E("div",{class:"excerpt-gradient-bottom"},null,-1)),Ca=Z(()=>E("div",{class:"excerpt-gradient-top"},null,-1)),Na={key:0,class:"no-results"},Ia={class:"search-keyboard-shortcuts"},Da=["aria-label"],_a=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 19V5m-7 7l7-7l7 7"})],-1)),Oa=[_a],Ra=["aria-label"],Ma=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("path",{fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M12 5v14m7-7l-7 7l-7-7"})],-1)),La=[Ma],za=["aria-label"],Pa=Z(()=>E("svg",{width:"14",height:"14",viewBox:"0 0 24 24"},[E("g",{fill:"none",stroke:"currentcolor","stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2"},[E("path",{d:"m9 10l-5 5l5 5"}),E("path",{d:"M20 4v7a4 4 0 0 1-4 4H4"})])],-1)),Ba=[Pa],Va=["aria-label"],$a=It({__name:"VPLocalSearchBox",emits:["close"],setup(o,{emit:e}){var P,k;const t=e,r=xe(),n=xe(),a=xe(ar),i=er(),{activate:s}=Mr(r,{immediate:!0,allowOutsideClick:!0,clickOutsideDeactivates:!0,escapeDeactivates:!0}),{localeIndex:u,theme:l}=i,d=tt(async()=>{var p,w,B,J,K,U,$,H,Q;return it(Kr.loadJSON((B=await((w=(p=a.value)[u.value])==null?void 0:w.call(p)))==null?void 0:B.default,{fields:["title","titles","text"],storeFields:["title","titles"],searchOptions:{fuzzy:.2,prefix:!0,boost:{title:4,text:2,titles:1},...((J=l.value.search)==null?void 0:J.provider)==="local"&&((U=(K=l.value.search.options)==null?void 0:K.miniSearch)==null?void 0:U.searchOptions)},...(($=l.value.search)==null?void 0:$.provider)==="local"&&((Q=(H=l.value.search.options)==null?void 0:H.miniSearch)==null?void 0:Q.options)}))}),v=Fe(()=>{var p,w;return((p=l.value.search)==null?void 0:p.provider)==="local"&&((w=l.value.search.options)==null?void 0:w.disableQueryPersistence)===!0}).value?oe(""):Dt("vitepress:local-search-filter",""),y=_t("vitepress:local-search-detailed-list",((P=l.value.search)==null?void 0:P.provider)==="local"&&((k=l.value.search.options)==null?void 0:k.detailedView)===!0),b=Fe(()=>{var p,w,B;return((p=l.value.search)==null?void 0:p.provider)==="local"&&(((w=l.value.search.options)==null?void 0:w.disableDetailedView)===!0||((B=l.value.search.options)==null?void 0:B.detailedView)===!1)}),S=Fe(()=>{var w,B,J,K,U,$,H;const p=((w=l.value.search)==null?void 0:w.options)??l.value.algolia;return((U=(K=(J=(B=p==null?void 0:p.locales)==null?void 0:B[u.value])==null?void 0:J.translations)==null?void 0:K.button)==null?void 0:U.buttonText)||((H=($=p==null?void 0:p.translations)==null?void 0:$.button)==null?void 0:H.buttonText)||"Search"});Ot(()=>{b.value&&(y.value=!1)});const m=xe([]),A=oe(!1);Ve(v,()=>{A.value=!1});const T=tt(async()=>{if(n.value)return it(new zr(n.value))},null),F=new rr(16);Rt(()=>[d.value,v.value,y.value],async([p,w,B],J,K)=>{var be,Ge,qe,Qe;(J==null?void 0:J[0])!==p&&F.clear();let U=!1;if(K(()=>{U=!0}),!p)return;m.value=p.search(w).slice(0,16),A.value=!0;const $=B?await Promise.all(m.value.map(Y=>z(Y.id))):[];if(U)return;for(const{id:Y,mod:ae}of $){const ne=Y.slice(0,Y.indexOf("#"));let te=F.get(ne);if(te)continue;te=new Map,F.set(ne,te);const X=ae.default??ae;if(X!=null&&X.render||X!=null&&X.setup){const ie=Qt(X);ie.config.warnHandler=()=>{},ie.provide(Yt,i),Object.defineProperties(ie.config.globalProperties,{$frontmatter:{get(){return i.frontmatter.value}},$params:{get(){return i.page.value.params}}});const Ye=document.createElement("div");ie.mount(Ye),Ye.querySelectorAll("h1, h2, h3, h4, h5, h6").forEach(de=>{var et;const we=(et=de.querySelector("a"))==null?void 0:et.getAttribute("href"),Ze=(we==null?void 0:we.startsWith("#"))&&we.slice(1);if(!Ze)return;let Xe="";for(;(de=de.nextElementSibling)&&!/^h[1-6]$/i.test(de.tagName);)Xe+=de.outerHTML;te.set(Ze,Xe)}),ie.unmount()}if(U)return}const H=new Set;if(m.value=m.value.map(Y=>{const[ae,ne]=Y.id.split("#"),te=F.get(ae),X=(te==null?void 0:te.get(ne))??"";for(const ie in Y.match)H.add(ie);return{...Y,text:X}}),await he(),U)return;await new Promise(Y=>{var ae;(ae=T.value)==null||ae.unmark({done:()=>{var ne;(ne=T.value)==null||ne.markRegExp(O(H),{done:Y})}})});const Q=((be=r.value)==null?void 0:be.querySelectorAll(".result .excerpt"))??[];for(const Y of Q)(Ge=Y.querySelector('mark[data-markjs="true"]'))==null||Ge.scrollIntoView({block:"center"});(Qe=(qe=n.value)==null?void 0:qe.firstElementChild)==null||Qe.scrollIntoView({block:"start"})},{debounce:200,immediate:!0});async function z(p){const w=Zt(p.slice(0,p.indexOf("#")));try{if(!w)throw new Error(`Cannot find file for id: ${p}`);return{id:p,mod:await pt(()=>import(w),__vite__mapDeps([]))}}catch(B){return console.error(B),{id:p,mod:{}}}}const L=oe(),V=Fe(()=>{var p;return((p=v.value)==null?void 0:p.length)<=0});function N(p=!0){var w,B;(w=L.value)==null||w.focus(),p&&((B=L.value)==null||B.select())}_e(()=>{N()});function _(p){p.pointerType==="mouse"&&N()}const C=oe(-1),R=oe(!1);Ve(m,p=>{C.value=p.length?0:-1,M()});function M(){he(()=>{const p=document.querySelector(".result.selected");p&&p.scrollIntoView({block:"nearest"})})}Ee("ArrowUp",p=>{p.preventDefault(),C.value--,C.value<0&&(C.value=m.value.length-1),R.value=!0,M()}),Ee("ArrowDown",p=>{p.preventDefault(),C.value++,C.value>=m.value.length&&(C.value=0),R.value=!0,M()});const x=Mt();Ee("Enter",p=>{if(p.target instanceof HTMLButtonElement&&p.target.type!=="submit")return;const w=m.value[C.value];if(p.target instanceof HTMLInputElement&&!w){p.preventDefault();return}w&&(x.go(w.id),t("close"))}),Ee("Escape",()=>{t("close")});const c={modal:{displayDetails:"Display detailed list",resetButtonTitle:"Reset search",backButtonTitle:"Close search",noResultsText:"No results for",footer:{selectText:"to select",selectKeyAriaLabel:"enter",navigateText:"to navigate",navigateUpKeyAriaLabel:"up arrow",navigateDownKeyAriaLabel:"down arrow",closeText:"to close",closeKeyAriaLabel:"escape"}}},f=Lt(tr)(zt(()=>{var p;return(p=l.value.search)==null?void 0:p.options}),c);_e(()=>{window.history.pushState(null,"",null)}),Pt("popstate",p=>{p.preventDefault(),t("close")});const g=Bt(Vt?document.body:null);_e(()=>{he(()=>{g.value=!0,he().then(()=>s())})}),$t(()=>{g.value=!1});function I(){v.value="",he().then(()=>N(!1))}function O(p){return new RegExp([...p].sort((w,B)=>B.length-w.length).map(w=>`(${w.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")})`).join("|"),"gi")}return(p,w)=>{var B,J,K,U;return ee(),Wt(Ht,{to:"body"},[E("div",{ref_key:"el",ref:r,role:"button","aria-owns":(B=m.value)!=null&&B.length?"localsearch-list":void 0,"aria-expanded":"true","aria-haspopup":"listbox","aria-labelledby":"localsearch-label",class:"VPLocalSearchBox"},[E("div",{class:"backdrop",onClick:w[0]||(w[0]=$=>p.$emit("close"))}),E("div",Xr,[E("form",{class:"search-bar",onPointerup:w[4]||(w[4]=$=>_($)),onSubmit:w[5]||(w[5]=jt(()=>{},["prevent"]))},[E("label",{title:S.value,id:"localsearch-label",for:"localsearch-input"},ra,8,ea),E("div",aa,[E("button",{class:"back-button",title:G(f)("modal.backButtonTitle"),onClick:w[1]||(w[1]=$=>p.$emit("close"))},oa,8,na)]),Kt(E("input",{ref_key:"searchInput",ref:L,"onUpdate:modelValue":w[2]||(w[2]=$=>Jt(v)?v.value=$:null),placeholder:S.value,id:"localsearch-input","aria-labelledby":"localsearch-label",class:"search-input"},null,8,sa),[[Ut,G(v)]]),E("div",ua,[b.value?Se("",!0):(ee(),re("button",{key:0,class:rt(["toggle-layout-button",{"detailed-list":G(y)}]),type:"button",title:G(f)("modal.displayDetails"),onClick:w[3]||(w[3]=$=>C.value>-1&&(y.value=!G(y)))},fa,10,la)),E("button",{class:"clear-button",type:"reset",disabled:V.value,title:G(f)("modal.resetButtonTitle"),onClick:I},va,8,da)])],32),E("ul",{ref_key:"resultsEl",ref:n,id:(J=m.value)!=null&&J.length?"localsearch-list":void 0,role:(K=m.value)!=null&&K.length?"listbox":void 0,"aria-labelledby":(U=m.value)!=null&&U.length?"localsearch-label":void 0,class:"results",onMousemove:w[7]||(w[7]=$=>R.value=!1)},[(ee(!0),re(nt,null,at(m.value,($,H)=>(ee(),re("li",{key:$.id,role:"option","aria-selected":C.value===H?"true":"false"},[E("a",{href:$.id,class:rt(["result",{selected:C.value===H}]),"aria-label":[...$.titles,$.title].join(" > "),onMouseenter:Q=>!R.value&&(C.value=H),onFocusin:Q=>C.value=H,onClick:w[6]||(w[6]=Q=>p.$emit("close"))},[E("div",null,[E("div",ga,[ba,(ee(!0),re(nt,null,at($.titles,(Q,be)=>(ee(),re("span",{key:be,class:"title"},[E("span",{class:"text",innerHTML:Q},null,8,wa),xa]))),128)),E("span",Fa,[E("span",{class:"text",innerHTML:$.title},null,8,Ea)])]),G(y)?(ee(),re("div",Sa,[$.text?(ee(),re("div",Aa,[E("div",{class:"vp-doc",innerHTML:$.text},null,8,ka)])):Se("",!0),Ta,Ca])):Se("",!0)])],42,ma)],8,ya))),128)),G(v)&&!m.value.length&&A.value?(ee(),re("li",Na,[ve(pe(G(f)("modal.noResultsText"))+' "',1),E("strong",null,pe(G(v)),1),ve('" ')])):Se("",!0)],40,pa),E("div",Ia,[E("span",null,[E("kbd",{"aria-label":G(f)("modal.footer.navigateUpKeyAriaLabel")},Oa,8,Da),E("kbd",{"aria-label":G(f)("modal.footer.navigateDownKeyAriaLabel")},La,8,Ra),ve(" "+pe(G(f)("modal.footer.navigateText")),1)]),E("span",null,[E("kbd",{"aria-label":G(f)("modal.footer.selectKeyAriaLabel")},Ba,8,za),ve(" "+pe(G(f)("modal.footer.selectText")),1)]),E("span",null,[E("kbd",{"aria-label":G(f)("modal.footer.closeKeyAriaLabel")},"esc",8,Va),ve(" "+pe(G(f)("modal.footer.closeText")),1)])])])],8,Zr)])}}}),Ja=Xt($a,[["__scopeId","data-v-2a6bf25b"]]);export{Ja as default}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { __vite__mapDeps.viteFileDeps = [] diff --git a/assets/chunks/camera.D9-V0Y9a.js b/assets/chunks/camera.CxigVlA0.js similarity index 77% rename from assets/chunks/camera.D9-V0Y9a.js rename to assets/chunks/camera.CxigVlA0.js index 308e9fe7..1f456739 100644 --- a/assets/chunks/camera.D9-V0Y9a.js +++ b/assets/chunks/camera.CxigVlA0.js @@ -1,3 +1,3 @@ -import{d as ri,h as ni,j as ai,a9 as ii,o as oi,b as si,J as ui}from"./framework.BeH60Y6U.js";const _o=ri({__name:"DemoWrapper",props:{component:Object},setup(r){const o=r,i=ni();return ai(()=>{o.component&&(i.value=ii(o.component))}),(u,d)=>(oi(),si(ui(i.value)))}});var cr=(r,o,i)=>{if(!o.has(r))throw TypeError("Cannot "+i)},Zt=(r,o,i)=>(cr(r,o,"read from private field"),i?i.call(r):o.get(r)),ci=(r,o,i)=>{if(o.has(r))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(r):o.set(r,i)},li=(r,o,i,u)=>(cr(r,o,"write to private field"),o.set(r,i),i);const lr=[["aztec","Aztec"],["code_128","Code128"],["code_39","Code39"],["code_93","Code93"],["codabar","Codabar"],["databar","DataBar"],["databar_expanded","DataBarExpanded"],["data_matrix","DataMatrix"],["dx_film_edge","DXFilmEdge"],["ean_13","EAN-13"],["ean_8","EAN-8"],["itf","ITF"],["maxi_code","MaxiCode"],["micro_qr_code","MicroQRCode"],["pdf417","PDF417"],["qr_code","QRCode"],["rm_qr_code","rMQRCode"],["upc_a","UPC-A"],["upc_e","UPC-E"],["linear_codes","Linear-Codes"],["matrix_codes","Matrix-Codes"]],di=[...lr,["unknown"]].map(r=>r[0]),He=new Map(lr);function fi(r){for(const[o,i]of He)if(r===i)return o;return"unknown"}function pi(r){if(dr(r))return{width:r.naturalWidth,height:r.naturalHeight};if(fr(r))return{width:r.width.baseVal.value,height:r.height.baseVal.value};if(pr(r))return{width:r.videoWidth,height:r.videoHeight};if(mr(r))return{width:r.width,height:r.height};if(yr(r))return{width:r.displayWidth,height:r.displayHeight};if(hr(r))return{width:r.width,height:r.height};if(vr(r))return{width:r.width,height:r.height};throw new TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}function dr(r){try{return r instanceof HTMLImageElement}catch{return!1}}function fr(r){try{return r instanceof SVGImageElement}catch{return!1}}function pr(r){try{return r instanceof HTMLVideoElement}catch{return!1}}function hr(r){try{return r instanceof HTMLCanvasElement}catch{return!1}}function mr(r){try{return r instanceof ImageBitmap}catch{return!1}}function vr(r){try{return r instanceof OffscreenCanvas}catch{return!1}}function yr(r){try{return r instanceof VideoFrame}catch{return!1}}function gr(r){try{return r instanceof Blob}catch{return!1}}function hi(r){try{return r instanceof ImageData}catch{return!1}}function mi(r,o){try{const i=new OffscreenCanvas(r,o);if(i.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return i;throw void 0}catch{const i=document.createElement("canvas");return i.width=r,i.height=o,i}}async function wr(r){if(dr(r)&&!await wi(r))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(fr(r)&&!await bi(r))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(yr(r)&&Ci(r))throw new DOMException("VideoFrame is closed.","InvalidStateError");if(pr(r)&&(r.readyState===0||r.readyState===1))throw new DOMException("Invalid element or state.","InvalidStateError");if(mr(r)&&_i(r))throw new DOMException("The image source is detached.","InvalidStateError");const{width:o,height:i}=pi(r);if(o===0||i===0)return null;const u=mi(o,i).getContext("2d");u.drawImage(r,0,0);try{return u.getImageData(0,0,o,i)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function vi(r){let o;try{if(globalThis.createImageBitmap)o=await createImageBitmap(r);else if(globalThis.Image){o=new Image;let i="";try{i=URL.createObjectURL(r),o.src=i,await o.decode()}finally{URL.revokeObjectURL(i)}}else return r}catch{throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}return await wr(o)}function yi(r){const{width:o,height:i}=r;if(o===0||i===0)return null;const u=r.getContext("2d");try{return u.getImageData(0,0,o,i)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function gi(r){if(gr(r))return await vi(r);if(hi(r)){if($i(r))throw new DOMException("The image data has been detached.","InvalidStateError");return r}return hr(r)||vr(r)?yi(r):await wr(r)}async function wi(r){try{return await r.decode(),!0}catch{return!1}}async function bi(r){var o;try{return await((o=r.decode)==null?void 0:o.call(r)),!0}catch{return!1}}function Ci(r){return r.format===null}function $i(r){return r.data.buffer.byteLength===0}function _i(r){return r.width===0&&r.height===0}function er(r,o){return r instanceof DOMException?new DOMException(`${o}: ${r.message}`,r.name):r instanceof Error?new r.constructor(`${o}: ${r.message}`):new Error(`${o}: ${r}`)}const tr=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","DXFilmEdge","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","rMQRCode","UPC-A","UPC-E"];function Si(r){return r.join("|")}function Pi(r){const o=rr(r);let i=0,u=tr.length-1;for(;i<=u;){const d=Math.floor((i+u)/2),p=tr[d],g=rr(p);if(g===o)return p;g{const i=r.match(/_(.+?)\.wasm$/);return i?`https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.3/dist/${i[1]}/${r}`:o+r}};let nr=new WeakMap;function dt(r,o){var i;const u=nr.get(r);if(u!=null&&u.modulePromise&&o===void 0)return u.modulePromise;const d=(i=u==null?void 0:u.moduleOverrides)!=null?i:Ri,p=r({...d});return nr.set(r,{moduleOverrides:d,modulePromise:p}),p}async function xi(r,o,i=ye){const u={...ye,...i},d=await dt(r),{size:p}=o,g=new Uint8Array(await o.arrayBuffer()),w=d._malloc(p);d.HEAPU8.set(g,w);const _=d.readBarcodesFromImage(w,p,br(d,u));d._free(w);const m=[];for(let $=0;$<_.size();++$)m.push(Cr(_.get($)));return m}async function Ii(r,o,i=ye){const u={...ye,...i},d=await dt(r),{data:p,width:g,height:w,data:{byteLength:_}}=o,m=d._malloc(_);d.HEAPU8.set(p,m);const $=d.readBarcodesFromPixmap(m,g,w,br(d,u));d._free(m);const P=[];for(let C=0;C<$.size();++C)P.push(Cr($.get(C)));return P}({...ye,formats:[...ye.formats]});var ft=(()=>{var r=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(o={}){var i=o,u,d;i.ready=new Promise((e,t)=>{u=e,d=t});var p=Object.assign({},i),g="./this.program",w=typeof window=="object",_=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&process.versions.node;var m="";function $(e){return i.locateFile?i.locateFile(e,m):m+e}var P;(w||_)&&(_?m=self.location.href:typeof document<"u"&&document.currentScript&&(m=document.currentScript.src),r&&(m=r),m.indexOf("blob:")!==0?m=m.substr(0,m.replace(/[?#].*/,"").lastIndexOf("/")+1):m="",_&&(P=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)})),i.print||console.log.bind(console);var C=i.printErr||console.error.bind(console);Object.assign(i,p),p=null,i.arguments&&i.arguments,i.thisProgram&&(g=i.thisProgram),i.quit&&i.quit;var U;i.wasmBinary&&(U=i.wasmBinary),typeof WebAssembly!="object"&&Oe("no native wasm support detected");var I,V=!1,A,D,X,ge,Y,x,ht,mt;function vt(){var e=I.buffer;i.HEAP8=A=new Int8Array(e),i.HEAP16=X=new Int16Array(e),i.HEAPU8=D=new Uint8Array(e),i.HEAPU16=ge=new Uint16Array(e),i.HEAP32=Y=new Int32Array(e),i.HEAPU32=x=new Uint32Array(e),i.HEAPF32=ht=new Float32Array(e),i.HEAPF64=mt=new Float64Array(e)}var yt=[],gt=[],wt=[];function Fr(){if(i.preRun)for(typeof i.preRun=="function"&&(i.preRun=[i.preRun]);i.preRun.length;)jr(i.preRun.shift());Ge(yt)}function kr(){Ge(gt)}function Ur(){if(i.postRun)for(typeof i.postRun=="function"&&(i.postRun=[i.postRun]);i.postRun.length;)Lr(i.postRun.shift());Ge(wt)}function jr(e){yt.unshift(e)}function Wr(e){gt.unshift(e)}function Lr(e){wt.unshift(e)}var ue=0,we=null;function Br(e){var t;ue++,(t=i.monitorRunDependencies)===null||t===void 0||t.call(i,ue)}function Hr(e){var t;if(ue--,(t=i.monitorRunDependencies)===null||t===void 0||t.call(i,ue),ue==0&&we){var n=we;we=null,n()}}function Oe(e){var t;(t=i.onAbort)===null||t===void 0||t.call(i,e),e="Aborted("+e+")",C(e),V=!0,e+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(e);throw d(n),n}var Vr="data:application/octet-stream;base64,",bt=e=>e.startsWith(Vr),de;de="zxing_reader.wasm",bt(de)||(de=$(de));function Ct(e){if(e==de&&U)return new Uint8Array(U);if(P)return P(e);throw"both async and sync fetching of the wasm failed"}function qr(e){return!U&&(w||_)&&typeof fetch=="function"?fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>Ct(e)):Promise.resolve().then(()=>Ct(e))}function $t(e,t,n){return qr(e).then(a=>WebAssembly.instantiate(a,t)).then(a=>a).then(n,a=>{C(`failed to asynchronously prepare wasm: ${a}`),Oe(a)})}function Nr(e,t,n,a){return!e&&typeof WebAssembly.instantiateStreaming=="function"&&!bt(t)&&typeof fetch=="function"?fetch(t,{credentials:"same-origin"}).then(s=>{var c=WebAssembly.instantiateStreaming(s,n);return c.then(a,function(l){return C(`wasm streaming compile failed: ${l}`),C("falling back to ArrayBuffer instantiation"),$t(t,n,a)})}):$t(t,n,a)}function Gr(){var e={a:Ia};function t(a,s){return q=a.exports,I=q.ia,vt(),Rt=q.ma,Wr(q.ja),Hr(),q}Br();function n(a){t(a.instance)}if(i.instantiateWasm)try{return i.instantiateWasm(e,t)}catch(a){C(`Module.instantiateWasm callback failed with error: ${a}`),d(a)}return Nr(U,de,e,n).catch(d),{}}var Ge=e=>{for(;e.length>0;)e.shift()(i)};i.noExitRuntime;var Me=[],Ae=0,zr=e=>{var t=new ze(e);return t.get_caught()||(t.set_caught(!0),Ae--),t.set_rethrown(!1),Me.push(t),Gt(t.excPtr),t.get_exception_ptr()},re=0,Yr=()=>{F(0,0);var e=Me.pop();Nt(e.excPtr),re=0};function ze(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(t){x[this.ptr+4>>2]=t},this.get_type=function(){return x[this.ptr+4>>2]},this.set_destructor=function(t){x[this.ptr+8>>2]=t},this.get_destructor=function(){return x[this.ptr+8>>2]},this.set_caught=function(t){t=t?1:0,A[this.ptr+12>>0]=t},this.get_caught=function(){return A[this.ptr+12>>0]!=0},this.set_rethrown=function(t){t=t?1:0,A[this.ptr+13>>0]=t},this.get_rethrown=function(){return A[this.ptr+13>>0]!=0},this.init=function(t,n){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(n)},this.set_adjusted_ptr=function(t){x[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return x[this.ptr+16>>2]},this.get_exception_ptr=function(){var t=Yt(this.get_type());if(t)return x[this.excPtr>>2];var n=this.get_adjusted_ptr();return n!==0?n:this.excPtr}}var Jr=e=>{throw re||(re=e),re},Ye=e=>{var t=re;if(!t)return Te(0),0;var n=new ze(t);n.set_adjusted_ptr(t);var a=n.get_type();if(!a)return Te(0),t;for(var s in e){var c=e[s];if(c===0||c===a)break;var l=n.ptr+16;if(zt(c,a,l))return Te(c),t}return Te(a),t},Qr=()=>Ye([]),Xr=e=>Ye([e]),Kr=(e,t)=>Ye([e,t]),Zr=()=>{var e=Me.pop();e||Oe("no exception to throw");var t=e.excPtr;throw e.get_rethrown()||(Me.push(e),e.set_rethrown(!0),e.set_caught(!1),Ae++),re=t,re},en=(e,t,n)=>{var a=new ze(e);throw a.init(t,n),re=e,Ae++,re},tn=()=>Ae,De={},Je=e=>{for(;e.length;){var t=e.pop(),n=e.pop();n(t)}};function Qe(e){return this.fromWireType(Y[e>>2])}var fe={},ce={},Re={},_t,xe=e=>{throw new _t(e)},le=(e,t,n)=>{e.forEach(function(f){Re[f]=t});function a(f){var h=n(f);h.length!==e.length&&xe("Mismatched type converter count");for(var y=0;y{ce.hasOwnProperty(f)?s[h]=ce[f]:(c.push(f),fe.hasOwnProperty(f)||(fe[f]=[]),fe[f].push(()=>{s[h]=ce[f],++l,l===c.length&&a(s)}))}),c.length===0&&a(s)},rn=e=>{var t=De[e];delete De[e];var n=t.rawConstructor,a=t.rawDestructor,s=t.fields,c=s.map(l=>l.getterReturnType).concat(s.map(l=>l.setterArgumentType));le([e],c,l=>{var f={};return s.forEach((h,y)=>{var b=h.fieldName,T=l[y],E=h.getter,O=h.getterContext,k=l[y+s.length],B=h.setter,R=h.setterContext;f[b]={read:z=>T.fromWireType(E(O,z)),write:(z,v)=>{var S=[];B(R,z,k.toWireType(S,v)),Je(S)}}}),[{name:t.name,fromWireType:h=>{var y={};for(var b in f)y[b]=f[b].read(h);return a(h),y},toWireType:(h,y)=>{for(var b in f)if(!(b in y))throw new TypeError(`Missing field: "${b}"`);var T=n();for(b in f)f[b].write(T,y[b]);return h!==null&&h.push(a,T),T},argPackAdvance:ee,readValueFromPointer:Qe,destructorFunction:a}]})},nn=(e,t,n,a,s)=>{},an=()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);St=e},St,G=e=>{for(var t="",n=e;D[n];)t+=St[D[n++]];return t},pe,M=e=>{throw new pe(e)};function on(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var a=t.name;if(e||M(`type "${a}" must have a positive integer typeid pointer`),ce.hasOwnProperty(e)){if(n.ignoreDuplicateRegistrations)return;M(`Cannot register type '${a}' twice`)}if(ce[e]=t,delete Re[e],fe.hasOwnProperty(e)){var s=fe[e];delete fe[e],s.forEach(c=>c())}}function Z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return on(e,t,n)}var ee=8,sn=(e,t,n,a)=>{t=G(t),Z(e,{name:t,fromWireType:function(s){return!!s},toWireType:function(s,c){return c?n:a},argPackAdvance:ee,readValueFromPointer:function(s){return this.fromWireType(D[s])},destructorFunction:null})},un=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),Xe=e=>{function t(n){return n.$$.ptrType.registeredClass.name}M(t(e)+" instance already deleted")},Ke=!1,Pt=e=>{},cn=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},Tt=e=>{e.count.value-=1;var t=e.count.value===0;t&&cn(e)},Et=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var a=Et(e,t,n.baseClass);return a===null?null:n.downcast(a)},Ot={},ln=()=>Object.keys($e).length,dn=()=>{var e=[];for(var t in $e)$e.hasOwnProperty(t)&&e.push($e[t]);return e},be=[],Ze=()=>{for(;be.length;){var e=be.pop();e.$$.deleteScheduled=!1,e.delete()}},Ce,fn=e=>{Ce=e,be.length&&Ce&&Ce(Ze)},pn=()=>{i.getInheritedInstanceCount=ln,i.getLiveInheritedInstances=dn,i.flushPendingDeletes=Ze,i.setDelayFunction=fn},$e={},hn=(e,t)=>{for(t===void 0&&M("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t},mn=(e,t)=>(t=hn(e,t),$e[t]),Ie=(e,t)=>{(!t.ptrType||!t.ptr)&&xe("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,a=!!t.smartPtr;return n!==a&&xe("Both smartPtrType and smartPtr must be specified"),t.count={value:1},_e(Object.create(e,{$$:{value:t,writable:!0}}))};function vn(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=mn(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var a=n.clone();return this.destructor(e),a}function s(){return this.isSmartPointer?Ie(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ie(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var c=this.registeredClass.getActualType(t),l=Ot[c];if(!l)return s.call(this);var f;this.isConst?f=l.constPointerType:f=l.pointerType;var h=Et(t,this.registeredClass,f.registeredClass);return h===null?s.call(this):this.isSmartPointer?Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h,smartPtrType:this,smartPtr:e}):Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h})}var _e=e=>typeof FinalizationRegistry>"u"?(_e=t=>t,e):(Ke=new FinalizationRegistry(t=>{Tt(t.$$)}),_e=t=>{var n=t.$$,a=!!n.smartPtr;if(a){var s={$$:n};Ke.register(t,s,t)}return t},Pt=t=>Ke.unregister(t),_e(e)),yn=()=>{Object.assign(Fe.prototype,{isAliasOf(e){if(!(this instanceof Fe)||!(e instanceof Fe))return!1;var t=this.$$.ptrType.registeredClass,n=this.$$.ptr;e.$$=e.$$;for(var a=e.$$.ptrType.registeredClass,s=e.$$.ptr;t.baseClass;)n=t.upcast(n),t=t.baseClass;for(;a.baseClass;)s=a.upcast(s),a=a.baseClass;return t===a&&n===s},clone(){if(this.$$.ptr||Xe(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=_e(Object.create(Object.getPrototypeOf(this),{$$:{value:un(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||Xe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),Pt(this),Tt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||Xe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),be.push(this),be.length===1&&Ce&&Ce(Ze),this.$$.deleteScheduled=!0,this}})};function Fe(){}var Se=(e,t)=>Object.defineProperty(t,"name",{value:e}),Mt=(e,t,n)=>{if(e[t].overloadTable===void 0){var a=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||M(`Function '${n}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[a.argCount]=a}},et=(e,t,n)=>{i.hasOwnProperty(e)?((n===void 0||i[e].overloadTable!==void 0&&i[e].overloadTable[n]!==void 0)&&M(`Cannot register public name '${e}' twice`),Mt(i,e,e),i.hasOwnProperty(n)&&M(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),i[e].overloadTable[n]=t):(i[e]=t,n!==void 0&&(i[e].numArguments=n))},gn=48,wn=57,bn=e=>{if(e===void 0)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=gn&&t<=wn?`_${e}`:e};function Cn(e,t,n,a,s,c,l,f){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=a,this.baseClass=s,this.getActualType=c,this.upcast=l,this.downcast=f,this.pureVirtualFunctions=[]}var tt=(e,t,n)=>{for(;t!==n;)t.upcast||M(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function $n(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=tt(t.$$.ptr,n,this.registeredClass);return a}function _n(e,t){var n;if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var a=t.$$.ptrType.registeredClass;if(n=tt(t.$$.ptr,a,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&M("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var s=t.clone();n=this.rawShare(n,ne.toHandle(()=>s.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:M("Unsupporting sharing policy")}return n}function Sn(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=tt(t.$$.ptr,n,this.registeredClass);return a}function At(e){return this.fromWireType(x[e>>2])}var Pn=()=>{Object.assign(ke.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)===null||t===void 0||t.call(this,e)},argPackAdvance:ee,readValueFromPointer:At,deleteObject(e){e!==null&&e.delete()},fromWireType:vn})};function ke(e,t,n,a,s,c,l,f,h,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=a,this.isSmartPointer=s,this.pointeeType=c,this.sharingPolicy=l,this.rawGetPointee=f,this.rawConstructor=h,this.rawShare=y,this.rawDestructor=b,!s&&t.baseClass===void 0?a?(this.toWireType=$n,this.destructorFunction=null):(this.toWireType=Sn,this.destructorFunction=null):this.toWireType=_n}var Dt=(e,t,n)=>{i.hasOwnProperty(e)||xe("Replacing nonexistant public symbol"),i[e].overloadTable!==void 0&&n!==void 0?i[e].overloadTable[n]=t:(i[e]=t,i[e].argCount=n)},Tn=(e,t,n)=>{var a=i["dynCall_"+e];return n&&n.length?a.apply(null,[t].concat(n)):a.call(null,t)},Ue=[],Rt,j=e=>{var t=Ue[e];return t||(e>=Ue.length&&(Ue.length=e+1),Ue[e]=t=Rt.get(e)),t},En=(e,t,n)=>{if(e.includes("j"))return Tn(e,t,n);var a=j(t).apply(null,n);return a},On=(e,t)=>{var n=[];return function(){return n.length=0,Object.assign(n,arguments),En(e,t,n)}},K=(e,t)=>{e=G(e);function n(){return e.includes("j")?On(e,t):j(t)}var a=n();return typeof a!="function"&&M(`unknown function pointer with signature ${e}: ${t}`),a},Mn=(e,t)=>{var n=Se(t,function(a){this.name=t,this.message=a;var s=new Error(a).stack;s!==void 0&&(this.stack=this.toString()+` +import{d as ri,h as ni,j as ai,a9 as ii,o as oi,b as si,J as ui}from"./framework.CI0_Jyb9.js";const _o=ri({__name:"DemoWrapper",props:{component:Object},setup(r){const o=r,i=ni();return ai(()=>{o.component&&(i.value=ii(o.component))}),(u,d)=>(oi(),si(ui(i.value)))}});var cr=(r,o,i)=>{if(!o.has(r))throw TypeError("Cannot "+i)},Zt=(r,o,i)=>(cr(r,o,"read from private field"),i?i.call(r):o.get(r)),ci=(r,o,i)=>{if(o.has(r))throw TypeError("Cannot add the same private member more than once");o instanceof WeakSet?o.add(r):o.set(r,i)},li=(r,o,i,u)=>(cr(r,o,"write to private field"),o.set(r,i),i);const lr=[["aztec","Aztec"],["code_128","Code128"],["code_39","Code39"],["code_93","Code93"],["codabar","Codabar"],["databar","DataBar"],["databar_expanded","DataBarExpanded"],["data_matrix","DataMatrix"],["dx_film_edge","DXFilmEdge"],["ean_13","EAN-13"],["ean_8","EAN-8"],["itf","ITF"],["maxi_code","MaxiCode"],["micro_qr_code","MicroQRCode"],["pdf417","PDF417"],["qr_code","QRCode"],["rm_qr_code","rMQRCode"],["upc_a","UPC-A"],["upc_e","UPC-E"],["linear_codes","Linear-Codes"],["matrix_codes","Matrix-Codes"]],di=[...lr,["unknown"]].map(r=>r[0]),He=new Map(lr);function fi(r){for(const[o,i]of He)if(r===i)return o;return"unknown"}function pi(r){if(dr(r))return{width:r.naturalWidth,height:r.naturalHeight};if(fr(r))return{width:r.width.baseVal.value,height:r.height.baseVal.value};if(pr(r))return{width:r.videoWidth,height:r.videoHeight};if(mr(r))return{width:r.width,height:r.height};if(yr(r))return{width:r.displayWidth,height:r.displayHeight};if(hr(r))return{width:r.width,height:r.height};if(vr(r))return{width:r.width,height:r.height};throw new TypeError("The provided value is not of type '(Blob or HTMLCanvasElement or HTMLImageElement or HTMLVideoElement or ImageBitmap or ImageData or OffscreenCanvas or SVGImageElement or VideoFrame)'.")}function dr(r){try{return r instanceof HTMLImageElement}catch{return!1}}function fr(r){try{return r instanceof SVGImageElement}catch{return!1}}function pr(r){try{return r instanceof HTMLVideoElement}catch{return!1}}function hr(r){try{return r instanceof HTMLCanvasElement}catch{return!1}}function mr(r){try{return r instanceof ImageBitmap}catch{return!1}}function vr(r){try{return r instanceof OffscreenCanvas}catch{return!1}}function yr(r){try{return r instanceof VideoFrame}catch{return!1}}function gr(r){try{return r instanceof Blob}catch{return!1}}function hi(r){try{return r instanceof ImageData}catch{return!1}}function mi(r,o){try{const i=new OffscreenCanvas(r,o);if(i.getContext("2d")instanceof OffscreenCanvasRenderingContext2D)return i;throw void 0}catch{const i=document.createElement("canvas");return i.width=r,i.height=o,i}}async function wr(r){if(dr(r)&&!await wi(r))throw new DOMException("Failed to load or decode HTMLImageElement.","InvalidStateError");if(fr(r)&&!await bi(r))throw new DOMException("Failed to load or decode SVGImageElement.","InvalidStateError");if(yr(r)&&Ci(r))throw new DOMException("VideoFrame is closed.","InvalidStateError");if(pr(r)&&(r.readyState===0||r.readyState===1))throw new DOMException("Invalid element or state.","InvalidStateError");if(mr(r)&&_i(r))throw new DOMException("The image source is detached.","InvalidStateError");const{width:o,height:i}=pi(r);if(o===0||i===0)return null;const u=mi(o,i).getContext("2d");u.drawImage(r,0,0);try{return u.getImageData(0,0,o,i)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function vi(r){let o;try{if(globalThis.createImageBitmap)o=await createImageBitmap(r);else if(globalThis.Image){o=new Image;let i="";try{i=URL.createObjectURL(r),o.src=i,await o.decode()}finally{URL.revokeObjectURL(i)}}else return r}catch{throw new DOMException("Failed to load or decode Blob.","InvalidStateError")}return await wr(o)}function yi(r){const{width:o,height:i}=r;if(o===0||i===0)return null;const u=r.getContext("2d");try{return u.getImageData(0,0,o,i)}catch{throw new DOMException("Source would taint origin.","SecurityError")}}async function gi(r){if(gr(r))return await vi(r);if(hi(r)){if($i(r))throw new DOMException("The image data has been detached.","InvalidStateError");return r}return hr(r)||vr(r)?yi(r):await wr(r)}async function wi(r){try{return await r.decode(),!0}catch{return!1}}async function bi(r){var o;try{return await((o=r.decode)==null?void 0:o.call(r)),!0}catch{return!1}}function Ci(r){return r.format===null}function $i(r){return r.data.buffer.byteLength===0}function _i(r){return r.width===0&&r.height===0}function er(r,o){return r instanceof DOMException?new DOMException(`${o}: ${r.message}`,r.name):r instanceof Error?new r.constructor(`${o}: ${r.message}`):new Error(`${o}: ${r}`)}const tr=["Aztec","Codabar","Code128","Code39","Code93","DataBar","DataBarExpanded","DataMatrix","DXFilmEdge","EAN-13","EAN-8","ITF","Linear-Codes","Matrix-Codes","MaxiCode","MicroQRCode","None","PDF417","QRCode","rMQRCode","UPC-A","UPC-E"];function Si(r){return r.join("|")}function Pi(r){const o=rr(r);let i=0,u=tr.length-1;for(;i<=u;){const d=Math.floor((i+u)/2),p=tr[d],g=rr(p);if(g===o)return p;g{const i=r.match(/_(.+?)\.wasm$/);return i?`https://fastly.jsdelivr.net/npm/zxing-wasm@1.1.3/dist/${i[1]}/${r}`:o+r}};let nr=new WeakMap;function dt(r,o){var i;const u=nr.get(r);if(u!=null&&u.modulePromise&&o===void 0)return u.modulePromise;const d=(i=u==null?void 0:u.moduleOverrides)!=null?i:Ri,p=r({...d});return nr.set(r,{moduleOverrides:d,modulePromise:p}),p}async function xi(r,o,i=ye){const u={...ye,...i},d=await dt(r),{size:p}=o,g=new Uint8Array(await o.arrayBuffer()),w=d._malloc(p);d.HEAPU8.set(g,w);const _=d.readBarcodesFromImage(w,p,br(d,u));d._free(w);const m=[];for(let $=0;$<_.size();++$)m.push(Cr(_.get($)));return m}async function Ii(r,o,i=ye){const u={...ye,...i},d=await dt(r),{data:p,width:g,height:w,data:{byteLength:_}}=o,m=d._malloc(_);d.HEAPU8.set(p,m);const $=d.readBarcodesFromPixmap(m,g,w,br(d,u));d._free(m);const P=[];for(let C=0;C<$.size();++C)P.push(Cr($.get(C)));return P}({...ye,formats:[...ye.formats]});var ft=(()=>{var r=typeof document<"u"&&document.currentScript?document.currentScript.src:void 0;return function(o={}){var i=o,u,d;i.ready=new Promise((e,t)=>{u=e,d=t});var p=Object.assign({},i),g="./this.program",w=typeof window=="object",_=typeof importScripts=="function";typeof process=="object"&&typeof process.versions=="object"&&process.versions.node;var m="";function $(e){return i.locateFile?i.locateFile(e,m):m+e}var P;(w||_)&&(_?m=self.location.href:typeof document<"u"&&document.currentScript&&(m=document.currentScript.src),r&&(m=r),m.indexOf("blob:")!==0?m=m.substr(0,m.replace(/[?#].*/,"").lastIndexOf("/")+1):m="",_&&(P=e=>{var t=new XMLHttpRequest;return t.open("GET",e,!1),t.responseType="arraybuffer",t.send(null),new Uint8Array(t.response)})),i.print||console.log.bind(console);var C=i.printErr||console.error.bind(console);Object.assign(i,p),p=null,i.arguments&&i.arguments,i.thisProgram&&(g=i.thisProgram),i.quit&&i.quit;var U;i.wasmBinary&&(U=i.wasmBinary),typeof WebAssembly!="object"&&Oe("no native wasm support detected");var I,V=!1,A,D,X,ge,Y,x,ht,mt;function vt(){var e=I.buffer;i.HEAP8=A=new Int8Array(e),i.HEAP16=X=new Int16Array(e),i.HEAPU8=D=new Uint8Array(e),i.HEAPU16=ge=new Uint16Array(e),i.HEAP32=Y=new Int32Array(e),i.HEAPU32=x=new Uint32Array(e),i.HEAPF32=ht=new Float32Array(e),i.HEAPF64=mt=new Float64Array(e)}var yt=[],gt=[],wt=[];function Fr(){if(i.preRun)for(typeof i.preRun=="function"&&(i.preRun=[i.preRun]);i.preRun.length;)jr(i.preRun.shift());Ge(yt)}function kr(){Ge(gt)}function Ur(){if(i.postRun)for(typeof i.postRun=="function"&&(i.postRun=[i.postRun]);i.postRun.length;)Lr(i.postRun.shift());Ge(wt)}function jr(e){yt.unshift(e)}function Wr(e){gt.unshift(e)}function Lr(e){wt.unshift(e)}var ue=0,we=null;function Br(e){var t;ue++,(t=i.monitorRunDependencies)===null||t===void 0||t.call(i,ue)}function Hr(e){var t;if(ue--,(t=i.monitorRunDependencies)===null||t===void 0||t.call(i,ue),ue==0&&we){var n=we;we=null,n()}}function Oe(e){var t;(t=i.onAbort)===null||t===void 0||t.call(i,e),e="Aborted("+e+")",C(e),V=!0,e+=". Build with -sASSERTIONS for more info.";var n=new WebAssembly.RuntimeError(e);throw d(n),n}var Vr="data:application/octet-stream;base64,",bt=e=>e.startsWith(Vr),de;de="zxing_reader.wasm",bt(de)||(de=$(de));function Ct(e){if(e==de&&U)return new Uint8Array(U);if(P)return P(e);throw"both async and sync fetching of the wasm failed"}function qr(e){return!U&&(w||_)&&typeof fetch=="function"?fetch(e,{credentials:"same-origin"}).then(t=>{if(!t.ok)throw"failed to load wasm binary file at '"+e+"'";return t.arrayBuffer()}).catch(()=>Ct(e)):Promise.resolve().then(()=>Ct(e))}function $t(e,t,n){return qr(e).then(a=>WebAssembly.instantiate(a,t)).then(a=>a).then(n,a=>{C(`failed to asynchronously prepare wasm: ${a}`),Oe(a)})}function Nr(e,t,n,a){return!e&&typeof WebAssembly.instantiateStreaming=="function"&&!bt(t)&&typeof fetch=="function"?fetch(t,{credentials:"same-origin"}).then(s=>{var c=WebAssembly.instantiateStreaming(s,n);return c.then(a,function(l){return C(`wasm streaming compile failed: ${l}`),C("falling back to ArrayBuffer instantiation"),$t(t,n,a)})}):$t(t,n,a)}function Gr(){var e={a:Ia};function t(a,s){return q=a.exports,I=q.ia,vt(),Rt=q.ma,Wr(q.ja),Hr(),q}Br();function n(a){t(a.instance)}if(i.instantiateWasm)try{return i.instantiateWasm(e,t)}catch(a){C(`Module.instantiateWasm callback failed with error: ${a}`),d(a)}return Nr(U,de,e,n).catch(d),{}}var Ge=e=>{for(;e.length>0;)e.shift()(i)};i.noExitRuntime;var Me=[],Ae=0,zr=e=>{var t=new ze(e);return t.get_caught()||(t.set_caught(!0),Ae--),t.set_rethrown(!1),Me.push(t),Gt(t.excPtr),t.get_exception_ptr()},re=0,Yr=()=>{F(0,0);var e=Me.pop();Nt(e.excPtr),re=0};function ze(e){this.excPtr=e,this.ptr=e-24,this.set_type=function(t){x[this.ptr+4>>2]=t},this.get_type=function(){return x[this.ptr+4>>2]},this.set_destructor=function(t){x[this.ptr+8>>2]=t},this.get_destructor=function(){return x[this.ptr+8>>2]},this.set_caught=function(t){t=t?1:0,A[this.ptr+12>>0]=t},this.get_caught=function(){return A[this.ptr+12>>0]!=0},this.set_rethrown=function(t){t=t?1:0,A[this.ptr+13>>0]=t},this.get_rethrown=function(){return A[this.ptr+13>>0]!=0},this.init=function(t,n){this.set_adjusted_ptr(0),this.set_type(t),this.set_destructor(n)},this.set_adjusted_ptr=function(t){x[this.ptr+16>>2]=t},this.get_adjusted_ptr=function(){return x[this.ptr+16>>2]},this.get_exception_ptr=function(){var t=Yt(this.get_type());if(t)return x[this.excPtr>>2];var n=this.get_adjusted_ptr();return n!==0?n:this.excPtr}}var Jr=e=>{throw re||(re=e),re},Ye=e=>{var t=re;if(!t)return Te(0),0;var n=new ze(t);n.set_adjusted_ptr(t);var a=n.get_type();if(!a)return Te(0),t;for(var s in e){var c=e[s];if(c===0||c===a)break;var l=n.ptr+16;if(zt(c,a,l))return Te(c),t}return Te(a),t},Qr=()=>Ye([]),Xr=e=>Ye([e]),Kr=(e,t)=>Ye([e,t]),Zr=()=>{var e=Me.pop();e||Oe("no exception to throw");var t=e.excPtr;throw e.get_rethrown()||(Me.push(e),e.set_rethrown(!0),e.set_caught(!1),Ae++),re=t,re},en=(e,t,n)=>{var a=new ze(e);throw a.init(t,n),re=e,Ae++,re},tn=()=>Ae,De={},Je=e=>{for(;e.length;){var t=e.pop(),n=e.pop();n(t)}};function Qe(e){return this.fromWireType(Y[e>>2])}var fe={},ce={},Re={},_t,xe=e=>{throw new _t(e)},le=(e,t,n)=>{e.forEach(function(f){Re[f]=t});function a(f){var h=n(f);h.length!==e.length&&xe("Mismatched type converter count");for(var y=0;y{ce.hasOwnProperty(f)?s[h]=ce[f]:(c.push(f),fe.hasOwnProperty(f)||(fe[f]=[]),fe[f].push(()=>{s[h]=ce[f],++l,l===c.length&&a(s)}))}),c.length===0&&a(s)},rn=e=>{var t=De[e];delete De[e];var n=t.rawConstructor,a=t.rawDestructor,s=t.fields,c=s.map(l=>l.getterReturnType).concat(s.map(l=>l.setterArgumentType));le([e],c,l=>{var f={};return s.forEach((h,y)=>{var b=h.fieldName,T=l[y],E=h.getter,O=h.getterContext,k=l[y+s.length],B=h.setter,R=h.setterContext;f[b]={read:z=>T.fromWireType(E(O,z)),write:(z,v)=>{var S=[];B(R,z,k.toWireType(S,v)),Je(S)}}}),[{name:t.name,fromWireType:h=>{var y={};for(var b in f)y[b]=f[b].read(h);return a(h),y},toWireType:(h,y)=>{for(var b in f)if(!(b in y))throw new TypeError(`Missing field: "${b}"`);var T=n();for(b in f)f[b].write(T,y[b]);return h!==null&&h.push(a,T),T},argPackAdvance:ee,readValueFromPointer:Qe,destructorFunction:a}]})},nn=(e,t,n,a,s)=>{},an=()=>{for(var e=new Array(256),t=0;t<256;++t)e[t]=String.fromCharCode(t);St=e},St,G=e=>{for(var t="",n=e;D[n];)t+=St[D[n++]];return t},pe,M=e=>{throw new pe(e)};function on(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var a=t.name;if(e||M(`type "${a}" must have a positive integer typeid pointer`),ce.hasOwnProperty(e)){if(n.ignoreDuplicateRegistrations)return;M(`Cannot register type '${a}' twice`)}if(ce[e]=t,delete Re[e],fe.hasOwnProperty(e)){var s=fe[e];delete fe[e],s.forEach(c=>c())}}function Z(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};if(!("argPackAdvance"in t))throw new TypeError("registerType registeredInstance requires argPackAdvance");return on(e,t,n)}var ee=8,sn=(e,t,n,a)=>{t=G(t),Z(e,{name:t,fromWireType:function(s){return!!s},toWireType:function(s,c){return c?n:a},argPackAdvance:ee,readValueFromPointer:function(s){return this.fromWireType(D[s])},destructorFunction:null})},un=e=>({count:e.count,deleteScheduled:e.deleteScheduled,preservePointerOnDelete:e.preservePointerOnDelete,ptr:e.ptr,ptrType:e.ptrType,smartPtr:e.smartPtr,smartPtrType:e.smartPtrType}),Xe=e=>{function t(n){return n.$$.ptrType.registeredClass.name}M(t(e)+" instance already deleted")},Ke=!1,Pt=e=>{},cn=e=>{e.smartPtr?e.smartPtrType.rawDestructor(e.smartPtr):e.ptrType.registeredClass.rawDestructor(e.ptr)},Tt=e=>{e.count.value-=1;var t=e.count.value===0;t&&cn(e)},Et=(e,t,n)=>{if(t===n)return e;if(n.baseClass===void 0)return null;var a=Et(e,t,n.baseClass);return a===null?null:n.downcast(a)},Ot={},ln=()=>Object.keys($e).length,dn=()=>{var e=[];for(var t in $e)$e.hasOwnProperty(t)&&e.push($e[t]);return e},be=[],Ze=()=>{for(;be.length;){var e=be.pop();e.$$.deleteScheduled=!1,e.delete()}},Ce,fn=e=>{Ce=e,be.length&&Ce&&Ce(Ze)},pn=()=>{i.getInheritedInstanceCount=ln,i.getLiveInheritedInstances=dn,i.flushPendingDeletes=Ze,i.setDelayFunction=fn},$e={},hn=(e,t)=>{for(t===void 0&&M("ptr should not be undefined");e.baseClass;)t=e.upcast(t),e=e.baseClass;return t},mn=(e,t)=>(t=hn(e,t),$e[t]),Ie=(e,t)=>{(!t.ptrType||!t.ptr)&&xe("makeClassHandle requires ptr and ptrType");var n=!!t.smartPtrType,a=!!t.smartPtr;return n!==a&&xe("Both smartPtrType and smartPtr must be specified"),t.count={value:1},_e(Object.create(e,{$$:{value:t,writable:!0}}))};function vn(e){var t=this.getPointee(e);if(!t)return this.destructor(e),null;var n=mn(this.registeredClass,t);if(n!==void 0){if(n.$$.count.value===0)return n.$$.ptr=t,n.$$.smartPtr=e,n.clone();var a=n.clone();return this.destructor(e),a}function s(){return this.isSmartPointer?Ie(this.registeredClass.instancePrototype,{ptrType:this.pointeeType,ptr:t,smartPtrType:this,smartPtr:e}):Ie(this.registeredClass.instancePrototype,{ptrType:this,ptr:e})}var c=this.registeredClass.getActualType(t),l=Ot[c];if(!l)return s.call(this);var f;this.isConst?f=l.constPointerType:f=l.pointerType;var h=Et(t,this.registeredClass,f.registeredClass);return h===null?s.call(this):this.isSmartPointer?Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h,smartPtrType:this,smartPtr:e}):Ie(f.registeredClass.instancePrototype,{ptrType:f,ptr:h})}var _e=e=>typeof FinalizationRegistry>"u"?(_e=t=>t,e):(Ke=new FinalizationRegistry(t=>{Tt(t.$$)}),_e=t=>{var n=t.$$,a=!!n.smartPtr;if(a){var s={$$:n};Ke.register(t,s,t)}return t},Pt=t=>Ke.unregister(t),_e(e)),yn=()=>{Object.assign(Fe.prototype,{isAliasOf(e){if(!(this instanceof Fe)||!(e instanceof Fe))return!1;var t=this.$$.ptrType.registeredClass,n=this.$$.ptr;e.$$=e.$$;for(var a=e.$$.ptrType.registeredClass,s=e.$$.ptr;t.baseClass;)n=t.upcast(n),t=t.baseClass;for(;a.baseClass;)s=a.upcast(s),a=a.baseClass;return t===a&&n===s},clone(){if(this.$$.ptr||Xe(this),this.$$.preservePointerOnDelete)return this.$$.count.value+=1,this;var e=_e(Object.create(Object.getPrototypeOf(this),{$$:{value:un(this.$$)}}));return e.$$.count.value+=1,e.$$.deleteScheduled=!1,e},delete(){this.$$.ptr||Xe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),Pt(this),Tt(this.$$),this.$$.preservePointerOnDelete||(this.$$.smartPtr=void 0,this.$$.ptr=void 0)},isDeleted(){return!this.$$.ptr},deleteLater(){return this.$$.ptr||Xe(this),this.$$.deleteScheduled&&!this.$$.preservePointerOnDelete&&M("Object already scheduled for deletion"),be.push(this),be.length===1&&Ce&&Ce(Ze),this.$$.deleteScheduled=!0,this}})};function Fe(){}var Se=(e,t)=>Object.defineProperty(t,"name",{value:e}),Mt=(e,t,n)=>{if(e[t].overloadTable===void 0){var a=e[t];e[t]=function(){return e[t].overloadTable.hasOwnProperty(arguments.length)||M(`Function '${n}' called with an invalid number of arguments (${arguments.length}) - expects one of (${e[t].overloadTable})!`),e[t].overloadTable[arguments.length].apply(this,arguments)},e[t].overloadTable=[],e[t].overloadTable[a.argCount]=a}},et=(e,t,n)=>{i.hasOwnProperty(e)?((n===void 0||i[e].overloadTable!==void 0&&i[e].overloadTable[n]!==void 0)&&M(`Cannot register public name '${e}' twice`),Mt(i,e,e),i.hasOwnProperty(n)&&M(`Cannot register multiple overloads of a function with the same number of arguments (${n})!`),i[e].overloadTable[n]=t):(i[e]=t,n!==void 0&&(i[e].numArguments=n))},gn=48,wn=57,bn=e=>{if(e===void 0)return"_unknown";e=e.replace(/[^a-zA-Z0-9_]/g,"$");var t=e.charCodeAt(0);return t>=gn&&t<=wn?`_${e}`:e};function Cn(e,t,n,a,s,c,l,f){this.name=e,this.constructor=t,this.instancePrototype=n,this.rawDestructor=a,this.baseClass=s,this.getActualType=c,this.upcast=l,this.downcast=f,this.pureVirtualFunctions=[]}var tt=(e,t,n)=>{for(;t!==n;)t.upcast||M(`Expected null or instance of ${n.name}, got an instance of ${t.name}`),e=t.upcast(e),t=t.baseClass;return e};function $n(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=tt(t.$$.ptr,n,this.registeredClass);return a}function _n(e,t){var n;if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),this.isSmartPointer?(n=this.rawConstructor(),e!==null&&e.push(this.rawDestructor,n),n):0;(!t||!t.$$)&&M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),!this.isConst&&t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);var a=t.$$.ptrType.registeredClass;if(n=tt(t.$$.ptr,a,this.registeredClass),this.isSmartPointer)switch(t.$$.smartPtr===void 0&&M("Passing raw pointer to smart pointer is illegal"),this.sharingPolicy){case 0:t.$$.smartPtrType===this?n=t.$$.smartPtr:M(`Cannot convert argument of type ${t.$$.smartPtrType?t.$$.smartPtrType.name:t.$$.ptrType.name} to parameter type ${this.name}`);break;case 1:n=t.$$.smartPtr;break;case 2:if(t.$$.smartPtrType===this)n=t.$$.smartPtr;else{var s=t.clone();n=this.rawShare(n,ne.toHandle(()=>s.delete())),e!==null&&e.push(this.rawDestructor,n)}break;default:M("Unsupporting sharing policy")}return n}function Sn(e,t){if(t===null)return this.isReference&&M(`null is not a valid ${this.name}`),0;t.$$||M(`Cannot pass "${ot(t)}" as a ${this.name}`),t.$$.ptr||M(`Cannot pass deleted object as a pointer of type ${this.name}`),t.$$.ptrType.isConst&&M(`Cannot convert argument of type ${t.$$.ptrType.name} to parameter type ${this.name}`);var n=t.$$.ptrType.registeredClass,a=tt(t.$$.ptr,n,this.registeredClass);return a}function At(e){return this.fromWireType(x[e>>2])}var Pn=()=>{Object.assign(ke.prototype,{getPointee(e){return this.rawGetPointee&&(e=this.rawGetPointee(e)),e},destructor(e){var t;(t=this.rawDestructor)===null||t===void 0||t.call(this,e)},argPackAdvance:ee,readValueFromPointer:At,deleteObject(e){e!==null&&e.delete()},fromWireType:vn})};function ke(e,t,n,a,s,c,l,f,h,y,b){this.name=e,this.registeredClass=t,this.isReference=n,this.isConst=a,this.isSmartPointer=s,this.pointeeType=c,this.sharingPolicy=l,this.rawGetPointee=f,this.rawConstructor=h,this.rawShare=y,this.rawDestructor=b,!s&&t.baseClass===void 0?a?(this.toWireType=$n,this.destructorFunction=null):(this.toWireType=Sn,this.destructorFunction=null):this.toWireType=_n}var Dt=(e,t,n)=>{i.hasOwnProperty(e)||xe("Replacing nonexistant public symbol"),i[e].overloadTable!==void 0&&n!==void 0?i[e].overloadTable[n]=t:(i[e]=t,i[e].argCount=n)},Tn=(e,t,n)=>{var a=i["dynCall_"+e];return n&&n.length?a.apply(null,[t].concat(n)):a.call(null,t)},Ue=[],Rt,j=e=>{var t=Ue[e];return t||(e>=Ue.length&&(Ue.length=e+1),Ue[e]=t=Rt.get(e)),t},En=(e,t,n)=>{if(e.includes("j"))return Tn(e,t,n);var a=j(t).apply(null,n);return a},On=(e,t)=>{var n=[];return function(){return n.length=0,Object.assign(n,arguments),En(e,t,n)}},K=(e,t)=>{e=G(e);function n(){return e.includes("j")?On(e,t):j(t)}var a=n();return typeof a!="function"&&M(`unknown function pointer with signature ${e}: ${t}`),a},Mn=(e,t)=>{var n=Se(t,function(a){this.name=t,this.message=a;var s=new Error(a).stack;s!==void 0&&(this.stack=this.toString()+` `+s.replace(/^Error(:[^\n]*)?\n/,""))});return n.prototype=Object.create(e.prototype),n.prototype.constructor=n,n.prototype.toString=function(){return this.message===void 0?this.name:`${this.name}: ${this.message}`},n},xt,It=e=>{var t=qt(e),n=G(t);return ae(t),n},je=(e,t)=>{var n=[],a={};function s(c){if(!a[c]&&!ce[c]){if(Re[c]){Re[c].forEach(s);return}n.push(c),a[c]=!0}}throw t.forEach(s),new xt(`${e}: `+n.map(It).join([", "]))},An=(e,t,n,a,s,c,l,f,h,y,b,T,E)=>{b=G(b),c=K(s,c),f&&(f=K(l,f)),y&&(y=K(h,y)),E=K(T,E);var O=bn(b);et(O,function(){je(`Cannot construct ${b} due to unbound types`,[a])}),le([e,t,n],a?[a]:[],function(k){k=k[0];var B,R;a?(B=k.registeredClass,R=B.instancePrototype):R=Fe.prototype;var z=Se(b,function(){if(Object.getPrototypeOf(this)!==v)throw new pe("Use 'new' to construct "+b);if(S.constructor_body===void 0)throw new pe(b+" has no accessible constructor");var Kt=S.constructor_body[arguments.length];if(Kt===void 0)throw new pe(`Tried to invoke ctor of ${b} with invalid number of parameters (${arguments.length}) - expected (${Object.keys(S.constructor_body).toString()}) parameters instead!`);return Kt.apply(this,arguments)}),v=Object.create(R,{constructor:{value:z}});z.prototype=v;var S=new Cn(b,z,v,E,B,c,f,y);if(S.baseClass){var H,N;(N=(H=S.baseClass).__derivedClasses)!==null&&N!==void 0||(H.__derivedClasses=[]),S.baseClass.__derivedClasses.push(S)}var he=new ke(b,S,!0,!1,!1),Be=new ke(b+"*",S,!1,!1,!1),Xt=new ke(b+" const*",S,!1,!0,!1);return Ot[e]={pointerType:Be,constPointerType:Xt},Dt(O,z),[he,Be,Xt]})},rt=(e,t)=>{for(var n=[],a=0;a>2]);return n};function Dn(e){for(var t=1;t{var l=rt(t,n);s=K(a,s),le([],[e],function(f){f=f[0];var h=`constructor ${f.name}`;if(f.registeredClass.constructor_body===void 0&&(f.registeredClass.constructor_body=[]),f.registeredClass.constructor_body[t-1]!==void 0)throw new pe(`Cannot register multiple constructors with identical number of parameters (${t-1}) for class '${f.name}'! Overload resolution is currently only performed using the parameter count, not actual type info!`);return f.registeredClass.constructor_body[t-1]=()=>{je(`Cannot construct ${f.name} due to unbound types`,l)},le([],l,y=>(y.splice(1,0,null),f.registeredClass.constructor_body[t-1]=nt(h,y,null,s,c),[])),[]})},Ft=e=>{e=e.trim();const t=e.indexOf("(");return t!==-1?e.substr(0,t):e},xn=(e,t,n,a,s,c,l,f,h)=>{var y=rt(n,a);t=G(t),t=Ft(t),c=K(s,c),le([],[e],function(b){b=b[0];var T=`${b.name}.${t}`;t.startsWith("@@")&&(t=Symbol[t.substring(2)]),f&&b.registeredClass.pureVirtualFunctions.push(t);function E(){je(`Cannot call ${T} due to unbound types`,y)}var O=b.registeredClass.instancePrototype,k=O[t];return k===void 0||k.overloadTable===void 0&&k.className!==b.name&&k.argCount===n-2?(E.argCount=n-2,E.className=b.name,O[t]=E):(Mt(O,t,T),O[t].overloadTable[n-2]=E),le([],y,function(B){var R=nt(T,B,b,c,l);return O[t].overloadTable===void 0?(R.argCount=n-2,O[t]=R):O[t].overloadTable[n-2]=R,[]}),[]})};function In(){Object.assign(kt.prototype,{get(e){return this.allocated[e]},has(e){return this.allocated[e]!==void 0},allocate(e){var t=this.freelist.pop()||this.allocated.length;return this.allocated[t]=e,t},free(e){this.allocated[e]=void 0,this.freelist.push(e)}})}function kt(){this.allocated=[void 0],this.freelist=[]}var Q=new kt,at=e=>{e>=Q.reserved&&--Q.get(e).refcount===0&&Q.free(e)},Fn=()=>{for(var e=0,t=Q.reserved;t{Q.allocated.push({value:void 0},{value:null},{value:!0},{value:!1}),Q.reserved=Q.allocated.length,i.count_emval_handles=Fn},ne={toValue:e=>(e||M("Cannot use deleted val. handle = "+e),Q.get(e).value),toHandle:e=>{switch(e){case void 0:return 1;case null:return 2;case!0:return 3;case!1:return 4;default:return Q.allocate({refcount:1,value:e})}}},Un=(e,t)=>{t=G(t),Z(e,{name:t,fromWireType:n=>{var a=ne.toValue(n);return at(n),a},toWireType:(n,a)=>ne.toHandle(a),argPackAdvance:ee,readValueFromPointer:Qe,destructorFunction:null})},jn=(e,t,n)=>{switch(t){case 1:return n?function(a){return this.fromWireType(A[a>>0])}:function(a){return this.fromWireType(D[a>>0])};case 2:return n?function(a){return this.fromWireType(X[a>>1])}:function(a){return this.fromWireType(ge[a>>1])};case 4:return n?function(a){return this.fromWireType(Y[a>>2])}:function(a){return this.fromWireType(x[a>>2])};default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Wn=(e,t,n,a)=>{t=G(t);function s(){}s.values={},Z(e,{name:t,constructor:s,fromWireType:function(c){return this.constructor.values[c]},toWireType:(c,l)=>l.value,argPackAdvance:ee,readValueFromPointer:jn(t,n,a),destructorFunction:null}),et(t,s)},it=(e,t)=>{var n=ce[e];return n===void 0&&M(t+" has unknown type "+It(e)),n},Ln=(e,t,n)=>{var a=it(e,"enum");t=G(t);var s=a.constructor,c=Object.create(a.constructor.prototype,{value:{value:n},constructor:{value:Se(`${a.name}_${t}`,function(){})}});s.values[n]=c,s[t]=c},ot=e=>{if(e===null)return"null";var t=typeof e;return t==="object"||t==="array"||t==="function"?e.toString():""+e},Bn=(e,t)=>{switch(t){case 4:return function(n){return this.fromWireType(ht[n>>2])};case 8:return function(n){return this.fromWireType(mt[n>>3])};default:throw new TypeError(`invalid float width (${t}): ${e}`)}},Hn=(e,t,n)=>{t=G(t),Z(e,{name:t,fromWireType:a=>a,toWireType:(a,s)=>s,argPackAdvance:ee,readValueFromPointer:Bn(t,n),destructorFunction:null})},Vn=(e,t,n,a,s,c,l)=>{var f=rt(t,n);e=G(e),e=Ft(e),s=K(a,s),et(e,function(){je(`Cannot call ${e} due to unbound types`,f)},t-1),le([],f,function(h){var y=[h[0],null].concat(h.slice(1));return Dt(e,nt(e,y,null,s,c),t-1),[]})},qn=(e,t,n)=>{switch(t){case 1:return n?a=>A[a>>0]:a=>D[a>>0];case 2:return n?a=>X[a>>1]:a=>ge[a>>1];case 4:return n?a=>Y[a>>2]:a=>x[a>>2];default:throw new TypeError(`invalid integer width (${t}): ${e}`)}},Nn=(e,t,n,a,s)=>{t=G(t);var c=b=>b;if(a===0){var l=32-8*n;c=b=>b<>>l}var f=t.includes("unsigned"),h=(b,T)=>{},y;f?y=function(b,T){return h(T,this.name),T>>>0}:y=function(b,T){return h(T,this.name),T},Z(e,{name:t,fromWireType:c,toWireType:y,argPackAdvance:ee,readValueFromPointer:qn(t,n,a!==0),destructorFunction:null})},Gn=(e,t,n)=>{var a=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],s=a[t];function c(l){var f=x[l>>2],h=x[l+4>>2];return new s(A.buffer,h,f)}n=G(n),Z(e,{name:n,fromWireType:c,argPackAdvance:ee,readValueFromPointer:c},{ignoreDuplicateRegistrations:!0})},Ut=(e,t,n,a)=>{if(!(a>0))return 0;for(var s=n,c=n+a-1,l=0;l=55296&&f<=57343){var h=e.charCodeAt(++l);f=65536+((f&1023)<<10)|h&1023}if(f<=127){if(n>=c)break;t[n++]=f}else if(f<=2047){if(n+1>=c)break;t[n++]=192|f>>6,t[n++]=128|f&63}else if(f<=65535){if(n+2>=c)break;t[n++]=224|f>>12,t[n++]=128|f>>6&63,t[n++]=128|f&63}else{if(n+3>=c)break;t[n++]=240|f>>18,t[n++]=128|f>>12&63,t[n++]=128|f>>6&63,t[n++]=128|f&63}}return t[n]=0,n-s},zn=(e,t,n)=>Ut(e,D,t,n),jt=e=>{for(var t=0,n=0;n=55296&&a<=57343?(t+=4,++n):t+=3}return t},Wt=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0,Yn=(e,t,n)=>{for(var a=t+n,s=t;e[s]&&!(s>=a);)++s;if(s-t>16&&e.buffer&&Wt)return Wt.decode(e.subarray(t,s));for(var c="";t>10,56320|y&1023)}}return c},st=(e,t)=>e?Yn(D,e,t):"",Jn=(e,t)=>{t=G(t);var n=t==="std::string";Z(e,{name:t,fromWireType(a){var s=x[a>>2],c=a+4,l;if(n)for(var f=c,h=0;h<=s;++h){var y=c+h;if(h==s||D[y]==0){var b=y-f,T=st(f,b);l===void 0?l=T:(l+="\0",l+=T),f=y+1}}else{for(var E=new Array(s),h=0;h>2]=c,n&&l)zn(s,h,c+1);else if(l)for(var y=0;y255&&(ae(h),M("String has UTF-16 code units that do not fit in 8 bits")),D[h+y]=b}else for(var y=0;y{for(var n=e,a=n>>1,s=a+t/2;!(a>=s)&&ge[a];)++a;if(n=a<<1,n-e>32&&Lt)return Lt.decode(D.subarray(e,n));for(var c="",l=0;!(l>=t/2);++l){var f=X[e+l*2>>1];if(f==0)break;c+=String.fromCharCode(f)}return c},Xn=(e,t,n)=>{var a;if((a=n)!==null&&a!==void 0||(n=2147483647),n<2)return 0;n-=2;for(var s=t,c=n>1]=f,t+=2}return X[t>>1]=0,t-s},Kn=e=>e.length*2,Zn=(e,t)=>{for(var n=0,a="";!(n>=t/4);){var s=Y[e+n*4>>2];if(s==0)break;if(++n,s>=65536){var c=s-65536;a+=String.fromCharCode(55296|c>>10,56320|c&1023)}else a+=String.fromCharCode(s)}return a},ea=(e,t,n)=>{var a;if((a=n)!==null&&a!==void 0||(n=2147483647),n<4)return 0;for(var s=t,c=s+n-4,l=0;l=55296&&f<=57343){var h=e.charCodeAt(++l);f=65536+((f&1023)<<10)|h&1023}if(Y[t>>2]=f,t+=4,t+4>c)break}return Y[t>>2]=0,t-s},ta=e=>{for(var t=0,n=0;n=55296&&a<=57343&&++n,t+=4}return t},ra=(e,t,n)=>{n=G(n);var a,s,c,l,f;t===2?(a=Qn,s=Xn,l=Kn,c=()=>ge,f=1):t===4&&(a=Zn,s=ea,l=ta,c=()=>x,f=2),Z(e,{name:n,fromWireType:h=>{for(var y=x[h>>2],b=c(),T,E=h+4,O=0;O<=y;++O){var k=h+4+O*t;if(O==y||b[k>>f]==0){var B=k-E,R=a(E,B);T===void 0?T=R:(T+="\0",T+=R),E=k+t}}return ae(h),T},toWireType:(h,y)=>{typeof y!="string"&&M(`Cannot pass non-string to C++ string type ${n}`);var b=l(y),T=lt(4+b+t);return x[T>>2]=b>>f,s(y,T+4,b+t),h!==null&&h.push(ae,T),T},argPackAdvance:ee,readValueFromPointer:Qe,destructorFunction(h){ae(h)}})},na=(e,t,n,a,s,c)=>{De[e]={name:G(t),rawConstructor:K(n,a),rawDestructor:K(s,c),fields:[]}},aa=(e,t,n,a,s,c,l,f,h,y)=>{De[e].fields.push({fieldName:G(t),getterReturnType:n,getter:K(a,s),getterContext:c,setterArgumentType:l,setter:K(f,h),setterContext:y})},ia=(e,t)=>{t=G(t),Z(e,{isVoid:!0,name:t,argPackAdvance:0,fromWireType:()=>{},toWireType:(n,a)=>{}})},ut=[],oa=(e,t,n,a)=>(e=ut[e],t=ne.toValue(t),e(null,t,n,a)),sa={},ua=e=>{var t=sa[e];return t===void 0?G(e):t},Bt=()=>{if(typeof globalThis=="object")return globalThis;function e(t){t.$$$embind_global$$$=t;var n=typeof $$$embind_global$$$=="object"&&t.$$$embind_global$$$==t;return n||delete t.$$$embind_global$$$,n}if(typeof $$$embind_global$$$=="object"||(typeof global=="object"&&e(global)?$$$embind_global$$$=global:typeof self=="object"&&e(self)&&($$$embind_global$$$=self),typeof $$$embind_global$$$=="object"))return $$$embind_global$$$;throw Error("unable to get global object.")},ca=e=>e===0?ne.toHandle(Bt()):(e=ua(e),ne.toHandle(Bt()[e])),la=e=>{var t=ut.length;return ut.push(e),t},da=(e,t)=>{for(var n=new Array(e),a=0;a>2],"parameter "+a);return n},fa=Reflect.construct,pa=(e,t,n)=>{var a=[],s=e.toWireType(a,n);return a.length&&(x[t>>2]=ne.toHandle(a)),s},ha=(e,t,n)=>{var a=da(e,t),s=a.shift();e--;var c=new Array(e),l=(h,y,b,T)=>{for(var E=0,O=0;Oh.name).join(", ")}) => ${s.name}>`;return la(Se(f,l))},ma=e=>{e>4&&(Q.get(e).refcount+=1)},va=e=>{var t=ne.toValue(e);Je(t),at(e)},ya=(e,t)=>{e=it(e,"_emval_take_value");var n=e.readValueFromPointer(t);return ne.toHandle(n)},ga=()=>{Oe("")},wa=(e,t,n)=>D.copyWithin(e,t,t+n),ba=()=>2147483648,Ca=e=>{var t=I.buffer,n=(e-t.byteLength+65535)/65536;try{return I.grow(n),vt(),1}catch{}},$a=e=>{var t=D.length;e>>>=0;var n=ba();if(e>n)return!1;for(var a=(h,y)=>h+(y-h%y)%y,s=1;s<=4;s*=2){var c=t*(1+.2/s);c=Math.min(c,e+100663296);var l=Math.min(n,a(Math.max(e,c),65536)),f=Ca(l);if(f)return!0}return!1},ct={},_a=()=>g||"./this.program",Pe=()=>{if(!Pe.strings){var e=(typeof navigator=="object"&&navigator.languages&&navigator.languages[0]||"C").replace("-","_")+".UTF-8",t={USER:"web_user",LOGNAME:"web_user",PATH:"/",PWD:"/",HOME:"/home/web_user",LANG:e,_:_a()};for(var n in ct)ct[n]===void 0?delete t[n]:t[n]=ct[n];var a=[];for(var n in t)a.push(`${n}=${t[n]}`);Pe.strings=a}return Pe.strings},Sa=(e,t)=>{for(var n=0;n>0]=e.charCodeAt(n);A[t>>0]=0},Pa=(e,t)=>{var n=0;return Pe().forEach((a,s)=>{var c=t+n;x[e+s*4>>2]=c,Sa(a,c),n+=a.length+1}),0},Ta=(e,t)=>{var n=Pe();x[e>>2]=n.length;var a=0;return n.forEach(s=>a+=s.length+1),x[t>>2]=a,0},Ea=e=>e,We=e=>e%4===0&&(e%100!==0||e%400===0),Oa=(e,t)=>{for(var n=0,a=0;a<=t;n+=e[a++]);return n},Ht=[31,29,31,30,31,30,31,31,30,31,30,31],Vt=[31,28,31,30,31,30,31,31,30,31,30,31],Ma=(e,t)=>{for(var n=new Date(e.getTime());t>0;){var a=We(n.getFullYear()),s=n.getMonth(),c=(a?Ht:Vt)[s];if(t>c-n.getDate())t-=c-n.getDate()+1,n.setDate(1),s<11?n.setMonth(s+1):(n.setMonth(0),n.setFullYear(n.getFullYear()+1));else return n.setDate(n.getDate()+t),n}return n};function Aa(e,t,n){var a=jt(e)+1,s=new Array(a);return Ut(e,s,0,s.length),s}var Da=(e,t)=>{A.set(e,t)},Ra=(e,t,n,a)=>{var s=x[a+40>>2],c={tm_sec:Y[a>>2],tm_min:Y[a+4>>2],tm_hour:Y[a+8>>2],tm_mday:Y[a+12>>2],tm_mon:Y[a+16>>2],tm_year:Y[a+20>>2],tm_wday:Y[a+24>>2],tm_yday:Y[a+28>>2],tm_isdst:Y[a+32>>2],tm_gmtoff:Y[a+36>>2],tm_zone:s?st(s):""},l=st(n),f={"%c":"%a %b %d %H:%M:%S %Y","%D":"%m/%d/%y","%F":"%Y-%m-%d","%h":"%b","%r":"%I:%M:%S %p","%R":"%H:%M","%T":"%H:%M:%S","%x":"%m/%d/%y","%X":"%H:%M:%S","%Ec":"%c","%EC":"%C","%Ex":"%m/%d/%y","%EX":"%H:%M:%S","%Ey":"%y","%EY":"%Y","%Od":"%d","%Oe":"%e","%OH":"%H","%OI":"%I","%Om":"%m","%OM":"%M","%OS":"%S","%Ou":"%u","%OU":"%U","%OV":"%V","%Ow":"%w","%OW":"%W","%Oy":"%y"};for(var h in f)l=l.replace(new RegExp(h,"g"),f[h]);var y=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],b=["January","February","March","April","May","June","July","August","September","October","November","December"];function T(v,S,H){for(var N=typeof v=="number"?v.toString():v||"";N.length0?1:0}var N;return(N=H(v.getFullYear()-S.getFullYear()))===0&&(N=H(v.getMonth()-S.getMonth()))===0&&(N=H(v.getDate()-S.getDate())),N}function k(v){switch(v.getDay()){case 0:return new Date(v.getFullYear()-1,11,29);case 1:return v;case 2:return new Date(v.getFullYear(),0,3);case 3:return new Date(v.getFullYear(),0,2);case 4:return new Date(v.getFullYear(),0,1);case 5:return new Date(v.getFullYear()-1,11,31);case 6:return new Date(v.getFullYear()-1,11,30)}}function B(v){var S=Ma(new Date(v.tm_year+1900,0,1),v.tm_yday),H=new Date(S.getFullYear(),0,4),N=new Date(S.getFullYear()+1,0,4),he=k(H),Be=k(N);return O(he,S)<=0?O(Be,S)<=0?S.getFullYear()+1:S.getFullYear():S.getFullYear()-1}var R={"%a":v=>y[v.tm_wday].substring(0,3),"%A":v=>y[v.tm_wday],"%b":v=>b[v.tm_mon].substring(0,3),"%B":v=>b[v.tm_mon],"%C":v=>{var S=v.tm_year+1900;return E(S/100|0,2)},"%d":v=>E(v.tm_mday,2),"%e":v=>T(v.tm_mday,2," "),"%g":v=>B(v).toString().substring(2),"%G":v=>B(v),"%H":v=>E(v.tm_hour,2),"%I":v=>{var S=v.tm_hour;return S==0?S=12:S>12&&(S-=12),E(S,2)},"%j":v=>E(v.tm_mday+Oa(We(v.tm_year+1900)?Ht:Vt,v.tm_mon-1),3),"%m":v=>E(v.tm_mon+1,2),"%M":v=>E(v.tm_min,2),"%n":()=>` -`,"%p":v=>v.tm_hour>=0&&v.tm_hour<12?"AM":"PM","%S":v=>E(v.tm_sec,2),"%t":()=>" ","%u":v=>v.tm_wday||7,"%U":v=>{var S=v.tm_yday+7-v.tm_wday;return E(Math.floor(S/7),2)},"%V":v=>{var S=Math.floor((v.tm_yday+7-(v.tm_wday+6)%7)/7);if((v.tm_wday+371-v.tm_yday-2)%7<=2&&S++,S){if(S==53){var H=(v.tm_wday+371-v.tm_yday)%7;H!=4&&(H!=3||!We(v.tm_year))&&(S=1)}}else{S=52;var N=(v.tm_wday+7-v.tm_yday-1)%7;(N==4||N==5&&We(v.tm_year%400-1))&&S++}return E(S,2)},"%w":v=>v.tm_wday,"%W":v=>{var S=v.tm_yday+7-(v.tm_wday+6)%7;return E(Math.floor(S/7),2)},"%y":v=>(v.tm_year+1900).toString().substring(2),"%Y":v=>v.tm_year+1900,"%z":v=>{var S=v.tm_gmtoff,H=S>=0;return S=Math.abs(S)/60,S=S/60*100+S%60,(H?"+":"-")+("0000"+S).slice(-4)},"%Z":v=>v.tm_zone,"%%":()=>"%"};l=l.replace(/%%/g,"\0\0");for(var h in R)l.includes(h)&&(l=l.replace(new RegExp(h,"g"),R[h](c)));l=l.replace(/\0\0/g,"%");var z=Aa(l);return z.length>t?0:(Da(z,e),z.length-1)},xa=(e,t,n,a,s)=>Ra(e,t,n,a);_t=i.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},an(),pe=i.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},yn(),pn(),Pn(),xt=i.UnboundTypeError=Mn(Error,"UnboundTypeError"),In(),kn();var Ia={s:zr,u:Yr,b:Qr,g:Xr,q:Kr,J:Zr,f:en,V:tn,d:Jr,da:rn,Q:nn,_:sn,ca:An,ba:Rn,w:xn,Y:Un,x:Wn,h:Ln,L:Hn,M:Vn,t:Nn,o:Gn,K:Jn,C:ra,A:na,ea:aa,$:ia,R:oa,ha:at,fa:ca,Z:ha,N:ma,O:va,aa:ya,B:ga,X:wa,W:$a,T:Pa,U:Ta,E:Qa,D:Wa,F:Ja,n:Xa,a:Fa,e:Ba,m:ja,k:Va,H:za,v:Na,G:Ya,z:Za,P:ti,l:Ha,j:La,c:Ua,p:ka,I:Ga,r:Ka,i:qa,y:ei,ga:Ea,S:xa},q=Gr(),ae=i._free=e=>(ae=i._free=q.ka)(e),lt=i._malloc=e=>(lt=i._malloc=q.la)(e),qt=e=>(qt=q.na)(e),F=(e,t)=>(F=q.oa)(e,t),Te=e=>(Te=q.pa)(e),W=()=>(W=q.qa)(),L=e=>(L=q.ra)(e),Nt=e=>(Nt=q.sa)(e),Gt=e=>(Gt=q.ta)(e),zt=(e,t,n)=>(zt=q.ua)(e,t,n),Yt=e=>(Yt=q.va)(e);i.dynCall_viijii=(e,t,n,a,s,c,l)=>(i.dynCall_viijii=q.wa)(e,t,n,a,s,c,l);var Jt=i.dynCall_jiiii=(e,t,n,a,s)=>(Jt=i.dynCall_jiiii=q.xa)(e,t,n,a,s);i.dynCall_iiiiij=(e,t,n,a,s,c,l)=>(i.dynCall_iiiiij=q.ya)(e,t,n,a,s,c,l),i.dynCall_iiiiijj=(e,t,n,a,s,c,l,f,h)=>(i.dynCall_iiiiijj=q.za)(e,t,n,a,s,c,l,f,h),i.dynCall_iiiiiijj=(e,t,n,a,s,c,l,f,h,y)=>(i.dynCall_iiiiiijj=q.Aa)(e,t,n,a,s,c,l,f,h,y);function Fa(e,t){var n=W();try{return j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function ka(e,t,n,a){var s=W();try{j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Ua(e,t,n){var a=W();try{j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Wa(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function La(e,t){var n=W();try{j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function Ba(e,t,n){var a=W();try{return j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function Ha(e){var t=W();try{j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Va(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function qa(e,t,n,a,s,c,l,f,h,y,b){var T=W();try{j(e)(t,n,a,s,c,l,f,h,y,b)}catch(E){if(L(T),E!==E+0)throw E;F(1,0)}}function Na(e,t,n,a,s,c,l){var f=W();try{return j(e)(t,n,a,s,c,l)}catch(h){if(L(f),h!==h+0)throw h;F(1,0)}}function Ga(e,t,n,a,s){var c=W();try{j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function za(e,t,n,a,s,c){var l=W();try{return j(e)(t,n,a,s,c)}catch(f){if(L(l),f!==f+0)throw f;F(1,0)}}function Ya(e,t,n,a,s,c,l,f){var h=W();try{return j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Qa(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Xa(e){var t=W();try{return j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Ka(e,t,n,a,s,c,l,f){var h=W();try{j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Za(e,t,n,a,s,c,l,f,h,y,b,T){var E=W();try{return j(e)(t,n,a,s,c,l,f,h,y,b,T)}catch(O){if(L(E),O!==O+0)throw O;F(1,0)}}function ei(e,t,n,a,s,c,l,f,h,y,b,T,E,O,k,B){var R=W();try{j(e)(t,n,a,s,c,l,f,h,y,b,T,E,O,k,B)}catch(z){if(L(R),z!==z+0)throw z;F(1,0)}}function ti(e,t,n,a,s){var c=W();try{return Jt(e,t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}var Le;we=function e(){Le||Qt(),Le||(we=e)};function Qt(){if(ue>0||(Fr(),ue>0))return;function e(){Le||(Le=!0,i.calledRun=!0,!V&&(kr(),u(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),Ur()))}i.setStatus?(i.setStatus("Running..."),setTimeout(function(){setTimeout(function(){i.setStatus("")},1),e()},1)):e()}if(i.preInit)for(typeof i.preInit=="function"&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Qt(),o.ready}})();function Fi(r){return dt(ft,r)}async function ki(r,o){return xi(ft,r,o)}async function Ui(r,o){return Ii(ft,r,o)}var Ee;class qe extends EventTarget{constructor(o={}){var i;super(),ci(this,Ee,void 0);try{const u=(i=o==null?void 0:o.formats)==null?void 0:i.filter(d=>d!=="unknown");if((u==null?void 0:u.length)===0)throw new TypeError("Hint option provided, but is empty.");u==null||u.forEach(d=>{if(!He.has(d))throw new TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${d}' is not a valid enum value of type BarcodeFormat.`)}),li(this,Ee,u??[]),Fi().then(d=>{this.dispatchEvent(new CustomEvent("load",{detail:d}))}).catch(d=>{this.dispatchEvent(new CustomEvent("error",{detail:d}))})}catch(u){throw er(u,"Failed to construct 'BarcodeDetector'")}}static async getSupportedFormats(){return di.filter(o=>o!=="unknown")}async detect(o){try{const i=await gi(o);if(i===null)return[];let u;try{gr(i)?u=await ki(i,{tryHarder:!0,formats:Zt(this,Ee).map(d=>He.get(d))}):u=await Ui(i,{tryHarder:!0,formats:Zt(this,Ee).map(d=>He.get(d))})}catch(d){throw console.error(d),new DOMException("Barcode detection service unavailable.","NotSupportedError")}return u.map(d=>{const{topLeft:{x:p,y:g},topRight:{x:w,y:_},bottomLeft:{x:m,y:$},bottomRight:{x:P,y:C}}=d.position,U=Math.min(p,w,m,P),I=Math.min(g,_,$,C),V=Math.max(p,w,m,P),A=Math.max(g,_,$,C);return{boundingBox:new DOMRectReadOnly(U,I,V-U,A-I),rawValue:d.text,format:fi(d.format),cornerPoints:[{x:p,y:g},{x:w,y:_},{x:P,y:C},{x:m,y:$}]}})}catch(i){throw er(i,"Failed to execute 'detect' on 'BarcodeDetector'")}}}Ee=new WeakMap;const pt=(r,o,i="error")=>{let u,d;const p=new Promise((g,w)=>{u=g,d=w,r.addEventListener(o,u),r.addEventListener(i,d)});return p.finally(()=>{r.removeEventListener(o,u),r.removeEventListener(i,d)}),p},ar=r=>new Promise(o=>setTimeout(o,r));class ji extends Error{constructor(){super("can't process cross-origin image"),this.name="DropImageFetchError"}}class $r extends Error{constructor(){super("this browser has no Stream API support"),this.name="StreamApiNotSupportedError"}}class Wi extends Error{constructor(){super("camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."),this.name="InsecureContextError"}}class Li extends Error{constructor(){super("Loading camera stream timed out after 6 seconds. If you are on iOS in PWA mode, this is a known issue (see https://github.com/gruhn/vue-qrcode-reader/issues/298)"),this.name="StreamLoadTimeoutError"}}let _r;async function Bi(r){if(window.BarcodeDetector===void 0)return console.debug("[vue-qrcode-reader] Native BarcodeDetector not supported. Will use polyfill."),new qe({formats:r});const o=await window.BarcodeDetector.getSupportedFormats(),i=r.filter(u=>!o.includes(u));return i.length>0?(console.debug(`[vue-qrcode-reader] Native BarcodeDetector does not support formats ${JSON.stringify(i)}. Will use polyfill.`),new qe({formats:r})):(console.debug("[vue-qrcode-reader] Will use native BarcodeDetector."),new window.BarcodeDetector({formats:r}))}async function Hi(r){_r=await Bi(r)}const So=async(r,{detectHandler:o,locateHandler:i,minDelay:u,formats:d})=>{console.debug("[vue-qrcode-reader] start scanning"),await Hi(d);const p=g=>async w=>{if(r.readyState===0)console.debug("[vue-qrcode-reader] stop scanning: video element readyState is 0");else{const{lastScanned:_,contentBefore:m,lastScanHadContent:$}=g;if(w-_!m.includes(V.rawValue));C&&o(P);const U=P.length>0;U&&i(P),!U&&$&&i(P);const I={lastScanned:w,lastScanHadContent:U,contentBefore:C?P.map(V=>V.rawValue):m};window.requestAnimationFrame(p(I))}}};p({lastScanned:performance.now(),contentBefore:[],lastScanHadContent:!1})(performance.now())},Vi=async r=>{if(r.startsWith("http")&&r.includes(location.host)===!1)throw new ji;const o=document.createElement("img");return o.src=r,await pt(o,"load"),o},Po=async(r,o=["qr_code"])=>await new qe({formats:o}).detect(r),To=async(r,o=["qr_code"])=>{const i=new qe({formats:o}),u=await Vi(r);return await i.detect(u)};var Sr={},J={};Object.defineProperty(J,"__esModule",{value:!0});J.compactObject=Er;J.deprecated=Ki;var qi=J.detectBrowser=Zi;J.disableLog=Ji;J.disableWarnings=Qi;J.extractVersion=Ve;J.filterStats=eo;J.log=Xi;J.walkStats=Ne;J.wrapPeerConnectionEvent=Yi;function Ni(r,o,i){return o=Gi(o),o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r}function Gi(r){var o=zi(r,"string");return oe(o)==="symbol"?o:String(o)}function zi(r,o){if(oe(r)!=="object"||r===null)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var u=i.call(r,o||"default");if(oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}function oe(r){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},oe(r)}var Pr=!0,Tr=!0;function Ve(r,o,i){var u=r.match(o);return u&&u.length>=i&&parseInt(u[i],10)}function Yi(r,o,i){if(r.RTCPeerConnection){var u=r.RTCPeerConnection.prototype,d=u.addEventListener;u.addEventListener=function(g,w){if(g!==o)return d.apply(this,arguments);var _=function($){var P=i($);P&&(w.handleEvent?w.handleEvent(P):w(P))};return this._eventMap=this._eventMap||{},this._eventMap[o]||(this._eventMap[o]=new Map),this._eventMap[o].set(w,_),d.apply(this,[g,_])};var p=u.removeEventListener;u.removeEventListener=function(g,w){if(g!==o||!this._eventMap||!this._eventMap[o])return p.apply(this,arguments);if(!this._eventMap[o].has(w))return p.apply(this,arguments);var _=this._eventMap[o].get(w);return this._eventMap[o].delete(w),this._eventMap[o].size===0&&delete this._eventMap[o],Object.keys(this._eventMap).length===0&&delete this._eventMap,p.apply(this,[g,_])},Object.defineProperty(u,"on"+o,{get:function(){return this["_on"+o]},set:function(w){this["_on"+o]&&(this.removeEventListener(o,this["_on"+o]),delete this["_on"+o]),w&&this.addEventListener(o,this["_on"+o]=w)},enumerable:!0,configurable:!0})}}function Ji(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Pr=r,r?"adapter.js logging disabled":"adapter.js logging enabled")}function Qi(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Tr=!r,"adapter.js deprecation warnings "+(r?"disabled":"enabled"))}function Xi(){if((typeof window>"u"?"undefined":oe(window))==="object"){if(Pr)return;typeof console<"u"&&typeof console.log=="function"&&console.log.apply(console,arguments)}}function Ki(r,o){Tr&&console.warn(r+" is deprecated, please use "+o+" instead.")}function Zi(r){var o={browser:null,version:null};if(typeof r>"u"||!r.navigator||!r.navigator.userAgent)return o.browser="Not a browser.",o;var i=r.navigator;if(i.mozGetUserMedia)o.browser="firefox",o.version=Ve(i.userAgent,/Firefox\/(\d+)\./,1);else if(i.webkitGetUserMedia||r.isSecureContext===!1&&r.webkitRTCPeerConnection)o.browser="chrome",o.version=Ve(i.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.RTCPeerConnection&&i.userAgent.match(/AppleWebKit\/(\d+)\./))o.browser="safari",o.version=Ve(i.userAgent,/AppleWebKit\/(\d+)\./,1),o.supportsUnifiedPlan=r.RTCRtpTransceiver&&"currentDirection"in r.RTCRtpTransceiver.prototype;else return o.browser="Not a supported browser.",o;return o}function ir(r){return Object.prototype.toString.call(r)==="[object Object]"}function Er(r){return ir(r)?Object.keys(r).reduce(function(o,i){var u=ir(r[i]),d=u?Er(r[i]):r[i],p=u&&!Object.keys(d).length;return d===void 0||p?o:Object.assign(o,Ni({},i,d))},{}):r}function Ne(r,o,i){!o||i.has(o.id)||(i.set(o.id,o),Object.keys(o).forEach(function(u){u.endsWith("Id")?Ne(r,r.get(o[u]),i):u.endsWith("Ids")&&o[u].forEach(function(d){Ne(r,r.get(d),i)})}))}function eo(r,o,i){var u=i?"outbound-rtp":"inbound-rtp",d=new Map;if(o===null)return d;var p=[];return r.forEach(function(g){g.type==="track"&&g.trackIdentifier===o.id&&p.push(g)}),p.forEach(function(g){r.forEach(function(w){w.type===u&&w.trackId===g.id&&Ne(r,w,d)})}),d}Object.defineProperty(Sr,"__esModule",{value:!0});var to=Sr.shimGetUserMedia=ao,ro=no(J);function Or(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Or=function(d){return d?i:o})(r)}function no(r,o){if(r&&r.__esModule)return r;if(r===null||ie(r)!=="object"&&typeof r!="function")return{default:r};var i=Or(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function ie(r){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ie(r)}var or=ro.log;function ao(r,o){var i=r&&r.navigator;if(i.mediaDevices){var u=function(m){if(ie(m)!=="object"||m.mandatory||m.optional)return m;var $={};return Object.keys(m).forEach(function(P){if(!(P==="require"||P==="advanced"||P==="mediaSource")){var C=ie(m[P])==="object"?m[P]:{ideal:m[P]};C.exact!==void 0&&typeof C.exact=="number"&&(C.min=C.max=C.exact);var U=function(A,D){return A?A+D.charAt(0).toUpperCase()+D.slice(1):D==="deviceId"?"sourceId":D};if(C.ideal!==void 0){$.optional=$.optional||[];var I={};typeof C.ideal=="number"?(I[U("min",P)]=C.ideal,$.optional.push(I),I={},I[U("max",P)]=C.ideal,$.optional.push(I)):(I[U("",P)]=C.ideal,$.optional.push(I))}C.exact!==void 0&&typeof C.exact!="number"?($.mandatory=$.mandatory||{},$.mandatory[U("",P)]=C.exact):["min","max"].forEach(function(V){C[V]!==void 0&&($.mandatory=$.mandatory||{},$.mandatory[U(V,P)]=C[V])})}}),m.advanced&&($.optional=($.optional||[]).concat(m.advanced)),$},d=function(m,$){if(o.version>=61)return $(m);if(m=JSON.parse(JSON.stringify(m)),m&&ie(m.audio)==="object"){var P=function(A,D,X){D in A&&!(X in A)&&(A[X]=A[D],delete A[D])};m=JSON.parse(JSON.stringify(m)),P(m.audio,"autoGainControl","googAutoGainControl"),P(m.audio,"noiseSuppression","googNoiseSuppression"),m.audio=u(m.audio)}if(m&&ie(m.video)==="object"){var C=m.video.facingMode;C=C&&(ie(C)==="object"?C:{ideal:C});var U=o.version<66;if(C&&(C.exact==="user"||C.exact==="environment"||C.ideal==="user"||C.ideal==="environment")&&!(i.mediaDevices.getSupportedConstraints&&i.mediaDevices.getSupportedConstraints().facingMode&&!U)){delete m.video.facingMode;var I;if(C.exact==="environment"||C.ideal==="environment"?I=["back","rear"]:(C.exact==="user"||C.ideal==="user")&&(I=["front"]),I)return i.mediaDevices.enumerateDevices().then(function(V){V=V.filter(function(D){return D.kind==="videoinput"});var A=V.find(function(D){return I.some(function(X){return D.label.toLowerCase().includes(X)})});return!A&&V.length&&I.includes("back")&&(A=V[V.length-1]),A&&(m.video.deviceId=C.exact?{exact:A.deviceId}:{ideal:A.deviceId}),m.video=u(m.video),or("chrome: "+JSON.stringify(m)),$(m)})}m.video=u(m.video)}return or("chrome: "+JSON.stringify(m)),$(m)},p=function(m){return o.version>=64?m:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[m.name]||m.name,message:m.message,constraint:m.constraint||m.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}},g=function(m,$,P){d(m,function(C){i.webkitGetUserMedia(C,$,function(U){P&&P(p(U))})})};if(i.getUserMedia=g.bind(i),i.mediaDevices.getUserMedia){var w=i.mediaDevices.getUserMedia.bind(i.mediaDevices);i.mediaDevices.getUserMedia=function(_){return d(_,function(m){return w(m).then(function($){if(m.audio&&!$.getAudioTracks().length||m.video&&!$.getVideoTracks().length)throw $.getTracks().forEach(function(P){P.stop()}),new DOMException("","NotFoundError");return $},function($){return Promise.reject(p($))})})}}}}var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});var io=Mr.shimGetUserMedia=uo,oo=so(J);function Ar(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Ar=function(d){return d?i:o})(r)}function so(r,o){if(r&&r.__esModule)return r;if(r===null||me(r)!=="object"&&typeof r!="function")return{default:r};var i=Ar(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function me(r){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},me(r)}function uo(r,o){var i=r&&r.navigator,u=r&&r.MediaStreamTrack;if(i.getUserMedia=function(_,m,$){oo.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),i.mediaDevices.getUserMedia(_).then(m,$)},!(o.version>55&&"autoGainControl"in i.mediaDevices.getSupportedConstraints())){var d=function(m,$,P){$ in m&&!(P in m)&&(m[P]=m[$],delete m[$])},p=i.mediaDevices.getUserMedia.bind(i.mediaDevices);if(i.mediaDevices.getUserMedia=function(_){return me(_)==="object"&&me(_.audio)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_.audio,"autoGainControl","mozAutoGainControl"),d(_.audio,"noiseSuppression","mozNoiseSuppression")),p(_)},u&&u.prototype.getSettings){var g=u.prototype.getSettings;u.prototype.getSettings=function(){var _=g.apply(this,arguments);return d(_,"mozAutoGainControl","autoGainControl"),d(_,"mozNoiseSuppression","noiseSuppression"),_}}if(u&&u.prototype.applyConstraints){var w=u.prototype.applyConstraints;u.prototype.applyConstraints=function(_){return this.kind==="audio"&&me(_)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_,"autoGainControl","mozAutoGainControl"),d(_,"noiseSuppression","mozNoiseSuppression")),w.apply(this,[_])}}}}var te={};Object.defineProperty(te,"__esModule",{value:!0});te.shimAudioContext=wo;te.shimCallbacksAPI=ho;te.shimConstraints=xr;te.shimCreateOfferLegacy=go;var co=te.shimGetUserMedia=mo;te.shimLocalStreamsAPI=fo;te.shimRTCIceServerUrls=vo;te.shimRemoteStreamsAPI=po;te.shimTrackEventTransceiver=yo;var Dr=lo(J);function Rr(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Rr=function(d){return d?i:o})(r)}function lo(r,o){if(r&&r.__esModule)return r;if(r===null||se(r)!=="object"&&typeof r!="function")return{default:r};var i=Rr(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function se(r){"@babel/helpers - typeof";return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},se(r)}function fo(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){if("getLocalStreams"in r.RTCPeerConnection.prototype||(r.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in r.RTCPeerConnection.prototype)){var o=r.RTCPeerConnection.prototype.addTrack;r.RTCPeerConnection.prototype.addStream=function(u){var d=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(u)||this._localStreams.push(u),u.getAudioTracks().forEach(function(p){return o.call(d,p,u)}),u.getVideoTracks().forEach(function(p){return o.call(d,p,u)})},r.RTCPeerConnection.prototype.addTrack=function(u){for(var d=this,p=arguments.length,g=new Array(p>1?p-1:0),w=1;w=0)){u._remoteStreams.push(p);var g=new Event("addstream");g.stream=p,u.dispatchEvent(g)}})}),o.apply(u,arguments)}}}function ho(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){var o=r.RTCPeerConnection.prototype,i=o.createOffer,u=o.createAnswer,d=o.setLocalDescription,p=o.setRemoteDescription,g=o.addIceCandidate;o.createOffer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=i.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C},o.createAnswer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=u.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C};var w=function(m,$,P){var C=d.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C};o.setLocalDescription=w,w=function(m,$,P){var C=p.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},o.setRemoteDescription=w,w=function(m,$,P){var C=g.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},o.addIceCandidate=w}}function mo(r){var o=r&&r.navigator;if(o.mediaDevices&&o.mediaDevices.getUserMedia){var i=o.mediaDevices,u=i.getUserMedia.bind(i);o.mediaDevices.getUserMedia=function(d){return u(xr(d))}}!o.getUserMedia&&o.mediaDevices&&o.mediaDevices.getUserMedia&&(o.getUserMedia=(function(p,g,w){o.mediaDevices.getUserMedia(p).then(g,w)}).bind(o))}function xr(r){return r&&r.video!==void 0?Object.assign({},r,{video:Dr.compactObject(r.video)}):r}function vo(r){if(r.RTCPeerConnection){var o=r.RTCPeerConnection;r.RTCPeerConnection=function(u,d){if(u&&u.iceServers){for(var p=[],g=0;g{let o=!1,i;return(...u)=>(o||(i=r(u),o=!0),i)};function Eo(r,o){if(r===!1)throw new Error(o??"assertion failure")}function sr(r){throw new Error("this code should be unreachable")}const Co=bo(()=>{const r=qi(window);switch(r.browser){case"chrome":to(window,r);break;case"firefox":io(window,r);break;case"safari":co(window,r);break;default:throw new $r}});let ve=Promise.resolve({type:"stop",data:{}});async function ur(r,o,i){var w,_;if(console.debug("[vue-qrcode-reader] starting camera with constraints: ",JSON.stringify(o)),window.isSecureContext!==!0)throw new Wi;if(((w=navigator==null?void 0:navigator.mediaDevices)==null?void 0:w.getUserMedia)===void 0)throw new $r;Co(),console.debug("[vue-qrcode-reader] calling getUserMedia");const u=await navigator.mediaDevices.getUserMedia({audio:!1,video:o});r.srcObject!==void 0?r.srcObject=u:r.mozSrcObject!==void 0?r.mozSrcObject=u:window.URL.createObjectURL?r.src=window.URL.createObjectURL(u):window.webkitURL?r.src=window.webkitURL.createObjectURL(u):r.src=u.id,r.play(),console.debug("[vue-qrcode-reader] waiting for video element to load"),await Promise.race([pt(r,"loadeddata"),ar(6e3).then(()=>{throw new Li})]),console.debug("[vue-qrcode-reader] video element loaded"),await ar(500);const[d]=u.getVideoTracks(),p=((_=d==null?void 0:d.getCapabilities)==null?void 0:_.call(d))??{};let g=!1;return i&&p.torch&&(await d.applyConstraints({advanced:[{torch:!0}]}),g=!0),console.debug("[vue-qrcode-reader] camera ready"),{type:"start",data:{videoEl:r,stream:u,capabilities:p,constraints:o,isTorchOn:g}}}async function Oo(r,{constraints:o,torch:i,restart:u=!1}){ve=ve.then(p=>{if(p.type==="start"){const{data:{videoEl:g,stream:w,constraints:_,isTorchOn:m}}=p;return!u&&r===g&&o===_&&i===m?p:Ir(g,w,m).then(()=>ur(r,o,i))}else if(p.type==="stop"||p.type==="failed")return ur(r,o,i);sr()}).catch(p=>(console.debug(`[vue-qrcode-reader] starting camera failed with "${p}"`),{type:"failed",error:p}));const d=await ve;if(d.type==="stop")throw new Error("Something went wrong with the camera task queue (start task).");if(d.type==="failed")throw d.error;if(d.type==="start")return d.data.capabilities;sr()}async function Ir(r,o,i){console.debug("[vue-qrcode-reader] stopping camera"),r.src="",r.srcObject=null,r.load(),await pt(r,"error");for(const u of o.getTracks())i??await u.applyConstraints({advanced:[{torch:!1}]}),o.removeTrack(u),u.stop();return{type:"stop",data:{}}}async function Mo(){if(ve=ve.then(o=>{if(o.type==="stop"||o.type==="failed")return o;const{data:{videoEl:i,stream:u,isTorchOn:d}}=o;return Ir(i,u,d)}),(await ve).type==="start")throw new Error("Something went wrong with the camera task queue (stop task).")}export{_o as _,To as a,Eo as b,Oo as c,Hi as d,So as k,Po as p,Mo as s}; +`,"%p":v=>v.tm_hour>=0&&v.tm_hour<12?"AM":"PM","%S":v=>E(v.tm_sec,2),"%t":()=>" ","%u":v=>v.tm_wday||7,"%U":v=>{var S=v.tm_yday+7-v.tm_wday;return E(Math.floor(S/7),2)},"%V":v=>{var S=Math.floor((v.tm_yday+7-(v.tm_wday+6)%7)/7);if((v.tm_wday+371-v.tm_yday-2)%7<=2&&S++,S){if(S==53){var H=(v.tm_wday+371-v.tm_yday)%7;H!=4&&(H!=3||!We(v.tm_year))&&(S=1)}}else{S=52;var N=(v.tm_wday+7-v.tm_yday-1)%7;(N==4||N==5&&We(v.tm_year%400-1))&&S++}return E(S,2)},"%w":v=>v.tm_wday,"%W":v=>{var S=v.tm_yday+7-(v.tm_wday+6)%7;return E(Math.floor(S/7),2)},"%y":v=>(v.tm_year+1900).toString().substring(2),"%Y":v=>v.tm_year+1900,"%z":v=>{var S=v.tm_gmtoff,H=S>=0;return S=Math.abs(S)/60,S=S/60*100+S%60,(H?"+":"-")+("0000"+S).slice(-4)},"%Z":v=>v.tm_zone,"%%":()=>"%"};l=l.replace(/%%/g,"\0\0");for(var h in R)l.includes(h)&&(l=l.replace(new RegExp(h,"g"),R[h](c)));l=l.replace(/\0\0/g,"%");var z=Aa(l);return z.length>t?0:(Da(z,e),z.length-1)},xa=(e,t,n,a,s)=>Ra(e,t,n,a);_t=i.InternalError=class extends Error{constructor(e){super(e),this.name="InternalError"}},an(),pe=i.BindingError=class extends Error{constructor(e){super(e),this.name="BindingError"}},yn(),pn(),Pn(),xt=i.UnboundTypeError=Mn(Error,"UnboundTypeError"),In(),kn();var Ia={s:zr,u:Yr,b:Qr,g:Xr,q:Kr,J:Zr,f:en,V:tn,d:Jr,da:rn,Q:nn,_:sn,ca:An,ba:Rn,w:xn,Y:Un,x:Wn,h:Ln,L:Hn,M:Vn,t:Nn,o:Gn,K:Jn,C:ra,A:na,ea:aa,$:ia,R:oa,ha:at,fa:ca,Z:ha,N:ma,O:va,aa:ya,B:ga,X:wa,W:$a,T:Pa,U:Ta,E:Qa,D:Wa,F:Ja,n:Xa,a:Fa,e:Ba,m:ja,k:Va,H:za,v:Na,G:Ya,z:Za,P:ti,l:Ha,j:La,c:Ua,p:ka,I:Ga,r:Ka,i:qa,y:ei,ga:Ea,S:xa},q=Gr(),ae=i._free=e=>(ae=i._free=q.ka)(e),lt=i._malloc=e=>(lt=i._malloc=q.la)(e),qt=e=>(qt=q.na)(e),F=(e,t)=>(F=q.oa)(e,t),Te=e=>(Te=q.pa)(e),W=()=>(W=q.qa)(),L=e=>(L=q.ra)(e),Nt=e=>(Nt=q.sa)(e),Gt=e=>(Gt=q.ta)(e),zt=(e,t,n)=>(zt=q.ua)(e,t,n),Yt=e=>(Yt=q.va)(e);i.dynCall_viijii=(e,t,n,a,s,c,l)=>(i.dynCall_viijii=q.wa)(e,t,n,a,s,c,l);var Jt=i.dynCall_jiiii=(e,t,n,a,s)=>(Jt=i.dynCall_jiiii=q.xa)(e,t,n,a,s);i.dynCall_iiiiij=(e,t,n,a,s,c,l)=>(i.dynCall_iiiiij=q.ya)(e,t,n,a,s,c,l),i.dynCall_iiiiijj=(e,t,n,a,s,c,l,f,h)=>(i.dynCall_iiiiijj=q.za)(e,t,n,a,s,c,l,f,h),i.dynCall_iiiiiijj=(e,t,n,a,s,c,l,f,h,y)=>(i.dynCall_iiiiiijj=q.Aa)(e,t,n,a,s,c,l,f,h,y);function Fa(e,t){var n=W();try{return j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function ka(e,t,n,a){var s=W();try{j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Ua(e,t,n){var a=W();try{j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Wa(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function La(e,t){var n=W();try{j(e)(t)}catch(a){if(L(n),a!==a+0)throw a;F(1,0)}}function Ba(e,t,n){var a=W();try{return j(e)(t,n)}catch(s){if(L(a),s!==s+0)throw s;F(1,0)}}function Ha(e){var t=W();try{j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Va(e,t,n,a,s){var c=W();try{return j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function qa(e,t,n,a,s,c,l,f,h,y,b){var T=W();try{j(e)(t,n,a,s,c,l,f,h,y,b)}catch(E){if(L(T),E!==E+0)throw E;F(1,0)}}function Na(e,t,n,a,s,c,l){var f=W();try{return j(e)(t,n,a,s,c,l)}catch(h){if(L(f),h!==h+0)throw h;F(1,0)}}function Ga(e,t,n,a,s){var c=W();try{j(e)(t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}function za(e,t,n,a,s,c){var l=W();try{return j(e)(t,n,a,s,c)}catch(f){if(L(l),f!==f+0)throw f;F(1,0)}}function Ya(e,t,n,a,s,c,l,f){var h=W();try{return j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Ja(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Qa(e,t,n,a){var s=W();try{return j(e)(t,n,a)}catch(c){if(L(s),c!==c+0)throw c;F(1,0)}}function Xa(e){var t=W();try{return j(e)()}catch(n){if(L(t),n!==n+0)throw n;F(1,0)}}function Ka(e,t,n,a,s,c,l,f){var h=W();try{j(e)(t,n,a,s,c,l,f)}catch(y){if(L(h),y!==y+0)throw y;F(1,0)}}function Za(e,t,n,a,s,c,l,f,h,y,b,T){var E=W();try{return j(e)(t,n,a,s,c,l,f,h,y,b,T)}catch(O){if(L(E),O!==O+0)throw O;F(1,0)}}function ei(e,t,n,a,s,c,l,f,h,y,b,T,E,O,k,B){var R=W();try{j(e)(t,n,a,s,c,l,f,h,y,b,T,E,O,k,B)}catch(z){if(L(R),z!==z+0)throw z;F(1,0)}}function ti(e,t,n,a,s){var c=W();try{return Jt(e,t,n,a,s)}catch(l){if(L(c),l!==l+0)throw l;F(1,0)}}var Le;we=function e(){Le||Qt(),Le||(we=e)};function Qt(){if(ue>0||(Fr(),ue>0))return;function e(){Le||(Le=!0,i.calledRun=!0,!V&&(kr(),u(i),i.onRuntimeInitialized&&i.onRuntimeInitialized(),Ur()))}i.setStatus?(i.setStatus("Running..."),setTimeout(function(){setTimeout(function(){i.setStatus("")},1),e()},1)):e()}if(i.preInit)for(typeof i.preInit=="function"&&(i.preInit=[i.preInit]);i.preInit.length>0;)i.preInit.pop()();return Qt(),o.ready}})();function Fi(r){return dt(ft,r)}async function ki(r,o){return xi(ft,r,o)}async function Ui(r,o){return Ii(ft,r,o)}var Ee;class qe extends EventTarget{constructor(o={}){var i;super(),ci(this,Ee,void 0);try{const u=(i=o==null?void 0:o.formats)==null?void 0:i.filter(d=>d!=="unknown");if((u==null?void 0:u.length)===0)throw new TypeError("Hint option provided, but is empty.");u==null||u.forEach(d=>{if(!He.has(d))throw new TypeError(`Failed to read the 'formats' property from 'BarcodeDetectorOptions': The provided value '${d}' is not a valid enum value of type BarcodeFormat.`)}),li(this,Ee,u??[]),Fi().then(d=>{this.dispatchEvent(new CustomEvent("load",{detail:d}))}).catch(d=>{this.dispatchEvent(new CustomEvent("error",{detail:d}))})}catch(u){throw er(u,"Failed to construct 'BarcodeDetector'")}}static async getSupportedFormats(){return di.filter(o=>o!=="unknown")}async detect(o){try{const i=await gi(o);if(i===null)return[];let u;try{gr(i)?u=await ki(i,{tryHarder:!0,formats:Zt(this,Ee).map(d=>He.get(d))}):u=await Ui(i,{tryHarder:!0,formats:Zt(this,Ee).map(d=>He.get(d))})}catch(d){throw console.error(d),new DOMException("Barcode detection service unavailable.","NotSupportedError")}return u.map(d=>{const{topLeft:{x:p,y:g},topRight:{x:w,y:_},bottomLeft:{x:m,y:$},bottomRight:{x:P,y:C}}=d.position,U=Math.min(p,w,m,P),I=Math.min(g,_,$,C),V=Math.max(p,w,m,P),A=Math.max(g,_,$,C);return{boundingBox:new DOMRectReadOnly(U,I,V-U,A-I),rawValue:d.text,format:fi(d.format),cornerPoints:[{x:p,y:g},{x:w,y:_},{x:P,y:C},{x:m,y:$}]}})}catch(i){throw er(i,"Failed to execute 'detect' on 'BarcodeDetector'")}}}Ee=new WeakMap;const pt=(r,o,i="error")=>{let u,d;const p=new Promise((g,w)=>{u=g,d=w,r.addEventListener(o,u),r.addEventListener(i,d)});return p.finally(()=>{r.removeEventListener(o,u),r.removeEventListener(i,d)}),p},ar=r=>new Promise(o=>setTimeout(o,r));class ji extends Error{constructor(){super("can't process cross-origin image"),this.name="DropImageFetchError"}}class $r extends Error{constructor(){super("this browser has no Stream API support"),this.name="StreamApiNotSupportedError"}}class Wi extends Error{constructor(){super("camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP."),this.name="InsecureContextError"}}class Li extends Error{constructor(){super("Loading camera stream timed out after 6 seconds. If you are on iOS in PWA mode, this is a known issue (see https://github.com/gruhn/vue-qrcode-reader/issues/298)"),this.name="StreamLoadTimeoutError"}}let _r;async function Bi(r){if(window.BarcodeDetector===void 0)return console.debug("[vue-qrcode-reader] Native BarcodeDetector not supported. Will use polyfill."),new qe({formats:r});const o=await window.BarcodeDetector.getSupportedFormats(),i=r.filter(u=>!o.includes(u));return i.length>0?(console.debug(`[vue-qrcode-reader] Native BarcodeDetector does not support formats ${JSON.stringify(i)}. Will use polyfill.`),new qe({formats:r})):(console.debug("[vue-qrcode-reader] Will use native BarcodeDetector."),new window.BarcodeDetector({formats:r}))}async function Hi(r){_r=await Bi(r)}const So=async(r,{detectHandler:o,locateHandler:i,minDelay:u,formats:d})=>{console.debug("[vue-qrcode-reader] start scanning"),await Hi(d);const p=g=>async w=>{if(r.readyState===0)console.debug("[vue-qrcode-reader] stop scanning: video element readyState is 0");else{const{lastScanned:_,contentBefore:m,lastScanHadContent:$}=g;if(w-_!m.includes(V.rawValue));C&&o(P);const U=P.length>0;U&&i(P),!U&&$&&i(P);const I={lastScanned:w,lastScanHadContent:U,contentBefore:C?P.map(V=>V.rawValue):m};window.requestAnimationFrame(p(I))}}};p({lastScanned:performance.now(),contentBefore:[],lastScanHadContent:!1})(performance.now())},Vi=async r=>{if(r.startsWith("http")&&r.includes(location.host)===!1)throw new ji;const o=document.createElement("img");return o.src=r,await pt(o,"load"),o},Po=async(r,o=["qr_code"])=>await new qe({formats:o}).detect(r),To=async(r,o=["qr_code"])=>{const i=new qe({formats:o}),u=await Vi(r);return await i.detect(u)};var Sr={},J={};Object.defineProperty(J,"__esModule",{value:!0});J.compactObject=Er;J.deprecated=Ki;var qi=J.detectBrowser=Zi;J.disableLog=Ji;J.disableWarnings=Qi;J.extractVersion=Ve;J.filterStats=eo;J.log=Xi;J.walkStats=Ne;J.wrapPeerConnectionEvent=Yi;function Ni(r,o,i){return o=Gi(o),o in r?Object.defineProperty(r,o,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[o]=i,r}function Gi(r){var o=zi(r,"string");return oe(o)==="symbol"?o:String(o)}function zi(r,o){if(oe(r)!=="object"||r===null)return r;var i=r[Symbol.toPrimitive];if(i!==void 0){var u=i.call(r,o||"default");if(oe(u)!=="object")return u;throw new TypeError("@@toPrimitive must return a primitive value.")}return(o==="string"?String:Number)(r)}function oe(r){"@babel/helpers - typeof";return oe=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},oe(r)}var Pr=!0,Tr=!0;function Ve(r,o,i){var u=r.match(o);return u&&u.length>=i&&parseInt(u[i],10)}function Yi(r,o,i){if(r.RTCPeerConnection){var u=r.RTCPeerConnection.prototype,d=u.addEventListener;u.addEventListener=function(g,w){if(g!==o)return d.apply(this,arguments);var _=function($){var P=i($);P&&(w.handleEvent?w.handleEvent(P):w(P))};return this._eventMap=this._eventMap||{},this._eventMap[o]||(this._eventMap[o]=new Map),this._eventMap[o].set(w,_),d.apply(this,[g,_])};var p=u.removeEventListener;u.removeEventListener=function(g,w){if(g!==o||!this._eventMap||!this._eventMap[o])return p.apply(this,arguments);if(!this._eventMap[o].has(w))return p.apply(this,arguments);var _=this._eventMap[o].get(w);return this._eventMap[o].delete(w),this._eventMap[o].size===0&&delete this._eventMap[o],Object.keys(this._eventMap).length===0&&delete this._eventMap,p.apply(this,[g,_])},Object.defineProperty(u,"on"+o,{get:function(){return this["_on"+o]},set:function(w){this["_on"+o]&&(this.removeEventListener(o,this["_on"+o]),delete this["_on"+o]),w&&this.addEventListener(o,this["_on"+o]=w)},enumerable:!0,configurable:!0})}}function Ji(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Pr=r,r?"adapter.js logging disabled":"adapter.js logging enabled")}function Qi(r){return typeof r!="boolean"?new Error("Argument type: "+oe(r)+". Please use a boolean."):(Tr=!r,"adapter.js deprecation warnings "+(r?"disabled":"enabled"))}function Xi(){if((typeof window>"u"?"undefined":oe(window))==="object"){if(Pr)return;typeof console<"u"&&typeof console.log=="function"&&console.log.apply(console,arguments)}}function Ki(r,o){Tr&&console.warn(r+" is deprecated, please use "+o+" instead.")}function Zi(r){var o={browser:null,version:null};if(typeof r>"u"||!r.navigator||!r.navigator.userAgent)return o.browser="Not a browser.",o;var i=r.navigator;if(i.mozGetUserMedia)o.browser="firefox",o.version=Ve(i.userAgent,/Firefox\/(\d+)\./,1);else if(i.webkitGetUserMedia||r.isSecureContext===!1&&r.webkitRTCPeerConnection)o.browser="chrome",o.version=Ve(i.userAgent,/Chrom(e|ium)\/(\d+)\./,2);else if(r.RTCPeerConnection&&i.userAgent.match(/AppleWebKit\/(\d+)\./))o.browser="safari",o.version=Ve(i.userAgent,/AppleWebKit\/(\d+)\./,1),o.supportsUnifiedPlan=r.RTCRtpTransceiver&&"currentDirection"in r.RTCRtpTransceiver.prototype;else return o.browser="Not a supported browser.",o;return o}function ir(r){return Object.prototype.toString.call(r)==="[object Object]"}function Er(r){return ir(r)?Object.keys(r).reduce(function(o,i){var u=ir(r[i]),d=u?Er(r[i]):r[i],p=u&&!Object.keys(d).length;return d===void 0||p?o:Object.assign(o,Ni({},i,d))},{}):r}function Ne(r,o,i){!o||i.has(o.id)||(i.set(o.id,o),Object.keys(o).forEach(function(u){u.endsWith("Id")?Ne(r,r.get(o[u]),i):u.endsWith("Ids")&&o[u].forEach(function(d){Ne(r,r.get(d),i)})}))}function eo(r,o,i){var u=i?"outbound-rtp":"inbound-rtp",d=new Map;if(o===null)return d;var p=[];return r.forEach(function(g){g.type==="track"&&g.trackIdentifier===o.id&&p.push(g)}),p.forEach(function(g){r.forEach(function(w){w.type===u&&w.trackId===g.id&&Ne(r,w,d)})}),d}Object.defineProperty(Sr,"__esModule",{value:!0});var to=Sr.shimGetUserMedia=ao,ro=no(J);function Or(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Or=function(d){return d?i:o})(r)}function no(r,o){if(r.__esModule)return r;if(r===null||ie(r)!=="object"&&typeof r!="function")return{default:r};var i=Or(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function ie(r){"@babel/helpers - typeof";return ie=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},ie(r)}var or=ro.log;function ao(r,o){var i=r&&r.navigator;if(i.mediaDevices){var u=function(m){if(ie(m)!=="object"||m.mandatory||m.optional)return m;var $={};return Object.keys(m).forEach(function(P){if(!(P==="require"||P==="advanced"||P==="mediaSource")){var C=ie(m[P])==="object"?m[P]:{ideal:m[P]};C.exact!==void 0&&typeof C.exact=="number"&&(C.min=C.max=C.exact);var U=function(A,D){return A?A+D.charAt(0).toUpperCase()+D.slice(1):D==="deviceId"?"sourceId":D};if(C.ideal!==void 0){$.optional=$.optional||[];var I={};typeof C.ideal=="number"?(I[U("min",P)]=C.ideal,$.optional.push(I),I={},I[U("max",P)]=C.ideal,$.optional.push(I)):(I[U("",P)]=C.ideal,$.optional.push(I))}C.exact!==void 0&&typeof C.exact!="number"?($.mandatory=$.mandatory||{},$.mandatory[U("",P)]=C.exact):["min","max"].forEach(function(V){C[V]!==void 0&&($.mandatory=$.mandatory||{},$.mandatory[U(V,P)]=C[V])})}}),m.advanced&&($.optional=($.optional||[]).concat(m.advanced)),$},d=function(m,$){if(o.version>=61)return $(m);if(m=JSON.parse(JSON.stringify(m)),m&&ie(m.audio)==="object"){var P=function(A,D,X){D in A&&!(X in A)&&(A[X]=A[D],delete A[D])};m=JSON.parse(JSON.stringify(m)),P(m.audio,"autoGainControl","googAutoGainControl"),P(m.audio,"noiseSuppression","googNoiseSuppression"),m.audio=u(m.audio)}if(m&&ie(m.video)==="object"){var C=m.video.facingMode;C=C&&(ie(C)==="object"?C:{ideal:C});var U=o.version<66;if(C&&(C.exact==="user"||C.exact==="environment"||C.ideal==="user"||C.ideal==="environment")&&!(i.mediaDevices.getSupportedConstraints&&i.mediaDevices.getSupportedConstraints().facingMode&&!U)){delete m.video.facingMode;var I;if(C.exact==="environment"||C.ideal==="environment"?I=["back","rear"]:(C.exact==="user"||C.ideal==="user")&&(I=["front"]),I)return i.mediaDevices.enumerateDevices().then(function(V){V=V.filter(function(D){return D.kind==="videoinput"});var A=V.find(function(D){return I.some(function(X){return D.label.toLowerCase().includes(X)})});return!A&&V.length&&I.includes("back")&&(A=V[V.length-1]),A&&(m.video.deviceId=C.exact?{exact:A.deviceId}:{ideal:A.deviceId}),m.video=u(m.video),or("chrome: "+JSON.stringify(m)),$(m)})}m.video=u(m.video)}return or("chrome: "+JSON.stringify(m)),$(m)},p=function(m){return o.version>=64?m:{name:{PermissionDeniedError:"NotAllowedError",PermissionDismissedError:"NotAllowedError",InvalidStateError:"NotAllowedError",DevicesNotFoundError:"NotFoundError",ConstraintNotSatisfiedError:"OverconstrainedError",TrackStartError:"NotReadableError",MediaDeviceFailedDueToShutdown:"NotAllowedError",MediaDeviceKillSwitchOn:"NotAllowedError",TabCaptureError:"AbortError",ScreenCaptureError:"AbortError",DeviceCaptureError:"AbortError"}[m.name]||m.name,message:m.message,constraint:m.constraint||m.constraintName,toString:function(){return this.name+(this.message&&": ")+this.message}}},g=function(m,$,P){d(m,function(C){i.webkitGetUserMedia(C,$,function(U){P&&P(p(U))})})};if(i.getUserMedia=g.bind(i),i.mediaDevices.getUserMedia){var w=i.mediaDevices.getUserMedia.bind(i.mediaDevices);i.mediaDevices.getUserMedia=function(_){return d(_,function(m){return w(m).then(function($){if(m.audio&&!$.getAudioTracks().length||m.video&&!$.getVideoTracks().length)throw $.getTracks().forEach(function(P){P.stop()}),new DOMException("","NotFoundError");return $},function($){return Promise.reject(p($))})})}}}}var Mr={};Object.defineProperty(Mr,"__esModule",{value:!0});var io=Mr.shimGetUserMedia=uo,oo=so(J);function Ar(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Ar=function(d){return d?i:o})(r)}function so(r,o){if(r.__esModule)return r;if(r===null||me(r)!=="object"&&typeof r!="function")return{default:r};var i=Ar(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function me(r){"@babel/helpers - typeof";return me=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},me(r)}function uo(r,o){var i=r&&r.navigator,u=r&&r.MediaStreamTrack;if(i.getUserMedia=function(_,m,$){oo.deprecated("navigator.getUserMedia","navigator.mediaDevices.getUserMedia"),i.mediaDevices.getUserMedia(_).then(m,$)},!(o.version>55&&"autoGainControl"in i.mediaDevices.getSupportedConstraints())){var d=function(m,$,P){$ in m&&!(P in m)&&(m[P]=m[$],delete m[$])},p=i.mediaDevices.getUserMedia.bind(i.mediaDevices);if(i.mediaDevices.getUserMedia=function(_){return me(_)==="object"&&me(_.audio)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_.audio,"autoGainControl","mozAutoGainControl"),d(_.audio,"noiseSuppression","mozNoiseSuppression")),p(_)},u&&u.prototype.getSettings){var g=u.prototype.getSettings;u.prototype.getSettings=function(){var _=g.apply(this,arguments);return d(_,"mozAutoGainControl","autoGainControl"),d(_,"mozNoiseSuppression","noiseSuppression"),_}}if(u&&u.prototype.applyConstraints){var w=u.prototype.applyConstraints;u.prototype.applyConstraints=function(_){return this.kind==="audio"&&me(_)==="object"&&(_=JSON.parse(JSON.stringify(_)),d(_,"autoGainControl","mozAutoGainControl"),d(_,"noiseSuppression","mozNoiseSuppression")),w.apply(this,[_])}}}}var te={};Object.defineProperty(te,"__esModule",{value:!0});te.shimAudioContext=wo;te.shimCallbacksAPI=ho;te.shimConstraints=xr;te.shimCreateOfferLegacy=go;var co=te.shimGetUserMedia=mo;te.shimLocalStreamsAPI=fo;te.shimRTCIceServerUrls=vo;te.shimRemoteStreamsAPI=po;te.shimTrackEventTransceiver=yo;var Dr=lo(J);function Rr(r){if(typeof WeakMap!="function")return null;var o=new WeakMap,i=new WeakMap;return(Rr=function(d){return d?i:o})(r)}function lo(r,o){if(r.__esModule)return r;if(r===null||se(r)!=="object"&&typeof r!="function")return{default:r};var i=Rr(o);if(i&&i.has(r))return i.get(r);var u={},d=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var p in r)if(p!=="default"&&Object.prototype.hasOwnProperty.call(r,p)){var g=d?Object.getOwnPropertyDescriptor(r,p):null;g&&(g.get||g.set)?Object.defineProperty(u,p,g):u[p]=r[p]}return u.default=r,i&&i.set(r,u),u}function se(r){"@babel/helpers - typeof";return se=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(o){return typeof o}:function(o){return o&&typeof Symbol=="function"&&o.constructor===Symbol&&o!==Symbol.prototype?"symbol":typeof o},se(r)}function fo(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){if("getLocalStreams"in r.RTCPeerConnection.prototype||(r.RTCPeerConnection.prototype.getLocalStreams=function(){return this._localStreams||(this._localStreams=[]),this._localStreams}),!("addStream"in r.RTCPeerConnection.prototype)){var o=r.RTCPeerConnection.prototype.addTrack;r.RTCPeerConnection.prototype.addStream=function(u){var d=this;this._localStreams||(this._localStreams=[]),this._localStreams.includes(u)||this._localStreams.push(u),u.getAudioTracks().forEach(function(p){return o.call(d,p,u)}),u.getVideoTracks().forEach(function(p){return o.call(d,p,u)})},r.RTCPeerConnection.prototype.addTrack=function(u){for(var d=this,p=arguments.length,g=new Array(p>1?p-1:0),w=1;w=0)){u._remoteStreams.push(p);var g=new Event("addstream");g.stream=p,u.dispatchEvent(g)}})}),o.apply(u,arguments)}}}function ho(r){if(!(se(r)!=="object"||!r.RTCPeerConnection)){var o=r.RTCPeerConnection.prototype,i=o.createOffer,u=o.createAnswer,d=o.setLocalDescription,p=o.setRemoteDescription,g=o.addIceCandidate;o.createOffer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=i.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C},o.createAnswer=function(m,$){var P=arguments.length>=2?arguments[2]:arguments[0],C=u.apply(this,[P]);return $?(C.then(m,$),Promise.resolve()):C};var w=function(m,$,P){var C=d.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C};o.setLocalDescription=w,w=function(m,$,P){var C=p.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},o.setRemoteDescription=w,w=function(m,$,P){var C=g.apply(this,[m]);return P?(C.then($,P),Promise.resolve()):C},o.addIceCandidate=w}}function mo(r){var o=r&&r.navigator;if(o.mediaDevices&&o.mediaDevices.getUserMedia){var i=o.mediaDevices,u=i.getUserMedia.bind(i);o.mediaDevices.getUserMedia=function(d){return u(xr(d))}}!o.getUserMedia&&o.mediaDevices&&o.mediaDevices.getUserMedia&&(o.getUserMedia=(function(p,g,w){o.mediaDevices.getUserMedia(p).then(g,w)}).bind(o))}function xr(r){return r&&r.video!==void 0?Object.assign({},r,{video:Dr.compactObject(r.video)}):r}function vo(r){if(r.RTCPeerConnection){var o=r.RTCPeerConnection;r.RTCPeerConnection=function(u,d){if(u&&u.iceServers){for(var p=[],g=0;g{let o=!1,i;return(...u)=>(o||(i=r(u),o=!0),i)};function Eo(r,o){if(r===!1)throw new Error(o??"assertion failure")}function sr(r){throw new Error("this code should be unreachable")}const Co=bo(()=>{const r=qi(window);switch(r.browser){case"chrome":to(window,r);break;case"firefox":io(window,r);break;case"safari":co(window,r);break;default:throw new $r}});let ve=Promise.resolve({type:"stop",data:{}});async function ur(r,o,i){var w,_;if(console.debug("[vue-qrcode-reader] starting camera with constraints: ",JSON.stringify(o)),window.isSecureContext!==!0)throw new Wi;if(((w=navigator==null?void 0:navigator.mediaDevices)==null?void 0:w.getUserMedia)===void 0)throw new $r;Co(),console.debug("[vue-qrcode-reader] calling getUserMedia");const u=await navigator.mediaDevices.getUserMedia({audio:!1,video:o});r.srcObject!==void 0?r.srcObject=u:r.mozSrcObject!==void 0?r.mozSrcObject=u:window.URL.createObjectURL?r.src=window.URL.createObjectURL(u):window.webkitURL?r.src=window.webkitURL.createObjectURL(u):r.src=u.id,r.play(),console.debug("[vue-qrcode-reader] waiting for video element to load"),await Promise.race([pt(r,"loadeddata"),ar(6e3).then(()=>{throw new Li})]),console.debug("[vue-qrcode-reader] video element loaded"),await ar(500);const[d]=u.getVideoTracks(),p=((_=d==null?void 0:d.getCapabilities)==null?void 0:_.call(d))??{};let g=!1;return i&&p.torch&&(await d.applyConstraints({advanced:[{torch:!0}]}),g=!0),console.debug("[vue-qrcode-reader] camera ready"),{type:"start",data:{videoEl:r,stream:u,capabilities:p,constraints:o,isTorchOn:g}}}async function Oo(r,{constraints:o,torch:i,restart:u=!1}){ve=ve.then(p=>{if(p.type==="start"){const{data:{videoEl:g,stream:w,constraints:_,isTorchOn:m}}=p;return!u&&r===g&&o===_&&i===m?p:Ir(g,w,m).then(()=>ur(r,o,i))}else if(p.type==="stop"||p.type==="failed")return ur(r,o,i);sr()}).catch(p=>(console.debug(`[vue-qrcode-reader] starting camera failed with "${p}"`),{type:"failed",error:p}));const d=await ve;if(d.type==="stop")throw new Error("Something went wrong with the camera task queue (start task).");if(d.type==="failed")throw d.error;if(d.type==="start")return d.data.capabilities;sr()}async function Ir(r,o,i){console.debug("[vue-qrcode-reader] stopping camera"),r.src="",r.srcObject=null,r.load(),await pt(r,"error");for(const u of o.getTracks())i??await u.applyConstraints({advanced:[{torch:!1}]}),o.removeTrack(u),u.stop();return{type:"stop",data:{}}}async function Mo(){if(ve=ve.then(o=>{if(o.type==="stop"||o.type==="failed")return o;const{data:{videoEl:i,stream:u,isTorchOn:d}}=o;return Ir(i,u,d)}),(await ve).type==="start")throw new Error("Something went wrong with the camera task queue (stop task).")}export{_o as _,To as a,Eo as b,Oo as c,Hi as d,So as k,Po as p,Mo as s}; diff --git a/assets/chunks/framework.BeH60Y6U.js b/assets/chunks/framework.BeH60Y6U.js deleted file mode 100644 index 14b3b589..00000000 --- a/assets/chunks/framework.BeH60Y6U.js +++ /dev/null @@ -1,2 +0,0 @@ -function Ei(e,t){const n=Object.create(null),i=e.split(",");for(let s=0;s!!n[s]}const te={},yt=[],Fe=()=>{},To=()=>!1,Gt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ti=e=>e.startsWith("onUpdate:"),ce=Object.assign,Ai=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ao=Object.prototype.hasOwnProperty,X=(e,t)=>Ao.call(e,t),k=Array.isArray,vt=e=>en(e)==="[object Map]",Rt=e=>en(e)==="[object Set]",ns=e=>en(e)==="[object Date]",q=e=>typeof e=="function",ie=e=>typeof e=="string",Ge=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",er=e=>(G(e)||q(e))&&q(e.then)&&q(e.catch),tr=Object.prototype.toString,en=e=>tr.call(e),So=e=>en(e).slice(8,-1),nr=e=>en(e)==="[object Object]",Si=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=Ei(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},jo=/-(\w)/g,Le=Fn(e=>e.replace(jo,(t,n)=>n?n.toUpperCase():"")),Oo=/\B([A-Z])/g,mt=Fn(e=>e.replace(Oo,"-$1").toLowerCase()),Ln=Fn(e=>e.charAt(0).toUpperCase()+e.slice(1)),bn=Fn(e=>e?`on${Ln(e)}`:""),et=(e,t)=>!Object.is(e,t),wn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Tn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ro=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let is;const ci=()=>is||(is=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ji(e){if(k(e)){const t={};for(let n=0;n{if(n){const i=n.split(Po);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Oi(e){let t="";if(ie(e))t=e;else if(k(e))for(let n=0;ntn(n,t))}const Jc=e=>ie(e)?e:e==null?"":k(e)||G(e)&&(e.toString===tr||!q(e.toString))?JSON.stringify(e,sr,2):String(e),sr=(e,t)=>t&&t.__v_isRef?sr(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s],r)=>(n[Qn(i,r)+" =>"]=s,n),{})}:Rt(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Qn(n))}:Ge(t)?Qn(t):G(t)&&!k(t)&&!nr(t)?String(t):t,Qn=(e,t="")=>{var n;return Ge(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ve;class Ho{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){ve=this}off(){ve=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},or=e=>(e.w&tt)>0,lr=e=>(e.n&tt)>0,Uo=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||!Ge(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":k(e)?Si(n)&&l.push(o.get("length")):(l.push(o.get(ut)),vt(e)&&l.push(o.get(ui)));break;case"delete":k(e)||(l.push(o.get(ut)),vt(e)&&l.push(o.get(ui)));break;case"set":vt(e)&&l.push(o.get(ut));break}if(l.length===1)l[0]&&pi(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);pi(Mi(a))}}function pi(e,t){const n=k(e)?e:[...e];for(const i of n)i.computed&&rs(i);for(const i of n)i.computed||rs(i)}function rs(e,t){(e!==je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Ko(e,t){var n;return(n=An.get(e))==null?void 0:n.get(t)}const Vo=Ei("__proto__,__v_isRef,__isVue"),fr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge)),os=qo();function qo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Q(this);for(let r=0,o=this.length;r{e[t]=function(...n){Mt();const i=Q(this)[t].apply(this,n);return Pt(),i}}),e}function Wo(e){const t=Q(this);return xe(t,"has",e),t.hasOwnProperty(e)}class ur{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,i){const s=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(s?r?rl:hr:r?mr:dr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=k(t);if(!s){if(o&&X(os,n))return Reflect.get(os,n,i);if(n==="hasOwnProperty")return Wo}const l=Reflect.get(t,n,i);return(Ge(n)?fr.has(n):Vo(n))||(s||xe(t,"get",n),r)?l:pe(l)?o&&Si(n)?l:l.value:G(l)?s?Hn(l):Nn(l):l}}class pr extends ur{constructor(t=!1){super(!1,t)}set(t,n,i,s){let r=t[n];if(!this._shallow){const a=Et(r);if(!Sn(i)&&!Et(i)&&(r=Q(r),i=Q(i)),!k(t)&&pe(r)&&!pe(i))return a?!1:(r.value=i,!0)}const o=k(t)&&Si(n)?Number(n)e,kn=e=>Reflect.getPrototypeOf(e);function ln(e,t,n=!1,i=!1){e=e.__v_raw;const s=Q(e),r=Q(t);n||(et(t,r)&&xe(s,"get",t),xe(s,"get",r));const{has:o}=kn(s),l=i?Ii:n?ki:Wt;if(o.call(s,t))return l(e.get(t));if(o.call(s,r))return l(e.get(r));e!==s&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,i=Q(n),s=Q(e);return t||(et(e,s)&&xe(i,"has",e),xe(i,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function cn(e,t=!1){return e=e.__v_raw,!t&&xe(Q(e),"iterate",ut),Reflect.get(e,"size",e)}function ls(e){e=Q(e);const t=Q(this);return kn(t).has.call(t,e)||(t.add(e),De(t,"add",e,e)),this}function as(e,t){t=Q(t);const n=Q(this),{has:i,get:s}=kn(n);let r=i.call(n,e);r||(e=Q(e),r=i.call(n,e));const o=s.call(n,e);return n.set(e,t),r?et(t,o)&&De(n,"set",e,t):De(n,"add",e,t),this}function cs(e){const t=Q(this),{has:n,get:i}=kn(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return s&&De(t,"delete",e,void 0),r}function fs(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&De(e,"clear",void 0,void 0),n}function fn(e,t){return function(i,s){const r=this,o=r.__v_raw,l=Q(o),a=t?Ii:e?ki:Wt;return!e&&xe(l,"iterate",ut),o.forEach((c,u)=>i.call(s,a(c),a(u),r))}}function un(e,t,n){return function(...i){const s=this.__v_raw,r=Q(s),o=vt(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=s[e](...i),u=n?Ii:t?ki:Wt;return!t&&xe(r,"iterate",a?ui:ut),{next(){const{value:d,done:g}=c.next();return g?{value:d,done:g}:{value:l?[u(d[0]),u(d[1])]:u(d),done:g}},[Symbol.iterator](){return this}}}}function Ke(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Qo(){const e={get(r){return ln(this,r)},get size(){return cn(this)},has:an,add:ls,set:as,delete:cs,clear:fs,forEach:fn(!1,!1)},t={get(r){return ln(this,r,!1,!0)},get size(){return cn(this)},has:an,add:ls,set:as,delete:cs,clear:fs,forEach:fn(!1,!0)},n={get(r){return ln(this,r,!0)},get size(){return cn(this,!0)},has(r){return an.call(this,r,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:fn(!0,!1)},i={get(r){return ln(this,r,!0,!0)},get size(){return cn(this,!0)},has(r){return an.call(this,r,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=un(r,!1,!1),n[r]=un(r,!0,!1),t[r]=un(r,!1,!0),i[r]=un(r,!0,!0)}),[e,n,t,i]}const[Zo,Go,el,tl]=Qo();function Fi(e,t){const n=t?e?tl:el:e?Go:Zo;return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(X(n,s)&&s in i?n:i,s,r)}const nl={get:Fi(!1,!1)},il={get:Fi(!1,!0)},sl={get:Fi(!0,!1)},dr=new WeakMap,mr=new WeakMap,hr=new WeakMap,rl=new WeakMap;function ol(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ll(e){return e.__v_skip||!Object.isExtensible(e)?0:ol(So(e))}function Nn(e){return Et(e)?e:Li(e,!1,Yo,nl,dr)}function al(e){return Li(e,!1,Xo,il,mr)}function Hn(e){return Li(e,!0,Jo,sl,hr)}function Li(e,t,n,i,s){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const o=ll(e);if(o===0)return e;const l=new Proxy(e,o===2?i:n);return s.set(e,l),l}function bt(e){return Et(e)?bt(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function Sn(e){return!!(e&&e.__v_isShallow)}function gr(e){return bt(e)||Et(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Dt(e){return En(e,"__v_skip",!0),e}const Wt=e=>G(e)?Nn(e):e,ki=e=>G(e)?Hn(e):e;function Ni(e){Xe&&je&&(e=Q(e),cr(e.dep||(e.dep=Mi())))}function Hi(e,t){e=Q(e);const n=e.dep;n&&pi(n)}function pe(e){return!!(e&&e.__v_isRef===!0)}function ae(e){return xr(e,!1)}function $i(e){return xr(e,!0)}function xr(e,t){return pe(e)?e:new cl(e,t)}class cl{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:Wt(t)}get value(){return Ni(this),this._value}set value(t){const n=this.__v_isShallow||Sn(t)||Et(t);t=n?t:Q(t),et(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Wt(t),Hi(this))}}function yr(e){return pe(e)?e.value:e}const fl={get:(e,t,n)=>yr(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return pe(s)&&!pe(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function vr(e){return bt(e)?e:new Proxy(e,fl)}class ul{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=t(()=>Ni(this),()=>Hi(this));this._get=n,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function pl(e){return new ul(e)}class dl{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ko(Q(this._object),this._key)}}class ml{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function hl(e,t,n){return pe(e)?e:q(e)?new ml(e):G(e)&&arguments.length>1?gl(e,t,n):ae(e)}function gl(e,t,n){const i=e[t];return pe(i)?i:new dl(e,t,n)}class xl{constructor(t,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Pi(t,()=>{this._dirty||(this._dirty=!0,Hi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const t=Q(this);return Ni(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function yl(e,t,n=!1){let i,s;const r=q(e);return r?(i=e,s=Fe):(i=e.get,s=e.set),new xl(i,s,r||!s,n)}function Qe(e,t,n,i){let s;try{s=i?e(...i):e()}catch(r){nn(r,t,n)}return s}function Te(e,t,n,i){if(q(e)){const r=Qe(e,t,n,i);return r&&er(r)&&r.catch(o=>{nn(o,t,n)}),r}const s=[];for(let r=0;r>>1,s=de[i],r=Yt(s);rIe&&de.splice(t,1)}function _l(e){k(e)?wt.push(...e):(!$e||!$e.includes(e,e.allowRecurse?lt+1:lt))&&wt.push(e),wr()}function us(e,t,n=zt?Ie+1:0){for(;nYt(n)-Yt(i)),lt=0;lt<$e.length;lt++)$e[lt]();$e=null,lt=0}}const Yt=e=>e.id==null?1/0:e.id,Cl=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function _r(e){di=!1,zt=!0,de.sort(Cl);try{for(Ie=0;Ieie(b)?b.trim():b)),d&&(s=n.map(Tn))}let l,a=i[l=bn(t)]||i[l=bn(Le(t))];!a&&r&&(a=i[l=bn(mt(t))]),a&&Te(a,e,6,s);const c=i[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Te(c,e,6,s)}}function Cr(e,t,n=!1){const i=t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let o={},l=!1;if(!q(e)){const a=c=>{const u=Cr(c,t,!0);u&&(l=!0,ce(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(G(e)&&i.set(e,null),null):(k(r)?r.forEach(a=>o[a]=null):ce(o,r),G(e)&&i.set(e,o),o)}function Un(e,t){return!e||!Gt(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,mt(t))||X(e,t))}let ue=null,Bn=null;function On(e){const t=ue;return ue=e,Bn=e&&e.type.__scopeId||null,t}function Xc(e){Bn=e}function Qc(){Bn=null}function Tl(e,t=ue,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&Es(-1);const r=On(t);let o;try{o=e(...s)}finally{On(r),i._d&&Es(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function Zn(e){const{type:t,vnode:n,proxy:i,withProxy:s,props:r,propsOptions:[o],slots:l,attrs:a,emit:c,render:u,renderCache:d,data:g,setupState:b,ctx:C,inheritAttrs:T}=e;let I,V;const L=On(e);try{if(n.shapeFlag&4){const m=s||i,M=m;I=Se(u.call(M,m,d,r,b,g,C)),V=a}else{const m=t;I=Se(m.length>1?m(r,{attrs:a,slots:l,emit:c}):m(r,null)),V=t.props?a:Al(a)}}catch(m){Vt.length=0,nn(m,e,1),I=se(we)}let x=I;if(V&&T!==!1){const m=Object.keys(V),{shapeFlag:M}=x;m.length&&M&7&&(o&&m.some(Ti)&&(V=Sl(V,o)),x=nt(x,V))}return n.dirs&&(x=nt(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),I=x,On(L),I}const Al=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gt(n))&&((t||(t={}))[n]=e[n]);return t},Sl=(e,t)=>{const n={};for(const i in e)(!Ti(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function jl(e,t,n){const{props:i,children:s,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return i?ps(i,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Sr(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):_l(e)}function Ui(e,t){return Kn(e,null,t)}function ef(e,t){return Kn(e,null,{flush:"post"})}const pn={};function Ze(e,t,n){return Kn(e,t,n)}function Kn(e,t,{immediate:n,deep:i,flush:s,onTrack:r,onTrigger:o}=te){var l;const a=rr()===((l=le)==null?void 0:l.scope)?le:null;let c,u=!1,d=!1;if(pe(e)?(c=()=>e.value,u=Sn(e)):bt(e)?(c=()=>e,i=!0):k(e)?(d=!0,u=e.some(m=>bt(m)||Sn(m)),c=()=>e.map(m=>{if(pe(m))return m.value;if(bt(m))return ft(m);if(q(m))return Qe(m,a,2)})):q(e)?t?c=()=>Qe(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return g&&g(),Te(e,a,3,[b])}:c=Fe,t&&i){const m=c;c=()=>ft(m())}let g,b=m=>{g=L.onStop=()=>{Qe(m,a,4),g=L.onStop=void 0}},C;if(jt)if(b=Fe,t?n&&Te(t,a,3,[c(),d?[]:void 0,b]):c(),s==="sync"){const m=Aa();C=m.__watcherHandles||(m.__watcherHandles=[])}else return Fe;let T=d?new Array(e.length).fill(pn):pn;const I=()=>{if(L.active)if(t){const m=L.run();(i||u||(d?m.some((M,K)=>et(M,T[K])):et(m,T)))&&(g&&g(),Te(t,a,3,[m,T===pn?void 0:d&&T[0]===pn?[]:T,b]),T=m)}else L.run()};I.allowRecurse=!!t;let V;s==="sync"?V=I:s==="post"?V=()=>he(I,a&&a.suspense):(I.pre=!0,a&&(I.id=a.uid),V=()=>Dn(I));const L=new Pi(c,V);t?n?I():T=L.run():s==="post"?he(L.run.bind(L),a&&a.suspense):L.run();const x=()=>{L.stop(),a&&a.scope&&Ai(a.scope.effects,L)};return C&&C.push(x),x}function Ml(e,t,n){const i=this.proxy,s=ie(e)?e.includes(".")?jr(i,e):()=>i[e]:e.bind(i,i);let r;q(t)?r=t:(r=t.handler,n=t);const o=le;St(this);const l=Kn(s,r.bind(i),n);return o?St(o):pt(),l}function jr(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s{ft(n,t)});else if(nr(e))for(const n in e)ft(e[n],t);return e}function tf(e,t){const n=ue;if(n===null)return e;const i=Yn(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Ir(()=>{e.isUnmounting=!0}),e}const _e=[Function,Array],Or={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_e,onEnter:_e,onAfterEnter:_e,onEnterCancelled:_e,onBeforeLeave:_e,onLeave:_e,onAfterLeave:_e,onLeaveCancelled:_e,onBeforeAppear:_e,onAppear:_e,onAfterAppear:_e,onAppearCancelled:_e},Il={name:"BaseTransition",props:Or,setup(e,{slots:t}){const n=zn(),i=Pl();let s;return()=>{const r=t.default&&Mr(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const T of r)if(T.type!==we){o=T;break}}const l=Q(e),{mode:a}=l;if(i.isLeaving)return Gn(o);const c=ms(o);if(!c)return Gn(o);const u=mi(c,l,i,n);hi(c,u);const d=n.subTree,g=d&&ms(d);let b=!1;const{getTransitionKey:C}=c.type;if(C){const T=C();s===void 0?s=T:T!==s&&(s=T,b=!0)}if(g&&g.type!==we&&(!at(c,g)||b)){const T=mi(g,l,i,n);if(hi(g,T),a==="out-in")return i.isLeaving=!0,T.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Gn(o);a==="in-out"&&c.type!==we&&(T.delayLeave=(I,V,L)=>{const x=Rr(i,g);x[String(g.key)]=g,I[ze]=()=>{V(),I[ze]=void 0,delete u.delayedLeave},u.delayedLeave=L})}return o}}},Fl=Il;function Rr(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function mi(e,t,n,i){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:g,onAfterLeave:b,onLeaveCancelled:C,onBeforeAppear:T,onAppear:I,onAfterAppear:V,onAppearCancelled:L}=t,x=String(e.key),m=Rr(n,e),M=(j,F)=>{j&&Te(j,i,9,F)},K=(j,F)=>{const w=F[1];M(j,F),k(j)?j.every(H=>H.length<=1)&&w():j.length<=1&&w()},N={mode:r,persisted:o,beforeEnter(j){let F=l;if(!n.isMounted)if(s)F=T||l;else return;j[ze]&&j[ze](!0);const w=m[x];w&&at(e,w)&&w.el[ze]&&w.el[ze](),M(F,[j])},enter(j){let F=a,w=c,H=u;if(!n.isMounted)if(s)F=I||a,w=V||c,H=L||u;else return;let S=!1;const z=j[dn]=oe=>{S||(S=!0,oe?M(H,[j]):M(w,[j]),N.delayedLeave&&N.delayedLeave(),j[dn]=void 0)};F?K(F,[j,z]):z()},leave(j,F){const w=String(e.key);if(j[dn]&&j[dn](!0),n.isUnmounting)return F();M(d,[j]);let H=!1;const S=j[ze]=z=>{H||(H=!0,F(),z?M(C,[j]):M(b,[j]),j[ze]=void 0,m[w]===e&&delete m[w])};m[w]=e,g?K(g,[j,S]):S()},clone(j){return mi(j,t,n,i)}};return N}function Gn(e){if(sn(e))return e=nt(e),e.children=null,e}function ms(e){return sn(e)?e.children?e.children[0]:void 0:e}function hi(e,t){e.shapeFlag&6&&e.component?hi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Mr(e,t=!1,n){let i=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function nf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,timeout:r,suspensible:o=!0,onError:l}=e;let a=null,c,u=0;const d=()=>(u++,a=null,g()),g=()=>{let b;return a||(b=a=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),l)return new Promise((T,I)=>{l(C,()=>T(d()),()=>I(C),u+1)});throw C}).then(C=>b!==a&&a?a:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),c=C,C)))};return Bi({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return c},setup(){const b=le;if(c)return()=>ei(c,b);const C=L=>{a=null,nn(L,b,13,!i)};if(o&&b.suspense||jt)return g().then(L=>()=>ei(L,b)).catch(L=>(C(L),()=>i?se(i,{error:L}):null));const T=ae(!1),I=ae(),V=ae(!!s);return s&&setTimeout(()=>{V.value=!1},s),r!=null&&setTimeout(()=>{if(!T.value&&!I.value){const L=new Error(`Async component timed out after ${r}ms.`);C(L),I.value=L}},r),g().then(()=>{T.value=!0,b.parent&&sn(b.parent.vnode)&&Dn(b.parent.update)}).catch(L=>{C(L),I.value=L}),()=>{if(T.value&&c)return ei(c,b);if(I.value&&i)return se(i,{error:I.value});if(n&&!V.value)return se(n)}}})}function ei(e,t){const{ref:n,props:i,children:s,ce:r}=t.vnode,o=se(e,i,s);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const sn=e=>e.type.__isKeepAlive;function Ll(e,t){Pr(e,"a",t)}function kl(e,t){Pr(e,"da",t)}function Pr(e,t,n=le){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Vn(t,i,n),n){let s=n.parent;for(;s&&s.parent;)sn(s.parent.vnode)&&Nl(i,t,n,s),s=s.parent}}function Nl(e,t,n,i){const s=Vn(t,e,i,!0);qn(()=>{Ai(i[t],s)},n)}function Vn(e,t,n=le,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Mt(),St(n);const l=Te(t,n,e,o);return pt(),Pt(),l});return i?s.unshift(r):s.push(r),r}}const Be=e=>(t,n=le)=>(!jt||e==="sp")&&Vn(e,(...i)=>t(...i),n),Hl=Be("bm"),It=Be("m"),$l=Be("bu"),Dl=Be("u"),Ir=Be("bum"),qn=Be("um"),Ul=Be("sp"),Bl=Be("rtg"),Kl=Be("rtc");function Vl(e,t=le){Vn("ec",e,t)}function sf(e,t,n,i){let s;const r=n;if(k(e)||ie(e)){s=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,r));else{const o=Object.keys(e);s=new Array(o.length);for(let l=0,a=o.length;lIn(t)?!(t.type===we||t.type===ge&&!Fr(t.children)):!0)?e:null}function of(e,t){const n={};for(const i in e)n[/[A-Z]/.test(i)?`on:${i}`:bn(i)]=e[i];return n}const gi=e=>e?Qr(e)?Yn(e)||e.proxy:gi(e.parent):null,Ut=ce(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=>gi(e.parent),$root:e=>gi(e.root),$emit:e=>e.emit,$options:e=>Ki(e),$forceUpdate:e=>e.f||(e.f=()=>Dn(e.update)),$nextTick:e=>e.n||(e.n=$n.bind(e.proxy)),$watch:e=>Ml.bind(e)}),ti=(e,t)=>e!==te&&!e.__isScriptSetup&&X(e,t),ql={get({_:e},t){const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(ti(i,t))return o[t]=1,i[t];if(s!==te&&X(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&X(c,t))return o[t]=3,r[t];if(n!==te&&X(n,t))return o[t]=4,n[t];xi&&(o[t]=0)}}const u=Ut[t];let d,g;if(u)return t==="$attrs"&&xe(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==te&&X(n,t))return o[t]=4,n[t];if(g=a.config.globalProperties,X(g,t))return g[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return ti(s,t)?(s[t]=n,!0):i!==te&&X(i,t)?(i[t]=n,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let l;return!!n[o]||e!==te&&X(e,o)||ti(t,o)||(l=r[0])&&X(l,o)||X(i,o)||X(Ut,o)||X(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function lf(){return Wl().slots}function Wl(){const e=zn();return e.setupContext||(e.setupContext=Gr(e))}function hs(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let xi=!0;function zl(e){const t=Ki(e),n=e.proxy,i=e.ctx;xi=!1,t.beforeCreate&&gs(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:d,mounted:g,beforeUpdate:b,updated:C,activated:T,deactivated:I,beforeDestroy:V,beforeUnmount:L,destroyed:x,unmounted:m,render:M,renderTracked:K,renderTriggered:N,errorCaptured:j,serverPrefetch:F,expose:w,inheritAttrs:H,components:S,directives:z,filters:oe}=t;if(c&&Yl(c,i,null),o)for(const J in o){const $=o[J];q($)&&(i[J]=$.bind(n))}if(s){const J=s.call(n,n);G(J)&&(e.data=Nn(J))}if(xi=!0,r)for(const J in r){const $=r[J],Ne=q($)?$.bind(n,n):q($.get)?$.get.bind(n,n):Fe,rn=!q($)&&q($.set)?$.set.bind(n):Fe,it=ne({get:Ne,set:rn});Object.defineProperty(i,J,{enumerable:!0,configurable:!0,get:()=>it.value,set:Re=>it.value=Re})}if(l)for(const J in l)Lr(l[J],i,n,J);if(a){const J=q(a)?a.call(n):a;Reflect.ownKeys(J).forEach($=>{ea($,J[$])})}u&&gs(u,e,"c");function B(J,$){k($)?$.forEach(Ne=>J(Ne.bind(n))):$&&J($.bind(n))}if(B(Hl,d),B(It,g),B($l,b),B(Dl,C),B(Ll,T),B(kl,I),B(Vl,j),B(Kl,K),B(Bl,N),B(Ir,L),B(qn,m),B(Ul,F),k(w))if(w.length){const J=e.exposed||(e.exposed={});w.forEach($=>{Object.defineProperty(J,$,{get:()=>n[$],set:Ne=>n[$]=Ne})})}else e.exposed||(e.exposed={});M&&e.render===Fe&&(e.render=M),H!=null&&(e.inheritAttrs=H),S&&(e.components=S),z&&(e.directives=z)}function Yl(e,t,n=Fe){k(e)&&(e=yi(e));for(const i in e){const s=e[i];let r;G(s)?"default"in s?r=Ct(s.from||i,s.default,!0):r=Ct(s.from||i):r=Ct(s),pe(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[i]=r}}function gs(e,t,n){Te(k(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Lr(e,t,n,i){const s=i.includes(".")?jr(n,i):()=>n[i];if(ie(e)){const r=t[e];q(r)&&Ze(s,r)}else if(q(e))Ze(s,e.bind(n));else if(G(e))if(k(e))e.forEach(r=>Lr(r,t,n,i));else{const r=q(e.handler)?e.handler.bind(n):t[e.handler];q(r)&&Ze(s,r,e)}}function Ki(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!s.length&&!n&&!i?a=t:(a={},s.length&&s.forEach(c=>Rn(a,c,o,!0)),Rn(a,t,o)),G(t)&&r.set(t,a),a}function Rn(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&Rn(e,r,n,!0),s&&s.forEach(o=>Rn(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const l=Jl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Jl={data:xs,props:ys,emits:ys,methods:Ht,computed:Ht,beforeCreate:me,created:me,beforeMount:me,mounted:me,beforeUpdate:me,updated:me,beforeDestroy:me,beforeUnmount:me,destroyed:me,unmounted:me,activated:me,deactivated:me,errorCaptured:me,serverPrefetch:me,components:Ht,directives:Ht,watch:Ql,provide:xs,inject:Xl};function xs(e,t){return t?e?function(){return ce(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function Xl(e,t){return Ht(yi(e),yi(t))}function yi(e){if(k(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(i&&i.proxy):t}}function ta(e,t,n,i=!1){const s={},r={};En(r,Wn,1),e.propsDefaults=Object.create(null),Nr(e,t,s,r);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=i?s:al(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function na(e,t,n,i){const{props:s,attrs:r,vnode:{patchFlag:o}}=e,l=Q(s),[a]=e.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[g,b]=Hr(d,t,!0);ce(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return G(e)&&i.set(e,yt),yt;if(k(r))for(let u=0;u-1,b[1]=T<0||C-1||X(b,"default"))&&l.push(d)}}}const c=[o,l];return G(e)&&i.set(e,c),c}function vs(e){return e[0]!=="$"}function bs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function ws(e,t){return bs(e)===bs(t)}function _s(e,t){return k(t)?t.findIndex(n=>ws(n,e)):q(t)&&ws(t,e)?0:-1}const $r=e=>e[0]==="_"||e==="$stable",Vi=e=>k(e)?e.map(Se):[Se(e)],ia=(e,t,n)=>{if(t._n)return t;const i=Tl((...s)=>Vi(t(...s)),n);return i._c=!1,i},Dr=(e,t,n)=>{const i=e._ctx;for(const s in e){if($r(s))continue;const r=e[s];if(q(r))t[s]=ia(s,r,i);else if(r!=null){const o=Vi(r);t[s]=()=>o}}},Ur=(e,t)=>{const n=Vi(t);e.slots.default=()=>n},sa=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),En(t,"_",n)):Dr(t,e.slots={})}else e.slots={},t&&Ur(e,t);En(e.slots,Wn,1)},ra=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,o=te;if(i.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(ce(s,t),!n&&l===1&&delete s._):(r=!t.$stable,Dr(t,s)),o=t}else t&&(Ur(e,t),o={default:1});if(r)for(const l in s)!$r(l)&&o[l]==null&&delete s[l]};function Pn(e,t,n,i,s=!1){if(k(e)){e.forEach((g,b)=>Pn(g,t&&(k(t)?t[b]:t),n,i,s));return}if(_t(i)&&!s)return;const r=i.shapeFlag&4?Yn(i.component)||i.component.proxy:i.el,o=s?null:r,{i:l,r:a}=e,c=t&&t.r,u=l.refs===te?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==a&&(ie(c)?(u[c]=null,X(d,c)&&(d[c]=null)):pe(c)&&(c.value=null)),q(a))Qe(a,l,12,[o,u]);else{const g=ie(a),b=pe(a);if(g||b){const C=()=>{if(e.f){const T=g?X(d,a)?d[a]:u[a]:a.value;s?k(T)&&Ai(T,r):k(T)?T.includes(r)||T.push(r):g?(u[a]=[r],X(d,a)&&(d[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else g?(u[a]=o,X(d,a)&&(d[a]=o)):b&&(a.value=o,e.k&&(u[e.k]=o))};o?(C.id=-1,he(C,n)):C()}}}let Ve=!1;const mn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",hn=e=>e.nodeType===8;function oa(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(x,m)=>{if(!m.hasChildNodes()){n(null,x,m),jn(),m._vnode=x;return}Ve=!1,d(m.firstChild,x,null,null,null),jn(),m._vnode=x,Ve&&console.error("Hydration completed but contains mismatches.")},d=(x,m,M,K,N,j=!1)=>{const F=hn(x)&&x.data==="[",w=()=>T(x,m,M,K,N,F),{type:H,ref:S,shapeFlag:z,patchFlag:oe}=m;let fe=x.nodeType;m.el=x,oe===-2&&(j=!1,m.dynamicChildren=null);let B=null;switch(H){case Tt:fe!==3?m.children===""?(a(m.el=s(""),o(x),x),B=x):B=w():(x.data!==m.children&&(Ve=!0,x.data=m.children),B=r(x));break;case we:L(x)?(B=r(x),V(m.el=x.content.firstChild,x,M)):fe!==8||F?B=w():B=r(x);break;case Kt:if(F&&(x=r(x),fe=x.nodeType),fe===1||fe===3){B=x;const J=!m.children.length;for(let $=0;${j=j||!!m.dynamicChildren;const{type:F,props:w,patchFlag:H,shapeFlag:S,dirs:z,transition:oe}=m,fe=F==="input"||F==="option";if(fe||H!==-1){z&&Pe(m,null,M,"created");let B=!1;if(L(x)){B=Kr(K,oe)&&M&&M.vnode.props&&M.vnode.props.appear;const $=x.content.firstChild;B&&oe.beforeEnter($),V($,x,M),m.el=x=$}if(w)if(fe||!j||H&48)for(const $ in w)(fe&&($.endsWith("value")||$==="indeterminate")||Gt($)&&!$t($)||$[0]===".")&&i(x,$,null,w[$],!1,void 0,M);else w.onClick&&i(x,"onClick",null,w.onClick,!1,void 0,M);let J;if((J=w&&w.onVnodeBeforeMount)&&Ce(J,M,m),z&&Pe(m,null,M,"beforeMount"),((J=w&&w.onVnodeMounted)||z||B)&&Sr(()=>{J&&Ce(J,M,m),B&&oe.enter(x),z&&Pe(m,null,M,"mounted")},K),S&16&&!(w&&(w.innerHTML||w.textContent))){let $=b(x.firstChild,m,x,M,K,N,j);for(;$;){Ve=!0;const Ne=$;$=$.nextSibling,l(Ne)}}else S&8&&x.textContent!==m.children&&(Ve=!0,x.textContent=m.children)}return x.nextSibling},b=(x,m,M,K,N,j,F)=>{F=F||!!m.dynamicChildren;const w=m.children,H=w.length;for(let S=0;S{const{slotScopeIds:F}=m;F&&(N=N?N.concat(F):F);const w=o(x),H=b(r(x),m,w,M,K,N,j);return H&&hn(H)&&H.data==="]"?r(m.anchor=H):(Ve=!0,a(m.anchor=c("]"),w,H),H)},T=(x,m,M,K,N,j)=>{if(Ve=!0,m.el=null,j){const H=I(x);for(;;){const S=r(x);if(S&&S!==H)l(S);else break}}const F=r(x),w=o(x);return l(x),n(null,m,w,F,M,K,mn(w),N),F},I=(x,m="[",M="]")=>{let K=0;for(;x;)if(x=r(x),x&&hn(x)&&(x.data===m&&K++,x.data===M)){if(K===0)return r(x);K--}return x},V=(x,m,M)=>{const K=m.parentNode;K&&K.replaceChild(x,m);let N=M;for(;N;)N.vnode.el===m&&(N.vnode.el=N.subTree.el=x),N=N.parent},L=x=>x.nodeType===1&&x.tagName.toLowerCase()==="template";return[u,d]}const he=Sr;function la(e){return Br(e)}function aa(e){return Br(e,oa)}function Br(e,t){const n=ci();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:g,setScopeId:b=Fe,insertStaticContent:C}=e,T=(f,p,h,y=null,v=null,A=null,R=!1,E=null,O=!!p.dynamicChildren)=>{if(f===p)return;f&&!at(f,p)&&(y=on(f),Re(f,v,A,!0),f=null),p.patchFlag===-2&&(O=!1,p.dynamicChildren=null);const{type:_,ref:D,shapeFlag:P}=p;switch(_){case Tt:I(f,p,h,y);break;case we:V(f,p,h,y);break;case Kt:f==null&&L(p,h,y,R);break;case ge:S(f,p,h,y,v,A,R,E,O);break;default:P&1?M(f,p,h,y,v,A,R,E,O):P&6?z(f,p,h,y,v,A,R,E,O):(P&64||P&128)&&_.process(f,p,h,y,v,A,R,E,O,ht)}D!=null&&v&&Pn(D,f&&f.ref,A,p||f,!p)},I=(f,p,h,y)=>{if(f==null)i(p.el=l(p.children),h,y);else{const v=p.el=f.el;p.children!==f.children&&c(v,p.children)}},V=(f,p,h,y)=>{f==null?i(p.el=a(p.children||""),h,y):p.el=f.el},L=(f,p,h,y)=>{[f.el,f.anchor]=C(f.children,p,h,y,f.el,f.anchor)},x=({el:f,anchor:p},h,y)=>{let v;for(;f&&f!==p;)v=g(f),i(f,h,y),f=v;i(p,h,y)},m=({el:f,anchor:p})=>{let h;for(;f&&f!==p;)h=g(f),s(f),f=h;s(p)},M=(f,p,h,y,v,A,R,E,O)=>{R=R||p.type==="svg",f==null?K(p,h,y,v,A,R,E,O):F(f,p,v,A,R,E,O)},K=(f,p,h,y,v,A,R,E)=>{let O,_;const{type:D,props:P,shapeFlag:U,transition:W,dirs:Y}=f;if(O=f.el=o(f.type,A,P&&P.is,P),U&8?u(O,f.children):U&16&&j(f.children,O,null,y,v,A&&D!=="foreignObject",R,E),Y&&Pe(f,null,y,"created"),N(O,f,f.scopeId,R,y),P){for(const Z in P)Z!=="value"&&!$t(Z)&&r(O,Z,null,P[Z],A,f.children,y,v,He);"value"in P&&r(O,"value",null,P.value),(_=P.onVnodeBeforeMount)&&Ce(_,y,f)}Y&&Pe(f,null,y,"beforeMount");const ee=Kr(v,W);ee&&W.beforeEnter(O),i(O,p,h),((_=P&&P.onVnodeMounted)||ee||Y)&&he(()=>{_&&Ce(_,y,f),ee&&W.enter(O),Y&&Pe(f,null,y,"mounted")},v)},N=(f,p,h,y,v)=>{if(h&&b(f,h),y)for(let A=0;A{for(let _=O;_{const E=p.el=f.el;let{patchFlag:O,dynamicChildren:_,dirs:D}=p;O|=f.patchFlag&16;const P=f.props||te,U=p.props||te;let W;h&&st(h,!1),(W=U.onVnodeBeforeUpdate)&&Ce(W,h,p,f),D&&Pe(p,f,h,"beforeUpdate"),h&&st(h,!0);const Y=v&&p.type!=="foreignObject";if(_?w(f.dynamicChildren,_,E,h,y,Y,A):R||$(f,p,E,null,h,y,Y,A,!1),O>0){if(O&16)H(E,p,P,U,h,y,v);else if(O&2&&P.class!==U.class&&r(E,"class",null,U.class,v),O&4&&r(E,"style",P.style,U.style,v),O&8){const ee=p.dynamicProps;for(let Z=0;Z{W&&Ce(W,h,p,f),D&&Pe(p,f,h,"updated")},y)},w=(f,p,h,y,v,A,R)=>{for(let E=0;E{if(h!==y){if(h!==te)for(const E in h)!$t(E)&&!(E in y)&&r(f,E,h[E],null,R,p.children,v,A,He);for(const E in y){if($t(E))continue;const O=y[E],_=h[E];O!==_&&E!=="value"&&r(f,E,_,O,R,p.children,v,A,He)}"value"in y&&r(f,"value",h.value,y.value)}},S=(f,p,h,y,v,A,R,E,O)=>{const _=p.el=f?f.el:l(""),D=p.anchor=f?f.anchor:l("");let{patchFlag:P,dynamicChildren:U,slotScopeIds:W}=p;W&&(E=E?E.concat(W):W),f==null?(i(_,h,y),i(D,h,y),j(p.children,h,D,v,A,R,E,O)):P>0&&P&64&&U&&f.dynamicChildren?(w(f.dynamicChildren,U,h,v,A,R,E),(p.key!=null||v&&p===v.subTree)&&qi(f,p,!0)):$(f,p,h,D,v,A,R,E,O)},z=(f,p,h,y,v,A,R,E,O)=>{p.slotScopeIds=E,f==null?p.shapeFlag&512?v.ctx.activate(p,h,y,R,O):oe(p,h,y,v,A,R,O):fe(f,p,O)},oe=(f,p,h,y,v,A,R)=>{const E=f.component=va(f,y,v);if(sn(f)&&(E.ctx.renderer=ht),ba(E),E.asyncDep){if(v&&v.registerDep(E,B),!f.el){const O=E.subTree=se(we);V(null,O,p,h)}return}B(E,f,p,h,v,A,R)},fe=(f,p,h)=>{const y=p.component=f.component;if(jl(f,p,h))if(y.asyncDep&&!y.asyncResolved){J(y,p,h);return}else y.next=p,wl(y.update),y.update();else p.el=f.el,y.vnode=p},B=(f,p,h,y,v,A,R)=>{const E=()=>{if(f.isMounted){let{next:D,bu:P,u:U,parent:W,vnode:Y}=f,ee=D,Z;st(f,!1),D?(D.el=Y.el,J(f,D,R)):D=Y,P&&wn(P),(Z=D.props&&D.props.onVnodeBeforeUpdate)&&Ce(Z,W,D,Y),st(f,!0);const re=Zn(f),Ae=f.subTree;f.subTree=re,T(Ae,re,d(Ae.el),on(Ae),f,v,A),D.el=re.el,ee===null&&Ol(f,re.el),U&&he(U,v),(Z=D.props&&D.props.onVnodeUpdated)&&he(()=>Ce(Z,W,D,Y),v)}else{let D;const{el:P,props:U}=p,{bm:W,m:Y,parent:ee}=f,Z=_t(p);if(st(f,!1),W&&wn(W),!Z&&(D=U&&U.onVnodeBeforeMount)&&Ce(D,ee,p),st(f,!0),P&&Xn){const re=()=>{f.subTree=Zn(f),Xn(P,f.subTree,f,v,null)};Z?p.type.__asyncLoader().then(()=>!f.isUnmounted&&re()):re()}else{const re=f.subTree=Zn(f);T(null,re,h,y,f,v,A),p.el=re.el}if(Y&&he(Y,v),!Z&&(D=U&&U.onVnodeMounted)){const re=p;he(()=>Ce(D,ee,re),v)}(p.shapeFlag&256||ee&&_t(ee.vnode)&&ee.vnode.shapeFlag&256)&&f.a&&he(f.a,v),f.isMounted=!0,p=h=y=null}},O=f.effect=new Pi(E,()=>Dn(_),f.scope),_=f.update=()=>O.run();_.id=f.uid,st(f,!0),_()},J=(f,p,h)=>{p.component=f;const y=f.vnode.props;f.vnode=p,f.next=null,na(f,p.props,y,h),ra(f,p.children,h),Mt(),us(f),Pt()},$=(f,p,h,y,v,A,R,E,O=!1)=>{const _=f&&f.children,D=f?f.shapeFlag:0,P=p.children,{patchFlag:U,shapeFlag:W}=p;if(U>0){if(U&128){rn(_,P,h,y,v,A,R,E,O);return}else if(U&256){Ne(_,P,h,y,v,A,R,E,O);return}}W&8?(D&16&&He(_,v,A),P!==_&&u(h,P)):D&16?W&16?rn(_,P,h,y,v,A,R,E,O):He(_,v,A,!0):(D&8&&u(h,""),W&16&&j(P,h,y,v,A,R,E,O))},Ne=(f,p,h,y,v,A,R,E,O)=>{f=f||yt,p=p||yt;const _=f.length,D=p.length,P=Math.min(_,D);let U;for(U=0;UD?He(f,v,A,!0,!1,P):j(p,h,y,v,A,R,E,O,P)},rn=(f,p,h,y,v,A,R,E,O)=>{let _=0;const D=p.length;let P=f.length-1,U=D-1;for(;_<=P&&_<=U;){const W=f[_],Y=p[_]=O?Ye(p[_]):Se(p[_]);if(at(W,Y))T(W,Y,h,null,v,A,R,E,O);else break;_++}for(;_<=P&&_<=U;){const W=f[P],Y=p[U]=O?Ye(p[U]):Se(p[U]);if(at(W,Y))T(W,Y,h,null,v,A,R,E,O);else break;P--,U--}if(_>P){if(_<=U){const W=U+1,Y=WU)for(;_<=P;)Re(f[_],v,A,!0),_++;else{const W=_,Y=_,ee=new Map;for(_=Y;_<=U;_++){const ye=p[_]=O?Ye(p[_]):Se(p[_]);ye.key!=null&&ee.set(ye.key,_)}let Z,re=0;const Ae=U-Y+1;let gt=!1,Gi=0;const Ft=new Array(Ae);for(_=0;_=Ae){Re(ye,v,A,!0);continue}let Me;if(ye.key!=null)Me=ee.get(ye.key);else for(Z=Y;Z<=U;Z++)if(Ft[Z-Y]===0&&at(ye,p[Z])){Me=Z;break}Me===void 0?Re(ye,v,A,!0):(Ft[Me-Y]=_+1,Me>=Gi?Gi=Me:gt=!0,T(ye,p[Me],h,null,v,A,R,E,O),re++)}const es=gt?ca(Ft):yt;for(Z=es.length-1,_=Ae-1;_>=0;_--){const ye=Y+_,Me=p[ye],ts=ye+1{const{el:A,type:R,transition:E,children:O,shapeFlag:_}=f;if(_&6){it(f.component.subTree,p,h,y);return}if(_&128){f.suspense.move(p,h,y);return}if(_&64){R.move(f,p,h,ht);return}if(R===ge){i(A,p,h);for(let P=0;PE.enter(A),v);else{const{leave:P,delayLeave:U,afterLeave:W}=E,Y=()=>i(A,p,h),ee=()=>{P(A,()=>{Y(),W&&W()})};U?U(A,Y,ee):ee()}else i(A,p,h)},Re=(f,p,h,y=!1,v=!1)=>{const{type:A,props:R,ref:E,children:O,dynamicChildren:_,shapeFlag:D,patchFlag:P,dirs:U}=f;if(E!=null&&Pn(E,null,h,f,!0),D&256){p.ctx.deactivate(f);return}const W=D&1&&U,Y=!_t(f);let ee;if(Y&&(ee=R&&R.onVnodeBeforeUnmount)&&Ce(ee,p,f),D&6)Eo(f.component,h,y);else{if(D&128){f.suspense.unmount(h,y);return}W&&Pe(f,null,p,"beforeUnmount"),D&64?f.type.remove(f,p,h,v,ht,y):_&&(A!==ge||P>0&&P&64)?He(_,p,h,!1,!0):(A===ge&&P&384||!v&&D&16)&&He(O,p,h),y&&Qi(f)}(Y&&(ee=R&&R.onVnodeUnmounted)||W)&&he(()=>{ee&&Ce(ee,p,f),W&&Pe(f,null,p,"unmounted")},h)},Qi=f=>{const{type:p,el:h,anchor:y,transition:v}=f;if(p===ge){Co(h,y);return}if(p===Kt){m(f);return}const A=()=>{s(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(f.shapeFlag&1&&v&&!v.persisted){const{leave:R,delayLeave:E}=v,O=()=>R(h,A);E?E(f.el,A,O):O()}else A()},Co=(f,p)=>{let h;for(;f!==p;)h=g(f),s(f),f=h;s(p)},Eo=(f,p,h)=>{const{bum:y,scope:v,update:A,subTree:R,um:E}=f;y&&wn(y),v.stop(),A&&(A.active=!1,Re(R,f,p,h)),E&&he(E,p),he(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},He=(f,p,h,y=!1,v=!1,A=0)=>{for(let R=A;Rf.shapeFlag&6?on(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el),Zi=(f,p,h)=>{f==null?p._vnode&&Re(p._vnode,null,null,!0):T(p._vnode||null,f,p,null,null,null,h),us(),jn(),p._vnode=f},ht={p:T,um:Re,m:it,r:Qi,mt:oe,mc:j,pc:$,pbc:w,n:on,o:e};let Jn,Xn;return t&&([Jn,Xn]=t(ht)),{render:Zi,hydrate:Jn,createApp:Gl(Zi,Jn)}}function st({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Kr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function qi(e,t,n=!1){const i=e.children,s=t.children;if(k(i)&&k(s))for(let r=0;r>1,e[n[l]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const fa=e=>e.__isTeleport,Bt=e=>e&&(e.disabled||e.disabled===""),Cs=e=>typeof SVGElement<"u"&&e instanceof SVGElement,bi=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},ua={name:"Teleport",__isTeleport:!0,process(e,t,n,i,s,r,o,l,a,c){const{mc:u,pc:d,pbc:g,o:{insert:b,querySelector:C,createText:T,createComment:I}}=c,V=Bt(t.props);let{shapeFlag:L,children:x,dynamicChildren:m}=t;if(e==null){const M=t.el=T(""),K=t.anchor=T("");b(M,n,i),b(K,n,i);const N=t.target=bi(t.props,C),j=t.targetAnchor=T("");N&&(b(j,N),o=o||Cs(N));const F=(w,H)=>{L&16&&u(x,w,H,s,r,o,l,a)};V?F(n,K):N&&F(N,j)}else{t.el=e.el;const M=t.anchor=e.anchor,K=t.target=e.target,N=t.targetAnchor=e.targetAnchor,j=Bt(e.props),F=j?n:K,w=j?M:N;if(o=o||Cs(K),m?(g(e.dynamicChildren,m,F,s,r,o,l),qi(e,t,!0)):a||d(e,t,F,w,s,r,o,l,!1),V)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gn(t,n,M,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=bi(t.props,C);H&&gn(t,H,null,c,0)}else j&&gn(t,K,N,c,1)}Vr(t)},remove(e,t,n,i,{um:s,o:{remove:r}},o){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:d,props:g}=e;if(d&&r(u),o&&r(c),l&16){const b=o||!Bt(g);for(let C=0;C0?be||yt:null,da(),At>0&&be&&be.push(e),e}function cf(e,t,n,i,s,r){return Wr(Jr(e,t,n,i,s,r,!0))}function zr(e,t,n,i,s){return Wr(se(e,t,n,i,s,!0))}function In(e){return e?e.__v_isVNode===!0:!1}function at(e,t){return e.type===t.type&&e.key===t.key}const Wn="__vInternal",Yr=({key:e})=>e??null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||pe(e)||q(e)?{i:ue,r:e,k:t,f:!!n}:e:null);function Jr(e,t=null,n=null,i=0,s=null,r=e===ge?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Yr(t),ref:t&&_n(t),scopeId:Bn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:ue};return l?(Wi(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=ie(n)?8:16),At>0&&!o&&be&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&be.push(a),a}const se=ma;function ma(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===Tr)&&(e=we),In(e)){const l=nt(e,t,!0);return n&&Wi(l,n),At>0&&!r&&be&&(l.shapeFlag&6?be[be.indexOf(e)]=l:be.push(l)),l.patchFlag|=-2,l}if(Ea(e)&&(e=e.__vccOpts),t){t=ha(t);let{class:l,style:a}=t;l&&!ie(l)&&(t.class=Oi(l)),G(a)&&(gr(a)&&!k(a)&&(a=ce({},a)),t.style=ji(a))}const o=ie(e)?1:Rl(e)?128:fa(e)?64:G(e)?4:q(e)?2:0;return Jr(e,t,n,i,s,o,r,!0)}function ha(e){return e?gr(e)||Wn in e?ce({},e):e:null}function nt(e,t,n=!1){const{props:i,ref:s,patchFlag:r,children:o}=e,l=t?ga(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Yr(l),ref:t&&t.ref?n&&s?k(s)?s.concat(_n(t)):[s,_n(t)]:_n(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Xr(e=" ",t=0){return se(Tt,null,e,t)}function ff(e,t){const n=se(Kt,null,e);return n.staticCount=t,n}function uf(e="",t=!1){return t?(qr(),zr(we,null,e)):se(we,null,e)}function Se(e){return e==null||typeof e=="boolean"?se(we):k(e)?se(ge,null,e.slice()):typeof e=="object"?Ye(e):se(Tt,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function Wi(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),Wi(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Wn in t)?t._ctx=ue:s===3&&ue&&(ue.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:ue},n=32):(t=String(t),i&64?(n=16,t=[Xr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ga(...e){const t={};for(let n=0;nle||ue;let zi,xt,Ts="__VUE_INSTANCE_SETTERS__";(xt=ci()[Ts])||(xt=ci()[Ts]=[]),xt.push(e=>le=e),zi=e=>{xt.length>1?xt.forEach(t=>t(e)):xt[0](e)};const St=e=>{zi(e),e.scope.on()},pt=()=>{le&&le.scope.off(),zi(null)};function Qr(e){return e.vnode.shapeFlag&4}let jt=!1;function ba(e,t=!1){jt=t;const{props:n,children:i}=e.vnode,s=Qr(e);ta(e,n,s,t),sa(e,i);const r=s?wa(e,t):void 0;return jt=!1,r}function wa(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Dt(new Proxy(e.ctx,ql));const{setup:i}=n;if(i){const s=e.setupContext=i.length>1?Gr(e):null;St(e),Mt();const r=Qe(i,e,0,[e.props,s]);if(Pt(),pt(),er(r)){if(r.then(pt,pt),t)return r.then(o=>{As(e,o,t)}).catch(o=>{nn(o,e,0)});e.asyncDep=r}else As(e,r,t)}else Zr(e,t)}function As(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=vr(t)),Zr(e,n)}let Ss;function Zr(e,t,n){const i=e.type;if(!e.render){if(!t&&Ss&&!i.render){const s=i.template||Ki(e).template;if(s){const{isCustomElement:r,compilerOptions:o}=e.appContext.config,{delimiters:l,compilerOptions:a}=i,c=ce(ce({isCustomElement:r,delimiters:l},o),a);i.render=Ss(s,c)}}e.render=i.render||Fe}{St(e),Mt();try{zl(e)}finally{Pt(),pt()}}}function _a(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return xe(e,"get","$attrs"),t[n]}}))}function Gr(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return _a(e)},slots:e.slots,emit:e.emit,expose:t}}function Yn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(vr(Dt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}}))}function Ca(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Ea(e){return q(e)&&"__vccOpts"in e}const ne=(e,t)=>yl(e,t,jt);function wi(e,t,n){const i=arguments.length;return i===2?G(t)&&!k(t)?In(t)?se(e,null,[t]):se(e,t):se(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&In(n)&&(n=[n]),se(e,t,n))}const Ta=Symbol.for("v-scx"),Aa=()=>Ct(Ta);function pf(e,t,n,i){const s=n[i];if(s&&Sa(s,e))return s;const r=t();return r.memo=e.slice(),n[i]=r}function Sa(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i0&&be&&be.push(e),!0}const ja="3.3.13",Oa="http://www.w3.org/2000/svg",ct=typeof document<"u"?document:null,js=ct&&ct.createElement("template"),Ra={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t?ct.createElementNS(Oa,e):ct.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{js.innerHTML=i?`${e}`:e;const l=js.content;if(i){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qe="transition",Lt="animation",Jt=Symbol("_vtc"),eo=(e,{slots:t})=>wi(Fl,Ma(e),t);eo.displayName="Transition";const to={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};eo.props=ce({},Or,to);const rt=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},Os=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Ma(e){const t={};for(const S in e)S in to||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,C=Pa(s),T=C&&C[0],I=C&&C[1],{onBeforeEnter:V,onEnter:L,onEnterCancelled:x,onLeave:m,onLeaveCancelled:M,onBeforeAppear:K=V,onAppear:N=L,onAppearCancelled:j=x}=t,F=(S,z,oe)=>{ot(S,z?u:l),ot(S,z?c:o),oe&&oe()},w=(S,z)=>{S._isLeaving=!1,ot(S,d),ot(S,b),ot(S,g),z&&z()},H=S=>(z,oe)=>{const fe=S?N:L,B=()=>F(z,S,oe);rt(fe,[z,B]),Rs(()=>{ot(z,S?a:r),We(z,S?u:l),Os(fe)||Ms(z,i,T,B)})};return ce(t,{onBeforeEnter(S){rt(V,[S]),We(S,r),We(S,o)},onBeforeAppear(S){rt(K,[S]),We(S,a),We(S,c)},onEnter:H(!1),onAppear:H(!0),onLeave(S,z){S._isLeaving=!0;const oe=()=>w(S,z);We(S,d),La(),We(S,g),Rs(()=>{S._isLeaving&&(ot(S,d),We(S,b),Os(m)||Ms(S,i,I,oe))}),rt(m,[S,oe])},onEnterCancelled(S){F(S,!1),rt(x,[S])},onAppearCancelled(S){F(S,!0),rt(j,[S])},onLeaveCancelled(S){w(S),rt(M,[S])}})}function Pa(e){if(e==null)return null;if(G(e))return[ni(e.enter),ni(e.leave)];{const t=ni(e);return[t,t]}}function ni(e){return Ro(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jt]||(e[Jt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[Jt];n&&(n.delete(t),n.size||(e[Jt]=void 0))}function Rs(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Ia=0;function Ms(e,t,n,i){const s=e._endId=++Ia,r=()=>{s===e._endId&&i()};if(n)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Fa(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,g),r()},g=b=>{b.target===e&&++u>=a&&d()};setTimeout(()=>{u(n[C]||"").split(", "),s=i(`${qe}Delay`),r=i(`${qe}Duration`),o=Ps(s,r),l=i(`${Lt}Delay`),a=i(`${Lt}Duration`),c=Ps(l,a);let u=null,d=0,g=0;t===qe?o>0&&(u=qe,d=o,g=r.length):t===Lt?c>0&&(u=Lt,d=c,g=a.length):(d=Math.max(o,c),u=d>0?o>c?qe:Lt:null,g=u?u===qe?r.length:a.length:0);const b=u===qe&&/\b(transform|all)(,|$)/.test(i(`${qe}Property`).toString());return{type:u,timeout:d,propCount:g,hasTransform:b}}function Ps(e,t){for(;e.lengthIs(n)+Is(e[i])))}function Is(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function La(){return document.body.offsetHeight}function ka(e,t,n){const i=e[Jt];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yi=Symbol("_vod"),df={beforeMount(e,{value:t},{transition:n}){e[Yi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):kt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),kt(e,!0),i.enter(e)):i.leave(e,()=>{kt(e,!1)}):kt(e,t))},beforeUnmount(e,{value:t}){kt(e,t)}};function kt(e,t){e.style.display=t?e[Yi]:"none"}const Na=Symbol("");function Ha(e,t,n){const i=e.style,s=ie(n);if(n&&!s){if(t&&!ie(t))for(const r in t)n[r]==null&&_i(i,r,"");for(const r in n)_i(i,r,n[r])}else{const r=i.display;if(s){if(t!==n){const o=i[Na];o&&(n+=";"+o),i.cssText=n}}else t&&e.removeAttribute("style");Yi in e&&(i.display=r)}}const Fs=/\s*!important$/;function _i(e,t,n){if(k(n))n.forEach(i=>_i(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=$a(e,t);Fs.test(n)?e.setProperty(mt(i),n.replace(Fs,""),"important"):e[i]=n}}const Ls=["Webkit","Moz","ms"],ii={};function $a(e,t){const n=ii[t];if(n)return n;let i=Le(t);if(i!=="filter"&&i in e)return ii[t]=i;i=Ln(i);for(let s=0;ssi||(qa.then(()=>si=0),si=Date.now());function za(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Te(Ya(i,n.value),t,5,[i])};return n.value=e,n.attached=Wa(),n}function Ya(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const $s=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ja=(e,t,n,i,s=!1,r,o,l,a)=>{t==="class"?ka(e,i,s):t==="style"?Ha(e,n,i):Gt(t)?Ti(t)||Ka(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xa(e,t,i,s))?Ua(e,t,i,r,o,l,a):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),Da(e,t,i,s))};function Xa(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&$s(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return $s(t)&&ie(n)?!1:t in e}const Ot=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>wn(t,n):t};function Qa(e){e.target.composing=!0}function Ds(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ue=Symbol("_assign"),mf={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e[Ue]=Ot(s);const r=i||s.props&&s.props.type==="number";Je(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=Tn(l)),e[Ue](l)}),n&&Je(e,"change",()=>{e.value=e.value.trim()}),t||(Je(e,"compositionstart",Qa),Je(e,"compositionend",Ds),Je(e,"change",Ds))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:s}},r){if(e[Ue]=Ot(r),e.composing)return;const o=s||e.type==="number"?Tn(e.value):e.value,l=t??"";o!==l&&(document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===l)||(e.value=l))}},hf={deep:!0,created(e,t,n){e[Ue]=Ot(n),Je(e,"change",()=>{const i=e._modelValue,s=Xt(e),r=e.checked,o=e[Ue];if(k(i)){const l=Ri(i,s),a=l!==-1;if(r&&!a)o(i.concat(s));else if(!r&&a){const c=[...i];c.splice(l,1),o(c)}}else if(Rt(i)){const l=new Set(i);r?l.add(s):l.delete(s),o(l)}else o(no(e,r))})},mounted:Us,beforeUpdate(e,t,n){e[Ue]=Ot(n),Us(e,t,n)}};function Us(e,{value:t,oldValue:n},i){e._modelValue=t,k(t)?e.checked=Ri(t,i.props.value)>-1:Rt(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=tn(t,no(e,!0)))}const gf={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=Rt(t);Je(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Tn(Xt(o)):Xt(o));e[Ue](e.multiple?s?new Set(r):r:r[0])}),e[Ue]=Ot(i)},mounted(e,{value:t}){Bs(e,t)},beforeUpdate(e,t,n){e[Ue]=Ot(n)},updated(e,{value:t}){Bs(e,t)}};function Bs(e,t){const n=e.multiple;if(!(n&&!k(t)&&!Rt(t))){for(let i=0,s=e.options.length;i-1:r.selected=t.has(o);else if(tn(Xt(r),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Xt(e){return"_value"in e?e._value:e.value}function no(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Za=["ctrl","shift","alt","meta"],Ga={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Za.some(n=>e[`${n}Key`]&&!t.includes(n))},xf=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(s,...r)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=s=>{if(!("key"in s))return;const r=mt(s.key);if(t.some(o=>o===r||ec[o]===r))return e(s)})},io=ce({patchProp:Ja},Ra);let qt,Ks=!1;function tc(){return qt||(qt=la(io))}function nc(){return qt=Ks?qt:aa(io),Ks=!0,qt}const vf=(...e)=>{const t=tc().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=so(i);if(!s)return;const r=t._component;!q(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},bf=(...e)=>{const t=nc().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=so(i);if(s)return n(s,!0,s instanceof SVGElement)},t};function so(e){return ie(e)?document.querySelector(e):e}const wf=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n},ic=window.__VP_SITE_DATA__;function Ji(e){return rr()?(Do(e),!0):!1}function Oe(e){return typeof e=="function"?e():yr(e)}function _f(e,t){const n=Oe;return function(...i){return ne(()=>e.apply(this,i.map(s=>n(s))))}}const ro=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const sc=Object.prototype.toString,rc=e=>sc.call(e)==="[object Object]",Qt=()=>{},Vs=oc();function oc(){var e,t;return ro&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function lc(e,t){function n(...i){return new Promise((s,r)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(s).catch(r)})}return n}const oo=e=>e();function ac(e,t={}){let n,i,s=Qt;const r=l=>{clearTimeout(l),s(),s=Qt};return l=>{const a=Oe(e),c=Oe(t.maxWait);return n&&r(n),a<=0||c!==void 0&&c<=0?(i&&(r(i),i=null),Promise.resolve(l())):new Promise((u,d)=>{s=t.rejectOnCancel?d:u,c&&!i&&(i=setTimeout(()=>{n&&r(n),i=null,u(l())},c)),n=setTimeout(()=>{i&&r(i),i=null,u(l())},a)})}}function cc(e=oo){const t=ae(!0);function n(){t.value=!1}function i(){t.value=!0}const s=(...r)=>{t.value&&e(...r)};return{isActive:Hn(t),pause:n,resume:i,eventFilter:s}}function fc(e){return zn()}function lo(...e){if(e.length!==1)return hl(...e);const t=e[0];return typeof t=="function"?Hn(pl(()=>({get:t,set:Qt}))):ae(t)}function ao(e,t,n={}){const{eventFilter:i=oo,...s}=n;return Ze(e,lc(i,t),s)}function uc(e,t,n={}){const{eventFilter:i,...s}=n,{eventFilter:r,pause:o,resume:l,isActive:a}=cc(i);return{stop:ao(e,t,{...s,eventFilter:r}),pause:o,resume:l,isActive:a}}function co(e,t=!0,n){fc()?It(e,n):t?e():$n(e)}function Cf(e,t,n={}){const{debounce:i=0,maxWait:s=void 0,...r}=n;return ao(e,t,{...r,eventFilter:ac(i,{maxWait:s})})}function Ef(e,t,n){let i;pe(n)?i={evaluating:n}:i={};const{lazy:s=!1,evaluating:r=void 0,shallow:o=!0,onError:l=Qt}=i,a=ae(!s),c=o?$i(t):ae(t);let u=0;return Ui(async d=>{if(!a.value)return;u++;const g=u;let b=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const C=await e(T=>{d(()=>{r&&(r.value=!1),b||T()})});g===u&&(c.value=C)}catch(C){l(C)}finally{r&&g===u&&(r.value=!1),b=!0}}),s?ne(()=>(a.value=!0,c.value)):c}function fo(e){var t;const n=Oe(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ke=ro?window:void 0;function Zt(...e){let t,n,i,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,s]=e,t=ke):[t,n,i,s]=e,!t)return Qt;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},l=(u,d,g,b)=>(u.addEventListener(d,g,b),()=>u.removeEventListener(d,g,b)),a=Ze(()=>[fo(t),Oe(s)],([u,d])=>{if(o(),!u)return;const g=rc(d)?{...d}:d;r.push(...n.flatMap(b=>i.map(C=>l(u,b,C,g))))},{immediate:!0,flush:"post"}),c=()=>{a(),o()};return Ji(c),c}function pc(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Tf(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=ke,eventName:r="keydown",passive:o=!1,dedupe:l=!1}=i,a=pc(t);return Zt(s,r,u=>{u.repeat&&Oe(l)||a(u)&&n(u)},o)}function dc(){const e=ae(!1),t=zn();return t&&It(()=>{e.value=!0},t),e}function mc(e){const t=dc();return ne(()=>(t.value,!!e()))}function hc(e,t={}){const{window:n=ke}=t,i=mc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const r=ae(!1),o=c=>{r.value=c.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},a=Ui(()=>{i.value&&(l(),s=n.matchMedia(Oe(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),r.value=s.matches)});return Ji(()=>{a(),l(),s=void 0}),r}const xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},yn="__vueuse_ssr_handlers__",gc=xc();function xc(){return yn in xn||(xn[yn]=xn[yn]||{}),xn[yn]}function uo(e,t){return gc[e]||t}function yc(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const vc={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},qs="vueuse-storage";function Xi(e,t,n,i={}){var s;const{flush:r="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=ke,eventFilter:g,onError:b=w=>{console.error(w)},initOnMounted:C}=i,T=(u?$i:ae)(typeof t=="function"?t():t);if(!n)try{n=uo("getDefaultStorage",()=>{var w;return(w=ke)==null?void 0:w.localStorage})()}catch(w){b(w)}if(!n)return T;const I=Oe(t),V=yc(I),L=(s=i.serializer)!=null?s:vc[V],{pause:x,resume:m}=uc(T,()=>K(T.value),{flush:r,deep:o,eventFilter:g});d&&l&&co(()=>{Zt(d,"storage",j),Zt(d,qs,F),C&&j()}),C||j();function M(w,H){d&&d.dispatchEvent(new CustomEvent(qs,{detail:{key:e,oldValue:w,newValue:H,storageArea:n}}))}function K(w){try{const H=n.getItem(e);if(w==null)M(H,null),n.removeItem(e);else{const S=L.write(w);H!==S&&(n.setItem(e,S),M(H,S))}}catch(H){b(H)}}function N(w){const H=w?w.newValue:n.getItem(e);if(H==null)return a&&I!=null&&n.setItem(e,L.write(I)),I;if(!w&&c){const S=L.read(H);return typeof c=="function"?c(S,I):V==="object"&&!Array.isArray(S)?{...I,...S}:S}else return typeof H!="string"?H:L.read(H)}function j(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){T.value=I;return}if(!(w&&w.key!==e)){x();try{(w==null?void 0:w.newValue)!==L.write(T.value)&&(T.value=N(w))}catch(H){b(H)}finally{w?$n(m):m()}}}}function F(w){j(w.detail)}return T}function po(e){return hc("(prefers-color-scheme: dark)",e)}function bc(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:s=ke,storage:r,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},g=po({window:s}),b=ne(()=>g.value?"dark":"light"),C=a||(o==null?lo(i):Xi(o,i,r,{window:s,listenToStorageChanges:l})),T=ne(()=>C.value==="auto"?b.value:C.value),I=uo("updateHTMLAttrs",(m,M,K)=>{const N=typeof m=="string"?s==null?void 0:s.document.querySelector(m):fo(m);if(!N)return;let j;if(u&&(j=s.document.createElement("style"),j.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild(j)),M==="class"){const F=K.split(/\s/g);Object.values(d).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{F.includes(w)?N.classList.add(w):N.classList.remove(w)})}else N.setAttribute(M,K);u&&(s.getComputedStyle(j).opacity,document.head.removeChild(j))});function V(m){var M;I(t,n,(M=d[m])!=null?M:m)}function L(m){e.onChanged?e.onChanged(m,V):V(m)}Ze(T,L,{flush:"post",immediate:!0}),co(()=>L(T.value));const x=ne({get(){return c?C.value:T.value},set(m){C.value=m}});try{return Object.assign(x,{store:C,system:b,state:T})}catch{return x}}function wc(e={}){const{valueDark:t="dark",valueLight:n="",window:i=ke}=e,s=bc({...e,onChanged:(l,a)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,l==="dark",a,l):a(l)},modes:{dark:t,light:n}}),r=ne(()=>s.system?s.system.value:po({window:i}).value?"dark":"light");return ne({get(){return s.value==="dark"},set(l){const a=l?"dark":"light";r.value===a?s.value="auto":s.value=a}})}function ri(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Af(e,t,n={}){const{window:i=ke}=n;return Xi(e,t,i==null?void 0:i.localStorage,n)}function mo(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const oi=new WeakMap;function Sf(e,t=!1){const n=ae(t);let i=null,s="";Ze(lo(e),l=>{const a=ri(Oe(l));if(a){const c=a;if(oi.get(c)||oi.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(s=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ri(Oe(e));!l||n.value||(Vs&&(i=Zt(l,"touchmove",a=>{_c(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=ri(Oe(e));!l||!n.value||(Vs&&(i==null||i()),l.style.overflow=s,oi.delete(l),n.value=!1)};return Ji(o),ne({get(){return n.value},set(l){l?r():o()}})}function jf(e,t,n={}){const{window:i=ke}=n;return Xi(e,t,i==null?void 0:i.sessionStorage,n)}function Of(e={}){const{window:t=ke,behavior:n="auto"}=e;if(!t)return{x:ae(0),y:ae(0)};const i=ae(t.scrollX),s=ae(t.scrollY),r=ne({get(){return i.value},set(l){scrollTo({left:l,behavior:n})}}),o=ne({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Zt(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:r,y:o}}const ho=/^(?:[a-z]+:|\/\/)/i,Cc="vitepress-theme-appearance",go=/#.*$/,Ec=/(index)?\.(md|html)$/,Ee=typeof document<"u",xo={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Tc(e,t,n=!1){if(t===void 0)return!1;if(e=Ws(`/${e}`),n)return new RegExp(t).test(e);if(Ws(t)!==e)return!1;const i=t.match(go);return i?(Ee?location.hash:"")===i[0]:!0}function Ws(e){return decodeURI(e).replace(go,"").replace(Ec,"")}function Ac(e){return ho.test(e)}function Sc(e,t){var i,s,r,o,l,a,c;const n=Object.keys(e.locales).find(u=>u!=="root"&&!Ac(u)&&Tc(t,`/${u}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((i=e.locales[n])==null?void 0:i.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((r=e.locales[n])==null?void 0:r.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:vo(e.head,((a=e.locales[n])==null?void 0:a.head)??[]),themeConfig:{...e.themeConfig,...(c=e.locales[n])==null?void 0:c.themeConfig}})}function yo(e,t){const n=t.title||e.title,i=t.titleTemplate??e.titleTemplate;if(typeof i=="string"&&i.includes(":title"))return i.replace(/:title/g,n);const s=jc(e.title,i);return`${n}${s}`}function jc(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function Oc(e,t){const[n,i]=t;if(n!=="meta")return!1;const s=Object.entries(i)[0];return s==null?!1:e.some(([r,o])=>r===n&&o[s[0]]===s[1])}function vo(e,t){return[...e.filter(n=>!Oc(t,n)),...t]}const Rc=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Mc=/^[a-z]:/i;function zs(e){const t=Mc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Rc,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Pc=Symbol(),dt=$i(ic);function Rf(e){const t=ne(()=>Sc(dt.value,e.data.relativePath)),n=t.value.appearance,i=n==="force-dark"?ae(!0):n?wc({storageKey:Cc,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):ae(!1);return{site:t,theme:ne(()=>t.value.themeConfig),page:ne(()=>e.data),frontmatter:ne(()=>e.data.frontmatter),params:ne(()=>e.data.params),lang:ne(()=>t.value.lang),dir:ne(()=>t.value.dir),localeIndex:ne(()=>t.value.localeIndex||"root"),title:ne(()=>yo(t.value,e.data)),description:ne(()=>e.data.description||t.value.description),isDark:i}}function Ic(){const e=Ct(Pc);if(!e)throw new Error("vitepress data not properly injected in app");return e}const Fc={ez:"application/andrew-inset",aw:"application/applixware",atom:"application/atom+xml",atomcat:"application/atomcat+xml",atomdeleted:"application/atomdeleted+xml",atomsvc:"application/atomsvc+xml",dwd:"application/atsc-dwd+xml",held:"application/atsc-held+xml",rsat:"application/atsc-rsat+xml",bdoc:"application/bdoc",xcs:"application/calendar+xml",ccxml:"application/ccxml+xml",cdfx:"application/cdfx+xml",cdmia:"application/cdmi-capability",cdmic:"application/cdmi-container",cdmid:"application/cdmi-domain",cdmio:"application/cdmi-object",cdmiq:"application/cdmi-queue",cu:"application/cu-seeme",mpd:"application/dash+xml",davmount:"application/davmount+xml",dbk:"application/docbook+xml",dssc:"application/dssc+der",xdssc:"application/dssc+xml",es:"application/ecmascript",ecma:"application/ecmascript",emma:"application/emma+xml",emotionml:"application/emotionml+xml",epub:"application/epub+zip",exi:"application/exi",fdt:"application/fdt+xml",pfr:"application/font-tdpfr",geojson:"application/geo+json",gml:"application/gml+xml",gpx:"application/gpx+xml",gxf:"application/gxf",gz:"application/gzip",hjson:"application/hjson",stk:"application/hyperstudio",ink:"application/inkml+xml",inkml:"application/inkml+xml",ipfix:"application/ipfix",its:"application/its+xml",jar:"application/java-archive",war:"application/java-archive",ear:"application/java-archive",ser:"application/java-serialized-object",class:"application/java-vm",js:"application/javascript",mjs:"application/javascript",json:"application/json",map:"application/json",json5:"application/json5",jsonml:"application/jsonml+json",jsonld:"application/ld+json",lgr:"application/lgr+xml",lostxml:"application/lost+xml",hqx:"application/mac-binhex40",cpt:"application/mac-compactpro",mads:"application/mads+xml",webmanifest:"application/manifest+json",mrc:"application/marc",mrcx:"application/marcxml+xml",ma:"application/mathematica",nb:"application/mathematica",mb:"application/mathematica",mathml:"application/mathml+xml",mbox:"application/mbox",mscml:"application/mediaservercontrol+xml",metalink:"application/metalink+xml",meta4:"application/metalink4+xml",mets:"application/mets+xml",maei:"application/mmt-aei+xml",musd:"application/mmt-usd+xml",mods:"application/mods+xml",m21:"application/mp21",mp21:"application/mp21",mp4s:"application/mp4",m4p:"application/mp4",doc:"application/msword",dot:"application/msword",mxf:"application/mxf",nq:"application/n-quads",nt:"application/n-triples",cjs:"application/node",bin:"application/octet-stream",dms:"application/octet-stream",lrf:"application/octet-stream",mar:"application/octet-stream",so:"application/octet-stream",dist:"application/octet-stream",distz:"application/octet-stream",pkg:"application/octet-stream",bpk:"application/octet-stream",dump:"application/octet-stream",elc:"application/octet-stream",deploy:"application/octet-stream",exe:"application/octet-stream",dll:"application/octet-stream",deb:"application/octet-stream",dmg:"application/octet-stream",iso:"application/octet-stream",img:"application/octet-stream",msi:"application/octet-stream",msp:"application/octet-stream",msm:"application/octet-stream",buffer:"application/octet-stream",oda:"application/oda",opf:"application/oebps-package+xml",ogx:"application/ogg",omdoc:"application/omdoc+xml",onetoc:"application/onenote",onetoc2:"application/onenote",onetmp:"application/onenote",onepkg:"application/onenote",oxps:"application/oxps",relo:"application/p2p-overlay+xml",xer:"application/patch-ops-error+xml",pdf:"application/pdf",pgp:"application/pgp-encrypted",asc:"application/pgp-signature",sig:"application/pgp-signature",prf:"application/pics-rules",p10:"application/pkcs10",p7m:"application/pkcs7-mime",p7c:"application/pkcs7-mime",p7s:"application/pkcs7-signature",p8:"application/pkcs8",ac:"application/pkix-attr-cert",cer:"application/pkix-cert",crl:"application/pkix-crl",pkipath:"application/pkix-pkipath",pki:"application/pkixcmp",pls:"application/pls+xml",ai:"application/postscript",eps:"application/postscript",ps:"application/postscript",provx:"application/provenance+xml",cww:"application/prs.cww",pskcxml:"application/pskc+xml",raml:"application/raml+yaml",rdf:"application/rdf+xml",owl:"application/rdf+xml",rif:"application/reginfo+xml",rnc:"application/relax-ng-compact-syntax",rl:"application/resource-lists+xml",rld:"application/resource-lists-diff+xml",rs:"application/rls-services+xml",rapd:"application/route-apd+xml",sls:"application/route-s-tsid+xml",rusd:"application/route-usd+xml",gbr:"application/rpki-ghostbusters",mft:"application/rpki-manifest",roa:"application/rpki-roa",rsd:"application/rsd+xml",rss:"application/rss+xml",rtf:"application/rtf",sbml:"application/sbml+xml",scq:"application/scvp-cv-request",scs:"application/scvp-cv-response",spq:"application/scvp-vp-request",spp:"application/scvp-vp-response",sdp:"application/sdp",senmlx:"application/senml+xml",sensmlx:"application/sensml+xml",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",shf:"application/shf+xml",siv:"application/sieve",sieve:"application/sieve",smi:"application/smil+xml",smil:"application/smil+xml",rq:"application/sparql-query",srx:"application/sparql-results+xml",gram:"application/srgs",grxml:"application/srgs+xml",sru:"application/sru+xml",ssdl:"application/ssdl+xml",ssml:"application/ssml+xml",swidtag:"application/swid+xml",tei:"application/tei+xml",teicorpus:"application/tei+xml",tfi:"application/thraud+xml",tsd:"application/timestamped-data",toml:"application/toml",trig:"application/trig",ttml:"application/ttml+xml",ubj:"application/ubjson",rsheet:"application/urc-ressheet+xml",td:"application/urc-targetdesc+xml",vxml:"application/voicexml+xml",wasm:"application/wasm",wgt:"application/widget",hlp:"application/winhlp",wsdl:"application/wsdl+xml",wspolicy:"application/wspolicy+xml",xaml:"application/xaml+xml",xav:"application/xcap-att+xml",xca:"application/xcap-caps+xml",xdf:"application/xcap-diff+xml",xel:"application/xcap-el+xml",xns:"application/xcap-ns+xml",xenc:"application/xenc+xml",xhtml:"application/xhtml+xml",xht:"application/xhtml+xml",xlf:"application/xliff+xml",xml:"application/xml",xsl:"application/xml",xsd:"application/xml",rng:"application/xml",dtd:"application/xml-dtd",xop:"application/xop+xml",xpl:"application/xproc+xml",xslt:"application/xml",xspf:"application/xspf+xml",mxml:"application/xv+xml",xhvml:"application/xv+xml",xvml:"application/xv+xml",xvm:"application/xv+xml",yang:"application/yang",yin:"application/yin+xml",zip:"application/zip","3gpp":"video/3gpp",adp:"audio/adpcm",amr:"audio/amr",au:"audio/basic",snd:"audio/basic",mid:"audio/midi",midi:"audio/midi",kar:"audio/midi",rmi:"audio/midi",mxmf:"audio/mobile-xmf",mp3:"audio/mpeg",m4a:"audio/mp4",mp4a:"audio/mp4",mpga:"audio/mpeg",mp2:"audio/mpeg",mp2a:"audio/mpeg",m2a:"audio/mpeg",m3a:"audio/mpeg",oga:"audio/ogg",ogg:"audio/ogg",spx:"audio/ogg",opus:"audio/ogg",s3m:"audio/s3m",sil:"audio/silk",wav:"audio/wav",weba:"audio/webm",xm:"audio/xm",ttc:"font/collection",otf:"font/otf",ttf:"font/ttf",woff:"font/woff",woff2:"font/woff2",exr:"image/aces",apng:"image/apng",avif:"image/avif",bmp:"image/bmp",cgm:"image/cgm",drle:"image/dicom-rle",emf:"image/emf",fits:"image/fits",g3:"image/g3fax",gif:"image/gif",heic:"image/heic",heics:"image/heic-sequence",heif:"image/heif",heifs:"image/heif-sequence",hej2:"image/hej2k",hsj2:"image/hsj2",ief:"image/ief",jls:"image/jls",jp2:"image/jp2",jpg2:"image/jp2",jpeg:"image/jpeg",jpg:"image/jpeg",jpe:"image/jpeg",jph:"image/jph",jhc:"image/jphc",jpm:"image/jpm",jpx:"image/jpx",jpf:"image/jpx",jxr:"image/jxr",jxra:"image/jxra",jxrs:"image/jxrs",jxs:"image/jxs",jxsc:"image/jxsc",jxsi:"image/jxsi",jxss:"image/jxss",ktx:"image/ktx",ktx2:"image/ktx2",png:"image/png",btif:"image/prs.btif",pti:"image/prs.pti",sgi:"image/sgi",svg:"image/svg+xml",svgz:"image/svg+xml",t38:"image/t38",tif:"image/tiff",tiff:"image/tiff",tfx:"image/tiff-fx",webp:"image/webp",wmf:"image/wmf","disposition-notification":"message/disposition-notification",u8msg:"message/global",u8dsn:"message/global-delivery-status",u8mdn:"message/global-disposition-notification",u8hdr:"message/global-headers",eml:"message/rfc822",mime:"message/rfc822","3mf":"model/3mf",gltf:"model/gltf+json",glb:"model/gltf-binary",igs:"model/iges",iges:"model/iges",msh:"model/mesh",mesh:"model/mesh",silo:"model/mesh",mtl:"model/mtl",obj:"model/obj",stpz:"model/step+zip",stpxz:"model/step-xml+zip",stl:"model/stl",wrl:"model/vrml",vrml:"model/vrml",x3db:"model/x3d+fastinfoset",x3dbz:"model/x3d+binary",x3dv:"model/x3d-vrml",x3dvz:"model/x3d+vrml",x3d:"model/x3d+xml",x3dz:"model/x3d+xml",appcache:"text/cache-manifest",manifest:"text/cache-manifest",ics:"text/calendar",ifb:"text/calendar",coffee:"text/coffeescript",litcoffee:"text/coffeescript",css:"text/css",csv:"text/csv",html:"text/html",htm:"text/html",shtml:"text/html",jade:"text/jade",jsx:"text/jsx",less:"text/less",markdown:"text/markdown",md:"text/markdown",mml:"text/mathml",mdx:"text/mdx",n3:"text/n3",txt:"text/plain",text:"text/plain",conf:"text/plain",def:"text/plain",list:"text/plain",log:"text/plain",in:"text/plain",ini:"text/plain",dsc:"text/prs.lines.tag",rtx:"text/richtext",sgml:"text/sgml",sgm:"text/sgml",shex:"text/shex",slim:"text/slim",slm:"text/slim",spdx:"text/spdx",stylus:"text/stylus",styl:"text/stylus",tsv:"text/tab-separated-values",t:"text/troff",tr:"text/troff",roff:"text/troff",man:"text/troff",me:"text/troff",ms:"text/troff",ttl:"text/turtle",uri:"text/uri-list",uris:"text/uri-list",urls:"text/uri-list",vcard:"text/vcard",vtt:"text/vtt",yaml:"text/yaml",yml:"text/yaml","3gp":"video/3gpp","3g2":"video/3gpp2",h261:"video/h261",h263:"video/h263",h264:"video/h264",m4s:"video/iso.segment",jpgv:"video/jpeg",jpgm:"image/jpm",mj2:"video/mj2",mjp2:"video/mj2",ts:"video/mp2t",mp4:"video/mp4",mp4v:"video/mp4",mpg4:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",mpe:"video/mpeg",m1v:"video/mpeg",m2v:"video/mpeg",ogv:"video/ogg",qt:"video/quicktime",mov:"video/quicktime",webm:"video/webm"};function Lc(e){let t=(""+e).trim().toLowerCase(),n=t.lastIndexOf(".");return Fc[~n?t.substring(++n):t]}function kc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ys(e){return ho.test(e)||!e.startsWith("/")?e:kc(dt.value.base,e)}function Nc(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ee){const n="/vue-qrcode-reader/";t=zs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let i=__VP_HASH_MAP__[t.toLowerCase()];if(i||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",i=__VP_HASH_MAP__[t.toLowerCase()]),!i)return null;t=`${n}assets/${t}.${i}.js`}else t=`./${zs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Cn=[];function Mf(e){Cn.push(e),qn(()=>{Cn=Cn.filter(t=>t!==e)})}const Hc=Symbol(),bo="http://a.com",$c=()=>({path:"/",component:null,data:xo});function Pf(e,t){const n=Nn($c()),i={route:n,go:s};async function s(l=Ee?location.href:"/"){var a,c;l=Ci(l),await((a=i.onBeforeRouteChange)==null?void 0:a.call(i,l))!==!1&&(Qs(l),await o(l),await((c=i.onAfterRouteChanged)==null?void 0:c.call(i,l)))}let r=null;async function o(l,a=0,c=!1){var g;if(await((g=i.onBeforePageLoad)==null?void 0:g.call(i,l))===!1)return;const u=new URL(l,bo),d=r=u.pathname;try{let b=await e(d);if(!b)throw new Error(`Page not found: ${d}`);if(r===d){r=null;const{default:C,__pageData:T}=b;if(!C)throw new Error(`Invalid route component: ${C}`);n.path=Ee?d:Ys(d),n.component=Dt(C),n.data=Dt(T),Ee&&$n(()=>{let I=dt.value.base+T.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!dt.value.cleanUrls&&!I.endsWith("/")&&(I+=".html"),I!==u.pathname&&(u.pathname=I,l=I+u.search+u.hash,history.replaceState(null,"",l)),u.hash&&!a){let V=null;try{V=document.getElementById(decodeURIComponent(u.hash).slice(1))}catch(L){console.warn(L)}if(V){Js(V,u.hash);return}}window.scrollTo(0,a)})}}catch(b){if(!/fetch|Page not found/.test(b.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(b),!c)try{const C=await fetch(dt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await C.json(),await o(l,a,!0);return}catch{}r===d&&(r=null,n.path=Ee?d:Ys(d),n.component=t?Dt(t):null,n.data=xo)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const c=l.target.closest("a");if(c&&!c.closest(".vp-raw")&&(c instanceof SVGElement||!c.download)){const{target:u}=c,{href:d,origin:g,pathname:b,hash:C,search:T}=new URL(c.href instanceof SVGAnimatedString?c.href.animVal:c.href,c.baseURI),I=window.location,V=Lc(b);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!u&&g===I.origin&&(!V||V==="text/html")&&(l.preventDefault(),b===I.pathname&&T===I.search?(C!==I.hash&&(history.pushState(null,"",C),window.dispatchEvent(new Event("hashchange"))),C?Js(c,C,c.classList.contains("header-anchor")):(Qs(d),window.scrollTo(0,0))):s(d))}},{capture:!0}),window.addEventListener("popstate",async l=>{var a;await o(Ci(location.href),l.state&&l.state.scrollPosition||0),(a=i.onAfterRouteChanged)==null||a.call(i,location.href)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),i}function Dc(){const e=Ct(Hc);if(!e)throw new Error("useRouter() is called without provider.");return e}function wo(){return Dc().route}function Js(e,t,n=!1){let i=null;try{i=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(i){let s=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},r=dt.value.scrollOffset,o=0,l=24;if(typeof r=="object"&&"padding"in r&&(l=r.padding,r=r.selector),typeof r=="number")o=r;else if(typeof r=="string")o=Xs(r,l);else if(Array.isArray(r))for(const u of r){const d=Xs(u,l);if(d){o=d;break}}const a=parseInt(window.getComputedStyle(i).paddingTop,10),c=window.scrollY+i.getBoundingClientRect().top-o+a;requestAnimationFrame(s)}}function Xs(e,t){const n=document.querySelector(e);if(!n)return 0;const i=n.getBoundingClientRect().bottom;return i<0?0:i+t}function Qs(e){Ee&&e!==Ci(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function Ci(e){const t=new URL(e,bo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),dt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const li=()=>Cn.forEach(e=>e()),If=Bi({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=wo(),{site:n}=Ic();return()=>wi(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?wi(t.component,{onVnodeMounted:li,onVnodeUpdated:li,onVnodeUnmounted:li}):"404 Page Not Found"])}}),Uc="modulepreload",Bc=function(e){return"/vue-qrcode-reader/"+e},Zs={},Ff=function(t,n,i){let s=Promise.resolve();return n&&n.length>0&&(document.getElementsByTagName("link"),s=Promise.all(n.map(r=>{if(r=Bc(r),r in Zs)return;Zs[r]=!0;const o=r.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${l}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":Uc,o||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),o)return new Promise((c,u)=>{a.addEventListener("load",c),a.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})}))),s.then(()=>t()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},Lf=Bi({setup(e,{slots:t}){const n=ae(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function kf(){Ee&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const i=(n=t.parentElement)==null?void 0:n.parentElement;if(!i)return;const s=Array.from(i.querySelectorAll("input")).indexOf(t);if(s<0)return;const r=i.querySelector(".blocks");if(!r)return;const o=Array.from(r.children).find(c=>c.classList.contains("active"));if(!o)return;const l=r.children[s];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const a=i==null?void 0:i.querySelector(`label[for="${t.id}"]`);a==null||a.scrollIntoView({block:"nearest"})}})}function Nf(){if(Ee){const e=new WeakMap;window.addEventListener("click",t=>{var i;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,r=(i=n.nextElementSibling)==null?void 0:i.nextElementSibling;if(!s||!r)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className);let l="";r.querySelectorAll("span.line:not(.diff.remove)").forEach(a=>l+=(a.textContent||"")+` -`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Kc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Kc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const i=document.getSelection(),s=i?i.rangeCount>0&&i.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(i.removeAllRanges(),i.addRange(s)),n&&n.focus()}}function Hf(e,t){let n=[],i=!0;const s=r=>{if(i){i=!1;return}const o=r.map(Gs);n.forEach((l,a)=>{const c=o.findIndex(u=>u==null?void 0:u.isEqualNode(l??null));c!==-1?delete o[c]:(l==null||l.remove(),delete n[a])}),o.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...o].filter(Boolean)};Ui(()=>{const r=e.data,o=t.value,l=r&&r.description,a=r&&r.frontmatter.head||[],c=yo(o,r);c!==document.title&&(document.title=c);const u=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==u&&d.setAttribute("content",u):Gs(["meta",{name:"description",content:u}]),s(vo(o.head,qc(a)))})}function Gs([e,t,n]){const i=document.createElement(e);for(const s in t)i.setAttribute(s,t[s]);return n&&(i.innerHTML=n),e==="script"&&!t.async&&(i.async=!1),i}function Vc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function qc(e){return e.filter(t=>!Vc(t))}const ai=new Set,_o=()=>document.createElement("link"),Wc=e=>{const t=_o();t.rel="prefetch",t.href=e,document.head.appendChild(t)},zc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let vn;const Yc=Ee&&(vn=_o())&&vn.relList&&vn.relList.supports&&vn.relList.supports("prefetch")?Wc:zc;function $f(){if(!Ee||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const i=()=>{n&&n.disconnect(),n=new IntersectionObserver(r=>{r.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:a}=l;if(!ai.has(a)){ai.add(a);const c=Nc(a);c&&Yc(c)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(r=>{const{hostname:o,pathname:l}=new URL(r.href instanceof SVGAnimatedString?r.href.animVal:r.href,r.baseURI),a=l.match(/\.\w+$/);a&&a[0]!==".html"||r.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(r):ai.add(l))})})};It(i);const s=wo();Ze(()=>s.path,i),qn(()=>{n&&n.disconnect()})}export{ea as $,qn as A,ef as B,Dl as C,Zc as D,sf as E,ge as F,$i as G,Mf as H,se as I,Gc as J,ho as K,wo as L,ga as M,Ct as N,ji as O,$n as P,Of as Q,ff as R,Hn as S,eo as T,_f as U,hl as V,Tf as W,nf as X,Ff as Y,Sf as Z,wf as _,Xr as a,of as a0,yf as a1,xf as a2,lf as a3,tf as a4,hf as a5,gf as a6,df as a7,pf as a8,Dt as a9,vf as aA,Hf as aa,Hc as ab,Rf as ac,Pc as ad,If as ae,Lf as af,dt as ag,bf as ah,Pf as ai,Nc as aj,$f as ak,Nf as al,kf as am,wi as an,fo as ao,Ji as ap,Ef as aq,jf as ar,Af as as,Cf as at,Dc as au,Zt as av,Ir as aw,mf as ax,pe as ay,af as az,zr as b,cf as c,Bi as d,uf as e,Ys as f,ne as g,ae as h,Ac as i,It as j,Jr as k,Lc as l,yr as m,Oi as n,qr as o,Xc as p,Qc as q,rf as r,Tc as s,Jc as t,Ic as u,Ee as v,Tl as w,hc as x,Ze as y,Ui as z}; diff --git a/assets/chunks/framework.CI0_Jyb9.js b/assets/chunks/framework.CI0_Jyb9.js new file mode 100644 index 00000000..a57f0b57 --- /dev/null +++ b/assets/chunks/framework.CI0_Jyb9.js @@ -0,0 +1,2 @@ +function Ei(e,t){const n=Object.create(null),i=e.split(",");for(let s=0;s!!n[s]}const te={},yt=[],Fe=()=>{},Eo=()=>!1,Gt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Ti=e=>e.startsWith("onUpdate:"),ue=Object.assign,Ai=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},To=Object.prototype.hasOwnProperty,X=(e,t)=>To.call(e,t),k=Array.isArray,vt=e=>en(e)==="[object Map]",Ot=e=>en(e)==="[object Set]",ts=e=>en(e)==="[object Date]",q=e=>typeof e=="function",ie=e=>typeof e=="string",Ge=e=>typeof e=="symbol",G=e=>e!==null&&typeof e=="object",Zs=e=>(G(e)||q(e))&&q(e.then)&&q(e.catch),Gs=Object.prototype.toString,en=e=>Gs.call(e),Ao=e=>en(e).slice(8,-1),er=e=>en(e)==="[object Object]",Si=e=>ie(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,$t=Ei(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Fn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},So=/-(\w)/g,Le=Fn(e=>e.replace(So,(t,n)=>n?n.toUpperCase():"")),jo=/\B([A-Z])/g,mt=Fn(e=>e.replace(jo,"-$1").toLowerCase()),Ln=Fn(e=>e.charAt(0).toUpperCase()+e.slice(1)),bn=Fn(e=>e?`on${Ln(e)}`:""),et=(e,t)=>!Object.is(e,t),wn=(e,t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},Tn=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ro=e=>{const t=ie(e)?Number(e):NaN;return isNaN(t)?e:t};let ns;const ci=()=>ns||(ns=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ji(e){if(k(e)){const t={};for(let n=0;n{if(n){const i=n.split(Mo);i.length>1&&(t[i[0].trim()]=i[1].trim())}}),t}function Ri(e){let t="";if(ie(e))t=e;else if(k(e))for(let n=0;ntn(n,t))}const Yc=e=>ie(e)?e:e==null?"":k(e)||G(e)&&(e.toString===Gs||!q(e.toString))?JSON.stringify(e,nr,2):String(e),nr=(e,t)=>t&&t.__v_isRef?nr(e,t.value):vt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[i,s],r)=>(n[Qn(i,r)+" =>"]=s,n),{})}:Ot(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Qn(n))}:Ge(t)?Qn(t):G(t)&&!k(t)&&!er(t)?String(t):t,Qn=(e,t="")=>{var n;return Ge(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};let ve;class No{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this.parent=ve,!t&&ve&&(this.index=(ve.scopes||(ve.scopes=[])).push(this)-1)}get active(){return this._active}run(t){if(this._active){const n=ve;try{return ve=this,t()}finally{ve=n}}}on(){ve=this}off(){ve=this.parent}stop(t){if(this._active){let n,i;for(n=0,i=this.effects.length;n{const t=new Set(e);return t.w=0,t.n=0,t},sr=e=>(e.w&tt)>0,rr=e=>(e.n&tt)>0,Do=({deps:e})=>{if(e.length)for(let t=0;t{const{deps:t}=e;if(t.length){let n=0;for(let i=0;i{(u==="length"||!Ge(u)&&u>=a)&&l.push(c)})}else switch(n!==void 0&&l.push(o.get(n)),t){case"add":k(e)?Si(n)&&l.push(o.get("length")):(l.push(o.get(ut)),vt(e)&&l.push(o.get(ui)));break;case"delete":k(e)||(l.push(o.get(ut)),vt(e)&&l.push(o.get(ui)));break;case"set":vt(e)&&l.push(o.get(ut));break}if(l.length===1)l[0]&&pi(l[0]);else{const a=[];for(const c of l)c&&a.push(...c);pi(Mi(a))}}function pi(e,t){const n=k(e)?e:[...e];for(const i of n)i.computed&&ss(i);for(const i of n)i.computed||ss(i)}function ss(e,t){(e!==je||e.allowRecurse)&&(e.scheduler?e.scheduler():e.run())}function Bo(e,t){var n;return(n=An.get(e))==null?void 0:n.get(t)}const Ko=Ei("__proto__,__v_isRef,__isVue"),ar=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ge)),rs=Vo();function Vo(){const e={};return["includes","indexOf","lastIndexOf"].forEach(t=>{e[t]=function(...n){const i=Q(this);for(let r=0,o=this.length;r{e[t]=function(...n){Mt();const i=Q(this)[t].apply(this,n);return Pt(),i}}),e}function qo(e){const t=Q(this);return xe(t,"has",e),t.hasOwnProperty(e)}class cr{constructor(t=!1,n=!1){this._isReadonly=t,this._shallow=n}get(t,n,i){const s=this._isReadonly,r=this._shallow;if(n==="__v_isReactive")return!s;if(n==="__v_isReadonly")return s;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(s?r?sl:dr:r?pr:ur).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(i)?t:void 0;const o=k(t);if(!s){if(o&&X(rs,n))return Reflect.get(rs,n,i);if(n==="hasOwnProperty")return qo}const l=Reflect.get(t,n,i);return(Ge(n)?ar.has(n):Ko(n))||(s||xe(t,"get",n),r)?l:pe(l)?o&&Si(n)?l:l.value:G(l)?s?Hn(l):Nn(l):l}}class fr extends cr{constructor(t=!1){super(!1,t)}set(t,n,i,s){let r=t[n];if(!this._shallow){const a=Et(r);if(!Sn(i)&&!Et(i)&&(r=Q(r),i=Q(i)),!k(t)&&pe(r)&&!pe(i))return a?!1:(r.value=i,!0)}const o=k(t)&&Si(n)?Number(n)e,kn=e=>Reflect.getPrototypeOf(e);function ln(e,t,n=!1,i=!1){e=e.__v_raw;const s=Q(e),r=Q(t);n||(et(t,r)&&xe(s,"get",t),xe(s,"get",r));const{has:o}=kn(s),l=i?Ii:n?ki:Wt;if(o.call(s,t))return l(e.get(t));if(o.call(s,r))return l(e.get(r));e!==s&&e.get(t)}function an(e,t=!1){const n=this.__v_raw,i=Q(n),s=Q(e);return t||(et(e,s)&&xe(i,"has",e),xe(i,"has",s)),e===s?n.has(e):n.has(e)||n.has(s)}function cn(e,t=!1){return e=e.__v_raw,!t&&xe(Q(e),"iterate",ut),Reflect.get(e,"size",e)}function os(e){e=Q(e);const t=Q(this);return kn(t).has.call(t,e)||(t.add(e),De(t,"add",e,e)),this}function ls(e,t){t=Q(t);const n=Q(this),{has:i,get:s}=kn(n);let r=i.call(n,e);r||(e=Q(e),r=i.call(n,e));const o=s.call(n,e);return n.set(e,t),r?et(t,o)&&De(n,"set",e,t):De(n,"add",e,t),this}function as(e){const t=Q(this),{has:n,get:i}=kn(t);let s=n.call(t,e);s||(e=Q(e),s=n.call(t,e)),i&&i.call(t,e);const r=t.delete(e);return s&&De(t,"delete",e,void 0),r}function cs(){const e=Q(this),t=e.size!==0,n=e.clear();return t&&De(e,"clear",void 0,void 0),n}function fn(e,t){return function(i,s){const r=this,o=r.__v_raw,l=Q(o),a=t?Ii:e?ki:Wt;return!e&&xe(l,"iterate",ut),o.forEach((c,u)=>i.call(s,a(c),a(u),r))}}function un(e,t,n){return function(...i){const s=this.__v_raw,r=Q(s),o=vt(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,c=s[e](...i),u=n?Ii:t?ki:Wt;return!t&&xe(r,"iterate",a?ui:ut),{next(){const{value:d,done:g}=c.next();return g?{value:d,done:g}:{value:l?[u(d[0]),u(d[1])]:u(d),done:g}},[Symbol.iterator](){return this}}}}function Ke(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Xo(){const e={get(r){return ln(this,r)},get size(){return cn(this)},has:an,add:os,set:ls,delete:as,clear:cs,forEach:fn(!1,!1)},t={get(r){return ln(this,r,!1,!0)},get size(){return cn(this)},has:an,add:os,set:ls,delete:as,clear:cs,forEach:fn(!1,!0)},n={get(r){return ln(this,r,!0)},get size(){return cn(this,!0)},has(r){return an.call(this,r,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:fn(!0,!1)},i={get(r){return ln(this,r,!0,!0)},get size(){return cn(this,!0)},has(r){return an.call(this,r,!0)},add:Ke("add"),set:Ke("set"),delete:Ke("delete"),clear:Ke("clear"),forEach:fn(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{e[r]=un(r,!1,!1),n[r]=un(r,!0,!1),t[r]=un(r,!1,!0),i[r]=un(r,!0,!0)}),[e,n,t,i]}const[Qo,Zo,Go,el]=Xo();function Fi(e,t){const n=t?e?el:Go:e?Zo:Qo;return(i,s,r)=>s==="__v_isReactive"?!e:s==="__v_isReadonly"?e:s==="__v_raw"?i:Reflect.get(X(n,s)&&s in i?n:i,s,r)}const tl={get:Fi(!1,!1)},nl={get:Fi(!1,!0)},il={get:Fi(!0,!1)},ur=new WeakMap,pr=new WeakMap,dr=new WeakMap,sl=new WeakMap;function rl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function ol(e){return e.__v_skip||!Object.isExtensible(e)?0:rl(Ao(e))}function Nn(e){return Et(e)?e:Li(e,!1,zo,tl,ur)}function ll(e){return Li(e,!1,Jo,nl,pr)}function Hn(e){return Li(e,!0,Yo,il,dr)}function Li(e,t,n,i,s){if(!G(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=s.get(e);if(r)return r;const o=ol(e);if(o===0)return e;const l=new Proxy(e,o===2?i:n);return s.set(e,l),l}function bt(e){return Et(e)?bt(e.__v_raw):!!(e&&e.__v_isReactive)}function Et(e){return!!(e&&e.__v_isReadonly)}function Sn(e){return!!(e&&e.__v_isShallow)}function mr(e){return bt(e)||Et(e)}function Q(e){const t=e&&e.__v_raw;return t?Q(t):e}function Dt(e){return En(e,"__v_skip",!0),e}const Wt=e=>G(e)?Nn(e):e,ki=e=>G(e)?Hn(e):e;function Ni(e){Xe&&je&&(e=Q(e),lr(e.dep||(e.dep=Mi())))}function Hi(e,t){e=Q(e);const n=e.dep;n&&pi(n)}function pe(e){return!!(e&&e.__v_isRef===!0)}function ae(e){return hr(e,!1)}function $i(e){return hr(e,!0)}function hr(e,t){return pe(e)?e:new al(e,t)}class al{constructor(t,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?t:Q(t),this._value=n?t:Wt(t)}get value(){return Ni(this),this._value}set value(t){const n=this.__v_isShallow||Sn(t)||Et(t);t=n?t:Q(t),et(t,this._rawValue)&&(this._rawValue=t,this._value=n?t:Wt(t),Hi(this))}}function gr(e){return pe(e)?e.value:e}const cl={get:(e,t,n)=>gr(Reflect.get(e,t,n)),set:(e,t,n,i)=>{const s=e[t];return pe(s)&&!pe(n)?(s.value=n,!0):Reflect.set(e,t,n,i)}};function xr(e){return bt(e)?e:new Proxy(e,cl)}class fl{constructor(t){this.dep=void 0,this.__v_isRef=!0;const{get:n,set:i}=t(()=>Ni(this),()=>Hi(this));this._get=n,this._set=i}get value(){return this._get()}set value(t){this._set(t)}}function ul(e){return new fl(e)}class pl{constructor(t,n,i){this._object=t,this._key=n,this._defaultValue=i,this.__v_isRef=!0}get value(){const t=this._object[this._key];return t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Bo(Q(this._object),this._key)}}class dl{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0}get value(){return this._getter()}}function ml(e,t,n){return pe(e)?e:q(e)?new dl(e):G(e)&&arguments.length>1?hl(e,t,n):ae(e)}function hl(e,t,n){const i=e[t];return pe(i)?i:new pl(e,t,n)}class gl{constructor(t,n,i,s){this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this._dirty=!0,this.effect=new Pi(t,()=>{this._dirty||(this._dirty=!0,Hi(this))}),this.effect.computed=this,this.effect.active=this._cacheable=!s,this.__v_isReadonly=i}get value(){const t=Q(this);return Ni(t),(t._dirty||!t._cacheable)&&(t._dirty=!1,t._value=t.effect.run()),t._value}set value(t){this._setter(t)}}function xl(e,t,n=!1){let i,s;const r=q(e);return r?(i=e,s=Fe):(i=e.get,s=e.set),new gl(i,s,r||!s,n)}function Qe(e,t,n,i){let s;try{s=i?e(...i):e()}catch(r){nn(r,t,n)}return s}function Te(e,t,n,i){if(q(e)){const r=Qe(e,t,n,i);return r&&Zs(r)&&r.catch(o=>{nn(o,t,n)}),r}const s=[];for(let r=0;r>>1,s=de[i],r=Yt(s);rIe&&de.splice(t,1)}function wl(e){k(e)?wt.push(...e):(!$e||!$e.includes(e,e.allowRecurse?lt+1:lt))&&wt.push(e),vr()}function fs(e,t,n=zt?Ie+1:0){for(;nYt(n)-Yt(i)),lt=0;lt<$e.length;lt++)$e[lt]();$e=null,lt=0}}const Yt=e=>e.id==null?1/0:e.id,_l=(e,t)=>{const n=Yt(e)-Yt(t);if(n===0){if(e.pre&&!t.pre)return-1;if(t.pre&&!e.pre)return 1}return n};function br(e){di=!1,zt=!0,de.sort(_l);try{for(Ie=0;Ieie(b)?b.trim():b)),d&&(s=n.map(Tn))}let l,a=i[l=bn(t)]||i[l=bn(Le(t))];!a&&r&&(a=i[l=bn(mt(t))]),a&&Te(a,e,6,s);const c=i[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Te(c,e,6,s)}}function wr(e,t,n=!1){const i=t.emitsCache,s=i.get(e);if(s!==void 0)return s;const r=e.emits;let o={},l=!1;if(!q(e)){const a=c=>{const u=wr(c,t,!0);u&&(l=!0,ue(o,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(G(e)&&i.set(e,null),null):(k(r)?r.forEach(a=>o[a]=null):ue(o,r),G(e)&&i.set(e,o),o)}function Un(e,t){return!e||!Gt(t)?!1:(t=t.slice(2).replace(/Once$/,""),X(e,t[0].toLowerCase()+t.slice(1))||X(e,mt(t))||X(e,t))}let fe=null,Bn=null;function Rn(e){const t=fe;return fe=e,Bn=e&&e.type.__scopeId||null,t}function Jc(e){Bn=e}function Xc(){Bn=null}function El(e,t=fe,n){if(!t||e._n)return e;const i=(...s)=>{i._d&&Cs(-1);const r=Rn(t);let o;try{o=e(...s)}finally{Rn(r),i._d&&Cs(1)}return o};return i._n=!0,i._c=!0,i._d=!0,i}function Zn(e){const{type:t,vnode:n,proxy:i,withProxy:s,props:r,propsOptions:[o],slots:l,attrs:a,emit:c,render:u,renderCache:d,data:g,setupState:b,ctx:C,inheritAttrs:T}=e;let I,V;const L=Rn(e);try{if(n.shapeFlag&4){const m=s||i,M=m;I=Se(u.call(M,m,d,r,b,g,C)),V=a}else{const m=t;I=Se(m.length>1?m(r,{attrs:a,slots:l,emit:c}):m(r,null)),V=t.props?a:Tl(a)}}catch(m){Vt.length=0,nn(m,e,1),I=se(we)}let x=I;if(V&&T!==!1){const m=Object.keys(V),{shapeFlag:M}=x;m.length&&M&7&&(o&&m.some(Ti)&&(V=Al(V,o)),x=nt(x,V))}return n.dirs&&(x=nt(x),x.dirs=x.dirs?x.dirs.concat(n.dirs):n.dirs),n.transition&&(x.transition=n.transition),I=x,Rn(L),I}const Tl=e=>{let t;for(const n in e)(n==="class"||n==="style"||Gt(n))&&((t||(t={}))[n]=e[n]);return t},Al=(e,t)=>{const n={};for(const i in e)(!Ti(i)||!(i.slice(9)in t))&&(n[i]=e[i]);return n};function Sl(e,t,n){const{props:i,children:s,component:r}=e,{props:o,children:l,patchFlag:a}=t,c=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return i?us(i,o,c):!!o;if(a&8){const u=t.dynamicProps;for(let d=0;de.__isSuspense;function Tr(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):wl(e)}function Ui(e,t){return Kn(e,null,t)}function Gc(e,t){return Kn(e,null,{flush:"post"})}const pn={};function Ze(e,t,n){return Kn(e,t,n)}function Kn(e,t,{immediate:n,deep:i,flush:s,onTrack:r,onTrigger:o}=te){var l;const a=ir()===((l=le)==null?void 0:l.scope)?le:null;let c,u=!1,d=!1;if(pe(e)?(c=()=>e.value,u=Sn(e)):bt(e)?(c=()=>e,i=!0):k(e)?(d=!0,u=e.some(m=>bt(m)||Sn(m)),c=()=>e.map(m=>{if(pe(m))return m.value;if(bt(m))return ft(m);if(q(m))return Qe(m,a,2)})):q(e)?t?c=()=>Qe(e,a,2):c=()=>{if(!(a&&a.isUnmounted))return g&&g(),Te(e,a,3,[b])}:c=Fe,t&&i){const m=c;c=()=>ft(m())}let g,b=m=>{g=L.onStop=()=>{Qe(m,a,4),g=L.onStop=void 0}},C;if(jt)if(b=Fe,t?n&&Te(t,a,3,[c(),d?[]:void 0,b]):c(),s==="sync"){const m=Ta();C=m.__watcherHandles||(m.__watcherHandles=[])}else return Fe;let T=d?new Array(e.length).fill(pn):pn;const I=()=>{if(L.active)if(t){const m=L.run();(i||u||(d?m.some((M,K)=>et(M,T[K])):et(m,T)))&&(g&&g(),Te(t,a,3,[m,T===pn?void 0:d&&T[0]===pn?[]:T,b]),T=m)}else L.run()};I.allowRecurse=!!t;let V;s==="sync"?V=I:s==="post"?V=()=>he(I,a&&a.suspense):(I.pre=!0,a&&(I.id=a.uid),V=()=>Dn(I));const L=new Pi(c,V);t?n?I():T=L.run():s==="post"?he(L.run.bind(L),a&&a.suspense):L.run();const x=()=>{L.stop(),a&&a.scope&&Ai(a.scope.effects,L)};return C&&C.push(x),x}function Ol(e,t,n){const i=this.proxy,s=ie(e)?e.includes(".")?Ar(i,e):()=>i[e]:e.bind(i,i);let r;q(t)?r=t:(r=t.handler,n=t);const o=le;St(this);const l=Kn(s,r.bind(i),n);return o?St(o):pt(),l}function Ar(e,t){const n=t.split(".");return()=>{let i=e;for(let s=0;s{ft(n,t)});else if(er(e))for(const n in e)ft(e[n],t);return e}function ef(e,t){const n=fe;if(n===null)return e;const i=Yn(n)||n.proxy,s=e.dirs||(e.dirs=[]);for(let r=0;r{e.isMounted=!0}),Mr(()=>{e.isUnmounting=!0}),e}const _e=[Function,Array],Sr={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:_e,onEnter:_e,onAfterEnter:_e,onEnterCancelled:_e,onBeforeLeave:_e,onLeave:_e,onAfterLeave:_e,onLeaveCancelled:_e,onBeforeAppear:_e,onAppear:_e,onAfterAppear:_e,onAppearCancelled:_e},Pl={name:"BaseTransition",props:Sr,setup(e,{slots:t}){const n=zn(),i=Ml();let s;return()=>{const r=t.default&&Rr(t.default(),!0);if(!r||!r.length)return;let o=r[0];if(r.length>1){for(const T of r)if(T.type!==we){o=T;break}}const l=Q(e),{mode:a}=l;if(i.isLeaving)return Gn(o);const c=ds(o);if(!c)return Gn(o);const u=mi(c,l,i,n);hi(c,u);const d=n.subTree,g=d&&ds(d);let b=!1;const{getTransitionKey:C}=c.type;if(C){const T=C();s===void 0?s=T:T!==s&&(s=T,b=!0)}if(g&&g.type!==we&&(!at(c,g)||b)){const T=mi(g,l,i,n);if(hi(g,T),a==="out-in")return i.isLeaving=!0,T.afterLeave=()=>{i.isLeaving=!1,n.update.active!==!1&&n.update()},Gn(o);a==="in-out"&&c.type!==we&&(T.delayLeave=(I,V,L)=>{const x=jr(i,g);x[String(g.key)]=g,I[ze]=()=>{V(),I[ze]=void 0,delete u.delayedLeave},u.delayedLeave=L})}return o}}},Il=Pl;function jr(e,t){const{leavingVNodes:n}=e;let i=n.get(t.type);return i||(i=Object.create(null),n.set(t.type,i)),i}function mi(e,t,n,i){const{appear:s,mode:r,persisted:o=!1,onBeforeEnter:l,onEnter:a,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:g,onAfterLeave:b,onLeaveCancelled:C,onBeforeAppear:T,onAppear:I,onAfterAppear:V,onAppearCancelled:L}=t,x=String(e.key),m=jr(n,e),M=(j,F)=>{j&&Te(j,i,9,F)},K=(j,F)=>{const w=F[1];M(j,F),k(j)?j.every(H=>H.length<=1)&&w():j.length<=1&&w()},N={mode:r,persisted:o,beforeEnter(j){let F=l;if(!n.isMounted)if(s)F=T||l;else return;j[ze]&&j[ze](!0);const w=m[x];w&&at(e,w)&&w.el[ze]&&w.el[ze](),M(F,[j])},enter(j){let F=a,w=c,H=u;if(!n.isMounted)if(s)F=I||a,w=V||c,H=L||u;else return;let S=!1;const z=j[dn]=oe=>{S||(S=!0,oe?M(H,[j]):M(w,[j]),N.delayedLeave&&N.delayedLeave(),j[dn]=void 0)};F?K(F,[j,z]):z()},leave(j,F){const w=String(e.key);if(j[dn]&&j[dn](!0),n.isUnmounting)return F();M(d,[j]);let H=!1;const S=j[ze]=z=>{H||(H=!0,F(),z?M(C,[j]):M(b,[j]),j[ze]=void 0,m[w]===e&&delete m[w])};m[w]=e,g?K(g,[j,S]):S()},clone(j){return mi(j,t,n,i)}};return N}function Gn(e){if(sn(e))return e=nt(e),e.children=null,e}function ds(e){return sn(e)?e.children?e.children[0]:void 0:e}function hi(e,t){e.shapeFlag&6&&e.component?hi(e.component.subTree,t):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Rr(e,t=!1,n){let i=[],s=0;for(let r=0;r1)for(let r=0;r!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function tf(e){q(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:i,delay:s=200,timeout:r,suspensible:o=!0,onError:l}=e;let a=null,c,u=0;const d=()=>(u++,a=null,g()),g=()=>{let b;return a||(b=a=t().catch(C=>{if(C=C instanceof Error?C:new Error(String(C)),l)return new Promise((T,I)=>{l(C,()=>T(d()),()=>I(C),u+1)});throw C}).then(C=>b!==a&&a?a:(C&&(C.__esModule||C[Symbol.toStringTag]==="Module")&&(C=C.default),c=C,C)))};return Bi({name:"AsyncComponentWrapper",__asyncLoader:g,get __asyncResolved(){return c},setup(){const b=le;if(c)return()=>ei(c,b);const C=L=>{a=null,nn(L,b,13,!i)};if(o&&b.suspense||jt)return g().then(L=>()=>ei(L,b)).catch(L=>(C(L),()=>i?se(i,{error:L}):null));const T=ae(!1),I=ae(),V=ae(!!s);return s&&setTimeout(()=>{V.value=!1},s),r!=null&&setTimeout(()=>{if(!T.value&&!I.value){const L=new Error(`Async component timed out after ${r}ms.`);C(L),I.value=L}},r),g().then(()=>{T.value=!0,b.parent&&sn(b.parent.vnode)&&Dn(b.parent.update)}).catch(L=>{C(L),I.value=L}),()=>{if(T.value&&c)return ei(c,b);if(I.value&&i)return se(i,{error:I.value});if(n&&!V.value)return se(n)}}})}function ei(e,t){const{ref:n,props:i,children:s,ce:r}=t.vnode,o=se(e,i,s);return o.ref=n,o.ce=r,delete t.vnode.ce,o}const sn=e=>e.type.__isKeepAlive;function Fl(e,t){Or(e,"a",t)}function Ll(e,t){Or(e,"da",t)}function Or(e,t,n=le){const i=e.__wdc||(e.__wdc=()=>{let s=n;for(;s;){if(s.isDeactivated)return;s=s.parent}return e()});if(Vn(t,i,n),n){let s=n.parent;for(;s&&s.parent;)sn(s.parent.vnode)&&kl(i,t,n,s),s=s.parent}}function kl(e,t,n,i){const s=Vn(t,e,i,!0);qn(()=>{Ai(i[t],s)},n)}function Vn(e,t,n=le,i=!1){if(n){const s=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;Mt(),St(n);const l=Te(t,n,e,o);return pt(),Pt(),l});return i?s.unshift(r):s.push(r),r}}const Be=e=>(t,n=le)=>(!jt||e==="sp")&&Vn(e,(...i)=>t(...i),n),Nl=Be("bm"),It=Be("m"),Hl=Be("bu"),$l=Be("u"),Mr=Be("bum"),qn=Be("um"),Dl=Be("sp"),Ul=Be("rtg"),Bl=Be("rtc");function Kl(e,t=le){Vn("ec",e,t)}function nf(e,t,n,i){let s;const r=n;if(k(e)||ie(e)){s=new Array(e.length);for(let o=0,l=e.length;ot(o,l,void 0,r));else{const o=Object.keys(e);s=new Array(o.length);for(let l=0,a=o.length;lIn(t)?!(t.type===we||t.type===ge&&!Pr(t.children)):!0)?e:null}function rf(e,t){const n={};for(const i in e)n[/[A-Z]/.test(i)?`on:${i}`:bn(i)]=e[i];return n}const gi=e=>e?Xr(e)?Yn(e)||e.proxy:gi(e.parent):null,Ut=ue(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=>gi(e.parent),$root:e=>gi(e.root),$emit:e=>e.emit,$options:e=>Fr(e),$forceUpdate:e=>e.f||(e.f=()=>Dn(e.update)),$nextTick:e=>e.n||(e.n=$n.bind(e.proxy)),$watch:e=>Ol.bind(e)}),ti=(e,t)=>e!==te&&!e.__isScriptSetup&&X(e,t),Vl={get({_:e},t){const{ctx:n,setupState:i,data:s,props:r,accessCache:o,type:l,appContext:a}=e;let c;if(t[0]!=="$"){const b=o[t];if(b!==void 0)switch(b){case 1:return i[t];case 2:return s[t];case 4:return n[t];case 3:return r[t]}else{if(ti(i,t))return o[t]=1,i[t];if(s!==te&&X(s,t))return o[t]=2,s[t];if((c=e.propsOptions[0])&&X(c,t))return o[t]=3,r[t];if(n!==te&&X(n,t))return o[t]=4,n[t];xi&&(o[t]=0)}}const u=Ut[t];let d,g;if(u)return t==="$attrs"&&xe(e,"get",t),u(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(n!==te&&X(n,t))return o[t]=4,n[t];if(g=a.config.globalProperties,X(g,t))return g[t]},set({_:e},t,n){const{data:i,setupState:s,ctx:r}=e;return ti(s,t)?(s[t]=n,!0):i!==te&&X(i,t)?(i[t]=n,!0):X(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:i,appContext:s,propsOptions:r}},o){let l;return!!n[o]||e!==te&&X(e,o)||ti(t,o)||(l=r[0])&&X(l,o)||X(i,o)||X(Ut,o)||X(s.config.globalProperties,o)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:X(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function of(){return ql().slots}function ql(){const e=zn();return e.setupContext||(e.setupContext=Zr(e))}function ms(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let xi=!0;function Wl(e){const t=Fr(e),n=e.proxy,i=e.ctx;xi=!1,t.beforeCreate&&hs(t.beforeCreate,e,"bc");const{data:s,computed:r,methods:o,watch:l,provide:a,inject:c,created:u,beforeMount:d,mounted:g,beforeUpdate:b,updated:C,activated:T,deactivated:I,beforeDestroy:V,beforeUnmount:L,destroyed:x,unmounted:m,render:M,renderTracked:K,renderTriggered:N,errorCaptured:j,serverPrefetch:F,expose:w,inheritAttrs:H,components:S,directives:z,filters:oe}=t;if(c&&zl(c,i,null),o)for(const J in o){const $=o[J];q($)&&(i[J]=$.bind(n))}if(s){const J=s.call(n,n);G(J)&&(e.data=Nn(J))}if(xi=!0,r)for(const J in r){const $=r[J],Ne=q($)?$.bind(n,n):q($.get)?$.get.bind(n,n):Fe,rn=!q($)&&q($.set)?$.set.bind(n):Fe,it=ne({get:Ne,set:rn});Object.defineProperty(i,J,{enumerable:!0,configurable:!0,get:()=>it.value,set:Oe=>it.value=Oe})}if(l)for(const J in l)Ir(l[J],i,n,J);if(a){const J=q(a)?a.call(n):a;Reflect.ownKeys(J).forEach($=>{Gl($,J[$])})}u&&hs(u,e,"c");function B(J,$){k($)?$.forEach(Ne=>J(Ne.bind(n))):$&&J($.bind(n))}if(B(Nl,d),B(It,g),B(Hl,b),B($l,C),B(Fl,T),B(Ll,I),B(Kl,j),B(Bl,K),B(Ul,N),B(Mr,L),B(qn,m),B(Dl,F),k(w))if(w.length){const J=e.exposed||(e.exposed={});w.forEach($=>{Object.defineProperty(J,$,{get:()=>n[$],set:Ne=>n[$]=Ne})})}else e.exposed||(e.exposed={});M&&e.render===Fe&&(e.render=M),H!=null&&(e.inheritAttrs=H),S&&(e.components=S),z&&(e.directives=z)}function zl(e,t,n=Fe){k(e)&&(e=yi(e));for(const i in e){const s=e[i];let r;G(s)?"default"in s?r=Ct(s.from||i,s.default,!0):r=Ct(s.from||i):r=Ct(s),pe(r)?Object.defineProperty(t,i,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[i]=r}}function hs(e,t,n){Te(k(e)?e.map(i=>i.bind(t.proxy)):e.bind(t.proxy),t,n)}function Ir(e,t,n,i){const s=i.includes(".")?Ar(n,i):()=>n[i];if(ie(e)){const r=t[e];q(r)&&Ze(s,r)}else if(q(e))Ze(s,e.bind(n));else if(G(e))if(k(e))e.forEach(r=>Ir(r,t,n,i));else{const r=q(e.handler)?e.handler.bind(n):t[e.handler];q(r)&&Ze(s,r,e)}}function Fr(e){const t=e.type,{mixins:n,extends:i}=t,{mixins:s,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!s.length&&!n&&!i?a=t:(a={},s.length&&s.forEach(c=>On(a,c,o,!0)),On(a,t,o)),G(t)&&r.set(t,a),a}function On(e,t,n,i=!1){const{mixins:s,extends:r}=t;r&&On(e,r,n,!0),s&&s.forEach(o=>On(e,o,n,!0));for(const o in t)if(!(i&&o==="expose")){const l=Yl[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Yl={data:gs,props:xs,emits:xs,methods:Ht,computed:Ht,beforeCreate:me,created:me,beforeMount:me,mounted:me,beforeUpdate:me,updated:me,beforeDestroy:me,beforeUnmount:me,destroyed:me,unmounted:me,activated:me,deactivated:me,errorCaptured:me,serverPrefetch:me,components:Ht,directives:Ht,watch:Xl,provide:gs,inject:Jl};function gs(e,t){return t?e?function(){return ue(q(e)?e.call(this,this):e,q(t)?t.call(this,this):t)}:t:e}function Jl(e,t){return Ht(yi(e),yi(t))}function yi(e){if(k(e)){const t={};for(let n=0;n1)return n&&q(t)?t.call(i&&i.proxy):t}}function ea(e,t,n,i=!1){const s={},r={};En(r,Wn,1),e.propsDefaults=Object.create(null),kr(e,t,s,r);for(const o in e.propsOptions[0])o in s||(s[o]=void 0);n?e.props=i?s:ll(s):e.type.props?e.props=s:e.props=r,e.attrs=r}function ta(e,t,n,i){const{props:s,attrs:r,vnode:{patchFlag:o}}=e,l=Q(s),[a]=e.propsOptions;let c=!1;if((i||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[g,b]=Nr(d,t,!0);ue(o,g),b&&l.push(...b)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!r&&!a)return G(e)&&i.set(e,yt),yt;if(k(r))for(let u=0;u-1,b[1]=T<0||C-1||X(b,"default"))&&l.push(d)}}}const c=[o,l];return G(e)&&i.set(e,c),c}function ys(e){return e[0]!=="$"}function vs(e){const t=e&&e.toString().match(/^\s*(function|class) (\w+)/);return t?t[2]:e===null?"null":""}function bs(e,t){return vs(e)===vs(t)}function ws(e,t){return k(t)?t.findIndex(n=>bs(n,e)):q(t)&&bs(t,e)?0:-1}const Hr=e=>e[0]==="_"||e==="$stable",Ki=e=>k(e)?e.map(Se):[Se(e)],na=(e,t,n)=>{if(t._n)return t;const i=El((...s)=>Ki(t(...s)),n);return i._c=!1,i},$r=(e,t,n)=>{const i=e._ctx;for(const s in e){if(Hr(s))continue;const r=e[s];if(q(r))t[s]=na(s,r,i);else if(r!=null){const o=Ki(r);t[s]=()=>o}}},Dr=(e,t)=>{const n=Ki(t);e.slots.default=()=>n},ia=(e,t)=>{if(e.vnode.shapeFlag&32){const n=t._;n?(e.slots=Q(t),En(t,"_",n)):$r(t,e.slots={})}else e.slots={},t&&Dr(e,t);En(e.slots,Wn,1)},sa=(e,t,n)=>{const{vnode:i,slots:s}=e;let r=!0,o=te;if(i.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:(ue(s,t),!n&&l===1&&delete s._):(r=!t.$stable,$r(t,s)),o=t}else t&&(Dr(e,t),o={default:1});if(r)for(const l in s)!Hr(l)&&o[l]==null&&delete s[l]};function Pn(e,t,n,i,s=!1){if(k(e)){e.forEach((g,b)=>Pn(g,t&&(k(t)?t[b]:t),n,i,s));return}if(_t(i)&&!s)return;const r=i.shapeFlag&4?Yn(i.component)||i.component.proxy:i.el,o=s?null:r,{i:l,r:a}=e,c=t&&t.r,u=l.refs===te?l.refs={}:l.refs,d=l.setupState;if(c!=null&&c!==a&&(ie(c)?(u[c]=null,X(d,c)&&(d[c]=null)):pe(c)&&(c.value=null)),q(a))Qe(a,l,12,[o,u]);else{const g=ie(a),b=pe(a);if(g||b){const C=()=>{if(e.f){const T=g?X(d,a)?d[a]:u[a]:a.value;s?k(T)&&Ai(T,r):k(T)?T.includes(r)||T.push(r):g?(u[a]=[r],X(d,a)&&(d[a]=u[a])):(a.value=[r],e.k&&(u[e.k]=a.value))}else g?(u[a]=o,X(d,a)&&(d[a]=o)):b&&(a.value=o,e.k&&(u[e.k]=o))};o?(C.id=-1,he(C,n)):C()}}}let Ve=!1;const mn=e=>/svg/.test(e.namespaceURI)&&e.tagName!=="foreignObject",hn=e=>e.nodeType===8;function ra(e){const{mt:t,p:n,o:{patchProp:i,createText:s,nextSibling:r,parentNode:o,remove:l,insert:a,createComment:c}}=e,u=(x,m)=>{if(!m.hasChildNodes()){n(null,x,m),jn(),m._vnode=x;return}Ve=!1,d(m.firstChild,x,null,null,null),jn(),m._vnode=x,Ve&&console.error("Hydration completed but contains mismatches.")},d=(x,m,M,K,N,j=!1)=>{const F=hn(x)&&x.data==="[",w=()=>T(x,m,M,K,N,F),{type:H,ref:S,shapeFlag:z,patchFlag:oe}=m;let ce=x.nodeType;m.el=x,oe===-2&&(j=!1,m.dynamicChildren=null);let B=null;switch(H){case Tt:ce!==3?m.children===""?(a(m.el=s(""),o(x),x),B=x):B=w():(x.data!==m.children&&(Ve=!0,x.data=m.children),B=r(x));break;case we:L(x)?(B=r(x),V(m.el=x.content.firstChild,x,M)):ce!==8||F?B=w():B=r(x);break;case Kt:if(F&&(x=r(x),ce=x.nodeType),ce===1||ce===3){B=x;const J=!m.children.length;for(let $=0;${j=j||!!m.dynamicChildren;const{type:F,props:w,patchFlag:H,shapeFlag:S,dirs:z,transition:oe}=m,ce=F==="input"||F==="option";if(ce||H!==-1){z&&Pe(m,null,M,"created");let B=!1;if(L(x)){B=Br(K,oe)&&M&&M.vnode.props&&M.vnode.props.appear;const $=x.content.firstChild;B&&oe.beforeEnter($),V($,x,M),m.el=x=$}if(w)if(ce||!j||H&48)for(const $ in w)(ce&&($.endsWith("value")||$==="indeterminate")||Gt($)&&!$t($)||$[0]===".")&&i(x,$,null,w[$],!1,void 0,M);else w.onClick&&i(x,"onClick",null,w.onClick,!1,void 0,M);let J;if((J=w&&w.onVnodeBeforeMount)&&Ce(J,M,m),z&&Pe(m,null,M,"beforeMount"),((J=w&&w.onVnodeMounted)||z||B)&&Tr(()=>{J&&Ce(J,M,m),B&&oe.enter(x),z&&Pe(m,null,M,"mounted")},K),S&16&&!(w&&(w.innerHTML||w.textContent))){let $=b(x.firstChild,m,x,M,K,N,j);for(;$;){Ve=!0;const Ne=$;$=$.nextSibling,l(Ne)}}else S&8&&x.textContent!==m.children&&(Ve=!0,x.textContent=m.children)}return x.nextSibling},b=(x,m,M,K,N,j,F)=>{F=F||!!m.dynamicChildren;const w=m.children,H=w.length;for(let S=0;S{const{slotScopeIds:F}=m;F&&(N=N?N.concat(F):F);const w=o(x),H=b(r(x),m,w,M,K,N,j);return H&&hn(H)&&H.data==="]"?r(m.anchor=H):(Ve=!0,a(m.anchor=c("]"),w,H),H)},T=(x,m,M,K,N,j)=>{if(Ve=!0,m.el=null,j){const H=I(x);for(;;){const S=r(x);if(S&&S!==H)l(S);else break}}const F=r(x),w=o(x);return l(x),n(null,m,w,F,M,K,mn(w),N),F},I=(x,m="[",M="]")=>{let K=0;for(;x;)if(x=r(x),x&&hn(x)&&(x.data===m&&K++,x.data===M)){if(K===0)return r(x);K--}return x},V=(x,m,M)=>{const K=m.parentNode;K&&K.replaceChild(x,m);let N=M;for(;N;)N.vnode.el===m&&(N.vnode.el=N.subTree.el=x),N=N.parent},L=x=>x.nodeType===1&&x.tagName.toLowerCase()==="template";return[u,d]}const he=Tr;function oa(e){return Ur(e)}function la(e){return Ur(e,ra)}function Ur(e,t){const n=ci();n.__VUE__=!0;const{insert:i,remove:s,patchProp:r,createElement:o,createText:l,createComment:a,setText:c,setElementText:u,parentNode:d,nextSibling:g,setScopeId:b=Fe,insertStaticContent:C}=e,T=(f,p,h,y=null,v=null,A=null,O=!1,E=null,R=!!p.dynamicChildren)=>{if(f===p)return;f&&!at(f,p)&&(y=on(f),Oe(f,v,A,!0),f=null),p.patchFlag===-2&&(R=!1,p.dynamicChildren=null);const{type:_,ref:D,shapeFlag:P}=p;switch(_){case Tt:I(f,p,h,y);break;case we:V(f,p,h,y);break;case Kt:f==null&&L(p,h,y,O);break;case ge:S(f,p,h,y,v,A,O,E,R);break;default:P&1?M(f,p,h,y,v,A,O,E,R):P&6?z(f,p,h,y,v,A,O,E,R):(P&64||P&128)&&_.process(f,p,h,y,v,A,O,E,R,ht)}D!=null&&v&&Pn(D,f&&f.ref,A,p||f,!p)},I=(f,p,h,y)=>{if(f==null)i(p.el=l(p.children),h,y);else{const v=p.el=f.el;p.children!==f.children&&c(v,p.children)}},V=(f,p,h,y)=>{f==null?i(p.el=a(p.children||""),h,y):p.el=f.el},L=(f,p,h,y)=>{[f.el,f.anchor]=C(f.children,p,h,y,f.el,f.anchor)},x=({el:f,anchor:p},h,y)=>{let v;for(;f&&f!==p;)v=g(f),i(f,h,y),f=v;i(p,h,y)},m=({el:f,anchor:p})=>{let h;for(;f&&f!==p;)h=g(f),s(f),f=h;s(p)},M=(f,p,h,y,v,A,O,E,R)=>{O=O||p.type==="svg",f==null?K(p,h,y,v,A,O,E,R):F(f,p,v,A,O,E,R)},K=(f,p,h,y,v,A,O,E)=>{let R,_;const{type:D,props:P,shapeFlag:U,transition:W,dirs:Y}=f;if(R=f.el=o(f.type,A,P&&P.is,P),U&8?u(R,f.children):U&16&&j(f.children,R,null,y,v,A&&D!=="foreignObject",O,E),Y&&Pe(f,null,y,"created"),N(R,f,f.scopeId,O,y),P){for(const Z in P)Z!=="value"&&!$t(Z)&&r(R,Z,null,P[Z],A,f.children,y,v,He);"value"in P&&r(R,"value",null,P.value),(_=P.onVnodeBeforeMount)&&Ce(_,y,f)}Y&&Pe(f,null,y,"beforeMount");const ee=Br(v,W);ee&&W.beforeEnter(R),i(R,p,h),((_=P&&P.onVnodeMounted)||ee||Y)&&he(()=>{_&&Ce(_,y,f),ee&&W.enter(R),Y&&Pe(f,null,y,"mounted")},v)},N=(f,p,h,y,v)=>{if(h&&b(f,h),y)for(let A=0;A{for(let _=R;_{const E=p.el=f.el;let{patchFlag:R,dynamicChildren:_,dirs:D}=p;R|=f.patchFlag&16;const P=f.props||te,U=p.props||te;let W;h&&st(h,!1),(W=U.onVnodeBeforeUpdate)&&Ce(W,h,p,f),D&&Pe(p,f,h,"beforeUpdate"),h&&st(h,!0);const Y=v&&p.type!=="foreignObject";if(_?w(f.dynamicChildren,_,E,h,y,Y,A):O||$(f,p,E,null,h,y,Y,A,!1),R>0){if(R&16)H(E,p,P,U,h,y,v);else if(R&2&&P.class!==U.class&&r(E,"class",null,U.class,v),R&4&&r(E,"style",P.style,U.style,v),R&8){const ee=p.dynamicProps;for(let Z=0;Z{W&&Ce(W,h,p,f),D&&Pe(p,f,h,"updated")},y)},w=(f,p,h,y,v,A,O)=>{for(let E=0;E{if(h!==y){if(h!==te)for(const E in h)!$t(E)&&!(E in y)&&r(f,E,h[E],null,O,p.children,v,A,He);for(const E in y){if($t(E))continue;const R=y[E],_=h[E];R!==_&&E!=="value"&&r(f,E,_,R,O,p.children,v,A,He)}"value"in y&&r(f,"value",h.value,y.value)}},S=(f,p,h,y,v,A,O,E,R)=>{const _=p.el=f?f.el:l(""),D=p.anchor=f?f.anchor:l("");let{patchFlag:P,dynamicChildren:U,slotScopeIds:W}=p;W&&(E=E?E.concat(W):W),f==null?(i(_,h,y),i(D,h,y),j(p.children,h,D,v,A,O,E,R)):P>0&&P&64&&U&&f.dynamicChildren?(w(f.dynamicChildren,U,h,v,A,O,E),(p.key!=null||v&&p===v.subTree)&&Vi(f,p,!0)):$(f,p,h,D,v,A,O,E,R)},z=(f,p,h,y,v,A,O,E,R)=>{p.slotScopeIds=E,f==null?p.shapeFlag&512?v.ctx.activate(p,h,y,O,R):oe(p,h,y,v,A,O,R):ce(f,p,R)},oe=(f,p,h,y,v,A,O)=>{const E=f.component=ya(f,y,v);if(sn(f)&&(E.ctx.renderer=ht),va(E),E.asyncDep){if(v&&v.registerDep(E,B),!f.el){const R=E.subTree=se(we);V(null,R,p,h)}return}B(E,f,p,h,v,A,O)},ce=(f,p,h)=>{const y=p.component=f.component;if(Sl(f,p,h))if(y.asyncDep&&!y.asyncResolved){J(y,p,h);return}else y.next=p,bl(y.update),y.update();else p.el=f.el,y.vnode=p},B=(f,p,h,y,v,A,O)=>{const E=()=>{if(f.isMounted){let{next:D,bu:P,u:U,parent:W,vnode:Y}=f,ee=D,Z;st(f,!1),D?(D.el=Y.el,J(f,D,O)):D=Y,P&&wn(P),(Z=D.props&&D.props.onVnodeBeforeUpdate)&&Ce(Z,W,D,Y),st(f,!0);const re=Zn(f),Ae=f.subTree;f.subTree=re,T(Ae,re,d(Ae.el),on(Ae),f,v,A),D.el=re.el,ee===null&&jl(f,re.el),U&&he(U,v),(Z=D.props&&D.props.onVnodeUpdated)&&he(()=>Ce(Z,W,D,Y),v)}else{let D;const{el:P,props:U}=p,{bm:W,m:Y,parent:ee}=f,Z=_t(p);if(st(f,!1),W&&wn(W),!Z&&(D=U&&U.onVnodeBeforeMount)&&Ce(D,ee,p),st(f,!0),P&&Xn){const re=()=>{f.subTree=Zn(f),Xn(P,f.subTree,f,v,null)};Z?p.type.__asyncLoader().then(()=>!f.isUnmounted&&re()):re()}else{const re=f.subTree=Zn(f);T(null,re,h,y,f,v,A),p.el=re.el}if(Y&&he(Y,v),!Z&&(D=U&&U.onVnodeMounted)){const re=p;he(()=>Ce(D,ee,re),v)}(p.shapeFlag&256||ee&&_t(ee.vnode)&&ee.vnode.shapeFlag&256)&&f.a&&he(f.a,v),f.isMounted=!0,p=h=y=null}},R=f.effect=new Pi(E,()=>Dn(_),f.scope),_=f.update=()=>R.run();_.id=f.uid,st(f,!0),_()},J=(f,p,h)=>{p.component=f;const y=f.vnode.props;f.vnode=p,f.next=null,ta(f,p.props,y,h),sa(f,p.children,h),Mt(),fs(f),Pt()},$=(f,p,h,y,v,A,O,E,R=!1)=>{const _=f&&f.children,D=f?f.shapeFlag:0,P=p.children,{patchFlag:U,shapeFlag:W}=p;if(U>0){if(U&128){rn(_,P,h,y,v,A,O,E,R);return}else if(U&256){Ne(_,P,h,y,v,A,O,E,R);return}}W&8?(D&16&&He(_,v,A),P!==_&&u(h,P)):D&16?W&16?rn(_,P,h,y,v,A,O,E,R):He(_,v,A,!0):(D&8&&u(h,""),W&16&&j(P,h,y,v,A,O,E,R))},Ne=(f,p,h,y,v,A,O,E,R)=>{f=f||yt,p=p||yt;const _=f.length,D=p.length,P=Math.min(_,D);let U;for(U=0;UD?He(f,v,A,!0,!1,P):j(p,h,y,v,A,O,E,R,P)},rn=(f,p,h,y,v,A,O,E,R)=>{let _=0;const D=p.length;let P=f.length-1,U=D-1;for(;_<=P&&_<=U;){const W=f[_],Y=p[_]=R?Ye(p[_]):Se(p[_]);if(at(W,Y))T(W,Y,h,null,v,A,O,E,R);else break;_++}for(;_<=P&&_<=U;){const W=f[P],Y=p[U]=R?Ye(p[U]):Se(p[U]);if(at(W,Y))T(W,Y,h,null,v,A,O,E,R);else break;P--,U--}if(_>P){if(_<=U){const W=U+1,Y=WU)for(;_<=P;)Oe(f[_],v,A,!0),_++;else{const W=_,Y=_,ee=new Map;for(_=Y;_<=U;_++){const ye=p[_]=R?Ye(p[_]):Se(p[_]);ye.key!=null&&ee.set(ye.key,_)}let Z,re=0;const Ae=U-Y+1;let gt=!1,Zi=0;const Ft=new Array(Ae);for(_=0;_=Ae){Oe(ye,v,A,!0);continue}let Me;if(ye.key!=null)Me=ee.get(ye.key);else for(Z=Y;Z<=U;Z++)if(Ft[Z-Y]===0&&at(ye,p[Z])){Me=Z;break}Me===void 0?Oe(ye,v,A,!0):(Ft[Me-Y]=_+1,Me>=Zi?Zi=Me:gt=!0,T(ye,p[Me],h,null,v,A,O,E,R),re++)}const Gi=gt?aa(Ft):yt;for(Z=Gi.length-1,_=Ae-1;_>=0;_--){const ye=Y+_,Me=p[ye],es=ye+1{const{el:A,type:O,transition:E,children:R,shapeFlag:_}=f;if(_&6){it(f.component.subTree,p,h,y);return}if(_&128){f.suspense.move(p,h,y);return}if(_&64){O.move(f,p,h,ht);return}if(O===ge){i(A,p,h);for(let P=0;PE.enter(A),v);else{const{leave:P,delayLeave:U,afterLeave:W}=E,Y=()=>i(A,p,h),ee=()=>{P(A,()=>{Y(),W&&W()})};U?U(A,Y,ee):ee()}else i(A,p,h)},Oe=(f,p,h,y=!1,v=!1)=>{const{type:A,props:O,ref:E,children:R,dynamicChildren:_,shapeFlag:D,patchFlag:P,dirs:U}=f;if(E!=null&&Pn(E,null,h,f,!0),D&256){p.ctx.deactivate(f);return}const W=D&1&&U,Y=!_t(f);let ee;if(Y&&(ee=O&&O.onVnodeBeforeUnmount)&&Ce(ee,p,f),D&6)Co(f.component,h,y);else{if(D&128){f.suspense.unmount(h,y);return}W&&Pe(f,null,p,"beforeUnmount"),D&64?f.type.remove(f,p,h,v,ht,y):_&&(A!==ge||P>0&&P&64)?He(_,p,h,!1,!0):(A===ge&&P&384||!v&&D&16)&&He(R,p,h),y&&Xi(f)}(Y&&(ee=O&&O.onVnodeUnmounted)||W)&&he(()=>{ee&&Ce(ee,p,f),W&&Pe(f,null,p,"unmounted")},h)},Xi=f=>{const{type:p,el:h,anchor:y,transition:v}=f;if(p===ge){_o(h,y);return}if(p===Kt){m(f);return}const A=()=>{s(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(f.shapeFlag&1&&v&&!v.persisted){const{leave:O,delayLeave:E}=v,R=()=>O(h,A);E?E(f.el,A,R):R()}else A()},_o=(f,p)=>{let h;for(;f!==p;)h=g(f),s(f),f=h;s(p)},Co=(f,p,h)=>{const{bum:y,scope:v,update:A,subTree:O,um:E}=f;y&&wn(y),v.stop(),A&&(A.active=!1,Oe(O,f,p,h)),E&&he(E,p),he(()=>{f.isUnmounted=!0},p),p&&p.pendingBranch&&!p.isUnmounted&&f.asyncDep&&!f.asyncResolved&&f.suspenseId===p.pendingId&&(p.deps--,p.deps===0&&p.resolve())},He=(f,p,h,y=!1,v=!1,A=0)=>{for(let O=A;Of.shapeFlag&6?on(f.component.subTree):f.shapeFlag&128?f.suspense.next():g(f.anchor||f.el),Qi=(f,p,h)=>{f==null?p._vnode&&Oe(p._vnode,null,null,!0):T(p._vnode||null,f,p,null,null,null,h),fs(),jn(),p._vnode=f},ht={p:T,um:Oe,m:it,r:Xi,mt:oe,mc:j,pc:$,pbc:w,n:on,o:e};let Jn,Xn;return t&&([Jn,Xn]=t(ht)),{render:Qi,hydrate:Jn,createApp:Zl(Qi,Jn)}}function st({effect:e,update:t},n){e.allowRecurse=t.allowRecurse=n}function Br(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vi(e,t,n=!1){const i=e.children,s=t.children;if(k(i)&&k(s))for(let r=0;r>1,e[n[l]]0&&(t[i]=n[r-1]),n[r]=i)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}const ca=e=>e.__isTeleport,Bt=e=>e&&(e.disabled||e.disabled===""),_s=e=>typeof SVGElement<"u"&&e instanceof SVGElement,bi=(e,t)=>{const n=e&&e.to;return ie(n)?t?t(n):null:n},fa={name:"Teleport",__isTeleport:!0,process(e,t,n,i,s,r,o,l,a,c){const{mc:u,pc:d,pbc:g,o:{insert:b,querySelector:C,createText:T,createComment:I}}=c,V=Bt(t.props);let{shapeFlag:L,children:x,dynamicChildren:m}=t;if(e==null){const M=t.el=T(""),K=t.anchor=T("");b(M,n,i),b(K,n,i);const N=t.target=bi(t.props,C),j=t.targetAnchor=T("");N&&(b(j,N),o=o||_s(N));const F=(w,H)=>{L&16&&u(x,w,H,s,r,o,l,a)};V?F(n,K):N&&F(N,j)}else{t.el=e.el;const M=t.anchor=e.anchor,K=t.target=e.target,N=t.targetAnchor=e.targetAnchor,j=Bt(e.props),F=j?n:K,w=j?M:N;if(o=o||_s(K),m?(g(e.dynamicChildren,m,F,s,r,o,l),Vi(e,t,!0)):a||d(e,t,F,w,s,r,o,l,!1),V)j?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):gn(t,n,M,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const H=t.target=bi(t.props,C);H&&gn(t,H,null,c,0)}else j&&gn(t,K,N,c,1)}Kr(t)},remove(e,t,n,i,{um:s,o:{remove:r}},o){const{shapeFlag:l,children:a,anchor:c,targetAnchor:u,target:d,props:g}=e;if(d&&r(u),o&&r(c),l&16){const b=o||!Bt(g);for(let C=0;C0?be||yt:null,pa(),At>0&&be&&be.push(e),e}function af(e,t,n,i,s,r){return qr(Yr(e,t,n,i,s,r,!0))}function Wr(e,t,n,i,s){return qr(se(e,t,n,i,s,!0))}function In(e){return e?e.__v_isVNode===!0:!1}function at(e,t){return e.type===t.type&&e.key===t.key}const Wn="__vInternal",zr=({key:e})=>e??null,_n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ie(e)||pe(e)||q(e)?{i:fe,r:e,k:t,f:!!n}:e:null);function Yr(e,t=null,n=null,i=0,s=null,r=e===ge?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&zr(t),ref:t&&_n(t),scopeId:Bn,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:s,dynamicChildren:null,appContext:null,ctx:fe};return l?(qi(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=ie(n)?8:16),At>0&&!o&&be&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&be.push(a),a}const se=da;function da(e,t=null,n=null,i=0,s=null,r=!1){if((!e||e===Cr)&&(e=we),In(e)){const l=nt(e,t,!0);return n&&qi(l,n),At>0&&!r&&be&&(l.shapeFlag&6?be[be.indexOf(e)]=l:be.push(l)),l.patchFlag|=-2,l}if(Ca(e)&&(e=e.__vccOpts),t){t=ma(t);let{class:l,style:a}=t;l&&!ie(l)&&(t.class=Ri(l)),G(a)&&(mr(a)&&!k(a)&&(a=ue({},a)),t.style=ji(a))}const o=ie(e)?1:Rl(e)?128:ca(e)?64:G(e)?4:q(e)?2:0;return Yr(e,t,n,i,s,o,r,!0)}function ma(e){return e?mr(e)||Wn in e?ue({},e):e:null}function nt(e,t,n=!1){const{props:i,ref:s,patchFlag:r,children:o}=e,l=t?ha(i||{},t):i;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&zr(l),ref:t&&t.ref?n&&s?k(s)?s.concat(_n(t)):[s,_n(t)]:_n(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:o,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ge?r===-1?16:r|16:r,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&nt(e.ssContent),ssFallback:e.ssFallback&&nt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce}}function Jr(e=" ",t=0){return se(Tt,null,e,t)}function cf(e,t){const n=se(Kt,null,e);return n.staticCount=t,n}function ff(e="",t=!1){return t?(Vr(),Wr(we,null,e)):se(we,null,e)}function Se(e){return e==null||typeof e=="boolean"?se(we):k(e)?se(ge,null,e.slice()):typeof e=="object"?Ye(e):se(Tt,null,String(e))}function Ye(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:nt(e)}function qi(e,t){let n=0;const{shapeFlag:i}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(i&65){const s=t.default;s&&(s._c&&(s._d=!1),qi(e,s()),s._c&&(s._d=!0));return}else{n=32;const s=t._;!s&&!(Wn in t)?t._ctx=fe:s===3&&fe&&(fe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else q(t)?(t={default:t,_ctx:fe},n=32):(t=String(t),i&64?(n=16,t=[Jr(t)]):n=8);e.children=t,e.shapeFlag|=n}function ha(...e){const t={};for(let n=0;nle||fe;let Wi,xt,Es="__VUE_INSTANCE_SETTERS__";(xt=ci()[Es])||(xt=ci()[Es]=[]),xt.push(e=>le=e),Wi=e=>{xt.length>1?xt.forEach(t=>t(e)):xt[0](e)};const St=e=>{Wi(e),e.scope.on()},pt=()=>{le&&le.scope.off(),Wi(null)};function Xr(e){return e.vnode.shapeFlag&4}let jt=!1;function va(e,t=!1){jt=t;const{props:n,children:i}=e.vnode,s=Xr(e);ea(e,n,s,t),ia(e,i);const r=s?ba(e,t):void 0;return jt=!1,r}function ba(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=Dt(new Proxy(e.ctx,Vl));const{setup:i}=n;if(i){const s=e.setupContext=i.length>1?Zr(e):null;St(e),Mt();const r=Qe(i,e,0,[e.props,s]);if(Pt(),pt(),Zs(r)){if(r.then(pt,pt),t)return r.then(o=>{Ts(e,o)}).catch(o=>{nn(o,e,0)});e.asyncDep=r}else Ts(e,r)}else Qr(e)}function Ts(e,t,n){q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:G(t)&&(e.setupState=xr(t)),Qr(e)}function Qr(e,t,n){const i=e.type;e.render||(e.render=i.render||Fe);{St(e),Mt();try{Wl(e)}finally{Pt(),pt()}}}function wa(e){return e.attrsProxy||(e.attrsProxy=new Proxy(e.attrs,{get(t,n){return xe(e,"get","$attrs"),t[n]}}))}function Zr(e){const t=n=>{e.exposed=n||{}};return{get attrs(){return wa(e)},slots:e.slots,emit:e.emit,expose:t}}function Yn(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(xr(Dt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Ut)return Ut[n](e)},has(t,n){return n in t||n in Ut}}))}function _a(e,t=!0){return q(e)?e.displayName||e.name:e.name||t&&e.__name}function Ca(e){return q(e)&&"__vccOpts"in e}const ne=(e,t)=>xl(e,t,jt);function wi(e,t,n){const i=arguments.length;return i===2?G(t)&&!k(t)?In(t)?se(e,null,[t]):se(e,t):se(e,null,t):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&In(n)&&(n=[n]),se(e,t,n))}const Ea=Symbol.for("v-scx"),Ta=()=>Ct(Ea);function uf(e,t,n,i){const s=n[i];if(s&&Aa(s,e))return s;const r=t();return r.memo=e.slice(),n[i]=r}function Aa(e,t){const n=e.memo;if(n.length!=t.length)return!1;for(let i=0;i0&&be&&be.push(e),!0}const Sa="3.3.13",ja="http://www.w3.org/2000/svg",ct=typeof document<"u"?document:null,As=ct&&ct.createElement("template"),Ra={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,i)=>{const s=t?ct.createElementNS(ja,e):ct.createElement(e,n?{is:n}:void 0);return e==="select"&&i&&i.multiple!=null&&s.setAttribute("multiple",i.multiple),s},createText:e=>ct.createTextNode(e),createComment:e=>ct.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ct.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,i,s,r){const o=n?n.previousSibling:t.lastChild;if(s&&(s===r||s.nextSibling))for(;t.insertBefore(s.cloneNode(!0),n),!(s===r||!(s=s.nextSibling)););else{As.innerHTML=i?`${e}`:e;const l=As.content;if(i){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},qe="transition",Lt="animation",Jt=Symbol("_vtc"),Gr=(e,{slots:t})=>wi(Il,Oa(e),t);Gr.displayName="Transition";const eo={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Gr.props=ue({},Sr,eo);const rt=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},Ss=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Oa(e){const t={};for(const S in e)S in eo||(t[S]=e[S]);if(e.css===!1)return t;const{name:n="v",type:i,duration:s,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:c=o,appearToClass:u=l,leaveFromClass:d=`${n}-leave-from`,leaveActiveClass:g=`${n}-leave-active`,leaveToClass:b=`${n}-leave-to`}=e,C=Ma(s),T=C&&C[0],I=C&&C[1],{onBeforeEnter:V,onEnter:L,onEnterCancelled:x,onLeave:m,onLeaveCancelled:M,onBeforeAppear:K=V,onAppear:N=L,onAppearCancelled:j=x}=t,F=(S,z,oe)=>{ot(S,z?u:l),ot(S,z?c:o),oe&&oe()},w=(S,z)=>{S._isLeaving=!1,ot(S,d),ot(S,b),ot(S,g),z&&z()},H=S=>(z,oe)=>{const ce=S?N:L,B=()=>F(z,S,oe);rt(ce,[z,B]),js(()=>{ot(z,S?a:r),We(z,S?u:l),Ss(ce)||Rs(z,i,T,B)})};return ue(t,{onBeforeEnter(S){rt(V,[S]),We(S,r),We(S,o)},onBeforeAppear(S){rt(K,[S]),We(S,a),We(S,c)},onEnter:H(!1),onAppear:H(!0),onLeave(S,z){S._isLeaving=!0;const oe=()=>w(S,z);We(S,d),Fa(),We(S,g),js(()=>{S._isLeaving&&(ot(S,d),We(S,b),Ss(m)||Rs(S,i,I,oe))}),rt(m,[S,oe])},onEnterCancelled(S){F(S,!1),rt(x,[S])},onAppearCancelled(S){F(S,!0),rt(j,[S])},onLeaveCancelled(S){w(S),rt(M,[S])}})}function Ma(e){if(e==null)return null;if(G(e))return[ni(e.enter),ni(e.leave)];{const t=ni(e);return[t,t]}}function ni(e){return Ro(e)}function We(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[Jt]||(e[Jt]=new Set)).add(t)}function ot(e,t){t.split(/\s+/).forEach(i=>i&&e.classList.remove(i));const n=e[Jt];n&&(n.delete(t),n.size||(e[Jt]=void 0))}function js(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Pa=0;function Rs(e,t,n,i){const s=e._endId=++Pa,r=()=>{s===e._endId&&i()};if(n)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Ia(e,t);if(!o)return i();const c=o+"end";let u=0;const d=()=>{e.removeEventListener(c,g),r()},g=b=>{b.target===e&&++u>=a&&d()};setTimeout(()=>{u(n[C]||"").split(", "),s=i(`${qe}Delay`),r=i(`${qe}Duration`),o=Os(s,r),l=i(`${Lt}Delay`),a=i(`${Lt}Duration`),c=Os(l,a);let u=null,d=0,g=0;t===qe?o>0&&(u=qe,d=o,g=r.length):t===Lt?c>0&&(u=Lt,d=c,g=a.length):(d=Math.max(o,c),u=d>0?o>c?qe:Lt:null,g=u?u===qe?r.length:a.length:0);const b=u===qe&&/\b(transform|all)(,|$)/.test(i(`${qe}Property`).toString());return{type:u,timeout:d,propCount:g,hasTransform:b}}function Os(e,t){for(;e.lengthMs(n)+Ms(e[i])))}function Ms(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Fa(){return document.body.offsetHeight}function La(e,t,n){const i=e[Jt];i&&(t=(t?[t,...i]:[...i]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const zi=Symbol("_vod"),pf={beforeMount(e,{value:t},{transition:n}){e[zi]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):kt(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:i}){!t!=!n&&(i?t?(i.beforeEnter(e),kt(e,!0),i.enter(e)):i.leave(e,()=>{kt(e,!1)}):kt(e,t))},beforeUnmount(e,{value:t}){kt(e,t)}};function kt(e,t){e.style.display=t?e[zi]:"none"}const ka=Symbol("");function Na(e,t,n){const i=e.style,s=ie(n);if(n&&!s){if(t&&!ie(t))for(const r in t)n[r]==null&&_i(i,r,"");for(const r in n)_i(i,r,n[r])}else{const r=i.display;if(s){if(t!==n){const o=i[ka];o&&(n+=";"+o),i.cssText=n}}else t&&e.removeAttribute("style");zi in e&&(i.display=r)}}const Ps=/\s*!important$/;function _i(e,t,n){if(k(n))n.forEach(i=>_i(e,t,i));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const i=Ha(e,t);Ps.test(n)?e.setProperty(mt(i),n.replace(Ps,""),"important"):e[i]=n}}const Is=["Webkit","Moz","ms"],ii={};function Ha(e,t){const n=ii[t];if(n)return n;let i=Le(t);if(i!=="filter"&&i in e)return ii[t]=i;i=Ln(i);for(let s=0;ssi||(Va.then(()=>si=0),si=Date.now());function Wa(e,t){const n=i=>{if(!i._vts)i._vts=Date.now();else if(i._vts<=n.attached)return;Te(za(i,n.value),t,5,[i])};return n.value=e,n.attached=qa(),n}function za(e,t){if(k(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(i=>s=>!s._stopped&&i&&i(s))}else return t}const Ns=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ya=(e,t,n,i,s=!1,r,o,l,a)=>{t==="class"?La(e,i,s):t==="style"?Na(e,n,i):Gt(t)?Ti(t)||Ba(e,t,n,i,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ja(e,t,i,s))?Da(e,t,i,r,o,l,a):(t==="true-value"?e._trueValue=i:t==="false-value"&&(e._falseValue=i),$a(e,t,i,s))};function Ja(e,t,n,i){if(i)return!!(t==="innerHTML"||t==="textContent"||t in e&&Ns(t)&&q(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const s=e.tagName;if(s==="IMG"||s==="VIDEO"||s==="CANVAS"||s==="SOURCE")return!1}return Ns(t)&&ie(n)?!1:t in e}const Rt=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>wn(t,n):t};function Xa(e){e.target.composing=!0}function Hs(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ue=Symbol("_assign"),df={created(e,{modifiers:{lazy:t,trim:n,number:i}},s){e[Ue]=Rt(s);const r=i||s.props&&s.props.type==="number";Je(e,t?"change":"input",o=>{if(o.target.composing)return;let l=e.value;n&&(l=l.trim()),r&&(l=Tn(l)),e[Ue](l)}),n&&Je(e,"change",()=>{e.value=e.value.trim()}),t||(Je(e,"compositionstart",Xa),Je(e,"compositionend",Hs),Je(e,"change",Hs))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,modifiers:{lazy:n,trim:i,number:s}},r){if(e[Ue]=Rt(r),e.composing)return;const o=s||e.type==="number"?Tn(e.value):e.value,l=t??"";o!==l&&(document.activeElement===e&&e.type!=="range"&&(n||i&&e.value.trim()===l)||(e.value=l))}},mf={deep:!0,created(e,t,n){e[Ue]=Rt(n),Je(e,"change",()=>{const i=e._modelValue,s=Xt(e),r=e.checked,o=e[Ue];if(k(i)){const l=Oi(i,s),a=l!==-1;if(r&&!a)o(i.concat(s));else if(!r&&a){const c=[...i];c.splice(l,1),o(c)}}else if(Ot(i)){const l=new Set(i);r?l.add(s):l.delete(s),o(l)}else o(to(e,r))})},mounted:$s,beforeUpdate(e,t,n){e[Ue]=Rt(n),$s(e,t,n)}};function $s(e,{value:t,oldValue:n},i){e._modelValue=t,k(t)?e.checked=Oi(t,i.props.value)>-1:Ot(t)?e.checked=t.has(i.props.value):t!==n&&(e.checked=tn(t,to(e,!0)))}const hf={deep:!0,created(e,{value:t,modifiers:{number:n}},i){const s=Ot(t);Je(e,"change",()=>{const r=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?Tn(Xt(o)):Xt(o));e[Ue](e.multiple?s?new Set(r):r:r[0])}),e[Ue]=Rt(i)},mounted(e,{value:t}){Ds(e,t)},beforeUpdate(e,t,n){e[Ue]=Rt(n)},updated(e,{value:t}){Ds(e,t)}};function Ds(e,t){const n=e.multiple;if(!(n&&!k(t)&&!Ot(t))){for(let i=0,s=e.options.length;i-1:r.selected=t.has(o);else if(tn(Xt(r),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Xt(e){return"_value"in e?e._value:e.value}function to(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Qa=["ctrl","shift","alt","meta"],Za={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&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qa.some(n=>e[`${n}Key`]&&!t.includes(n))},gf=(e,t)=>{const n=e._withMods||(e._withMods={}),i=t.join(".");return n[i]||(n[i]=(s,...r)=>{for(let o=0;o{const n=e._withKeys||(e._withKeys={}),i=t.join(".");return n[i]||(n[i]=s=>{if(!("key"in s))return;const r=mt(s.key);if(t.some(o=>o===r||Ga[o]===r))return e(s)})},no=ue({patchProp:Ya},Ra);let qt,Us=!1;function ec(){return qt||(qt=oa(no))}function tc(){return qt=Us?qt:la(no),Us=!0,qt}const yf=(...e)=>{const t=ec().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=io(i);if(!s)return;const r=t._component;!q(r)&&!r.render&&!r.template&&(r.template=s.innerHTML),s.innerHTML="";const o=n(s,!1,s instanceof SVGElement);return s instanceof Element&&(s.removeAttribute("v-cloak"),s.setAttribute("data-v-app","")),o},t},vf=(...e)=>{const t=tc().createApp(...e),{mount:n}=t;return t.mount=i=>{const s=io(i);if(s)return n(s,!0,s instanceof SVGElement)},t};function io(e){return ie(e)?document.querySelector(e):e}const bf=(e,t)=>{const n=e.__vccOpts||e;for(const[i,s]of t)n[i]=s;return n},nc=window.__VP_SITE_DATA__;function Yi(e){return ir()?($o(e),!0):!1}function Re(e){return typeof e=="function"?e():gr(e)}function wf(e,t){const n=Re;return function(...i){return ne(()=>e.apply(this,i.map(s=>n(s))))}}const so=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const ic=Object.prototype.toString,sc=e=>ic.call(e)==="[object Object]",Qt=()=>{},Bs=rc();function rc(){var e,t;return so&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}function oc(e,t){function n(...i){return new Promise((s,r)=>{Promise.resolve(e(()=>t.apply(this,i),{fn:t,thisArg:this,args:i})).then(s).catch(r)})}return n}const ro=e=>e();function lc(e,t={}){let n,i,s=Qt;const r=l=>{clearTimeout(l),s(),s=Qt};return l=>{const a=Re(e),c=Re(t.maxWait);return n&&r(n),a<=0||c!==void 0&&c<=0?(i&&(r(i),i=null),Promise.resolve(l())):new Promise((u,d)=>{s=t.rejectOnCancel?d:u,c&&!i&&(i=setTimeout(()=>{n&&r(n),i=null,u(l())},c)),n=setTimeout(()=>{i&&r(i),i=null,u(l())},a)})}}function ac(e=ro){const t=ae(!0);function n(){t.value=!1}function i(){t.value=!0}const s=(...r)=>{t.value&&e(...r)};return{isActive:Hn(t),pause:n,resume:i,eventFilter:s}}function cc(e){return zn()}function oo(...e){if(e.length!==1)return ml(...e);const t=e[0];return typeof t=="function"?Hn(ul(()=>({get:t,set:Qt}))):ae(t)}function lo(e,t,n={}){const{eventFilter:i=ro,...s}=n;return Ze(e,oc(i,t),s)}function fc(e,t,n={}){const{eventFilter:i,...s}=n,{eventFilter:r,pause:o,resume:l,isActive:a}=ac(i);return{stop:lo(e,t,{...s,eventFilter:r}),pause:o,resume:l,isActive:a}}function ao(e,t=!0,n){cc()?It(e,n):t?e():$n(e)}function _f(e,t,n={}){const{debounce:i=0,maxWait:s=void 0,...r}=n;return lo(e,t,{...r,eventFilter:lc(i,{maxWait:s})})}function Cf(e,t,n){let i;pe(n)?i={evaluating:n}:i={};const{lazy:s=!1,evaluating:r=void 0,shallow:o=!0,onError:l=Qt}=i,a=ae(!s),c=o?$i(t):ae(t);let u=0;return Ui(async d=>{if(!a.value)return;u++;const g=u;let b=!1;r&&Promise.resolve().then(()=>{r.value=!0});try{const C=await e(T=>{d(()=>{r&&(r.value=!1),b||T()})});g===u&&(c.value=C)}catch(C){l(C)}finally{r&&g===u&&(r.value=!1),b=!0}}),s?ne(()=>(a.value=!0,c.value)):c}function co(e){var t;const n=Re(e);return(t=n==null?void 0:n.$el)!=null?t:n}const ke=so?window:void 0;function Zt(...e){let t,n,i,s;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,i,s]=e,t=ke):[t,n,i,s]=e,!t)return Qt;Array.isArray(n)||(n=[n]),Array.isArray(i)||(i=[i]);const r=[],o=()=>{r.forEach(u=>u()),r.length=0},l=(u,d,g,b)=>(u.addEventListener(d,g,b),()=>u.removeEventListener(d,g,b)),a=Ze(()=>[co(t),Re(s)],([u,d])=>{if(o(),!u)return;const g=sc(d)?{...d}:d;r.push(...n.flatMap(b=>i.map(C=>l(u,b,C,g))))},{immediate:!0,flush:"post"}),c=()=>{a(),o()};return Yi(c),c}function uc(e){return typeof e=="function"?e:typeof e=="string"?t=>t.key===e:Array.isArray(e)?t=>e.includes(t.key):()=>!0}function Ef(...e){let t,n,i={};e.length===3?(t=e[0],n=e[1],i=e[2]):e.length===2?typeof e[1]=="object"?(t=!0,n=e[0],i=e[1]):(t=e[0],n=e[1]):(t=!0,n=e[0]);const{target:s=ke,eventName:r="keydown",passive:o=!1,dedupe:l=!1}=i,a=uc(t);return Zt(s,r,u=>{u.repeat&&Re(l)||a(u)&&n(u)},o)}function pc(){const e=ae(!1),t=zn();return t&&It(()=>{e.value=!0},t),e}function dc(e){const t=pc();return ne(()=>(t.value,!!e()))}function mc(e,t={}){const{window:n=ke}=t,i=dc(()=>n&&"matchMedia"in n&&typeof n.matchMedia=="function");let s;const r=ae(!1),o=c=>{r.value=c.matches},l=()=>{s&&("removeEventListener"in s?s.removeEventListener("change",o):s.removeListener(o))},a=Ui(()=>{i.value&&(l(),s=n.matchMedia(Re(e)),"addEventListener"in s?s.addEventListener("change",o):s.addListener(o),r.value=s.matches)});return Yi(()=>{a(),l(),s=void 0}),r}const xn=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},yn="__vueuse_ssr_handlers__",hc=gc();function gc(){return yn in xn||(xn[yn]=xn[yn]||{}),xn[yn]}function fo(e,t){return hc[e]||t}function xc(e){return e==null?"any":e instanceof Set?"set":e instanceof Map?"map":e instanceof Date?"date":typeof e=="boolean"?"boolean":typeof e=="string"?"string":typeof e=="object"?"object":Number.isNaN(e)?"any":"number"}const yc={boolean:{read:e=>e==="true",write:e=>String(e)},object:{read:e=>JSON.parse(e),write:e=>JSON.stringify(e)},number:{read:e=>Number.parseFloat(e),write:e=>String(e)},any:{read:e=>e,write:e=>String(e)},string:{read:e=>e,write:e=>String(e)},map:{read:e=>new Map(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e.entries()))},set:{read:e=>new Set(JSON.parse(e)),write:e=>JSON.stringify(Array.from(e))},date:{read:e=>new Date(e),write:e=>e.toISOString()}},Ks="vueuse-storage";function Ji(e,t,n,i={}){var s;const{flush:r="pre",deep:o=!0,listenToStorageChanges:l=!0,writeDefaults:a=!0,mergeDefaults:c=!1,shallow:u,window:d=ke,eventFilter:g,onError:b=w=>{console.error(w)},initOnMounted:C}=i,T=(u?$i:ae)(typeof t=="function"?t():t);if(!n)try{n=fo("getDefaultStorage",()=>{var w;return(w=ke)==null?void 0:w.localStorage})()}catch(w){b(w)}if(!n)return T;const I=Re(t),V=xc(I),L=(s=i.serializer)!=null?s:yc[V],{pause:x,resume:m}=fc(T,()=>K(T.value),{flush:r,deep:o,eventFilter:g});d&&l&&ao(()=>{Zt(d,"storage",j),Zt(d,Ks,F),C&&j()}),C||j();function M(w,H){d&&d.dispatchEvent(new CustomEvent(Ks,{detail:{key:e,oldValue:w,newValue:H,storageArea:n}}))}function K(w){try{const H=n.getItem(e);if(w==null)M(H,null),n.removeItem(e);else{const S=L.write(w);H!==S&&(n.setItem(e,S),M(H,S))}}catch(H){b(H)}}function N(w){const H=w?w.newValue:n.getItem(e);if(H==null)return a&&I!=null&&n.setItem(e,L.write(I)),I;if(!w&&c){const S=L.read(H);return typeof c=="function"?c(S,I):V==="object"&&!Array.isArray(S)?{...I,...S}:S}else return typeof H!="string"?H:L.read(H)}function j(w){if(!(w&&w.storageArea!==n)){if(w&&w.key==null){T.value=I;return}if(!(w&&w.key!==e)){x();try{(w==null?void 0:w.newValue)!==L.write(T.value)&&(T.value=N(w))}catch(H){b(H)}finally{w?$n(m):m()}}}}function F(w){j(w.detail)}return T}function uo(e){return mc("(prefers-color-scheme: dark)",e)}function vc(e={}){const{selector:t="html",attribute:n="class",initialValue:i="auto",window:s=ke,storage:r,storageKey:o="vueuse-color-scheme",listenToStorageChanges:l=!0,storageRef:a,emitAuto:c,disableTransition:u=!0}=e,d={auto:"",light:"light",dark:"dark",...e.modes||{}},g=uo({window:s}),b=ne(()=>g.value?"dark":"light"),C=a||(o==null?oo(i):Ji(o,i,r,{window:s,listenToStorageChanges:l})),T=ne(()=>C.value==="auto"?b.value:C.value),I=fo("updateHTMLAttrs",(m,M,K)=>{const N=typeof m=="string"?s==null?void 0:s.document.querySelector(m):co(m);if(!N)return;let j;if(u&&(j=s.document.createElement("style"),j.appendChild(document.createTextNode("*,*::before,*::after{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),s.document.head.appendChild(j)),M==="class"){const F=K.split(/\s/g);Object.values(d).flatMap(w=>(w||"").split(/\s/g)).filter(Boolean).forEach(w=>{F.includes(w)?N.classList.add(w):N.classList.remove(w)})}else N.setAttribute(M,K);u&&(s.getComputedStyle(j).opacity,document.head.removeChild(j))});function V(m){var M;I(t,n,(M=d[m])!=null?M:m)}function L(m){e.onChanged?e.onChanged(m,V):V(m)}Ze(T,L,{flush:"post",immediate:!0}),ao(()=>L(T.value));const x=ne({get(){return c?C.value:T.value},set(m){C.value=m}});try{return Object.assign(x,{store:C,system:b,state:T})}catch{return x}}function bc(e={}){const{valueDark:t="dark",valueLight:n="",window:i=ke}=e,s=vc({...e,onChanged:(l,a)=>{var c;e.onChanged?(c=e.onChanged)==null||c.call(e,l==="dark",a,l):a(l)},modes:{dark:t,light:n}}),r=ne(()=>s.system?s.system.value:uo({window:i}).value?"dark":"light");return ne({get(){return s.value==="dark"},set(l){const a=l?"dark":"light";r.value===a?s.value="auto":s.value=a}})}function ri(e){return typeof Window<"u"&&e instanceof Window?e.document.documentElement:typeof Document<"u"&&e instanceof Document?e.documentElement:e}function Tf(e,t,n={}){const{window:i=ke}=n;return Ji(e,t,i==null?void 0:i.localStorage,n)}function po(e){const t=window.getComputedStyle(e);if(t.overflowX==="scroll"||t.overflowY==="scroll"||t.overflowX==="auto"&&e.clientWidth1?!0:(t.preventDefault&&t.preventDefault(),!1)}const oi=new WeakMap;function Af(e,t=!1){const n=ae(t);let i=null,s="";Ze(oo(e),l=>{const a=ri(Re(l));if(a){const c=a;if(oi.get(c)||oi.set(c,c.style.overflow),c.style.overflow!=="hidden"&&(s=c.style.overflow),c.style.overflow==="hidden")return n.value=!0;if(n.value)return c.style.overflow="hidden"}},{immediate:!0});const r=()=>{const l=ri(Re(e));!l||n.value||(Bs&&(i=Zt(l,"touchmove",a=>{wc(a)},{passive:!1})),l.style.overflow="hidden",n.value=!0)},o=()=>{const l=ri(Re(e));!l||!n.value||(Bs&&(i==null||i()),l.style.overflow=s,oi.delete(l),n.value=!1)};return Yi(o),ne({get(){return n.value},set(l){l?r():o()}})}function Sf(e,t,n={}){const{window:i=ke}=n;return Ji(e,t,i==null?void 0:i.sessionStorage,n)}function jf(e={}){const{window:t=ke,behavior:n="auto"}=e;if(!t)return{x:ae(0),y:ae(0)};const i=ae(t.scrollX),s=ae(t.scrollY),r=ne({get(){return i.value},set(l){scrollTo({left:l,behavior:n})}}),o=ne({get(){return s.value},set(l){scrollTo({top:l,behavior:n})}});return Zt(t,"scroll",()=>{i.value=t.scrollX,s.value=t.scrollY},{capture:!1,passive:!0}),{x:r,y:o}}const mo=/^(?:[a-z]+:|\/\/)/i,_c="vitepress-theme-appearance",ho=/#.*$/,Cc=/(index)?\.(md|html)$/,Ee=typeof document<"u",go={relativePath:"",filePath:"",title:"404",description:"Not Found",headers:[],frontmatter:{sidebar:!1,layout:"page"},lastUpdated:0,isNotFound:!0};function Ec(e,t,n=!1){if(t===void 0)return!1;if(e=Vs(`/${e}`),n)return new RegExp(t).test(e);if(Vs(t)!==e)return!1;const i=t.match(ho);return i?(Ee?location.hash:"")===i[0]:!0}function Vs(e){return decodeURI(e).replace(ho,"").replace(Cc,"")}function Tc(e){return mo.test(e)}function Ac(e,t){var i,s,r,o,l,a,c;const n=Object.keys(e.locales).find(u=>u!=="root"&&!Tc(u)&&Ec(t,`/${u}/`,!0))||"root";return Object.assign({},e,{localeIndex:n,lang:((i=e.locales[n])==null?void 0:i.lang)??e.lang,dir:((s=e.locales[n])==null?void 0:s.dir)??e.dir,title:((r=e.locales[n])==null?void 0:r.title)??e.title,titleTemplate:((o=e.locales[n])==null?void 0:o.titleTemplate)??e.titleTemplate,description:((l=e.locales[n])==null?void 0:l.description)??e.description,head:yo(e.head,((a=e.locales[n])==null?void 0:a.head)??[]),themeConfig:{...e.themeConfig,...(c=e.locales[n])==null?void 0:c.themeConfig}})}function xo(e,t){const n=t.title||e.title,i=t.titleTemplate??e.titleTemplate;if(typeof i=="string"&&i.includes(":title"))return i.replace(/:title/g,n);const s=Sc(e.title,i);return`${n}${s}`}function Sc(e,t){return t===!1?"":t===!0||t===void 0?` | ${e}`:e===t?"":` | ${t}`}function jc(e,t){const[n,i]=t;if(n!=="meta")return!1;const s=Object.entries(i)[0];return s==null?!1:e.some(([r,o])=>r===n&&o[s[0]]===s[1])}function yo(e,t){return[...e.filter(n=>!jc(t,n)),...t]}const Rc=/[\u0000-\u001F"#$&*+,:;<=>?[\]^`{|}\u007F]/g,Oc=/^[a-z]:/i;function qs(e){const t=Oc.exec(e),n=t?t[0]:"";return n+e.slice(n.length).replace(Rc,"_").replace(/(^|\/)_+(?=[^/]*$)/,"$1")}const Mc=Symbol(),dt=$i(nc);function Rf(e){const t=ne(()=>Ac(dt.value,e.data.relativePath)),n=t.value.appearance,i=n==="force-dark"?ae(!0):n?bc({storageKey:_c,initialValue:()=>typeof n=="string"?n:"auto",...typeof n=="object"?n:{}}):ae(!1);return{site:t,theme:ne(()=>t.value.themeConfig),page:ne(()=>e.data),frontmatter:ne(()=>e.data.frontmatter),params:ne(()=>e.data.params),lang:ne(()=>t.value.lang),dir:ne(()=>t.value.dir),localeIndex:ne(()=>t.value.localeIndex||"root"),title:ne(()=>xo(t.value,e.data)),description:ne(()=>e.data.description||t.value.description),isDark:i}}function Pc(){const e=Ct(Mc);if(!e)throw new Error("vitepress data not properly injected in app");return e}const Ic={ez:"application/andrew-inset",aw:"application/applixware",atom:"application/atom+xml",atomcat:"application/atomcat+xml",atomdeleted:"application/atomdeleted+xml",atomsvc:"application/atomsvc+xml",dwd:"application/atsc-dwd+xml",held:"application/atsc-held+xml",rsat:"application/atsc-rsat+xml",bdoc:"application/bdoc",xcs:"application/calendar+xml",ccxml:"application/ccxml+xml",cdfx:"application/cdfx+xml",cdmia:"application/cdmi-capability",cdmic:"application/cdmi-container",cdmid:"application/cdmi-domain",cdmio:"application/cdmi-object",cdmiq:"application/cdmi-queue",cu:"application/cu-seeme",mpd:"application/dash+xml",davmount:"application/davmount+xml",dbk:"application/docbook+xml",dssc:"application/dssc+der",xdssc:"application/dssc+xml",es:"application/ecmascript",ecma:"application/ecmascript",emma:"application/emma+xml",emotionml:"application/emotionml+xml",epub:"application/epub+zip",exi:"application/exi",fdt:"application/fdt+xml",pfr:"application/font-tdpfr",geojson:"application/geo+json",gml:"application/gml+xml",gpx:"application/gpx+xml",gxf:"application/gxf",gz:"application/gzip",hjson:"application/hjson",stk:"application/hyperstudio",ink:"application/inkml+xml",inkml:"application/inkml+xml",ipfix:"application/ipfix",its:"application/its+xml",jar:"application/java-archive",war:"application/java-archive",ear:"application/java-archive",ser:"application/java-serialized-object",class:"application/java-vm",js:"application/javascript",mjs:"application/javascript",json:"application/json",map:"application/json",json5:"application/json5",jsonml:"application/jsonml+json",jsonld:"application/ld+json",lgr:"application/lgr+xml",lostxml:"application/lost+xml",hqx:"application/mac-binhex40",cpt:"application/mac-compactpro",mads:"application/mads+xml",webmanifest:"application/manifest+json",mrc:"application/marc",mrcx:"application/marcxml+xml",ma:"application/mathematica",nb:"application/mathematica",mb:"application/mathematica",mathml:"application/mathml+xml",mbox:"application/mbox",mscml:"application/mediaservercontrol+xml",metalink:"application/metalink+xml",meta4:"application/metalink4+xml",mets:"application/mets+xml",maei:"application/mmt-aei+xml",musd:"application/mmt-usd+xml",mods:"application/mods+xml",m21:"application/mp21",mp21:"application/mp21",mp4s:"application/mp4",m4p:"application/mp4",doc:"application/msword",dot:"application/msword",mxf:"application/mxf",nq:"application/n-quads",nt:"application/n-triples",cjs:"application/node",bin:"application/octet-stream",dms:"application/octet-stream",lrf:"application/octet-stream",mar:"application/octet-stream",so:"application/octet-stream",dist:"application/octet-stream",distz:"application/octet-stream",pkg:"application/octet-stream",bpk:"application/octet-stream",dump:"application/octet-stream",elc:"application/octet-stream",deploy:"application/octet-stream",exe:"application/octet-stream",dll:"application/octet-stream",deb:"application/octet-stream",dmg:"application/octet-stream",iso:"application/octet-stream",img:"application/octet-stream",msi:"application/octet-stream",msp:"application/octet-stream",msm:"application/octet-stream",buffer:"application/octet-stream",oda:"application/oda",opf:"application/oebps-package+xml",ogx:"application/ogg",omdoc:"application/omdoc+xml",onetoc:"application/onenote",onetoc2:"application/onenote",onetmp:"application/onenote",onepkg:"application/onenote",oxps:"application/oxps",relo:"application/p2p-overlay+xml",xer:"application/patch-ops-error+xml",pdf:"application/pdf",pgp:"application/pgp-encrypted",asc:"application/pgp-signature",sig:"application/pgp-signature",prf:"application/pics-rules",p10:"application/pkcs10",p7m:"application/pkcs7-mime",p7c:"application/pkcs7-mime",p7s:"application/pkcs7-signature",p8:"application/pkcs8",ac:"application/pkix-attr-cert",cer:"application/pkix-cert",crl:"application/pkix-crl",pkipath:"application/pkix-pkipath",pki:"application/pkixcmp",pls:"application/pls+xml",ai:"application/postscript",eps:"application/postscript",ps:"application/postscript",provx:"application/provenance+xml",cww:"application/prs.cww",pskcxml:"application/pskc+xml",raml:"application/raml+yaml",rdf:"application/rdf+xml",owl:"application/rdf+xml",rif:"application/reginfo+xml",rnc:"application/relax-ng-compact-syntax",rl:"application/resource-lists+xml",rld:"application/resource-lists-diff+xml",rs:"application/rls-services+xml",rapd:"application/route-apd+xml",sls:"application/route-s-tsid+xml",rusd:"application/route-usd+xml",gbr:"application/rpki-ghostbusters",mft:"application/rpki-manifest",roa:"application/rpki-roa",rsd:"application/rsd+xml",rss:"application/rss+xml",rtf:"application/rtf",sbml:"application/sbml+xml",scq:"application/scvp-cv-request",scs:"application/scvp-cv-response",spq:"application/scvp-vp-request",spp:"application/scvp-vp-response",sdp:"application/sdp",senmlx:"application/senml+xml",sensmlx:"application/sensml+xml",setpay:"application/set-payment-initiation",setreg:"application/set-registration-initiation",shf:"application/shf+xml",siv:"application/sieve",sieve:"application/sieve",smi:"application/smil+xml",smil:"application/smil+xml",rq:"application/sparql-query",srx:"application/sparql-results+xml",gram:"application/srgs",grxml:"application/srgs+xml",sru:"application/sru+xml",ssdl:"application/ssdl+xml",ssml:"application/ssml+xml",swidtag:"application/swid+xml",tei:"application/tei+xml",teicorpus:"application/tei+xml",tfi:"application/thraud+xml",tsd:"application/timestamped-data",toml:"application/toml",trig:"application/trig",ttml:"application/ttml+xml",ubj:"application/ubjson",rsheet:"application/urc-ressheet+xml",td:"application/urc-targetdesc+xml",vxml:"application/voicexml+xml",wasm:"application/wasm",wgt:"application/widget",hlp:"application/winhlp",wsdl:"application/wsdl+xml",wspolicy:"application/wspolicy+xml",xaml:"application/xaml+xml",xav:"application/xcap-att+xml",xca:"application/xcap-caps+xml",xdf:"application/xcap-diff+xml",xel:"application/xcap-el+xml",xns:"application/xcap-ns+xml",xenc:"application/xenc+xml",xhtml:"application/xhtml+xml",xht:"application/xhtml+xml",xlf:"application/xliff+xml",xml:"application/xml",xsl:"application/xml",xsd:"application/xml",rng:"application/xml",dtd:"application/xml-dtd",xop:"application/xop+xml",xpl:"application/xproc+xml",xslt:"application/xml",xspf:"application/xspf+xml",mxml:"application/xv+xml",xhvml:"application/xv+xml",xvml:"application/xv+xml",xvm:"application/xv+xml",yang:"application/yang",yin:"application/yin+xml",zip:"application/zip","3gpp":"video/3gpp",adp:"audio/adpcm",amr:"audio/amr",au:"audio/basic",snd:"audio/basic",mid:"audio/midi",midi:"audio/midi",kar:"audio/midi",rmi:"audio/midi",mxmf:"audio/mobile-xmf",mp3:"audio/mpeg",m4a:"audio/mp4",mp4a:"audio/mp4",mpga:"audio/mpeg",mp2:"audio/mpeg",mp2a:"audio/mpeg",m2a:"audio/mpeg",m3a:"audio/mpeg",oga:"audio/ogg",ogg:"audio/ogg",spx:"audio/ogg",opus:"audio/ogg",s3m:"audio/s3m",sil:"audio/silk",wav:"audio/wav",weba:"audio/webm",xm:"audio/xm",ttc:"font/collection",otf:"font/otf",ttf:"font/ttf",woff:"font/woff",woff2:"font/woff2",exr:"image/aces",apng:"image/apng",avif:"image/avif",bmp:"image/bmp",cgm:"image/cgm",drle:"image/dicom-rle",emf:"image/emf",fits:"image/fits",g3:"image/g3fax",gif:"image/gif",heic:"image/heic",heics:"image/heic-sequence",heif:"image/heif",heifs:"image/heif-sequence",hej2:"image/hej2k",hsj2:"image/hsj2",ief:"image/ief",jls:"image/jls",jp2:"image/jp2",jpg2:"image/jp2",jpeg:"image/jpeg",jpg:"image/jpeg",jpe:"image/jpeg",jph:"image/jph",jhc:"image/jphc",jpm:"image/jpm",jpx:"image/jpx",jpf:"image/jpx",jxr:"image/jxr",jxra:"image/jxra",jxrs:"image/jxrs",jxs:"image/jxs",jxsc:"image/jxsc",jxsi:"image/jxsi",jxss:"image/jxss",ktx:"image/ktx",ktx2:"image/ktx2",png:"image/png",btif:"image/prs.btif",pti:"image/prs.pti",sgi:"image/sgi",svg:"image/svg+xml",svgz:"image/svg+xml",t38:"image/t38",tif:"image/tiff",tiff:"image/tiff",tfx:"image/tiff-fx",webp:"image/webp",wmf:"image/wmf","disposition-notification":"message/disposition-notification",u8msg:"message/global",u8dsn:"message/global-delivery-status",u8mdn:"message/global-disposition-notification",u8hdr:"message/global-headers",eml:"message/rfc822",mime:"message/rfc822","3mf":"model/3mf",gltf:"model/gltf+json",glb:"model/gltf-binary",igs:"model/iges",iges:"model/iges",msh:"model/mesh",mesh:"model/mesh",silo:"model/mesh",mtl:"model/mtl",obj:"model/obj",stpz:"model/step+zip",stpxz:"model/step-xml+zip",stl:"model/stl",wrl:"model/vrml",vrml:"model/vrml",x3db:"model/x3d+fastinfoset",x3dbz:"model/x3d+binary",x3dv:"model/x3d-vrml",x3dvz:"model/x3d+vrml",x3d:"model/x3d+xml",x3dz:"model/x3d+xml",appcache:"text/cache-manifest",manifest:"text/cache-manifest",ics:"text/calendar",ifb:"text/calendar",coffee:"text/coffeescript",litcoffee:"text/coffeescript",css:"text/css",csv:"text/csv",html:"text/html",htm:"text/html",shtml:"text/html",jade:"text/jade",jsx:"text/jsx",less:"text/less",markdown:"text/markdown",md:"text/markdown",mml:"text/mathml",mdx:"text/mdx",n3:"text/n3",txt:"text/plain",text:"text/plain",conf:"text/plain",def:"text/plain",list:"text/plain",log:"text/plain",in:"text/plain",ini:"text/plain",dsc:"text/prs.lines.tag",rtx:"text/richtext",sgml:"text/sgml",sgm:"text/sgml",shex:"text/shex",slim:"text/slim",slm:"text/slim",spdx:"text/spdx",stylus:"text/stylus",styl:"text/stylus",tsv:"text/tab-separated-values",t:"text/troff",tr:"text/troff",roff:"text/troff",man:"text/troff",me:"text/troff",ms:"text/troff",ttl:"text/turtle",uri:"text/uri-list",uris:"text/uri-list",urls:"text/uri-list",vcard:"text/vcard",vtt:"text/vtt",yaml:"text/yaml",yml:"text/yaml","3gp":"video/3gpp","3g2":"video/3gpp2",h261:"video/h261",h263:"video/h263",h264:"video/h264",m4s:"video/iso.segment",jpgv:"video/jpeg",jpgm:"image/jpm",mj2:"video/mj2",mjp2:"video/mj2",ts:"video/mp2t",mp4:"video/mp4",mp4v:"video/mp4",mpg4:"video/mp4",mpeg:"video/mpeg",mpg:"video/mpeg",mpe:"video/mpeg",m1v:"video/mpeg",m2v:"video/mpeg",ogv:"video/ogg",qt:"video/quicktime",mov:"video/quicktime",webm:"video/webm"};function Fc(e){let t=(""+e).trim().toLowerCase(),n=t.lastIndexOf(".");return Ic[~n?t.substring(++n):t]}function Lc(e,t){return`${e}${t}`.replace(/\/+/g,"/")}function Ws(e){return mo.test(e)||!e.startsWith("/")?e:Lc(dt.value.base,e)}function kc(e){let t=e.replace(/\.html$/,"");if(t=decodeURIComponent(t),t=t.replace(/\/$/,"/index"),Ee){const n="/vue-qrcode-reader/";t=qs(t.slice(n.length).replace(/\//g,"_")||"index")+".md";let i=__VP_HASH_MAP__[t.toLowerCase()];if(i||(t=t.endsWith("_index.md")?t.slice(0,-9)+".md":t.slice(0,-3)+"_index.md",i=__VP_HASH_MAP__[t.toLowerCase()]),!i)return null;t=`${n}assets/${t}.${i}.js`}else t=`./${qs(t.slice(1).replace(/\//g,"_"))}.md.js`;return t}let Cn=[];function Of(e){Cn.push(e),qn(()=>{Cn=Cn.filter(t=>t!==e)})}const Nc=Symbol(),vo="http://a.com",Hc=()=>({path:"/",component:null,data:go});function Mf(e,t){const n=Nn(Hc()),i={route:n,go:s};async function s(l=Ee?location.href:"/"){var a,c;l=Ci(l),await((a=i.onBeforeRouteChange)==null?void 0:a.call(i,l))!==!1&&(Js(l),await o(l),await((c=i.onAfterRouteChanged)==null?void 0:c.call(i,l)))}let r=null;async function o(l,a=0,c=!1){var g;if(await((g=i.onBeforePageLoad)==null?void 0:g.call(i,l))===!1)return;const u=new URL(l,vo),d=r=u.pathname;try{let b=await e(d);if(!b)throw new Error(`Page not found: ${d}`);if(r===d){r=null;const{default:C,__pageData:T}=b;if(!C)throw new Error(`Invalid route component: ${C}`);n.path=Ee?d:Ws(d),n.component=Dt(C),n.data=Dt(T),Ee&&$n(()=>{let I=dt.value.base+T.relativePath.replace(/(?:(^|\/)index)?\.md$/,"$1");if(!dt.value.cleanUrls&&!I.endsWith("/")&&(I+=".html"),I!==u.pathname&&(u.pathname=I,l=I+u.search+u.hash,history.replaceState(null,"",l)),u.hash&&!a){let V=null;try{V=document.getElementById(decodeURIComponent(u.hash).slice(1))}catch(L){console.warn(L)}if(V){zs(V,u.hash);return}}window.scrollTo(0,a)})}}catch(b){if(!/fetch|Page not found/.test(b.message)&&!/^\/404(\.html|\/)?$/.test(l)&&console.error(b),!c)try{const C=await fetch(dt.value.base+"hashmap.json");window.__VP_HASH_MAP__=await C.json(),await o(l,a,!0);return}catch{}r===d&&(r=null,n.path=Ee?d:Ws(d),n.component=t?Dt(t):null,n.data=go)}}return Ee&&(window.addEventListener("click",l=>{if(l.target.closest("button"))return;const c=l.target.closest("a");if(c&&!c.closest(".vp-raw")&&(c instanceof SVGElement||!c.download)){const{target:u}=c,{href:d,origin:g,pathname:b,hash:C,search:T}=new URL(c.href instanceof SVGAnimatedString?c.href.animVal:c.href,c.baseURI),I=window.location,V=Fc(b);!l.ctrlKey&&!l.shiftKey&&!l.altKey&&!l.metaKey&&!u&&g===I.origin&&(!V||V==="text/html")&&(l.preventDefault(),b===I.pathname&&T===I.search?(C!==I.hash&&(history.pushState(null,"",C),window.dispatchEvent(new Event("hashchange"))),C?zs(c,C,c.classList.contains("header-anchor")):(Js(d),window.scrollTo(0,0))):s(d))}},{capture:!0}),window.addEventListener("popstate",async l=>{var a;await o(Ci(location.href),l.state&&l.state.scrollPosition||0),(a=i.onAfterRouteChanged)==null||a.call(i,location.href)}),window.addEventListener("hashchange",l=>{l.preventDefault()})),i}function $c(){const e=Ct(Nc);if(!e)throw new Error("useRouter() is called without provider.");return e}function bo(){return $c().route}function zs(e,t,n=!1){let i=null;try{i=e.classList.contains("header-anchor")?e:document.getElementById(decodeURIComponent(t).slice(1))}catch(s){console.warn(s)}if(i){let s=function(){!n||Math.abs(c-window.scrollY)>window.innerHeight?window.scrollTo(0,c):window.scrollTo({left:0,top:c,behavior:"smooth"})},r=dt.value.scrollOffset,o=0,l=24;if(typeof r=="object"&&"padding"in r&&(l=r.padding,r=r.selector),typeof r=="number")o=r;else if(typeof r=="string")o=Ys(r,l);else if(Array.isArray(r))for(const u of r){const d=Ys(u,l);if(d){o=d;break}}const a=parseInt(window.getComputedStyle(i).paddingTop,10),c=window.scrollY+i.getBoundingClientRect().top-o+a;requestAnimationFrame(s)}}function Ys(e,t){const n=document.querySelector(e);if(!n)return 0;const i=n.getBoundingClientRect().bottom;return i<0?0:i+t}function Js(e){Ee&&e!==Ci(location.href)&&(history.replaceState({scrollPosition:window.scrollY},document.title),history.pushState(null,"",e))}function Ci(e){const t=new URL(e,vo);return t.pathname=t.pathname.replace(/(^|\/)index(\.html)?$/,"$1"),dt.value.cleanUrls?t.pathname=t.pathname.replace(/\.html$/,""):!t.pathname.endsWith("/")&&!t.pathname.endsWith(".html")&&(t.pathname+=".html"),t.pathname+t.search+t.hash}const li=()=>Cn.forEach(e=>e()),Pf=Bi({name:"VitePressContent",props:{as:{type:[Object,String],default:"div"}},setup(e){const t=bo(),{site:n}=Pc();return()=>wi(e.as,n.value.contentProps??{style:{position:"relative"}},[t.component?wi(t.component,{onVnodeMounted:li,onVnodeUpdated:li,onVnodeUnmounted:li}):"404 Page Not Found"])}}),Dc="modulepreload",Uc=function(e){return"/vue-qrcode-reader/"+e},Xs={},If=function(t,n,i){let s=Promise.resolve();return n&&n.length>0&&(document.getElementsByTagName("link"),s=Promise.all(n.map(r=>{if(r=Uc(r),r in Xs)return;Xs[r]=!0;const o=r.endsWith(".css"),l=o?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${r}"]${l}`))return;const a=document.createElement("link");if(a.rel=o?"stylesheet":Dc,o||(a.as="script",a.crossOrigin=""),a.href=r,document.head.appendChild(a),o)return new Promise((c,u)=>{a.addEventListener("load",c),a.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${r}`)))})}))),s.then(()=>t()).catch(r=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=r,window.dispatchEvent(o),!o.defaultPrevented)throw r})},Ff=Bi({setup(e,{slots:t}){const n=ae(!1);return It(()=>{n.value=!0}),()=>n.value&&t.default?t.default():null}});function Lf(){Ee&&window.addEventListener("click",e=>{var n;const t=e.target;if(t.matches(".vp-code-group input")){const i=(n=t.parentElement)==null?void 0:n.parentElement;if(!i)return;const s=Array.from(i.querySelectorAll("input")).indexOf(t);if(s<0)return;const r=i.querySelector(".blocks");if(!r)return;const o=Array.from(r.children).find(c=>c.classList.contains("active"));if(!o)return;const l=r.children[s];if(!l||o===l)return;o.classList.remove("active"),l.classList.add("active");const a=i==null?void 0:i.querySelector(`label[for="${t.id}"]`);a==null||a.scrollIntoView({block:"nearest"})}})}function kf(){if(Ee){const e=new WeakMap;window.addEventListener("click",t=>{var i;const n=t.target;if(n.matches('div[class*="language-"] > button.copy')){const s=n.parentElement,r=(i=n.nextElementSibling)==null?void 0:i.nextElementSibling;if(!s||!r)return;const o=/language-(shellscript|shell|bash|sh|zsh)/.test(s.className);let l="";r.querySelectorAll("span.line:not(.diff.remove)").forEach(a=>l+=(a.textContent||"")+` +`),l=l.slice(0,-1),o&&(l=l.replace(/^ *(\$|>) /gm,"").trim()),Bc(l).then(()=>{n.classList.add("copied"),clearTimeout(e.get(n));const a=setTimeout(()=>{n.classList.remove("copied"),n.blur(),e.delete(n)},2e3);e.set(n,a)})}})}}async function Bc(e){try{return navigator.clipboard.writeText(e)}catch{const t=document.createElement("textarea"),n=document.activeElement;t.value=e,t.setAttribute("readonly",""),t.style.contain="strict",t.style.position="absolute",t.style.left="-9999px",t.style.fontSize="12pt";const i=document.getSelection(),s=i?i.rangeCount>0&&i.getRangeAt(0):null;document.body.appendChild(t),t.select(),t.selectionStart=0,t.selectionEnd=e.length,document.execCommand("copy"),document.body.removeChild(t),s&&(i.removeAllRanges(),i.addRange(s)),n&&n.focus()}}function Nf(e,t){let n=[],i=!0;const s=r=>{if(i){i=!1;return}const o=r.map(Qs);n.forEach((l,a)=>{const c=o.findIndex(u=>u==null?void 0:u.isEqualNode(l??null));c!==-1?delete o[c]:(l==null||l.remove(),delete n[a])}),o.forEach(l=>l&&document.head.appendChild(l)),n=[...n,...o].filter(Boolean)};Ui(()=>{const r=e.data,o=t.value,l=r&&r.description,a=r&&r.frontmatter.head||[],c=xo(o,r);c!==document.title&&(document.title=c);const u=l||o.description;let d=document.querySelector("meta[name=description]");d?d.getAttribute("content")!==u&&d.setAttribute("content",u):Qs(["meta",{name:"description",content:u}]),s(yo(o.head,Vc(a)))})}function Qs([e,t,n]){const i=document.createElement(e);for(const s in t)i.setAttribute(s,t[s]);return n&&(i.innerHTML=n),e==="script"&&!t.async&&(i.async=!1),i}function Kc(e){return e[0]==="meta"&&e[1]&&e[1].name==="description"}function Vc(e){return e.filter(t=>!Kc(t))}const ai=new Set,wo=()=>document.createElement("link"),qc=e=>{const t=wo();t.rel="prefetch",t.href=e,document.head.appendChild(t)},Wc=e=>{const t=new XMLHttpRequest;t.open("GET",e,t.withCredentials=!0),t.send()};let vn;const zc=Ee&&(vn=wo())&&vn.relList&&vn.relList.supports&&vn.relList.supports("prefetch")?qc:Wc;function Hf(){if(!Ee||!window.IntersectionObserver)return;let e;if((e=navigator.connection)&&(e.saveData||/2g/.test(e.effectiveType)))return;const t=window.requestIdleCallback||setTimeout;let n=null;const i=()=>{n&&n.disconnect(),n=new IntersectionObserver(r=>{r.forEach(o=>{if(o.isIntersecting){const l=o.target;n.unobserve(l);const{pathname:a}=l;if(!ai.has(a)){ai.add(a);const c=kc(a);c&&zc(c)}}})}),t(()=>{document.querySelectorAll("#app a").forEach(r=>{const{hostname:o,pathname:l}=new URL(r.href instanceof SVGAnimatedString?r.href.animVal:r.href,r.baseURI),a=l.match(/\.\w+$/);a&&a[0]!==".html"||r.target!=="_blank"&&o===location.hostname&&(l!==location.pathname?n.observe(r):ai.add(l))})})};It(i);const s=bo();Ze(()=>s.path,i),qn(()=>{n&&n.disconnect()})}export{Gl as $,qn as A,Gc as B,$l as C,Qc as D,nf as E,ge as F,$i as G,Of as H,se as I,Zc as J,mo as K,bo as L,ha as M,Ct as N,ji as O,$n as P,jf as Q,cf as R,Hn as S,Gr as T,wf as U,ml as V,Ef as W,tf as X,If as Y,Af as Z,bf as _,Jr as a,rf as a0,xf as a1,gf as a2,of as a3,ef as a4,mf as a5,hf as a6,pf as a7,uf as a8,Dt as a9,yf as aA,Nf as aa,Nc as ab,Rf as ac,Mc as ad,Pf as ae,Ff as af,dt as ag,vf as ah,Mf as ai,kc as aj,Hf as ak,kf as al,Lf as am,wi as an,co as ao,Yi as ap,Cf as aq,Sf as ar,Tf as as,_f as at,$c as au,Zt as av,Mr as aw,df as ax,pe as ay,lf as az,Wr as b,af as c,Bi as d,ff as e,Ws as f,ne as g,ae as h,Tc as i,It as j,Yr as k,Fc as l,gr as m,Ri as n,Vr as o,Jc as p,Xc as q,sf as r,Ec as s,Yc as t,Pc as u,Ee as v,El as w,mc as x,Ze as y,Ui as z}; diff --git a/assets/chunks/theme.C8UVLHxp.js b/assets/chunks/theme.CbsQzOZw.js similarity index 93% rename from assets/chunks/theme.C8UVLHxp.js rename to assets/chunks/theme.CbsQzOZw.js index 54bcb548..b9b914f4 100644 --- a/assets/chunks/theme.C8UVLHxp.js +++ b/assets/chunks/theme.CbsQzOZw.js @@ -1,7 +1,7 @@ -var De=Object.defineProperty;var Fe=(s,e,t)=>e in s?De(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var oe=(s,e,t)=>(Fe(s,typeof e!="symbol"?e+"":e,t),t);import{d as $,o as a,c as l,r as u,n as T,a as H,t as L,_ as m,b as k,w as h,e as f,T as ce,u as xe,i as Oe,l as Ue,f as ue,g as b,h as M,j as U,k as c,m as i,p as E,q as D,s as O,v as K,x as re,y as G,z as ee,A as de,B as Ve,C as Ge,D as j,F as C,E as B,G as ve,H as Y,I as _,J as x,K as Le,L as te,M as X,N as se,O as je,P as Re,Q as Se,R as qe,S as Ke,U as We,V as Ye,W as ye,X as Je,Y as Xe,Z as Me,$ as Ce,a0 as Ze,a1 as Qe,a2 as et,a3 as tt}from"./framework.BeH60Y6U.js";const st=$({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),l("span",{class:T(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[H(L(e.text),1)],!0)],2))}}),nt=m(st,[["__scopeId","data-v-ee2adf9e"]]),ot={key:0,class:"VPBackdrop"},at=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(ce,{name:"fade"},{default:h(()=>[e.show?(a(),l("div",ot)):f("",!0)]),_:1}))}}),rt=m(at,[["__scopeId","data-v-a2245aed"]]),P=xe;function it(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function ie(s){return/^\//.test(s)?s:`/${s}`}function he(s){const{pathname:e,search:t,hash:n,protocol:o}=new URL(s,"http://a.com");if(Oe(s)||s.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(s)&&Ue(s))return s;const{site:r}=P(),d=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ue(d)}function J({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=b(()=>{var v,g;return{label:(v=t.value.locales[n.value])==null?void 0:v.label,link:((g=t.value.locales[n.value])==null?void 0:g.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:b(()=>Object.entries(t.value.locales).flatMap(([v,g])=>s&&d.value.label===g.label?[]:{text:g.label,link:lt(g.link||(v==="root"?"/":`/${v}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function lt(s,e,t,n){return e?s.replace(/\/$/,"")+ie(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const ct=s=>(E("data-v-f91ac6fa"),s=s(),D(),s),ut={class:"NotFound"},dt={class:"code"},vt={class:"title"},ht=ct(()=>c("div",{class:"divider"},null,-1)),pt={class:"quote"},_t={class:"action"},ft=["href","aria-label"],mt=$({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=J({removeCurrent:!1}),o=M("/");return U(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,v,g,w,y;return a(),l("div",ut,[c("p",dt,L(((p=i(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",vt,L(((v=i(t).notFound)==null?void 0:v.title)??"PAGE NOT FOUND"),1),ht,c("blockquote",pt,L(((g=i(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",_t,[c("a",{class:"link",href:i(ue)(o.value),"aria-label":((w=i(t).notFound)==null?void 0:w.linkLabel)??"go to home"},L(((y=i(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,ft)])])}}}),gt=m(mt,[["__scopeId","data-v-f91ac6fa"]]);function Ie(s,e){if(Array.isArray(s))return Z(s);if(s==null)return[];e=ie(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(ie(o))),n=t?s[t]:[];return Array.isArray(n)?Z(n):Z(n.items,n.base)}function $t(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function kt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function le(s,e){return Array.isArray(e)?e.some(t=>le(s,t)):O(s,e.link)?!0:e.items?le(s,e.items):!1}function Z(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Z(n.items,o)),n})}function F(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=M(!1),r=b(()=>{const A=t.value.sidebar,V=e.value.relativePath;return A?Ie(A,V):[]}),d=M(r.value);G(r,(A,V)=>{JSON.stringify(A)!==JSON.stringify(V)&&(d.value=r.value)});const p=b(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),v=b(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=b(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),w=b(()=>p.value&&n.value),y=b(()=>p.value?$t(d.value):[]);function I(){o.value=!0}function S(){o.value=!1}function N(){o.value?S():I()}return{isOpen:o,sidebar:d,sidebarGroups:y,hasSidebar:p,hasAside:g,leftAside:v,isSidebarEnabled:w,open:I,close:S,toggle:N}}function bt(s,e){let t;ee(()=>{t=s.value?document.activeElement:void 0}),U(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Te=M(K?location.hash:"");K&&window.addEventListener("hashchange",()=>{Te.value=location.hash});function yt(s){const{page:e}=P(),t=M(!1),n=b(()=>s.value.collapsed!=null),o=b(()=>!!s.value.link),r=M(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};G([e,s,Te],d),U(d);const p=b(()=>r.value?!0:s.value.items?le(e.value.relativePath,s.value.items):!1),v=b(()=>!!(s.value.items&&s.value.items.length));ee(()=>{t.value=!!(n.value&&s.value.collapsed)}),Ve(()=>{(r.value||p.value)&&(t.value=!1)});function g(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:v,toggle:g}}function Pt(){const{hasSidebar:s}=F(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:b(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const wt=71;function pe(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function _e(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:Vt(t),link:"#"+t.id,level:n}});return Lt(e,s)}function Vt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Lt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;v--){const g=s[v];if(g.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ge(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),v=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(S=>p.some(N=>N.hash===S.hash&&S.offsetParent!==null)),g=window.scrollY,w=window.innerHeight,y=document.body.offsetHeight,I=Math.abs(g+w-y)<1;if(v.length&&I){d(v[v.length-1].hash);return}for(let S=0;S{const o=j("VPDocOutlineItem",!0);return a(),l("ul",{class:T(t.root?"root":"nested")},[(a(!0),l(C,null,B(t.headers,({children:r,link:d,title:p})=>(a(),l("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,Ct),r!=null&&r.length?(a(),k(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}}),fe=m(It,[["__scopeId","data-v-eaef1eb7"]]),Tt=s=>(E("data-v-6cabe4bc"),s=s(),D(),s),At={class:"content"},Nt={class:"outline-title",role:"heading","aria-level":"2"},Bt={"aria-labelledby":"doc-outline-aria-label"},Ht=Tt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),zt=$({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=ve([]);Y(()=>{n.value=_e(e.value.outline??t.value.outline)});const o=M(),r=M();return St(o,r),(d,p)=>(a(),l("div",{class:T(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",At,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",Nt,L(i(pe)(i(t))),1),c("nav",Bt,[Ht,_(fe,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Et=m(zt,[["__scopeId","data-v-6cabe4bc"]]),Dt={class:"VPDocAsideCarbonAds"},Ft=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),l("div",Dt,[_(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),xt=s=>(E("data-v-ca5de6a3"),s=s(),D(),s),Ot={class:"VPDocAside"},Ut=xt(()=>c("div",{class:"spacer"},null,-1)),Gt=$({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),l("div",Ot,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),_(Et),u(t.$slots,"aside-outline-after",{},void 0,!0),Ut,u(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),k(Ft,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}}),jt=m(Gt,[["__scopeId","data-v-ca5de6a3"]]);function Rt(){const{theme:s,page:e}=P();return b(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function qt(){const{page:s,theme:e,frontmatter:t}=P();return b(()=>{var v,g,w,y,I,S,N,A;const n=Ie(e.value.sidebar,s.value.relativePath),o=kt(n),r=o.findIndex(V=>O(s.value.relativePath,V.link)),d=((v=e.value.docFooter)==null?void 0:v.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((w=o[r-1])==null?void 0:w.docFooterText)??((y=o[r-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=o[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((S=o[r+1])==null?void 0:S.docFooterText)??((N=o[r+1])==null?void 0:N.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((A=o[r+1])==null?void 0:A.link)}}})}const Kt={},Wt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Yt=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Jt=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Xt=[Yt,Jt];function Zt(s,e){return a(),l("svg",Wt,Xt)}const Qt=m(Kt,[["render",Zt]]),z=$({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=b(()=>e.tag??(e.href?"a":"span")),n=b(()=>e.href&&Le.test(e.href));return(o,r)=>(a(),k(x(t.value),{class:T(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?i(he)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:h(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),es={class:"VPLastUpdated"},ts=["datetime"],ss=$({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=b(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=b(()=>r.value.toISOString()),p=M("");return U(()=>{ee(()=>{var v,g,w;p.value=new Intl.DateTimeFormat((g=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&g.forceLocale?o.value:void 0,((w=e.value.lastUpdated)==null?void 0:w.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(v,g)=>{var w;return a(),l("p",es,[H(L(((w=i(e).lastUpdated)==null?void 0:w.text)||i(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,ts)])}}}),ns=m(ss,[["__scopeId","data-v-1bb82984"]]),os={key:0,class:"VPDocFooter"},as={key:0,class:"edit-info"},rs={key:0,class:"edit-link"},is={key:1,class:"last-updated"},ls={key:1,class:"prev-next"},cs={class:"pager"},us=["innerHTML"],ds=["innerHTML"],vs={class:"pager"},hs=["innerHTML"],ps=["innerHTML"],_s=$({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Rt(),r=qt(),d=b(()=>e.value.editLink&&n.value.editLink!==!1),p=b(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),v=b(()=>d.value||p.value||r.value.prev||r.value.next);return(g,w)=>{var y,I,S,N;return v.value?(a(),l("footer",os,[u(g.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),l("div",as,[d.value?(a(),l("div",rs,[_(z,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:h(()=>[_(Qt,{class:"edit-link-icon","aria-label":"edit icon"}),H(" "+L(i(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",is,[_(ns)])):f("",!0)])):f("",!0),(y=i(r).prev)!=null&&y.link||(I=i(r).next)!=null&&I.link?(a(),l("nav",ls,[c("div",cs,[(S=i(r).prev)!=null&&S.link?(a(),k(z,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,us),c("span",{class:"title",innerHTML:i(r).prev.text},null,8,ds)]}),_:1},8,["href"])):f("",!0)]),c("div",vs,[(N=i(r).next)!=null&&N.link?(a(),k(z,{key:0,class:"pager-link next",href:i(r).next.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,hs),c("span",{class:"title",innerHTML:i(r).next.text},null,8,ps)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),fs=m(_s,[["__scopeId","data-v-819f5c65"]]),ms={},gs={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},$s=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),ks=[$s];function bs(s,e){return a(),l("svg",gs,ks)}const me=m(ms,[["render",bs]]),ys={key:0,class:"VPDocOutlineDropdown"},Ps={key:0,class:"items"},ws=$({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=M(!1);Y(()=>{n.value=!1});const o=ve([]);return Y(()=>{o.value=_e(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),l("div",ys,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2),n.value?(a(),l("div",Ps,[_(fe,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}}),Vs=m(ws,[["__scopeId","data-v-31373206"]]),Ls=s=>(E("data-v-2c72cb91"),s=s(),D(),s),Ss={class:"container"},Ms=Ls(()=>c("div",{class:"aside-curtain"},null,-1)),Cs={class:"aside-container"},Is={class:"aside-content"},Ts={class:"content"},As={class:"content-container"},Ns={class:"main"},Bs=$({__name:"VPDoc",setup(s){const{theme:e}=P(),t=te(),{hasSidebar:n,hasAside:o,leftAside:r}=F(),d=b(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,v)=>{const g=j("Content");return a(),l("div",{class:T(["VPDoc",{"has-sidebar":i(n),"has-aside":i(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",Ss,[i(o)?(a(),l("div",{key:0,class:T(["aside",{"left-aside":i(r)}])},[Ms,c("div",Cs,[c("div",Is,[_(jt,null,{"aside-top":h(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Ts,[c("div",As,[u(p.$slots,"doc-before",{},void 0,!0),_(Vs),c("main",Ns,[_(g,{class:T(["vp-doc",[d.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(fs,null,{"doc-footer-before":h(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Hs=m(Bs,[["__scopeId","data-v-2c72cb91"]]),zs=$({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=b(()=>e.href&&Le.test(e.href)),n=b(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),k(x(n.value),{class:T(["VPButton",[o.size,o.theme]]),href:o.href?i(he)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:h(()=>[H(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Es=m(zs,[["__scopeId","data-v-2085ae70"]]),Ds=["src","alt"],Fs=$({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",X({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Ds)):(a(),l(C,{key:1},[_(n,X({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(n,X({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=m(Fs,[["__scopeId","data-v-3ff50ca3"]]),xs=s=>(E("data-v-67931e31"),s=s(),D(),s),Os={class:"container"},Us={class:"main"},Gs={key:0,class:"name"},js=["innerHTML"],Rs=["innerHTML"],qs=["innerHTML"],Ks={key:0,class:"actions"},Ws={key:0,class:"image"},Ys={class:"image-container"},Js=xs(()=>c("div",{class:"image-bg"},null,-1)),Xs=$({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=se("hero-image-slot-exists");return(t,n)=>(a(),l("div",{class:T(["VPHero",{"has-image":t.image||i(e)}])},[c("div",Os,[c("div",Us,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Gs,[c("span",{innerHTML:t.name,class:"clip"},null,8,js)])):f("",!0),t.text?(a(),l("p",{key:1,innerHTML:t.text,class:"text"},null,8,Rs)):f("",!0),t.tagline?(a(),l("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,qs)):f("",!0)],!0),t.actions?(a(),l("div",Ks,[(a(!0),l(C,null,B(t.actions,o=>(a(),l("div",{key:o.link,class:"action"},[_(Es,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Ws,[c("div",Ys,[Js,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Zs=m(Xs,[["__scopeId","data-v-67931e31"]]),Qs=$({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).hero?(a(),k(Zs,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info":h(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":h(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),en={},tn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},sn=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),nn=[sn];function on(s,e){return a(),l("svg",tn,nn)}const an=m(en,[["render",on]]),rn={class:"box"},ln={key:0,class:"icon"},cn=["innerHTML"],un=["innerHTML"],dn=["innerHTML"],vn={key:4,class:"link-text"},hn={class:"link-text-value"},pn=$({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(z,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:h(()=>[c("article",rn,[typeof e.icon=="object"&&e.icon.wrap?(a(),l("div",ln,[_(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:2,class:"icon",innerHTML:e.icon},null,8,cn)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,un),e.details?(a(),l("p",{key:3,class:"details",innerHTML:e.details},null,8,dn)):f("",!0),e.linkText?(a(),l("div",vn,[c("p",hn,[H(L(e.linkText)+" ",1),_(an,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),_n=m(pn,[["__scopeId","data-v-24da4160"]]),fn={key:0,class:"VPFeatures"},mn={class:"container"},gn={class:"items"},$n=$({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=b(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),l("div",fn,[c("div",mn,[c("div",gn,[(a(!0),l(C,null,B(n.features,r=>(a(),l("div",{key:r.title,class:T(["item",[t.value]])},[_(_n,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),kn=m($n,[["__scopeId","data-v-3b280e87"]]),bn=$({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).features?(a(),k(kn,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),yn={class:"VPHome"},Pn=$({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),l("div",yn,[u(e.$slots,"home-hero-before",{},void 0,!0),_(Qs,null,{"home-hero-info":h(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),_(bn),u(e.$slots,"home-features-after",{},void 0,!0),_(n)])}}}),wn=m(Pn,[["__scopeId","data-v-6dbda57a"]]),Vn={},Ln={class:"VPPage"};function Sn(s,e){const t=j("Content");return a(),l("div",Ln,[u(s.$slots,"page-top"),_(t),u(s.$slots,"page-bottom")])}const Mn=m(Vn,[["render",Sn]]),Cn=$({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>(a(),l("div",{class:T(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[_(gt)],!0):i(t).layout==="page"?(a(),k(Mn,{key:1},{"page-top":h(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),k(wn,{key:2},{"home-hero-before":h(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),k(x(i(t).layout),{key:3})):(a(),k(Hs,{key:4},{"doc-top":h(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),In=m(Cn,[["__scopeId","data-v-8c461e74"]]),Tn={class:"container"},An=["innerHTML"],Nn=["innerHTML"],Bn=$({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>i(e).footer&&i(t).footer!==!1?(a(),l("footer",{key:0,class:T(["VPFooter",{"has-sidebar":i(n)}])},[c("div",Tn,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,An)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Nn)):f("",!0)])],2)):f("",!0)}}),Hn=m(Bn,[["__scopeId","data-v-562f026b"]]),zn={class:"header"},En={class:"outline"},Dn=$({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=M(!1),o=M(0),r=M();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(g){g.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Re(()=>{n.value=!1}))}function v(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,w)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:je({"--vp-vh":o.value+"px"})},[g.headers.length>0?(a(),l("button",{key:0,onClick:d,class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)),_(ce,{name:"flyout"},{default:h(()=>[n.value?(a(),l("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",zn,[c("a",{class:"top-link",href:"#",onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)]),c("div",En,[_(fe,{headers:g.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Fn=m(Dn,[["__scopeId","data-v-5bc6b6c1"]]),xn={},On={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Un=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Gn=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),jn=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),Rn=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),qn=[Un,Gn,jn,Rn];function Kn(s,e){return a(),l("svg",On,qn)}const Wn=m(xn,[["render",Kn]]),Yn=["aria-expanded"],Jn={class:"menu-text"},Xn=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F(),{y:o}=Se(),r=ve([]),d=M(0);U(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=_e(t.value.outline??e.value.outline)});const p=b(()=>r.value.length===0&&!n.value),v=b(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(g,w)=>i(t).layout!=="home"&&(!p.value||i(o)>=d.value)?(a(),l("div",{key:0,class:T(v.value)},[i(n)?(a(),l("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:w[0]||(w[0]=y=>g.$emit("open-menu"))},[_(Wn,{class:"menu-icon"}),c("span",Jn,L(i(e).sidebarMenuLabel||"Menu"),1)],8,Yn)):f("",!0),_(Fn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}}),Zn=m(Xn,[["__scopeId","data-v-ef3bfcea"]]);function Qn(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=te();return G(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const eo={},to={class:"VPSwitch",type:"button",role:"switch"},so={class:"check"},no={key:0,class:"icon"};function oo(s,e){return a(),l("button",to,[c("span",so,[s.$slots.default?(a(),l("span",no,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ao=m(eo,[["render",oo],["__scopeId","data-v-817bcb23"]]),ro={},io={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),co=[lo];function uo(s,e){return a(),l("svg",io,co)}const vo=m(ro,[["render",uo]]),ho={},po={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_o=qe('',9),fo=[_o];function mo(s,e){return a(),l("svg",po,fo)}const go=m(ho,[["render",mo]]),$o=$({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=se("toggle-appearance",()=>{e.value=!e.value}),n=b(()=>e.value?"Switch to light theme":"Switch to dark theme");return(o,r)=>(a(),k(ao,{title:n.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(t)},{default:h(()=>[_(go,{class:"sun"}),_(vo,{class:"moon"})]),_:1},8,["title","aria-checked","onClick"]))}}),ge=m($o,[["__scopeId","data-v-2717ee60"]]),ko={key:0,class:"VPNavBarAppearance"},bo=$({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ko,[_(ge)])):f("",!0)}}),yo=m(bo,[["__scopeId","data-v-29f3594b"]]),$e=M();let Ae=!1,ae=0;function Po(s){const e=M(!1);if(K){!Ae&&wo(),ae++;const t=G($e,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||Vo()})}return Ke(e)}function wo(){document.addEventListener("focusin",Ne),Ae=!0,$e.value=document.activeElement}function Vo(){document.removeEventListener("focusin",Ne)}function Ne(){$e.value=document.activeElement}const Lo={},So={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Mo=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Co=[Mo];function Io(s,e){return a(),l("svg",So,Co)}const Be=m(Lo,[["render",Io]]),To={},Ao={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},No=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),Bo=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Ho=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),zo=[No,Bo,Ho];function Eo(s,e){return a(),l("svg",Ao,zo)}const Do=m(To,[["render",Eo]]),Fo={class:"VPMenuLink"},xo=$({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),l("div",Fo,[_(z,{class:T({active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=m(xo,[["__scopeId","data-v-c21876db"]]),Oo={class:"VPMenuGroup"},Uo={key:0,class:"title"},Go=$({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Oo,[e.text?(a(),l("p",Uo,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),l(C,null,["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),jo=m(Go,[["__scopeId","data-v-45b3175d"]]),Ro={class:"VPMenu"},qo={key:0,class:"items"},Ko=$({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),l("div",Ro,[e.items?(a(),l("div",qo,[(a(!0),l(C,null,B(e.items,n=>(a(),l(C,{key:n.text},["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):(a(),k(jo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}}),Wo=m(Ko,[["__scopeId","data-v-34c8ca32"]]),Yo=["aria-expanded","aria-label"],Jo={key:0,class:"text"},Xo=["innerHTML"],Zo={class:"menu"},Qo=$({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();Po({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),l("span",Jo,[o.icon?(a(),k(x(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),l("span",{key:1,innerHTML:o.button},null,8,Xo)):f("",!0),_(Be,{class:"text-icon"})])):(a(),k(Do,{key:1,class:"icon"}))],8,Yo),c("div",Zo,[_(Wo,{items:o.items},{default:h(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ke=m(Qo,[["__scopeId","data-v-15d4c993"]]),ea={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},ta=["href","aria-label","innerHTML"],sa=$({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=b(()=>typeof e.icon=="object"?e.icon.svg:ea[e.icon]);return(n,o)=>(a(),l("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,ta))}}),na=m(sa,[["__scopeId","data-v-7c36672e"]]),oa={class:"VPSocialLinks"},aa=$({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),l("div",oa,[(a(!0),l(C,null,B(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),k(na,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),be=m(aa,[["__scopeId","data-v-dafee906"]]),ra={key:0,class:"group translations"},ia={class:"trans-title"},la={key:1,class:"group"},ca={class:"item appearance"},ua={class:"label"},da={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},pa=$({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=J({correspondingLink:!0}),r=b(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),k(ke,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[i(n).length&&i(o).label?(a(),l("div",ra,[c("p",ia,L(i(o).label),1),(a(!0),l(C,null,B(i(n),v=>(a(),k(ne,{key:v.link,item:v},null,8,["item"]))),128))])):f("",!0),i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",la,[c("div",ca,[c("p",ua,L(i(t).darkModeSwitchLabel||"Appearance"),1),c("div",da,[_(ge)])])])):f("",!0),i(t).socialLinks?(a(),l("div",va,[c("div",ha,[_(be,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),_a=m(pa,[["__scopeId","data-v-28c26714"]]),fa=s=>(E("data-v-385fc5db"),s=s(),D(),s),ma=["aria-expanded"],ga=fa(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),$a=[ga],ka=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),l("button",{type:"button",class:T(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},$a,10,ma))}}),ba=m(ka,[["__scopeId","data-v-385fc5db"]]),ya=["innerHTML"],Pa=$({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),k(z,{class:T({VPNavBarMenuLink:!0,active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:h(()=>[c("span",{innerHTML:t.item.text},null,8,ya)]),_:1},8,["class","href","target","rel"]))}}),wa=m(Pa,[["__scopeId","data-v-133e09b9"]]),Va=$({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=b(()=>n(e.item));return(r,d)=>(a(),k(ke,{class:T({VPNavBarMenuGroup:!0,active:i(O)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),La=s=>(E("data-v-78d3eb08"),s=s(),D(),s),Sa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ma=La(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Ca=$({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Sa,[Ma,(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(wa,{key:0,item:o},null,8,["item"])):(a(),k(Va,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Ia=m(Ca,[["__scopeId","data-v-78d3eb08"]]);function Ta(s,e){const{localeIndex:t}=P();function n(o){var S,N;const r=o.split("."),d=s&&typeof s=="object",p=d&&((N=(S=s.locales)==null?void 0:S[t.value])==null?void 0:N.translations)||null,v=d&&s.translations||null;let g=p,w=v,y=e;const I=r.pop();for(const A of r){let V=null;const R=y==null?void 0:y[A];R&&(V=y=R);const W=w==null?void 0:w[A];W&&(V=w=W);const q=g==null?void 0:g[A];q&&(V=g=q),R||(y=V),W||(w=V),q||(g=V)}return(g==null?void 0:g[I])??(w==null?void 0:w[I])??(y==null?void 0:y[I])??""}return n}const Aa=["aria-label"],Na={class:"DocSearch-Button-Container"},Ba=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ha={class:"DocSearch-Button-Placeholder"},za=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),we=$({__name:"VPNavBarSearchButton",setup(s){const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=We(Ta)(Ye(()=>{var o;return(o=e.value.search)==null?void 0:o.options}),t);return(o,r)=>(a(),l("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(n)("button.buttonAriaLabel")},[c("span",Na,[Ba,c("span",Ha,L(i(n)("button.buttonText")),1)]),za],8,Aa))}}),Ea={class:"VPNavBarSearch"},Da={id:"local-search"},Fa={key:1,id:"docsearch"},xa=$({__name:"VPNavBarSearch",setup(s){const e=Je(()=>Xe(()=>import("./VPLocalSearchBox.Czqvq3Gp.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=P(),o=M(!1),r=M(!1);U(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function v(y){const I=y.target,S=I.tagName;return I.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const g=M(!1);ye("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),g.value=!0)}),ye("/",y=>{v(y)||(y.preventDefault(),g.value=!0)});const w="local";return(y,I)=>{var S;return a(),l("div",Ea,[i(w)==="local"?(a(),l(C,{key:0},[g.value?(a(),k(i(e),{key:0,onClose:I[0]||(I[0]=N=>g.value=!1)})):f("",!0),c("div",Da,[_(we,{onClick:I[1]||(I[1]=N=>g.value=!0)})])],64)):i(w)==="algolia"?(a(),l(C,{key:1},[o.value?(a(),k(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:I[2]||(I[2]=N=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),l("div",Fa,[_(we,{onClick:d})]))],64)):f("",!0)])}}}),Oa=$({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ua=m(Oa,[["__scopeId","data-v-e5f5ba96"]]),Ga=["href"],ja=$({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=F(),{currentLang:o}=J();return(r,d)=>(a(),l("div",{class:T(["VPNavBarTitle",{"has-sidebar":i(n)}])},[c("a",{class:"title",href:i(t).logoLink??i(he)(i(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),k(Q,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[H(L(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[H(L(i(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ra=m(ja,[["__scopeId","data-v-e5f4453f"]]),qa={},Ka={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Wa=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ya=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Ja=[Wa,Ya];function Xa(s,e){return a(),l("svg",Ka,Ja)}const He=m(qa,[["render",Xa]]),Za={class:"items"},Qa={class:"title"},er=$({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=J({correspondingLink:!0});return(o,r)=>i(t).length&&i(n).label?(a(),k(ke,{key:0,class:"VPNavBarTranslations",icon:He,label:i(e).langMenuLabel||"Change language"},{default:h(()=>[c("div",Za,[c("p",Qa,L(i(n).label),1),(a(!0),l(C,null,B(i(t),d=>(a(),k(ne,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),tr=m(er,[["__scopeId","data-v-dbacad78"]]),sr=s=>(E("data-v-d7de2565"),s=s(),D(),s),nr={class:"container"},or={class:"title"},ar={class:"content"},rr=sr(()=>c("div",{class:"curtain"},null,-1)),ir={class:"content-body"},lr=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=Se(),{hasSidebar:t}=F(),{frontmatter:n}=P(),o=M({});return Ve(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),l("div",{class:T(["VPNavBar",o.value])},[c("div",nr,[c("div",or,[_(Ra,null,{"nav-bar-title-before":h(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",ar,[rr,c("div",ir,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),_(xa,{class:"search"}),_(Ia,{class:"menu"}),_(tr,{class:"translations"}),_(yo,{class:"appearance"}),_(Ua,{class:"social-links"}),_(_a,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),_(ba,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}}),cr=m(lr,[["__scopeId","data-v-d7de2565"]]),ur={key:0,class:"VPNavScreenAppearance"},dr={class:"text"},vr=$({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ur,[c("p",dr,L(i(t).darkModeSwitchLabel||"Appearance"),1),_(ge)])):f("",!0)}}),hr=m(vr,[["__scopeId","data-v-4d5ad607"]]),pr=$({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(z,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),_r=m(pr,[["__scopeId","data-v-2f604b28"]]),fr={},mr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},gr=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),$r=[gr];function kr(s,e){return a(),l("svg",mr,$r)}const br=m(fr,[["render",kr]]),yr=$({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(z,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ze=m(yr,[["__scopeId","data-v-8d6b44aa"]]),Pr={class:"VPNavScreenMenuGroupSection"},wr={key:0,class:"title"},Vr=$({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Pr,[e.text?(a(),l("p",wr,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),k(ze,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Lr=m(Vr,[["__scopeId","data-v-b3bf8789"]]),Sr=["aria-controls","aria-expanded"],Mr=["innerHTML"],Cr=["id"],Ir={key:1,class:"group"},Tr=$({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),n=b(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),l("div",{class:T(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",{class:"button-text",innerHTML:r.text},null,8,Mr),_(br,{class:"button-icon"})],8,Sr),c("div",{id:n.value,class:"items"},[(a(!0),l(C,null,B(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[_(ze,{item:p},null,8,["item"])])):(a(),l("div",Ir,[_(Lr,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,Cr)],2))}}),Ar=m(Tr,[["__scopeId","data-v-b2ddf91e"]]),Nr={key:0,class:"VPNavScreenMenu"},Br=$({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Nr,[(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(_r,{key:0,item:o},null,8,["item"])):(a(),k(Ar,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Hr=$({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),zr={class:"list"},Er=$({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(r,d)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:T(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[_(He,{class:"icon lang"}),H(" "+L(i(t).label)+" ",1),_(Be,{class:"icon chevron"})]),c("ul",zr,[(a(!0),l(C,null,B(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[_(z,{class:"link",href:p.link},{default:h(()=>[H(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Dr=m(Er,[["__scopeId","data-v-a8553b4b"]]),Fr={class:"container"},xr=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Me(K?document.body:null);return(n,o)=>(a(),k(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:h(()=>[n.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",Fr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),_(Br,{class:"menu"}),_(Dr,{class:"translations"}),_(hr,{class:"appearance"}),_(Hr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Or=m(xr,[["__scopeId","data-v-99c2fc8d"]]),Ur={key:0,class:"VPNav"},Gr=$({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Qn(),{frontmatter:o}=P(),r=b(()=>o.value.navbar!==!1);return Ce("close-screen",t),ee(()=>{K&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),l("header",Ur,[_(cr,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":h(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(Or,{open:i(e)},{"nav-screen-content-before":h(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),jr=m(Gr,[["__scopeId","data-v-09066b21"]]),Rr=s=>(E("data-v-fdc115da"),s=s(),D(),s),qr=["role","tabindex"],Kr=Rr(()=>c("div",{class:"indicator"},null,-1)),Wr={key:1,class:"items"},Yr=$({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:v}=yt(b(()=>e.item)),g=b(()=>p.value?"section":"div"),w=b(()=>o.value?"a":"div"),y=b(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=b(()=>o.value?void 0:"button"),S=b(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function N(V){"key"in V&&V.key!=="Enter"||!e.item.link&&v()}function A(){e.item.link&&v()}return(V,R)=>{const W=j("VPSidebarItem",!0);return a(),k(x(g.value),{class:T(["VPSidebarItem",S.value])},{default:h(()=>[V.item.text?(a(),l("div",X({key:0,class:"item",role:I.value},Ze(V.item.items?{click:N,keydown:N}:{},!0),{tabindex:V.item.items&&0}),[Kr,V.item.link?(a(),k(z,{key:0,tag:w.value,class:"link",href:V.item.link,rel:V.item.rel,target:V.item.target},{default:h(()=>[(a(),k(x(y.value),{class:"text",innerHTML:V.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(x(y.value),{key:1,class:"text",innerHTML:V.item.text},null,8,["innerHTML"])),V.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Qe(A,["enter"]),tabindex:"0"},[_(me,{class:"caret-icon"})],32)):f("",!0)],16,qr)):f("",!0),V.item.items&&V.item.items.length?(a(),l("div",Wr,[V.depth<5?(a(!0),l(C,{key:0},B(V.item.items,q=>(a(),k(W,{key:q.text,item:q,depth:V.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),Jr=m(Yr,[["__scopeId","data-v-fdc115da"]]),Ee=s=>(E("data-v-9b7f2dc4"),s=s(),D(),s),Xr=Ee(()=>c("div",{class:"curtain"},null,-1)),Zr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Qr=Ee(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ei=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=F(),n=s,o=M(null),r=Me(K?document.body:null);return G([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>i(t)?(a(),l("aside",{key:0,class:T(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[Xr,c("nav",Zr,[Qr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,B(i(e),v=>(a(),l("div",{key:v.text,class:"group"},[_(Jr,{item:v,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),ti=m(ei,[["__scopeId","data-v-9b7f2dc4"]]),si=$({__name:"VPSkipLink",setup(s){const e=te(),t=M();G(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),l(C,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),ni=m(si,[["__scopeId","data-v-aa5156db"]]),oi=$({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=F(),o=te();G(()=>o.path,n),bt(e,n);const{frontmatter:r}=P(),d=tt(),p=b(()=>!!d["home-hero-image"]);return Ce("hero-image-slot-exists",p),(v,g)=>{const w=j("Content");return i(r).layout!==!1?(a(),l("div",{key:0,class:T(["Layout",i(r).pageClass])},[u(v.$slots,"layout-top",{},void 0,!0),_(ni),_(rt,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),_(jr,null,{"nav-bar-title-before":h(()=>[u(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[u(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(Zn,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),_(ti,{open:i(e)},{"sidebar-nav-before":h(()=>[u(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[u(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(In,null,{"page-top":h(()=>[u(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[u(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[u(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[u(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[u(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[u(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(Hn),u(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(w,{key:1}))}}}),ai=m(oi,[["__scopeId","data-v-efc27221"]]),li={Layout:ai,enhanceApp:({app:s})=>{s.component("Badge",nt)}};class ci{constructor(e=10){oe(this,"max");oe(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}export{ci as L,Ta as c,li as t,P as u}; +var De=Object.defineProperty;var Fe=(s,e,t)=>e in s?De(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var oe=(s,e,t)=>(Fe(s,typeof e!="symbol"?e+"":e,t),t);import{d as $,o as a,c as l,r as u,n as T,a as H,t as L,_ as m,b as k,w as h,e as f,T as ce,u as xe,i as Oe,l as Ue,f as ue,g as b,h as M,j as U,k as c,m as i,p as E,q as D,s as O,v as K,x as re,y as G,z as ee,A as de,B as Ve,C as Ge,D as j,F as C,E as B,G as ve,H as Y,I as _,J as x,K as Le,L as te,M as X,N as se,O as je,P as Re,Q as Se,R as qe,S as Ke,U as We,V as Ye,W as ye,X as Je,Y as Xe,Z as Me,$ as Ce,a0 as Ze,a1 as Qe,a2 as et,a3 as tt}from"./framework.CI0_Jyb9.js";const st=$({__name:"VPBadge",props:{text:{},type:{default:"tip"}},setup(s){return(e,t)=>(a(),l("span",{class:T(["VPBadge",e.type])},[u(e.$slots,"default",{},()=>[H(L(e.text),1)],!0)],2))}}),nt=m(st,[["__scopeId","data-v-88d8ea2b"]]),ot={key:0,class:"VPBackdrop"},at=$({__name:"VPBackdrop",props:{show:{type:Boolean}},setup(s){return(e,t)=>(a(),k(ce,{name:"fade"},{default:h(()=>[e.show?(a(),l("div",ot)):f("",!0)]),_:1}))}}),rt=m(at,[["__scopeId","data-v-ce6cda37"]]),P=xe;function it(s,e){let t,n=!1;return()=>{t&&clearTimeout(t),n?t=setTimeout(s,e):(s(),(n=!0)&&setTimeout(()=>n=!1,e))}}function ie(s){return/^\//.test(s)?s:`/${s}`}function he(s){const{pathname:e,search:t,hash:n,protocol:o}=new URL(s,"http://a.com");if(Oe(s)||s.startsWith("#")||!o.startsWith("http")||/\.(?!html|md)\w+($|\?)/i.test(s)&&Ue(s))return s;const{site:r}=P(),d=e.endsWith("/")||e.endsWith(".html")?s:s.replace(/(?:(^\.+)\/)?.*$/,`$1${e.replace(/(\.md)?$/,r.value.cleanUrls?"":".html")}${t}${n}`);return ue(d)}function J({removeCurrent:s=!0,correspondingLink:e=!1}={}){const{site:t,localeIndex:n,page:o,theme:r}=P(),d=b(()=>{var v,g;return{label:(v=t.value.locales[n.value])==null?void 0:v.label,link:((g=t.value.locales[n.value])==null?void 0:g.link)||(n.value==="root"?"/":`/${n.value}/`)}});return{localeLinks:b(()=>Object.entries(t.value.locales).flatMap(([v,g])=>s&&d.value.label===g.label?[]:{text:g.label,link:lt(g.link||(v==="root"?"/":`/${v}/`),r.value.i18nRouting!==!1&&e,o.value.relativePath.slice(d.value.link.length-1),!t.value.cleanUrls)})),currentLang:d}}function lt(s,e,t,n){return e?s.replace(/\/$/,"")+ie(t.replace(/(^|\/)index\.md$/,"$1").replace(/\.md$/,n?".html":"")):s}const ct=s=>(E("data-v-f6d774e0"),s=s(),D(),s),ut={class:"NotFound"},dt={class:"code"},vt={class:"title"},ht=ct(()=>c("div",{class:"divider"},null,-1)),pt={class:"quote"},_t={class:"action"},ft=["href","aria-label"],mt=$({__name:"NotFound",setup(s){const{site:e,theme:t}=P(),{localeLinks:n}=J({removeCurrent:!1}),o=M("/");return U(()=>{var d;const r=window.location.pathname.replace(e.value.base,"").replace(/(^.*?\/).*$/,"/$1");n.value.length&&(o.value=((d=n.value.find(({link:p})=>p.startsWith(r)))==null?void 0:d.link)||n.value[0].link)}),(r,d)=>{var p,v,g,w,y;return a(),l("div",ut,[c("p",dt,L(((p=i(t).notFound)==null?void 0:p.code)??"404"),1),c("h1",vt,L(((v=i(t).notFound)==null?void 0:v.title)??"PAGE NOT FOUND"),1),ht,c("blockquote",pt,L(((g=i(t).notFound)==null?void 0:g.quote)??"But if you don't change your direction, and if you keep looking, you may end up where you are heading."),1),c("div",_t,[c("a",{class:"link",href:i(ue)(o.value),"aria-label":((w=i(t).notFound)==null?void 0:w.linkLabel)??"go to home"},L(((y=i(t).notFound)==null?void 0:y.linkText)??"Take me home"),9,ft)])])}}}),gt=m(mt,[["__scopeId","data-v-f6d774e0"]]);function Ie(s,e){if(Array.isArray(s))return Z(s);if(s==null)return[];e=ie(e);const t=Object.keys(s).sort((o,r)=>r.split("/").length-o.split("/").length).find(o=>e.startsWith(ie(o))),n=t?s[t]:[];return Array.isArray(n)?Z(n):Z(n.items,n.base)}function $t(s){const e=[];let t=0;for(const n in s){const o=s[n];if(o.items){t=e.push(o);continue}e[t]||e.push({items:[]}),e[t].items.push(o)}return e}function kt(s){const e=[];function t(n){for(const o of n)o.text&&o.link&&e.push({text:o.text,link:o.link,docFooterText:o.docFooterText}),o.items&&t(o.items)}return t(s),e}function le(s,e){return Array.isArray(e)?e.some(t=>le(s,t)):O(s,e.link)?!0:e.items?le(s,e.items):!1}function Z(s,e){return[...s].map(t=>{const n={...t},o=n.base||e;return o&&n.link&&(n.link=o+n.link),n.items&&(n.items=Z(n.items,o)),n})}function F(){const{frontmatter:s,page:e,theme:t}=P(),n=re("(min-width: 960px)"),o=M(!1),r=b(()=>{const A=t.value.sidebar,V=e.value.relativePath;return A?Ie(A,V):[]}),d=M(r.value);G(r,(A,V)=>{JSON.stringify(A)!==JSON.stringify(V)&&(d.value=r.value)});const p=b(()=>s.value.sidebar!==!1&&d.value.length>0&&s.value.layout!=="home"),v=b(()=>g?s.value.aside==null?t.value.aside==="left":s.value.aside==="left":!1),g=b(()=>s.value.layout==="home"?!1:s.value.aside!=null?!!s.value.aside:t.value.aside!==!1),w=b(()=>p.value&&n.value),y=b(()=>p.value?$t(d.value):[]);function I(){o.value=!0}function S(){o.value=!1}function N(){o.value?S():I()}return{isOpen:o,sidebar:d,sidebarGroups:y,hasSidebar:p,hasAside:g,leftAside:v,isSidebarEnabled:w,open:I,close:S,toggle:N}}function bt(s,e){let t;ee(()=>{t=s.value?document.activeElement:void 0}),U(()=>{window.addEventListener("keyup",n)}),de(()=>{window.removeEventListener("keyup",n)});function n(o){o.key==="Escape"&&s.value&&(e(),t==null||t.focus())}}const Te=M(K?location.hash:"");K&&window.addEventListener("hashchange",()=>{Te.value=location.hash});function yt(s){const{page:e}=P(),t=M(!1),n=b(()=>s.value.collapsed!=null),o=b(()=>!!s.value.link),r=M(!1),d=()=>{r.value=O(e.value.relativePath,s.value.link)};G([e,s,Te],d),U(d);const p=b(()=>r.value?!0:s.value.items?le(e.value.relativePath,s.value.items):!1),v=b(()=>!!(s.value.items&&s.value.items.length));ee(()=>{t.value=!!(n.value&&s.value.collapsed)}),Ve(()=>{(r.value||p.value)&&(t.value=!1)});function g(){n.value&&(t.value=!t.value)}return{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:p,hasChildren:v,toggle:g}}function Pt(){const{hasSidebar:s}=F(),e=re("(min-width: 960px)"),t=re("(min-width: 1280px)");return{isAsideEnabled:b(()=>!t.value&&!e.value?!1:s.value?t.value:e.value)}}const wt=71;function pe(s){return typeof s.outline=="object"&&!Array.isArray(s.outline)&&s.outline.label||s.outlineTitle||"On this page"}function _e(s){const e=[...document.querySelectorAll(".VPDoc :where(h1,h2,h3,h4,h5,h6)")].filter(t=>t.id&&t.hasChildNodes()).map(t=>{const n=Number(t.tagName[1]);return{title:Vt(t),link:"#"+t.id,level:n}});return Lt(e,s)}function Vt(s){let e="";for(const t of s.childNodes)if(t.nodeType===1){if(t.classList.contains("VPBadge")||t.classList.contains("header-anchor")||t.classList.contains("ignore-header"))continue;e+=t.textContent}else t.nodeType===3&&(e+=t.textContent);return e.trim()}function Lt(s,e){if(e===!1)return[];const t=(typeof e=="object"&&!Array.isArray(e)?e.level:e)||2,[n,o]=typeof t=="number"?[t,t]:t==="deep"?[2,6]:t;s=s.filter(d=>d.level>=n&&d.level<=o);const r=[];e:for(let d=0;d=0;v--){const g=s[v];if(g.level{requestAnimationFrame(r),window.addEventListener("scroll",n)}),Ge(()=>{d(location.hash)}),de(()=>{window.removeEventListener("scroll",n)});function r(){if(!t.value)return;const p=[].slice.call(s.value.querySelectorAll(".outline-link")),v=[].slice.call(document.querySelectorAll(".content .header-anchor")).filter(S=>p.some(N=>N.hash===S.hash&&S.offsetParent!==null)),g=window.scrollY,w=window.innerHeight,y=document.body.offsetHeight,I=Math.abs(g+w-y)<1;if(v.length&&I){d(v[v.length-1].hash);return}for(let S=0;S{const o=j("VPDocOutlineItem",!0);return a(),l("ul",{class:T(t.root?"root":"nested")},[(a(!0),l(C,null,B(t.headers,({children:r,link:d,title:p})=>(a(),l("li",null,[c("a",{class:"outline-link",href:d,onClick:e,title:p},L(p),9,Ct),r!=null&&r.length?(a(),k(o,{key:0,headers:r},null,8,["headers"])):f("",!0)]))),256))],2)}}}),fe=m(It,[["__scopeId","data-v-e98a93fd"]]),Tt=s=>(E("data-v-1a70d788"),s=s(),D(),s),At={class:"content"},Nt={class:"outline-title",role:"heading","aria-level":"2"},Bt={"aria-labelledby":"doc-outline-aria-label"},Ht=Tt(()=>c("span",{class:"visually-hidden",id:"doc-outline-aria-label"}," Table of Contents for current page ",-1)),zt=$({__name:"VPDocAsideOutline",setup(s){const{frontmatter:e,theme:t}=P(),n=ve([]);Y(()=>{n.value=_e(e.value.outline??t.value.outline)});const o=M(),r=M();return St(o,r),(d,p)=>(a(),l("div",{class:T(["VPDocAsideOutline",{"has-outline":n.value.length>0}]),ref_key:"container",ref:o,role:"navigation"},[c("div",At,[c("div",{class:"outline-marker",ref_key:"marker",ref:r},null,512),c("div",Nt,L(i(pe)(i(t))),1),c("nav",Bt,[Ht,_(fe,{headers:n.value,root:!0},null,8,["headers"])])])],2))}}),Et=m(zt,[["__scopeId","data-v-1a70d788"]]),Dt={class:"VPDocAsideCarbonAds"},Ft=$({__name:"VPDocAsideCarbonAds",props:{carbonAds:{}},setup(s){const e=()=>null;return(t,n)=>(a(),l("div",Dt,[_(i(e),{"carbon-ads":t.carbonAds},null,8,["carbon-ads"])]))}}),xt=s=>(E("data-v-6286864d"),s=s(),D(),s),Ot={class:"VPDocAside"},Ut=xt(()=>c("div",{class:"spacer"},null,-1)),Gt=$({__name:"VPDocAside",setup(s){const{theme:e}=P();return(t,n)=>(a(),l("div",Ot,[u(t.$slots,"aside-top",{},void 0,!0),u(t.$slots,"aside-outline-before",{},void 0,!0),_(Et),u(t.$slots,"aside-outline-after",{},void 0,!0),Ut,u(t.$slots,"aside-ads-before",{},void 0,!0),i(e).carbonAds?(a(),k(Ft,{key:0,"carbon-ads":i(e).carbonAds},null,8,["carbon-ads"])):f("",!0),u(t.$slots,"aside-ads-after",{},void 0,!0),u(t.$slots,"aside-bottom",{},void 0,!0)]))}}),jt=m(Gt,[["__scopeId","data-v-6286864d"]]);function Rt(){const{theme:s,page:e}=P();return b(()=>{const{text:t="Edit this page",pattern:n=""}=s.value.editLink||{};let o;return typeof n=="function"?o=n(e.value):o=n.replace(/:path/g,e.value.filePath),{url:o,text:t}})}function qt(){const{page:s,theme:e,frontmatter:t}=P();return b(()=>{var v,g,w,y,I,S,N,A;const n=Ie(e.value.sidebar,s.value.relativePath),o=kt(n),r=o.findIndex(V=>O(s.value.relativePath,V.link)),d=((v=e.value.docFooter)==null?void 0:v.prev)===!1&&!t.value.prev||t.value.prev===!1,p=((g=e.value.docFooter)==null?void 0:g.next)===!1&&!t.value.next||t.value.next===!1;return{prev:d?void 0:{text:(typeof t.value.prev=="string"?t.value.prev:typeof t.value.prev=="object"?t.value.prev.text:void 0)??((w=o[r-1])==null?void 0:w.docFooterText)??((y=o[r-1])==null?void 0:y.text),link:(typeof t.value.prev=="object"?t.value.prev.link:void 0)??((I=o[r-1])==null?void 0:I.link)},next:p?void 0:{text:(typeof t.value.next=="string"?t.value.next:typeof t.value.next=="object"?t.value.next.text:void 0)??((S=o[r+1])==null?void 0:S.docFooterText)??((N=o[r+1])==null?void 0:N.text),link:(typeof t.value.next=="object"?t.value.next.link:void 0)??((A=o[r+1])==null?void 0:A.link)}}})}const Kt={},Wt={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},Yt=c("path",{d:"M18,23H4c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h7c0.6,0,1,0.4,1,1s-0.4,1-1,1H4C3.4,5,3,5.4,3,6v14c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1v-7c0-0.6,0.4-1,1-1s1,0.4,1,1v7C21,21.7,19.7,23,18,23z"},null,-1),Jt=c("path",{d:"M8,17c-0.3,0-0.5-0.1-0.7-0.3C7,16.5,6.9,16.1,7,15.8l1-4c0-0.2,0.1-0.3,0.3-0.5l9.5-9.5c1.2-1.2,3.2-1.2,4.4,0c1.2,1.2,1.2,3.2,0,4.4l-9.5,9.5c-0.1,0.1-0.3,0.2-0.5,0.3l-4,1C8.2,17,8.1,17,8,17zM9.9,12.5l-0.5,2.1l2.1-0.5l9.3-9.3c0.4-0.4,0.4-1.1,0-1.6c-0.4-0.4-1.2-0.4-1.6,0l0,0L9.9,12.5z M18.5,2.5L18.5,2.5L18.5,2.5z"},null,-1),Xt=[Yt,Jt];function Zt(s,e){return a(),l("svg",Wt,Xt)}const Qt=m(Kt,[["render",Zt]]),z=$({__name:"VPLink",props:{tag:{},href:{},noIcon:{type:Boolean},target:{},rel:{}},setup(s){const e=s,t=b(()=>e.tag??(e.href?"a":"span")),n=b(()=>e.href&&Le.test(e.href));return(o,r)=>(a(),k(x(t.value),{class:T(["VPLink",{link:o.href,"vp-external-link-icon":n.value,"no-icon":o.noIcon}]),href:o.href?i(he)(o.href):void 0,target:o.target??(n.value?"_blank":void 0),rel:o.rel??(n.value?"noreferrer":void 0)},{default:h(()=>[u(o.$slots,"default")]),_:3},8,["class","href","target","rel"]))}}),es={class:"VPLastUpdated"},ts=["datetime"],ss=$({__name:"VPDocFooterLastUpdated",setup(s){const{theme:e,page:t,frontmatter:n,lang:o}=P(),r=b(()=>new Date(n.value.lastUpdated??t.value.lastUpdated)),d=b(()=>r.value.toISOString()),p=M("");return U(()=>{ee(()=>{var v,g,w;p.value=new Intl.DateTimeFormat((g=(v=e.value.lastUpdated)==null?void 0:v.formatOptions)!=null&&g.forceLocale?o.value:void 0,((w=e.value.lastUpdated)==null?void 0:w.formatOptions)??{dateStyle:"short",timeStyle:"short"}).format(r.value)})}),(v,g)=>{var w;return a(),l("p",es,[H(L(((w=i(e).lastUpdated)==null?void 0:w.text)||i(e).lastUpdatedText||"Last updated")+": ",1),c("time",{datetime:d.value},L(p.value),9,ts)])}}}),ns=m(ss,[["__scopeId","data-v-7ba06d0b"]]),os={key:0,class:"VPDocFooter"},as={key:0,class:"edit-info"},rs={key:0,class:"edit-link"},is={key:1,class:"last-updated"},ls={key:1,class:"prev-next"},cs={class:"pager"},us=["innerHTML"],ds=["innerHTML"],vs={class:"pager"},hs=["innerHTML"],ps=["innerHTML"],_s=$({__name:"VPDocFooter",setup(s){const{theme:e,page:t,frontmatter:n}=P(),o=Rt(),r=qt(),d=b(()=>e.value.editLink&&n.value.editLink!==!1),p=b(()=>t.value.lastUpdated&&n.value.lastUpdated!==!1),v=b(()=>d.value||p.value||r.value.prev||r.value.next);return(g,w)=>{var y,I,S,N;return v.value?(a(),l("footer",os,[u(g.$slots,"doc-footer-before",{},void 0,!0),d.value||p.value?(a(),l("div",as,[d.value?(a(),l("div",rs,[_(z,{class:"edit-link-button",href:i(o).url,"no-icon":!0},{default:h(()=>[_(Qt,{class:"edit-link-icon","aria-label":"edit icon"}),H(" "+L(i(o).text),1)]),_:1},8,["href"])])):f("",!0),p.value?(a(),l("div",is,[_(ns)])):f("",!0)])):f("",!0),(y=i(r).prev)!=null&&y.link||(I=i(r).next)!=null&&I.link?(a(),l("nav",ls,[c("div",cs,[(S=i(r).prev)!=null&&S.link?(a(),k(z,{key:0,class:"pager-link prev",href:i(r).prev.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.prev)||"Previous page"},null,8,us),c("span",{class:"title",innerHTML:i(r).prev.text},null,8,ds)]}),_:1},8,["href"])):f("",!0)]),c("div",vs,[(N=i(r).next)!=null&&N.link?(a(),k(z,{key:0,class:"pager-link next",href:i(r).next.link},{default:h(()=>{var A;return[c("span",{class:"desc",innerHTML:((A=i(e).docFooter)==null?void 0:A.next)||"Next page"},null,8,hs),c("span",{class:"title",innerHTML:i(r).next.text},null,8,ps)]}),_:1},8,["href"])):f("",!0)])])):f("",!0)])):f("",!0)}}}),fs=m(_s,[["__scopeId","data-v-df878854"]]),ms={},gs={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},$s=c("path",{d:"M9,19c-0.3,0-0.5-0.1-0.7-0.3c-0.4-0.4-0.4-1,0-1.4l5.3-5.3L8.3,6.7c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l6,6c0.4,0.4,0.4,1,0,1.4l-6,6C9.5,18.9,9.3,19,9,19z"},null,-1),ks=[$s];function bs(s,e){return a(),l("svg",gs,ks)}const me=m(ms,[["render",bs]]),ys={key:0,class:"VPDocOutlineDropdown"},Ps={key:0,class:"items"},ws=$({__name:"VPDocOutlineDropdown",setup(s){const{frontmatter:e,theme:t}=P(),n=M(!1);Y(()=>{n.value=!1});const o=ve([]);return Y(()=>{o.value=_e(e.value.outline??t.value.outline)}),(r,d)=>o.value.length>0?(a(),l("div",ys,[c("button",{onClick:d[0]||(d[0]=p=>n.value=!n.value),class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2),n.value?(a(),l("div",Ps,[_(fe,{headers:o.value},null,8,["headers"])])):f("",!0)])):f("",!0)}}),Vs=m(ws,[["__scopeId","data-v-71c8d9e5"]]),Ls=s=>(E("data-v-3cfeeafb"),s=s(),D(),s),Ss={class:"container"},Ms=Ls(()=>c("div",{class:"aside-curtain"},null,-1)),Cs={class:"aside-container"},Is={class:"aside-content"},Ts={class:"content"},As={class:"content-container"},Ns={class:"main"},Bs=$({__name:"VPDoc",setup(s){const{theme:e}=P(),t=te(),{hasSidebar:n,hasAside:o,leftAside:r}=F(),d=b(()=>t.path.replace(/[./]+/g,"_").replace(/_html$/,""));return(p,v)=>{const g=j("Content");return a(),l("div",{class:T(["VPDoc",{"has-sidebar":i(n),"has-aside":i(o)}])},[u(p.$slots,"doc-top",{},void 0,!0),c("div",Ss,[i(o)?(a(),l("div",{key:0,class:T(["aside",{"left-aside":i(r)}])},[Ms,c("div",Cs,[c("div",Is,[_(jt,null,{"aside-top":h(()=>[u(p.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(p.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(p.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(p.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(p.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(p.$slots,"aside-ads-after",{},void 0,!0)]),_:3})])])],2)):f("",!0),c("div",Ts,[c("div",As,[u(p.$slots,"doc-before",{},void 0,!0),_(Vs),c("main",Ns,[_(g,{class:T(["vp-doc",[d.value,i(e).externalLinkIcon&&"external-link-icon-enabled"]])},null,8,["class"])]),_(fs,null,{"doc-footer-before":h(()=>[u(p.$slots,"doc-footer-before",{},void 0,!0)]),_:3}),u(p.$slots,"doc-after",{},void 0,!0)])])]),u(p.$slots,"doc-bottom",{},void 0,!0)],2)}}}),Hs=m(Bs,[["__scopeId","data-v-3cfeeafb"]]),zs=$({__name:"VPButton",props:{tag:{},size:{default:"medium"},theme:{default:"brand"},text:{},href:{}},setup(s){const e=s,t=b(()=>e.href&&Le.test(e.href)),n=b(()=>e.tag||e.href?"a":"button");return(o,r)=>(a(),k(x(n.value),{class:T(["VPButton",[o.size,o.theme]]),href:o.href?i(he)(o.href):void 0,target:t.value?"_blank":void 0,rel:t.value?"noreferrer":void 0},{default:h(()=>[H(L(o.text),1)]),_:1},8,["class","href","target","rel"]))}}),Es=m(zs,[["__scopeId","data-v-c12f3074"]]),Ds=["src","alt"],Fs=$({inheritAttrs:!1,__name:"VPImage",props:{image:{},alt:{}},setup(s){return(e,t)=>{const n=j("VPImage",!0);return e.image?(a(),l(C,{key:0},[typeof e.image=="string"||"src"in e.image?(a(),l("img",X({key:0,class:"VPImage"},typeof e.image=="string"?e.$attrs:{...e.image,...e.$attrs},{src:i(ue)(typeof e.image=="string"?e.image:e.image.src),alt:e.alt??(typeof e.image=="string"?"":e.image.alt||"")}),null,16,Ds)):(a(),l(C,{key:1},[_(n,X({class:"dark",image:e.image.dark,alt:e.image.alt},e.$attrs),null,16,["image","alt"]),_(n,X({class:"light",image:e.image.light,alt:e.image.alt},e.$attrs),null,16,["image","alt"])],64))],64)):f("",!0)}}}),Q=m(Fs,[["__scopeId","data-v-2d5703ec"]]),xs=s=>(E("data-v-a65a8cb8"),s=s(),D(),s),Os={class:"container"},Us={class:"main"},Gs={key:0,class:"name"},js=["innerHTML"],Rs=["innerHTML"],qs=["innerHTML"],Ks={key:0,class:"actions"},Ws={key:0,class:"image"},Ys={class:"image-container"},Js=xs(()=>c("div",{class:"image-bg"},null,-1)),Xs=$({__name:"VPHero",props:{name:{},text:{},tagline:{},image:{},actions:{}},setup(s){const e=se("hero-image-slot-exists");return(t,n)=>(a(),l("div",{class:T(["VPHero",{"has-image":t.image||i(e)}])},[c("div",Os,[c("div",Us,[u(t.$slots,"home-hero-info",{},()=>[t.name?(a(),l("h1",Gs,[c("span",{innerHTML:t.name,class:"clip"},null,8,js)])):f("",!0),t.text?(a(),l("p",{key:1,innerHTML:t.text,class:"text"},null,8,Rs)):f("",!0),t.tagline?(a(),l("p",{key:2,innerHTML:t.tagline,class:"tagline"},null,8,qs)):f("",!0)],!0),t.actions?(a(),l("div",Ks,[(a(!0),l(C,null,B(t.actions,o=>(a(),l("div",{key:o.link,class:"action"},[_(Es,{tag:"a",size:"medium",theme:o.theme,text:o.text,href:o.link},null,8,["theme","text","href"])]))),128))])):f("",!0)]),t.image||i(e)?(a(),l("div",Ws,[c("div",Ys,[Js,u(t.$slots,"home-hero-image",{},()=>[t.image?(a(),k(Q,{key:0,class:"image-src",image:t.image},null,8,["image"])):f("",!0)],!0)])])):f("",!0)])],2))}}),Zs=m(Xs,[["__scopeId","data-v-a65a8cb8"]]),Qs=$({__name:"VPHomeHero",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).hero?(a(),k(Zs,{key:0,class:"VPHomeHero",name:i(e).hero.name,text:i(e).hero.text,tagline:i(e).hero.tagline,image:i(e).hero.image,actions:i(e).hero.actions},{"home-hero-info":h(()=>[u(t.$slots,"home-hero-info")]),"home-hero-image":h(()=>[u(t.$slots,"home-hero-image")]),_:3},8,["name","text","tagline","image","actions"])):f("",!0)}}),en={},tn={xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},sn=c("path",{d:"M19.9,12.4c0.1-0.2,0.1-0.5,0-0.8c-0.1-0.1-0.1-0.2-0.2-0.3l-7-7c-0.4-0.4-1-0.4-1.4,0s-0.4,1,0,1.4l5.3,5.3H5c-0.6,0-1,0.4-1,1s0.4,1,1,1h11.6l-5.3,5.3c-0.4,0.4-0.4,1,0,1.4c0.2,0.2,0.5,0.3,0.7,0.3s0.5-0.1,0.7-0.3l7-7C19.8,12.6,19.9,12.5,19.9,12.4z"},null,-1),nn=[sn];function on(s,e){return a(),l("svg",tn,nn)}const an=m(en,[["render",on]]),rn={class:"box"},ln={key:0,class:"icon"},cn=["innerHTML"],un=["innerHTML"],dn=["innerHTML"],vn={key:4,class:"link-text"},hn={class:"link-text-value"},pn=$({__name:"VPFeature",props:{icon:{},title:{},details:{},link:{},linkText:{},rel:{},target:{}},setup(s){return(e,t)=>(a(),k(z,{class:"VPFeature",href:e.link,rel:e.rel,target:e.target,"no-icon":!0,tag:e.link?"a":"div"},{default:h(()=>[c("article",rn,[typeof e.icon=="object"&&e.icon.wrap?(a(),l("div",ln,[_(Q,{image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])])):typeof e.icon=="object"?(a(),k(Q,{key:1,image:e.icon,alt:e.icon.alt,height:e.icon.height||48,width:e.icon.width||48},null,8,["image","alt","height","width"])):e.icon?(a(),l("div",{key:2,class:"icon",innerHTML:e.icon},null,8,cn)):f("",!0),c("h2",{class:"title",innerHTML:e.title},null,8,un),e.details?(a(),l("p",{key:3,class:"details",innerHTML:e.details},null,8,dn)):f("",!0),e.linkText?(a(),l("div",vn,[c("p",hn,[H(L(e.linkText)+" ",1),_(an,{class:"link-text-icon"})])])):f("",!0)])]),_:1},8,["href","rel","target","tag"]))}}),_n=m(pn,[["__scopeId","data-v-606817c6"]]),fn={key:0,class:"VPFeatures"},mn={class:"container"},gn={class:"items"},$n=$({__name:"VPFeatures",props:{features:{}},setup(s){const e=s,t=b(()=>{const n=e.features.length;if(n){if(n===2)return"grid-2";if(n===3)return"grid-3";if(n%3===0)return"grid-6";if(n>3)return"grid-4"}else return});return(n,o)=>n.features?(a(),l("div",fn,[c("div",mn,[c("div",gn,[(a(!0),l(C,null,B(n.features,r=>(a(),l("div",{key:r.title,class:T(["item",[t.value]])},[_(_n,{icon:r.icon,title:r.title,details:r.details,link:r.link,"link-text":r.linkText,rel:r.rel,target:r.target},null,8,["icon","title","details","link","link-text","rel","target"])],2))),128))])])])):f("",!0)}}),kn=m($n,[["__scopeId","data-v-0301990a"]]),bn=$({__name:"VPHomeFeatures",setup(s){const{frontmatter:e}=P();return(t,n)=>i(e).features?(a(),k(kn,{key:0,class:"VPHomeFeatures",features:i(e).features},null,8,["features"])):f("",!0)}}),yn={class:"VPHome"},Pn=$({__name:"VPHome",setup(s){return(e,t)=>{const n=j("Content");return a(),l("div",yn,[u(e.$slots,"home-hero-before",{},void 0,!0),_(Qs,null,{"home-hero-info":h(()=>[u(e.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(e.$slots,"home-hero-image",{},void 0,!0)]),_:3}),u(e.$slots,"home-hero-after",{},void 0,!0),u(e.$slots,"home-features-before",{},void 0,!0),_(bn),u(e.$slots,"home-features-after",{},void 0,!0),_(n)])}}}),wn=m(Pn,[["__scopeId","data-v-d4b57864"]]),Vn={},Ln={class:"VPPage"};function Sn(s,e){const t=j("Content");return a(),l("div",Ln,[u(s.$slots,"page-top"),_(t),u(s.$slots,"page-bottom")])}const Mn=m(Vn,[["render",Sn]]),Cn=$({__name:"VPContent",setup(s){const{page:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>(a(),l("div",{class:T(["VPContent",{"has-sidebar":i(n),"is-home":i(t).layout==="home"}]),id:"VPContent"},[i(e).isNotFound?u(o.$slots,"not-found",{key:0},()=>[_(gt)],!0):i(t).layout==="page"?(a(),k(Mn,{key:1},{"page-top":h(()=>[u(o.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(o.$slots,"page-bottom",{},void 0,!0)]),_:3})):i(t).layout==="home"?(a(),k(wn,{key:2},{"home-hero-before":h(()=>[u(o.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(o.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(o.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(o.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(o.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(o.$slots,"home-features-after",{},void 0,!0)]),_:3})):i(t).layout&&i(t).layout!=="doc"?(a(),k(x(i(t).layout),{key:3})):(a(),k(Hs,{key:4},{"doc-top":h(()=>[u(o.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(o.$slots,"doc-bottom",{},void 0,!0)]),"doc-footer-before":h(()=>[u(o.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(o.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(o.$slots,"doc-after",{},void 0,!0)]),"aside-top":h(()=>[u(o.$slots,"aside-top",{},void 0,!0)]),"aside-outline-before":h(()=>[u(o.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(o.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(o.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(o.$slots,"aside-ads-after",{},void 0,!0)]),"aside-bottom":h(()=>[u(o.$slots,"aside-bottom",{},void 0,!0)]),_:3}))],2))}}),In=m(Cn,[["__scopeId","data-v-7cf43e40"]]),Tn={class:"container"},An=["innerHTML"],Nn=["innerHTML"],Bn=$({__name:"VPFooter",setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F();return(o,r)=>i(e).footer&&i(t).footer!==!1?(a(),l("footer",{key:0,class:T(["VPFooter",{"has-sidebar":i(n)}])},[c("div",Tn,[i(e).footer.message?(a(),l("p",{key:0,class:"message",innerHTML:i(e).footer.message},null,8,An)):f("",!0),i(e).footer.copyright?(a(),l("p",{key:1,class:"copyright",innerHTML:i(e).footer.copyright},null,8,Nn)):f("",!0)])],2)):f("",!0)}}),Hn=m(Bn,[["__scopeId","data-v-fe83058d"]]),zn={class:"header"},En={class:"outline"},Dn=$({__name:"VPLocalNavOutlineDropdown",props:{headers:{},navHeight:{}},setup(s){const e=s,{theme:t}=P(),n=M(!1),o=M(0),r=M();Y(()=>{n.value=!1});function d(){n.value=!n.value,o.value=window.innerHeight+Math.min(window.scrollY-e.navHeight,0)}function p(g){g.target.classList.contains("outline-link")&&(r.value&&(r.value.style.transition="none"),Re(()=>{n.value=!1}))}function v(){n.value=!1,window.scrollTo({top:0,left:0,behavior:"smooth"})}return(g,w)=>(a(),l("div",{class:"VPLocalNavOutlineDropdown",style:je({"--vp-vh":o.value+"px"})},[g.headers.length>0?(a(),l("button",{key:0,onClick:d,class:T({open:n.value})},[H(L(i(pe)(i(t)))+" ",1),_(me,{class:"icon"})],2)):(a(),l("button",{key:1,onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)),_(ce,{name:"flyout"},{default:h(()=>[n.value?(a(),l("div",{key:0,ref_key:"items",ref:r,class:"items",onClick:p},[c("div",zn,[c("a",{class:"top-link",href:"#",onClick:v},L(i(t).returnToTopLabel||"Return to top"),1)]),c("div",En,[_(fe,{headers:g.headers},null,8,["headers"])])],512)):f("",!0)]),_:1})],4))}}),Fn=m(Dn,[["__scopeId","data-v-2d5ab510"]]),xn={},On={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Un=c("path",{d:"M17,11H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,11,17,11z"},null,-1),Gn=c("path",{d:"M21,7H3C2.4,7,2,6.6,2,6s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,7,21,7z"},null,-1),jn=c("path",{d:"M21,15H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h18c0.6,0,1,0.4,1,1S21.6,15,21,15z"},null,-1),Rn=c("path",{d:"M17,19H3c-0.6,0-1-0.4-1-1s0.4-1,1-1h14c0.6,0,1,0.4,1,1S17.6,19,17,19z"},null,-1),qn=[Un,Gn,jn,Rn];function Kn(s,e){return a(),l("svg",On,qn)}const Wn=m(xn,[["render",Kn]]),Yn=["aria-expanded"],Jn={class:"menu-text"},Xn=$({__name:"VPLocalNav",props:{open:{type:Boolean}},emits:["open-menu"],setup(s){const{theme:e,frontmatter:t}=P(),{hasSidebar:n}=F(),{y:o}=Se(),r=ve([]),d=M(0);U(()=>{d.value=parseInt(getComputedStyle(document.documentElement).getPropertyValue("--vp-nav-height"))}),Y(()=>{r.value=_e(t.value.outline??e.value.outline)});const p=b(()=>r.value.length===0&&!n.value),v=b(()=>({VPLocalNav:!0,fixed:p.value,"reached-top":o.value>=d.value}));return(g,w)=>i(t).layout!=="home"&&(!p.value||i(o)>=d.value)?(a(),l("div",{key:0,class:T(v.value)},[i(n)?(a(),l("button",{key:0,class:"menu","aria-expanded":g.open,"aria-controls":"VPSidebarNav",onClick:w[0]||(w[0]=y=>g.$emit("open-menu"))},[_(Wn,{class:"menu-icon"}),c("span",Jn,L(i(e).sidebarMenuLabel||"Menu"),1)],8,Yn)):f("",!0),_(Fn,{headers:r.value,navHeight:d.value},null,8,["headers","navHeight"])],2)):f("",!0)}}),Zn=m(Xn,[["__scopeId","data-v-78b81a63"]]);function Qn(){const s=M(!1);function e(){s.value=!0,window.addEventListener("resize",o)}function t(){s.value=!1,window.removeEventListener("resize",o)}function n(){s.value?t():e()}function o(){window.outerWidth>=768&&t()}const r=te();return G(()=>r.path,t),{isScreenOpen:s,openScreen:e,closeScreen:t,toggleScreen:n}}const eo={},to={class:"VPSwitch",type:"button",role:"switch"},so={class:"check"},no={key:0,class:"icon"};function oo(s,e){return a(),l("button",to,[c("span",so,[s.$slots.default?(a(),l("span",no,[u(s.$slots,"default",{},void 0,!0)])):f("",!0)])])}const ao=m(eo,[["render",oo],["__scopeId","data-v-ea7a03a6"]]),ro={},io={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},lo=c("path",{d:"M12.1,22c-0.3,0-0.6,0-0.9,0c-5.5-0.5-9.5-5.4-9-10.9c0.4-4.8,4.2-8.6,9-9c0.4,0,0.8,0.2,1,0.5c0.2,0.3,0.2,0.8-0.1,1.1c-2,2.7-1.4,6.4,1.3,8.4c2.1,1.6,5,1.6,7.1,0c0.3-0.2,0.7-0.3,1.1-0.1c0.3,0.2,0.5,0.6,0.5,1c-0.2,2.7-1.5,5.1-3.6,6.8C16.6,21.2,14.4,22,12.1,22zM9.3,4.4c-2.9,1-5,3.6-5.2,6.8c-0.4,4.4,2.8,8.3,7.2,8.7c2.1,0.2,4.2-0.4,5.8-1.8c1.1-0.9,1.9-2.1,2.4-3.4c-2.5,0.9-5.3,0.5-7.5-1.1C9.2,11.4,8.1,7.7,9.3,4.4z"},null,-1),co=[lo];function uo(s,e){return a(),l("svg",io,co)}const vo=m(ro,[["render",uo]]),ho={},po={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},_o=qe('',9),fo=[_o];function mo(s,e){return a(),l("svg",po,fo)}const go=m(ho,[["render",mo]]),$o=$({__name:"VPSwitchAppearance",setup(s){const{isDark:e}=P(),t=se("toggle-appearance",()=>{e.value=!e.value}),n=b(()=>e.value?"Switch to light theme":"Switch to dark theme");return(o,r)=>(a(),k(ao,{title:n.value,class:"VPSwitchAppearance","aria-checked":i(e),onClick:i(t)},{default:h(()=>[_(go,{class:"sun"}),_(vo,{class:"moon"})]),_:1},8,["title","aria-checked","onClick"]))}}),ge=m($o,[["__scopeId","data-v-087bcdae"]]),ko={key:0,class:"VPNavBarAppearance"},bo=$({__name:"VPNavBarAppearance",setup(s){const{site:e}=P();return(t,n)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ko,[_(ge)])):f("",!0)}}),yo=m(bo,[["__scopeId","data-v-99d28b58"]]),$e=M();let Ae=!1,ae=0;function Po(s){const e=M(!1);if(K){!Ae&&wo(),ae++;const t=G($e,n=>{var o,r,d;n===s.el.value||(o=s.el.value)!=null&&o.contains(n)?(e.value=!0,(r=s.onFocus)==null||r.call(s)):(e.value=!1,(d=s.onBlur)==null||d.call(s))});de(()=>{t(),ae--,ae||Vo()})}return Ke(e)}function wo(){document.addEventListener("focusin",Ne),Ae=!0,$e.value=document.activeElement}function Vo(){document.removeEventListener("focusin",Ne)}function Ne(){$e.value=document.activeElement}const Lo={},So={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Mo=c("path",{d:"M12,16c-0.3,0-0.5-0.1-0.7-0.3l-6-6c-0.4-0.4-0.4-1,0-1.4s1-0.4,1.4,0l5.3,5.3l5.3-5.3c0.4-0.4,1-0.4,1.4,0s0.4,1,0,1.4l-6,6C12.5,15.9,12.3,16,12,16z"},null,-1),Co=[Mo];function Io(s,e){return a(),l("svg",So,Co)}const Be=m(Lo,[["render",Io]]),To={},Ao={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},No=c("circle",{cx:"12",cy:"12",r:"2"},null,-1),Bo=c("circle",{cx:"19",cy:"12",r:"2"},null,-1),Ho=c("circle",{cx:"5",cy:"12",r:"2"},null,-1),zo=[No,Bo,Ho];function Eo(s,e){return a(),l("svg",Ao,zo)}const Do=m(To,[["render",Eo]]),Fo={class:"VPMenuLink"},xo=$({__name:"VPMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),l("div",Fo,[_(z,{class:T({active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["class","href","target","rel"])]))}}),ne=m(xo,[["__scopeId","data-v-d4575af1"]]),Oo={class:"VPMenuGroup"},Uo={key:0,class:"title"},Go=$({__name:"VPMenuGroup",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Oo,[e.text?(a(),l("p",Uo,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),l(C,null,["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):f("",!0)],64))),256))]))}}),jo=m(Go,[["__scopeId","data-v-717440f8"]]),Ro={class:"VPMenu"},qo={key:0,class:"items"},Ko=$({__name:"VPMenu",props:{items:{}},setup(s){return(e,t)=>(a(),l("div",Ro,[e.items?(a(),l("div",qo,[(a(!0),l(C,null,B(e.items,n=>(a(),l(C,{key:n.text},["link"in n?(a(),k(ne,{key:0,item:n},null,8,["item"])):(a(),k(jo,{key:1,text:n.text,items:n.items},null,8,["text","items"]))],64))),128))])):f("",!0),u(e.$slots,"default",{},void 0,!0)]))}}),Wo=m(Ko,[["__scopeId","data-v-3f2a3866"]]),Yo=["aria-expanded","aria-label"],Jo={key:0,class:"text"},Xo=["innerHTML"],Zo={class:"menu"},Qo=$({__name:"VPFlyout",props:{icon:{},button:{},label:{},items:{}},setup(s){const e=M(!1),t=M();Po({el:t,onBlur:n});function n(){e.value=!1}return(o,r)=>(a(),l("div",{class:"VPFlyout",ref_key:"el",ref:t,onMouseenter:r[1]||(r[1]=d=>e.value=!0),onMouseleave:r[2]||(r[2]=d=>e.value=!1)},[c("button",{type:"button",class:"button","aria-haspopup":"true","aria-expanded":e.value,"aria-label":o.label,onClick:r[0]||(r[0]=d=>e.value=!e.value)},[o.button||o.icon?(a(),l("span",Jo,[o.icon?(a(),k(x(o.icon),{key:0,class:"option-icon"})):f("",!0),o.button?(a(),l("span",{key:1,innerHTML:o.button},null,8,Xo)):f("",!0),_(Be,{class:"text-icon"})])):(a(),k(Do,{key:1,class:"icon"}))],8,Yo),c("div",Zo,[_(Wo,{items:o.items},{default:h(()=>[u(o.$slots,"default",{},void 0,!0)]),_:3},8,["items"])])],544))}}),ke=m(Qo,[["__scopeId","data-v-297b0822"]]),ea={discord:'Discord',facebook:'Facebook',github:'GitHub',instagram:'Instagram',linkedin:'LinkedIn',mastodon:'Mastodon',slack:'Slack',twitter:'Twitter',x:'X',youtube:'YouTube'},ta=["href","aria-label","innerHTML"],sa=$({__name:"VPSocialLink",props:{icon:{},link:{},ariaLabel:{}},setup(s){const e=s,t=b(()=>typeof e.icon=="object"?e.icon.svg:ea[e.icon]);return(n,o)=>(a(),l("a",{class:"VPSocialLink no-icon",href:n.link,"aria-label":n.ariaLabel??(typeof n.icon=="string"?n.icon:""),target:"_blank",rel:"noopener",innerHTML:t.value},null,8,ta))}}),na=m(sa,[["__scopeId","data-v-c0e5cde0"]]),oa={class:"VPSocialLinks"},aa=$({__name:"VPSocialLinks",props:{links:{}},setup(s){return(e,t)=>(a(),l("div",oa,[(a(!0),l(C,null,B(e.links,({link:n,icon:o,ariaLabel:r})=>(a(),k(na,{key:n,icon:o,link:n,ariaLabel:r},null,8,["icon","link","ariaLabel"]))),128))]))}}),be=m(aa,[["__scopeId","data-v-43e496cc"]]),ra={key:0,class:"group translations"},ia={class:"trans-title"},la={key:1,class:"group"},ca={class:"item appearance"},ua={class:"label"},da={class:"appearance-action"},va={key:2,class:"group"},ha={class:"item social-links"},pa=$({__name:"VPNavBarExtra",setup(s){const{site:e,theme:t}=P(),{localeLinks:n,currentLang:o}=J({correspondingLink:!0}),r=b(()=>n.value.length&&o.value.label||e.value.appearance||t.value.socialLinks);return(d,p)=>r.value?(a(),k(ke,{key:0,class:"VPNavBarExtra",label:"extra navigation"},{default:h(()=>[i(n).length&&i(o).label?(a(),l("div",ra,[c("p",ia,L(i(o).label),1),(a(!0),l(C,null,B(i(n),v=>(a(),k(ne,{key:v.link,item:v},null,8,["item"]))),128))])):f("",!0),i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",la,[c("div",ca,[c("p",ua,L(i(t).darkModeSwitchLabel||"Appearance"),1),c("div",da,[_(ge)])])])):f("",!0),i(t).socialLinks?(a(),l("div",va,[c("div",ha,[_(be,{class:"social-links-list",links:i(t).socialLinks},null,8,["links"])])])):f("",!0)]),_:1})):f("",!0)}}),_a=m(pa,[["__scopeId","data-v-2019dd92"]]),fa=s=>(E("data-v-e5d0cffe"),s=s(),D(),s),ma=["aria-expanded"],ga=fa(()=>c("span",{class:"container"},[c("span",{class:"top"}),c("span",{class:"middle"}),c("span",{class:"bottom"})],-1)),$a=[ga],ka=$({__name:"VPNavBarHamburger",props:{active:{type:Boolean}},emits:["click"],setup(s){return(e,t)=>(a(),l("button",{type:"button",class:T(["VPNavBarHamburger",{active:e.active}]),"aria-label":"mobile navigation","aria-expanded":e.active,"aria-controls":"VPNavScreen",onClick:t[0]||(t[0]=n=>e.$emit("click"))},$a,10,ma))}}),ba=m(ka,[["__scopeId","data-v-e5d0cffe"]]),ya=["innerHTML"],Pa=$({__name:"VPNavBarMenuLink",props:{item:{}},setup(s){const{page:e}=P();return(t,n)=>(a(),k(z,{class:T({VPNavBarMenuLink:!0,active:i(O)(i(e).relativePath,t.item.activeMatch||t.item.link,!!t.item.activeMatch)}),href:t.item.link,target:t.item.target,rel:t.item.rel,tabindex:"0"},{default:h(()=>[c("span",{innerHTML:t.item.text},null,8,ya)]),_:1},8,["class","href","target","rel"]))}}),wa=m(Pa,[["__scopeId","data-v-9963db19"]]),Va=$({__name:"VPNavBarMenuGroup",props:{item:{}},setup(s){const e=s,{page:t}=P(),n=r=>"link"in r?O(t.value.relativePath,r.link,!!e.item.activeMatch):r.items.some(n),o=b(()=>n(e.item));return(r,d)=>(a(),k(ke,{class:T({VPNavBarMenuGroup:!0,active:i(O)(i(t).relativePath,r.item.activeMatch,!!r.item.activeMatch)||o.value}),button:r.item.text,items:r.item.items},null,8,["class","button","items"]))}}),La=s=>(E("data-v-01aeea62"),s=s(),D(),s),Sa={key:0,"aria-labelledby":"main-nav-aria-label",class:"VPNavBarMenu"},Ma=La(()=>c("span",{id:"main-nav-aria-label",class:"visually-hidden"},"Main Navigation",-1)),Ca=$({__name:"VPNavBarMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Sa,[Ma,(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(wa,{key:0,item:o},null,8,["item"])):(a(),k(Va,{key:1,item:o},null,8,["item"]))],64))),128))])):f("",!0)}}),Ia=m(Ca,[["__scopeId","data-v-01aeea62"]]);function Ta(s,e){const{localeIndex:t}=P();function n(o){var S,N;const r=o.split("."),d=s&&typeof s=="object",p=d&&((N=(S=s.locales)==null?void 0:S[t.value])==null?void 0:N.translations)||null,v=d&&s.translations||null;let g=p,w=v,y=e;const I=r.pop();for(const A of r){let V=null;const R=y==null?void 0:y[A];R&&(V=y=R);const W=w==null?void 0:w[A];W&&(V=w=W);const q=g==null?void 0:g[A];q&&(V=g=q),R||(y=V),W||(w=V),q||(g=V)}return(g==null?void 0:g[I])??(w==null?void 0:w[I])??(y==null?void 0:y[I])??""}return n}const Aa=["aria-label"],Na={class:"DocSearch-Button-Container"},Ba=c("svg",{class:"DocSearch-Search-Icon",width:"20",height:"20",viewBox:"0 0 20 20","aria-label":"search icon"},[c("path",{d:"M14.386 14.386l4.0877 4.0877-4.0877-4.0877c-2.9418 2.9419-7.7115 2.9419-10.6533 0-2.9419-2.9418-2.9419-7.7115 0-10.6533 2.9418-2.9419 7.7115-2.9419 10.6533 0 2.9419 2.9418 2.9419 7.7115 0 10.6533z",stroke:"currentColor",fill:"none","fill-rule":"evenodd","stroke-linecap":"round","stroke-linejoin":"round"})],-1),Ha={class:"DocSearch-Button-Placeholder"},za=c("span",{class:"DocSearch-Button-Keys"},[c("kbd",{class:"DocSearch-Button-Key"}),c("kbd",{class:"DocSearch-Button-Key"},"K")],-1),we=$({__name:"VPNavBarSearchButton",setup(s){const{theme:e}=P(),t={button:{buttonText:"Search",buttonAriaLabel:"Search"}},n=We(Ta)(Ye(()=>{var o;return(o=e.value.search)==null?void 0:o.options}),t);return(o,r)=>(a(),l("button",{type:"button",class:"DocSearch DocSearch-Button","aria-label":i(n)("button.buttonAriaLabel")},[c("span",Na,[Ba,c("span",Ha,L(i(n)("button.buttonText")),1)]),za],8,Aa))}}),Ea={class:"VPNavBarSearch"},Da={id:"local-search"},Fa={key:1,id:"docsearch"},xa=$({__name:"VPNavBarSearch",setup(s){const e=Je(()=>Xe(()=>import("./VPLocalSearchBox.BMUz8lFT.js"),__vite__mapDeps([0,1]))),t=()=>null,{theme:n}=P(),o=M(!1),r=M(!1);U(()=>{});function d(){o.value||(o.value=!0,setTimeout(p,16))}function p(){const y=new Event("keydown");y.key="k",y.metaKey=!0,window.dispatchEvent(y),setTimeout(()=>{document.querySelector(".DocSearch-Modal")||p()},16)}function v(y){const I=y.target,S=I.tagName;return I.isContentEditable||S==="INPUT"||S==="SELECT"||S==="TEXTAREA"}const g=M(!1);ye("k",y=>{(y.ctrlKey||y.metaKey)&&(y.preventDefault(),g.value=!0)}),ye("/",y=>{v(y)||(y.preventDefault(),g.value=!0)});const w="local";return(y,I)=>{var S;return a(),l("div",Ea,[i(w)==="local"?(a(),l(C,{key:0},[g.value?(a(),k(i(e),{key:0,onClose:I[0]||(I[0]=N=>g.value=!1)})):f("",!0),c("div",Da,[_(we,{onClick:I[1]||(I[1]=N=>g.value=!0)})])],64)):i(w)==="algolia"?(a(),l(C,{key:1},[o.value?(a(),k(i(t),{key:0,algolia:((S=i(n).search)==null?void 0:S.options)??i(n).algolia,onVnodeBeforeMount:I[2]||(I[2]=N=>r.value=!0)},null,8,["algolia"])):f("",!0),r.value?f("",!0):(a(),l("div",Fa,[_(we,{onClick:d})]))],64)):f("",!0)])}}}),Oa=$({__name:"VPNavBarSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavBarSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),Ua=m(Oa,[["__scopeId","data-v-40b1cae8"]]),Ga=["href"],ja=$({__name:"VPNavBarTitle",setup(s){const{site:e,theme:t}=P(),{hasSidebar:n}=F(),{currentLang:o}=J();return(r,d)=>(a(),l("div",{class:T(["VPNavBarTitle",{"has-sidebar":i(n)}])},[c("a",{class:"title",href:i(t).logoLink??i(he)(i(o).link)},[u(r.$slots,"nav-bar-title-before",{},void 0,!0),i(t).logo?(a(),k(Q,{key:0,class:"logo",image:i(t).logo},null,8,["image"])):f("",!0),i(t).siteTitle?(a(),l(C,{key:1},[H(L(i(t).siteTitle),1)],64)):i(t).siteTitle===void 0?(a(),l(C,{key:2},[H(L(i(e).title),1)],64)):f("",!0),u(r.$slots,"nav-bar-title-after",{},void 0,!0)],8,Ga)],2))}}),Ra=m(ja,[["__scopeId","data-v-8791fade"]]),qa={},Ka={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},Wa=c("path",{d:"M0 0h24v24H0z",fill:"none"},null,-1),Ya=c("path",{d:" M12.87 15.07l-2.54-2.51.03-.03c1.74-1.94 2.98-4.17 3.71-6.53H17V4h-7V2H8v2H1v1.99h11.17C11.5 7.92 10.44 9.75 9 11.35 8.07 10.32 7.3 9.19 6.69 8h-2c.73 1.63 1.73 3.17 2.98 4.56l-5.09 5.02L4 19l5-5 3.11 3.11.76-2.04zM18.5 10h-2L12 22h2l1.12-3h4.75L21 22h2l-4.5-12zm-2.62 7l1.62-4.33L19.12 17h-3.24z ",class:"css-c4d79v"},null,-1),Ja=[Wa,Ya];function Xa(s,e){return a(),l("svg",Ka,Ja)}const He=m(qa,[["render",Xa]]),Za={class:"items"},Qa={class:"title"},er=$({__name:"VPNavBarTranslations",setup(s){const{theme:e}=P(),{localeLinks:t,currentLang:n}=J({correspondingLink:!0});return(o,r)=>i(t).length&&i(n).label?(a(),k(ke,{key:0,class:"VPNavBarTranslations",icon:He,label:i(e).langMenuLabel||"Change language"},{default:h(()=>[c("div",Za,[c("p",Qa,L(i(n).label),1),(a(!0),l(C,null,B(i(t),d=>(a(),k(ne,{key:d.link,item:d},null,8,["item"]))),128))])]),_:1},8,["label"])):f("",!0)}}),tr=m(er,[["__scopeId","data-v-28948649"]]),sr=s=>(E("data-v-ffcc9b15"),s=s(),D(),s),nr={class:"container"},or={class:"title"},ar={class:"content"},rr=sr(()=>c("div",{class:"curtain"},null,-1)),ir={class:"content-body"},lr=$({__name:"VPNavBar",props:{isScreenOpen:{type:Boolean}},emits:["toggle-screen"],setup(s){const{y:e}=Se(),{hasSidebar:t}=F(),{frontmatter:n}=P(),o=M({});return Ve(()=>{o.value={"has-sidebar":t.value,top:n.value.layout==="home"&&e.value===0}}),(r,d)=>(a(),l("div",{class:T(["VPNavBar",o.value])},[c("div",nr,[c("div",or,[_(Ra,null,{"nav-bar-title-before":h(()=>[u(r.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(r.$slots,"nav-bar-title-after",{},void 0,!0)]),_:3})]),c("div",ar,[rr,c("div",ir,[u(r.$slots,"nav-bar-content-before",{},void 0,!0),_(xa,{class:"search"}),_(Ia,{class:"menu"}),_(tr,{class:"translations"}),_(yo,{class:"appearance"}),_(Ua,{class:"social-links"}),_(_a,{class:"extra"}),u(r.$slots,"nav-bar-content-after",{},void 0,!0),_(ba,{class:"hamburger",active:r.isScreenOpen,onClick:d[0]||(d[0]=p=>r.$emit("toggle-screen"))},null,8,["active"])])])])],2))}}),cr=m(lr,[["__scopeId","data-v-ffcc9b15"]]),ur={key:0,class:"VPNavScreenAppearance"},dr={class:"text"},vr=$({__name:"VPNavScreenAppearance",setup(s){const{site:e,theme:t}=P();return(n,o)=>i(e).appearance&&i(e).appearance!=="force-dark"?(a(),l("div",ur,[c("p",dr,L(i(t).darkModeSwitchLabel||"Appearance"),1),_(ge)])):f("",!0)}}),hr=m(vr,[["__scopeId","data-v-a76b1f00"]]),pr=$({__name:"VPNavScreenMenuLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(z,{class:"VPNavScreenMenuLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),_r=m(pr,[["__scopeId","data-v-3cf12ed2"]]),fr={},mr={xmlns:"http://www.w3.org/2000/svg","aria-hidden":"true",focusable:"false",viewBox:"0 0 24 24"},gr=c("path",{d:"M18.9,10.9h-6v-6c0-0.6-0.4-1-1-1s-1,0.4-1,1v6h-6c-0.6,0-1,0.4-1,1s0.4,1,1,1h6v6c0,0.6,0.4,1,1,1s1-0.4,1-1v-6h6c0.6,0,1-0.4,1-1S19.5,10.9,18.9,10.9z"},null,-1),$r=[gr];function kr(s,e){return a(),l("svg",mr,$r)}const br=m(fr,[["render",kr]]),yr=$({__name:"VPNavScreenMenuGroupLink",props:{item:{}},setup(s){const e=se("close-screen");return(t,n)=>(a(),k(z,{class:"VPNavScreenMenuGroupLink",href:t.item.link,target:t.item.target,rel:t.item.rel,onClick:i(e)},{default:h(()=>[H(L(t.item.text),1)]),_:1},8,["href","target","rel","onClick"]))}}),ze=m(yr,[["__scopeId","data-v-b350a72a"]]),Pr={class:"VPNavScreenMenuGroupSection"},wr={key:0,class:"title"},Vr=$({__name:"VPNavScreenMenuGroupSection",props:{text:{},items:{}},setup(s){return(e,t)=>(a(),l("div",Pr,[e.text?(a(),l("p",wr,L(e.text),1)):f("",!0),(a(!0),l(C,null,B(e.items,n=>(a(),k(ze,{key:n.text,item:n},null,8,["item"]))),128))]))}}),Lr=m(Vr,[["__scopeId","data-v-3de996e9"]]),Sr=["aria-controls","aria-expanded"],Mr=["innerHTML"],Cr=["id"],Ir={key:1,class:"group"},Tr=$({__name:"VPNavScreenMenuGroup",props:{text:{},items:{}},setup(s){const e=s,t=M(!1),n=b(()=>`NavScreenGroup-${e.text.replace(" ","-").toLowerCase()}`);function o(){t.value=!t.value}return(r,d)=>(a(),l("div",{class:T(["VPNavScreenMenuGroup",{open:t.value}])},[c("button",{class:"button","aria-controls":n.value,"aria-expanded":t.value,onClick:o},[c("span",{class:"button-text",innerHTML:r.text},null,8,Mr),_(br,{class:"button-icon"})],8,Sr),c("div",{id:n.value,class:"items"},[(a(!0),l(C,null,B(r.items,p=>(a(),l(C,{key:p.text},["link"in p?(a(),l("div",{key:p.text,class:"item"},[_(ze,{item:p},null,8,["item"])])):(a(),l("div",Ir,[_(Lr,{text:p.text,items:p.items},null,8,["text","items"])]))],64))),128))],8,Cr)],2))}}),Ar=m(Tr,[["__scopeId","data-v-63245ed4"]]),Nr={key:0,class:"VPNavScreenMenu"},Br=$({__name:"VPNavScreenMenu",setup(s){const{theme:e}=P();return(t,n)=>i(e).nav?(a(),l("nav",Nr,[(a(!0),l(C,null,B(i(e).nav,o=>(a(),l(C,{key:o.text},["link"in o?(a(),k(_r,{key:0,item:o},null,8,["item"])):(a(),k(Ar,{key:1,text:o.text||"",items:o.items},null,8,["text","items"]))],64))),128))])):f("",!0)}}),Hr=$({__name:"VPNavScreenSocialLinks",setup(s){const{theme:e}=P();return(t,n)=>i(e).socialLinks?(a(),k(be,{key:0,class:"VPNavScreenSocialLinks",links:i(e).socialLinks},null,8,["links"])):f("",!0)}}),zr={class:"list"},Er=$({__name:"VPNavScreenTranslations",setup(s){const{localeLinks:e,currentLang:t}=J({correspondingLink:!0}),n=M(!1);function o(){n.value=!n.value}return(r,d)=>i(e).length&&i(t).label?(a(),l("div",{key:0,class:T(["VPNavScreenTranslations",{open:n.value}])},[c("button",{class:"title",onClick:o},[_(He,{class:"icon lang"}),H(" "+L(i(t).label)+" ",1),_(Be,{class:"icon chevron"})]),c("ul",zr,[(a(!0),l(C,null,B(i(e),p=>(a(),l("li",{key:p.link,class:"item"},[_(z,{class:"link",href:p.link},{default:h(()=>[H(L(p.text),1)]),_:2},1032,["href"])]))),128))])],2)):f("",!0)}}),Dr=m(Er,[["__scopeId","data-v-75dd20e3"]]),Fr={class:"container"},xr=$({__name:"VPNavScreen",props:{open:{type:Boolean}},setup(s){const e=M(null),t=Me(K?document.body:null);return(n,o)=>(a(),k(ce,{name:"fade",onEnter:o[0]||(o[0]=r=>t.value=!0),onAfterLeave:o[1]||(o[1]=r=>t.value=!1)},{default:h(()=>[n.open?(a(),l("div",{key:0,class:"VPNavScreen",ref_key:"screen",ref:e,id:"VPNavScreen"},[c("div",Fr,[u(n.$slots,"nav-screen-content-before",{},void 0,!0),_(Br,{class:"menu"}),_(Dr,{class:"translations"}),_(hr,{class:"appearance"}),_(Hr,{class:"social-links"}),u(n.$slots,"nav-screen-content-after",{},void 0,!0)])],512)):f("",!0)]),_:3}))}}),Or=m(xr,[["__scopeId","data-v-421b5380"]]),Ur={key:0,class:"VPNav"},Gr=$({__name:"VPNav",setup(s){const{isScreenOpen:e,closeScreen:t,toggleScreen:n}=Qn(),{frontmatter:o}=P(),r=b(()=>o.value.navbar!==!1);return Ce("close-screen",t),ee(()=>{K&&document.documentElement.classList.toggle("hide-nav",!r.value)}),(d,p)=>r.value?(a(),l("header",Ur,[_(cr,{"is-screen-open":i(e),onToggleScreen:i(n)},{"nav-bar-title-before":h(()=>[u(d.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(d.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(d.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(d.$slots,"nav-bar-content-after",{},void 0,!0)]),_:3},8,["is-screen-open","onToggleScreen"]),_(Or,{open:i(e)},{"nav-screen-content-before":h(()=>[u(d.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(d.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3},8,["open"])])):f("",!0)}}),jr=m(Gr,[["__scopeId","data-v-930f5c72"]]),Rr=s=>(E("data-v-422cfb4a"),s=s(),D(),s),qr=["role","tabindex"],Kr=Rr(()=>c("div",{class:"indicator"},null,-1)),Wr={key:1,class:"items"},Yr=$({__name:"VPSidebarItem",props:{item:{},depth:{}},setup(s){const e=s,{collapsed:t,collapsible:n,isLink:o,isActiveLink:r,hasActiveLink:d,hasChildren:p,toggle:v}=yt(b(()=>e.item)),g=b(()=>p.value?"section":"div"),w=b(()=>o.value?"a":"div"),y=b(()=>p.value?e.depth+2===7?"p":`h${e.depth+2}`:"p"),I=b(()=>o.value?void 0:"button"),S=b(()=>[[`level-${e.depth}`],{collapsible:n.value},{collapsed:t.value},{"is-link":o.value},{"is-active":r.value},{"has-active":d.value}]);function N(V){"key"in V&&V.key!=="Enter"||!e.item.link&&v()}function A(){e.item.link&&v()}return(V,R)=>{const W=j("VPSidebarItem",!0);return a(),k(x(g.value),{class:T(["VPSidebarItem",S.value])},{default:h(()=>[V.item.text?(a(),l("div",X({key:0,class:"item",role:I.value},Ze(V.item.items?{click:N,keydown:N}:{},!0),{tabindex:V.item.items&&0}),[Kr,V.item.link?(a(),k(z,{key:0,tag:w.value,class:"link",href:V.item.link,rel:V.item.rel,target:V.item.target},{default:h(()=>[(a(),k(x(y.value),{class:"text",innerHTML:V.item.text},null,8,["innerHTML"]))]),_:1},8,["tag","href","rel","target"])):(a(),k(x(y.value),{key:1,class:"text",innerHTML:V.item.text},null,8,["innerHTML"])),V.item.collapsed!=null?(a(),l("div",{key:2,class:"caret",role:"button","aria-label":"toggle section",onClick:A,onKeydown:Qe(A,["enter"]),tabindex:"0"},[_(me,{class:"caret-icon"})],32)):f("",!0)],16,qr)):f("",!0),V.item.items&&V.item.items.length?(a(),l("div",Wr,[V.depth<5?(a(!0),l(C,{key:0},B(V.item.items,q=>(a(),k(W,{key:q.text,item:q,depth:V.depth+1},null,8,["item","depth"]))),128)):f("",!0)])):f("",!0)]),_:1},8,["class"])}}}),Jr=m(Yr,[["__scopeId","data-v-422cfb4a"]]),Ee=s=>(E("data-v-2d86b27f"),s=s(),D(),s),Xr=Ee(()=>c("div",{class:"curtain"},null,-1)),Zr={class:"nav",id:"VPSidebarNav","aria-labelledby":"sidebar-aria-label",tabindex:"-1"},Qr=Ee(()=>c("span",{class:"visually-hidden",id:"sidebar-aria-label"}," Sidebar Navigation ",-1)),ei=$({__name:"VPSidebar",props:{open:{type:Boolean}},setup(s){const{sidebarGroups:e,hasSidebar:t}=F(),n=s,o=M(null),r=Me(K?document.body:null);return G([n,o],()=>{var d;n.open?(r.value=!0,(d=o.value)==null||d.focus()):r.value=!1},{immediate:!0,flush:"post"}),(d,p)=>i(t)?(a(),l("aside",{key:0,class:T(["VPSidebar",{open:d.open}]),ref_key:"navEl",ref:o,onClick:p[0]||(p[0]=et(()=>{},["stop"]))},[Xr,c("nav",Zr,[Qr,u(d.$slots,"sidebar-nav-before",{},void 0,!0),(a(!0),l(C,null,B(i(e),v=>(a(),l("div",{key:v.text,class:"group"},[_(Jr,{item:v,depth:0},null,8,["item"])]))),128)),u(d.$slots,"sidebar-nav-after",{},void 0,!0)])],2)):f("",!0)}}),ti=m(ei,[["__scopeId","data-v-2d86b27f"]]),si=$({__name:"VPSkipLink",setup(s){const e=te(),t=M();G(()=>e.path,()=>t.value.focus());function n({target:o}){const r=document.getElementById(decodeURIComponent(o.hash).slice(1));if(r){const d=()=>{r.removeAttribute("tabindex"),r.removeEventListener("blur",d)};r.setAttribute("tabindex","-1"),r.addEventListener("blur",d),r.focus(),window.scrollTo(0,0)}}return(o,r)=>(a(),l(C,null,[c("span",{ref_key:"backToTop",ref:t,tabindex:"-1"},null,512),c("a",{href:"#VPContent",class:"VPSkipLink visually-hidden",onClick:n}," Skip to content ")],64))}}),ni=m(si,[["__scopeId","data-v-db9d0bdf"]]),oi=$({__name:"Layout",setup(s){const{isOpen:e,open:t,close:n}=F(),o=te();G(()=>o.path,n),bt(e,n);const{frontmatter:r}=P(),d=tt(),p=b(()=>!!d["home-hero-image"]);return Ce("hero-image-slot-exists",p),(v,g)=>{const w=j("Content");return i(r).layout!==!1?(a(),l("div",{key:0,class:T(["Layout",i(r).pageClass])},[u(v.$slots,"layout-top",{},void 0,!0),_(ni),_(rt,{class:"backdrop",show:i(e),onClick:i(n)},null,8,["show","onClick"]),_(jr,null,{"nav-bar-title-before":h(()=>[u(v.$slots,"nav-bar-title-before",{},void 0,!0)]),"nav-bar-title-after":h(()=>[u(v.$slots,"nav-bar-title-after",{},void 0,!0)]),"nav-bar-content-before":h(()=>[u(v.$slots,"nav-bar-content-before",{},void 0,!0)]),"nav-bar-content-after":h(()=>[u(v.$slots,"nav-bar-content-after",{},void 0,!0)]),"nav-screen-content-before":h(()=>[u(v.$slots,"nav-screen-content-before",{},void 0,!0)]),"nav-screen-content-after":h(()=>[u(v.$slots,"nav-screen-content-after",{},void 0,!0)]),_:3}),_(Zn,{open:i(e),onOpenMenu:i(t)},null,8,["open","onOpenMenu"]),_(ti,{open:i(e)},{"sidebar-nav-before":h(()=>[u(v.$slots,"sidebar-nav-before",{},void 0,!0)]),"sidebar-nav-after":h(()=>[u(v.$slots,"sidebar-nav-after",{},void 0,!0)]),_:3},8,["open"]),_(In,null,{"page-top":h(()=>[u(v.$slots,"page-top",{},void 0,!0)]),"page-bottom":h(()=>[u(v.$slots,"page-bottom",{},void 0,!0)]),"not-found":h(()=>[u(v.$slots,"not-found",{},void 0,!0)]),"home-hero-before":h(()=>[u(v.$slots,"home-hero-before",{},void 0,!0)]),"home-hero-info":h(()=>[u(v.$slots,"home-hero-info",{},void 0,!0)]),"home-hero-image":h(()=>[u(v.$slots,"home-hero-image",{},void 0,!0)]),"home-hero-after":h(()=>[u(v.$slots,"home-hero-after",{},void 0,!0)]),"home-features-before":h(()=>[u(v.$slots,"home-features-before",{},void 0,!0)]),"home-features-after":h(()=>[u(v.$slots,"home-features-after",{},void 0,!0)]),"doc-footer-before":h(()=>[u(v.$slots,"doc-footer-before",{},void 0,!0)]),"doc-before":h(()=>[u(v.$slots,"doc-before",{},void 0,!0)]),"doc-after":h(()=>[u(v.$slots,"doc-after",{},void 0,!0)]),"doc-top":h(()=>[u(v.$slots,"doc-top",{},void 0,!0)]),"doc-bottom":h(()=>[u(v.$slots,"doc-bottom",{},void 0,!0)]),"aside-top":h(()=>[u(v.$slots,"aside-top",{},void 0,!0)]),"aside-bottom":h(()=>[u(v.$slots,"aside-bottom",{},void 0,!0)]),"aside-outline-before":h(()=>[u(v.$slots,"aside-outline-before",{},void 0,!0)]),"aside-outline-after":h(()=>[u(v.$slots,"aside-outline-after",{},void 0,!0)]),"aside-ads-before":h(()=>[u(v.$slots,"aside-ads-before",{},void 0,!0)]),"aside-ads-after":h(()=>[u(v.$slots,"aside-ads-after",{},void 0,!0)]),_:3}),_(Hn),u(v.$slots,"layout-bottom",{},void 0,!0)],2)):(a(),k(w,{key:1}))}}}),ai=m(oi,[["__scopeId","data-v-439240e1"]]),li={Layout:ai,enhanceApp:({app:s})=>{s.component("Badge",nt)}};class ci{constructor(e=10){oe(this,"max");oe(this,"cache");this.max=e,this.cache=new Map}get(e){let t=this.cache.get(e);return t!==void 0&&(this.cache.delete(e),this.cache.set(e,t)),t}set(e,t){this.cache.has(e)?this.cache.delete(e):this.cache.size===this.max&&this.cache.delete(this.first()),this.cache.set(e,t)}first(){return this.cache.keys().next().value}clear(){this.cache.clear()}}export{ci as L,Ta as c,li as t,P as u}; function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.Czqvq3Gp.js","assets/chunks/framework.BeH60Y6U.js"] + __vite__mapDeps.viteFileDeps = ["assets/chunks/VPLocalSearchBox.BMUz8lFT.js","assets/chunks/framework.CI0_Jyb9.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } \ No newline at end of file diff --git a/assets/demos_DragDrop.md.D5p3TnMP.lean.js b/assets/demos_DragDrop.md.CkcaAhH3.js similarity index 89% rename from assets/demos_DragDrop.md.D5p3TnMP.lean.js rename to assets/demos_DragDrop.md.CkcaAhH3.js index 5fefed78..8678777d 100644 --- a/assets/demos_DragDrop.md.D5p3TnMP.lean.js +++ b/assets/demos_DragDrop.md.CkcaAhH3.js @@ -1,4 +1,4 @@ -import{p as B,a as m,_ as D}from"./chunks/camera.D9-V0Y9a.js";import{d as F,o as p,c as k,r as _,a2 as g,_ as b,D as C,k as n,a as E,F as A,E as v,a4 as q,a5 as x,t as y,e as O,I as c,w as u,n as S,R as w}from"./chunks/framework.BeH60Y6U.js";const V=F({__name:"QrcodeDropZone",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(i,{emit:e}){const r=i,t=e,l=async s=>{try{const a=await s;t("detect",a)}catch(a){t("error",a)}},h=s=>{t("dragover",s)},o=({dataTransfer:s})=>{if(!s)return;h(!1);const a=[...Array.from(s.files)],d=s.getData("text/uri-list");a.forEach(f=>{l(B(f,r.formats))}),d!==""&&l(m(d,r.formats))};return(s,a)=>(p(),k("div",{onDrop:g(o,["prevent","stop"]),onDragenter:a[0]||(a[0]=g(d=>h(!0),["prevent","stop"])),onDragleave:a[1]||(a[1]=g(d=>h(!1),["prevent","stop"])),onDragover:a[2]||(a[2]=g(()=>{},["prevent","stop"]))},[_(s.$slots,"default")],32))}}),N={components:{QrcodeDropZone:V},data(){return{result:null,error:null,dragover:!1,barcodeFormats:{aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}}},computed:{selectedBarcodeFormats(){return Object.keys(this.barcodeFormats).filter(i=>this.barcodeFormats[i])}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(e=>e.rawValue))},logErrors(i){i.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":i.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+i.message},onDragOver(i){this.dragover=i}}},U=n("br",null,null,-1),z=["onUpdate:modelValue","id"],I=["for"],Q={class:"decode-result"},R={key:0,class:"drop-error"};function M(i,e,r,t,l,h){const o=C("qrcode-drop-zone");return p(),k("div",null,[n("p",null,[E(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),U,(p(!0),k(A,null,v(Object.keys(l.barcodeFormats),s=>(p(),k("span",{key:s,class:"barcode-format-checkbox"},[q(n("input",{type:"checkbox","onUpdate:modelValue":a=>l.barcodeFormats[s]=a,id:s},null,8,z),[[x,l.barcodeFormats[s]]]),n("label",{for:s},y(s),9,I)]))),128))]),n("p",Q,[E(" Last result: "),n("b",null,y(l.result),1)]),l.error!==null?(p(),k("p",R,y(l.error),1)):O("",!0),c(o,{onDetect:h.onDetect,onDragover:h.onDragOver,onError:h.logErrors,formats:h.selectedBarcodeFormats},{default:u(()=>[n("div",{class:S(["drop-area",{dragover:l.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError","formats"])])}const P=b(N,[["render",M]]),Z=n("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[E("Decode by Drag&Drop "),n("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),j=n("p",null,[E("With the "),n("code",null,"QrcodeDropZone"),E(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),J=w(`

Source

vue
<template>
+import{p as B,a as m,_ as D}from"./chunks/camera.CxigVlA0.js";import{d as F,o as p,c as k,r as _,a2 as g,_ as b,D as C,k as n,a as E,F as A,E as v,a4 as q,a5 as x,t as y,e as O,I as c,w as u,n as S,R as w}from"./chunks/framework.CI0_Jyb9.js";const V=F({__name:"QrcodeDropZone",props:{formats:{default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(i,{emit:e}){const r=i,t=e,l=async s=>{try{const a=await s;t("detect",a)}catch(a){t("error",a)}},h=s=>{t("dragover",s)},o=({dataTransfer:s})=>{if(!s)return;h(!1);const a=[...Array.from(s.files)],d=s.getData("text/uri-list");a.forEach(f=>{l(B(f,r.formats))}),d!==""&&l(m(d,r.formats))};return(s,a)=>(p(),k("div",{onDrop:g(o,["prevent","stop"]),onDragenter:a[0]||(a[0]=g(d=>h(!0),["prevent","stop"])),onDragleave:a[1]||(a[1]=g(d=>h(!1),["prevent","stop"])),onDragover:a[2]||(a[2]=g(()=>{},["prevent","stop"]))},[_(s.$slots,"default")],32))}}),N={components:{QrcodeDropZone:V},data(){return{result:null,error:null,dragover:!1,barcodeFormats:{aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}}},computed:{selectedBarcodeFormats(){return Object.keys(this.barcodeFormats).filter(i=>this.barcodeFormats[i])}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(e=>e.rawValue))},logErrors(i){i.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":i.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+i.message},onDragOver(i){this.dragover=i}}},U=n("br",null,null,-1),z=["onUpdate:modelValue","id"],I=["for"],Q={class:"decode-result"},R={key:0,class:"drop-error"};function M(i,e,r,t,l,h){const o=C("qrcode-drop-zone");return p(),k("div",null,[n("p",null,[E(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),U,(p(!0),k(A,null,v(Object.keys(l.barcodeFormats),s=>(p(),k("span",{key:s,class:"barcode-format-checkbox"},[q(n("input",{type:"checkbox","onUpdate:modelValue":a=>l.barcodeFormats[s]=a,id:s},null,8,z),[[x,l.barcodeFormats[s]]]),n("label",{for:s},y(s),9,I)]))),128))]),n("p",Q,[E(" Last result: "),n("b",null,y(l.result),1)]),l.error!==null?(p(),k("p",R,y(l.error),1)):O("",!0),c(o,{onDetect:h.onDetect,onDragover:h.onDragOver,onError:h.logErrors,formats:h.selectedBarcodeFormats},{default:u(()=>[n("div",{class:S(["drop-area",{dragover:l.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError","formats"])])}const P=b(N,[["render",M]]),Z=n("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[E("Decode by Drag&Drop "),n("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),j=n("p",null,[E("With the "),n("code",null,"QrcodeDropZone"),E(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),J=w(`

Source

vue
<template>
   <div>
     <p>
       By default only QR-codes are detected but a variety of other barcode formats are also
diff --git a/assets/demos_DragDrop.md.D5p3TnMP.js b/assets/demos_DragDrop.md.CkcaAhH3.lean.js
similarity index 89%
rename from assets/demos_DragDrop.md.D5p3TnMP.js
rename to assets/demos_DragDrop.md.CkcaAhH3.lean.js
index 5fefed78..8678777d 100644
--- a/assets/demos_DragDrop.md.D5p3TnMP.js
+++ b/assets/demos_DragDrop.md.CkcaAhH3.lean.js
@@ -1,4 +1,4 @@
-import{p as B,a as m,_ as D}from"./chunks/camera.D9-V0Y9a.js";import{d as F,o as p,c as k,r as _,a2 as g,_ as b,D as C,k as n,a as E,F as A,E as v,a4 as q,a5 as x,t as y,e as O,I as c,w as u,n as S,R as w}from"./chunks/framework.BeH60Y6U.js";const V=F({__name:"QrcodeDropZone",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(i,{emit:e}){const r=i,t=e,l=async s=>{try{const a=await s;t("detect",a)}catch(a){t("error",a)}},h=s=>{t("dragover",s)},o=({dataTransfer:s})=>{if(!s)return;h(!1);const a=[...Array.from(s.files)],d=s.getData("text/uri-list");a.forEach(f=>{l(B(f,r.formats))}),d!==""&&l(m(d,r.formats))};return(s,a)=>(p(),k("div",{onDrop:g(o,["prevent","stop"]),onDragenter:a[0]||(a[0]=g(d=>h(!0),["prevent","stop"])),onDragleave:a[1]||(a[1]=g(d=>h(!1),["prevent","stop"])),onDragover:a[2]||(a[2]=g(()=>{},["prevent","stop"]))},[_(s.$slots,"default")],32))}}),N={components:{QrcodeDropZone:V},data(){return{result:null,error:null,dragover:!1,barcodeFormats:{aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}}},computed:{selectedBarcodeFormats(){return Object.keys(this.barcodeFormats).filter(i=>this.barcodeFormats[i])}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(e=>e.rawValue))},logErrors(i){i.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":i.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+i.message},onDragOver(i){this.dragover=i}}},U=n("br",null,null,-1),z=["onUpdate:modelValue","id"],I=["for"],Q={class:"decode-result"},R={key:0,class:"drop-error"};function M(i,e,r,t,l,h){const o=C("qrcode-drop-zone");return p(),k("div",null,[n("p",null,[E(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),U,(p(!0),k(A,null,v(Object.keys(l.barcodeFormats),s=>(p(),k("span",{key:s,class:"barcode-format-checkbox"},[q(n("input",{type:"checkbox","onUpdate:modelValue":a=>l.barcodeFormats[s]=a,id:s},null,8,z),[[x,l.barcodeFormats[s]]]),n("label",{for:s},y(s),9,I)]))),128))]),n("p",Q,[E(" Last result: "),n("b",null,y(l.result),1)]),l.error!==null?(p(),k("p",R,y(l.error),1)):O("",!0),c(o,{onDetect:h.onDetect,onDragover:h.onDragOver,onError:h.logErrors,formats:h.selectedBarcodeFormats},{default:u(()=>[n("div",{class:S(["drop-area",{dragover:l.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError","formats"])])}const P=b(N,[["render",M]]),Z=n("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[E("Decode by Drag&Drop "),n("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),j=n("p",null,[E("With the "),n("code",null,"QrcodeDropZone"),E(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),J=w(`

Source

vue
<template>
+import{p as B,a as m,_ as D}from"./chunks/camera.CxigVlA0.js";import{d as F,o as p,c as k,r as _,a2 as g,_ as b,D as C,k as n,a as E,F as A,E as v,a4 as q,a5 as x,t as y,e as O,I as c,w as u,n as S,R as w}from"./chunks/framework.CI0_Jyb9.js";const V=F({__name:"QrcodeDropZone",props:{formats:{default:()=>["qr_code"]}},emits:["detect","dragover","error"],setup(i,{emit:e}){const r=i,t=e,l=async s=>{try{const a=await s;t("detect",a)}catch(a){t("error",a)}},h=s=>{t("dragover",s)},o=({dataTransfer:s})=>{if(!s)return;h(!1);const a=[...Array.from(s.files)],d=s.getData("text/uri-list");a.forEach(f=>{l(B(f,r.formats))}),d!==""&&l(m(d,r.formats))};return(s,a)=>(p(),k("div",{onDrop:g(o,["prevent","stop"]),onDragenter:a[0]||(a[0]=g(d=>h(!0),["prevent","stop"])),onDragleave:a[1]||(a[1]=g(d=>h(!1),["prevent","stop"])),onDragover:a[2]||(a[2]=g(()=>{},["prevent","stop"]))},[_(s.$slots,"default")],32))}}),N={components:{QrcodeDropZone:V},data(){return{result:null,error:null,dragover:!1,barcodeFormats:{aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}}},computed:{selectedBarcodeFormats(){return Object.keys(this.barcodeFormats).filter(i=>this.barcodeFormats[i])}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(e=>e.rawValue))},logErrors(i){i.name==="DropImageFetchError"?this.error="Sorry, you can't load cross-origin images :/":i.name==="DropImageDecodeError"?this.error="Ok, that's not an image. That can't be decoded.":this.error="Ups, what kind of error is this?! "+i.message},onDragOver(i){this.dragover=i}}},U=n("br",null,null,-1),z=["onUpdate:modelValue","id"],I=["for"],Q={class:"decode-result"},R={key:0,class:"drop-error"};function M(i,e,r,t,l,h){const o=C("qrcode-drop-zone");return p(),k("div",null,[n("p",null,[E(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),U,(p(!0),k(A,null,v(Object.keys(l.barcodeFormats),s=>(p(),k("span",{key:s,class:"barcode-format-checkbox"},[q(n("input",{type:"checkbox","onUpdate:modelValue":a=>l.barcodeFormats[s]=a,id:s},null,8,z),[[x,l.barcodeFormats[s]]]),n("label",{for:s},y(s),9,I)]))),128))]),n("p",Q,[E(" Last result: "),n("b",null,y(l.result),1)]),l.error!==null?(p(),k("p",R,y(l.error),1)):O("",!0),c(o,{onDetect:h.onDetect,onDragover:h.onDragOver,onError:h.logErrors,formats:h.selectedBarcodeFormats},{default:u(()=>[n("div",{class:S(["drop-area",{dragover:l.dragover}])}," DROP SOME IMAGES HERE ",2)]),_:1},8,["onDetect","onDragover","onError","formats"])])}const P=b(N,[["render",M]]),Z=n("h1",{id:"decode-by-drag-drop",tabindex:"-1"},[E("Decode by Drag&Drop "),n("a",{class:"header-anchor",href:"#decode-by-drag-drop","aria-label":'Permalink to "Decode by Drag&Drop"'},"​")],-1),j=n("p",null,[E("With the "),n("code",null,"QrcodeDropZone"),E(" component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.")],-1),J=w(`

Source

vue
<template>
   <div>
     <p>
       By default only QR-codes are detected but a variety of other barcode formats are also
diff --git a/assets/demos_FullDemo.md.C9xTxej_.lean.js b/assets/demos_FullDemo.md.TpVXO8LI.js
similarity index 99%
rename from assets/demos_FullDemo.md.C9xTxej_.lean.js
rename to assets/demos_FullDemo.md.TpVXO8LI.js
index 6ecc130b..562249ea 100644
--- a/assets/demos_FullDemo.md.C9xTxej_.lean.js
+++ b/assets/demos_FullDemo.md.TpVXO8LI.js
@@ -1,4 +1,4 @@
-import{_ as I}from"./chunks/camera.D9-V0Y9a.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a6 as x,F as B,E as f,t as o,I as D,m as $,a5 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.BeH60Y6U.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
+import{_ as I}from"./chunks/camera.CxigVlA0.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a6 as x,F as B,E as f,t as o,I as D,m as $,a5 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.CI0_Jyb9.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
   <div>
     <p>
       Modern mobile phones often have a variety of different cameras installed (e.g. front, rear,
diff --git a/assets/demos_FullDemo.md.C9xTxej_.js b/assets/demos_FullDemo.md.TpVXO8LI.lean.js
similarity index 99%
rename from assets/demos_FullDemo.md.C9xTxej_.js
rename to assets/demos_FullDemo.md.TpVXO8LI.lean.js
index 6ecc130b..562249ea 100644
--- a/assets/demos_FullDemo.md.C9xTxej_.js
+++ b/assets/demos_FullDemo.md.TpVXO8LI.lean.js
@@ -1,4 +1,4 @@
-import{_ as I}from"./chunks/camera.D9-V0Y9a.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a6 as x,F as B,E as f,t as o,I as D,m as $,a5 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.BeH60Y6U.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
+import{_ as I}from"./chunks/camera.CxigVlA0.js";import{d as _,h as E,g as V,o as t,c as k,k as l,a as c,a4 as u,a6 as x,F as B,E as f,t as o,I as D,m as $,a5 as M,p as R,q as U,_ as H,D as Y,w as z,R as j}from"./chunks/framework.CI0_Jyb9.js";import{_ as Q}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const W=r=>(R("data-v-df3f27d7"),r=r(),U(),r),X=["value"],J=["value"],L=W(()=>l("br",null,null,-1)),G=["onUpdate:modelValue","id"],K=["for"],Z={class:"error"},ss={class:"decode-result"},is=_({__name:"FullDemo",setup(r){const F=E("");function A(a){console.log(a),F.value=JSON.stringify(a.map(i=>i.rawValue))}const d=E({facingMode:"environment"}),m=[{label:"rear camera",constraints:{facingMode:"environment"}},{label:"front camera",constraints:{facingMode:"user"}}],v=E(m);async function q(){const i=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:s})=>s==="videoinput");v.value=[...m,...i.map(({deviceId:s,label:n})=>({label:`${n} (ID: ${s})`,constraints:{deviceId:s}}))],h.value=""}function S(a,i){for(const s of a){const[n,...y]=s.cornerPoints;i.strokeStyle="red",i.beginPath(),i.moveTo(n.x,n.y);for(const{x:p,y:e}of y)i.lineTo(p,e);i.lineTo(n.x,n.y),i.closePath(),i.stroke()}}function w(a,i){for(const s of a){const{boundingBox:{x:n,y,width:p,height:e}}=s;i.lineWidth=2,i.strokeStyle="#007bff",i.strokeRect(n,y,p,e)}}function T(a,i){for(const s of a){const{boundingBox:n,rawValue:y}=s,p=n.x+n.width/2,e=n.y+n.height/2,N=Math.max(12,50*n.width/i.canvas.width);i.font=`bold ${N}px sans-serif`,i.textAlign="center",i.lineWidth=3,i.strokeStyle="#35495e",i.strokeText(s.rawValue,p,e),i.fillStyle="#5cb984",i.fillText(y,p,e)}}const b=[{text:"nothing (default)",value:void 0},{text:"outline",value:S},{text:"centered text",value:T},{text:"bounding box",value:w}],C=E(b[1]),g=E({aztec:!1,code_128:!1,code_39:!1,code_93:!1,codabar:!1,databar:!1,databar_expanded:!1,data_matrix:!1,dx_film_edge:!1,ean_13:!1,ean_8:!1,itf:!1,maxi_code:!1,micro_qr_code:!1,pdf417:!1,qr_code:!0,rm_qr_code:!1,upc_a:!1,upc_e:!1,linear_codes:!1,matrix_codes:!1}),O=V(()=>Object.keys(g.value).filter(a=>g.value[a])),h=E("");function P(a){h.value=`[${a.name}]: `,a.name==="NotAllowedError"?h.value+="you need to grant camera access permission":a.name==="NotFoundError"?h.value+="no camera on this device":a.name==="NotSupportedError"?h.value+="secure context required (HTTPS, localhost)":a.name==="NotReadableError"?h.value+="is the camera already in use?":a.name==="OverconstrainedError"?h.value+="installed cameras are not suitable":a.name==="StreamApiNotSupportedError"?h.value+="Stream API is not supported in this browser":a.name==="InsecureContextError"?h.value+="Camera access is only permitted in secure context. Use HTTPS or localhost rather than HTTP.":h.value+=a.message}return(a,i)=>(t(),k("div",null,[l("p",null,[c(" Modern mobile phones often have a variety of different cameras installed (e.g. front, rear, wide-angle, infrared, desk-view). The one picked by default is sometimes not the best choice. For more fine-grained control, you can select a camera by device constraints or by the device ID: "),u(l("select",{"onUpdate:modelValue":i[0]||(i[0]=s=>d.value=s)},[(t(!0),k(B,null,f(v.value,s=>(t(),k("option",{key:s.label,value:s.constraints},o(s.label),9,X))),128))],512),[[x,d.value]])]),l("p",null,[c(" Detected codes are visually highlighted in real-time. Use the following dropdown to change the flavor: "),u(l("select",{"onUpdate:modelValue":i[1]||(i[1]=s=>C.value=s)},[(t(),k(B,null,f(b,s=>l("option",{key:s.text,value:s},o(s.text),9,J)),64))],512),[[x,C.value]])]),l("p",null,[c(" By default only QR-codes are detected but a variety of other barcode formats are also supported. You can select one or multiple but the more you select the more expensive scanning becomes: "),L,(t(!0),k(B,null,f(Object.keys(g.value),s=>(t(),k("span",{key:s,class:"barcode-format-checkbox"},[u(l("input",{type:"checkbox","onUpdate:modelValue":n=>g.value[s]=n,id:s},null,8,G),[[M,g.value[s]]]),l("label",{for:s},o(s),9,K)]))),128))]),l("p",Z,o(h.value),1),l("p",ss,[c(" Last result: "),l("b",null,o(F.value),1)]),l("div",null,[D($(Q),{constraints:d.value,track:C.value.value,formats:O.value,onError:P,onDetect:A,onCameraOn:q},null,8,["constraints","track","formats"])])]))}}),as=H(is,[["__scopeId","data-v-df3f27d7"]]),ns=l("h1",{id:"full-demo",tabindex:"-1"},[c("Full Demo "),l("a",{class:"header-anchor",href:"#full-demo","aria-label":'Permalink to "Full Demo"'},"​")],-1),ls=j(`

Source

vue
<template>
   <div>
     <p>
       Modern mobile phones often have a variety of different cameras installed (e.g. front, rear,
diff --git a/assets/demos_Fullscreen.md.BOC-KDvu.lean.js b/assets/demos_Fullscreen.md.c9El6HkA.js
similarity index 99%
rename from assets/demos_Fullscreen.md.BOC-KDvu.lean.js
rename to assets/demos_Fullscreen.md.c9El6HkA.js
index 2520e1e0..feec687e 100644
--- a/assets/demos_Fullscreen.md.BOC-KDvu.lean.js
+++ b/assets/demos_Fullscreen.md.c9El6HkA.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.D9-V0Y9a.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.BeH60Y6U.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.CxigVlA0.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.CI0_Jyb9.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
   <div
     :class="{ fullscreen: fullscreen }"
     ref="wrapper"
diff --git a/assets/demos_Fullscreen.md.BOC-KDvu.js b/assets/demos_Fullscreen.md.c9El6HkA.lean.js
similarity index 99%
rename from assets/demos_Fullscreen.md.BOC-KDvu.js
rename to assets/demos_Fullscreen.md.c9El6HkA.lean.js
index 2520e1e0..feec687e 100644
--- a/assets/demos_Fullscreen.md.BOC-KDvu.js
+++ b/assets/demos_Fullscreen.md.c9El6HkA.lean.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.D9-V0Y9a.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.BeH60Y6U.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.CxigVlA0.js";import{_ as F,f as o,D as t,o as k,c as E,I as e,w as r,k as i,n as u,d as C,a as d,R as m}from"./chunks/framework.CI0_Jyb9.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const B={components:{QrcodeStream:f},data(){return{fullscreen:!1}},computed:{fullscreenIcon(){return this.fullscreen?"/fullscreen-exit.svg":"/fullscreen.svg"}},watch:{fullscreen(s){s?this.requestFullscreen():this.exitFullscreen()}},methods:{onFullscreenChange(s){this.fullscreen=document.fullscreenElement!==null},requestFullscreen(){const s=this.$refs.wrapper;s.requestFullscreen?s.requestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.msRequestFullscreen&&s.msRequestFullscreen()},exitFullscreen(){document.exitFullscreen?document.exitFullscreen():document.mozCancelFullScreen?document.mozCancelFullScreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen()},logErrors:console.error,withBase:o}},A=["src"];function D(s,a,c,h,l,n){const g=t("qrcode-stream");return k(),E("div",{class:u({fullscreen:l.fullscreen}),ref:"wrapper",onFullscreenchange:a[1]||(a[1]=(...p)=>n.onFullscreenChange&&n.onFullscreenChange(...p))},[e(g,{onError:n.logErrors},{default:r(()=>[i("button",{onClick:a[0]||(a[0]=p=>l.fullscreen=!l.fullscreen),class:"fullscreen-button"},[i("img",{src:n.withBase(n.fullscreenIcon),alt:"toggle fullscreen"},null,8,A)])]),_:1},8,["onError"])],34)}const q=F(B,[["render",D],["__scopeId","data-v-39d64d0c"]]),_=i("h1",{id:"fullscreen",tabindex:"-1"},[d("Fullscreen "),i("a",{class:"header-anchor",href:"#fullscreen","aria-label":'Permalink to "Fullscreen"'},"​")],-1),b=i("p",null,[i("code",null,"QrcodeStream"),d(" always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.")],-1),x=m(`

Source

vue
<template>
   <div
     :class="{ fullscreen: fullscreen }"
     ref="wrapper"
diff --git a/assets/demos_LoadingIndicator.md.C4l13ZG5.js b/assets/demos_LoadingIndicator.md.bsE4qADJ.js
similarity index 98%
rename from assets/demos_LoadingIndicator.md.C4l13ZG5.js
rename to assets/demos_LoadingIndicator.md.bsE4qADJ.js
index f679ea5b..4427c772 100644
--- a/assets/demos_LoadingIndicator.md.C4l13ZG5.js
+++ b/assets/demos_LoadingIndicator.md.bsE4qADJ.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.D9-V0Y9a.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.BeH60Y6U.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.CxigVlA0.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.CI0_Jyb9.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
   <div>
     <button @click="reload">Destroy And Re-Create Component</button>
 
diff --git a/assets/demos_LoadingIndicator.md.C4l13ZG5.lean.js b/assets/demos_LoadingIndicator.md.bsE4qADJ.lean.js
similarity index 98%
rename from assets/demos_LoadingIndicator.md.C4l13ZG5.lean.js
rename to assets/demos_LoadingIndicator.md.bsE4qADJ.lean.js
index f679ea5b..4427c772 100644
--- a/assets/demos_LoadingIndicator.md.C4l13ZG5.lean.js
+++ b/assets/demos_LoadingIndicator.md.bsE4qADJ.lean.js
@@ -1,4 +1,4 @@
-import{_ as y}from"./chunks/camera.D9-V0Y9a.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.BeH60Y6U.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
+import{_ as y}from"./chunks/camera.CxigVlA0.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";import{_ as C,D as E,o as i,c as t,k as s,b as m,w as r,e,d as u,I as k,a as l,R as _}from"./chunks/framework.CI0_Jyb9.js";const B={components:{QrcodeStream:F},data(){return{loading:!0,destroyed:!1}},methods:{onCameraOn(){this.loading=!1},async reload(){this.destroyed=!0,await this.$nextTick(),this.destroyed=!1,this.loading=!0}}},f={key:0,class:"loading-indicator"};function D(d,a,o,h,p,n){const g=E("qrcode-stream");return i(),t("div",null,[s("button",{onClick:a[0]||(a[0]=(...c)=>n.reload&&n.reload(...c))},"Destroy And Re-Create Component"),p.destroyed?e("",!0):(i(),m(g,{key:0,onCameraOn:n.onCameraOn},{default:r(()=>[p.loading?(i(),t("div",f," Loading... ")):e("",!0)]),_:1},8,["onCameraOn"]))])}const A=C(B,[["render",D],["__scopeId","data-v-3ae3ffac"]]),v=s("h1",{id:"show-loading-indicator",tabindex:"-1"},[l("Show Loading Indicator "),s("a",{class:"header-anchor",href:"#show-loading-indicator","aria-label":'Permalink to "Show Loading Indicator"'},"​")],-1),b=s("p",null,[l("There is some delay between mounting the component and the camera stream becoming visible. Listen for the "),s("code",null,"camera-on"),l(" event to show a loading indicator.")],-1),q=s("p",null,"Push the button below to force destroy and re-create the component.",-1),w=_(`

Source

vue
<template>
   <div>
     <button @click="reload">Destroy And Re-Create Component</button>
 
diff --git a/assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.js b/assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.js
similarity index 99%
rename from assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.js
rename to assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.js
index 727956c1..0ed86478 100644
--- a/assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.js
+++ b/assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.js
@@ -1,4 +1,4 @@
-import{_ as o}from"./chunks/camera.D9-V0Y9a.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.BeH60Y6U.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
+import{_ as o}from"./chunks/camera.CxigVlA0.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.CI0_Jyb9.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.lean.js b/assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.lean.js
similarity index 99%
rename from assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.lean.js
rename to assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.lean.js
index 727956c1..0ed86478 100644
--- a/assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.lean.js
+++ b/assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.lean.js
@@ -1,4 +1,4 @@
-import{_ as o}from"./chunks/camera.D9-V0Y9a.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.BeH60Y6U.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
+import{_ as o}from"./chunks/camera.CxigVlA0.js";import{_ as c,f as y,D as p,o as e,c as E,k as s,a as i,t as F,I as l,w as r,a4 as C,a7 as m,d as u,R as B}from"./chunks/framework.CI0_Jyb9.js";import{_ as f}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const _={components:{QrcodeStream:f},data(){return{paused:!1,result:"",showScanConfirmation:!1}},methods:{onCameraOn(){this.showScanConfirmation=!1},onCameraOff(){this.showScanConfirmation=!0},onError:console.error,async onDetect(a){this.result=JSON.stringify(a.map(n=>n.rawValue)),this.paused=!0,await this.timeout(500),this.paused=!1},timeout(a){return new Promise(n=>{window.setTimeout(n,a)})},withBase:y}},D={class:"decode-result"},w={class:"scan-confirmation"},A=["src"];function S(a,n,d,k,t,h){const g=p("qrcode-stream");return e(),E("div",null,[s("p",D,[i(" Last result: "),s("b",null,F(t.result),1)]),l(g,{paused:t.paused,onDetect:h.onDetect,onCameraOn:h.onCameraOn,onCameraOff:h.onCameraOff,onError:h.onError},{default:r(()=>[C(s("div",w,[s("img",{src:h.withBase("/checkmark.svg"),alt:"Checkmark",width:"128"},null,8,A)],512),[[m,t.showScanConfirmation]])]),_:1},8,["paused","onDetect","onCameraOn","onCameraOff","onError"])])}const q=c(_,[["render",S],["__scopeId","data-v-2c48d920"]]),v=s("h1",{id:"scan-same-qr-code-more-than-once",tabindex:"-1"},[i("Scan Same QR Code More Than Once "),s("a",{class:"header-anchor",href:"#scan-same-qr-code-more-than-once","aria-label":'Permalink to "Scan Same QR Code More Than Once"'},"​")],-1),O=s("p",null,[i("You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with "),s("code",null,"detect"),i(` events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.`)],-1),b=s("p",null,[i("However this cache is reset when you change the "),s("code",null,"paused"),i(" prop. We can exploit that to scan same QR codes multiple times in a row.")],-1),Q=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_Simple.md.CjVnN3WB.js b/assets/demos_Simple.md.D2sCwcUO.js
similarity index 99%
rename from assets/demos_Simple.md.CjVnN3WB.js
rename to assets/demos_Simple.md.D2sCwcUO.js
index be0ee99b..40288798 100644
--- a/assets/demos_Simple.md.CjVnN3WB.js
+++ b/assets/demos_Simple.md.D2sCwcUO.js
@@ -1,4 +1,4 @@
-import{_ as s,c as i,o as a,R as n}from"./chunks/framework.BeH60Y6U.js";const F=JSON.parse('{"title":"Simple","description":"","frontmatter":{},"headers":[],"relativePath":"demos/Simple.md","filePath":"demos/Simple.md","lastUpdated":1692216176000}'),h={name:"demos/Simple.md"},k=n(`

Simple

All other demos on this page utilize single-file components. To use them in your project you need a bundler like vite. For an example that works without a build step and right in the browser:

SEE THIS DEMO

Source

html
<!DOCTYPE html>
+import{_ as s,c as i,o as a,R as n}from"./chunks/framework.CI0_Jyb9.js";const F=JSON.parse('{"title":"Simple","description":"","frontmatter":{},"headers":[],"relativePath":"demos/Simple.md","filePath":"demos/Simple.md","lastUpdated":1692216176000}'),h={name:"demos/Simple.md"},k=n(`

Simple

All other demos on this page utilize single-file components. To use them in your project you need a bundler like vite. For an example that works without a build step and right in the browser:

SEE THIS DEMO

Source

html
<!DOCTYPE html>
 <html lang="en">
 <head>
   <meta charset="UTF-8">
diff --git a/assets/demos_Simple.md.CjVnN3WB.lean.js b/assets/demos_Simple.md.D2sCwcUO.lean.js
similarity index 68%
rename from assets/demos_Simple.md.CjVnN3WB.lean.js
rename to assets/demos_Simple.md.D2sCwcUO.lean.js
index a375995e..16284c1e 100644
--- a/assets/demos_Simple.md.CjVnN3WB.lean.js
+++ b/assets/demos_Simple.md.D2sCwcUO.lean.js
@@ -1 +1 @@
-import{_ as s,c as i,o as a,R as n}from"./chunks/framework.BeH60Y6U.js";const F=JSON.parse('{"title":"Simple","description":"","frontmatter":{},"headers":[],"relativePath":"demos/Simple.md","filePath":"demos/Simple.md","lastUpdated":1692216176000}'),h={name:"demos/Simple.md"},k=n("",5),l=[k];function t(p,e,E,r,d,g){return a(),i("div",null,l)}const o=s(h,[["render",t]]);export{F as __pageData,o as default};
+import{_ as s,c as i,o as a,R as n}from"./chunks/framework.CI0_Jyb9.js";const F=JSON.parse('{"title":"Simple","description":"","frontmatter":{},"headers":[],"relativePath":"demos/Simple.md","filePath":"demos/Simple.md","lastUpdated":1692216176000}'),h={name:"demos/Simple.md"},k=n("",5),l=[k];function t(p,e,E,r,d,g){return a(),i("div",null,l)}const o=s(h,[["render",t]]);export{F as __pageData,o as default};
diff --git a/assets/demos_SwitchCamera.md.DdzfUcLa.js b/assets/demos_SwitchCamera.md.DCAo7XCR.js
similarity index 98%
rename from assets/demos_SwitchCamera.md.DdzfUcLa.js
rename to assets/demos_SwitchCamera.md.DCAo7XCR.js
index 4b9e42a4..59e1db61 100644
--- a/assets/demos_SwitchCamera.md.DdzfUcLa.js
+++ b/assets/demos_SwitchCamera.md.DCAo7XCR.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.D9-V0Y9a.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.BeH60Y6U.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.CxigVlA0.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.CI0_Jyb9.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
   <div>
     <p
       class="error"
diff --git a/assets/demos_SwitchCamera.md.DdzfUcLa.lean.js b/assets/demos_SwitchCamera.md.DCAo7XCR.lean.js
similarity index 98%
rename from assets/demos_SwitchCamera.md.DdzfUcLa.lean.js
rename to assets/demos_SwitchCamera.md.DCAo7XCR.lean.js
index 4b9e42a4..59e1db61 100644
--- a/assets/demos_SwitchCamera.md.DdzfUcLa.lean.js
+++ b/assets/demos_SwitchCamera.md.DCAo7XCR.lean.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.D9-V0Y9a.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.BeH60Y6U.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.CxigVlA0.js";import{_ as y,f as F,D as E,o as t,c as l,e as r,I as e,w as d,k as a,d as C,a as m,R as u}from"./chunks/framework.CI0_Jyb9.js";import{_ as B}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const f={components:{QrcodeStream:B},data(){return{facingMode:"environment",noRearCamera:!1,noFrontCamera:!1}},methods:{switchCamera(){switch(this.facingMode){case"environment":this.facingMode="user";break;case"user":this.facingMode="environment";break}},onError(n){const s=this.facingMode==="user",p=this.facingMode==="environment",i=n.name==="OverconstrainedError";p&&i&&(this.noRearCamera=!0),s&&i&&(this.noFrontCamera=!0),console.error(n)},withBase:F}},D={key:0,class:"error"},A={key:1,class:"error"},_=["src"];function v(n,s,p,i,k,h){const g=E("qrcode-stream");return t(),l("div",null,[k.noFrontCamera?(t(),l("p",D," You don't seem to have a front camera on your device ")):r("",!0),k.noRearCamera?(t(),l("p",A," You don't seem to have a rear camera on your device ")):r("",!0),e(g,{constraints:{facingMode:k.facingMode},onError:h.onError},{default:d(()=>[a("button",{onClick:s[0]||(s[0]=(...o)=>h.switchCamera&&h.switchCamera(...o))},[a("img",{src:h.withBase("/camera-switch.svg"),alt:"switch camera"},null,8,_)])]),_:1},8,["constraints","onError"])])}const w=y(f,[["render",v],["__scopeId","data-v-6622b1c4"]]),q=a("h1",{id:"switch-to-front-camera",tabindex:"-1"},[m("Switch to Front Camera "),a("a",{class:"header-anchor",href:"#switch-to-front-camera","aria-label":'Permalink to "Switch to Front Camera"'},"​")],-1),b=a("p",null,"You can also allow users to choose the front or rear camera on their device.",-1),M=u(`

Source

vue
<template>
   <div>
     <p
       class="error"
diff --git a/assets/demos_Torch.md.uwsnwgUy.js b/assets/demos_Torch.md.CX9c8yCy.js
similarity index 99%
rename from assets/demos_Torch.md.uwsnwgUy.js
rename to assets/demos_Torch.md.CX9c8yCy.js
index 0840aa15..d44e0952 100644
--- a/assets/demos_Torch.md.uwsnwgUy.js
+++ b/assets/demos_Torch.md.CX9c8yCy.js
@@ -1,4 +1,4 @@
-import{_ as B}from"./chunks/camera.D9-V0Y9a.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a6 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.BeH60Y6U.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
+import{_ as B}from"./chunks/camera.CxigVlA0.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a6 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.CI0_Jyb9.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
   <div>
     <p>
       Pick camera:
diff --git a/assets/demos_Torch.md.uwsnwgUy.lean.js b/assets/demos_Torch.md.CX9c8yCy.lean.js
similarity index 99%
rename from assets/demos_Torch.md.uwsnwgUy.lean.js
rename to assets/demos_Torch.md.CX9c8yCy.lean.js
index 0840aa15..d44e0952 100644
--- a/assets/demos_Torch.md.uwsnwgUy.lean.js
+++ b/assets/demos_Torch.md.CX9c8yCy.lean.js
@@ -1,4 +1,4 @@
-import{_ as B}from"./chunks/camera.D9-V0Y9a.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a6 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.BeH60Y6U.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
+import{_ as B}from"./chunks/camera.CxigVlA0.js";import{d as c,h as E,j as v,g as A,o as l,c as p,k as s,a as e,a4 as D,a6 as m,F as f,E as _,e as d,a8 as q,t as b,b as w,w as o,m as g,f as x,_ as N,D as S,I as y,R as I}from"./chunks/framework.CI0_Jyb9.js";import{_ as T}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";const $=["value"],M={key:0,class:"error"},O=["disabled"],P=["src"],V=c({__name:"Torch",setup(F){const i=E(null),h=E([]);v(async()=>{h.value=(await navigator.mediaDevices.enumerateDevices()).filter(({kind:t})=>t==="videoinput"),h.value.length>0&&(i.value=h.value[0])});const a=E(!1),r=E(!1),u=A(()=>a.value?"/flash-off.svg":"/flash-on.svg");function C(t){console.log(t),r.value=!t.torch}return(t,k)=>(l(),p("div",null,[s("p",null,[e(" Pick camera: "),D(s("select",{"onUpdate:modelValue":k[0]||(k[0]=n=>i.value=n)},[(l(!0),p(f,null,_(h.value,n=>(l(),p("option",{key:n.label,value:n},b(n.label),9,$))),128))],512),[[m,i.value]])]),r.value?(l(),p("p",M," Torch not supported for active camera ")):d("",!0),i.value!==null?q([a.value,i.value.deviceId],()=>(l(),w(g(T),{key:1,torch:a.value,constraints:{deviceId:i.value.deviceId},onError:console.error,onCameraOn:C},{default:o(()=>[s("button",{onClick:k[1]||(k[1]=n=>a.value=!a.value),disabled:r.value},[s("img",{src:g(x)(u.value),alt:"toggle torch"},null,8,P)],8,O)]),_:1},8,["torch","constraints","onError"])),k,2):d("",!0)]))}}),U=N(V,[["__scopeId","data-v-cf37801d"]]),j=s("h1",{id:"torch-flashlight",tabindex:"-1"},[e("Torch (Flashlight) "),s("a",{class:"header-anchor",href:"#torch-flashlight","aria-label":'Permalink to "Torch (Flashlight)"'},"​")],-1),J=s("p",null,[e("In low-light conditions you might want to make use of the cameras flashlight. Using the "),s("code",null,"torch"),e(" prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.")],-1),L=s("p",null,[e("Feature sponsored by "),s("a",{href:"https://aeschbacher.ch",target:"_blank",rel:"noreferrer"},"aeschbacher.ch")],-1),Q=I(`

Source

vue
<template>
   <div>
     <p>
       Pick camera:
diff --git a/assets/demos_Upload.md.DrQJwL_i.js b/assets/demos_Upload.md.DQRAcZba.js
similarity index 82%
rename from assets/demos_Upload.md.DrQJwL_i.js
rename to assets/demos_Upload.md.DQRAcZba.js
index aaaeb029..a29abc2a 100644
--- a/assets/demos_Upload.md.DrQJwL_i.js
+++ b/assets/demos_Upload.md.DQRAcZba.js
@@ -1,4 +1,4 @@
-import{p as y,_ as u}from"./chunks/camera.D9-V0Y9a.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a6 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.BeH60Y6U.js";const v=c({__name:"QrcodeCapture",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
+import{p as y,_ as u}from"./chunks/camera.CxigVlA0.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a6 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.CI0_Jyb9.js";const v=c({__name:"QrcodeCapture",props:{formats:{default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
   <div>
     <p>
       Capture:
diff --git a/assets/demos_Upload.md.DrQJwL_i.lean.js b/assets/demos_Upload.md.DQRAcZba.lean.js
similarity index 82%
rename from assets/demos_Upload.md.DrQJwL_i.lean.js
rename to assets/demos_Upload.md.DQRAcZba.lean.js
index aaaeb029..a29abc2a 100644
--- a/assets/demos_Upload.md.DrQJwL_i.lean.js
+++ b/assets/demos_Upload.md.DQRAcZba.lean.js
@@ -1,4 +1,4 @@
-import{p as y,_ as u}from"./chunks/camera.D9-V0Y9a.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a6 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.BeH60Y6U.js";const v=c({__name:"QrcodeCapture",props:{formats:{type:Array,default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
+import{p as y,_ as u}from"./chunks/camera.CxigVlA0.js";import{d as c,o as e,c as p,_ as F,D as g,k as s,a as h,a4 as m,a6 as C,F as _,E as f,t as o,I as d,w as D,R as B}from"./chunks/framework.CI0_Jyb9.js";const v=c({__name:"QrcodeCapture",props:{formats:{default:()=>["qr_code"]}},emits:["detect"],setup(i,{emit:a}){const r=i,k=a,n=l=>{if(!(!(l.target instanceof HTMLInputElement)||!l.target.files))for(const E of Array.from(l.target.files))y(E,r.formats).then(t=>{k("detect",t)})};return(l,E)=>(e(),p("input",{onChange:n,type:"file",name:"image",accept:"image/*",capture:"environment",multiple:""},null,32))}}),A={components:{QrcodeCapture:v},data(){const i=[{text:"rear camera (default)",value:"environment"},{text:"front camera",value:"user"},{text:"force file dialog",value:null}];return{result:"",options:i,selected:i[0]}},methods:{onDetect(i){console.log(i),this.result=JSON.stringify(i.map(a=>a.rawValue))}}},b=["value"],q=s("hr",null,null,-1),x={class:"decode-result"};function w(i,a,r,k,n,l){const E=g("qrcode-capture");return e(),p("div",null,[s("p",null,[h(" Capture: "),m(s("select",{"onUpdate:modelValue":a[0]||(a[0]=t=>n.selected=t)},[(e(!0),p(_,null,f(n.options,t=>(e(),p("option",{key:t.text,value:t},o(t.text),9,b))),128))],512),[[C,n.selected]])]),q,s("p",x,[h(" Last result: "),s("b",null,o(n.result),1)]),d(E,{onDetect:l.onDetect,capture:n.selected.value},null,8,["onDetect","capture"])])}const S=F(A,[["render",w]]),U=s("h1",{id:"decode-by-upload",tabindex:"-1"},[h("Decode by Upload "),s("a",{class:"header-anchor",href:"#decode-by-upload","aria-label":'Permalink to "Decode by Upload"'},"​")],-1),N=s("p",null,[h("Finally, with "),s("code",null,"QrcodeCapture"),h(" comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.")],-1),V=s("p",null,"If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:",-1),O=B(`

Source

vue
<template>
   <div>
     <p>
       Capture:
diff --git a/assets/demos_Validate.md.BzRPZwjw.js b/assets/demos_Validate.md.D-dkzNgN.js
similarity index 98%
rename from assets/demos_Validate.md.BzRPZwjw.js
rename to assets/demos_Validate.md.D-dkzNgN.js
index 331e4464..e801be49 100644
--- a/assets/demos_Validate.md.BzRPZwjw.js
+++ b/assets/demos_Validate.md.D-dkzNgN.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.D9-V0Y9a.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.BeH60Y6U.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.CxigVlA0.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.CI0_Jyb9.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/demos_Validate.md.BzRPZwjw.lean.js b/assets/demos_Validate.md.D-dkzNgN.lean.js
similarity index 98%
rename from assets/demos_Validate.md.BzRPZwjw.lean.js
rename to assets/demos_Validate.md.D-dkzNgN.lean.js
index 331e4464..e801be49 100644
--- a/assets/demos_Validate.md.BzRPZwjw.lean.js
+++ b/assets/demos_Validate.md.D-dkzNgN.lean.js
@@ -1,4 +1,4 @@
-import{_ as c}from"./chunks/camera.D9-V0Y9a.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.BeH60Y6U.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
+import{_ as c}from"./chunks/camera.CxigVlA0.js";import{_ as F}from"./chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js";import{_ as o,D as E,o as a,c as n,k as l,a as r,t as C,I as k,w as d,e as t,d as u,R as B}from"./chunks/framework.CI0_Jyb9.js";const m={components:{QrcodeStream:F},data(){return{isValid:void 0,paused:!1,result:null}},computed:{validationPending(){return this.isValid===void 0&&this.paused},validationSuccess(){return this.isValid===!0},validationFailure(){return this.isValid===!1}},methods:{onError:console.error,resetValidationState(){this.isValid=void 0},async onDetect([i]){this.result=i.rawValue,this.paused=!0,await this.timeout(3e3),this.isValid=this.result.startsWith("http"),await this.timeout(2e3),this.paused=!1},timeout(i){return new Promise(h=>{window.setTimeout(h,i)})}}},D={class:"decode-result"},v={key:0,class:"validation-success"},A={key:1,class:"validation-failure"},_={key:2,class:"validation-pending"};function f(i,h,g,p,e,s){const y=E("qrcode-stream");return a(),n("div",null,[l("p",D,[r(" Last result: "),l("b",null,C(e.result),1)]),k(y,{paused:e.paused,onDetect:s.onDetect,onError:s.onError,onCameraOn:s.resetValidationState},{default:d(()=>[s.validationSuccess?(a(),n("div",v," This is a URL ")):t("",!0),s.validationFailure?(a(),n("div",A," This is NOT a URL! ")):t("",!0),s.validationPending?(a(),n("div",_," Long validation in progress... ")):t("",!0)]),_:1},8,["paused","onDetect","onError","onCameraOn"])])}const V=o(m,[["render",f],["__scopeId","data-v-2a6ebd39"]]),q=l("h1",{id:"pause-validate",tabindex:"-1"},[r("Pause & Validate "),l("a",{class:"header-anchor",href:"#pause-validate","aria-label":'Permalink to "Pause & Validate"'},"​")],-1),w=l("p",null,"By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.",-1),b=B(`

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
diff --git a/assets/index.md.LZGnsC_L.js b/assets/index.md.DKqtwxLE.js
similarity index 91%
rename from assets/index.md.LZGnsC_L.js
rename to assets/index.md.DKqtwxLE.js
index a2fe1145..f9850952 100644
--- a/assets/index.md.LZGnsC_L.js
+++ b/assets/index.md.DKqtwxLE.js
@@ -1 +1 @@
-import{_ as e,c as t,o}from"./chunks/framework.BeH60Y6U.js";const p=JSON.parse('{"title":"","titleTemplate":":title","description":"","frontmatter":{"layout":"home","titleTemplate":":title","hero":{"name":"Vue Qrcode Reader","tagline":"A set of Vue.js components for detecting and decoding QR codes.","image":{"src":"/logo.png","alt":"VueQrcodeReader"},"actions":[{"theme":"brand","text":"See Demos →","link":"/demos/FullDemo"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/gruhn/vue-qrcode-reader"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1707952687000}'),a={name:"index.md"};function n(r,d,i,s,c,l){return o(),t("div")}const u=e(a,[["render",n]]);export{p as __pageData,u as default};
+import{_ as e,c as t,o}from"./chunks/framework.CI0_Jyb9.js";const p=JSON.parse('{"title":"","titleTemplate":":title","description":"","frontmatter":{"layout":"home","titleTemplate":":title","hero":{"name":"Vue Qrcode Reader","tagline":"A set of Vue.js components for detecting and decoding QR codes.","image":{"src":"/logo.png","alt":"VueQrcodeReader"},"actions":[{"theme":"brand","text":"See Demos →","link":"/demos/FullDemo"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/gruhn/vue-qrcode-reader"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1707952687000}'),a={name:"index.md"};function n(r,d,i,s,c,l){return o(),t("div")}const u=e(a,[["render",n]]);export{p as __pageData,u as default};
diff --git a/assets/index.md.LZGnsC_L.lean.js b/assets/index.md.DKqtwxLE.lean.js
similarity index 91%
rename from assets/index.md.LZGnsC_L.lean.js
rename to assets/index.md.DKqtwxLE.lean.js
index a2fe1145..f9850952 100644
--- a/assets/index.md.LZGnsC_L.lean.js
+++ b/assets/index.md.DKqtwxLE.lean.js
@@ -1 +1 @@
-import{_ as e,c as t,o}from"./chunks/framework.BeH60Y6U.js";const p=JSON.parse('{"title":"","titleTemplate":":title","description":"","frontmatter":{"layout":"home","titleTemplate":":title","hero":{"name":"Vue Qrcode Reader","tagline":"A set of Vue.js components for detecting and decoding QR codes.","image":{"src":"/logo.png","alt":"VueQrcodeReader"},"actions":[{"theme":"brand","text":"See Demos →","link":"/demos/FullDemo"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/gruhn/vue-qrcode-reader"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1707952687000}'),a={name:"index.md"};function n(r,d,i,s,c,l){return o(),t("div")}const u=e(a,[["render",n]]);export{p as __pageData,u as default};
+import{_ as e,c as t,o}from"./chunks/framework.CI0_Jyb9.js";const p=JSON.parse('{"title":"","titleTemplate":":title","description":"","frontmatter":{"layout":"home","titleTemplate":":title","hero":{"name":"Vue Qrcode Reader","tagline":"A set of Vue.js components for detecting and decoding QR codes.","image":{"src":"/logo.png","alt":"VueQrcodeReader"},"actions":[{"theme":"brand","text":"See Demos →","link":"/demos/FullDemo"},{"theme":"alt","text":"View on GitHub","link":"https://github.com/gruhn/vue-qrcode-reader"}]}},"headers":[],"relativePath":"index.md","filePath":"index.md","lastUpdated":1707952687000}'),a={name:"index.md"};function n(r,d,i,s,c,l){return o(),t("div")}const u=e(a,[["render",n]]);export{p as __pageData,u as default};
diff --git a/assets/style.DBNrZm1J.css b/assets/style.DdhQUwfb.css
similarity index 66%
rename from assets/style.DBNrZm1J.css
rename to assets/style.DdhQUwfb.css
index 0f690524..0c027001 100644
--- a/assets/style.DBNrZm1J.css
+++ b/assets/style.DdhQUwfb.css
@@ -1 +1 @@
-@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic.CMhn1ESj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic-ext.DxP3Awbn.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek.JvnBZ4YD.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek-ext.D0mI3NpI.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin.Bu8hRsVA.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin-ext.ZlYT4o7i.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-vietnamese.ClpjcLMQ.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic.D6csxwjC.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic-ext.5XJwZIOp.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek.9J96vYpw.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek-ext.CHOfFY1k.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin.DbsTr1gm.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin-ext.BGcWXLrn.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-vietnamese.DHNAd7Wr.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E")}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-green-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-green-1);--vp-code-line-diff-remove-color: var(--vp-c-red-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-red-1);--vp-code-line-warning-color: var(--vp-c-yellow-soft);--vp-code-line-error-color: var(--vp-c-red-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-brand-soft);--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-gray-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-brand-1);--vp-badge-tip-bg: var(--vp-c-brand-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);direction:ltr;font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{margin:auto}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-brand-1)}.custom-block.tip a:hover{color:var(--vp-c-brand-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin-bottom:4px;text-align:center;letter-spacing:1px;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge[data-v-ee2adf9e]{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.vp-doc h1>.VPBadge[data-v-ee2adf9e]{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge[data-v-ee2adf9e]{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge[data-v-ee2adf9e]{vertical-align:middle}.vp-doc h4>.VPBadge[data-v-ee2adf9e],.vp-doc h5>.VPBadge[data-v-ee2adf9e],.vp-doc h6>.VPBadge[data-v-ee2adf9e]{vertical-align:middle;line-height:18px}.VPBadge.info[data-v-ee2adf9e]{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip[data-v-ee2adf9e]{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning[data-v-ee2adf9e]{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger[data-v-ee2adf9e]{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-a2245aed]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-a2245aed],.VPBackdrop.fade-leave-to[data-v-a2245aed]{opacity:0}.VPBackdrop.fade-leave-active[data-v-a2245aed]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-a2245aed]{display:none}}.NotFound[data-v-f91ac6fa]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-f91ac6fa]{padding:96px 32px 168px}}.code[data-v-f91ac6fa]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-f91ac6fa]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-f91ac6fa]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-f91ac6fa]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-f91ac6fa]{padding-top:20px}.link[data-v-f91ac6fa]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-f91ac6fa]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-eaef1eb7]{position:relative;z-index:1}.nested[data-v-eaef1eb7]{padding-left:16px}.outline-link[data-v-eaef1eb7]{display:block;line-height:28px;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s;font-weight:400}.outline-link[data-v-eaef1eb7]:hover,.outline-link.active[data-v-eaef1eb7]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-eaef1eb7]{padding-left:13px}.VPDocAsideOutline[data-v-6cabe4bc]{display:none}.VPDocAsideOutline.has-outline[data-v-6cabe4bc]{display:block}.content[data-v-6cabe4bc]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-6cabe4bc]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-6cabe4bc]{letter-spacing:.4px;line-height:28px;font-size:13px;font-weight:600}.VPDocAside[data-v-ca5de6a3]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-ca5de6a3]{flex-grow:1}.VPDocAside[data-v-ca5de6a3] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-ca5de6a3] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-ca5de6a3] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-1bb82984]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-1bb82984]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-819f5c65]{margin-top:64px}.edit-info[data-v-819f5c65]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-819f5c65]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-819f5c65]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-819f5c65]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-819f5c65]{margin-right:8px;width:14px;height:14px;fill:currentColor}.prev-next[data-v-819f5c65]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-819f5c65]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-819f5c65]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-819f5c65]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-819f5c65]{margin-left:auto;text-align:right}.desc[data-v-819f5c65]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-819f5c65]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDocOutlineDropdown[data-v-31373206]{margin-bottom:48px}.VPDocOutlineDropdown button[data-v-31373206]{display:block;font-size:14px;font-weight:500;line-height:24px;border:1px solid var(--vp-c-border);padding:4px 12px;color:var(--vp-c-text-2);background-color:var(--vp-c-default-soft);border-radius:8px;transition:color .5s}.VPDocOutlineDropdown button[data-v-31373206]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPDocOutlineDropdown button.open[data-v-31373206]{color:var(--vp-c-text-1)}.icon[data-v-31373206]{display:inline-block;vertical-align:middle;width:16px;height:16px;fill:currentColor}[data-v-31373206] .outline-link{font-size:14px;font-weight:400}.open>.icon[data-v-31373206]{transform:rotate(90deg)}.items[data-v-31373206]{margin-top:12px;border-left:1px solid var(--vp-c-divider)}.VPDoc[data-v-2c72cb91]{padding:32px 24px 96px;width:100%}.VPDoc .VPDocOutlineDropdown[data-v-2c72cb91]{display:none}@media (min-width: 960px) and (max-width: 1279px){.VPDoc .VPDocOutlineDropdown[data-v-2c72cb91]{display:block}}@media (min-width: 768px){.VPDoc[data-v-2c72cb91]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-2c72cb91]{padding:32px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-2c72cb91]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-2c72cb91]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-2c72cb91]{display:flex;justify-content:center}.VPDoc .aside[data-v-2c72cb91]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-2c72cb91]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-2c72cb91]{max-width:1104px}}.container[data-v-2c72cb91]{margin:0 auto;width:100%}.aside[data-v-2c72cb91]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-2c72cb91]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-2c72cb91]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 32px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-2c72cb91]::-webkit-scrollbar{display:none}.aside-curtain[data-v-2c72cb91]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-2c72cb91]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px));padding-bottom:32px}.content[data-v-2c72cb91]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-2c72cb91]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-2c72cb91]{order:1;margin:0;min-width:640px}}.content-container[data-v-2c72cb91]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-2c72cb91]{max-width:688px}.external-link-icon-enabled :is(.vp-doc a[href*="://"][data-v-2c72cb91],.vp-doc a[target=_blank][data-v-2c72cb91]):after{content:"";color:currentColor}.VPButton[data-v-2085ae70]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-2085ae70]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-2085ae70]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-2085ae70]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-2085ae70]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-2085ae70]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-2085ae70]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-2085ae70]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-2085ae70]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-2085ae70]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-2085ae70]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-2085ae70]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-2085ae70]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-3ff50ca3]{display:none}.dark .VPImage.light[data-v-3ff50ca3]{display:none}.VPHero[data-v-67931e31]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-67931e31]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-67931e31]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-67931e31]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-67931e31]{flex-direction:row}}.main[data-v-67931e31]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-67931e31]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-67931e31]{text-align:left}}@media (min-width: 960px){.main[data-v-67931e31]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-67931e31]{max-width:592px}}.name[data-v-67931e31],.text[data-v-67931e31]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-67931e31],.VPHero.has-image .text[data-v-67931e31]{margin:0 auto}.name[data-v-67931e31]{color:var(--vp-home-hero-name-color)}.clip[data-v-67931e31]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-67931e31],.text[data-v-67931e31]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-67931e31],.text[data-v-67931e31]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-67931e31],.VPHero.has-image .text[data-v-67931e31]{margin:0}}.tagline[data-v-67931e31]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-67931e31]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-67931e31]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-67931e31]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-67931e31]{margin:0}}.actions[data-v-67931e31]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-67931e31]{justify-content:center}@media (min-width: 640px){.actions[data-v-67931e31]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-67931e31]{justify-content:flex-start}}.action[data-v-67931e31]{flex-shrink:0;padding:6px}.image[data-v-67931e31]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-67931e31]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-67931e31]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-67931e31]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-67931e31]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-67931e31]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-67931e31]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-67931e31]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-67931e31]{width:320px;height:320px}}[data-v-67931e31] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-67931e31] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-67931e31] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-24da4160]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-24da4160]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-24da4160]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-24da4160]>.VPImage{margin-bottom:20px}.icon[data-v-24da4160]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-24da4160]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-24da4160]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-24da4160]{padding-top:8px}.link-text-value[data-v-24da4160]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-24da4160]{display:inline-block;margin-left:6px;width:14px;height:14px;fill:currentColor}.VPFeatures[data-v-3b280e87]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-3b280e87]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-3b280e87]{padding:0 64px}}.container[data-v-3b280e87]{margin:0 auto;max-width:1152px}.items[data-v-3b280e87]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-3b280e87]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-3b280e87],.item.grid-4[data-v-3b280e87],.item.grid-6[data-v-3b280e87]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-3b280e87],.item.grid-4[data-v-3b280e87]{width:50%}.item.grid-3[data-v-3b280e87],.item.grid-6[data-v-3b280e87]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-3b280e87]{width:25%}}.VPHome[data-v-6dbda57a]{padding-bottom:96px}.VPHome[data-v-6dbda57a] .VPHomeSponsors{margin-top:112px;margin-bottom:-128px}@media (min-width: 768px){.VPHome[data-v-6dbda57a]{padding-bottom:128px}}.VPContent[data-v-8c461e74]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-8c461e74]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-8c461e74]{margin:0}@media (min-width: 960px){.VPContent[data-v-8c461e74]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-8c461e74]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-8c461e74]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-562f026b]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-562f026b]{display:none}.VPFooter[data-v-562f026b] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-562f026b] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-562f026b]{padding:32px}}.container[data-v-562f026b]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-562f026b],.copyright[data-v-562f026b]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-5bc6b6c1]{padding:12px 20px 11px}.VPLocalNavOutlineDropdown button[data-v-5bc6b6c1]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-5bc6b6c1]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-5bc6b6c1]{color:var(--vp-c-text-1)}.icon[data-v-5bc6b6c1]{display:inline-block;vertical-align:middle;margin-left:2px;width:14px;height:14px;fill:currentColor}[data-v-5bc6b6c1] .outline-link{font-size:14px;padding:2px 0}.open>.icon[data-v-5bc6b6c1]{transform:rotate(90deg)}.items[data-v-5bc6b6c1]{position:absolute;top:64px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}.header[data-v-5bc6b6c1]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-5bc6b6c1]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-5bc6b6c1]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-5bc6b6c1]{transition:all .2s ease-out}.flyout-leave-active[data-v-5bc6b6c1]{transition:all .15s ease-in}.flyout-enter-from[data-v-5bc6b6c1],.flyout-leave-to[data-v-5bc6b6c1]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-ef3bfcea]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--vp-c-gutter);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-ef3bfcea]{position:fixed}.VPLocalNav.reached-top[data-v-ef3bfcea]{border-top-color:transparent}@media (min-width: 960px){.VPLocalNav[data-v-ef3bfcea]{display:none}}.menu[data-v-ef3bfcea]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-ef3bfcea]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-ef3bfcea]{padding:0 32px}}.menu-icon[data-v-ef3bfcea]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPOutlineDropdown[data-v-ef3bfcea]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-ef3bfcea]{padding:12px 32px 11px}}.VPSwitch[data-v-817bcb23]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-817bcb23]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-817bcb23]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-817bcb23]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-817bcb23] svg{position:absolute;top:3px;left:3px;width:12px;height:12px;fill:var(--vp-c-text-2)}.dark .icon[data-v-817bcb23] svg{fill:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-2717ee60]{opacity:1}.moon[data-v-2717ee60],.dark .sun[data-v-2717ee60]{opacity:0}.dark .moon[data-v-2717ee60]{opacity:1}.dark .VPSwitchAppearance[data-v-2717ee60] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-29f3594b]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-29f3594b]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-c21876db]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-c21876db]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-c21876db]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-c21876db]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-45b3175d]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-45b3175d]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-45b3175d]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-45b3175d]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-34c8ca32]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-34c8ca32] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-34c8ca32] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-34c8ca32] .group:last-child{padding-bottom:0}.VPMenu[data-v-34c8ca32] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-34c8ca32] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-34c8ca32] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-34c8ca32] .action{padding-left:24px}.VPFlyout[data-v-15d4c993]{position:relative}.VPFlyout[data-v-15d4c993]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-15d4c993]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-15d4c993]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-15d4c993]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-15d4c993]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-15d4c993],.button[aria-expanded=true]+.menu[data-v-15d4c993]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-15d4c993]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-15d4c993]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-15d4c993]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-15d4c993]{margin-right:0;width:16px;height:16px;fill:currentColor}.text-icon[data-v-15d4c993]{margin-left:4px;width:14px;height:14px;fill:currentColor}.icon[data-v-15d4c993]{width:20px;height:20px;fill:currentColor;transition:fill .25s}.menu[data-v-15d4c993]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-7c36672e]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-7c36672e]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-7c36672e]>svg{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-dafee906]{display:flex;justify-content:center}.VPNavBarExtra[data-v-28c26714]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-28c26714]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-28c26714]{display:none}}.trans-title[data-v-28c26714]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-28c26714],.item.social-links[data-v-28c26714]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-28c26714]{min-width:176px}.appearance-action[data-v-28c26714]{margin-right:-2px}.social-links-list[data-v-28c26714]{margin:-4px -8px}.VPNavBarHamburger[data-v-385fc5db]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-385fc5db]{display:none}}.container[data-v-385fc5db]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-385fc5db]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-385fc5db]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-385fc5db]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-385fc5db]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-385fc5db]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-385fc5db]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-385fc5db],.VPNavBarHamburger.active:hover .middle[data-v-385fc5db],.VPNavBarHamburger.active:hover .bottom[data-v-385fc5db]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-385fc5db],.middle[data-v-385fc5db],.bottom[data-v-385fc5db]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-385fc5db]{top:0;left:0;transform:translate(0)}.middle[data-v-385fc5db]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-385fc5db]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-133e09b9]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-133e09b9],.VPNavBarMenuLink[data-v-133e09b9]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-78d3eb08]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-78d3eb08]{display:flex}}/*! @docsearch/css 3.8.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 #0304094d;--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch-Button-Key--pressed{box-shadow:var(--docsearch-key-pressed-shadow);transform:translate3d(0,1px,0)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-e5f5ba96]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-e5f5ba96]{display:flex;align-items:center}}.title[data-v-e5f4453f]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-e5f4453f]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-e5f4453f]{border-bottom-color:var(--vp-c-divider)}}[data-v-e5f4453f] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-dbacad78]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-dbacad78]{display:flex;align-items:center}}.title[data-v-dbacad78]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-d7de2565]{position:relative;border-bottom:1px solid transparent;padding:0 8px 0 24px;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap}@media (min-width: 768px){.VPNavBar[data-v-d7de2565]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar[data-v-d7de2565]{padding:0}.VPNavBar[data-v-d7de2565]:not(.has-sidebar):not(.top){border-bottom-color:var(--vp-c-gutter);background-color:var(--vp-nav-bg-color)}}.container[data-v-d7de2565]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-d7de2565],.container>.content[data-v-d7de2565]{pointer-events:none}.container[data-v-d7de2565] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-d7de2565]{max-width:100%}}.title[data-v-d7de2565]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-d7de2565]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-d7de2565]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-d7de2565]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-d7de2565]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-d7de2565]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-d7de2565]{display:flex;justify-content:flex-end;align-items:center;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.top) .content-body[data-v-d7de2565]{position:relative;background-color:var(--vp-nav-bg-color)}}@media (max-width: 767px){.content-body[data-v-d7de2565]{column-gap:.5rem}}.menu+.translations[data-v-d7de2565]:before,.menu+.appearance[data-v-d7de2565]:before,.menu+.social-links[data-v-d7de2565]:before,.translations+.appearance[data-v-d7de2565]:before,.appearance+.social-links[data-v-d7de2565]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-d7de2565]:before,.translations+.appearance[data-v-d7de2565]:before{margin-right:16px}.appearance+.social-links[data-v-d7de2565]:before{margin-left:16px}.social-links[data-v-d7de2565]{margin-right:-8px}@media (min-width: 960px){.VPNavBar.has-sidebar .curtain[data-v-d7de2565]{position:absolute;right:0;bottom:-31px;width:calc(100% - var(--vp-sidebar-width));height:32px}.VPNavBar.has-sidebar .curtain[data-v-d7de2565]:before{display:block;width:100%;height:32px;background:linear-gradient(var(--vp-c-bg),transparent 70%);content:""}}@media (min-width: 1440px){.VPNavBar.has-sidebar .curtain[data-v-d7de2565]{width:calc(100% - ((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)))}}.VPNavScreenAppearance[data-v-4d5ad607]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-4d5ad607]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-2f604b28]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-2f604b28]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-8d6b44aa]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-8d6b44aa]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-b3bf8789]{display:block}.title[data-v-b3bf8789]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-b2ddf91e]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-b2ddf91e]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-b2ddf91e]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-b2ddf91e]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-b2ddf91e]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-b2ddf91e]{transform:rotate(45deg)}.button[data-v-b2ddf91e]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-b2ddf91e]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-b2ddf91e]{width:14px;height:14px;fill:var(--vp-c-text-2);transition:fill .5s,transform .25s}.group[data-v-b2ddf91e]:first-child{padding-top:0}.group+.group[data-v-b2ddf91e],.group+.item[data-v-b2ddf91e]{padding-top:4px}.VPNavScreenTranslations[data-v-a8553b4b]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-a8553b4b]{height:auto}.title[data-v-a8553b4b]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-a8553b4b]{width:16px;height:16px;fill:currentColor}.icon.lang[data-v-a8553b4b]{margin-right:8px}.icon.chevron[data-v-a8553b4b]{margin-left:4px}.list[data-v-a8553b4b]{padding:4px 0 0 24px}.link[data-v-a8553b4b]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-99c2fc8d]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-99c2fc8d],.VPNavScreen.fade-leave-active[data-v-99c2fc8d]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-99c2fc8d],.VPNavScreen.fade-leave-active .container[data-v-99c2fc8d]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-99c2fc8d],.VPNavScreen.fade-leave-to[data-v-99c2fc8d]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-99c2fc8d],.VPNavScreen.fade-leave-to .container[data-v-99c2fc8d]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-99c2fc8d]{display:none}}.container[data-v-99c2fc8d]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-99c2fc8d],.menu+.appearance[data-v-99c2fc8d],.translations+.appearance[data-v-99c2fc8d]{margin-top:24px}.menu+.social-links[data-v-99c2fc8d]{margin-top:16px}.appearance+.social-links[data-v-99c2fc8d]{margin-top:16px}.VPNav[data-v-09066b21]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-09066b21]{position:fixed}}.VPSidebarItem.level-0[data-v-fdc115da]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-fdc115da]{padding-bottom:10px}.item[data-v-fdc115da]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-fdc115da]{cursor:pointer}.indicator[data-v-fdc115da]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-fdc115da],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-fdc115da],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-fdc115da],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-fdc115da]{background-color:var(--vp-c-brand-1)}.link[data-v-fdc115da]{display:flex;align-items:center;flex-grow:1}.text[data-v-fdc115da]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-fdc115da]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-fdc115da],.VPSidebarItem.level-2 .text[data-v-fdc115da],.VPSidebarItem.level-3 .text[data-v-fdc115da],.VPSidebarItem.level-4 .text[data-v-fdc115da],.VPSidebarItem.level-5 .text[data-v-fdc115da]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-fdc115da],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-fdc115da],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-fdc115da],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-fdc115da],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-fdc115da],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-fdc115da]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-fdc115da],.VPSidebarItem.level-1.has-active>.item>.text[data-v-fdc115da],.VPSidebarItem.level-2.has-active>.item>.text[data-v-fdc115da],.VPSidebarItem.level-3.has-active>.item>.text[data-v-fdc115da],.VPSidebarItem.level-4.has-active>.item>.text[data-v-fdc115da],.VPSidebarItem.level-5.has-active>.item>.text[data-v-fdc115da],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-fdc115da],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-fdc115da],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-fdc115da],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-fdc115da],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-fdc115da],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-fdc115da]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-fdc115da],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-fdc115da],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-fdc115da],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-fdc115da],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-fdc115da],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-fdc115da]{color:var(--vp-c-brand-1)}.caret[data-v-fdc115da]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-fdc115da]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-fdc115da]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-fdc115da]{width:18px;height:18px;fill:currentColor;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-fdc115da]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-fdc115da],.VPSidebarItem.level-2 .items[data-v-fdc115da],.VPSidebarItem.level-3 .items[data-v-fdc115da],.VPSidebarItem.level-4 .items[data-v-fdc115da],.VPSidebarItem.level-5 .items[data-v-fdc115da]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-fdc115da]{display:none}.VPSidebar[data-v-9b7f2dc4]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-9b7f2dc4]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-9b7f2dc4]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-9b7f2dc4]{z-index:1;padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-9b7f2dc4]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-9b7f2dc4]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-9b7f2dc4]{outline:0}.group+.group[data-v-9b7f2dc4]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-9b7f2dc4]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-aa5156db]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-aa5156db]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-aa5156db]{top:14px;left:16px}}.Layout[data-v-efc27221]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-cc6b1396]{border-top:1px solid var(--vp-c-gutter);padding:88px 24px 96px;background-color:var(--vp-c-bg)}.container[data-v-cc6b1396]{margin:0 auto;max-width:1152px}.love[data-v-cc6b1396]{margin:0 auto;width:28px;height:28px;color:var(--vp-c-text-3)}.icon[data-v-cc6b1396]{width:28px;height:28px;fill:currentColor}.message[data-v-cc6b1396]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-cc6b1396]{padding-top:32px}.action[data-v-cc6b1396]{padding-top:40px;text-align:center}.VPTeamPage[data-v-0754f3f9]{padding-bottom:96px}@media (min-width: 768px){.VPTeamPage[data-v-0754f3f9]{padding-bottom:128px}}.VPTeamPageSection+.VPTeamPageSection[data-v-0754f3f9-s],.VPTeamMembers+.VPTeamPageSection[data-v-0754f3f9-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-0754f3f9-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-0754f3f9-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-0754f3f9-s],.VPTeamMembers+.VPTeamPageSection[data-v-0754f3f9-s]{margin-top:96px}}.VPTeamMembers[data-v-0754f3f9-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-0754f3f9-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-0754f3f9-s]{padding:0 64px}}.VPTeamPageTitle[data-v-1f625665]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-1f625665]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-1f625665]{padding:80px 64px 48px}}.title[data-v-1f625665]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-1f625665]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-1f625665]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-1f625665]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-88142d66]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-88142d66]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-88142d66]{padding:0 64px}}.title[data-v-88142d66]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-88142d66]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-88142d66]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-88142d66]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-88142d66]{padding-top:40px}.VPTeamMembersItem[data-v-2a65b52f]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-2a65b52f]{padding:32px}.VPTeamMembersItem.small .data[data-v-2a65b52f]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-2a65b52f]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-2a65b52f]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-2a65b52f]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-2a65b52f]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-2a65b52f]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-2a65b52f]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-2a65b52f]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-2a65b52f]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-2a65b52f]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-2a65b52f]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-2a65b52f]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-2a65b52f]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-2a65b52f]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-2a65b52f]{text-align:center}.avatar[data-v-2a65b52f]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-2a65b52f]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-2a65b52f]{margin:0;font-weight:600}.affiliation[data-v-2a65b52f]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-2a65b52f]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-2a65b52f]:hover{color:var(--vp-c-brand-1)}.desc[data-v-2a65b52f]{margin:0 auto}.desc[data-v-2a65b52f] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-2a65b52f]{display:flex;justify-content:center;height:56px}.sp-link[data-v-2a65b52f]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-2a65b52f]:hover,.sp .sp-link.link[data-v-2a65b52f]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-2a65b52f]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPTeamMembers.small .container[data-v-36af3965]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-36af3965]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-36af3965]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-36af3965]{max-width:876px}.VPTeamMembers.medium .container[data-v-36af3965]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-36af3965]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-36af3965]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-36af3965]{max-width:760px}.container[data-v-36af3965]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.decode-result{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-area{height:300px;color:#fff;text-align:center;font-weight:700;padding:10px;background-color:#3c3c43}.dragover{background-color:#10b981}.drop-error{color:red;font-weight:700}.error[data-v-df3f27d7]{font-weight:700;color:red}.barcode-format-checkbox[data-v-df3f27d7]{margin-right:10px;white-space:nowrap;display:inline-block}.fullscreen[data-v-39d64d0c]{position:fixed;z-index:1000;top:0;bottom:0;right:0;left:0}.fullscreen-button[data-v-39d64d0c]{background-color:#fff;position:absolute;bottom:0;right:0;margin:1rem}.fullscreen-button img[data-v-39d64d0c]{width:2rem}button[data-v-3ae3ffac]{margin-bottom:20px}.loading-indicator[data-v-3ae3ffac]{font-weight:700;font-size:2rem;text-align:center}.scan-confirmation[data-v-2c48d920]{position:absolute;width:100%;height:100%;background-color:#fffc;display:flex;flex-flow:row nowrap;justify-content:center}button[data-v-6622b1c4]{position:absolute;left:10px;top:10px}button img[data-v-6622b1c4]{width:50px;height:50px}.error[data-v-6622b1c4]{color:red;font-weight:700}button[data-v-cf37801d]{position:absolute;left:10px;top:10px}button img[data-v-cf37801d]{width:50px;height:50px}.error[data-v-cf37801d]{color:red;font-weight:700}.validation-success[data-v-2a6ebd39],.validation-failure[data-v-2a6ebd39],.validation-pending[data-v-2a6ebd39]{position:absolute;width:100%;height:100%;background-color:#fffc;padding:10px;text-align:center;font-weight:700;font-size:1.4rem;color:#000;display:flex;flex-flow:column nowrap;justify-content:center}.validation-success[data-v-2a6ebd39]{color:green}.validation-failure[data-v-2a6ebd39]{color:red}.VPLocalSearchBox[data-v-7d260642]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-7d260642]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-7d260642]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-7d260642]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-7d260642]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-7d260642]{padding:0 8px}}.search-bar[data-v-7d260642]:focus-within{border-color:var(--vp-c-brand-1)}.search-icon[data-v-7d260642]{margin:8px}@media (max-width: 767px){.search-icon[data-v-7d260642]{display:none}}.search-input[data-v-7d260642]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-7d260642]{padding:6px 4px}}.search-actions[data-v-7d260642]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-7d260642]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-7d260642]{display:none}}.search-actions button[data-v-7d260642]{padding:8px}.search-actions button[data-v-7d260642]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-7d260642]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-7d260642]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-7d260642]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-7d260642]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-7d260642]{display:none}}.search-keyboard-shortcuts kbd[data-v-7d260642]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-7d260642]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-7d260642]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-7d260642]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-7d260642]{margin:8px}}.titles[data-v-7d260642]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-7d260642]{display:flex;align-items:center;gap:4px}.title.main[data-v-7d260642]{font-weight:500}.title-icon[data-v-7d260642]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-7d260642]{opacity:.5}.result.selected[data-v-7d260642]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-7d260642]{position:relative}.excerpt[data-v-7d260642]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-7d260642]{opacity:1}.excerpt[data-v-7d260642] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-7d260642] mark,.excerpt[data-v-7d260642] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-7d260642] .vp-code-group .tabs{display:none}.excerpt[data-v-7d260642] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-7d260642]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-7d260642]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-7d260642],.result.selected .title-icon[data-v-7d260642]{color:var(--vp-c-brand-1)!important}.no-results[data-v-7d260642]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-7d260642]{flex:none}
+@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic.CMhn1ESj.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-cyrillic-ext.DxP3Awbn.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek.JvnBZ4YD.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-greek-ext.D0mI3NpI.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin.Bu8hRsVA.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-latin-ext.ZlYT4o7i.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:normal;font-named-instance:"Regular";src:url(/vue-qrcode-reader/assets/inter-roman-vietnamese.ClpjcLMQ.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic.D6csxwjC.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-cyrillic-ext.5XJwZIOp.woff2) format("woff2");unicode-range:U+0460-052F,U+1C80-1C88,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek.9J96vYpw.woff2) format("woff2");unicode-range:U+0370-03FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-greek-ext.CHOfFY1k.woff2) format("woff2");unicode-range:U+1F00-1FFF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin.DbsTr1gm.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-latin-ext.BGcWXLrn.woff2) format("woff2");unicode-range:U+0100-024F,U+0259,U+1E00-1EFF,U+2020,U+20A0-20AB,U+20AD-20CF,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Inter var;font-weight:100 900;font-display:swap;font-style:italic;font-named-instance:"Italic";src:url(/vue-qrcode-reader/assets/inter-italic-vietnamese.DHNAd7Wr.woff2) format("woff2");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+1EA0-1EF9,U+20AB}@font-face{font-family:Chinese Quotes;src:local("PingFang SC Regular"),local("PingFang SC"),local("SimHei"),local("Source Han Sans SC");unicode-range:U+2018,U+2019,U+201C,U+201D}:root{--vp-c-white: #ffffff;--vp-c-black: #000000;--vp-c-neutral: var(--vp-c-black);--vp-c-neutral-inverse: var(--vp-c-white)}.dark{--vp-c-neutral: var(--vp-c-white);--vp-c-neutral-inverse: var(--vp-c-black)}:root{--vp-c-gray-1: #dddde3;--vp-c-gray-2: #e4e4e9;--vp-c-gray-3: #ebebef;--vp-c-gray-soft: rgba(142, 150, 170, .14);--vp-c-indigo-1: #3451b2;--vp-c-indigo-2: #3a5ccc;--vp-c-indigo-3: #5672cd;--vp-c-indigo-soft: rgba(100, 108, 255, .14);--vp-c-green-1: #18794e;--vp-c-green-2: #299764;--vp-c-green-3: #30a46c;--vp-c-green-soft: rgba(16, 185, 129, .14);--vp-c-yellow-1: #915930;--vp-c-yellow-2: #946300;--vp-c-yellow-3: #9f6a00;--vp-c-yellow-soft: rgba(234, 179, 8, .14);--vp-c-red-1: #b8272c;--vp-c-red-2: #d5393e;--vp-c-red-3: #e0575b;--vp-c-red-soft: rgba(244, 63, 94, .14);--vp-c-sponsor: #db2777}.dark{--vp-c-gray-1: #515c67;--vp-c-gray-2: #414853;--vp-c-gray-3: #32363f;--vp-c-gray-soft: rgba(101, 117, 133, .16);--vp-c-indigo-1: #a8b1ff;--vp-c-indigo-2: #5c73e7;--vp-c-indigo-3: #3e63dd;--vp-c-indigo-soft: rgba(100, 108, 255, .16);--vp-c-green-1: #3dd68c;--vp-c-green-2: #30a46c;--vp-c-green-3: #298459;--vp-c-green-soft: rgba(16, 185, 129, .16);--vp-c-yellow-1: #f9b44e;--vp-c-yellow-2: #da8b17;--vp-c-yellow-3: #a46a0a;--vp-c-yellow-soft: rgba(234, 179, 8, .16);--vp-c-red-1: #f66f81;--vp-c-red-2: #f14158;--vp-c-red-3: #b62a3c;--vp-c-red-soft: rgba(244, 63, 94, .16)}:root{--vp-c-bg: #ffffff;--vp-c-bg-alt: #f6f6f7;--vp-c-bg-elv: #ffffff;--vp-c-bg-soft: #f6f6f7}.dark{--vp-c-bg: #1b1b1f;--vp-c-bg-alt: #161618;--vp-c-bg-elv: #202127;--vp-c-bg-soft: #202127}:root{--vp-c-border: #c2c2c4;--vp-c-divider: #e2e2e3;--vp-c-gutter: #e2e2e3}.dark{--vp-c-border: #3c3f44;--vp-c-divider: #2e2e32;--vp-c-gutter: #000000}:root{--vp-c-text-1: rgba(60, 60, 67);--vp-c-text-2: rgba(60, 60, 67, .78);--vp-c-text-3: rgba(60, 60, 67, .56)}.dark{--vp-c-text-1: rgba(255, 255, 245, .86);--vp-c-text-2: rgba(235, 235, 245, .6);--vp-c-text-3: rgba(235, 235, 245, .38)}:root{--vp-c-default-1: var(--vp-c-gray-1);--vp-c-default-2: var(--vp-c-gray-2);--vp-c-default-3: var(--vp-c-gray-3);--vp-c-default-soft: var(--vp-c-gray-soft);--vp-c-brand-1: var(--vp-c-indigo-1);--vp-c-brand-2: var(--vp-c-indigo-2);--vp-c-brand-3: var(--vp-c-indigo-3);--vp-c-brand-soft: var(--vp-c-indigo-soft);--vp-c-brand: var(--vp-c-brand-1);--vp-c-tip-1: var(--vp-c-brand-1);--vp-c-tip-2: var(--vp-c-brand-2);--vp-c-tip-3: var(--vp-c-brand-3);--vp-c-tip-soft: var(--vp-c-brand-soft);--vp-c-warning-1: var(--vp-c-yellow-1);--vp-c-warning-2: var(--vp-c-yellow-2);--vp-c-warning-3: var(--vp-c-yellow-3);--vp-c-warning-soft: var(--vp-c-yellow-soft);--vp-c-danger-1: var(--vp-c-red-1);--vp-c-danger-2: var(--vp-c-red-2);--vp-c-danger-3: var(--vp-c-red-3);--vp-c-danger-soft: var(--vp-c-red-soft)}:root{--vp-font-family-base: "Chinese Quotes", "Inter var", "Inter", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Helvetica, Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--vp-font-family-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}:root{--vp-shadow-1: 0 1px 2px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);--vp-shadow-2: 0 3px 12px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .07);--vp-shadow-3: 0 12px 32px rgba(0, 0, 0, .1), 0 2px 6px rgba(0, 0, 0, .08);--vp-shadow-4: 0 14px 44px rgba(0, 0, 0, .12), 0 3px 9px rgba(0, 0, 0, .12);--vp-shadow-5: 0 18px 56px rgba(0, 0, 0, .16), 0 4px 12px rgba(0, 0, 0, .16)}:root{--vp-z-index-footer: 10;--vp-z-index-local-nav: 20;--vp-z-index-nav: 30;--vp-z-index-layout-top: 40;--vp-z-index-backdrop: 50;--vp-z-index-sidebar: 60}:root{--vp-icon-copy: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2'/%3E%3C/svg%3E");--vp-icon-copied: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' height='20' width='20' stroke='rgba(128,128,128,1)' stroke-width='2' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2M9 5a2 2 0 0 0 2 2h2a2 2 0 0 0 2-2M9 5a2 2 0 0 1 2-2h2a2 2 0 0 1 2 2m-6 9 2 2 4-4'/%3E%3C/svg%3E")}:root{--vp-layout-max-width: 1440px}:root{--vp-header-anchor-symbol: "#"}:root{--vp-code-line-height: 1.7;--vp-code-font-size: .875em;--vp-code-color: var(--vp-c-brand-1);--vp-code-link-color: var(--vp-c-brand-1);--vp-code-link-hover-color: var(--vp-c-brand-2);--vp-code-bg: var(--vp-c-default-soft);--vp-code-block-color: var(--vp-c-text-2);--vp-code-block-bg: var(--vp-c-bg-alt);--vp-code-block-divider-color: var(--vp-c-gutter);--vp-code-lang-color: var(--vp-c-text-3);--vp-code-line-highlight-color: var(--vp-c-default-soft);--vp-code-line-number-color: var(--vp-c-text-3);--vp-code-line-diff-add-color: var(--vp-c-green-soft);--vp-code-line-diff-add-symbol-color: var(--vp-c-green-1);--vp-code-line-diff-remove-color: var(--vp-c-red-soft);--vp-code-line-diff-remove-symbol-color: var(--vp-c-red-1);--vp-code-line-warning-color: var(--vp-c-yellow-soft);--vp-code-line-error-color: var(--vp-c-red-soft);--vp-code-copy-code-border-color: var(--vp-c-divider);--vp-code-copy-code-bg: var(--vp-c-bg-soft);--vp-code-copy-code-hover-border-color: var(--vp-c-divider);--vp-code-copy-code-hover-bg: var(--vp-c-bg);--vp-code-copy-code-active-text: var(--vp-c-text-2);--vp-code-copy-copied-text-content: "Copied";--vp-code-tab-divider: var(--vp-code-block-divider-color);--vp-code-tab-text-color: var(--vp-c-text-2);--vp-code-tab-bg: var(--vp-code-block-bg);--vp-code-tab-hover-text-color: var(--vp-c-text-1);--vp-code-tab-active-text-color: var(--vp-c-text-1);--vp-code-tab-active-bar-color: var(--vp-c-brand-1)}:root{--vp-button-brand-border: transparent;--vp-button-brand-text: var(--vp-c-white);--vp-button-brand-bg: var(--vp-c-brand-3);--vp-button-brand-hover-border: transparent;--vp-button-brand-hover-text: var(--vp-c-white);--vp-button-brand-hover-bg: var(--vp-c-brand-2);--vp-button-brand-active-border: transparent;--vp-button-brand-active-text: var(--vp-c-white);--vp-button-brand-active-bg: var(--vp-c-brand-1);--vp-button-alt-border: transparent;--vp-button-alt-text: var(--vp-c-text-1);--vp-button-alt-bg: var(--vp-c-default-3);--vp-button-alt-hover-border: transparent;--vp-button-alt-hover-text: var(--vp-c-text-1);--vp-button-alt-hover-bg: var(--vp-c-default-2);--vp-button-alt-active-border: transparent;--vp-button-alt-active-text: var(--vp-c-text-1);--vp-button-alt-active-bg: var(--vp-c-default-1);--vp-button-sponsor-border: var(--vp-c-text-2);--vp-button-sponsor-text: var(--vp-c-text-2);--vp-button-sponsor-bg: transparent;--vp-button-sponsor-hover-border: var(--vp-c-sponsor);--vp-button-sponsor-hover-text: var(--vp-c-sponsor);--vp-button-sponsor-hover-bg: transparent;--vp-button-sponsor-active-border: var(--vp-c-sponsor);--vp-button-sponsor-active-text: var(--vp-c-sponsor);--vp-button-sponsor-active-bg: transparent}:root{--vp-custom-block-font-size: 14px;--vp-custom-block-code-font-size: 13px;--vp-custom-block-info-border: transparent;--vp-custom-block-info-text: var(--vp-c-text-1);--vp-custom-block-info-bg: var(--vp-c-default-soft);--vp-custom-block-info-code-bg: var(--vp-c-default-soft);--vp-custom-block-tip-border: transparent;--vp-custom-block-tip-text: var(--vp-c-text-1);--vp-custom-block-tip-bg: var(--vp-c-brand-soft);--vp-custom-block-tip-code-bg: var(--vp-c-brand-soft);--vp-custom-block-warning-border: transparent;--vp-custom-block-warning-text: var(--vp-c-text-1);--vp-custom-block-warning-bg: var(--vp-c-warning-soft);--vp-custom-block-warning-code-bg: var(--vp-c-warning-soft);--vp-custom-block-danger-border: transparent;--vp-custom-block-danger-text: var(--vp-c-text-1);--vp-custom-block-danger-bg: var(--vp-c-danger-soft);--vp-custom-block-danger-code-bg: var(--vp-c-danger-soft);--vp-custom-block-details-border: var(--vp-custom-block-info-border);--vp-custom-block-details-text: var(--vp-custom-block-info-text);--vp-custom-block-details-bg: var(--vp-custom-block-info-bg);--vp-custom-block-details-code-bg: var(--vp-custom-block-info-code-bg)}:root{--vp-input-border-color: var(--vp-c-border);--vp-input-bg-color: var(--vp-c-bg-alt);--vp-input-switch-bg-color: var(--vp-c-gray-soft)}:root{--vp-nav-height: 64px;--vp-nav-bg-color: var(--vp-c-bg);--vp-nav-screen-bg-color: var(--vp-c-bg);--vp-nav-logo-height: 24px}.hide-nav{--vp-nav-height: 0px}.hide-nav .VPSidebar{--vp-nav-height: 22px}:root{--vp-local-nav-bg-color: var(--vp-c-bg)}:root{--vp-sidebar-width: 272px;--vp-sidebar-bg-color: var(--vp-c-bg-alt)}:root{--vp-backdrop-bg-color: rgba(0, 0, 0, .6)}:root{--vp-home-hero-name-color: var(--vp-c-brand-1);--vp-home-hero-name-background: transparent;--vp-home-hero-image-background-image: none;--vp-home-hero-image-filter: none}:root{--vp-badge-info-border: transparent;--vp-badge-info-text: var(--vp-c-text-2);--vp-badge-info-bg: var(--vp-c-default-soft);--vp-badge-tip-border: transparent;--vp-badge-tip-text: var(--vp-c-brand-1);--vp-badge-tip-bg: var(--vp-c-brand-soft);--vp-badge-warning-border: transparent;--vp-badge-warning-text: var(--vp-c-warning-1);--vp-badge-warning-bg: var(--vp-c-warning-soft);--vp-badge-danger-border: transparent;--vp-badge-danger-text: var(--vp-c-danger-1);--vp-badge-danger-bg: var(--vp-c-danger-soft)}:root{--vp-carbon-ads-text-color: var(--vp-c-text-1);--vp-carbon-ads-poweredby-color: var(--vp-c-text-2);--vp-carbon-ads-bg-color: var(--vp-c-bg-soft);--vp-carbon-ads-hover-text-color: var(--vp-c-brand-1);--vp-carbon-ads-hover-poweredby-color: var(--vp-c-text-1)}:root{--vp-local-search-bg: var(--vp-c-bg);--vp-local-search-result-bg: var(--vp-c-bg);--vp-local-search-result-border: var(--vp-c-divider);--vp-local-search-result-selected-bg: var(--vp-c-bg);--vp-local-search-result-selected-border: var(--vp-c-brand-1);--vp-local-search-highlight-bg: var(--vp-c-brand-1);--vp-local-search-highlight-text: var(--vp-c-neutral-inverse)}@media (prefers-reduced-motion: reduce){*,:before,:after{animation-delay:-1ms!important;animation-duration:1ms!important;animation-iteration-count:1!important;background-attachment:initial!important;scroll-behavior:auto!important;transition-duration:0s!important;transition-delay:0s!important}}*,:before,:after{box-sizing:border-box}html{line-height:1.4;font-size:16px;-webkit-text-size-adjust:100%}html.dark{color-scheme:dark}body{margin:0;width:100%;min-width:320px;min-height:100vh;line-height:24px;font-family:var(--vp-font-family-base);font-size:16px;font-weight:400;color:var(--vp-c-text-1);background-color:var(--vp-c-bg);direction:ltr;font-synthesis:style;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}main{display:block}h1,h2,h3,h4,h5,h6{margin:0;line-height:24px;font-size:16px;font-weight:400}p{margin:0}strong,b{font-weight:600}a,area,button,[role=button],input,label,select,summary,textarea{touch-action:manipulation}a{color:inherit;text-decoration:inherit}ol,ul{list-style:none;margin:0;padding:0}blockquote{margin:0}pre,code,kbd,samp{font-family:var(--vp-font-family-mono)}img,svg,video,canvas,audio,iframe,embed,object{display:block}figure{margin:0}img,video{max-width:100%;height:auto}button,input,optgroup,select,textarea{border:0;padding:0;line-height:inherit;color:inherit}button{padding:0;font-family:inherit;background-color:transparent;background-image:none}button:enabled,[role=button]:enabled{cursor:pointer}button:focus,button:focus-visible{outline:1px dotted;outline:4px auto -webkit-focus-ring-color}button:focus:not(:focus-visible){outline:none!important}input:focus,textarea:focus,select:focus{outline:none}table{border-collapse:collapse}input{background-color:transparent}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:var(--vp-c-text-3)}input::-ms-input-placeholder,textarea::-ms-input-placeholder{color:var(--vp-c-text-3)}input::placeholder,textarea::placeholder{color:var(--vp-c-text-3)}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}textarea{resize:vertical}select{-webkit-appearance:none}fieldset{margin:0;padding:0}h1,h2,h3,h4,h5,h6,li,p{overflow-wrap:break-word}vite-error-overlay{z-index:9999}mjx-container{display:inline-block;margin:auto 2px -2px}mjx-container>svg{margin:auto}.visually-hidden{position:absolute;width:1px;height:1px;white-space:nowrap;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden}.custom-block{border:1px solid transparent;border-radius:8px;padding:16px 16px 8px;line-height:24px;font-size:var(--vp-custom-block-font-size);color:var(--vp-c-text-2)}.custom-block.info{border-color:var(--vp-custom-block-info-border);color:var(--vp-custom-block-info-text);background-color:var(--vp-custom-block-info-bg)}.custom-block.info a,.custom-block.info code{color:var(--vp-c-brand-1)}.custom-block.info a:hover{color:var(--vp-c-brand-2)}.custom-block.info code{background-color:var(--vp-custom-block-info-code-bg)}.custom-block.tip{border-color:var(--vp-custom-block-tip-border);color:var(--vp-custom-block-tip-text);background-color:var(--vp-custom-block-tip-bg)}.custom-block.tip a,.custom-block.tip code{color:var(--vp-c-brand-1)}.custom-block.tip a:hover{color:var(--vp-c-brand-2)}.custom-block.tip code{background-color:var(--vp-custom-block-tip-code-bg)}.custom-block.warning{border-color:var(--vp-custom-block-warning-border);color:var(--vp-custom-block-warning-text);background-color:var(--vp-custom-block-warning-bg)}.custom-block.warning a,.custom-block.warning code{color:var(--vp-c-warning-1)}.custom-block.warning a:hover{color:var(--vp-c-warning-2)}.custom-block.warning code{background-color:var(--vp-custom-block-warning-code-bg)}.custom-block.danger{border-color:var(--vp-custom-block-danger-border);color:var(--vp-custom-block-danger-text);background-color:var(--vp-custom-block-danger-bg)}.custom-block.danger a,.custom-block.danger code{color:var(--vp-c-danger-1)}.custom-block.danger a:hover{color:var(--vp-c-danger-2)}.custom-block.danger code{background-color:var(--vp-custom-block-danger-code-bg)}.custom-block.details{border-color:var(--vp-custom-block-details-border);color:var(--vp-custom-block-details-text);background-color:var(--vp-custom-block-details-bg)}.custom-block.details a{color:var(--vp-c-brand-1)}.custom-block.details a:hover{color:var(--vp-c-brand-2)}.custom-block.details code{background-color:var(--vp-custom-block-details-code-bg)}.custom-block-title{font-weight:600}.custom-block p+p{margin:8px 0}.custom-block.details summary{margin:0 0 8px;font-weight:700;cursor:pointer}.custom-block.details summary+p{margin:8px 0}.custom-block a{color:inherit;font-weight:600;text-decoration:underline;text-underline-offset:2px;transition:opacity .25s}.custom-block a:hover{opacity:.75}.custom-block code{font-size:var(--vp-custom-block-code-font-size)}.custom-block.custom-block th,.custom-block.custom-block blockquote>p{font-size:var(--vp-custom-block-font-size);color:inherit}.dark .vp-code span{color:var(--shiki-dark, inherit)}html:not(.dark) .vp-code span{color:var(--shiki-light, inherit)}.vp-code-group{margin-top:16px}.vp-code-group .tabs{position:relative;display:flex;margin-right:-24px;margin-left:-24px;padding:0 12px;background-color:var(--vp-code-tab-bg);overflow-x:auto;overflow-y:hidden;box-shadow:inset 0 -1px var(--vp-code-tab-divider)}@media (min-width: 640px){.vp-code-group .tabs{margin-right:0;margin-left:0;border-radius:8px 8px 0 0}}.vp-code-group .tabs input{position:fixed;opacity:0;pointer-events:none}.vp-code-group .tabs label{position:relative;display:inline-block;border-bottom:1px solid transparent;padding:0 12px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-code-tab-text-color);white-space:nowrap;cursor:pointer;transition:color .25s}.vp-code-group .tabs label:after{position:absolute;right:8px;bottom:-1px;left:8px;z-index:1;height:2px;border-radius:2px;content:"";background-color:transparent;transition:background-color .25s}.vp-code-group label:hover{color:var(--vp-code-tab-hover-text-color)}.vp-code-group input:checked+label{color:var(--vp-code-tab-active-text-color)}.vp-code-group input:checked+label:after{background-color:var(--vp-code-tab-active-bar-color)}.vp-code-group div[class*=language-],.vp-block{display:none;margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.vp-code-group div[class*=language-].active,.vp-block.active{display:block}.vp-block{padding:20px 24px}.vp-doc h1,.vp-doc h2,.vp-doc h3,.vp-doc h4,.vp-doc h5,.vp-doc h6{position:relative;font-weight:600;outline:none}.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:28px}.vp-doc h2{margin:48px 0 16px;border-top:1px solid var(--vp-c-divider);padding-top:24px;letter-spacing:-.02em;line-height:32px;font-size:24px}.vp-doc h3{margin:32px 0 0;letter-spacing:-.01em;line-height:28px;font-size:20px}.vp-doc .header-anchor{position:absolute;top:0;left:0;margin-left:-.87em;font-weight:500;-webkit-user-select:none;user-select:none;opacity:0;text-decoration:none;transition:color .25s,opacity .25s}.vp-doc .header-anchor:before{content:var(--vp-header-anchor-symbol)}.vp-doc h1:hover .header-anchor,.vp-doc h1 .header-anchor:focus,.vp-doc h2:hover .header-anchor,.vp-doc h2 .header-anchor:focus,.vp-doc h3:hover .header-anchor,.vp-doc h3 .header-anchor:focus,.vp-doc h4:hover .header-anchor,.vp-doc h4 .header-anchor:focus,.vp-doc h5:hover .header-anchor,.vp-doc h5 .header-anchor:focus,.vp-doc h6:hover .header-anchor,.vp-doc h6 .header-anchor:focus{opacity:1}@media (min-width: 768px){.vp-doc h1{letter-spacing:-.02em;line-height:40px;font-size:32px}}.vp-doc h2 .header-anchor{top:24px}.vp-doc p,.vp-doc summary{margin:16px 0}.vp-doc p{line-height:28px}.vp-doc blockquote{margin:16px 0;border-left:2px solid var(--vp-c-divider);padding-left:16px;transition:border-color .5s}.vp-doc blockquote>p{margin:0;font-size:16px;color:var(--vp-c-text-2);transition:color .5s}.vp-doc a{font-weight:500;color:var(--vp-c-brand-1);text-decoration:underline;text-underline-offset:2px;transition:color .25s,opacity .25s}.vp-doc a:hover{color:var(--vp-c-brand-2)}.vp-doc strong{font-weight:600}.vp-doc ul,.vp-doc ol{padding-left:1.25rem;margin:16px 0}.vp-doc ul{list-style:disc}.vp-doc ol{list-style:decimal}.vp-doc li+li{margin-top:8px}.vp-doc li>ol,.vp-doc li>ul{margin:8px 0 0}.vp-doc table{display:block;border-collapse:collapse;margin:20px 0;overflow-x:auto}.vp-doc tr{background-color:var(--vp-c-bg);border-top:1px solid var(--vp-c-divider);transition:background-color .5s}.vp-doc tr:nth-child(2n){background-color:var(--vp-c-bg-soft)}.vp-doc th,.vp-doc td{border:1px solid var(--vp-c-divider);padding:8px 16px}.vp-doc th{text-align:left;font-size:14px;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-doc td{font-size:14px}.vp-doc hr{margin:16px 0;border:none;border-top:1px solid var(--vp-c-divider)}.vp-doc .custom-block{margin:16px 0}.vp-doc .custom-block p{margin:8px 0;line-height:24px}.vp-doc .custom-block p:first-child{margin:0}.vp-doc .custom-block div[class*=language-]{margin:8px 0;border-radius:8px}.vp-doc .custom-block div[class*=language-] code{font-weight:400;background-color:transparent}.vp-doc .custom-block .vp-code-group .tabs{margin:0;border-radius:8px 8px 0 0}.vp-doc :not(pre,h1,h2,h3,h4,h5,h6)>code{font-size:var(--vp-code-font-size);color:var(--vp-code-color)}.vp-doc :not(pre)>code{border-radius:4px;padding:3px 6px;background-color:var(--vp-code-bg);transition:color .25s,background-color .5s}.vp-doc a>code{color:var(--vp-code-link-color)}.vp-doc a:hover>code{color:var(--vp-code-link-hover-color)}.vp-doc h1>code,.vp-doc h2>code,.vp-doc h3>code{font-size:.9em}.vp-doc div[class*=language-],.vp-block{position:relative;margin:16px -24px;background-color:var(--vp-code-block-bg);overflow-x:auto;transition:background-color .5s}@media (min-width: 640px){.vp-doc div[class*=language-],.vp-block{border-radius:8px;margin:16px 0}}@media (max-width: 639px){.vp-doc li div[class*=language-]{border-radius:8px 0 0 8px}}.vp-doc div[class*=language-]+div[class*=language-],.vp-doc div[class$=-api]+div[class*=language-],.vp-doc div[class*=language-]+div[class$=-api]>div[class*=language-]{margin-top:-8px}.vp-doc [class*=language-] pre,.vp-doc [class*=language-] code{direction:ltr;text-align:left;white-space:pre;word-spacing:normal;word-break:normal;word-wrap:normal;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-hyphens:none;-moz-hyphens:none;-ms-hyphens:none;hyphens:none}.vp-doc [class*=language-] pre{position:relative;z-index:1;margin:0;padding:20px 0;background:transparent;overflow-x:auto}.vp-doc [class*=language-] code{display:block;padding:0 24px;width:fit-content;min-width:100%;line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-block-color);transition:color .5s}.vp-doc [class*=language-] code .highlighted{background-color:var(--vp-code-line-highlight-color);transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .highlighted.error{background-color:var(--vp-code-line-error-color)}.vp-doc [class*=language-] code .highlighted.warning{background-color:var(--vp-code-line-warning-color)}.vp-doc [class*=language-] code .diff{transition:background-color .5s;margin:0 -24px;padding:0 24px;width:calc(100% + 48px);display:inline-block}.vp-doc [class*=language-] code .diff:before{position:absolute;left:10px}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){filter:blur(.095rem);opacity:.4;transition:filter .35s,opacity .35s}.vp-doc [class*=language-] .has-focused-lines .line:not(.has-focus){opacity:.7;transition:filter .35s,opacity .35s}.vp-doc [class*=language-]:hover .has-focused-lines .line:not(.has-focus){filter:blur(0);opacity:1}.vp-doc [class*=language-] code .diff.remove{background-color:var(--vp-code-line-diff-remove-color);opacity:.7}.vp-doc [class*=language-] code .diff.remove:before{content:"-";color:var(--vp-code-line-diff-remove-symbol-color)}.vp-doc [class*=language-] code .diff.add{background-color:var(--vp-code-line-diff-add-color)}.vp-doc [class*=language-] code .diff.add:before{content:"+";color:var(--vp-code-line-diff-add-symbol-color)}.vp-doc div[class*=language-].line-numbers-mode{padding-left:32px}.vp-doc .line-numbers-wrapper{position:absolute;top:0;bottom:0;left:0;z-index:3;border-right:1px solid var(--vp-code-block-divider-color);padding-top:20px;width:32px;text-align:center;font-family:var(--vp-font-family-mono);line-height:var(--vp-code-line-height);font-size:var(--vp-code-font-size);color:var(--vp-code-line-number-color);transition:border-color .5s,color .5s}.vp-doc [class*=language-]>button.copy{direction:ltr;position:absolute;top:12px;right:12px;z-index:3;border:1px solid var(--vp-code-copy-code-border-color);border-radius:4px;width:40px;height:40px;background-color:var(--vp-code-copy-code-bg);opacity:0;cursor:pointer;background-image:var(--vp-icon-copy);background-position:50%;background-size:20px;background-repeat:no-repeat;transition:border-color .25s,background-color .25s,opacity .25s}.vp-doc [class*=language-]:hover>button.copy,.vp-doc [class*=language-]>button.copy:focus{opacity:1}.vp-doc [class*=language-]>button.copy:hover,.vp-doc [class*=language-]>button.copy.copied{border-color:var(--vp-code-copy-code-hover-border-color);background-color:var(--vp-code-copy-code-hover-bg)}.vp-doc [class*=language-]>button.copy.copied,.vp-doc [class*=language-]>button.copy:hover.copied{border-radius:0 4px 4px 0;background-color:var(--vp-code-copy-code-hover-bg);background-image:var(--vp-icon-copied)}.vp-doc [class*=language-]>button.copy.copied:before,.vp-doc [class*=language-]>button.copy:hover.copied:before{position:relative;top:-1px;transform:translate(calc(-100% - 1px));display:flex;justify-content:center;align-items:center;border:1px solid var(--vp-code-copy-code-hover-border-color);border-right:0;border-radius:4px 0 0 4px;padding:0 10px;width:fit-content;height:40px;text-align:center;font-size:12px;font-weight:500;color:var(--vp-code-copy-code-active-text);background-color:var(--vp-code-copy-code-hover-bg);white-space:nowrap;content:var(--vp-code-copy-copied-text-content)}.vp-doc [class*=language-]>span.lang{position:absolute;top:2px;right:8px;z-index:2;font-size:12px;font-weight:500;color:var(--vp-code-lang-color);transition:color .4s,opacity .4s}.vp-doc [class*=language-]:hover>button.copy+span.lang,.vp-doc [class*=language-]>button.copy:focus+span.lang{opacity:0}.vp-doc .VPTeamMembers{margin-top:24px}.vp-doc .VPTeamMembers.small.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}.vp-doc .VPTeamMembers.small.count-2 .container,.vp-doc .VPTeamMembers.small.count-3 .container{max-width:100%!important}.vp-doc .VPTeamMembers.medium.count-1 .container{margin:0!important;max-width:calc((100% - 24px)/2)!important}:is(.vp-external-link-icon,.vp-doc a[href*="://"],.vp-doc a[target=_blank]):not(.no-icon):after{display:inline-block;margin-top:-1px;margin-left:4px;width:11px;height:11px;background:currentColor;color:var(--vp-c-text-3);flex-shrink:0;--icon: url("data:image/svg+xml, %3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' %3E%3Cpath d='M0 0h24v24H0V0z' fill='none' /%3E%3Cpath d='M9 5v2h6.59L4 18.59 5.41 20 17 8.41V15h2V5H9z' /%3E%3C/svg%3E");-webkit-mask-image:var(--icon);mask-image:var(--icon)}.vp-external-link-icon:after{content:""}.vp-sponsor{border-radius:16px;overflow:hidden}.vp-sponsor.aside{border-radius:12px}.vp-sponsor-section+.vp-sponsor-section{margin-top:4px}.vp-sponsor-tier{margin-bottom:4px;text-align:center;letter-spacing:1px;line-height:24px;width:100%;font-weight:600;color:var(--vp-c-text-2);background-color:var(--vp-c-bg-soft)}.vp-sponsor.normal .vp-sponsor-tier{padding:13px 0 11px;font-size:14px}.vp-sponsor.aside .vp-sponsor-tier{padding:9px 0 7px;font-size:12px}.vp-sponsor-grid+.vp-sponsor-tier{margin-top:4px}.vp-sponsor-grid{display:flex;flex-wrap:wrap;gap:4px}.vp-sponsor-grid.xmini .vp-sponsor-grid-link{height:64px}.vp-sponsor-grid.xmini .vp-sponsor-grid-image{max-width:64px;max-height:22px}.vp-sponsor-grid.mini .vp-sponsor-grid-link{height:72px}.vp-sponsor-grid.mini .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.small .vp-sponsor-grid-link{height:96px}.vp-sponsor-grid.small .vp-sponsor-grid-image{max-width:96px;max-height:24px}.vp-sponsor-grid.medium .vp-sponsor-grid-link{height:112px}.vp-sponsor-grid.medium .vp-sponsor-grid-image{max-width:120px;max-height:36px}.vp-sponsor-grid.big .vp-sponsor-grid-link{height:184px}.vp-sponsor-grid.big .vp-sponsor-grid-image{max-width:192px;max-height:56px}.vp-sponsor-grid[data-vp-grid="2"] .vp-sponsor-grid-item{width:calc((100% - 4px)/2)}.vp-sponsor-grid[data-vp-grid="3"] .vp-sponsor-grid-item{width:calc((100% - 4px * 2) / 3)}.vp-sponsor-grid[data-vp-grid="4"] .vp-sponsor-grid-item{width:calc((100% - 12px)/4)}.vp-sponsor-grid[data-vp-grid="5"] .vp-sponsor-grid-item{width:calc((100% - 16px)/5)}.vp-sponsor-grid[data-vp-grid="6"] .vp-sponsor-grid-item{width:calc((100% - 4px * 5) / 6)}.vp-sponsor-grid-item{flex-shrink:0;width:100%;background-color:var(--vp-c-bg-soft);transition:background-color .25s}.vp-sponsor-grid-item:hover{background-color:var(--vp-c-default-soft)}.vp-sponsor-grid-item:hover .vp-sponsor-grid-image{filter:grayscale(0) invert(0)}.vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.dark .vp-sponsor-grid-item:hover{background-color:var(--vp-c-white)}.dark .vp-sponsor-grid-item.empty:hover{background-color:var(--vp-c-bg-soft)}.vp-sponsor-grid-link{display:flex}.vp-sponsor-grid-box{display:flex;justify-content:center;align-items:center;width:100%}.vp-sponsor-grid-image{max-width:100%;filter:grayscale(1);transition:filter .25s}.dark .vp-sponsor-grid-image{filter:grayscale(1) invert(1)}.VPBadge[data-v-88d8ea2b]{display:inline-block;margin-left:2px;border:1px solid transparent;border-radius:12px;padding:0 10px;line-height:22px;font-size:12px;font-weight:500;transform:translateY(-2px)}.vp-doc h1>.VPBadge[data-v-88d8ea2b]{margin-top:4px;vertical-align:top}.vp-doc h2>.VPBadge[data-v-88d8ea2b]{margin-top:3px;padding:0 8px;vertical-align:top}.vp-doc h3>.VPBadge[data-v-88d8ea2b]{vertical-align:middle}.vp-doc h4>.VPBadge[data-v-88d8ea2b],.vp-doc h5>.VPBadge[data-v-88d8ea2b],.vp-doc h6>.VPBadge[data-v-88d8ea2b]{vertical-align:middle;line-height:18px}.VPBadge.info[data-v-88d8ea2b]{border-color:var(--vp-badge-info-border);color:var(--vp-badge-info-text);background-color:var(--vp-badge-info-bg)}.VPBadge.tip[data-v-88d8ea2b]{border-color:var(--vp-badge-tip-border);color:var(--vp-badge-tip-text);background-color:var(--vp-badge-tip-bg)}.VPBadge.warning[data-v-88d8ea2b]{border-color:var(--vp-badge-warning-border);color:var(--vp-badge-warning-text);background-color:var(--vp-badge-warning-bg)}.VPBadge.danger[data-v-88d8ea2b]{border-color:var(--vp-badge-danger-border);color:var(--vp-badge-danger-text);background-color:var(--vp-badge-danger-bg)}.VPBackdrop[data-v-ce6cda37]{position:fixed;top:0;right:0;bottom:0;left:0;z-index:var(--vp-z-index-backdrop);background:var(--vp-backdrop-bg-color);transition:opacity .5s}.VPBackdrop.fade-enter-from[data-v-ce6cda37],.VPBackdrop.fade-leave-to[data-v-ce6cda37]{opacity:0}.VPBackdrop.fade-leave-active[data-v-ce6cda37]{transition-duration:.25s}@media (min-width: 1280px){.VPBackdrop[data-v-ce6cda37]{display:none}}.NotFound[data-v-f6d774e0]{padding:64px 24px 96px;text-align:center}@media (min-width: 768px){.NotFound[data-v-f6d774e0]{padding:96px 32px 168px}}.code[data-v-f6d774e0]{line-height:64px;font-size:64px;font-weight:600}.title[data-v-f6d774e0]{padding-top:12px;letter-spacing:2px;line-height:20px;font-size:20px;font-weight:700}.divider[data-v-f6d774e0]{margin:24px auto 18px;width:64px;height:1px;background-color:var(--vp-c-divider)}.quote[data-v-f6d774e0]{margin:0 auto;max-width:256px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.action[data-v-f6d774e0]{padding-top:20px}.link[data-v-f6d774e0]{display:inline-block;border:1px solid var(--vp-c-brand-1);border-radius:16px;padding:3px 16px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:border-color .25s,color .25s}.link[data-v-f6d774e0]:hover{border-color:var(--vp-c-brand-2);color:var(--vp-c-brand-2)}.root[data-v-e98a93fd]{position:relative;z-index:1}.nested[data-v-e98a93fd]{padding-left:16px}.outline-link[data-v-e98a93fd]{display:block;line-height:28px;color:var(--vp-c-text-2);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:color .5s;font-weight:400}.outline-link[data-v-e98a93fd]:hover,.outline-link.active[data-v-e98a93fd]{color:var(--vp-c-text-1);transition:color .25s}.outline-link.nested[data-v-e98a93fd]{padding-left:13px}.VPDocAsideOutline[data-v-1a70d788]{display:none}.VPDocAsideOutline.has-outline[data-v-1a70d788]{display:block}.content[data-v-1a70d788]{position:relative;border-left:1px solid var(--vp-c-divider);padding-left:16px;font-size:13px;font-weight:500}.outline-marker[data-v-1a70d788]{position:absolute;top:32px;left:-1px;z-index:0;opacity:0;width:2px;border-radius:2px;height:18px;background-color:var(--vp-c-brand-1);transition:top .25s cubic-bezier(0,1,.5,1),background-color .5s,opacity .25s}.outline-title[data-v-1a70d788]{letter-spacing:.4px;line-height:28px;font-size:13px;font-weight:600}.VPDocAside[data-v-6286864d]{display:flex;flex-direction:column;flex-grow:1}.spacer[data-v-6286864d]{flex-grow:1}.VPDocAside[data-v-6286864d] .spacer+.VPDocAsideSponsors,.VPDocAside[data-v-6286864d] .spacer+.VPDocAsideCarbonAds{margin-top:24px}.VPDocAside[data-v-6286864d] .VPDocAsideSponsors+.VPDocAsideCarbonAds{margin-top:16px}.VPLastUpdated[data-v-7ba06d0b]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 640px){.VPLastUpdated[data-v-7ba06d0b]{line-height:32px;font-size:14px;font-weight:500}}.VPDocFooter[data-v-df878854]{margin-top:64px}.edit-info[data-v-df878854]{padding-bottom:18px}@media (min-width: 640px){.edit-info[data-v-df878854]{display:flex;justify-content:space-between;align-items:center;padding-bottom:14px}}.edit-link-button[data-v-df878854]{display:flex;align-items:center;border:0;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.edit-link-button[data-v-df878854]:hover{color:var(--vp-c-brand-2)}.edit-link-icon[data-v-df878854]{margin-right:8px;width:14px;height:14px;fill:currentColor}.prev-next[data-v-df878854]{border-top:1px solid var(--vp-c-divider);padding-top:24px;display:grid;grid-row-gap:8px}@media (min-width: 640px){.prev-next[data-v-df878854]{grid-template-columns:repeat(2,1fr);grid-column-gap:16px}}.pager-link[data-v-df878854]{display:block;border:1px solid var(--vp-c-divider);border-radius:8px;padding:11px 16px 13px;width:100%;height:100%;transition:border-color .25s}.pager-link[data-v-df878854]:hover{border-color:var(--vp-c-brand-1)}.pager-link.next[data-v-df878854]{margin-left:auto;text-align:right}.desc[data-v-df878854]{display:block;line-height:20px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.title[data-v-df878854]{display:block;line-height:20px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1);transition:color .25s}.VPDocOutlineDropdown[data-v-71c8d9e5]{margin-bottom:48px}.VPDocOutlineDropdown button[data-v-71c8d9e5]{display:block;font-size:14px;font-weight:500;line-height:24px;border:1px solid var(--vp-c-border);padding:4px 12px;color:var(--vp-c-text-2);background-color:var(--vp-c-default-soft);border-radius:8px;transition:color .5s}.VPDocOutlineDropdown button[data-v-71c8d9e5]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPDocOutlineDropdown button.open[data-v-71c8d9e5]{color:var(--vp-c-text-1)}.icon[data-v-71c8d9e5]{display:inline-block;vertical-align:middle;width:16px;height:16px;fill:currentColor}[data-v-71c8d9e5] .outline-link{font-size:14px;font-weight:400}.open>.icon[data-v-71c8d9e5]{transform:rotate(90deg)}.items[data-v-71c8d9e5]{margin-top:12px;border-left:1px solid var(--vp-c-divider)}.VPDoc[data-v-3cfeeafb]{padding:32px 24px 96px;width:100%}.VPDoc .VPDocOutlineDropdown[data-v-3cfeeafb]{display:none}@media (min-width: 960px) and (max-width: 1279px){.VPDoc .VPDocOutlineDropdown[data-v-3cfeeafb]{display:block}}@media (min-width: 768px){.VPDoc[data-v-3cfeeafb]{padding:48px 32px 128px}}@media (min-width: 960px){.VPDoc[data-v-3cfeeafb]{padding:32px 32px 0}.VPDoc:not(.has-sidebar) .container[data-v-3cfeeafb]{display:flex;justify-content:center;max-width:992px}.VPDoc:not(.has-sidebar) .content[data-v-3cfeeafb]{max-width:752px}}@media (min-width: 1280px){.VPDoc .container[data-v-3cfeeafb]{display:flex;justify-content:center}.VPDoc .aside[data-v-3cfeeafb]{display:block}}@media (min-width: 1440px){.VPDoc:not(.has-sidebar) .content[data-v-3cfeeafb]{max-width:784px}.VPDoc:not(.has-sidebar) .container[data-v-3cfeeafb]{max-width:1104px}}.container[data-v-3cfeeafb]{margin:0 auto;width:100%}.aside[data-v-3cfeeafb]{position:relative;display:none;order:2;flex-grow:1;padding-left:32px;width:100%;max-width:256px}.left-aside[data-v-3cfeeafb]{order:1;padding-left:unset;padding-right:32px}.aside-container[data-v-3cfeeafb]{position:fixed;top:0;padding-top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 32px);width:224px;height:100vh;overflow-x:hidden;overflow-y:auto;scrollbar-width:none}.aside-container[data-v-3cfeeafb]::-webkit-scrollbar{display:none}.aside-curtain[data-v-3cfeeafb]{position:fixed;bottom:0;z-index:10;width:224px;height:32px;background:linear-gradient(transparent,var(--vp-c-bg) 70%)}.aside-content[data-v-3cfeeafb]{display:flex;flex-direction:column;min-height:calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px));padding-bottom:32px}.content[data-v-3cfeeafb]{position:relative;margin:0 auto;width:100%}@media (min-width: 960px){.content[data-v-3cfeeafb]{padding:0 32px 128px}}@media (min-width: 1280px){.content[data-v-3cfeeafb]{order:1;margin:0;min-width:640px}}.content-container[data-v-3cfeeafb]{margin:0 auto}.VPDoc.has-aside .content-container[data-v-3cfeeafb]{max-width:688px}.external-link-icon-enabled :is(.vp-doc a[href*="://"][data-v-3cfeeafb],.vp-doc a[target=_blank][data-v-3cfeeafb]):after{content:"";color:currentColor}.VPButton[data-v-c12f3074]{display:inline-block;border:1px solid transparent;text-align:center;font-weight:600;white-space:nowrap;transition:color .25s,border-color .25s,background-color .25s}.VPButton[data-v-c12f3074]:active{transition:color .1s,border-color .1s,background-color .1s}.VPButton.medium[data-v-c12f3074]{border-radius:20px;padding:0 20px;line-height:38px;font-size:14px}.VPButton.big[data-v-c12f3074]{border-radius:24px;padding:0 24px;line-height:46px;font-size:16px}.VPButton.brand[data-v-c12f3074]{border-color:var(--vp-button-brand-border);color:var(--vp-button-brand-text);background-color:var(--vp-button-brand-bg)}.VPButton.brand[data-v-c12f3074]:hover{border-color:var(--vp-button-brand-hover-border);color:var(--vp-button-brand-hover-text);background-color:var(--vp-button-brand-hover-bg)}.VPButton.brand[data-v-c12f3074]:active{border-color:var(--vp-button-brand-active-border);color:var(--vp-button-brand-active-text);background-color:var(--vp-button-brand-active-bg)}.VPButton.alt[data-v-c12f3074]{border-color:var(--vp-button-alt-border);color:var(--vp-button-alt-text);background-color:var(--vp-button-alt-bg)}.VPButton.alt[data-v-c12f3074]:hover{border-color:var(--vp-button-alt-hover-border);color:var(--vp-button-alt-hover-text);background-color:var(--vp-button-alt-hover-bg)}.VPButton.alt[data-v-c12f3074]:active{border-color:var(--vp-button-alt-active-border);color:var(--vp-button-alt-active-text);background-color:var(--vp-button-alt-active-bg)}.VPButton.sponsor[data-v-c12f3074]{border-color:var(--vp-button-sponsor-border);color:var(--vp-button-sponsor-text);background-color:var(--vp-button-sponsor-bg)}.VPButton.sponsor[data-v-c12f3074]:hover{border-color:var(--vp-button-sponsor-hover-border);color:var(--vp-button-sponsor-hover-text);background-color:var(--vp-button-sponsor-hover-bg)}.VPButton.sponsor[data-v-c12f3074]:active{border-color:var(--vp-button-sponsor-active-border);color:var(--vp-button-sponsor-active-text);background-color:var(--vp-button-sponsor-active-bg)}html:not(.dark) .VPImage.dark[data-v-2d5703ec]{display:none}.dark .VPImage.light[data-v-2d5703ec]{display:none}.VPHero[data-v-a65a8cb8]{margin-top:calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px) 24px 48px}@media (min-width: 640px){.VPHero[data-v-a65a8cb8]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 48px 64px}}@media (min-width: 960px){.VPHero[data-v-a65a8cb8]{padding:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 80px) 64px 64px}}.container[data-v-a65a8cb8]{display:flex;flex-direction:column;margin:0 auto;max-width:1152px}@media (min-width: 960px){.container[data-v-a65a8cb8]{flex-direction:row}}.main[data-v-a65a8cb8]{position:relative;z-index:10;order:2;flex-grow:1;flex-shrink:0}.VPHero.has-image .container[data-v-a65a8cb8]{text-align:center}@media (min-width: 960px){.VPHero.has-image .container[data-v-a65a8cb8]{text-align:left}}@media (min-width: 960px){.main[data-v-a65a8cb8]{order:1;width:calc((100% / 3) * 2)}.VPHero.has-image .main[data-v-a65a8cb8]{max-width:592px}}.name[data-v-a65a8cb8],.text[data-v-a65a8cb8]{max-width:392px;letter-spacing:-.4px;line-height:40px;font-size:32px;font-weight:700;white-space:pre-wrap}.VPHero.has-image .name[data-v-a65a8cb8],.VPHero.has-image .text[data-v-a65a8cb8]{margin:0 auto}.name[data-v-a65a8cb8]{color:var(--vp-home-hero-name-color)}.clip[data-v-a65a8cb8]{background:var(--vp-home-hero-name-background);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:var(--vp-home-hero-name-color)}@media (min-width: 640px){.name[data-v-a65a8cb8],.text[data-v-a65a8cb8]{max-width:576px;line-height:56px;font-size:48px}}@media (min-width: 960px){.name[data-v-a65a8cb8],.text[data-v-a65a8cb8]{line-height:64px;font-size:56px}.VPHero.has-image .name[data-v-a65a8cb8],.VPHero.has-image .text[data-v-a65a8cb8]{margin:0}}.tagline[data-v-a65a8cb8]{padding-top:8px;max-width:392px;line-height:28px;font-size:18px;font-weight:500;white-space:pre-wrap;color:var(--vp-c-text-2)}.VPHero.has-image .tagline[data-v-a65a8cb8]{margin:0 auto}@media (min-width: 640px){.tagline[data-v-a65a8cb8]{padding-top:12px;max-width:576px;line-height:32px;font-size:20px}}@media (min-width: 960px){.tagline[data-v-a65a8cb8]{line-height:36px;font-size:24px}.VPHero.has-image .tagline[data-v-a65a8cb8]{margin:0}}.actions[data-v-a65a8cb8]{display:flex;flex-wrap:wrap;margin:-6px;padding-top:24px}.VPHero.has-image .actions[data-v-a65a8cb8]{justify-content:center}@media (min-width: 640px){.actions[data-v-a65a8cb8]{padding-top:32px}}@media (min-width: 960px){.VPHero.has-image .actions[data-v-a65a8cb8]{justify-content:flex-start}}.action[data-v-a65a8cb8]{flex-shrink:0;padding:6px}.image[data-v-a65a8cb8]{order:1;margin:-76px -24px -48px}@media (min-width: 640px){.image[data-v-a65a8cb8]{margin:-108px -24px -48px}}@media (min-width: 960px){.image[data-v-a65a8cb8]{flex-grow:1;order:2;margin:0;min-height:100%}}.image-container[data-v-a65a8cb8]{position:relative;margin:0 auto;width:320px;height:320px}@media (min-width: 640px){.image-container[data-v-a65a8cb8]{width:392px;height:392px}}@media (min-width: 960px){.image-container[data-v-a65a8cb8]{display:flex;justify-content:center;align-items:center;width:100%;height:100%;transform:translate(-32px,-32px)}}.image-bg[data-v-a65a8cb8]{position:absolute;top:50%;left:50%;border-radius:50%;width:192px;height:192px;background-image:var(--vp-home-hero-image-background-image);filter:var(--vp-home-hero-image-filter);transform:translate(-50%,-50%)}@media (min-width: 640px){.image-bg[data-v-a65a8cb8]{width:256px;height:256px}}@media (min-width: 960px){.image-bg[data-v-a65a8cb8]{width:320px;height:320px}}[data-v-a65a8cb8] .image-src{position:absolute;top:50%;left:50%;max-width:192px;max-height:192px;transform:translate(-50%,-50%)}@media (min-width: 640px){[data-v-a65a8cb8] .image-src{max-width:256px;max-height:256px}}@media (min-width: 960px){[data-v-a65a8cb8] .image-src{max-width:320px;max-height:320px}}.VPFeature[data-v-606817c6]{display:block;border:1px solid var(--vp-c-bg-soft);border-radius:12px;height:100%;background-color:var(--vp-c-bg-soft);transition:border-color .25s,background-color .25s}.VPFeature.link[data-v-606817c6]:hover{border-color:var(--vp-c-brand-1)}.box[data-v-606817c6]{display:flex;flex-direction:column;padding:24px;height:100%}.box[data-v-606817c6]>.VPImage{margin-bottom:20px}.icon[data-v-606817c6]{display:flex;justify-content:center;align-items:center;margin-bottom:20px;border-radius:6px;background-color:var(--vp-c-default-soft);width:48px;height:48px;font-size:24px;transition:background-color .25s}.title[data-v-606817c6]{line-height:24px;font-size:16px;font-weight:600}.details[data-v-606817c6]{flex-grow:1;padding-top:8px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.link-text[data-v-606817c6]{padding-top:8px}.link-text-value[data-v-606817c6]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.link-text-icon[data-v-606817c6]{display:inline-block;margin-left:6px;width:14px;height:14px;fill:currentColor}.VPFeatures[data-v-0301990a]{position:relative;padding:0 24px}@media (min-width: 640px){.VPFeatures[data-v-0301990a]{padding:0 48px}}@media (min-width: 960px){.VPFeatures[data-v-0301990a]{padding:0 64px}}.container[data-v-0301990a]{margin:0 auto;max-width:1152px}.items[data-v-0301990a]{display:flex;flex-wrap:wrap;margin:-8px}.item[data-v-0301990a]{padding:8px;width:100%}@media (min-width: 640px){.item.grid-2[data-v-0301990a],.item.grid-4[data-v-0301990a],.item.grid-6[data-v-0301990a]{width:50%}}@media (min-width: 768px){.item.grid-2[data-v-0301990a],.item.grid-4[data-v-0301990a]{width:50%}.item.grid-3[data-v-0301990a],.item.grid-6[data-v-0301990a]{width:calc(100% / 3)}}@media (min-width: 960px){.item.grid-4[data-v-0301990a]{width:25%}}.VPHome[data-v-d4b57864]{padding-bottom:96px}.VPHome[data-v-d4b57864] .VPHomeSponsors{margin-top:112px;margin-bottom:-128px}@media (min-width: 768px){.VPHome[data-v-d4b57864]{padding-bottom:128px}}.VPContent[data-v-7cf43e40]{flex-grow:1;flex-shrink:0;margin:var(--vp-layout-top-height, 0px) auto 0;width:100%}.VPContent.is-home[data-v-7cf43e40]{width:100%;max-width:100%}.VPContent.has-sidebar[data-v-7cf43e40]{margin:0}@media (min-width: 960px){.VPContent[data-v-7cf43e40]{padding-top:var(--vp-nav-height)}.VPContent.has-sidebar[data-v-7cf43e40]{margin:var(--vp-layout-top-height, 0px) 0 0;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPContent.has-sidebar[data-v-7cf43e40]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.VPFooter[data-v-fe83058d]{position:relative;z-index:var(--vp-z-index-footer);border-top:1px solid var(--vp-c-gutter);padding:32px 24px;background-color:var(--vp-c-bg)}.VPFooter.has-sidebar[data-v-fe83058d]{display:none}.VPFooter[data-v-fe83058d] a{text-decoration-line:underline;text-underline-offset:2px;transition:color .25s}.VPFooter[data-v-fe83058d] a:hover{color:var(--vp-c-text-1)}@media (min-width: 768px){.VPFooter[data-v-fe83058d]{padding:32px}}.container[data-v-fe83058d]{margin:0 auto;max-width:var(--vp-layout-max-width);text-align:center}.message[data-v-fe83058d],.copyright[data-v-fe83058d]{line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-2)}.VPLocalNavOutlineDropdown[data-v-2d5ab510]{padding:12px 20px 11px}.VPLocalNavOutlineDropdown button[data-v-2d5ab510]{display:block;font-size:12px;font-weight:500;line-height:24px;color:var(--vp-c-text-2);transition:color .5s;position:relative}.VPLocalNavOutlineDropdown button[data-v-2d5ab510]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPLocalNavOutlineDropdown button.open[data-v-2d5ab510]{color:var(--vp-c-text-1)}.icon[data-v-2d5ab510]{display:inline-block;vertical-align:middle;margin-left:2px;width:14px;height:14px;fill:currentColor}[data-v-2d5ab510] .outline-link{font-size:14px;padding:2px 0}.open>.icon[data-v-2d5ab510]{transform:rotate(90deg)}.items[data-v-2d5ab510]{position:absolute;top:64px;right:16px;left:16px;display:grid;gap:1px;border:1px solid var(--vp-c-border);border-radius:8px;background-color:var(--vp-c-gutter);max-height:calc(var(--vp-vh, 100vh) - 86px);overflow:hidden auto;box-shadow:var(--vp-shadow-3)}.header[data-v-2d5ab510]{background-color:var(--vp-c-bg-soft)}.top-link[data-v-2d5ab510]{display:block;padding:0 16px;line-height:48px;font-size:14px;font-weight:500;color:var(--vp-c-brand-1)}.outline[data-v-2d5ab510]{padding:8px 0;background-color:var(--vp-c-bg-soft)}.flyout-enter-active[data-v-2d5ab510]{transition:all .2s ease-out}.flyout-leave-active[data-v-2d5ab510]{transition:all .15s ease-in}.flyout-enter-from[data-v-2d5ab510],.flyout-leave-to[data-v-2d5ab510]{opacity:0;transform:translateY(-16px)}.VPLocalNav[data-v-78b81a63]{position:sticky;top:0;left:0;z-index:var(--vp-z-index-local-nav);display:flex;justify-content:space-between;align-items:center;border-top:1px solid var(--vp-c-gutter);border-bottom:1px solid var(--vp-c-gutter);padding-top:var(--vp-layout-top-height, 0px);width:100%;background-color:var(--vp-local-nav-bg-color)}.VPLocalNav.fixed[data-v-78b81a63]{position:fixed}.VPLocalNav.reached-top[data-v-78b81a63]{border-top-color:transparent}@media (min-width: 960px){.VPLocalNav[data-v-78b81a63]{display:none}}.menu[data-v-78b81a63]{display:flex;align-items:center;padding:12px 24px 11px;line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.menu[data-v-78b81a63]:hover{color:var(--vp-c-text-1);transition:color .25s}@media (min-width: 768px){.menu[data-v-78b81a63]{padding:0 32px}}.menu-icon[data-v-78b81a63]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPOutlineDropdown[data-v-78b81a63]{padding:12px 24px 11px}@media (min-width: 768px){.VPOutlineDropdown[data-v-78b81a63]{padding:12px 32px 11px}}.VPSwitch[data-v-ea7a03a6]{position:relative;border-radius:11px;display:block;width:40px;height:22px;flex-shrink:0;border:1px solid var(--vp-input-border-color);background-color:var(--vp-input-switch-bg-color);transition:border-color .25s!important}.VPSwitch[data-v-ea7a03a6]:hover{border-color:var(--vp-c-brand-1)}.check[data-v-ea7a03a6]{position:absolute;top:1px;left:1px;width:18px;height:18px;border-radius:50%;background-color:var(--vp-c-neutral-inverse);box-shadow:var(--vp-shadow-1);transition:transform .25s!important}.icon[data-v-ea7a03a6]{position:relative;display:block;width:18px;height:18px;border-radius:50%;overflow:hidden}.icon[data-v-ea7a03a6] svg{position:absolute;top:3px;left:3px;width:12px;height:12px;fill:var(--vp-c-text-2)}.dark .icon[data-v-ea7a03a6] svg{fill:var(--vp-c-text-1);transition:opacity .25s!important}.sun[data-v-087bcdae]{opacity:1}.moon[data-v-087bcdae],.dark .sun[data-v-087bcdae]{opacity:0}.dark .moon[data-v-087bcdae]{opacity:1}.dark .VPSwitchAppearance[data-v-087bcdae] .check{transform:translate(18px)}.VPNavBarAppearance[data-v-99d28b58]{display:none}@media (min-width: 1280px){.VPNavBarAppearance[data-v-99d28b58]{display:flex;align-items:center}}.VPMenuGroup+.VPMenuLink[data-v-d4575af1]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.link[data-v-d4575af1]{display:block;border-radius:6px;padding:0 12px;line-height:32px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);white-space:nowrap;transition:background-color .25s,color .25s}.link[data-v-d4575af1]:hover{color:var(--vp-c-brand-1);background-color:var(--vp-c-default-soft)}.link.active[data-v-d4575af1]{color:var(--vp-c-brand-1)}.VPMenuGroup[data-v-717440f8]{margin:12px -12px 0;border-top:1px solid var(--vp-c-divider);padding:12px 12px 0}.VPMenuGroup[data-v-717440f8]:first-child{margin-top:0;border-top:0;padding-top:0}.VPMenuGroup+.VPMenuGroup[data-v-717440f8]{margin-top:12px;border-top:1px solid var(--vp-c-divider)}.title[data-v-717440f8]{padding:0 12px;line-height:32px;font-size:14px;font-weight:600;color:var(--vp-c-text-2);white-space:nowrap;transition:color .25s}.VPMenu[data-v-3f2a3866]{border-radius:12px;padding:12px;min-width:128px;border:1px solid var(--vp-c-divider);background-color:var(--vp-c-bg-elv);box-shadow:var(--vp-shadow-3);transition:background-color .5s;max-height:calc(100vh - var(--vp-nav-height));overflow-y:auto}.VPMenu[data-v-3f2a3866] .group{margin:0 -12px;padding:0 12px 12px}.VPMenu[data-v-3f2a3866] .group+.group{border-top:1px solid var(--vp-c-divider);padding:11px 12px 12px}.VPMenu[data-v-3f2a3866] .group:last-child{padding-bottom:0}.VPMenu[data-v-3f2a3866] .group+.item{border-top:1px solid var(--vp-c-divider);padding:11px 16px 0}.VPMenu[data-v-3f2a3866] .item{padding:0 16px;white-space:nowrap}.VPMenu[data-v-3f2a3866] .label{flex-grow:1;line-height:28px;font-size:12px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.VPMenu[data-v-3f2a3866] .action{padding-left:24px}.VPFlyout[data-v-297b0822]{position:relative}.VPFlyout[data-v-297b0822]:hover{color:var(--vp-c-brand-1);transition:color .25s}.VPFlyout:hover .text[data-v-297b0822]{color:var(--vp-c-text-2)}.VPFlyout:hover .icon[data-v-297b0822]{fill:var(--vp-c-text-2)}.VPFlyout.active .text[data-v-297b0822]{color:var(--vp-c-brand-1)}.VPFlyout.active:hover .text[data-v-297b0822]{color:var(--vp-c-brand-2)}.VPFlyout:hover .menu[data-v-297b0822],.button[aria-expanded=true]+.menu[data-v-297b0822]{opacity:1;visibility:visible;transform:translateY(0)}.button[aria-expanded=false]+.menu[data-v-297b0822]{opacity:0;visibility:hidden;transform:translateY(0)}.button[data-v-297b0822]{display:flex;align-items:center;padding:0 12px;height:var(--vp-nav-height);color:var(--vp-c-text-1);transition:color .5s}.text[data-v-297b0822]{display:flex;align-items:center;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.option-icon[data-v-297b0822]{margin-right:0;width:16px;height:16px;fill:currentColor}.text-icon[data-v-297b0822]{margin-left:4px;width:14px;height:14px;fill:currentColor}.icon[data-v-297b0822]{width:20px;height:20px;fill:currentColor;transition:fill .25s}.menu[data-v-297b0822]{position:absolute;top:calc(var(--vp-nav-height) / 2 + 20px);right:0;opacity:0;visibility:hidden;transition:opacity .25s,visibility .25s,transform .25s}.VPSocialLink[data-v-c0e5cde0]{display:flex;justify-content:center;align-items:center;width:36px;height:36px;color:var(--vp-c-text-2);transition:color .5s}.VPSocialLink[data-v-c0e5cde0]:hover{color:var(--vp-c-text-1);transition:color .25s}.VPSocialLink[data-v-c0e5cde0]>svg{width:20px;height:20px;fill:currentColor}.VPSocialLinks[data-v-43e496cc]{display:flex;justify-content:center}.VPNavBarExtra[data-v-2019dd92]{display:none;margin-right:-12px}@media (min-width: 768px){.VPNavBarExtra[data-v-2019dd92]{display:block}}@media (min-width: 1280px){.VPNavBarExtra[data-v-2019dd92]{display:none}}.trans-title[data-v-2019dd92]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.item.appearance[data-v-2019dd92],.item.social-links[data-v-2019dd92]{display:flex;align-items:center;padding:0 12px}.item.appearance[data-v-2019dd92]{min-width:176px}.appearance-action[data-v-2019dd92]{margin-right:-2px}.social-links-list[data-v-2019dd92]{margin:-4px -8px}.VPNavBarHamburger[data-v-e5d0cffe]{display:flex;justify-content:center;align-items:center;width:48px;height:var(--vp-nav-height)}@media (min-width: 768px){.VPNavBarHamburger[data-v-e5d0cffe]{display:none}}.container[data-v-e5d0cffe]{position:relative;width:16px;height:14px;overflow:hidden}.VPNavBarHamburger:hover .top[data-v-e5d0cffe]{top:0;left:0;transform:translate(4px)}.VPNavBarHamburger:hover .middle[data-v-e5d0cffe]{top:6px;left:0;transform:translate(0)}.VPNavBarHamburger:hover .bottom[data-v-e5d0cffe]{top:12px;left:0;transform:translate(8px)}.VPNavBarHamburger.active .top[data-v-e5d0cffe]{top:6px;transform:translate(0) rotate(225deg)}.VPNavBarHamburger.active .middle[data-v-e5d0cffe]{top:6px;transform:translate(16px)}.VPNavBarHamburger.active .bottom[data-v-e5d0cffe]{top:6px;transform:translate(0) rotate(135deg)}.VPNavBarHamburger.active:hover .top[data-v-e5d0cffe],.VPNavBarHamburger.active:hover .middle[data-v-e5d0cffe],.VPNavBarHamburger.active:hover .bottom[data-v-e5d0cffe]{background-color:var(--vp-c-text-2);transition:top .25s,background-color .25s,transform .25s}.top[data-v-e5d0cffe],.middle[data-v-e5d0cffe],.bottom[data-v-e5d0cffe]{position:absolute;width:16px;height:2px;background-color:var(--vp-c-text-1);transition:top .25s,background-color .5s,transform .25s}.top[data-v-e5d0cffe]{top:0;left:0;transform:translate(0)}.middle[data-v-e5d0cffe]{top:6px;left:0;transform:translate(8px)}.bottom[data-v-e5d0cffe]{top:12px;left:0;transform:translate(4px)}.VPNavBarMenuLink[data-v-9963db19]{display:flex;align-items:center;padding:0 12px;line-height:var(--vp-nav-height);font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.VPNavBarMenuLink.active[data-v-9963db19],.VPNavBarMenuLink[data-v-9963db19]:hover{color:var(--vp-c-brand-1)}.VPNavBarMenu[data-v-01aeea62]{display:none}@media (min-width: 768px){.VPNavBarMenu[data-v-01aeea62]{display:flex}}/*! @docsearch/css 3.8.2 | MIT License | © Algolia, Inc. and contributors | https://docsearch.algolia.com */:root{--docsearch-primary-color:#5468ff;--docsearch-text-color:#1c1e21;--docsearch-spacing:12px;--docsearch-icon-stroke-width:1.4;--docsearch-highlight-color:var(--docsearch-primary-color);--docsearch-muted-color:#969faf;--docsearch-container-background:rgba(101,108,133,.8);--docsearch-logo-color:#5468ff;--docsearch-modal-width:560px;--docsearch-modal-height:600px;--docsearch-modal-background:#f5f6f7;--docsearch-modal-shadow:inset 1px 1px 0 0 hsla(0,0%,100%,.5),0 3px 8px 0 #555a64;--docsearch-searchbox-height:56px;--docsearch-searchbox-background:#ebedf0;--docsearch-searchbox-focus-background:#fff;--docsearch-searchbox-shadow:inset 0 0 0 2px var(--docsearch-primary-color);--docsearch-hit-height:56px;--docsearch-hit-color:#444950;--docsearch-hit-active-color:#fff;--docsearch-hit-background:#fff;--docsearch-hit-shadow:0 1px 3px 0 #d4d9e1;--docsearch-key-gradient:linear-gradient(-225deg,#d5dbe4,#f8f8f8);--docsearch-key-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 2px 1px rgba(30,35,90,.4);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #cdcde6,inset 0 0 1px 1px #fff,0 1px 1px 0 rgba(30,35,90,.4);--docsearch-footer-height:44px;--docsearch-footer-background:#fff;--docsearch-footer-shadow:0 -1px 0 0 #e0e3e8,0 -3px 6px 0 rgba(69,98,155,.12)}html[data-theme=dark]{--docsearch-text-color:#f5f6f7;--docsearch-container-background:rgba(9,10,17,.8);--docsearch-modal-background:#15172a;--docsearch-modal-shadow:inset 1px 1px 0 0 #2c2e40,0 3px 8px 0 #000309;--docsearch-searchbox-background:#090a11;--docsearch-searchbox-focus-background:#000;--docsearch-hit-color:#bec3c9;--docsearch-hit-shadow:none;--docsearch-hit-background:#090a11;--docsearch-key-gradient:linear-gradient(-26.5deg,#565872,#31355b);--docsearch-key-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 2px 2px 0 rgba(3,4,9,.3);--docsearch-key-pressed-shadow:inset 0 -2px 0 0 #282d55,inset 0 0 1px 1px #51577d,0 1px 1px 0 #0304094d;--docsearch-footer-background:#1e2136;--docsearch-footer-shadow:inset 0 1px 0 0 rgba(73,76,106,.5),0 -4px 8px 0 rgba(0,0,0,.2);--docsearch-logo-color:#fff;--docsearch-muted-color:#7f8497}.DocSearch-Button{align-items:center;background:var(--docsearch-searchbox-background);border:0;border-radius:40px;color:var(--docsearch-muted-color);cursor:pointer;display:flex;font-weight:500;height:36px;justify-content:space-between;margin:0 0 0 16px;padding:0 8px;-webkit-user-select:none;user-select:none}.DocSearch-Button:active,.DocSearch-Button:focus,.DocSearch-Button:hover{background:var(--docsearch-searchbox-focus-background);box-shadow:var(--docsearch-searchbox-shadow);color:var(--docsearch-text-color);outline:none}.DocSearch-Button-Container{align-items:center;display:flex}.DocSearch-Search-Icon{stroke-width:1.6}.DocSearch-Button .DocSearch-Search-Icon{color:var(--docsearch-text-color)}.DocSearch-Button-Placeholder{font-size:1rem;padding:0 12px 0 6px}.DocSearch-Button-Keys{display:flex;min-width:calc(40px + .8em)}.DocSearch-Button-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:3px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 2px;position:relative;top:-1px;width:20px}.DocSearch-Button-Key--pressed{box-shadow:var(--docsearch-key-pressed-shadow);transform:translate3d(0,1px,0)}@media (max-width:768px){.DocSearch-Button-Keys,.DocSearch-Button-Placeholder{display:none}}.DocSearch--active{overflow:hidden!important}.DocSearch-Container,.DocSearch-Container *{box-sizing:border-box}.DocSearch-Container{background-color:var(--docsearch-container-background);height:100vh;left:0;position:fixed;top:0;width:100vw;z-index:200}.DocSearch-Container a{text-decoration:none}.DocSearch-Link{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;font:inherit;margin:0;padding:0}.DocSearch-Modal{background:var(--docsearch-modal-background);border-radius:6px;box-shadow:var(--docsearch-modal-shadow);flex-direction:column;margin:60px auto auto;max-width:var(--docsearch-modal-width);position:relative}.DocSearch-SearchBar{display:flex;padding:var(--docsearch-spacing) var(--docsearch-spacing) 0}.DocSearch-Form{align-items:center;background:var(--docsearch-searchbox-focus-background);border-radius:4px;box-shadow:var(--docsearch-searchbox-shadow);display:flex;height:var(--docsearch-searchbox-height);margin:0;padding:0 var(--docsearch-spacing);position:relative;width:100%}.DocSearch-Input{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:transparent;border:0;color:var(--docsearch-text-color);flex:1;font:inherit;font-size:1.2em;height:100%;outline:none;padding:0 0 0 8px;width:80%}.DocSearch-Input::placeholder{color:var(--docsearch-muted-color);opacity:1}.DocSearch-Input::-webkit-search-cancel-button,.DocSearch-Input::-webkit-search-decoration,.DocSearch-Input::-webkit-search-results-button,.DocSearch-Input::-webkit-search-results-decoration{display:none}.DocSearch-LoadingIndicator,.DocSearch-MagnifierLabel,.DocSearch-Reset{margin:0;padding:0}.DocSearch-MagnifierLabel,.DocSearch-Reset{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}.DocSearch-Container--Stalled .DocSearch-MagnifierLabel,.DocSearch-LoadingIndicator{display:none}.DocSearch-Container--Stalled .DocSearch-LoadingIndicator{align-items:center;color:var(--docsearch-highlight-color);display:flex;justify-content:center}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Reset{animation:none;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;right:0;stroke-width:var(--docsearch-icon-stroke-width)}}.DocSearch-Reset{animation:fade-in .1s ease-in forwards;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:var(--docsearch-icon-color);cursor:pointer;padding:2px;right:0;stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Reset[hidden]{display:none}.DocSearch-Reset:hover{color:var(--docsearch-highlight-color)}.DocSearch-LoadingIndicator svg,.DocSearch-MagnifierLabel svg{height:24px;width:24px}.DocSearch-Cancel{display:none}.DocSearch-Dropdown{max-height:calc(var(--docsearch-modal-height) - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height));min-height:var(--docsearch-spacing);overflow-y:auto;overflow-y:overlay;padding:0 var(--docsearch-spacing);scrollbar-color:var(--docsearch-muted-color) var(--docsearch-modal-background);scrollbar-width:thin}.DocSearch-Dropdown::-webkit-scrollbar{width:12px}.DocSearch-Dropdown::-webkit-scrollbar-track{background:transparent}.DocSearch-Dropdown::-webkit-scrollbar-thumb{background-color:var(--docsearch-muted-color);border:3px solid var(--docsearch-modal-background);border-radius:20px}.DocSearch-Dropdown ul{list-style:none;margin:0;padding:0}.DocSearch-Label{font-size:.75em;line-height:1.6em}.DocSearch-Help,.DocSearch-Label{color:var(--docsearch-muted-color)}.DocSearch-Help{font-size:.9em;margin:0;-webkit-user-select:none;user-select:none}.DocSearch-Title{font-size:1.2em}.DocSearch-Logo a{display:flex}.DocSearch-Logo svg{color:var(--docsearch-logo-color);margin-left:8px}.DocSearch-Hits:last-of-type{margin-bottom:24px}.DocSearch-Hits mark{background:none;color:var(--docsearch-highlight-color)}.DocSearch-HitsFooter{color:var(--docsearch-muted-color);display:flex;font-size:.85em;justify-content:center;margin-bottom:var(--docsearch-spacing);padding:var(--docsearch-spacing)}.DocSearch-HitsFooter a{border-bottom:1px solid;color:inherit}.DocSearch-Hit{border-radius:4px;display:flex;padding-bottom:4px;position:relative}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--deleting{transition:none}}.DocSearch-Hit--deleting{opacity:0;transition:all .25s linear}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit--favoriting{transition:none}}.DocSearch-Hit--favoriting{transform:scale(0);transform-origin:top center;transition:all .25s linear;transition-delay:.25s}.DocSearch-Hit a{background:var(--docsearch-hit-background);border-radius:4px;box-shadow:var(--docsearch-hit-shadow);display:block;padding-left:var(--docsearch-spacing);width:100%}.DocSearch-Hit-source{background:var(--docsearch-modal-background);color:var(--docsearch-highlight-color);font-size:.85em;font-weight:600;line-height:32px;margin:0 -4px;padding:8px 4px 0;position:sticky;top:0;z-index:10}.DocSearch-Hit-Tree{color:var(--docsearch-muted-color);height:var(--docsearch-hit-height);opacity:.5;stroke-width:var(--docsearch-icon-stroke-width);width:24px}.DocSearch-Hit[aria-selected=true] a{background-color:var(--docsearch-highlight-color)}.DocSearch-Hit[aria-selected=true] mark{text-decoration:underline}.DocSearch-Hit-Container{align-items:center;color:var(--docsearch-hit-color);display:flex;flex-direction:row;height:var(--docsearch-hit-height);padding:0 var(--docsearch-spacing) 0 0}.DocSearch-Hit-icon{height:20px;width:20px}.DocSearch-Hit-action,.DocSearch-Hit-icon{color:var(--docsearch-muted-color);stroke-width:var(--docsearch-icon-stroke-width)}.DocSearch-Hit-action{align-items:center;display:flex;height:22px;width:22px}.DocSearch-Hit-action svg{display:block;height:18px;width:18px}.DocSearch-Hit-action+.DocSearch-Hit-action{margin-left:6px}.DocSearch-Hit-action-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:50%;color:inherit;cursor:pointer;padding:2px}svg.DocSearch-Hit-Select-Icon{display:none}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Select-Icon{display:block}.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:background-color .1s ease-in}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{transition:none}}.DocSearch-Hit-action-button:focus path,.DocSearch-Hit-action-button:hover path{fill:#fff}.DocSearch-Hit-content-wrapper{display:flex;flex:1 1 auto;flex-direction:column;font-weight:500;justify-content:center;line-height:1.2em;margin:0 8px;overflow-x:hidden;position:relative;text-overflow:ellipsis;white-space:nowrap;width:80%}.DocSearch-Hit-title{font-size:.9em}.DocSearch-Hit-path{color:var(--docsearch-muted-color);font-size:.75em}.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-Tree,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-action,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-icon,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-path,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-text,.DocSearch-Hit[aria-selected=true] .DocSearch-Hit-title,.DocSearch-Hit[aria-selected=true] mark{color:var(--docsearch-hit-active-color)!important}@media screen and (prefers-reduced-motion:reduce){.DocSearch-Hit-action-button:focus,.DocSearch-Hit-action-button:hover{background:#0003;transition:none}}.DocSearch-ErrorScreen,.DocSearch-NoResults,.DocSearch-StartScreen{font-size:.9em;margin:0 auto;padding:36px 0;text-align:center;width:80%}.DocSearch-Screen-Icon{color:var(--docsearch-muted-color);padding-bottom:12px}.DocSearch-NoResults-Prefill-List{display:inline-block;padding-bottom:24px;text-align:left}.DocSearch-NoResults-Prefill-List ul{display:inline-block;padding:8px 0 0}.DocSearch-NoResults-Prefill-List li{list-style-position:inside;list-style-type:"» "}.DocSearch-Prefill{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;border-radius:1em;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;font-size:1em;font-weight:700;padding:0}.DocSearch-Prefill:focus,.DocSearch-Prefill:hover{outline:none;text-decoration:underline}.DocSearch-Footer{align-items:center;background:var(--docsearch-footer-background);border-radius:0 0 8px 8px;box-shadow:var(--docsearch-footer-shadow);display:flex;flex-direction:row-reverse;flex-shrink:0;height:var(--docsearch-footer-height);justify-content:space-between;padding:0 var(--docsearch-spacing);position:relative;-webkit-user-select:none;user-select:none;width:100%;z-index:300}.DocSearch-Commands{color:var(--docsearch-muted-color);display:flex;list-style:none;margin:0;padding:0}.DocSearch-Commands li{align-items:center;display:flex}.DocSearch-Commands li:not(:last-of-type){margin-right:.8em}.DocSearch-Commands-Key{align-items:center;background:var(--docsearch-key-gradient);border:0;border-radius:2px;box-shadow:var(--docsearch-key-shadow);color:var(--docsearch-muted-color);display:flex;height:18px;justify-content:center;margin-right:.4em;padding:0 0 1px;width:20px}.DocSearch-VisuallyHiddenForAccessibility{clip:rect(0 0 0 0);clip-path:inset(50%);height:1px;overflow:hidden;position:absolute;white-space:nowrap;width:1px}@media (max-width:768px){:root{--docsearch-spacing:10px;--docsearch-footer-height:40px}.DocSearch-Dropdown{height:100%}.DocSearch-Container{height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);position:absolute}.DocSearch-Footer{border-radius:0;bottom:0;position:absolute}.DocSearch-Hit-content-wrapper{display:flex;position:relative;width:80%}.DocSearch-Modal{border-radius:0;box-shadow:none;height:100vh;height:-webkit-fill-available;height:calc(var(--docsearch-vh, 1vh)*100);margin:0;max-width:100%;width:100%}.DocSearch-Dropdown{max-height:calc(var(--docsearch-vh, 1vh)*100 - var(--docsearch-searchbox-height) - var(--docsearch-spacing) - var(--docsearch-footer-height))}.DocSearch-Cancel{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;color:var(--docsearch-highlight-color);cursor:pointer;display:inline-block;flex:none;font:inherit;font-size:1em;font-weight:500;margin-left:var(--docsearch-spacing);outline:none;overflow:hidden;padding:0;-webkit-user-select:none;user-select:none;white-space:nowrap}.DocSearch-Commands,.DocSearch-Hit-Tree{display:none}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}[class*=DocSearch]{--docsearch-primary-color: var(--vp-c-brand-1);--docsearch-highlight-color: var(--docsearch-primary-color);--docsearch-text-color: var(--vp-c-text-1);--docsearch-muted-color: var(--vp-c-text-2);--docsearch-searchbox-shadow: none;--docsearch-searchbox-background: transparent;--docsearch-searchbox-focus-background: transparent;--docsearch-key-gradient: transparent;--docsearch-key-shadow: none;--docsearch-modal-background: var(--vp-c-bg-soft);--docsearch-footer-background: var(--vp-c-bg)}.dark [class*=DocSearch]{--docsearch-modal-shadow: none;--docsearch-footer-shadow: none;--docsearch-logo-color: var(--vp-c-text-2);--docsearch-hit-background: var(--vp-c-default-soft);--docsearch-hit-color: var(--vp-c-text-2);--docsearch-hit-shadow: none}.DocSearch-Button{display:flex;justify-content:center;align-items:center;margin:0;padding:0;width:48px;height:55px;background:transparent;transition:border-color .25s}.DocSearch-Button:hover{background:transparent}.DocSearch-Button:focus{outline:1px dotted;outline:5px auto -webkit-focus-ring-color}.DocSearch-Button:focus:not(:focus-visible){outline:none!important}@media (min-width: 768px){.DocSearch-Button{justify-content:flex-start;border:1px solid transparent;border-radius:8px;padding:0 10px 0 12px;width:100%;height:40px;background-color:var(--vp-c-bg-alt)}.DocSearch-Button:hover{border-color:var(--vp-c-brand-1);background:var(--vp-c-bg-alt)}}.DocSearch-Button .DocSearch-Button-Container{display:flex;align-items:center}.DocSearch-Button .DocSearch-Search-Icon{position:relative;width:16px;height:16px;color:var(--vp-c-text-1);fill:currentColor;transition:color .5s}.DocSearch-Button:hover .DocSearch-Search-Icon{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Search-Icon{top:1px;margin-right:8px;width:14px;height:14px;color:var(--vp-c-text-2)}}.DocSearch-Button .DocSearch-Button-Placeholder{display:none;margin-top:2px;padding:0 16px 0 0;font-size:13px;font-weight:500;color:var(--vp-c-text-2);transition:color .5s}.DocSearch-Button:hover .DocSearch-Button-Placeholder{color:var(--vp-c-text-1)}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Placeholder{display:inline-block}}.DocSearch-Button .DocSearch-Button-Keys{direction:ltr;display:none;min-width:auto}@media (min-width: 768px){.DocSearch-Button .DocSearch-Button-Keys{display:flex;align-items:center}}.DocSearch-Button .DocSearch-Button-Key{display:block;margin:2px 0 0;border:1px solid var(--vp-c-divider);border-right:none;border-radius:4px 0 0 4px;padding-left:6px;min-width:0;width:auto;height:22px;line-height:22px;font-family:var(--vp-font-family-base);font-size:12px;font-weight:500;transition:color .5s,border-color .5s}.DocSearch-Button .DocSearch-Button-Key+.DocSearch-Button-Key{border-right:1px solid var(--vp-c-divider);border-left:none;border-radius:0 4px 4px 0;padding-left:2px;padding-right:6px}.DocSearch-Button .DocSearch-Button-Key:first-child{font-size:0!important}.DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"Ctrl";font-size:12px;letter-spacing:normal;color:var(--docsearch-muted-color)}.mac .DocSearch-Button .DocSearch-Button-Key:first-child:after{content:"⌘"}.DocSearch-Button .DocSearch-Button-Key:first-child>*{display:none}.VPNavBarSearch{display:flex;align-items:center}@media (min-width: 768px){.VPNavBarSearch{flex-grow:1;padding-left:24px}}@media (min-width: 960px){.VPNavBarSearch{padding-left:32px}}.dark .DocSearch-Footer{border-top:1px solid var(--vp-c-divider)}.DocSearch-Form{border:1px solid var(--vp-c-brand-1);background-color:var(--vp-c-white)}.dark .DocSearch-Form{background-color:var(--vp-c-default-soft)}.DocSearch-Screen-Icon>svg{margin:auto}.VPNavBarSocialLinks[data-v-40b1cae8]{display:none}@media (min-width: 1280px){.VPNavBarSocialLinks[data-v-40b1cae8]{display:flex;align-items:center}}.title[data-v-8791fade]{display:flex;align-items:center;border-bottom:1px solid transparent;width:100%;height:var(--vp-nav-height);font-size:16px;font-weight:600;color:var(--vp-c-text-1);transition:opacity .25s}@media (min-width: 960px){.title[data-v-8791fade]{flex-shrink:0}.VPNavBarTitle.has-sidebar .title[data-v-8791fade]{border-bottom-color:var(--vp-c-divider)}}[data-v-8791fade] .logo{margin-right:8px;height:var(--vp-nav-logo-height)}.VPNavBarTranslations[data-v-28948649]{display:none}@media (min-width: 1280px){.VPNavBarTranslations[data-v-28948649]{display:flex;align-items:center}}.title[data-v-28948649]{padding:0 24px 0 12px;line-height:32px;font-size:14px;font-weight:700;color:var(--vp-c-text-1)}.VPNavBar[data-v-ffcc9b15]{position:relative;border-bottom:1px solid transparent;padding:0 8px 0 24px;height:var(--vp-nav-height);pointer-events:none;white-space:nowrap}@media (min-width: 768px){.VPNavBar[data-v-ffcc9b15]{padding:0 32px}}@media (min-width: 960px){.VPNavBar.has-sidebar[data-v-ffcc9b15]{padding:0}.VPNavBar[data-v-ffcc9b15]:not(.has-sidebar):not(.top){border-bottom-color:var(--vp-c-gutter);background-color:var(--vp-nav-bg-color)}}.container[data-v-ffcc9b15]{display:flex;justify-content:space-between;margin:0 auto;max-width:calc(var(--vp-layout-max-width) - 64px);height:var(--vp-nav-height);pointer-events:none}.container>.title[data-v-ffcc9b15],.container>.content[data-v-ffcc9b15]{pointer-events:none}.container[data-v-ffcc9b15] *{pointer-events:auto}@media (min-width: 960px){.VPNavBar.has-sidebar .container[data-v-ffcc9b15]{max-width:100%}}.title[data-v-ffcc9b15]{flex-shrink:0;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar.has-sidebar .title[data-v-ffcc9b15]{position:absolute;top:0;left:0;z-index:2;padding:0 32px;width:var(--vp-sidebar-width);height:var(--vp-nav-height);background-color:transparent}}@media (min-width: 1440px){.VPNavBar.has-sidebar .title[data-v-ffcc9b15]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}.content[data-v-ffcc9b15]{flex-grow:1}@media (min-width: 960px){.VPNavBar.has-sidebar .content[data-v-ffcc9b15]{position:relative;z-index:1;padding-right:32px;padding-left:var(--vp-sidebar-width)}}@media (min-width: 1440px){.VPNavBar.has-sidebar .content[data-v-ffcc9b15]{padding-right:calc((100vw - var(--vp-layout-max-width)) / 2 + 32px);padding-left:calc((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width))}}.content-body[data-v-ffcc9b15]{display:flex;justify-content:flex-end;align-items:center;height:calc(var(--vp-nav-height) - 1px);transition:background-color .5s}@media (min-width: 960px){.VPNavBar:not(.top) .content-body[data-v-ffcc9b15]{position:relative;background-color:var(--vp-nav-bg-color)}}@media (max-width: 767px){.content-body[data-v-ffcc9b15]{column-gap:.5rem}}.menu+.translations[data-v-ffcc9b15]:before,.menu+.appearance[data-v-ffcc9b15]:before,.menu+.social-links[data-v-ffcc9b15]:before,.translations+.appearance[data-v-ffcc9b15]:before,.appearance+.social-links[data-v-ffcc9b15]:before{margin-right:8px;margin-left:8px;width:1px;height:24px;background-color:var(--vp-c-divider);content:""}.menu+.appearance[data-v-ffcc9b15]:before,.translations+.appearance[data-v-ffcc9b15]:before{margin-right:16px}.appearance+.social-links[data-v-ffcc9b15]:before{margin-left:16px}.social-links[data-v-ffcc9b15]{margin-right:-8px}@media (min-width: 960px){.VPNavBar.has-sidebar .curtain[data-v-ffcc9b15]{position:absolute;right:0;bottom:-31px;width:calc(100% - var(--vp-sidebar-width));height:32px}.VPNavBar.has-sidebar .curtain[data-v-ffcc9b15]:before{display:block;width:100%;height:32px;background:linear-gradient(var(--vp-c-bg),transparent 70%);content:""}}@media (min-width: 1440px){.VPNavBar.has-sidebar .curtain[data-v-ffcc9b15]{width:calc(100% - ((100vw - var(--vp-layout-max-width)) / 2 + var(--vp-sidebar-width)))}}.VPNavScreenAppearance[data-v-a76b1f00]{display:flex;justify-content:space-between;align-items:center;border-radius:8px;padding:12px 14px 12px 16px;background-color:var(--vp-c-bg-soft)}.text[data-v-a76b1f00]{line-height:24px;font-size:12px;font-weight:500;color:var(--vp-c-text-2)}.VPNavScreenMenuLink[data-v-3cf12ed2]{display:block;border-bottom:1px solid var(--vp-c-divider);padding:12px 0 11px;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:border-color .25s,color .25s}.VPNavScreenMenuLink[data-v-3cf12ed2]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupLink[data-v-b350a72a]{display:block;margin-left:12px;line-height:32px;font-size:14px;font-weight:400;color:var(--vp-c-text-1);transition:color .25s}.VPNavScreenMenuGroupLink[data-v-b350a72a]:hover{color:var(--vp-c-brand-1)}.VPNavScreenMenuGroupSection[data-v-3de996e9]{display:block}.title[data-v-3de996e9]{line-height:32px;font-size:13px;font-weight:700;color:var(--vp-c-text-2);transition:color .25s}.VPNavScreenMenuGroup[data-v-63245ed4]{border-bottom:1px solid var(--vp-c-divider);height:48px;overflow:hidden;transition:border-color .5s}.VPNavScreenMenuGroup .items[data-v-63245ed4]{visibility:hidden}.VPNavScreenMenuGroup.open .items[data-v-63245ed4]{visibility:visible}.VPNavScreenMenuGroup.open[data-v-63245ed4]{padding-bottom:10px;height:auto}.VPNavScreenMenuGroup.open .button[data-v-63245ed4]{padding-bottom:6px;color:var(--vp-c-brand-1)}.VPNavScreenMenuGroup.open .button-icon[data-v-63245ed4]{transform:rotate(45deg)}.button[data-v-63245ed4]{display:flex;justify-content:space-between;align-items:center;padding:12px 4px 11px 0;width:100%;line-height:24px;font-size:14px;font-weight:500;color:var(--vp-c-text-1);transition:color .25s}.button[data-v-63245ed4]:hover{color:var(--vp-c-brand-1)}.button-icon[data-v-63245ed4]{width:14px;height:14px;fill:var(--vp-c-text-2);transition:fill .5s,transform .25s}.group[data-v-63245ed4]:first-child{padding-top:0}.group+.group[data-v-63245ed4],.group+.item[data-v-63245ed4]{padding-top:4px}.VPNavScreenTranslations[data-v-75dd20e3]{height:24px;overflow:hidden}.VPNavScreenTranslations.open[data-v-75dd20e3]{height:auto}.title[data-v-75dd20e3]{display:flex;align-items:center;font-size:14px;font-weight:500;color:var(--vp-c-text-1)}.icon[data-v-75dd20e3]{width:16px;height:16px;fill:currentColor}.icon.lang[data-v-75dd20e3]{margin-right:8px}.icon.chevron[data-v-75dd20e3]{margin-left:4px}.list[data-v-75dd20e3]{padding:4px 0 0 24px}.link[data-v-75dd20e3]{line-height:32px;font-size:13px;color:var(--vp-c-text-1)}.VPNavScreen[data-v-421b5380]{position:fixed;top:calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 1px);right:0;bottom:0;left:0;padding:0 32px;width:100%;background-color:var(--vp-nav-screen-bg-color);overflow-y:auto;transition:background-color .5s;pointer-events:auto}.VPNavScreen.fade-enter-active[data-v-421b5380],.VPNavScreen.fade-leave-active[data-v-421b5380]{transition:opacity .25s}.VPNavScreen.fade-enter-active .container[data-v-421b5380],.VPNavScreen.fade-leave-active .container[data-v-421b5380]{transition:transform .25s ease}.VPNavScreen.fade-enter-from[data-v-421b5380],.VPNavScreen.fade-leave-to[data-v-421b5380]{opacity:0}.VPNavScreen.fade-enter-from .container[data-v-421b5380],.VPNavScreen.fade-leave-to .container[data-v-421b5380]{transform:translateY(-8px)}@media (min-width: 768px){.VPNavScreen[data-v-421b5380]{display:none}}.container[data-v-421b5380]{margin:0 auto;padding:24px 0 96px;max-width:288px}.menu+.translations[data-v-421b5380],.menu+.appearance[data-v-421b5380],.translations+.appearance[data-v-421b5380]{margin-top:24px}.menu+.social-links[data-v-421b5380]{margin-top:16px}.appearance+.social-links[data-v-421b5380]{margin-top:16px}.VPNav[data-v-930f5c72]{position:relative;top:var(--vp-layout-top-height, 0px);left:0;z-index:var(--vp-z-index-nav);width:100%;pointer-events:none;transition:background-color .5s}@media (min-width: 960px){.VPNav[data-v-930f5c72]{position:fixed}}.VPSidebarItem.level-0[data-v-422cfb4a]{padding-bottom:24px}.VPSidebarItem.collapsed.level-0[data-v-422cfb4a]{padding-bottom:10px}.item[data-v-422cfb4a]{position:relative;display:flex;width:100%}.VPSidebarItem.collapsible>.item[data-v-422cfb4a]{cursor:pointer}.indicator[data-v-422cfb4a]{position:absolute;top:6px;bottom:6px;left:-17px;width:2px;border-radius:2px;transition:background-color .25s}.VPSidebarItem.level-2.is-active>.item>.indicator[data-v-422cfb4a],.VPSidebarItem.level-3.is-active>.item>.indicator[data-v-422cfb4a],.VPSidebarItem.level-4.is-active>.item>.indicator[data-v-422cfb4a],.VPSidebarItem.level-5.is-active>.item>.indicator[data-v-422cfb4a]{background-color:var(--vp-c-brand-1)}.link[data-v-422cfb4a]{display:flex;align-items:center;flex-grow:1}.text[data-v-422cfb4a]{flex-grow:1;padding:4px 0;line-height:24px;font-size:14px;transition:color .25s}.VPSidebarItem.level-0 .text[data-v-422cfb4a]{font-weight:700;color:var(--vp-c-text-1)}.VPSidebarItem.level-1 .text[data-v-422cfb4a],.VPSidebarItem.level-2 .text[data-v-422cfb4a],.VPSidebarItem.level-3 .text[data-v-422cfb4a],.VPSidebarItem.level-4 .text[data-v-422cfb4a],.VPSidebarItem.level-5 .text[data-v-422cfb4a]{font-weight:500;color:var(--vp-c-text-2)}.VPSidebarItem.level-0.is-link>.item>.link:hover .text[data-v-422cfb4a],.VPSidebarItem.level-1.is-link>.item>.link:hover .text[data-v-422cfb4a],.VPSidebarItem.level-2.is-link>.item>.link:hover .text[data-v-422cfb4a],.VPSidebarItem.level-3.is-link>.item>.link:hover .text[data-v-422cfb4a],.VPSidebarItem.level-4.is-link>.item>.link:hover .text[data-v-422cfb4a],.VPSidebarItem.level-5.is-link>.item>.link:hover .text[data-v-422cfb4a]{color:var(--vp-c-brand-1)}.VPSidebarItem.level-0.has-active>.item>.text[data-v-422cfb4a],.VPSidebarItem.level-1.has-active>.item>.text[data-v-422cfb4a],.VPSidebarItem.level-2.has-active>.item>.text[data-v-422cfb4a],.VPSidebarItem.level-3.has-active>.item>.text[data-v-422cfb4a],.VPSidebarItem.level-4.has-active>.item>.text[data-v-422cfb4a],.VPSidebarItem.level-5.has-active>.item>.text[data-v-422cfb4a],.VPSidebarItem.level-0.has-active>.item>.link>.text[data-v-422cfb4a],.VPSidebarItem.level-1.has-active>.item>.link>.text[data-v-422cfb4a],.VPSidebarItem.level-2.has-active>.item>.link>.text[data-v-422cfb4a],.VPSidebarItem.level-3.has-active>.item>.link>.text[data-v-422cfb4a],.VPSidebarItem.level-4.has-active>.item>.link>.text[data-v-422cfb4a],.VPSidebarItem.level-5.has-active>.item>.link>.text[data-v-422cfb4a]{color:var(--vp-c-text-1)}.VPSidebarItem.level-0.is-active>.item .link>.text[data-v-422cfb4a],.VPSidebarItem.level-1.is-active>.item .link>.text[data-v-422cfb4a],.VPSidebarItem.level-2.is-active>.item .link>.text[data-v-422cfb4a],.VPSidebarItem.level-3.is-active>.item .link>.text[data-v-422cfb4a],.VPSidebarItem.level-4.is-active>.item .link>.text[data-v-422cfb4a],.VPSidebarItem.level-5.is-active>.item .link>.text[data-v-422cfb4a]{color:var(--vp-c-brand-1)}.caret[data-v-422cfb4a]{display:flex;justify-content:center;align-items:center;margin-right:-7px;width:32px;height:32px;color:var(--vp-c-text-3);cursor:pointer;transition:color .25s;flex-shrink:0}.item:hover .caret[data-v-422cfb4a]{color:var(--vp-c-text-2)}.item:hover .caret[data-v-422cfb4a]:hover{color:var(--vp-c-text-1)}.caret-icon[data-v-422cfb4a]{width:18px;height:18px;fill:currentColor;transform:rotate(90deg);transition:transform .25s}.VPSidebarItem.collapsed .caret-icon[data-v-422cfb4a]{transform:rotate(0)}.VPSidebarItem.level-1 .items[data-v-422cfb4a],.VPSidebarItem.level-2 .items[data-v-422cfb4a],.VPSidebarItem.level-3 .items[data-v-422cfb4a],.VPSidebarItem.level-4 .items[data-v-422cfb4a],.VPSidebarItem.level-5 .items[data-v-422cfb4a]{border-left:1px solid var(--vp-c-divider);padding-left:16px}.VPSidebarItem.collapsed .items[data-v-422cfb4a]{display:none}.VPSidebar[data-v-2d86b27f]{position:fixed;top:var(--vp-layout-top-height, 0px);bottom:0;left:0;z-index:var(--vp-z-index-sidebar);padding:32px 32px 96px;width:calc(100vw - 64px);max-width:320px;background-color:var(--vp-sidebar-bg-color);opacity:0;box-shadow:var(--vp-c-shadow-3);overflow-x:hidden;overflow-y:auto;transform:translate(-100%);transition:opacity .5s,transform .25s ease;overscroll-behavior:contain}.VPSidebar.open[data-v-2d86b27f]{opacity:1;visibility:visible;transform:translate(0);transition:opacity .25s,transform .5s cubic-bezier(.19,1,.22,1)}.dark .VPSidebar[data-v-2d86b27f]{box-shadow:var(--vp-shadow-1)}@media (min-width: 960px){.VPSidebar[data-v-2d86b27f]{z-index:1;padding-top:var(--vp-nav-height);width:var(--vp-sidebar-width);max-width:100%;background-color:var(--vp-sidebar-bg-color);opacity:1;visibility:visible;box-shadow:none;transform:translate(0)}}@media (min-width: 1440px){.VPSidebar[data-v-2d86b27f]{padding-left:max(32px,calc((100% - (var(--vp-layout-max-width) - 64px)) / 2));width:calc((100% - (var(--vp-layout-max-width) - 64px)) / 2 + var(--vp-sidebar-width) - 32px)}}@media (min-width: 960px){.curtain[data-v-2d86b27f]{position:sticky;top:-64px;left:0;z-index:1;margin-top:calc(var(--vp-nav-height) * -1);margin-right:-32px;margin-left:-32px;height:var(--vp-nav-height);background-color:var(--vp-sidebar-bg-color)}}.nav[data-v-2d86b27f]{outline:0}.group+.group[data-v-2d86b27f]{border-top:1px solid var(--vp-c-divider);padding-top:10px}@media (min-width: 960px){.group[data-v-2d86b27f]{padding-top:10px;width:calc(var(--vp-sidebar-width) - 64px)}}.VPSkipLink[data-v-db9d0bdf]{top:8px;left:8px;padding:8px 16px;z-index:999;border-radius:8px;font-size:12px;font-weight:700;text-decoration:none;color:var(--vp-c-brand-1);box-shadow:var(--vp-shadow-3);background-color:var(--vp-c-bg)}.VPSkipLink[data-v-db9d0bdf]:focus{height:auto;width:auto;clip:auto;clip-path:none}@media (min-width: 1280px){.VPSkipLink[data-v-db9d0bdf]{top:14px;left:16px}}.Layout[data-v-439240e1]{display:flex;flex-direction:column;min-height:100vh}.VPHomeSponsors[data-v-a19e6643]{border-top:1px solid var(--vp-c-gutter);padding:88px 24px 96px;background-color:var(--vp-c-bg)}.container[data-v-a19e6643]{margin:0 auto;max-width:1152px}.love[data-v-a19e6643]{margin:0 auto;width:28px;height:28px;color:var(--vp-c-text-3)}.icon[data-v-a19e6643]{width:28px;height:28px;fill:currentColor}.message[data-v-a19e6643]{margin:0 auto;padding-top:10px;max-width:320px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.sponsors[data-v-a19e6643]{padding-top:32px}.action[data-v-a19e6643]{padding-top:40px;text-align:center}.VPTeamPage[data-v-b3ecaaac]{padding-bottom:96px}@media (min-width: 768px){.VPTeamPage[data-v-b3ecaaac]{padding-bottom:128px}}.VPTeamPageSection+.VPTeamPageSection[data-v-b3ecaaac-s],.VPTeamMembers+.VPTeamPageSection[data-v-b3ecaaac-s]{margin-top:64px}.VPTeamMembers+.VPTeamMembers[data-v-b3ecaaac-s]{margin-top:24px}@media (min-width: 768px){.VPTeamPageTitle+.VPTeamPageSection[data-v-b3ecaaac-s]{margin-top:16px}.VPTeamPageSection+.VPTeamPageSection[data-v-b3ecaaac-s],.VPTeamMembers+.VPTeamPageSection[data-v-b3ecaaac-s]{margin-top:96px}}.VPTeamMembers[data-v-b3ecaaac-s]{padding:0 24px}@media (min-width: 768px){.VPTeamMembers[data-v-b3ecaaac-s]{padding:0 48px}}@media (min-width: 960px){.VPTeamMembers[data-v-b3ecaaac-s]{padding:0 64px}}.VPTeamPageTitle[data-v-b505e611]{padding:48px 32px;text-align:center}@media (min-width: 768px){.VPTeamPageTitle[data-v-b505e611]{padding:64px 48px 48px}}@media (min-width: 960px){.VPTeamPageTitle[data-v-b505e611]{padding:80px 64px 48px}}.title[data-v-b505e611]{letter-spacing:0;line-height:44px;font-size:36px;font-weight:500}@media (min-width: 768px){.title[data-v-b505e611]{letter-spacing:-.5px;line-height:56px;font-size:48px}}.lead[data-v-b505e611]{margin:0 auto;max-width:512px;padding-top:12px;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}@media (min-width: 768px){.lead[data-v-b505e611]{max-width:592px;letter-spacing:.15px;line-height:28px;font-size:20px}}.VPTeamPageSection[data-v-d9b24e21]{padding:0 32px}@media (min-width: 768px){.VPTeamPageSection[data-v-d9b24e21]{padding:0 48px}}@media (min-width: 960px){.VPTeamPageSection[data-v-d9b24e21]{padding:0 64px}}.title[data-v-d9b24e21]{position:relative;margin:0 auto;max-width:1152px;text-align:center;color:var(--vp-c-text-2)}.title-line[data-v-d9b24e21]{position:absolute;top:16px;left:0;width:100%;height:1px;background-color:var(--vp-c-divider)}.title-text[data-v-d9b24e21]{position:relative;display:inline-block;padding:0 24px;letter-spacing:0;line-height:32px;font-size:20px;font-weight:500;background-color:var(--vp-c-bg)}.lead[data-v-d9b24e21]{margin:0 auto;max-width:480px;padding-top:12px;text-align:center;line-height:24px;font-size:16px;font-weight:500;color:var(--vp-c-text-2)}.members[data-v-d9b24e21]{padding-top:40px}.VPTeamMembersItem[data-v-45602a08]{display:flex;flex-direction:column;gap:2px;border-radius:12px;width:100%;height:100%;overflow:hidden}.VPTeamMembersItem.small .profile[data-v-45602a08]{padding:32px}.VPTeamMembersItem.small .data[data-v-45602a08]{padding-top:20px}.VPTeamMembersItem.small .avatar[data-v-45602a08]{width:64px;height:64px}.VPTeamMembersItem.small .name[data-v-45602a08]{line-height:24px;font-size:16px}.VPTeamMembersItem.small .affiliation[data-v-45602a08]{padding-top:4px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .desc[data-v-45602a08]{padding-top:12px;line-height:20px;font-size:14px}.VPTeamMembersItem.small .links[data-v-45602a08]{margin:0 -16px -20px;padding:10px 0 0}.VPTeamMembersItem.medium .profile[data-v-45602a08]{padding:48px 32px}.VPTeamMembersItem.medium .data[data-v-45602a08]{padding-top:24px;text-align:center}.VPTeamMembersItem.medium .avatar[data-v-45602a08]{width:96px;height:96px}.VPTeamMembersItem.medium .name[data-v-45602a08]{letter-spacing:.15px;line-height:28px;font-size:20px}.VPTeamMembersItem.medium .affiliation[data-v-45602a08]{padding-top:4px;font-size:16px}.VPTeamMembersItem.medium .desc[data-v-45602a08]{padding-top:16px;max-width:288px;font-size:16px}.VPTeamMembersItem.medium .links[data-v-45602a08]{margin:0 -16px -12px;padding:16px 12px 0}.profile[data-v-45602a08]{flex-grow:1;background-color:var(--vp-c-bg-soft)}.data[data-v-45602a08]{text-align:center}.avatar[data-v-45602a08]{position:relative;flex-shrink:0;margin:0 auto;border-radius:50%;box-shadow:var(--vp-shadow-3)}.avatar-img[data-v-45602a08]{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;object-fit:cover}.name[data-v-45602a08]{margin:0;font-weight:600}.affiliation[data-v-45602a08]{margin:0;font-weight:500;color:var(--vp-c-text-2)}.org.link[data-v-45602a08]{color:var(--vp-c-text-2);transition:color .25s}.org.link[data-v-45602a08]:hover{color:var(--vp-c-brand-1)}.desc[data-v-45602a08]{margin:0 auto}.desc[data-v-45602a08] a{font-weight:500;color:var(--vp-c-brand-1);text-decoration-style:dotted;transition:color .25s}.links[data-v-45602a08]{display:flex;justify-content:center;height:56px}.sp-link[data-v-45602a08]{display:flex;justify-content:center;align-items:center;text-align:center;padding:16px;font-size:14px;font-weight:500;color:var(--vp-c-sponsor);background-color:var(--vp-c-bg-soft);transition:color .25s,background-color .25s}.sp .sp-link.link[data-v-45602a08]:hover,.sp .sp-link.link[data-v-45602a08]:focus{outline:none;color:var(--vp-c-white);background-color:var(--vp-c-sponsor)}.sp-icon[data-v-45602a08]{margin-right:8px;width:16px;height:16px;fill:currentColor}.VPTeamMembers.small .container[data-v-405d925d]{grid-template-columns:repeat(auto-fit,minmax(224px,1fr))}.VPTeamMembers.small.count-1 .container[data-v-405d925d]{max-width:276px}.VPTeamMembers.small.count-2 .container[data-v-405d925d]{max-width:576px}.VPTeamMembers.small.count-3 .container[data-v-405d925d]{max-width:876px}.VPTeamMembers.medium .container[data-v-405d925d]{grid-template-columns:repeat(auto-fit,minmax(256px,1fr))}@media (min-width: 375px){.VPTeamMembers.medium .container[data-v-405d925d]{grid-template-columns:repeat(auto-fit,minmax(288px,1fr))}}.VPTeamMembers.medium.count-1 .container[data-v-405d925d]{max-width:368px}.VPTeamMembers.medium.count-2 .container[data-v-405d925d]{max-width:760px}.container[data-v-405d925d]{display:grid;gap:24px;margin:0 auto;max-width:1152px}.decode-result{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.drop-area{height:300px;color:#fff;text-align:center;font-weight:700;padding:10px;background-color:#3c3c43}.dragover{background-color:#10b981}.drop-error{color:red;font-weight:700}.error[data-v-df3f27d7]{font-weight:700;color:red}.barcode-format-checkbox[data-v-df3f27d7]{margin-right:10px;white-space:nowrap;display:inline-block}.fullscreen[data-v-39d64d0c]{position:fixed;z-index:1000;top:0;bottom:0;right:0;left:0}.fullscreen-button[data-v-39d64d0c]{background-color:#fff;position:absolute;bottom:0;right:0;margin:1rem}.fullscreen-button img[data-v-39d64d0c]{width:2rem}button[data-v-3ae3ffac]{margin-bottom:20px}.loading-indicator[data-v-3ae3ffac]{font-weight:700;font-size:2rem;text-align:center}.scan-confirmation[data-v-2c48d920]{position:absolute;width:100%;height:100%;background-color:#fffc;display:flex;flex-flow:row nowrap;justify-content:center}button[data-v-6622b1c4]{position:absolute;left:10px;top:10px}button img[data-v-6622b1c4]{width:50px;height:50px}.error[data-v-6622b1c4]{color:red;font-weight:700}button[data-v-cf37801d]{position:absolute;left:10px;top:10px}button img[data-v-cf37801d]{width:50px;height:50px}.error[data-v-cf37801d]{color:red;font-weight:700}.validation-success[data-v-2a6ebd39],.validation-failure[data-v-2a6ebd39],.validation-pending[data-v-2a6ebd39]{position:absolute;width:100%;height:100%;background-color:#fffc;padding:10px;text-align:center;font-weight:700;font-size:1.4rem;color:#000;display:flex;flex-flow:column nowrap;justify-content:center}.validation-success[data-v-2a6ebd39]{color:green}.validation-failure[data-v-2a6ebd39]{color:red}.VPLocalSearchBox[data-v-2a6bf25b]{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:flex}.backdrop[data-v-2a6bf25b]{position:absolute;top:0;right:0;bottom:0;left:0;background:var(--vp-backdrop-bg-color);transition:opacity .5s}.shell[data-v-2a6bf25b]{position:relative;padding:12px;margin:64px auto;display:flex;flex-direction:column;gap:16px;background:var(--vp-local-search-bg);width:min(100vw - 60px,900px);height:min-content;max-height:min(100vh - 128px,900px);border-radius:6px}@media (max-width: 767px){.shell[data-v-2a6bf25b]{margin:0;width:100vw;height:100vh;max-height:none;border-radius:0}}.search-bar[data-v-2a6bf25b]{border:1px solid var(--vp-c-divider);border-radius:4px;display:flex;align-items:center;padding:0 12px;cursor:text}@media (max-width: 767px){.search-bar[data-v-2a6bf25b]{padding:0 8px}}.search-bar[data-v-2a6bf25b]:focus-within{border-color:var(--vp-c-brand-1)}.search-icon[data-v-2a6bf25b]{margin:8px}@media (max-width: 767px){.search-icon[data-v-2a6bf25b]{display:none}}.search-input[data-v-2a6bf25b]{padding:6px 12px;font-size:inherit;width:100%}@media (max-width: 767px){.search-input[data-v-2a6bf25b]{padding:6px 4px}}.search-actions[data-v-2a6bf25b]{display:flex;gap:4px}@media (any-pointer: coarse){.search-actions[data-v-2a6bf25b]{gap:8px}}@media (min-width: 769px){.search-actions.before[data-v-2a6bf25b]{display:none}}.search-actions button[data-v-2a6bf25b]{padding:8px}.search-actions button[data-v-2a6bf25b]:not([disabled]):hover,.toggle-layout-button.detailed-list[data-v-2a6bf25b]{color:var(--vp-c-brand-1)}.search-actions button.clear-button[data-v-2a6bf25b]:disabled{opacity:.37}.search-keyboard-shortcuts[data-v-2a6bf25b]{font-size:.8rem;opacity:75%;display:flex;flex-wrap:wrap;gap:16px;line-height:14px}.search-keyboard-shortcuts span[data-v-2a6bf25b]{display:flex;align-items:center;gap:4px}@media (max-width: 767px){.search-keyboard-shortcuts[data-v-2a6bf25b]{display:none}}.search-keyboard-shortcuts kbd[data-v-2a6bf25b]{background:#8080801a;border-radius:4px;padding:3px 6px;min-width:24px;display:inline-block;text-align:center;vertical-align:middle;border:1px solid rgba(128,128,128,.15);box-shadow:0 2px 2px #0000001a}.results[data-v-2a6bf25b]{display:flex;flex-direction:column;gap:6px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}.result[data-v-2a6bf25b]{display:flex;align-items:center;gap:8px;border-radius:4px;transition:none;line-height:1rem;border:solid 2px var(--vp-local-search-result-border);outline:none}.result>div[data-v-2a6bf25b]{margin:12px;width:100%;overflow:hidden}@media (max-width: 767px){.result>div[data-v-2a6bf25b]{margin:8px}}.titles[data-v-2a6bf25b]{display:flex;flex-wrap:wrap;gap:4px;position:relative;z-index:1001;padding:2px 0}.title[data-v-2a6bf25b]{display:flex;align-items:center;gap:4px}.title.main[data-v-2a6bf25b]{font-weight:500}.title-icon[data-v-2a6bf25b]{opacity:.5;font-weight:500;color:var(--vp-c-brand-1)}.title svg[data-v-2a6bf25b]{opacity:.5}.result.selected[data-v-2a6bf25b]{--vp-local-search-result-bg: var(--vp-local-search-result-selected-bg);border-color:var(--vp-local-search-result-selected-border)}.excerpt-wrapper[data-v-2a6bf25b]{position:relative}.excerpt[data-v-2a6bf25b]{opacity:75%;pointer-events:none;max-height:140px;overflow:hidden;position:relative;opacity:.5;margin-top:4px}.result.selected .excerpt[data-v-2a6bf25b]{opacity:1}.excerpt[data-v-2a6bf25b] *{font-size:.8rem!important;line-height:130%!important}.titles[data-v-2a6bf25b] mark,.excerpt[data-v-2a6bf25b] mark{background-color:var(--vp-local-search-highlight-bg);color:var(--vp-local-search-highlight-text);border-radius:2px;padding:0 2px}.excerpt[data-v-2a6bf25b] .vp-code-group .tabs{display:none}.excerpt[data-v-2a6bf25b] .vp-code-group div[class*=language-]{border-radius:8px!important}.excerpt-gradient-bottom[data-v-2a6bf25b]{position:absolute;bottom:-1px;left:0;width:100%;height:8px;background:linear-gradient(transparent,var(--vp-local-search-result-bg));z-index:1000}.excerpt-gradient-top[data-v-2a6bf25b]{position:absolute;top:-1px;left:0;width:100%;height:8px;background:linear-gradient(var(--vp-local-search-result-bg),transparent);z-index:1000}.result.selected .titles[data-v-2a6bf25b],.result.selected .title-icon[data-v-2a6bf25b]{color:var(--vp-c-brand-1)!important}.no-results[data-v-2a6bf25b]{font-size:.9rem;text-align:center;padding:12px}svg[data-v-2a6bf25b]{flex:none}
diff --git a/demos/DragDrop.html b/demos/DragDrop.html
index 8775666b..30cb45e7 100644
--- a/demos/DragDrop.html
+++ b/demos/DragDrop.html
@@ -6,21 +6,21 @@
     Decode by Drag&Drop | Vue Qrcode Reader
     
     
-    
+    
     
-    
+    
     
-    
-    
-    
-    
+    
+    
+    
+    
     
     
     
     
   
   
-    
Skip to content

Decode by Drag&Drop

With the QrcodeDropZone component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.

Source

vue
<template>
+    
Skip to content

Decode by Drag&Drop

With the QrcodeDropZone component you can also drag-and-drop images that should be scanned. Use it as a standalone feature or as a fallback for desktop users.

Source

vue
<template>
   <div>
     <p>
       By default only QR-codes are detected but a variety of other barcode formats are also
@@ -158,8 +158,8 @@
   color: red;
   font-weight: bold;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/FullDemo.html b/demos/FullDemo.html index 0aa9aa2d..493d7571 100644 --- a/demos/FullDemo.html +++ b/demos/FullDemo.html @@ -6,22 +6,22 @@ Full Demo | Vue Qrcode Reader - + - + - - - - - + + + + + -
Skip to content

Full Demo

Source

vue
<template>
+    
Skip to content

Full Demo

Source

vue
<template>
   <div>
     <p>
       Modern mobile phones often have a variety of different cameras installed (e.g. front, rear,
@@ -258,8 +258,8 @@
   white-space: nowrap;
   display: inline-block;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Fullscreen.html b/demos/Fullscreen.html index 54e6c518..f7afc2f7 100644 --- a/demos/Fullscreen.html +++ b/demos/Fullscreen.html @@ -6,22 +6,22 @@ Fullscreen | Vue Qrcode Reader - + - + - - - - - + + + + + -
Skip to content

Fullscreen

QrcodeStream always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.

Source

vue
<template>
+    
Skip to content

Fullscreen

QrcodeStream always covers the entire space available. Not more, not less. So to go fullscreen, simply put the component in a wrapper element that occupies the entire screen.

Source

vue
<template>
   <div
     :class="{ fullscreen: fullscreen }"
     ref="wrapper"
@@ -150,8 +150,8 @@
 .fullscreen-button img {
   width: 2rem;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/LoadingIndicator.html b/demos/LoadingIndicator.html index 07455db9..a7d431fb 100644 --- a/demos/LoadingIndicator.html +++ b/demos/LoadingIndicator.html @@ -6,22 +6,22 @@ Show Loading Indicator | Vue Qrcode Reader - + - + - - - - - + + + + + -
Skip to content

Show Loading Indicator

There is some delay between mounting the component and the camera stream becoming visible. Listen for the camera-on event to show a loading indicator.

Push the button below to force destroy and re-create the component.

Source

vue
<template>
+    
Skip to content

Show Loading Indicator

There is some delay between mounting the component and the camera stream becoming visible. Listen for the camera-on event to show a loading indicator.

Push the button below to force destroy and re-create the component.

Source

vue
<template>
   <div>
     <button @click="reload">Destroy And Re-Create Component</button>
 
@@ -77,8 +77,8 @@
   font-size: 2rem;
   text-align: center;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/ScanSameQrcodeMoreThanOnce.html b/demos/ScanSameQrcodeMoreThanOnce.html index eb6ef645..583d72d1 100644 --- a/demos/ScanSameQrcodeMoreThanOnce.html +++ b/demos/ScanSameQrcodeMoreThanOnce.html @@ -6,22 +6,22 @@ Scan Same QR Code More Than Once | Vue Qrcode Reader - + - + - - - - - + + + + + -
Skip to content

Scan Same QR Code More Than Once

You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with detect events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.

However this cache is reset when you change the paused prop. We can exploit that to scan same QR codes multiple times in a row.

Source

vue
<template>
+    
Skip to content

Scan Same QR Code More Than Once

You might have noticed that scanning the same QR code again doesn't work. The thing is when a QR code is in the view of your the camera it's decoded multiple times a second. You don't want to be flooded with detect events that often though. That's why the last decoded QR code is "cached" and an event is only emitted, when the decoded content changes.

However this cache is reset when you change the paused prop. We can exploit that to scan same QR codes multiple times in a row.

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
@@ -106,8 +106,8 @@
   flex-flow: row nowrap;
   justify-content: center;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Simple.html b/demos/Simple.html index d9df4492..16ad065b 100644 --- a/demos/Simple.html +++ b/demos/Simple.html @@ -6,20 +6,20 @@ Simple | Vue Qrcode Reader - + - + - - - + + + -
Skip to content

Simple

All other demos on this page utilize single-file components. To use them in your project you need a bundler like vite. For an example that works without a build step and right in the browser:

SEE THIS DEMO

Source

html
<!DOCTYPE html>
+    
Skip to content

Simple

All other demos on this page utilize single-file components. To use them in your project you need a bundler like vite. For an example that works without a build step and right in the browser:

SEE THIS DEMO

Source

html
<!DOCTYPE html>
 <html lang="en">
 <head>
   <meta charset="UTF-8">
@@ -97,8 +97,8 @@
   app.use(VueQrcodeReader)
   app.mount('#app')
 </script>
-</html>

Released under the MIT License.

- +</html>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/SwitchCamera.html b/demos/SwitchCamera.html index 34e5cfaf..c592aae8 100644 --- a/demos/SwitchCamera.html +++ b/demos/SwitchCamera.html @@ -6,22 +6,22 @@ Switch to Front Camera | Vue Qrcode Reader - + - + - - - - - + + + + + -
Skip to content

Switch to Front Camera

You can also allow users to choose the front or rear camera on their device.

Source

vue
<template>
+    
Skip to content

Switch to Front Camera

You can also allow users to choose the front or rear camera on their device.

Source

vue
<template>
   <div>
     <p
       class="error"
@@ -115,8 +115,8 @@
   color: red;
   font-weight: bold;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Torch.html b/demos/Torch.html index 15015bbf..27e3fd46 100644 --- a/demos/Torch.html +++ b/demos/Torch.html @@ -6,22 +6,22 @@ Torch (Flashlight) | Vue Qrcode Reader - + - + - - - - - + + + + + -
Skip to content

Torch (Flashlight)

In low-light conditions you might want to make use of the cameras flashlight. Using the torch prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.

Feature sponsored by aeschbacher.ch

Source

vue
<template>
+    
Skip to content

Torch (Flashlight)

In low-light conditions you might want to make use of the cameras flashlight. Using the torch prop, you can turn the flashlight on/off. Note that support is inconsistent across devices and browsers and can only be detected after already starting the camera.

Feature sponsored by aeschbacher.ch

Source

vue
<template>
   <div>
     <p>
       Pick camera:
@@ -117,8 +117,8 @@
   color: red;
   font-weight: bold;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Upload.html b/demos/Upload.html index 95ac1bba..2001374b 100644 --- a/demos/Upload.html +++ b/demos/Upload.html @@ -6,21 +6,21 @@ Decode by Upload | Vue Qrcode Reader - + - + - - - - + + + + -
Skip to content

Decode by Upload

Finally, with QrcodeCapture comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.

If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:

Source

vue
<template>
+    
Skip to content

Decode by Upload

Finally, with QrcodeCapture comes another component which allows image scanning via classic file upload. Nothing is actually uploaded. Everything is happening client-side.

If you are on mobile and your browser supports it, you are not prompted with a file dialog but with your camera. So you can directly take the picture to be uploaded. Adjust this behavior with the following dropdown:

Source

vue
<template>
   <div>
     <p>
       Capture:
@@ -76,8 +76,8 @@
     }
   }
 }
-</script>

Released under the MIT License.

- +</script>

Released under the MIT License.

+ \ No newline at end of file diff --git a/demos/Validate.html b/demos/Validate.html index fc361734..2a700d8a 100644 --- a/demos/Validate.html +++ b/demos/Validate.html @@ -6,22 +6,22 @@ Pause & Validate | Vue Qrcode Reader - + - + - - - - - + + + + + -
Skip to content

Pause & Validate

By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.

Source

vue
<template>
+    
Skip to content

Pause & Validate

By pausing you can process each scanned QR-code one at a time. The last received frame is still displayed so it just looks like the stream is paused.

Source

vue
<template>
   <div>
     <p class="decode-result">
       Last result: <b>{{ result }}</b>
@@ -139,8 +139,8 @@
 .validation-failure {
   color: red;
 }
-</style>

Released under the MIT License.

- +</style>

Released under the MIT License.

+ \ No newline at end of file diff --git a/hashmap.json b/hashmap.json index 46c028ad..6a53897e 100644 --- a/hashmap.json +++ b/hashmap.json @@ -1 +1 @@ -{"api_qrcodecapture.md":"GlYdj7pr","api_qrcodedropzone.md":"DTUFZSpV","api_qrcodestream.md":"P3i2WWbk","demos_dragdrop.md":"D5p3TnMP","demos_fulldemo.md":"C9xTxej_","demos_fullscreen.md":"BOC-KDvu","demos_loadingindicator.md":"C4l13ZG5","demos_scansameqrcodemorethanonce.md":"DOEf_HkZ","demos_simple.md":"CjVnN3WB","demos_switchcamera.md":"DdzfUcLa","demos_torch.md":"uwsnwgUy","demos_upload.md":"DrQJwL_i","demos_validate.md":"BzRPZwjw","index.md":"LZGnsC_L"} +{"api_qrcodecapture.md":"pRQZbi1Y","api_qrcodedropzone.md":"Cu2lV0vM","api_qrcodestream.md":"CTYs1BfR","demos_dragdrop.md":"CkcaAhH3","demos_fulldemo.md":"TpVXO8LI","demos_fullscreen.md":"c9El6HkA","demos_loadingindicator.md":"bsE4qADJ","demos_scansameqrcodemorethanonce.md":"CmXUVIPu","demos_simple.md":"D2sCwcUO","demos_switchcamera.md":"DCAo7XCR","demos_torch.md":"CX9c8yCy","demos_upload.md":"DQRAcZba","demos_validate.md":"D-dkzNgN","index.md":"DKqtwxLE"} diff --git a/index.html b/index.html index 8d22a847..72a3abfd 100644 --- a/index.html +++ b/index.html @@ -6,21 +6,21 @@ Vue Qrcode Reader - + - + - - - + + + -
Skip to content

Vue Qrcode Reader

A set of Vue.js components for detecting and decoding QR codes.

VueQrcodeReader

Released under the MIT License.

- +
Skip to content

Vue Qrcode Reader

A set of Vue.js components for detecting and decoding QR codes.

VueQrcodeReader

Released under the MIT License.

+ \ No newline at end of file diff --git a/sw.js b/sw.js index 3faee0dc..657131ae 100644 --- a/sw.js +++ b/sw.js @@ -79,123 +79,123 @@ define(['./workbox-86c9b217'], (function (workbox) { 'use strict'; */ workbox.precacheAndRoute([{ "url": "404.html", - "revision": "560993b877c4c9a6ae56ebaf08b282f4" + "revision": "09b6000ec347df4a126f09705e05b952" }, { "url": "api/QrcodeCapture.html", - "revision": "cf611f519ea19228b39b6f98cb02869c" + "revision": "44bfad457452a74a7a8d8db2af0252a9" }, { "url": "api/QrcodeDropZone.html", - "revision": "00ad56cd26003771cc3cd0aa824d2718" + "revision": "1e58941e1edbda9503f124265e0e7170" }, { "url": "api/QrcodeStream.html", - "revision": "bb0c31814cb089bcd5cf874b59c30d26" + "revision": "40ebac8149a69e3108867d535eda07c5" }, { - "url": "assets/api_QrcodeCapture.md.GlYdj7pr.js", + "url": "assets/api_QrcodeCapture.md.pRQZbi1Y.js", "revision": null }, { - "url": "assets/api_QrcodeCapture.md.GlYdj7pr.lean.js", + "url": "assets/api_QrcodeCapture.md.pRQZbi1Y.lean.js", "revision": null }, { - "url": "assets/api_QrcodeDropZone.md.DTUFZSpV.js", + "url": "assets/api_QrcodeDropZone.md.Cu2lV0vM.js", "revision": null }, { - "url": "assets/api_QrcodeDropZone.md.DTUFZSpV.lean.js", + "url": "assets/api_QrcodeDropZone.md.Cu2lV0vM.lean.js", "revision": null }, { - "url": "assets/api_QrcodeStream.md.P3i2WWbk.js", + "url": "assets/api_QrcodeStream.md.CTYs1BfR.js", "revision": null }, { - "url": "assets/api_QrcodeStream.md.P3i2WWbk.lean.js", + "url": "assets/api_QrcodeStream.md.CTYs1BfR.lean.js", "revision": null }, { - "url": "assets/app.CMq4myxa.js", + "url": "assets/app.BIV7YYZn.js", "revision": null }, { - "url": "assets/chunks/@localSearchIndexroot.C9dE4YuA.js", + "url": "assets/chunks/@localSearchIndexroot.BiSJWzvQ.js", "revision": null }, { - "url": "assets/chunks/camera.D9-V0Y9a.js", + "url": "assets/chunks/camera.CxigVlA0.js", "revision": null }, { - "url": "assets/chunks/framework.BeH60Y6U.js", + "url": "assets/chunks/framework.CI0_Jyb9.js", "revision": null }, { - "url": "assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.C97pHDhd.js", + "url": "assets/chunks/QrcodeStream.vue_vue_type_script_setup_true_lang.Cwkfaxch.js", "revision": null }, { "url": "assets/chunks/safari_32x32.Bkuv9jEj.js", "revision": null }, { - "url": "assets/chunks/theme.C8UVLHxp.js", + "url": "assets/chunks/theme.CbsQzOZw.js", "revision": null }, { - "url": "assets/chunks/VPLocalSearchBox.Czqvq3Gp.js", + "url": "assets/chunks/VPLocalSearchBox.BMUz8lFT.js", "revision": null }, { - "url": "assets/demos_DragDrop.md.D5p3TnMP.js", + "url": "assets/demos_DragDrop.md.CkcaAhH3.js", "revision": null }, { - "url": "assets/demos_DragDrop.md.D5p3TnMP.lean.js", + "url": "assets/demos_DragDrop.md.CkcaAhH3.lean.js", "revision": null }, { - "url": "assets/demos_FullDemo.md.C9xTxej_.js", + "url": "assets/demos_FullDemo.md.TpVXO8LI.js", "revision": null }, { - "url": "assets/demos_FullDemo.md.C9xTxej_.lean.js", + "url": "assets/demos_FullDemo.md.TpVXO8LI.lean.js", "revision": null }, { - "url": "assets/demos_Fullscreen.md.BOC-KDvu.js", + "url": "assets/demos_Fullscreen.md.c9El6HkA.js", "revision": null }, { - "url": "assets/demos_Fullscreen.md.BOC-KDvu.lean.js", + "url": "assets/demos_Fullscreen.md.c9El6HkA.lean.js", "revision": null }, { - "url": "assets/demos_LoadingIndicator.md.C4l13ZG5.js", + "url": "assets/demos_LoadingIndicator.md.bsE4qADJ.js", "revision": null }, { - "url": "assets/demos_LoadingIndicator.md.C4l13ZG5.lean.js", + "url": "assets/demos_LoadingIndicator.md.bsE4qADJ.lean.js", "revision": null }, { - "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.js", + "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.js", "revision": null }, { - "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.DOEf_HkZ.lean.js", + "url": "assets/demos_ScanSameQrcodeMoreThanOnce.md.CmXUVIPu.lean.js", "revision": null }, { - "url": "assets/demos_Simple.md.CjVnN3WB.js", + "url": "assets/demos_Simple.md.D2sCwcUO.js", "revision": null }, { - "url": "assets/demos_Simple.md.CjVnN3WB.lean.js", + "url": "assets/demos_Simple.md.D2sCwcUO.lean.js", "revision": null }, { - "url": "assets/demos_SwitchCamera.md.DdzfUcLa.js", + "url": "assets/demos_SwitchCamera.md.DCAo7XCR.js", "revision": null }, { - "url": "assets/demos_SwitchCamera.md.DdzfUcLa.lean.js", + "url": "assets/demos_SwitchCamera.md.DCAo7XCR.lean.js", "revision": null }, { - "url": "assets/demos_Torch.md.uwsnwgUy.js", + "url": "assets/demos_Torch.md.CX9c8yCy.js", "revision": null }, { - "url": "assets/demos_Torch.md.uwsnwgUy.lean.js", + "url": "assets/demos_Torch.md.CX9c8yCy.lean.js", "revision": null }, { - "url": "assets/demos_Upload.md.DrQJwL_i.js", + "url": "assets/demos_Upload.md.DQRAcZba.js", "revision": null }, { - "url": "assets/demos_Upload.md.DrQJwL_i.lean.js", + "url": "assets/demos_Upload.md.DQRAcZba.lean.js", "revision": null }, { - "url": "assets/demos_Validate.md.BzRPZwjw.js", + "url": "assets/demos_Validate.md.D-dkzNgN.js", "revision": null }, { - "url": "assets/demos_Validate.md.BzRPZwjw.lean.js", + "url": "assets/demos_Validate.md.D-dkzNgN.lean.js", "revision": null }, { - "url": "assets/index.md.LZGnsC_L.js", + "url": "assets/index.md.DKqtwxLE.js", "revision": null }, { - "url": "assets/index.md.LZGnsC_L.lean.js", + "url": "assets/index.md.DKqtwxLE.lean.js", "revision": null }, { "url": "assets/inter-italic-cyrillic-ext.5XJwZIOp.woff2", @@ -240,7 +240,7 @@ define(['./workbox-86c9b217'], (function (workbox) { 'use strict'; "url": "assets/inter-roman-vietnamese.ClpjcLMQ.woff2", "revision": null }, { - "url": "assets/style.DBNrZm1J.css", + "url": "assets/style.DdhQUwfb.css", "revision": null }, { "url": "camera-switch.svg", @@ -253,34 +253,34 @@ define(['./workbox-86c9b217'], (function (workbox) { 'use strict'; "revision": "baffbefe1bde1d10f0c089b20f0cb9ed" }, { "url": "demos/DragDrop.html", - "revision": "f9b7fd0ccc99b8878ec885abd853bedb" + "revision": "976ca640e58dbdaf91b5837bf85c92f9" }, { "url": "demos/FullDemo.html", - "revision": "7fb7f80935d036a202176c2096dea32c" + "revision": "d6a6880df14b62d8366bc548fdd94ee3" }, { "url": "demos/Fullscreen.html", - "revision": "b358166c6ee6a29393876ecb8694d324" + "revision": "9bad368bc7580dd3b3a6963f727877b6" }, { "url": "demos/LoadingIndicator.html", - "revision": "a4aa41313a25304d40b88a968c6f6238" + "revision": "e7c8fac25485ecdab66fd1fe3ba34f45" }, { "url": "demos/ScanSameQrcodeMoreThanOnce.html", - "revision": "d5baacee80066b01843e172e631a31f3" + "revision": "4baa225eecaa7749e8093a71563cc099" }, { "url": "demos/Simple.html", - "revision": "152a61e099f5120f7ad086ebc1cb79fb" + "revision": "f378aa20c51c0ff11768be11d8438770" }, { "url": "demos/SwitchCamera.html", - "revision": "0966b6373c766dfefce046f8de2afe03" + "revision": "b6c2ff3b96b10d2d39356f3d5e606430" }, { "url": "demos/Torch.html", - "revision": "9daabcbdf9f5e89cdc82e20cc48187e1" + "revision": "490fcd685562132a631c3ce41455f336" }, { "url": "demos/Upload.html", - "revision": "93e8a7f423b01b03205052ccb6231e0f" + "revision": "9cc35e1bf42138fc95f104d14f18a4c2" }, { "url": "demos/Validate.html", - "revision": "ba780e27c75148b749568def850ecf89" + "revision": "35c86917af4d597e1bc3590383587038" }, { "url": "flash-off.svg", "revision": "8b05f5dcd6712992a544b34520ec7262" @@ -295,7 +295,7 @@ define(['./workbox-86c9b217'], (function (workbox) { 'use strict'; "revision": "432c44f09de0b4e0f9e236fad9b8c7f9" }, { "url": "index.html", - "revision": "f6a54fe8bf550c371f79da1b3c4745d5" + "revision": "44cd60767012584eb8b343f6e21f96c4" }, { "url": "logo.png", "revision": "5f0c1d6358641bc48207acb9fa0b6182"